Movatterモバイル変換


[0]ホーム

URL:


CN100401298C - Method and system for managing system data - Google Patents

Method and system for managing system data
Download PDF

Info

Publication number
CN100401298C
CN100401298CCNB2005101300540ACN200510130054ACN100401298CCN 100401298 CCN100401298 CCN 100401298CCN B2005101300540 ACNB2005101300540 ACN B2005101300540ACN 200510130054 ACN200510130054 ACN 200510130054ACN 100401298 CCN100401298 CCN 100401298C
Authority
CN
China
Prior art keywords
entity
information
data
entity relationship
function
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.)
Expired - Fee Related
Application number
CNB2005101300540A
Other languages
Chinese (zh)
Other versions
CN1866250A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CNB2005101300540ApriorityCriticalpatent/CN100401298C/en
Publication of CN1866250ApublicationCriticalpatent/CN1866250A/en
Application grantedgrantedCritical
Publication of CN100401298CpublicationCriticalpatent/CN100401298C/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明涉及一种对系统数据进行管理的方法和系统。本发明主要包括:首先将实体信息和实体之间的实体关系信息记录到数据库中构成系统数据,所述实体信息和/或实体之间的实体关系信息包含业务相关的业务属性;其次以指定的实体信息和/或实体关系信息的业务属性限定作为筛选条件从所述系统数据中筛选出符合所述筛选条件的实体信息和实体之间的实体关系信息用以构成数据视图;最后基于所述数据视图对所述系统数据进行管理和/或展现所述数据视图。本发明提供的方法可以有效地实现对系统数据的全方位、多角度观察和管理,特别的,本发明能够实现完整的实体生命周期管理以及实体之间的实体关系的生命周期管理,实现在不同的时间切片上构建一个完整的业务实例以及查看该业务实例存在的时间段。

Figure 200510130054

The invention relates to a method and system for managing system data. The present invention mainly includes: first, record entity information and entity relationship information between entities into a database to form system data, and the entity information and/or entity relationship information between entities contains business-related business attributes; secondly, specify The business attribute definition of entity information and/or entity relationship information is used as a filter condition to filter out entity information and entity relationship information between entities that meet the filter conditions from the system data to form a data view; finally based on the data Views manage the system data and/or present views of the data. The method provided by the present invention can effectively realize omni-directional and multi-angle observation and management of system data. In particular, the present invention can realize complete entity life cycle management and life cycle management of entity relationships between entities, and realize the management in different Build a complete business instance on the time slice and view the time period in which the business instance exists.

Figure 200510130054

Description

Translated fromChinese
对系统数据进行管理的方法和系统Method and system for managing system data

技术领域technical field

本发明涉及数据管理技术领域,尤其涉及一种对系统数据进行管理的方法和系统。The invention relates to the technical field of data management, in particular to a method and system for managing system data.

背景技术Background technique

在面向对象的系统分析设计中,如何方便快捷地管理对象所代表的实体和/或实体之间关系的不断演进变化是一个需要解决的问题。In object-oriented system analysis and design, how to conveniently and quickly manage the continuous evolution of the entities represented by objects and/or the relationship between entities is a problem that needs to be solved.

以电信资源管理系统中的网络对象为例。一个电信网络可能是一个包括3个网元的STM1(同步传送模块)网络,由于业务发展的需要,规划设计者将规划该网络从未来的某个时刻开始变为一个跨越5个网元的STM16网络,而另一个规划设计者则基于5个网元的STM16网络完成网络内所有电路的变迁设计,并根据未来可能的需求改变网络的帧结构。Take the network object in the telecom resource management system as an example. A telecommunications network may be a STM1 (Synchronous Transport Module) network including 3 network elements. Due to the needs of business development, the planning designer will plan to change the network into an STM16 spanning 5 network elements at some point in the future. network, while another planning designer completes the transition design of all circuits in the network based on the STM16 network of 5 network elements, and changes the frame structure of the network according to possible future needs.

实际上网络的升级同时意味着网络内所包含的网元也进行了升级。可以看到,类似的一个演进,系统中的大量数据都相应发生了变化。In fact, the upgrade of the network means that the network elements included in the network are also upgraded. It can be seen that in a similar evolution, a large amount of data in the system has changed accordingly.

另一种实体和/或实体之间关系的不断演进变化例子是CAD(计算机辅助设计)中所涉及到的部件和部件间的连接关系演进变化,虽然CAD中的部件和部件间的连接关系发生在计算机虚拟空间,但对其的管理手段可以象对现实世界的实体及实体间关系的管理一样来对待。Another example of the continuous evolution of entities and/or relationships between entities is the evolution of components and connection relationships between components involved in CAD (Computer Aided Design), although the components in CAD and the connection relationships between components occur In the computer virtual space, its management means can be treated like the management of real world entities and the relationship between entities.

通常为了实现对这种演进变化的管理都是采用数据拷贝的方式,比如在某一个时间点对象所代表的实体和/或实体之间关系发生变化,就拷贝一份新的由实体数据和/或实体之间关系数据所构成的对象数据保存下来。通过不同版本的对象数据来体现实体和/或实体之间关系的演变差异,不同版本的对象数据针对同样逻辑对象。通常在系统中会存在多份版本对象数据。Usually, in order to realize the management of this kind of evolution change, data copying is adopted. For example, when the entity represented by the object and/or the relationship between entities changes at a certain point in time, a new copy of the entity data and/or Or the object data composed of relational data between entities is preserved. The evolution difference of entities and/or relationships between entities is reflected through different versions of object data, and different versions of object data are aimed at the same logical object. Usually there are multiple copies of version object data in the system.

可以看出,在进行对象数据拷贝过程中,当多个对象所代表的实体和/或实体之间关系发生变化之后,与之相关的对象到底有哪些,又有哪些对象相关的数据需要拷贝,拷贝的边界在哪里,这些问题往往难以确定。通常的做法是通过对业务和数据的分析来确定数据拷贝的广度和深度。然而,无论如何分析,都很难将所有数据都拷贝,因而边界问题仍然不可避免。所谓边界是指处在变化发生边界上的对象集合,任何一次变化总有存在一个确定的边界,但问题是针对每一次变化都弄清楚所对应的边界是困难的。It can be seen that in the process of copying object data, when the entities represented by multiple objects and/or the relationship between entities change, which objects are related to them, and which object-related data needs to be copied, Where is the boundary of copying? These issues are often difficult to determine. The usual practice is to determine the breadth and depth of data copying through the analysis of business and data. However, no matter how you analyze it, it is difficult to copy all the data, so the boundary problem is still inevitable. The so-called boundary refers to the collection of objects on the boundary of the change. There is always a definite boundary for any change, but the problem is that it is difficult to figure out the corresponding boundary for each change.

同时,由于数据拷贝方式的系统中针对同样逻辑对象的对象数据存在多个版本,刻画一个具体场景下的对象系统到底该用哪个版本的对象数据来展现,与对象系统有关联的对象又该用哪个版本的对象数据来展现,这些在具体应用中都难以确定。At the same time, since there are multiple versions of the object data for the same logical object in the data copy system, which version of the object data should be used to describe the object system in a specific scenario, and which version of the object data should be used for the objects related to the object system? Which version of object data to display is difficult to determine in specific applications.

而且,对象数据产生一个拷贝之后,如果在随后的某一个时间点又发生了变化,则如何把这些变化广播到所有已经拷贝的对象数据中,以及本次变化是否导致不兼容,等等,便成为对象数据拷贝方案中最难以解决的问题。Moreover, after the object data is copied, if it changes at a later point in time, how to broadcast these changes to all the copied object data, and whether this change causes incompatibility, etc., then It becomes the most difficult problem to solve in the object data copy scheme.

另外,因为一旦出现变化,就需要拷贝一系列的对象数据,而这种变化对于对象所代表的实体和/或实体之间关系来说是时常发生的,所以必然会造成存储对象数据拷贝的数据量激增,系统性能极度下降。这种性能下降的趋势是指数级的,系统的整体性能只会越来越低。In addition, because once a change occurs, a series of object data needs to be copied, and this change occurs frequently for the entity represented by the object and/or the relationship between entities, so it will inevitably cause the data stored in the object data copy The traffic surges, and the system performance is extremely degraded. This performance degradation trend is exponential, and the overall performance of the system will only get lower and lower.

