CN105677419A - Object management device and method based on PON system - Google Patents

Object management device and method based on PON system Download PDF

Info

Publication number
CN105677419A
CN105677419A CN201610011914.7A CN201610011914A CN105677419A CN 105677419 A CN105677419 A CN 105677419A CN 201610011914 A CN201610011914 A CN 201610011914A CN 105677419 A CN105677419 A CN 105677419A
Authority
CN
China
Prior art keywords
attribute
record
level
submodule
finish
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610011914.7A
Other languages
Chinese (zh)
Other versions
CN105677419B (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 an object management device and method based on a PON system, and relates to the field of object management. The device comprises an object management module, an attribute management module and a capability set management module; the object management module comprises an object creating submodule, an object searching submodule and an object deleting submodule; the attribute management module comprises an attribute storing and modifying submodule, an attribute reading submodule and an attribute deleting submodule; the capability set management module builds a capability set file and reads capability information and specification information of an object from the capability set file to allow the object management module and the attribute management module to use. According to the object management device and method based on the PON system, the different functions of the object can be defined by configuring different capability set files, an object can be newly added in the capability set files, therefore, the requirements of the newly-added object are met on the condition that the version is not updated, and the differentiation software design is flexibly supported; in addition, the relevance between an hierarchical address and the object is reduced, and the flexibility of an object organization structure is improved.

Description

Object Management group device and method based on PON system
Technical field
The present invention relates to Object Management group field, specifically relate to a kind of right based on PON systemOrthicon reason device and method.
Background technology
For accelerating the Facilities Construction towards broadband network, improve the market competition energy of broadband servicesPower, meets present stage business demand, adapts to network future evolution, and Ge great operator is positivePON (PassiveOpticalNetwork, EPON) technology is applied to broadband and connectsIn networking. Wherein, PON technology introduce strategy with various types of PON for mainly realizing handSection, in conjunction with SDH (SynchronousDigitalHierarchy, SDH)/MSTP(MultiServiceTransportPlatform, multi-service transport platform)/RPR (ResilientPacketRing, RPR) and the various ways such as optical fiber access, wireless access realize and usingFamily connects to last 1 kilometer of broadband of IP (InternetProtocol, Internet protocol) Metropolitan Area Network (MAN)Enter. For the demand of carrying out in conjunction with full-service, and transfer resource classifying rationally accesses and convergesRegion, need to carry out ONU (OpticalNetworkUnit, optical network unit) and OLTThe deployment construction of (OpticalLineTerminal, optical line terminal).
Operator is according to the number of users of zones of different and location distribution, for different userQuality of service, need to select different equipment. On the other hand, due to the diversity of user's request,The complexity of application scenarios, even if the equipment of same physical form also needs different equipment energyPower. This all needs equipment supplier that dissimilar equipment is provided, and the software of difference in functionalityVersion.
Existing PON system procedure-oriented, design based on function, according to function will beSystem is divided into different modules, and each module realizes the individual feature of system, multiple different mouldsPiece is realized the repertoire of system jointly. Each functional module has the data structure and right of oneselfThe management of object, in the time of the newly-increased a kind of object of needs, need will with the related institute of this objectHave functional module to make change, workload is huge, not only pretty troublesome, and is easy to omit.
Existing PON system is got very clear to the level of each object, by of living in certain class objectLayer be fixed up, but in the future real system form can be more and more abundanter, the meeting of level dividing modeMore and more, the object of support is also more and more, and the current design based on function can not adapt toThe expansion of system in the future.
In sum, existing PON system exists Object Management group redundancy, object hierarchy to fixDefect.
Summary of the invention
The object of the invention is the deficiency in order to overcome above-mentioned background technology, provide a kind of based onThe Object Management group device and method of PON system, user can configure different capability set files,Carry out the difference in functionality of defining objects, can also in capability set file, increase a kind of object newly, useFamily meets the demand of newly-increased object in the situation that of upgraded version not, supports flexibly differentiation softwareDesign; Reduce the relevance of level address and object, improved the flexible of object tissue structureProperty.
The invention provides a kind of Object Management group device based on PON system, this device comprisesObject Management group module, attribute management module and capability set administration module, Object Management group module comprisesObject Creation submodule, object are searched submodule, object is deleted submodule, attribute management moduleComprise property store/amendment submodule, attribute reading submodule, attribute deletion submodule;
Described Object Creation submodule is used for: the distribution, object id and the level that complete object idThe filling of address mapping table, the foundation of object tree and maintenance; Create object level table, object layerLevel table has been preserved the hierarchical relationship between object; Show to organize each right by multiple of databaseResemble, every one-level object is stored with a table, and these tables associate by object id;
Described object search submodule for: according to the level address of object, find object idOr all subobject id;
Described object is deleted submodule and is used for: complete the deletion of object self and subobject, rightResemble in tree and delete self node and subobject node, the interface that also calls attribute management module completesThe deletion of object self attributes and subobject attribute;
Described property store/amendment submodule is used for: according to attribute type and object id, belonging toProperty add attribute record and amendment attribute record in database table; Preserve in the database of attribute,Preserve for a table for every kind of attribute, this table is preserved this of all these class objects in systemPlant attribute;
Described attribute reading submodule is used for: according to attribute type and object id, at attribute dataIn the table of storehouse, search attribute record, and spread out of its codomain;
Described attribute is deleted submodule and is used for: according to attribute type and object id, at attribute dataDelete property record in the table of storehouse;
Described capability set administration module is used for: set up capability set file, in capability set file, preserveThere are ability information and the specification information of types of objects, the ability of reading object from capability set fileInformation and specification information, for Object Management group module and attribute management module.
On the basis of technique scheme, described level address and object id mapping databaseRecord in table comprises following content:
The address of level 1~n, n is positive integer, correspondence is place node from root node to this objectLevel address;
Type, the type of this object, is used for distinguishing that level address is identical but that type is different is rightResemble;
Object id, the id that this object is unique.
On the basis of technique scheme, described Object Creation submodule is by different level rightResemble and be stored in different database tables, open database table with n and store respectively the right of n levelResemble, the object of a level of every table storage, every record of every table comprises following 5 ginsengsNumber:
Object id, the id that this object is unique;
Index, the call number of this object in parent object;
Type, the type of this object, is used for distinguishing that level address is identical but that type is different is rightResemble;
Parent table id, the level table at the parent object place of this object;
Parent object id, the id of the parent object of this object, by father's database table id and parent objectId, finds the parent object of this object;
Object Creation submodule is opened database table by this n, and all group of objects are made into oneTree construction.
On the basis of technique scheme, the attribute of described object adopts the side of centralized storesFormula, the property store of all object same types in same database table, different attributesStore by different database tables respectively, every record in every database table comprises following3 fields:
Object id, has the id of the object of this attribute;
Attribute key assignments, the index of this attribute in this object, unique in this object;
Attribute codomain, the value of attribute, is the storage area of one section of length-specific, dissimilarAttribute length difference, the value of preserving different types of data according to the type of attribute.
On the basis of technique scheme, described Object Management group device provides 6 functions: woundBuild object, search object, delete object, storage/amendment attribute, querying attributes, deletion genusProperty, the flow process of described establishment object is as follows:
Step 101, in each object level table, taking parent object id as keyword search be successivelyThis record of no existence, if existed, records the level at parent object place, forwards step 102 to;If there is no, finish;
Step 102, this object id, index, parent table id, parent object id are added to and compare parent objectIn the object level table of low one-level, forward step 103 to;
Step 103, in level address and object id mapping table, increase the record of this object, turnTo step 104;
Step 104, by the capability set of this object, check whether this object exists intrinsic son rightResemble, intrinsic subobject refers to the incidental object of certain object self, and it is in than self placeIn a low level of level, if existed, forward step 105 to; If there is no, tieBundle;
Step 105, recurrence are added intrinsic subobject in next stage object level table.
On the basis of technique scheme, described in to search the flow process of object as follows:
Step 201, judgement are searched single object or are searched all subobjects of certain object,If search single object, forward step 202 to; If it is right to search the son of certain objectResemble, forward step 204 to;
Can step 202, judgement find object id in level address and object id mapping table,If found, forward step 203 to; If do not found, finish;
Step 203, spread out of the id finding, finish;
Can step 204, judgement find parent object id in level address and object id mapping table,If found, forward step 205 to; If do not found, finish;
Step 205, in object level table taking parent object id as keyword finds all subobjectsId, spread out of all subobject id, finish.
On the basis of technique scheme, the flow process of described deletion object is as follows:
Step 301, taking needs delete object id as keyword, successively in each object levelIn table, search, whether have corresponding record, if existed, record the level at this object place,Forward step 302 to; If there is no, finish;
Step 302, in subordinate's level table of this object, search the son taking this object as parent objectObject, recurrence is deleted this subobject, forwards step 303 to;
Step 303, inquiry capability set submodule, inquire about the attribute that this object has, at eachIn attribute list, taking this object id as keyword, delete each attribute record of this object, turnTo step 304;
In step 304, deletion level address and object id mapping table, the record of this object, finishes.
On the basis of technique scheme, the flow process of described storage/amendment attribute is as follows:
Step 401, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 402 to; If can not find, finish;
Step 402, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, need to revise thisAttribute, forwards step 403 to; Otherwise explanation need to increase attribute record newly, forwards step 404 to;
Step 403, revise the codomain of this record, finish;
Step 404, in the database table of this type attribute newly-increased attribute record, finish.
On the basis of technique scheme, the flow process of described querying attributes is as follows:
Step 501, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 502 to; If can not find, finish;
Step 502, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, forward step to503; Otherwise finish;
Step 503, spread out of the codomain of this record, finish.
On the basis of technique scheme, the flow process of described delete property is as follows:
Step 601, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 602 to; If can not find, finish;
Step 602, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, forward step to603; Otherwise finish;
Step 603, in this attribute list, delete this record, finish.
The present invention also provide a kind of be applied to claim said apparatus based on PON systemMethod for managing object, comprises the following steps:
When S1, device start, the energy of capability set administration module reading object from capability set fileForce information and specification information, be saved in internal memory;
When S2, device operation, utilize object level table, each group of objects is made into a tree-shaped knotStructure, adds an object and is a node of this tree increase, deletes an object from objectIn tree, delete a node;
S3, taking object id as index, the various attributes of object are saved in to each of databaseIn table.
On the basis of technique scheme, in step S2, object of described interpolation existsIn the corresponding database table of this object level, increase a record, delete an object from rightResemble and in the corresponding database table of level, delete a record; Each object and therewith object levelA record in corresponding database table is corresponding one by one.
Compared with prior art, advantage of the present invention is as follows:
(1) the present invention also organizes object centralized management flexibly, from capability set fileObtain object information, user can configure different capability set files, carrys out defining objects notCongenerous can also increase a kind of object newly in capability set file, makes user at upgraded version notSituation under meet the demand of newly-increased object, can improve durability and the extensibility of object,Meet the demand of operator to difference version, support Software for Design flexible, differentiation.
(2) the present invention is stored in object information in database, by object id and parent objectId, is logically organized into tree by these objects, has reduced level address and objectRelevance, the flexibility that has improved object tissue structure.
(3) the present invention by the property store of object in database, with object id and property keyValue index, makes attribute no longer associated with level address, can reduce moving of object hierarchy in the futureMove the change to property store mode.
Brief description of the drawings
Fig. 1 is the structural frames of the Object Management group device based on PON system in the embodiment of the present inventionFigure.
Fig. 2 is in the embodiment of the present invention in level address and object id mapping database table oneThe content of record.
Fig. 3 is the schematic diagram of storing different level objects 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 creates object in the embodiment of the present invention.
Fig. 6 is the flow chart of searching object in the embodiment of the present invention.
Fig. 7 is the flow chart of deleting object in the embodiment of the present invention.
Fig. 8 is the flow chart of storage/amendment attribute in the embodiment of the present invention.
Fig. 9 is the flow chart of querying attributes in the embodiment of the present invention.
Figure 10 is the flow chart of delete property in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provide a kind of based on PON system to orthiconReason device, this device comprises Object Management group module, attribute management module and capability set administration module,Object Management group module comprises that Object Creation submodule, object are searched submodule, object is deleted submodulePiece, attribute management module comprises property store/amendment submodule, attribute reading submodule, genusProperty delete submodule, wherein:
Object Creation submodule is used for: the distribution, object id and the level address that complete object idThe filling of mapping table, the foundation of object tree and maintenance; Create object level table, object level tablePreserve the hierarchical relationship between object; Show to organize each object by multiple of database, everyOne-level object is stored with a table, and these tables associate by object id;
Object search submodule for: according to the level address of object, find object id orAll subobject id;
Object is deleted submodule and is used for: complete the deletion of object self and subobject, at object treeMiddle deletion self node and subobject node, the interface that also calls attribute management module completes objectThe deletion of self attributes and subobject attribute;
Property store/amendment submodule is used for: according to attribute type and object id, in attribute numberAccording to adding attribute record and amendment attribute record in the table of storehouse; Preserve in the database of attribute, forEvery kind of attribute is preserved with a table, and this table is preserved this kind of all these class objects in systemProperty;
Attribute reading submodule is used for: according to attribute type and object id, at attribute database tableIn search attribute record, and spread out of its codomain;
Attribute is deleted submodule and is used for: according to attribute type and object id, at attribute database tableMiddle delete property record;
Capability set administration module is used for: set up capability set file, preserve each in capability set fileThe ability information of class object and specification information, the ability information of reading object from capability set fileAnd specification information, for Object Management group module and attribute management module.
Shown in Figure 2, the record in level address and object id mapping database table comprisesFollowing content:
(1) address of level 1~n, n is positive integer, correspondence is institute from root node to this objectIn the level address of node;
(2) type, the type of this object, is used for distinguishing the identical but type in level address notSame object;
(3) object id, the id that this object is unique.
Shown in Figure 3, Object Creation submodule is stored in different by objects different levelIn database table, open database table with n and store respectively the object of n level, every table storageThe object of a level, every record of every table comprises following 5 parameters:
Object id, the id that this object is unique;
Index, the call number of this object in parent object;
Type, the type of this object, is used for distinguishing that level address is identical but that type is different is rightResemble;
Parent table id, the level table at the parent object place of this object;
Parent object id, the id of the parent object of this object, by father's database table id and parent objectId, just can find the parent object of this object.
Object Creation submodule is opened database table by this n, just can be by all object tissueBecome a tree construction. Wherein the database table storage machine frame object of level 1, is root object, itsParent table id and parent object id are empty.
The attribute of object adopts the mode of centralized stores, the property store of all object same typesIn same database table, different attributes is stored by different database tables respectively. GinsengAs shown in Figure 4, every record in every database table comprises following 3 fields:
Object id, has the id of the object of this attribute;
Attribute key assignments, the index of this attribute in this object, unique in this object;
Attribute codomain, the value of attribute, is the storage area of one section of length-specific, dissimilarAttribute length difference, the value of preserving different types of data according to the type of attribute.
Object Management group device in the embodiment of the present invention provides following 6 functions: establishment object,Search object, delete object, storage/amendment attribute, querying attributes, delete property.
Below 6 functions are elaborated respectively.
Shown in Figure 5, the flow process that creates object is as follows:
Step 101, in each object level table, taking parent object id as keyword search be successivelyThis record of no existence, if existed, records the level at parent object place, forwards step 102 to;If there is no, finish;
Step 102, this object id, index, parent table id, parent object id are added to and compare parent objectIn the object level table of low one-level, forward step 103 to;
Step 103, in level address and object id mapping table, increase the record of this object, turnTo step 104;
Step 104, by the capability set of this object, check whether this object exists intrinsic son rightResemble, intrinsic subobject refers to the incidental object of certain object self, and it is in than self placeIn a low level of level, if existed, forward step 105 to; If there is no, tieBundle;
Step 105, recurrence are added intrinsic subobject in next stage object level table.
Shown in Figure 6, the flow process of searching object is as follows:
Step 201, judgement are searched single object or are searched all subobjects of certain object,If search single object, forward step 202 to; If it is right to search the son of certain objectResemble, forward step 204 to;
Can step 202, judgement find object id in level address and object id mapping table,If found, forward step 203 to; If do not found, finish;
Step 203, spread out of the id finding, finish;
Can step 204, judgement find parent object id in level address and object id mapping table,If found, forward step 205 to; If do not found, finish;
Step 205, in object level table taking parent object id as keyword finds all subobjectsId, spread out of all subobject id, finish.
Shown in Figure 7, the flow process of deleting object is as follows:
Step 301, taking needs delete object id as keyword, successively in each object levelIn table, search, whether have corresponding record, if existed, record the level at this object place,Forward step 302 to; If there is no, finish;
Step 302, in subordinate's level table of this object, search the son taking this object as parent objectObject, recurrence is deleted this subobject, forwards step 303 to;
Step 303, inquiry capability set submodule, inquire about the attribute that this object has, at eachIn attribute list, taking this object id as keyword, delete each attribute record of this object, turnTo step 304;
In step 304, deletion level address and object id mapping table, the record of this object, finishes.
Shown in Figure 8, the flow process of storage/amendment attribute is as follows:
Step 401, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 402 to; If can not find, finish;
Step 402, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, need to revise thisAttribute, forwards step 403 to; Otherwise explanation need to increase attribute record newly, forwards step 404 to;
Step 403, revise the codomain of this record, finish;
Step 404, in the database table of this type attribute newly-increased attribute record, finish.
Shown in Figure 9, the flow process of querying attributes is as follows:
Step 501, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 502 to; If can not find, finish;
Step 502, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, forward step to503; Otherwise finish;
Step 503, spread out of the codomain of this record, finish.
Shown in Figure 10, the flow process of delete property is as follows:
Step 601, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 602 to; If can not find, finish;
Step 602, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, forward step to603; Otherwise finish;
Step 603, in this attribute list, delete this record, finish.
Adopt after the Object Management group device of the embodiment of the present invention, Object Management group module does not need to be concerned aboutThe storage mode of object properties, only needs to safeguard the logical relation between object. Object Management group mouldPiece and object properties administration module only need to connect by object id, object properties managementModule does not need to be concerned about the change of Object Management group module, in the time that Object Management group module changes,The attribute management module of object is without change. In the time that the position of object changes, the genus of objectProperty administration module is also without change.
The embodiment of the present invention also provides a kind of right based on PON system that is applied to said apparatusResemble management method, comprise the following steps:
When S1, device start, the energy of capability set administration module reading object from capability set fileForce information and specification information, be saved in internal memory;
When S2, device operation, utilize object level table, each group of objects is made into a tree-shaped knotStructure, adds an object and is a node of this tree increase, deletes an object from objectIn tree, delete a node;
Concrete, add an object increase in the corresponding database table of this object level, a record, deletes an object and from the corresponding database table of object level, deletes oneRecord; A record in each object and the therewith corresponding database table of object level one by oneCorresponding;
S3, taking object id as index, the various attributes of object are saved in to each of databaseIn table.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, ifIf these amendment and modification within the scope of the claims in the present invention and equivalent technologies thereof, thisA little amendments and modification are also within protection scope of the present invention.
The prior art that the content of not describing in detail in description is known to the skilled person.

Claims (12)

1. the Object Management group device based on PON system, is characterized in that: this device bagDraw together Object Management group module, attribute management module and capability set administration module, Object Management group module bagDraw together that Object Creation submodule, object are searched submodule, object is deleted submodule, attribute management mouldPiece comprises property store/amendment submodule, attribute reading submodule, attribute deletion submodule;
Described Object Creation submodule is used for: the distribution, object id and the level that complete object idThe filling of address mapping table, the foundation of object tree and maintenance; Create object level table, object layerLevel table has been preserved the hierarchical relationship between object; Show to organize each right by multiple of databaseResemble, every one-level object is stored with a table, and these tables associate by object id;
Described object search submodule for: according to the level address of object, find object idOr all subobject id;
Described object is deleted submodule and is used for: complete the deletion of object self and subobject, rightResemble in tree and delete self node and subobject node, the interface that also calls attribute management module completesThe deletion of object self attributes and subobject attribute;
Described property store/amendment submodule is used for: according to attribute type and object id, belonging toProperty add attribute record and amendment attribute record in database table; Preserve in the database of attribute,Preserve for a table for every kind of attribute, this table is preserved this of all these class objects in systemPlant attribute;
Described attribute reading submodule is used for: according to attribute type and object id, at attribute dataIn the table of storehouse, search attribute record, and spread out of its codomain;
Described attribute is deleted submodule and is used for: according to attribute type and object id, at attribute dataDelete property record in the table of storehouse;
Described capability set administration module is used for: set up capability set file, in capability set file, preserveThere are ability information and the specification information of types of objects, the ability of reading object from capability set fileInformation and specification information, for Object Management group module and attribute management module.
2. the Object Management group device based on PON system as claimed in claim 1, its featureBe: the record in described level address and object id mapping database table comprises following content:
The address of level 1~n, n is positive integer, correspondence is place node from root node to this objectLevel address;
Type, the type of this object, is used for distinguishing that level address is identical but that type is different is rightResemble;
Object id, the id that this object is unique.
3. the Object Management group device based on PON system as claimed in claim 2, its featureBe: objects different level is stored in different database tables by described Object Creation submoduleIn, open database table with n and store respectively the object of n level, a level of every table storageObject, every record of every table comprises following 5 parameters:
Object id, the id that this object is unique;
Index, the call number of this object in parent object;
Type, the type of this object, is used for distinguishing that level address is identical but that type is different is rightResemble;
Parent table id, the level table at the parent object place of this object;
Parent object id, the id of the parent object of this object, by father's database table id and parent objectId, finds the parent object of this object;
Object Creation submodule is opened database table by this n, and all group of objects are made into oneTree construction.
4. the Object Management group device based on PON system as claimed in claim 3, its featureBe: the attribute of described object adopts the mode of centralized stores, the genus of all object same typesProperty is stored in same database table, and different attributes is deposited by different database tables respectivelyStorage, every record in every database table comprises following 3 fields:
Object id, has the id of the object of this attribute;
Attribute key assignments, the index of this attribute in this object, unique in this object;
Attribute codomain, the value of attribute, is the storage area of one section of length-specific, dissimilarAttribute length difference, the value of preserving different types of data according to the type of attribute.
5. the Object Management group device based on PON system as claimed in claim 4, its featureBe: described Object Management group device provides 6 functions: create object, search object, deletionObject, storage/amendment attribute, querying attributes, delete property, the flow process of described establishment objectAs follows:
Step 101, in each object level table, taking parent object id as keyword search be successivelyThis record of no existence, if existed, records the level at parent object place, forwards step 102 to;If there is no, finish;
Step 102, this object id, index, parent table id, parent object id are added to and compare parent objectIn the object level table of low one-level, forward step 103 to;
Step 103, in level address and object id mapping table, increase the record of this object, turnTo step 104;
Step 104, by the capability set of this object, check whether this object exists intrinsic son rightResemble, intrinsic subobject refers to the incidental object of certain object self, and it is in than self placeIn a low level of level, if existed, forward step 105 to; If there is no, tieBundle;
Step 105, recurrence are added intrinsic subobject in next stage object level table.
6. the Object Management group device based on PON system as claimed in claim 5, its featureBe: described in to search the flow process of object as follows:
Step 201, judgement are searched single object or are searched all subobjects of certain object,If search single object, forward step 202 to; If it is right to search the son of certain objectResemble, forward step 204 to;
Can step 202, judgement find object id in level address and object id mapping table,If found, forward step 203 to; If do not found, finish;
Step 203, spread out of the id finding, finish;
Can step 204, judgement find parent object id in level address and object id mapping table,If found, forward step 205 to; If do not found, finish;
Step 205, in object level table taking parent object id as keyword finds all subobjectsId, spread out of all subobject id, finish.
7. the Object Management group device based on PON system as claimed in claim 5, its featureBe: the flow process of described deletion object is as follows:
Step 301, taking needs delete object id as keyword, successively in each object levelIn table, search, whether have corresponding record, if existed, record the level at this object place,Forward step 302 to; If there is no, finish;
Step 302, in subordinate's level table of this object, search the son taking this object as parent objectObject, recurrence is deleted this subobject, forwards step 303 to;
Step 303, inquiry capability set submodule, inquire about the attribute that this object has, at eachIn attribute list, taking this object id as keyword, delete each attribute record of this object, turnTo step 304;
In step 304, deletion level address and object id mapping table, the record of this object, finishes.
8. the Object Management group device based on PON system as claimed in claim 5, its featureBe: the flow process of described storage/amendment attribute is as follows:
Step 401, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 402 to; If can not find, finish;
Step 402, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, need to revise thisAttribute, forwards step 403 to; Otherwise explanation need to increase attribute record newly, forwards step 404 to;
Step 403, revise the codomain of this record, finish;
Step 404, in the database table of this type attribute newly-increased attribute record, finish.
9. the Object Management group device based on PON system as claimed in claim 8, its featureBe: the flow process of described querying attributes is as follows:
Step 501, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 502 to; If can not find, finish;
Step 502, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, forward step to503; Otherwise finish;
Step 503, spread out of the codomain of this record, finish.
10. the Object Management group device based on PON system as claimed in claim 8, its spyLevy and be: the flow process of described delete property is as follows:
Step 601, according to attribute type, search whether to exist and preserve the database table of this attribute,If found, forward step 602 to; If can not find, finish;
Step 602, in the database table of this attribute, according to object id and attribute key assignments, sentenceBreak whether find record, if found, illustrate and have this attribute record, forward step to603; Otherwise finish;
Step 603, in this attribute list, delete this record, finish.
11. 1 kinds be applied to device described in claim 1 based on PON system to orthiconReason method, is characterized in that, comprises the following steps:
When S1, device start, the energy of capability set administration module reading object from capability set fileForce information and specification information, be saved in internal memory;
When S2, device operation, utilize object level table, each group of objects is made into a tree-shaped knotStructure, adds an object and is a node of this tree increase, deletes an object from objectIn tree, delete a node;
S3, taking object id as index, the various attributes of object are saved in to each of databaseIn table.
12. method for managing objects based on PON system as claimed in claim 11, its spyLevy and be: in step S2, object of described interpolation is at the corresponding number of this object levelAccording to increasing a record in the table of storehouse, delete an object from the corresponding database of object levelIn table, delete a record; In each object and the therewith corresponding database table of object levelArticle one, record is corresponding one by one.
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 true CN105677419A (en) 2016-06-15
CN105677419B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066271A (en) * 2017-03-31 2017-08-18 武汉斗鱼网络科技有限公司 A kind of hierarchy management method and system for showing object
CN109088885A (en) * 2018-09-28 2018-12-25 四川天邑康和通信股份有限公司 A kind of method that passive optical network OLT local side node modifies authentication information automatically
CN111240739A (en) * 2020-01-21 2020-06-05 烽火通信科技股份有限公司 Dynamic concurrent distribution method and system for associated attributes of objects

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060083245A1 (en) * 2004-10-14 2006-04-20 Keiji Tanaka Method for dynamically establishing logical link in PON systems and an optical network unit for the method
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060083245A1 (en) * 2004-10-14 2006-04-20 Keiji Tanaka Method for dynamically establishing logical link in PON systems and an optical network unit for the method
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

Cited By (6)

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

Also Published As

Publication number Publication date
CN105677419B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN109344603B (en) Unified login system
CN102122285B (en) Data cache system and data inquiry method
CN101640613B (en) Method and device for network resource relating management
CN104067216B (en) System and method for implementing expansible data storage service
CN103067433B (en) A kind of data migration method of distributed memory system, equipment and system
US20230362251A1 (en) Method and apparatus for managing iot device, and server and storage medium thereof
CN103559032B (en) The device and method of embedded system Object Management group
CN102567505A (en) Distributed database and data manipulation method
CN105183394A (en) Data storage processing method and device
US20040078457A1 (en) System and method for managing network-device configurations
CN105550371A (en) Big data environment oriented metadata organization method and system
CN105677419A (en) Object management device and method based on PON system
CN102521375B (en) Directory service data retrieval method and directory service data retrieval system
US10586016B2 (en) Relocating medical data
KR102367540B1 (en) Inquiry-enhancing system and method of building elastic field based on time delay
CN102378407A (en) Object name resolution system and method in internet of things
CN1852145A (en) System and method for identifying authority using relative inquire
CN101719155B (en) Method of multidimensional attribute range inquiry for supporting distributed multi-cluster computing environment
CN100512303C (en) Method for confirming mapping relation between cross-domain service domain interior domains
CN105138581B (en) A kind of write-in of mobile message and read method and system
CN110300158A (en) Method and system based on AD domain mapping access NAS
CN107818113A (en) File access method for determining position and device
CN103220172A (en) Device and method based on LDAP (lightweight directory access protocol) user authorization management
CN103220355B (en) Multi-user configuration method in content distributing network
CN113656438B (en) Data query method and device for data tree

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