因此,目前的管理对象数据的方法和系统无法有效管理记录有对象所代表的实体和/或实体之间关系的演进变化的对象系统数据,包括系统数据的增加、修改、删除或查询等管理操作和/或刻画一个具体场景下的对象系统的数据展现,等等。Therefore, the current method and system for managing object data cannot effectively manage object system data that records the evolution of the entity represented by the object and/or the relationship between entities, including management operations such as addition, modification, deletion, or query of system data And/or describe the data presentation of the object system in a specific scene, and so on.

发明内容Contents of the invention

鉴于上述现有技术所存在的问题,本发明的目的是提供一种对系统数据进行管理的实现方法及系统,从而可以有效地管理记录有对象所代表的实体和/或实体之间关系的演进变化的系统数据,包括系统数据的增加、修改、删除或查询等管理操作和/或刻画一个具体场景下的对象系统的数据展现。In view of the problems existing in the above-mentioned prior art, the object of the present invention is to provide a method and system for managing system data, so as to effectively manage and record the evolution of entities represented by objects and/or relationships between entities Changed system data, including management operations such as addition, modification, deletion, or query of system data and/or data presentation describing an object system in a specific scenario.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

本发明提供了一种对系统数据进行管理的方法,包括以下步骤:The invention provides a method for managing system data, comprising the following steps:

A、将实体信息和实体之间的实体关系信息记录到数据库中构成系统数据,所述实体信息和实体之间的实体关系信息包含业务相关的业务属性;A. Record entity information and entity relationship information between entities into the database to form system data, and the entity information and entity relationship information between entities include business-related business attributes;

所述系统数据为特定规划设计中的系统资源数据;所述业务为对资源数据的设计规划;The system data is system resource data in specific planning and design; the business is the design and planning of resource data;

B、利用实体信息及其相关联的实体关系信息,构成代表实体和/或实体关系的对象的对象网络,并利用所述对象网络以指定的实体信息和/或实体关系信息的业务属性限定作为筛选线索构造筛选条件,从所述系统数据中筛选出符合所述筛选条件的实体信息和实体之间的实体关系信息用以构成数据视图;B. Use entity information and its associated entity relationship information to form an object network representing entities and/or entity relationship objects, and use the object network to define business attributes of specified entity information and/or entity relationship information as Filtering clues to construct filtering conditions, and selecting entity information meeting the filtering conditions and entity relationship information between entities from the system data to form a data view;

C、基于所述数据视图对所述系统数据进行管理和/或展现所述数据视图。C. Managing the system data based on the data view and/or presenting the data view.

所述实体包括真实实体和虚拟实体,所述实体关系包括真实实体关系和虚拟实体关系。The entity includes a real entity and a virtual entity, and the entity relationship includes a real entity relationship and a virtual entity relationship.

所述实体关系通过统一建模语言UML中不同类型的关联来实现,该关联类型包括三元关联、复合聚合、共享聚合和/或基本聚合关系。The entity relationship is realized through different types of associations in the Unified Modeling Language UML, and the association types include ternary associations, composite aggregations, shared aggregations and/or basic aggregation relationships.

所述关联类型的实体和/或实体关系被修改后,自动将其相关子实体和/或子实体关系修改。After the entities and/or entity relationships of the association type are modified, their related sub-entities and/or sub-entity relationships are automatically modified.

所述的业务属性包括:The business attributes described include:

时间属性,是所述实体或实体关系基于时间的集合;和/或a temporal attribute, which is a time-based collection of said entities or entity relationships; and/or

位置属性,是所述实体或实体关系基于位置的集合。The location attribute is a location-based collection of the entity or entity relationship.

所述的时间属性进一步包括:The time attributes further include:

实体的生效时间信息和/或失效时间信息;Entity effective time information and/or expiration time information;

实体关系的生效时间信息和/或失效时间信息。The effective time information and/or the invalid time information of the entity relationship.

在所述步骤A中,当实体信息和/或实体关系信息发生变化时,仅将变化的实体信息和/或实体关系信息记录到所述数据库中。In the step A, when the entity information and/or entity relationship information changes, only the changed entity information and/or entity relationship information is recorded in the database.

所述筛选过程可以嵌套,进一步嵌套筛选中的筛选条件是在所述筛选条件的基础上增加更进一步的业务属性限定来构造所述嵌套筛选过程的嵌套筛选条件,所述数据视图作为所述嵌套筛选过程所基于的系统数据,筛选出符合所述嵌套筛选条件的实体信息和实体之间的实体关系信息用以构成嵌套数据视图。The filtering process can be nested, and the filtering condition in further nesting filtering is to add further business attribute restrictions on the basis of the filtering condition to construct the nesting filtering condition of the nesting filtering process, and the data view As the system data on which the nested screening process is based, the entity information meeting the nested screening condition and the entity relationship information between entities are screened out to form a nested data view.

在所述步骤B中,所述筛选是通过调用筛选函数对所述系统数据进行检索。In the step B, the screening is to retrieve the system data by calling a screening function.

所述筛选函数包括:The filter functions include:

第一函数:以实体信息和/或实体关系信息的业务属性取值范围作为筛选条件获得满足筛选条件的实体关系,作为数据视图的内容;和/或The first function: using the entity information and/or the business attribute value range of the entity relationship information as the filter condition to obtain the entity relationship satisfying the filter condition as the content of the data view; and/or

第二函数:以实体信息和/或实体关系信息的业务属性取值范围作为筛选条件获得满足筛选条件的实体信息,作为数据视图的内容。The second function: use the value range of the business attribute of the entity information and/or entity relationship information as the filtering condition to obtain the entity information satisfying the filtering condition as the content of the data view.

在所述步骤C中,所述管理是对系统数据进行增加、删除、查找和/或修改的管理操作。In the step C, the management is a management operation of adding, deleting, searching and/or modifying system data.

在所述步骤C中,In said step C,

所述管理是通过调用管理函数对所述系统数据进行管理;和/或The management is to manage the system data by calling a management function; and/or

所述展现是通过调用展现函数对所述数据视图进行展现。The presentation is to present the data view by calling a presentation function.

所述管理函数包括:The management functions include:

第三函数:在实体信息和/或实体关系信息创建前后的调用接口;The third function: the calling interface before and after creation of entity information and/or entity relationship information;

第四函数:在实体信息和/或实体关系信息被删除前后用于执行生命周期管理的调用接口;和/或The fourth function: a call interface for performing lifecycle management before and after entity information and/or entity relationship information is deleted; and/or

第五函数:在实体信息和/或实体关系信息被失效前后用于执行生命周期管理的调用接口;The fifth function: a call interface for performing lifecycle management before and after entity information and/or entity relationship information is invalidated;

和/或,and / or,

所述展现函数包括:The presentation functions include:

第六函数:返回实体关系信息基于目前时间最近被修改的时间点。Sixth function: Return the time point when the entity relationship information is most recently modified based on the current time.

本发明还提供了一种对系统数据进行管理的系统,所述系统包括:The present invention also provides a system for managing system data, the system comprising:

数据记录单元,用于将实体信息和实体之间的实体关系信息记录到数据库中构成系统数据,所述实体信息和实体之间的实体关系信息包含业务相关的业务属性;A data recording unit, configured to record entity information and entity relationship information between entities into a database to form system data, and the entity information and entity relationship information between entities include business-related business attributes;

所述系统数据为特定规划设计中的系统资源数据;所述业务为对资源数据的设计规划;The system data is system resource data in specific planning and design; the business is the design and planning of resource data;

数据视图构建单元,用于利用实体信息及其相关联的实体关系信息,构成代表实体和/或实体关系的对象的对象网络,并利用所述对象网络以指定的实体信息和/或实体关系信息的业务属性限定作为筛选条件,从所述系统数据中筛选出符合所述筛选条件的实体信息和实体之间的实体关系信息用以构成数据视图;A data view construction unit, configured to use entity information and associated entity relationship information to form an object network representing entities and/or entity relationship objects, and use the object network to specify entity information and/or entity relationship information The business attribute is defined as a filter condition, and the entity information that meets the filter condition and the entity relationship information between entities are selected from the system data to form a data view;

数据管理单元,用于基于所述数据视图对所述系统数据进行管理;和/或,数据视图展现单元,用于对所述数据视图进行展现。A data management unit, configured to manage the system data based on the data view; and/or a data view display unit, configured to display the data view.

所述系统还包括:The system also includes:

数据修改单元,用于当所述关联类型的实体和/或实体关系被修改后,控制数据记录单元自动将其相关子实体和/或子实体关系修改。The data modification unit is configured to control the data recording unit to automatically modify its related sub-entities and/or sub-entity relationships after the entity and/or entity relationship of the association type is modified.

所述的系统还包括:The system also includes:

数据更新单元,用于当实体信息和/或实体关系信息发生变化时,控制所述数据记录单元仅将变化的实体信息和/或实体关系信息记录到所述数据库中。The data updating unit is configured to control the data recording unit to only record the changed entity information and/or entity relationship information into the database when the entity information and/or entity relationship information changes.

所述数据视图构建单元中可以进一步嵌套数据视图构建子单元,通过该子单元实现筛选过程的嵌套,进一步嵌套筛选中的筛选条件是在所述筛选条件的基础上增加更进一步的业务属性限定构造所述嵌套筛选过程的嵌套筛选条件,所述数据视图作为所述嵌套筛选过程所基于的系统数据,筛选出符合所述嵌套筛选条件的实体信息和实体之间的实体关系信息用以构成嵌套数据视图。The data view construction unit can further nest data view construction subunits, and the nesting of the screening process can be realized through the subunits, and the screening conditions in the further nested screening are to add further business on the basis of the screening conditions Attributes define the nested filter conditions for constructing the nested filter process, and the data view is used as the system data on which the nested filter process is based to filter out entity information and entities between entities that meet the nested filter conditions Relationship information is used to form nested data views.

所述数据视图构建单元完成所述筛选是通过调用筛选函数接口单元对所述系统数据进行检索。The data view construction unit completes the filtering by calling the filtering function interface unit to retrieve the system data.

所述数据视图构建单元所调用的筛选函数接口单元包括:The filter function interface unit called by the data view construction unit includes:

第一函数接口模块:以实体信息和/或实体关系信息的业务属性取值范围作为筛选条件获得满足筛选条件的实体关系,作为数据视图的内容;和/或The first function interface module: use the entity information and/or the business attribute value range of the entity relationship information as the filter condition to obtain the entity relationship satisfying the filter condition as the content of the data view; and/or

第二函数接口模块:以实体信息和/或实体关系信息的业务属性取值范围作为筛选条件获得满足筛选条件的实体信息,作为数据视图的内容。The second function interface module: use the value range of the business attribute of the entity information and/or entity relationship information as the filtering condition to obtain the entity information satisfying the filtering condition as the content of the data view.

所述数据管理单元进一步包括系统数据增加、删除、查找和/或修改单元,分别用于完成对系统数据进行增加、删除、查找和/或修改的管理操作。The data management unit further includes a system data adding, deleting, searching and/or modifying unit, respectively used to complete the management operations of adding, deleting, searching and/or modifying the system data.

所述数据管理单元包括:管理函数接口单元,用于执行所述管理操作是通过调用管理函数对所述系统数据进行管理;和/或,The data management unit includes: a management function interface unit, configured to perform the management operation by calling a management function to manage the system data; and/or,

所述的系统还包括用于对所述数据视图进行展现的数据视图展现单元,数据视图展现单元包括:展现函数接口单元,用于执行所述展现是通过调用展现函数对所述数据视图进行展现。The system also includes a data view display unit for displaying the data view, the data view display unit includes: a display function interface unit, used to perform the display by calling a display function to display the data view .

所述管理函数接口单元包括:The management function interface unit includes:

第三函数接口模块:在实体信息和/或实体关系信息创建前后的调用接口;The third function interface module: the call interface before and after creation of entity information and/or entity relationship information;

第四函数接口模块:在实体信息和/或实体关系信息被删除前后用于执行生命周期管理的调用接口;和/或The fourth function interface module: a call interface for performing lifecycle management before and after entity information and/or entity relationship information is deleted; and/or

第五函数接口模块:在实体信息和/或实体关系信息被失效前后用于执行生命周期管理的调用接口;The fifth function interface module: a call interface for performing lifecycle management before and after entity information and/or entity relationship information is invalidated;

和/或and / or

所述展现函数包括The display function includes

第六函数接口模块:返回实体关系信息基于目前时间最近被修改的时间点。The sixth function interface module: return the time point when the entity relationship information is most recently modified based on the current time.

由上述本发明提供的技术方案可以看出,本发明提供的方案可以有效地管理记录有对象所代表的实体和/或实体之间关系的演进变化的系统数据,实现对系统数据的全方位、多角度观察和管理,特别的,本发明能够实现完整的实体生命周期管理以及实体之间的实体关系的生命周期管理,实现在不同的时间切片上构建一个完整的业务实例以及查看该业务实例存在的时间段。It can be seen from the above-mentioned technical solution provided by the present invention that the solution provided by the present invention can effectively manage the system data that records the evolution of the entity represented by the object and/or the relationship between the entities, and realize the comprehensive, Multi-angle observation and management. In particular, the present invention can realize complete entity lifecycle management and entity relationship lifecycle management between entities, realize building a complete business instance on different time slices and view the existence of the business instance time period.

附图说明Description of drawings

图1为本发明所述方案的原理示意图;Fig. 1 is the schematic diagram of the principle of the scheme of the present invention;

图2为本发明具体实施方案之一资源管理系统中的代表实体关系的对象示意图;FIG. 2 is a schematic diagram of objects representing entity relationships in a resource management system, one of the specific embodiments of the present invention;

图3为含有时间属性的对象及代表实体关系的对象的数据模型示意图;3 is a schematic diagram of a data model of an object containing a time attribute and an object representing an entity relationship;

图4为本发明具体实施方案之一资源管理系统中的对象网络的示意图;FIG. 4 is a schematic diagram of an object network in a resource management system of one embodiment of the present invention;

图5为对象处理机制示意图;FIG. 5 is a schematic diagram of an object processing mechanism;

图6为本发明所述方案中从系统数据筛选数据构成数据视图的处理过程示意图;Fig. 6 is a schematic diagram of the process of forming a data view from system data screening data in the solution of the present invention;

图7为本发明所述的系统的结构示意图。Fig. 7 is a schematic structural diagram of the system of the present invention.

具体实施方式Detailed ways

为了适应实体和/或实体之间关系的不断变化并能够动态展示这种演进变化,本发明方案的数据管理系统中用对象代表实体和/或实体之间关系,就是说,本发明不仅仅考虑实体本身,同时还涉及实体之间关系。现实空间的实体和实体之间关系所构建的网络就映射为管理系统中系统数据所代表的对象网络,通过分析实体之间关系的类型建立通用的代表实体之间关系模型的对象;现实中的实体和实体之间关系的演进变化与数据管理系统中对象的相应业务属性的改变相对应;基于数据管理系统中根据不同筛选条件从系统数据中筛选出的对象和对象关系构成不同的数据视图来反映由实体和实体之间关系所组成的业务系统中的变化,并作为实现系统数据管理的必要手段。In order to adapt to the constant changes of entities and/or relationships between entities and to dynamically display such evolution, objects are used in the data management system of the present invention to represent entities and/or relationships between entities, that is to say, the present invention not only considers The entities themselves, but also the relationships between entities. The network constructed by the entity and the relationship between entities in the real space is mapped to the object network represented by the system data in the management system, and a general object representing the relationship model between entities is established by analyzing the type of relationship between entities; The evolution of the relationship between entities and entities corresponds to the change of the corresponding business attributes of the objects in the data management system; based on the objects and object relationships filtered from the system data according to different filtering conditions in the data management system to form different data views Reflect changes in the business system composed of entities and relationships between entities, and serve as a necessary means to achieve system data management.

本发明主要为基于UML(统一建模语言)的思想实现。The present invention is mainly realized based on the idea of UML (Unified Modeling Language).

为对本发明有进一步的理解,下面将结合具体的应用实例对本发明所述方案进行详细的描述。In order to have a further understanding of the present invention, the solution of the present invention will be described in detail below in conjunction with specific application examples.

如图1所示,本发明所述方案主要包括:As shown in Figure 1, the scheme of the present invention mainly includes:

1、将实体信息和实体之间的实体关系信息按对象方式处理并记录到数据库中构成系统数据,所述实体信息和/或实体之间的实体关系信息包含业务相关的业务属性;1. Process entity information and entity relationship information between entities in an object manner and record them in the database to form system data. The entity information and/or entity relationship information between entities includes business-related business attributes;

2、以指定的实体信息和/或实体关系信息的业务属性限定作为筛选条件从所述系统数据中筛选出符合所述筛选条件的实体信息和实体之间的实体关系信息用以构成数据视图;2. Use the specified entity information and/or business attribute restrictions of entity relationship information as a filter condition to filter out entity information and entity relationship information between entities that meet the filter conditions from the system data to form a data view;

3、基于所述数据视图对所述系统数据进行管理和/或展现所述数据视图。3. Manage the system data based on the data view and/or present the data view.

所述数据视图中包括以预定条件提取出来的系统数据中的所有对象信息,从而便于增加、删除、修改或查询等管理操作。The data view includes all object information in the system data extracted according to predetermined conditions, thereby facilitating management operations such as adding, deleting, modifying or querying.

下面将分别对上述过程进行详细的描述。The above processes will be described in detail below.

将实体信息按对象方式处理的分析思路,与现有技术相同,不再详述。因此,仅针对实体之间的实体关系的对象化分析处理进行详细描述,具体通过一些系统实例给出分析思路。The analysis idea of processing the entity information as an object is the same as that of the prior art, and will not be described in detail. Therefore, only the object-oriented analysis and processing of the entity relationship between entities will be described in detail, and the analysis ideas will be given through some system examples.

在具体分析过程中以UML中的下述概念表述各代表实体的对象之间的关系:In the specific analysis process, the following concepts in UML are used to express the relationship between objects representing entities:

关联,是类之间的一个语义连接(链接),关联一般是双向的,但也可以是单向的;Association is a semantic connection (link) between classes. Association is generally bidirectional, but it can also be unidirectional;

三元关联是指两个以上的类也可以相互关联,三元关联就是同时连接三个类的关联;A ternary association means that two or more classes can also be associated with each other, and a ternary association is an association that connects three classes at the same time;

聚合是关联的一种特殊情况,关联的两个类之间的关系有些像“整体-部分”这种关系;Aggregation is a special case of association, and the relationship between two associated classes is somewhat like the "whole-part" relationship;

复合聚合的整体拥有它的部分,是一种强所有权关系。部分居住在整体内部,将与整体一起销毁;The whole of a composite aggregate owns its parts, a strong ownership relationship. The part lives inside the whole and will be destroyed with the whole;

共享聚合内的部分可以是任意整体的部分,相当于聚合中整体的多重性不是1;A part in a shared aggregate can be a part of any whole, which means that the multiplicity of the whole in the aggregate is not 1;

基本聚合则是指除以上两种聚合关系之外的聚合。Basic aggregation refers to aggregation other than the above two aggregation relationships.

以资源管理系统为例,在资源管理系统中,包含的对象如图2所示,具体包括:网络、帧结构、电路、端口、网元、机框、槽位、单板和子网。Taking the resource management system as an example, the objects contained in the resource management system are shown in Figure 2, including: networks, frame structures, circuits, ports, network elements, chassis, slots, boards, and subnets.

针对各实体对象之间的关系的分析结果如表1所示:The analysis results of the relationship between each entity object are shown in Table 1:

表1Table 1

  代表实体关系的对象An object representing an entity relationship特征feature说明illustrate1网络与帧结构1 Network and frame structure复合聚合composite polymerization  类似复合聚合关系,一个网络拥有若干帧结构,帧结构的生命周期依赖于网络的生命周期。考虑到随时间演进,不仅仅只是复合聚合关系,同一网络在不同时间可能拥有不同的帧结构。Similar to the composite aggregation relationship, a network has several frame structures, and the life cycle of the frame structure depends on the life cycle of the network. Considering the evolution over time, it is not just a compound aggregation relationship, the same network may have different frame structures at different times.  2网络与子网2 network and subnet  复合聚合Composite polymerization  同上ditto  3子网与帧结构3 Subnet and frame structure  复合聚合Composite polymerization  同上ditto4电路与帧结构4 circuit and frame structure基本聚合Basic Aggregation  一条电路由若干帧结构组成。考虑到随时间演进,不仅仅只是基本聚合关系,同一电路在不同时间可能由不同的帧结构组成。A circuit consists of several frame structures. Considering the evolution over time, not only the basic aggregation relationship, the same circuit may be composed of different frame structures at different times.5网络与网元5 Network and Network Elements共享聚合shared aggregation  一个网络包含若干网元,一个网元也可能属于不同网络。A network includes several network elements, and a network element may also belong to different networks.

  考虑到随时间演进,不仅仅只是共享聚合关系,同一网络在不同时间可能由不同的网元组成。Considering the evolution over time, not only the shared aggregation relationship, the same network may be composed of different network elements at different times.6网元与机框6 NEs and Chassis复合聚合composite polymerization  类似复合聚合关系,一个网元拥有若干机框,机框的生命周期依赖于网元的生命周期。考虑到随时间演进,不仅仅只是复合聚合关系,同一网元在不同时间可能机框配置不同。Similar to the composite aggregation relationship, a network element has several chassis, and the life cycle of the chassis depends on the life cycle of the network element. Considering the evolution over time, it is not just a compound aggregation relationship, but the chassis configuration of the same network element may be different at different times.  7机框与槽位7 Chassis and slots  复合聚合Composite polymerization  标准的复合聚合关系。Standard composite aggregation relationship.8槽位与单板8 slots and single board  双向的一对一关联Bidirectional one-to-one association  考虑到随时间演进,同一槽位可能对应多块单板,但同一时间仅有一块;同一单板可能对应多个槽位,但同一时间仅有一个。Considering the evolution over time, the same slot may correspond to multiple boards, but only one at a time; the same board may correspond to multiple slots, but only one at a time.  9单板与端口9 boards and ports  复合聚合Composite polymerization  标准的复合聚合关系。Standard composite aggregation relationship.10电路与端口10 circuits and ports双向的多对多关联bidirectional many-to-many association  一条电路使用若干端口,一个端口也可能属于不同电路。考虑到随时间演进,不仅仅只是共享聚合关系,同一电路在不同时间可能使用不同的端口。A circuit uses several ports, and a port may also belong to different circuits. Considering the evolution over time, not only the aggregation relationship is shared, the same circuit may use different ports at different times.

从表1中可以看到实体对象间关系的特征(Character)包括:From Table 1, we can see that the characteristics of the relationship between entity objects (Character) include:

关联、基本聚合、共享聚合、复合聚合、依赖等。其中比较重要的是复合聚合关系,由于复合聚合关系还涉及到实体及实体关系对象生命周期的管理,所以本发明的实体代表实体关系的对象处理逻辑中提供了在销毁整体对象时同时销毁所包含的部分对象的方法,具体可以通过图5中的onDelete/onDecommission操作函数实现,并且该方法还会被嵌套调用,确保完全的对象生命周期管理。Associations, basic aggregates, shared aggregates, compound aggregates, dependencies, etc. The more important one is the composite aggregation relationship. Since the composite aggregation relationship also involves the management of the life cycle of the entity and the entity relationship object, the object processing logic of the entity representing the entity relationship in the present invention provides that when destroying the overall object, it is also destroyed. The method of some objects can be implemented through the onDelete/onDecommission operation function in Figure 5, and this method will also be called nestedly to ensure complete object life cycle management.

所述实体对象间关系还具备鲜明的时间属性,具体可以参见图3中所示的commissionDate/decommissionDate。一种关系从某个时间开始生效,很可能在另一个时间就失效了,然后新的关系又产生了。例如,网络在某一个时间由若干网元构成,某一个时间点开始,构成网络的网元可能增加、移除、替换了若干网元。正是由于时间属性的存在,实体和实体对象间关系具备较强的动态性。本发明的对象化处理逻辑中提供了根据指定业务属性进行代表实体和/或实体关系的对象查询的方法,如图5中所示的getRelations/getRelatedobjects操作函数。The relationship between the entity objects also has a distinct time attribute, for details, refer to the commissionDate/decommissionDate shown in FIG. 3 . A relationship that takes effect from a certain time is likely to be invalid at another time, and then a new relationship is created. For example, a network is composed of several network elements at a certain time, and from a certain point in time, the network elements constituting the network may be added, removed, or replaced by several network elements. It is precisely because of the existence of time attributes that the relationship between entities and entity objects is highly dynamic. The object processing logic of the present invention provides a method for querying objects representing entities and/or entity relationships according to specified business attributes, such as the getRelations/getRelatedobjects operation function shown in FIG. 5 .

另外,所述对象还存在一些随业务领域的不同而有不同取值的其它业务属性。例如,网络与帧结构之间存在“路由段”关系。In addition, the object also has some other business attributes that have different values depending on the business domain. For example, there is a "routing segment" relationship between the network and the frame structure.

本发明中代表实体和/或实体关系的对象的数据模型如图3所示:The data model of the object representing entity and/or entity relationship among the present invention is as shown in Figure 3:

如图3所示,Relation(关系)用来连接不同的Object(对象),每个Object对象又包含一系列的Relation的复合聚合。从一个对象A出发,可以获得所有与该对象相关的代表实体关系的对象,然后通过代表实体关系的对象又可以获得对端的其它对象B,再从对象B出发,又可以获得相关的对象C。如此循环,通过这种数据结构,就能够把不同的对象关联起来,构筑成一个立体的对象网络子集。这种对象网络子集也是构成所述数据视图的数据基础。As shown in Figure 3, Relation is used to connect different Objects, and each Object object contains a series of compound aggregates of Relation. Starting from an object A, you can obtain all objects representing entity relationships related to the object, and then obtain other objects B at the opposite end through the objects representing entity relationships, and then obtain related objects C from object B. Such a cycle, through this data structure, can associate different objects and construct a three-dimensional object network subset. This subset of the object network is also the data basis that forms the data view.

下面对电信资源管理系统中最终形成的系统数据所对应的对象网络进行说明,具体如图4所示:The object network corresponding to the system data finally formed in the telecommunication resource management system will be described below, as shown in Figure 4 in detail:

从网络A出发进行考察,可以获得两组关系,关系1和关系2,关系1表示网络与帧结构之间的关联,关系2表示网络与网元之间的关联。其中关系1有三个实例,关系1_1对端为帧结构1,关系1_2对端为帧结构2,关系1_3对端为帧结构3,这样就能够获得与网络A相关的所有帧结构,图4中为三个。同理,也可以获得网络A相关的所有网元,分别为网元A、网元B、网元C。Starting from network A, two sets of relationships can be obtained,relationship 1 and relationship 2,relationship 1 indicates the association between the network and the frame structure, and relationship 2 indicates the association between the network and network elements. Among them, there are three instances ofrelationship 1, the peer of relationship 1_1 isframe structure 1, the peer of relationship 1_2 is frame structure 2, and the peer of relationship 1_3 is frame structure 3, so that all frame structures related to network A can be obtained, as shown in Figure 4 for three. Similarly, all network elements related to network A can also be obtained, namely network element A, network element B, and network element C.

从网元C出发进行考察,可以获得三组关系,关系2、关系3和关系4,关系2表示与网络之间的关联,关系3表示与机框之间的关联,关系4表示与帧结构之间的关联。同样,可以获得与网元C相关的网络A、机框1、机框2、机框3、帧结构3。Starting from network element C, three groups of relationships can be obtained, relationship 2, relationship 3, and relationship 4, relationship 2 indicates the relationship with the network, relationship 3 indicates the relationship with the chassis, and relationship 4 indicates the relationship with the frame structure connection between. Similarly, network A,shelf 1, shelf 2, shelf 3, and frame structure 3 related to network element C can be obtained.

可以看到,系统中所有的对象(代表实体和/或实体关系的对象)构成一个对象网络。在该对象网络中进行导航,再加上对对象的各种业务属性进行策略筛查,就可以根据系统数据的管理需求形成一幅数据视图。It can be seen that all objects (objects representing entities and/or entity relationships) in the system form an object network. Navigating in the object network, together with policy screening of various business attributes of objects, can form a data view according to the management requirements of system data.

为了从对象网络中根据相应的代表实体关系的对象信息提取相应的对象,需要采用相应的代表实体关系的对象处理机制,具体描述如下:In order to extract the corresponding object from the object network according to the corresponding object information representing the entity relationship, it is necessary to adopt the corresponding object processing mechanism representing the entity relationship. The specific description is as follows:

如前所述,代表实体关系的对象由于所关联的对象不同,业务属性取值不同,实际上分成了很多类别。每种类别的代表实体关系的对象,都存在一些特异性,需要一些特定的业务处理逻辑。但对于大量的代表实体关系的对象来说,其业务处理基本类似,存在很强的共通性。所以本发明对这些共通性进行了归纳,提出了一些通用的业务处理机制。As mentioned above, objects representing entity relationships are actually divided into many categories due to the different associated objects and different values of business attributes. Each category of objects representing entity relationships has some specificities and requires some specific business processing logic. However, for a large number of objects representing entity relationships, their business processing is basically similar, and there is a strong commonality. Therefore, the present invention summarizes these generalities, and proposes some common service processing mechanisms.

如图5所示,本发明给出了具备多种业务维度的代表实体关系的对象的通用处理机制。以下将逐一进行介绍:As shown in FIG. 5 , the present invention provides a general processing mechanism for objects representing entity relationships with multiple business dimensions. The following will introduce one by one:

(1)getAllRelations/getRelations(1) getAllRelations/getRelations

即第一函数,用于获得指定实体对象相关的各种代表实体关系的对象,其中后者可以通过设置业务属性来进行代表实体关系的对象的过滤,从而获得指定对象的指定的代表实体关系的对象。例如在图4中,对网元C调用getAllRelations,将得到网元C的所有关系:2_3、3_1、3_2、3_3以及4_1。That is, the first function is used to obtain various objects representing entity relationships related to the specified entity object, wherein the latter can filter the objects representing entity relationships by setting business attributes, so as to obtain the specified objects representing entity relationships object. For example, in Fig. 4, calling getAllRelations on network element C will obtain all relations of network element C: 2_3, 3_1, 3_2, 3_3 and 4_1.

(2)getAllObjects/getObjects(2) getAllObjects/getObjects

即第二函数,用于获得指定对象相关的其它对象,其中后者可以通过设置业务属性来进行对象的过滤,从而获得指定的对象信息。例如在图4中,对网元C调用getObjects,并指定关系3_1作为条件,将得到机框1。That is, the second function is used to obtain other objects related to the specified object, wherein the latter can filter the objects by setting business attributes, so as to obtain the information of the specified object. For example, in Figure 4, calling getObjects on network element C and specifying relation 3_1 as a condition will result inchassis 1.

(3)preCreate/postCreate(3) preCreate/postCreate

即第三函数,在代表实体关系的对象创建前后做必要的处理,例如,对代表实体关系的对象的自动生效时间用当前时间赋初值。That is, the third function, which performs necessary processing before and after the creation of the object representing the entity relationship. For example, the current time is used to assign the initial value to the automatic effective time of the object representing the entity relationship.

(4)preDelete/postDelete(4) preDelete/postDelete

即第四函数,在代表实体关系的对象被删除前后进行生命周期相关处理,例如,如果属于复合聚合类型的关系被删除,则自动删除相关的子对象。例如,机框中的线路板被删除后,板子上所有的端口即失效相当于自动删除。That is, the fourth function, which performs life cycle related processing before and after the object representing the entity relationship is deleted. For example, if the relationship belonging to the compound aggregation type is deleted, the related sub-object is automatically deleted. For example, after a circuit board in a chassis is deleted, all ports on the board will become invalid, which is equivalent to automatic deletion.

(5)preDecommission/postDecommission(5) preDecommission/postDecommission

即第五函数,在代表实体关系的对象被失效前后进行生命周期相关处理,例如,如果属于复合聚合类型的关系被失效,则自动失效相关的子对象。That is, the fifth function, which performs life cycle related processing before and after the object representing the entity relationship is invalidated. For example, if the relationship belonging to the compound aggregation type is invalidated, the related sub-objects will be invalidated automatically.

(6)getNextChangeDate(6) getNextChangeDate

即第六函数,在代表实体关系的对象的诸多业务属性中,对象特别是代表实体关系的对象随时间属性变化最频繁,所以本发明中特意抽取实现了这个方法,用于在数据视图中提供基于时间轴进行导航。That is, the sixth function. Among the many business attributes of objects representing entity relationships, objects, especially objects representing entity relationships, change most frequently over time. Therefore, this method is deliberately extracted and implemented in the present invention to provide Navigate based on time axis.

基于上述处理机制,即各提取对象网络中的对象的操作函数便可以根据设定的筛选条件通过相应的筛选过程构建相应的动态数据视图。Based on the above-mentioned processing mechanism, that is, the operation functions of the objects in each extracted object network can construct a corresponding dynamic data view through a corresponding screening process according to the set screening conditions.

所谓数据视图,就是在视图中除了列出对象本身的相关属性之外,还展示与之相关的所有的其它对象的信息,从而构成与该对象相关的全景信息。动态的含义是指该数据视图的内容并不是事先确定,而是根据实体对象以及代表实体关系的对象业务属性满足度检测策略动态从对象网络中筛选出相关对象,从而形成动态数据视图。The so-called data view means that in addition to listing the relevant attributes of the object itself, the view also displays the information of all other objects related to it, so as to constitute the panoramic information related to the object. Dynamic means that the content of the data view is not determined in advance, but dynamically screens out relevant objects from the object network according to the entity object and the object business attribute satisfaction detection strategy representing the entity relationship, thereby forming a dynamic data view.

需要说明的是所述筛选过程可以嵌套实现筛选操作,进一步嵌套筛选中的筛选条件是在已经确定的筛选条件的基础上增加更进一步的业务属性限定来构造所述嵌套筛选过程的嵌套筛选条件,所述基于已经确定的筛选条件获得的数据视图则作为所述嵌套筛选过程所基于的系统数据,即从该数据视图中筛选出符合所述嵌套筛选条件的实体信息和实体之间的实体关系信息,用以构成嵌套数据视图,且在筛选过程中可以进行多层次的嵌套筛选操作。It should be noted that the screening process can be nested to implement the screening operation, and the screening conditions in the further nested screening are to add further business attribute restrictions on the basis of the determined screening conditions to construct the nested screening process of the nested screening process. set of filter conditions, the data view obtained based on the determined filter conditions is used as the system data on which the nested filter process is based, that is, the entity information and entities that meet the nested filter conditions are filtered out from the data view Entity relationship information among them is used to form a nested data view, and multi-level nested filtering operations can be performed during the filtering process.

如图6所示,本发明中具体的构建数据视图的方法包括:As shown in Figure 6, the specific method for constructing a data view in the present invention includes:

步骤61:用户需要确认一组业务属性作为数据视图筛选依据;Step 61: The user needs to confirm a set of business attributes as the data view screening basis;

在对象的诸多业务属性中,对象随时间属性变化最频繁,所以最常见的情况就是以时间属性作为数据视图筛选的依据。Among the many business attributes of objects, objects change most frequently with time attributes, so the most common situation is to use time attributes as the basis for data view filtering.

步骤62:保存指定的业务属性作为检索条件为嵌套筛查作基础;Step 62: Save the specified business attribute as the retrieval condition to serve as the basis for nested screening;

除了基于对应于对象网络的系统数据筛查对象构成数据视图外,筛查过程可以嵌套。例如利用筛查结果构成数据视图的基础上,筛查条件增添进一步的业务属性限定构造嵌套筛查的条件,以此进行嵌套筛查。除非重新启动针对系统数据的筛查,否则筛查条件一直保存,作为其它相关数据视图的基准。In addition to screening objects to form data views based on system data corresponding to the object network, screening processes can be nested. For example, on the basis of using the screening results to form a data view, further business attributes are added to the screening conditions to limit the conditions for constructing nested screening, so as to perform nested screening. Filter criteria are saved and used as a baseline for other related views of data unless the filter for system data is restarted.

步骤63:获得指定对象;Step 63: Obtain the specified object;

步骤64:判断相应的对象是否符合业务属性检测策略,如果符合,则执行步骤65,否则,执行步骤68;Step 64: Judging whether the corresponding object complies with the business attribute detection strategy, if so, executestep 65, otherwise, executestep 68;

步骤65:获得指定实体对象的所有代表实体关系的对象;Step 65: Obtain all objects representing entity relationships of the specified entity object;

在构对象网络中,从一个对象出发能够获取与其相关的所有代表实体关系的对象,并进而能够获得关联的对端对象集合;In the structure object network, starting from an object, all related objects representing entity relationships can be obtained, and then the associated set of peer objects can be obtained;

步骤66:判断相应的代表实体关系的对象是否符合业务属性检测策略,如果符合,则执行步骤67,否则,执行步骤68;Step 66: Judging whether the corresponding object representing the entity relationship conforms to the business attribute detection strategy, if so, executestep 67, otherwise, executestep 68;

在该步骤的代表实体关系的对象业务属性满足度检测策略中,将步骤63获得的所有代表实体关系的对象集合将被该步骤逐一检测,且主要根据前面确认的业务属性取值,对代表实体关系的对象按照检测策略进行过滤;In the detection strategy for the satisfaction degree of object business attributes representing entity relationships in this step, all object collections representing entity relationships obtained instep 63 will be detected one by one in this step, and the representative entity The objects of the relationship are filtered according to the detection strategy;

步骤67:对端关联对象纳入到数据视图中;Step 67: Bring the peer associated object into the data view;

对于满足业务属性检测策略的代表实体关系的对象,代表实体关系的对象的对端对象将被作为当前浏览对象的相关对象纳入数据视图。For an object representing an entity relationship that satisfies the business attribute detection strategy, the peer object of the object representing the entity relationship will be included in the data view as a related object of the currently browsed object.

步骤68:过滤该对象,不将其纳入数据视图。Step 68: Filter the object and not include it in the data view.

经过上述步骤61至步骤68的处理后,便可以获得指定对象的数据视图,之后,还可以重复执行上述操作处理过程,进行下一个指定对象的数据视图的提取操作。After the processing of theabove step 61 to step 68, the data view of the specified object can be obtained, and then the above operation process can be repeated to extract the next data view of the specified object.

本发明中,对象网络的导航功能是用嵌套筛查来实现的,从数据视图中的一个实体对象出发,选中与之关联其它实体对象,系统将会使用前面步骤保存的业务属性筛查条件并增加进一步业务属性限制作嵌套筛查形成嵌套数据视图,从而完成导航功能。In the present invention, the navigation function of the object network is realized by nested screening. Starting from an entity object in the data view, select other entity objects associated with it, and the system will use the business attribute screening conditions saved in the previous steps And add further business attribute restrictions for nested screening to form a nested data view, thereby completing the navigation function.

在动态数据视图中,还有一个比较重要的功能,就是对已经输入确认的业务属性取值进行修改,并刷新数据视图。典型的一个应用就是,在数据视图中,为每一个相关对象,都提供了一个下次修改时间,点击下次修改时间,将会自动更新时间属性取值,并刷新数据视图,就可以非常方便的了解对象基于时间轴的演进变迁。In the dynamic data view, there is another important function, which is to modify the value of the business attribute that has been entered and confirmed, and refresh the data view. A typical application is that in the data view, a next modification time is provided for each related object. Clicking the next modification time will automatically update the value of the time attribute and refresh the data view, which is very convenient. Understand the evolution of objects based on the time axis.

本发明还提供了一种对系统数据进行管理的系统,如图7所示,所述系统包括:The present invention also provides a system for managing system data, as shown in Figure 7, the system includes:

数据记录单元,用于将实体信息和实体之间的实体关系信息记录到数据库中构成系统数据,所述实体信息和/或实体之间的实体关系信息包含业务相关的业务属性,所述实体关系包括真实实体关系和虚拟实体关系,且所述实体关系通过统一建模语言UML中不同类的关联来实现,该关联包括三元关联、复合聚合、共享聚合和/或基本聚合关系;A data recording unit, configured to record entity information and entity relationship information between entities into a database to form system data, the entity information and/or entity relationship information between entities includes business-related business attributes, and the entity relationship Including real entity relationship and virtual entity relationship, and said entity relationship is realized by different types of association in Unified Modeling Language UML, the association includes ternary association, composite aggregation, shared aggregation and/or basic aggregation relationship;

数据视图构建单元,用于以指定的实体信息和/或实体关系信息的业务属性限定作为筛选条件从所述系统数据中筛选出符合所述筛选条件的实体信息和实体之间的实体关系信息用以构成数据视图;The data view construction unit is used to use specified entity information and/or business attribute restrictions of entity relationship information as a filter condition to filter out entity information and entity relationship information between entities that meet the filter conditions from the system data. to form a data view;

数据管理单元,用于基于所述数据视图对所述系统数据进行管理;和/或a data management unit, configured to manage the system data based on the data view; and/or

数据视图展现单元,用于对所述数据视图进行展现。The data view presentation unit is configured to present the data view.

本发明所述系统中还包括:The system of the present invention also includes:

数据修改单元,用于当所述关联类型的实体和/或实体关系被修改后,控制数据记录单元自动将其相关子实体和/或子实体关系修改;A data modification unit, configured to control the data recording unit to automatically modify its related sub-entities and/or sub-entity relationships when the entity and/or entity relationship of the associated type is modified;

数据更新单元,用于当实体信息和/或实体关系信息发生变化时,控制所述数据记录单元仅将变化的实体信息和/或实体关系信息记录到所述数据库中。The data updating unit is configured to control the data recording unit to only record the changed entity information and/or entity relationship information into the database when the entity information and/or entity relationship information changes.

在本发明所述的系统中,数据视图构建单元、数据管理单元和数据视图展现单元为系统中的重要组成部分,下面将分别进行详细说明。In the system of the present invention, the data view construction unit, the data management unit and the data view display unit are important components of the system, which will be described in detail below.

数据视图构建单元:Data view building blocks:

所述数据视图构建单元中可以进一步嵌套数据视图构建子单元,通过该子单元实现筛选过程的嵌套,进一步嵌套筛选中的筛选条件是在所述筛选条件的基础上增加更进一步的业务属性限定构造所述嵌套筛选过程的嵌套筛选条件,所述数据视图作为所述嵌套筛选过程所基于的系统数据,筛选出符合所述嵌套筛选条件的实体信息和实体之间的实体关系信息用以构成嵌套数据视图;The data view construction unit can further nest data view construction subunits, and the nesting of the screening process can be realized through the subunits, and the screening conditions in the further nested screening are to add further business on the basis of the screening conditions Attributes define the nested filter conditions for constructing the nested filter process, and the data view is used as the system data on which the nested filter process is based to filter out entity information and entities between entities that meet the nested filter conditions Relationship information is used to form nested data views;

所述数据视图构建单元完成所述筛选是通过调用筛选函数接口单元对所述系统数据进行检索,所述筛选函数接口单元包括以下至少一个模块:The data view construction unit completes the screening by calling the filter function interface unit to retrieve the system data, and the filter function interface unit includes at least one of the following modules:

第一函数接口模块:即函数一,通过第一函数实现以实体信息和/或实体关系信息的业务属性作为筛选条件获得满足筛选条件的实体关系,作为数据视图的展现内容;The first function interface module: that is, function one, through the first function, the business attribute of entity information and/or entity relationship information is used as the filtering condition to obtain the entity relationship satisfying the filtering condition, as the display content of the data view;

第二函数接口模块:即函数二,通过第二函数实现以实体信息和/或实体关系信息的业务属性作为筛选条件获得满足筛选条件的实体信息,作为数据视图的展现内容。The second function interface module: that is, function 2. Through the second function, the business attribute of entity information and/or entity relationship information is used as a filter condition to obtain entity information satisfying the filter condition as the display content of the data view.

数据管理单元:Data management unit:

所述数据管理单元进一步包括系统数据增加、删除、查找和/或修改模块,分别用于完成对系统数据进行增加、删除、查找和/或修改的管理操作。The data management unit further includes system data adding, deleting, searching and/or modifying modules, which are respectively used to complete management operations of adding, deleting, searching and/or modifying system data.

所述数据管理单元包括:管理函数接口单元,用于执行所述管理操作是通过调用管理函数对所述系统数据进行管理;The data management unit includes: a management function interface unit, configured to perform the management operation by calling a management function to manage the system data;

其中,所述管理函数接口单元包括以下至少一个模块:Wherein, the management function interface unit includes at least one of the following modules:

第三函数接口模块:即函数三,通过第三函数实现在实体信息和/或实体关系信息创建前后的调用接口;The third function interface module: that is, the third function, which realizes the call interface before and after creation of entity information and/or entity relationship information through the third function;

第四函数接口模块:即函数四,通过第四函数实现在实体信息和/或实体关系信息被删除前后用于执行生命周期管理的调用接口;The fourth function interface module: that is, function four, through which the fourth function implements the call interface for performing life cycle management before and after the entity information and/or entity relationship information is deleted;

第五函数接口模块:即函数五,通过第五函数实现在实体信息和/或实体关系信息被失效前后用于执行生命周期管理的调用接口;The fifth function interface module: that is, function five, through which the fifth function implements the calling interface for performing life cycle management before and after the entity information and/or entity relationship information is invalidated;

数据视图展现单元:Data view display unit:

所述的数据视图展现单元包括:展现函数接口单元,用于执行所述展现是通过调用展现函数对所述数据视图进行展现;所述展现函数包括:The data view display unit includes: a display function interface unit, which is used to perform the display by calling a display function to display the data view; the display function includes:

第六函数接口模块:即函数六,通过第六函数实现返回实体关系信息基于目前时间最近被修改的时间点。The sixth function interface module: that is, function six, through the sixth function, the return of entity relationship information is based on the most recently modified time point of the current time.

下面将以一个具体的应用实例对本发明所述方案进行说明。具体以具备时空特性的资源管理系统中的系统数据的管理为例进行说明。The scheme of the present invention will be described below with a specific application example. Specifically, the management of system data in a resource management system with spatiotemporal characteristics is taken as an example for illustration.

随着电信企业对资源管理水平的不断提升,更加强调资源管理以客户为中心的“随需而动”,并导致需要经常主动调整资源关系以满足客户的个性化需求。在这种需求背景下,以往纯粹平面方式的资源管理已经无法适应时代需要,也就是说,对资源管理系统的资源管理要求已经变成了既要体现存在性,又要能够体现基于时间轴序列的资源演进发展过程,并提供规划设计支持。例如:某个电信网络可能现在是一个跨越3个网元的STM1网络,规划设计者将规划该网络从未来的某个时刻开始为一个跨越5个网元的STM16网络,而另一个规划设计者则基于5个网元的STM16网络完成网络内所有电路的变迁设计,并根据未来可能的需求改变网络的帧结构。With the continuous improvement of the resource management level of telecom enterprises, more emphasis is placed on the customer-centered "on-demand" resource management, which leads to the need to frequently actively adjust resource relationships to meet the individual needs of customers. In the context of this demand, the previous purely planar resource management has been unable to meet the needs of the times, that is to say, the resource management requirements for the resource management system have become both to reflect existence and to be able to reflect the time-based sequence Resource evolution and development process, and provide planning and design support. For example: a certain telecommunication network may now be an STM1 network spanning 3 network elements, and the planning designer will plan the network to be an STM16 network spanning 5 network elements from some point in the future, while another planning designer Based on the STM16 network of 5 network elements, the transition design of all circuits in the network is completed, and the frame structure of the network is changed according to possible future requirements.

为适应上述灵活的资源管理需求,本发明提供了动态多维代表实体关系的对象的数据视图,所述数据视图中包含指定对象对应的所有与其存在关联的各个对象,即在对象网络中从指定的对象开始,按照特定的业务属性值遍历对象网络获得的所有对象,基于该数据视图便可以完全解决资源随时间演进的问题。In order to meet the above-mentioned flexible resource management requirements, the present invention provides a dynamic multi-dimensional data view of objects representing entity relationships, the data view includes all objects associated with the specified object, that is, from the specified object network Starting from the object, traverse all the objects obtained from the object network according to the specific business attribute value. Based on this data view, the problem of resource evolution over time can be completely solved.

从代表实体关系的对象的模型角度来看,资源随时间演进就是资源关系在时间属性上的变化。一次演进代表了一批量旧的资源关系失效,新的资源关系开始生效。在时间轴序列上的演进历史,也完全可以从资源关系的变化中分离出所有变迁的时间属性,明确了每一个时间属性值,就可以获得资源的不同数据视图,从而实现对资源的灵活管理。From the perspective of the model of objects representing entity relationships, the evolution of resources over time is the change in time attributes of resource relationships. An evolution means that a batch of old resource relationships become invalid and new resource relationships take effect. The evolution history on the time axis sequence can also completely separate the time attributes of all changes from the changes in resource relationships. After clarifying the value of each time attribute, different data views of resources can be obtained, thereby realizing flexible management of resources. .

综上所述,本发明提供的方法可以有效地实现对系统数据的全方位、多角度观察,同时,能够实现完整的关联对象生命周期管理。To sum up, the method provided by the present invention can effectively realize comprehensive and multi-angle observation of system data, and at the same time, can realize complete associated object life cycle management.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (22)

CNB2005101300540A2005-10-122005-12-12 Method and system for managing system dataExpired - Fee RelatedCN100401298C (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNB2005101300540ACN100401298C (en)2005-10-122005-12-12 Method and system for managing system data

Applications Claiming Priority (3)

Application NumberPriority DateFiling DateTitle
CN2005101127402005-10-12
CN200510112740.52005-10-12
CNB2005101300540ACN100401298C (en)2005-10-122005-12-12 Method and system for managing system data

Publications (2)

Publication NumberPublication Date
CN1866250A CN1866250A (en)2006-11-22
CN100401298Ctrue CN100401298C (en)2008-07-09

Family

ID=37425272

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNB2005101300540AExpired - Fee RelatedCN100401298C (en)2005-10-122005-12-12 Method and system for managing system data

Country Status (1)

CountryLink
CN (1)CN100401298C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101640613B (en)*2009-09-112012-01-25中兴通讯股份有限公司Method and device for network resource relating management
CN102340416B (en)*2011-07-082014-03-19东软集团股份有限公司Time slice-based method and device for event statistics
CN102930053B (en)*2012-11-192014-08-13西北大学Multi-dimensional intelligent resource filter method
US10026064B2 (en)*2013-09-132018-07-17Microsoft Technology Licensing, LlcAutomatically recommending updates based on stored lifecycle information
CN103544233A (en)*2013-10-072014-01-29宁波芝立软件有限公司Storage organizational method, system and device of complete genetic relationship information base
CN103543957A (en)*2013-10-072014-01-29宁波芝立软件有限公司Foster relationship information storage organization method and system and equipment
CN103544228A (en)*2013-10-072014-01-29宁波芝立软件有限公司Method, system and device for storing and organizing adoptive relationship information base
CN104732310A (en)*2013-12-232015-06-24北京索为高科系统技术有限公司Data integration method based on unified data model
CN103823842B (en)*2014-01-202018-04-20中国建设银行股份有限公司A kind of ERWIN prototype softwares update method and device
CN105786933A (en)*2014-12-262016-07-20北大医疗信息技术有限公司Graphic display method and display apparatus for medical data
CN104573133A (en)*2015-02-132015-04-29广州神马移动信息科技有限公司Method and apparatus for storing data
CN109033208B (en)*2018-06-292021-07-02杭州海康威视数字技术股份有限公司Ontology construction method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040049732A1 (en)*2002-09-072004-03-11Wicks Anthony RobertData management tool
JP2004302960A (en)*2003-03-312004-10-28Nippon Telegr & Teleph Corp <Ntt> Entity device, event transfer control method, event transfer control program, and recording medium therefor
JP2005038030A (en)*2003-07-152005-02-10Toshiba Solutions CorpMobile terminal and synchronous control program
CN1588372A (en)*2004-10-122005-03-02北京北大方正电子有限公司General file storage method based on relation type data base
CN1652112A (en)*2005-03-022005-08-10北京北方烽火科技有限公司Implementing method of data dictionary under embedded environment
US20050203884A1 (en)*2004-03-112005-09-15International Business Machines CorporationSystems and methods for user-constructed hierarchical interest profiles and information retrieval using same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040049732A1 (en)*2002-09-072004-03-11Wicks Anthony RobertData management tool
JP2004302960A (en)*2003-03-312004-10-28Nippon Telegr & Teleph Corp <Ntt> Entity device, event transfer control method, event transfer control program, and recording medium therefor
JP2005038030A (en)*2003-07-152005-02-10Toshiba Solutions CorpMobile terminal and synchronous control program
US20050203884A1 (en)*2004-03-112005-09-15International Business Machines CorporationSystems and methods for user-constructed hierarchical interest profiles and information retrieval using same
CN1588372A (en)*2004-10-122005-03-02北京北大方正电子有限公司General file storage method based on relation type data base
CN1652112A (en)*2005-03-022005-08-10北京北方烽火科技有限公司Implementing method of data dictionary under embedded environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
并行数据仓库的建模OLAP界面的设计数据提取和数据维护. 刘勇,全文,黑龙江大学硕士学位论文. 2001*

Also Published As

Publication numberPublication date
CN1866250A (en)2006-11-22

Similar Documents

PublicationPublication DateTitle
US12197399B2 (en)Managing and classifying assets in an information technology environment using tags
US11789925B2 (en)System and method for conditionally updating an item with attribute granularity
US20230280908A1 (en)System and method for providing a committed throughput level in a data store
US11893046B2 (en)Method and apparatus for implementing a set of integrated data systems
CN100401298C (en) Method and system for managing system data
US9432459B2 (en)System and method for implementing a scalable data storage service
CN110019396A (en)A kind of data analysis system and method based on distributed multidimensional analysis
CN113934713B (en) Order data indexing method, system, computer device and storage medium
CN114297201B (en) Data processing method, device and electronic device for multi-level associated database
CN105183768B (en)A kind of file management method, device and terminal device
CN113704248B (en)Block chain query optimization method based on external index
CN108897859A (en)A kind of metadata retrieval method, apparatus, equipment and computer readable storage medium
CN109033157B (en)Complex data retrieval method and system based on user-defined search condition tree
US20200342029A1 (en)Systems and methods for querying databases using interactive search paths
CN110245149A (en) Metadata version management method and device
CN102932160A (en)Resource management system
US7693845B2 (en)Database systems, methods and computer program products using type based selective foreign key association to represent multiple but exclusive relationships in relational databases
CN111475528A (en)OTT-based data warehouse construction method, equipment and storage medium
CN104166661A (en)Data storage system and method
CN117493348A (en)Complex report generation method and system based on cell design
CN107408239B (en) Architecture for massive data management in communication applications through multiple mailboxes
CN111831696A (en) Asset Information Storage Method and System Based on Graph Theory
CN107357836A (en)A kind of VNF bags and its image file delet method quoted and equipment
CN112115115A (en)File moving method and device based on data warehouse and storage medium
CN106991116A (en)The optimization method and device of database executive plan

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20080709

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp