CN103107919A - Method and system for network resource modeling - Google Patents

Method and system for network resource modeling Download PDF

Info

Publication number
CN103107919A
CN103107919A CN201310008131XA CN201310008131A CN103107919A CN 103107919 A CN103107919 A CN 103107919A CN 201310008131X A CN201310008131X A CN 201310008131XA CN 201310008131 A CN201310008131 A CN 201310008131A CN 103107919 A CN103107919 A CN 103107919A
Authority
CN
China
Prior art keywords
model
internet resources
network resource
meta
target network
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
CN201310008131XA
Other languages
Chinese (zh)
Other versions
CN103107919B (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.)
Datang Software Technologies Co Ltd
Original Assignee
Datang Software 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 Datang Software Technologies Co Ltd filed Critical Datang Software Technologies Co Ltd
Priority to CN201310008131.XA priority Critical patent/CN103107919B/en
Publication of CN103107919A publication Critical patent/CN103107919A/en
Application granted granted Critical
Publication of CN103107919B publication Critical patent/CN103107919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for network resource modeling. The method includes the steps of setting a network resource meta-model, and network resource modeling. The network resource modeling includes adding a target network resource model, and particularly includes the following steps: obtaining target network resource information, obtaining target network resource object attribute information, and adding the target network resource information and the target network resource object attribute information to the target network resource model which is corresponding to the network resource meta-model. Thus, the target network resource model built through the network resource modeling method has uniform data specification, and uniform validation logic and service processing logic are met, so that no physical table needs to be added even new network resource models are constantly added, and the modeling cost of the network resource model is greatly reduced.

Description

A kind of Internet resources modeling method and system
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of Internet resources modeling method and system.
Background technology
Internet resources refer to provide the set of the network element of communication or information service.Internet resources can be divided into polytype usually, for example:
Space resources: mainly comprise administrative division (province and district city, district), management area, normal address, website, machine room etc.;
Network physical resource: mainly comprise the physical resources that various hardware devices or facility consist of, be communication resource functionating, the material base of communication/Information Service Ability is provided, for example, all kinds of physical resources (network equipment, connection device, wireless device);
The cellular logic resource: mainly comprise except physical resource, the invisible communication resource and information service resource (content and application), for example, network topology resource and network service resource;
Service resources: mainly comprise offering the service that the client uses, for example, catalogue, operation list etc.
Take telecom operators as example, along with the needs of business development, its Internet resources can constantly be increased or withdraw from, and for the ease of Internet resources are managed, have proposed network resources model.So-called network resources model is abstract to real Internet resources, comprise incidence relation of Internet resources class, resources-type attribute and resources-type etc., and in unified mode, Internet resources are carried out abstractdesription, complete, the description accurately that can provide communication network are provided, quick generation and the expansion of support to Internet resources, Dynamic Maintenance management, the resource object of realizing Internet resources expands, resource association and network, business and client related, and provide support for upper layer application such as the network planning, service fulfillment and business guarantees.
At present, next generation network OSS (New Generation Operations Systems andSoftware is adopted in the Internet resources modeling more, NGOSS) shared information and data model (Shared Information Data Model, SID), and employing UML (Unified Modeling Language, UML) and XML model definition (XML SchemaDefinition, XSD) model is described.At first the Internet resources modeling has adopted the uml class figure of object-oriented thought and the system view that sequence chart provides the SID model, and entity is described by the class in uml diagram, attribute and generic operation.
As shown in Figure 1, be that prior art is to the data model schematic diagram of Internet resources modeling.Prior art adopts mode exhaustive and that sort out to define each resource to the various types of networks Resource Modeling time.Increase new network resource type because the development meeting of telecommunication service is continuous, therefore, its corresponding network resources model also will constantly carry out adaptations.For example, a kind of equipment of every increase all needs to set up a kind equipment entity list, and corresponding system and user's interactive interface, check logic, processing logic etc., and the later maintenance workload is very large.
In a word, need the technical problem that those skilled in the art solve to be exactly: the modeling and the maintenance cost that how to reduce Internet resources.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to provide a kind of a kind of Internet resources modeling method that overcomes the problems referred to above or address the above problem at least in part and corresponding system.
According to one aspect of the present invention, a kind of Internet resources modeling method is provided, comprising:
The Internet resources meta-model is set;
The Internet resources modeling comprises:
The target network resource model adds, and specifically comprises:
Obtain the target network resource object information;
Obtain target network resource object properties information;
Described target network resource object information and target network resource object properties information are added in target network resource model corresponding to described Internet resources meta-model.
Alternatively, described Internet resources meta-model comprises:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Relation Element model between the Internet resources class;
Described target network resource model comprises:
The target network resource class model and/or
Target network resource generic attribute model and/or
Relational model between the target network resource class;
Described target network resource model interpolation also comprises:
The mapping relations of Offered target Internet resources class and physics table;
The mapping relations of Offered target Internet resources generic attribute and physics literary name section;
Relation between Offered target Internet resources class, between described target network resource class, relation comprises: comprise and/or inherit and/or association.
Alternatively, described Internet resources modeling also comprises:
The target network resource model modification specifically comprises:
Obtain the model modification data of target network resource model;
With described model modification Data Update in physics table corresponding to described target network resource model.
Alternatively, described Internet resources modeling also comprises:
The deletion of target network resource model specifically comprises:
The model data delete cells is deleted model data according to the target network resource model identification of appointment from the physics table of correspondence.
Alternatively, described Internet resources meta-model also comprises:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role's meta-model and/or
Internet resources class pattern meta-model.
According to another aspect of the present invention, the invention also discloses a kind of Internet resources modeling, comprising:
The Internet resources meta-model arranges module, is used for arranging the Internet resources meta-model;
The Internet resources MBM is used for the Internet resources modeling,
Described Internet resources MBM comprises:
Target network resource model adding device specifically comprises:
Resource object acquisition of information subelement is used for obtaining the target network resource object information;
The resource object attribute information obtains subelement, is used for obtaining target network resource object properties information;
Objective network model storing sub-units is used for described target network resource object information and target network resource object properties information are added into target network resource model corresponding to described Internet resources meta-model.
Alternatively, described Internet resources meta-model arranges module also for arranging:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Relation Element model between the Internet resources class;
Described target network resource model comprises:
The target network resource class model and/or
Target network resource generic attribute model and/or
Relational model between the target network resource class;
Described target network resource model adding device also comprises:
The first mapping subelement is for the mapping relations of Offered target Internet resources class and physics table;
The second mapping subelement is for the mapping relations of Offered target Internet resources generic attribute and physics literary name section;
Resources-type relation arranges subelement, is used for relation between Offered target Internet resources class, and between described target network resource class, relation comprises: comprise and/or inherit and/or association.
Alternatively, described Internet resources MBM also comprises:
Target network resource model modification unit specifically comprises:
Model modification data acquisition subelement is for the model modification data of obtaining the target network resource model;
Model data is upgraded subelement, is used for the model modification Data Update to physics table corresponding to described target network resource model.
Alternatively, described Internet resources MBM also comprises:
Target network resource model deletion subelement specifically comprises:
Delete model data according to the target network resource model identification of appointment from the physics table of correspondence.
Alternatively, described Internet resources meta-model arranges module also for arranging:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role's meta-model and/or
Internet resources class pattern meta-model.
Existing Internet resources modeling mainly adopts mode exhaustive and that sort out to define each resource, every increase by one class resource all will increase corresponding entity list, also to revise corresponding check logic, business processing logic etc. simultaneously, cause the modeling cost of network resources model very high.The present invention is by define grid resource element model, and target network resource object information and object properties information are stored in target network resource model corresponding to Internet resources meta-model, make the network resources model of setting up by Internet resources modeling method of the present invention have unified data standard, satisfy unified check logic and business processing logic, therefore, even constantly add new network resources model, also need not to increase entity list, greatly reduce the modeling cost of network resources model.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows prior art to the data model schematic diagram of network resources model modeling;
Fig. 2 shows a kind of according to an embodiment of the invention schematic flow sheet of Internet resources modeling method;
Fig. 3 shows the schematic flow sheet that in a kind of according to an embodiment of the invention Internet resources modeling method, network resources model adds;
Fig. 4 shows the schematic flow sheet that increases the Internet resources class in a kind of according to an embodiment of the invention Internet resources modeling method;
Fig. 5 shows the schematic flow sheet that upgrades the Internet resources class in a kind of according to an embodiment of the invention Internet resources modeling method;
Fig. 6 shows the schematic flow sheet of deletion Internet resources class in a kind of according to an embodiment of the invention Internet resources modeling method;
Fig. 7 shows a kind of according to an embodiment of the invention Internet resources modeling structural representation.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Referring to Fig. 2, Fig. 2 shows the schematic flow sheet of a kind of Internet resources modeling method of the embodiment of the present invention, comprising:
Step 201 arranges the Internet resources meta-model.
For the embodiment of the present invention, described Internet resources meta-model is that described Internet resources meta-model had both comprised the description to Internet resources object itself, also comprised the description to the Internet resources object properties for the model of description and define grid resource model.In the specific implementation, the description of described Internet resources object and Internet resources object properties can be contained in same physical model, also can be described with different physical models respectively, such as: Internet resources class meta-model, Internet resources generic attribute meta-model etc.
The network resources model data are stored in data file corresponding to described Internet resources meta-model, and this data file can be predefined XML file, can be also text or database table etc.The below provides the organization definition example of Internet resources meta-model take database table as example:
Figure BDA00002720239300072
It will be appreciated by those skilled in the art that and implementing when of the present invention, can describe field in needs definition meta-model according to reality, the present invention is not restricted this.
Step 202, the Internet resources modeling.
Described Internet resources modeling comprises: the target network resource model adds, and specifically comprises:
S2021 obtains the target network resource object information.
S2022 obtains target network resource object properties information.
S2023 is added into described target network resource object information and target network resource object properties information in target network resource model corresponding to described target network resource meta-model.
Particularly, add one exactly in tables of data corresponding to target network resource model and comprise target network resource object information and target network resource object properties recording of information, the data format of this record meets in described Internet resources meta-model about Internet resources class, the defined data standard of Internet resources generic attribute.
In another preferred embodiment of the present invention, the Internet resources meta-model of described setting is different physical model, comprising: Relation Element model between Internet resources meta-model and/or Internet resources attribute meta-model and/or Internet resources class; The target network resource model corresponding with above-mentioned Internet resources meta-model comprises: relational model between target network resource class model and/or target network resource generic attribute model and/or target network resource class; Described target network resource model interpolation also comprises:
S2024, the mapping relations of Offered target Internet resources class and physics table.
The physical entity table that Offered target Internet resources class should be stored when instantiation.Because different resources-type attribute difference distances is larger, and consider for factors such as performances, storage for the resource instance data, be not that all resources-type examples are stored in a physical entity table, but consider, carried out suitable cutting, as equipment be connected, just defined respectively different storage entity.
S2025, the mapping relations of Offered target Internet resources generic attribute and physics literary name section.
S2026, relation between Offered target Internet resources class, between described target network resource class, relation comprises: comprise and/or inherit and/or association.
In another preferred embodiment of the present invention, the modeling of described step 202 Internet resources also comprises:
The target network resource model modification specifically comprises:
Obtain the model modification data of target network resource model;
With described model modification Data Update in physics table corresponding to described target network resource model.
In another preferred embodiment of the present invention, the modeling of described step 202 Internet resources also comprises:
The deletion of target network resource model specifically comprises: delete model data according to the target network resource model identification of appointment from the physics table of correspondence.
For the data relationship of more perfect storage networking resource model data, described Internet resources meta-model also comprises:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role's meta-model and/or
Internet resources class pattern meta-model.
Below by a concrete example, Internet resources modeling method disclosed in this invention is described:
At first, define grid resource element model.Concrete data model is described below:
1) resources-type catalogue meta-model
Mode by directory tree manages resources-type, is convenient to classification and classification.
Detailed description is referring to table 1:
Figure BDA00002720239300091
Table 1: resources-type catalogue
2) resources-type meta-model
Adopt OO thought, by the mode of specification, define various resource objects, as the point such as fiber area resource ONU resource, and the line resources such as optical cable, cable, so that can be based on the defined resources-type instantiation of carrying out resource object when practical application.In the understanding aspect, can be with resources-type being equal to " mould ".
Detailed description is referring to table 2:
Figure BDA00002720239300101
Table 2: resources-type
3) resources-type Relation Element model
In recording resources-type Relations Among, in order to can filter when choosing the correlated resources of every kind of resource.
Detailed description is referring to table 3:
Figure BDA00002720239300102
Table 3: resources-type relation
4) resources-type entity meta-model
Define the every kind of resources-type physical entity table that should store when instantiation.Because different resources-type attribute difference distances is larger, and consider for factors such as performances, storage for the resource instance data, be not that all resources-type examples are stored in a physical entity table, but consider, carried out suitable cutting, as equipment be connected, just defined respectively different storage entity.
Detailed description is referring to table 4:
Table 4: resources-type entity
5) resources-type attribute meta-model
Adopt object-oriented thought, define resources-type attribute, be used for describing in detail resources-type.Detailed description is referring to table 5:
Figure BDA00002720239300112
Figure BDA00002720239300121
Table 5: resources-type attribute
6) Resource Properties meta-model
Definition is used for describing resources-type attribute complete or collected works, is convenient to same attribute and can supplies different resources-type quoting.
Detailed description is referring to table 6:
Figure BDA00002720239300122
Table 6: Resource Properties
7) source attribute values meta-model
The definition span is the enumerated value of the Resource Properties of enumerated value.A plurality of property values that exist for Resource Properties are if the different resources-type attribute-value ranges of quoting is different, as speed, 8) every kind of required specific object value of quoting of resource specification of definition in resources-type attribute codomain table.
Detailed description is referring to table 7:
The logical field name Explanation
The source attribute values sign ?
The Resource Properties sign ?
Title ?
Coding ?
Source attribute values ?
Sorting position ?
Table 7: source attribute values
8) resources-type attribute codomain meta-model
For resources-type attribute, further define every kind of resources-type required specific object value of quoting, and the structure generating mode of each attribute, as front-end interface be adopt that combobox or pop-up window are selected, the source of data etc.
Detailed description is referring to table 8:
Figure BDA00002720239300132
Figure BDA00002720239300141
Figure BDA00002720239300151
Table 8: resources-type attribute codomain
9) resources-type Feature Dependence Relation Element model
Define the dependence between the Resource Properties under same resource specification, such as port type depends on the port purposes, service area depends on local network.A Resource Properties can depend on other a plurality of Resource Properties, and the Resource Properties that is relied on can also rely on other Resource Properties again.
Figure BDA00002720239300152
Table 9: resources-type Feature Dependence relation
10) Resource Role meta-model
The performance of definition resource object under certain special scenes (as networking model) is convenient to support same resources-type can the appearance with different role under different scenes.
Detailed description is referring to table 10:
Figure BDA00002720239300161
Table 10: Resource Role
11) resources-type role's meta-model
Definition Resource Role and resources-type relation.The resources-type meeting of same is assigned with different role because of networking, management expectancy.
Detailed description is referring to table 11:
Figure BDA00002720239300162
Table 11: resources-type role
12) resources-type role attribute meta-model
Define every kind of resources-type Resource Properties under the different resource role.What define in the resources-type attribute of table 5 is same resources-type Resource Properties union under the different resource role.
Detailed description is referring to table 12:
The logical field name Explanation
Resources-type role belongs to ?
The property sign ?
Resources-type sign ?
The Resource Role sign ?
The Resource Properties sign ?
Table 12: resources-type role attribute
13) resources-type pattern meta-model
Define and resources-typely relate to Show Styles aspect pattern exhibiting at topological diagram, panel figure etc.Can customize resources-type, Resource Role, Resource Properties and property value to the impact of display properties (highly, width, icon, color etc.).
Detailed description is referring to table 13:
The logical field name Explanation
The topology style identifications ?
Resources-type sign ?
The Resource Role sign ?
The Resource Properties sign ?
The source attribute values sign ?
Icon ?
Highly Unit is pixel
Width Unit is pixel
Color RGB
Table 13: resources-type pattern
So far, the definition of Internet resources meta-model is completed.Those skilled in the art are to be understood that, the definition of above Internet resources meta-model is only the preferred embodiment of the present invention, when enforcement is of the present invention, the technical staff can select to need the field that defines in the Internet resources meta-model of definition and this meta-model according to actual needs, and the present invention is not restricted this.
Then, referring to Fig. 3, take the newly added equipment class as example, the target network resource model adding procedure in Internet resources modeling method of the present invention is described further:
Step 301, Offered target Internet resources class.
At first, obtain the target network resource category information, comprise the information such as type, title, coding of equipment class, quote the resources-type catalogue sign in resources-type catalogue listing (table 1), the information of this part define equipment class is stored in resources-type table (table 2).
Step 302, Offered target Internet resources generic attribute.
Resources-type attribute is the subset of Resource Properties, the process that defines resources-type attribute is namely that selection portion is divided attribute and with this part attribute and resources-type the binding from Resource Properties table (table 6), the process that simultaneously dependence between the codomain of resources-type attribute, resources-type attribute and attribute is defined.
After equipment class has defined, select device name, machine room title, equipment producer, device type, equipment purposes, repair and maintenance producers from Resource Properties table (table 6), safeguard that the field such as director is as the attribute of equipment class.
Select complete after, for data type for enumerating the fields such as dictionary such as equipment producer, device type, need to be from source attribute values table (table 7) the enumerated value scope of query facility producer, device type, according to the actual conditions of equipment class, enumerated value is selected, and the enumerated value sign of selecting is charged in resources-type attribute codomain table (table 8).
If resources-type attribute and other resources-type attribute Existence dependency relationships, depend on the machine room title as device name, with equipment class sign, device name attribute-bit, machine room class sign, machine room name attribute sign respectively as resources-type sign, resources-type attribute-bit, rely on resources-type sign, rely on resources-type attribute-bit and charge in resources-type Feature Dependence relation table (table 9).
Step 303, Offered target Internet resources class and physics table mapping relations.
After the target network resource class definition is completed, if instantiation can by resources-type and the resources-type related application entity of physics table mapping definition, namely select resources-type information should deposit which physics table in existing already present physics table.For the consideration of performance, the instance data of Internet resources class may be stored in different physics tables, i.e. the corresponding a plurality of physical storage tables of resources-type example.
For equipment class, can be with device name, the information such as machine room title, equipment producer deposit the equipment master meter in, with repair and maintenance producers, safeguard that the confidence such as director deposits equipment in from table.Equipment master meter and equipment connect from identifying by equipment class between table.
The table that this process relates to comprises resources-type table (table 2), resources-type entity list (table 4).
Step 304, Offered target Internet resources generic attribute and physics literary name section field mappings relation.
After the relation of allocated resource class and physics table, need the corresponding relation of physics field in further allocated resource generic attribute and physics table, namely each attribute should store which field of physics table into.
For equipment class, can be with device name, the information such as machine room title, equipment producer deposits the equip_name of equipment master meter in, room_name, the fields such as equip_vendor are with repair and maintenance producers, safeguard that the confidence such as director deposits equipment in from the matain_vendor of table, the fields such as mataincer.
The table that this process relates to comprises resources-type (table 2), resources-type attribute list (table 5), resources-type entity (table 4).
Step 305, relation between Offered target Internet resources class.
Resources-type relation comprises and comprising, inherits, related etc.For equipment class, equipment class and machine room class, equipment class and port class, equipment class and be connected between class etc. and all have relation, this part relations can and be safeguarded by resources-type contextual definition.
Be inclusion relation as the pass between equipment class and port class, an equipment comprises a plurality of ports, equipment class can be identified, port class sign is respectively as resources-type sign, correlated resources class sign, comprise as relationship type, charge in resources-type relation table (table 3) definition of finishing equipment class and port class relation.
The table that this process relates to comprises resources-type table (table 2), resources-type relation table (table 3).
In the following embodiments, we realize increasing newly, revise, delete, inquiring about resources-type and resources-type attribute information in the Internet resources modeling process by definition class and method.
The class of described definition comprises: Interface Control class Action, Business Processing class DOM, database manipulation class DAO, resource information class VO, and the method that comprises in wherein all kinds of is described below:
Figure BDA00002720239300191
Figure BDA00002720239300201
Figure BDA00002720239300202
Figure BDA00002720239300203
Below, referring to Fig. 4, Fig. 4 shows the schematic flow sheet of the newly-increased embodiment of network resources model, specifically comprises:
Step 401, the user submits the newly-increased request of network resources model to by system interface UI.
Step 402 is carried out validity check to the information of user's input.
Step 403 is called action.add () method.
Step 404 is called vo.set () and is carried out the data assembly unit.
The newly-increased data of network resources model that the user is submitted to are assembled into the vo object.
Step 405 is called dom.add () method.
Step 406, newly-increased data validity checking.
Following logical process is completed in validity checking:
1) need resources-type whether related application entity under the resources-type attribute of checking, if nothing does not allow to add resources-type attribute;
2) if whether " effective " of Resource Properties is no, resources-type attribute is quoted this Resource Properties failure;
3) if whether Resource Properties " inputting " is no, and " enumeration type sign " has value, and " the enumeration type sign " of resources-type attribute must have value, and " value mode " is necessary for " from enumerating ", " enumerated value sign " must have value, and enumerated value must exist in dictionary;
If whether Resource Properties " inputting " is no, and " enumeration type sign " is without value, " the enumeration type sign " of resources-type attribute must be without value, and " value mode " can only be " from the JAVA class ", " from entity list ", a kind of in " from resources-type ".If value mode is " from the JAVA class ", JAVA class name, method name must be filled in; If value mode is " from entity list ", entities field display column, the value expression formula of the entities field value of entity table name, dependence row, dependence must have value; If value mode is " from resources-type ", correlated resources class, relating attribute, display properties must have value;
If whether Resource Properties " inputting " is yes, " the enumeration type sign " of resources-type attribute must nothing be worth, and " value mode " can not have value.
4) need to judge whether same resources-type lower resources-type Property Name repeats;
5) if the initial value of resources-type attribute, stop value, default value do not fill in, with the initial value of Resource Properties, stop value, the default value value as resources-type attribute; If fill in, the value with the initial value of resource generic attribute, stop value, default value is as the criterion.
Step 407 is called dao.add () method.
Step 408 is resolved the vo object, the assembly unit SQL statement.
Step 409 is carried out SQL.
Step 410 is returned to newly-increased major key sign.
Comprise newly-increased resources-type sign or newly-increased resources-type attribute-bit.
Step 411 is called dao.findByID () method.
Press major key sign data query.
Step 412 is assembled into the vo object with Query Result.
Step 413 is returned to Query Result vo.
Step 414 is returned to newly-increased vo as a result.
Step 415 is the JASON object with the vo object encapsulation.
Step 416 is returned to newly-increased JASON object as a result.
Referring to Fig. 5, Fig. 5 shows the schematic flow sheet of the network resources model modification of the embodiment of the present invention, comprising:
Step 501, the user submits the network resources model update request to by system interface UI.
Step 502 checks the page data legitimacy.
Step 503 is called action.update () method.
Step 504 is called vo.set () method, carries out the data assembly unit.
The network resources model renewal data encapsulation that the user is submitted to becomes the vo object.
Step 505 is called dom.update () method.
Step 506, the Data Update validity checking.
Step 507 is called dao.update () method.
Step 508 is resolved the vo object, assembly unit update statement.
Step 509 is carried out SQL.
Step 510 is completed Data Update.
Step 511 is completed Data Update.
Step 512 is updated successfully prompting.
Referring to Fig. 6, Fig. 6 shows the schematic flow sheet of the network resources model deletion of the embodiment of the present invention, comprising:
Step 601, the user submits the network resources model removal request to by system interface UI.
Step 602 is called action.delete () method.
Step 603 is called dom.delete () method.
Step 604, data deletion validity checking.
If resources-type attribute to be deleted has corresponding instance data, do not allow deleted;
If resources-type attribute to be deleted is not allowed deleted by other Feature Dependences
Step 605 is called dao.delete () method.
Step 606 generates the delete statement.
Step 607 is carried out SQL.
Step 608 is completed deletion.
Step 609 is completed deletion.
Step 610 is completed deletion.
Step 611, prompting is deleted successfully.
Above a kind of network resources model modeling method provided by the present invention is described, referring to the content of said method embodiment, a kind of network resources model modeling of the present invention is described:
Referring to Fig. 7, Fig. 7 shows the structural representation of a kind of Internet resources modeling of the present invention, and described system draws together:
The Internet resources meta-model arranges module 710, is used for arranging the Internet resources meta-model;
Internet resources MBM 720 is used for the Internet resources modeling,
Described Internet resources MBM 720 comprises:
Target network resource model adding device 721 specifically comprises:
Resource object acquisition of information subelement 7210 is used for obtaining the target network resource object information;
The resource object attribute information obtains subelement 7211, is used for obtaining target network resource object properties information;
Objective network model storing sub-units 7212 is used for described target network resource object information and target network resource object properties information are added into target network resource model corresponding to described Internet resources meta-model.
Wherein, described Internet resources meta-model arranges module 710 also for arranging:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Relation Element model between the Internet resources class;
Described target network resource model comprises:
The target network resource class model and/or
Target network resource generic attribute model and/or
Relational model between the target network resource class;
Described target network resource model adding device 721 also comprises:
The first mapping subelement 7213 is for the mapping relations of Offered target Internet resources class and physics table;
The second mapping subelement 7214 is for the mapping relations of Offered target Internet resources generic attribute and physics literary name section;
Resources-type relation arranges subelement 7215, is used for relation between Offered target Internet resources class, and between described target network resource class, relation comprises: comprise and/or inherit and/or association.
Wherein, described Internet resources MBM 720 also comprises:
Target network resource model modification unit 722 specifically comprises:
Model modification data acquisition subelement 7221 is for the model modification data of obtaining the target network resource model;
Model data is upgraded subelement 7222, is used for the model modification Data Update to physics table corresponding to described target network resource model.
Wherein, described Internet resources MBM 720 also comprises:
Target network resource model deletion subelement 723 specifically comprises:
Model data delete cells 7231 is deleted model data according to the target network resource model identification of appointment from the physics table of correspondence.
Wherein, described Internet resources meta-model arranges module 710 also for arranging:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role's meta-model and/or
Internet resources class pattern meta-model.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can with based on using together with this teaching.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be in the situation that do not have these details to put into practice.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment in embodiment.Can be combined into a module or unit or assembly to the module in embodiment or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed), disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment mean be in scope of the present invention within and form different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving on one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in a kind of Internet resources modeling of the embodiment of the present invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.The program of the present invention that realizes like this can be stored on computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides on carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not break away from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in claim.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (10)

1. an Internet resources modeling method, is characterized in that, comprising:
The Internet resources meta-model is set;
The Internet resources modeling comprises:
The target network resource model adds, and specifically comprises:
Obtain the target network resource object information;
Obtain target network resource object properties information;
Described target network resource object information and target network resource object properties information are added in target network resource model corresponding to described Internet resources meta-model.
2. the method for claim 1, is characterized in that, described Internet resources meta-model comprises:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Relation Element model between the Internet resources class;
Described target network resource model comprises:
The target network resource class model and/or
Target network resource generic attribute model and/or
Relational model between the target network resource class;
Described target network resource model interpolation also comprises:
The mapping relations of Offered target Internet resources class and physics table;
The mapping relations of Offered target Internet resources generic attribute and physics literary name section;
Relation between Offered target Internet resources class, between described target network resource class, relation comprises: comprise and/or inherit and/or association.
3. method as claimed in claim 2, is characterized in that, described Internet resources modeling also comprises:
The target network resource model modification specifically comprises:
Obtain the model modification data of target network resource model;
With described model modification Data Update in physics table corresponding to described target network resource model.
4. method as claimed in claim 3, is characterized in that, described Internet resources modeling also comprises:
The deletion of target network resource model specifically comprises:
Delete model data according to the target network resource model identification of appointment from the physics table of correspondence.
5. method as claimed in claim 2, is characterized in that, described Internet resources meta-model also comprises:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role's meta-model and/or
Internet resources class pattern meta-model.
6. an Internet resources modeling, is characterized in that, comprising:
The Internet resources meta-model arranges module, is used for arranging the Internet resources meta-model;
The Internet resources MBM is used for the Internet resources modeling,
Described Internet resources MBM comprises:
Target network resource model adding device specifically comprises:
Resource object acquisition of information subelement is used for obtaining the target network resource object information;
The resource object attribute information obtains subelement, is used for obtaining target network resource object properties information;
Objective network model storing sub-units is used for described target network resource object information and target network resource object properties information are added into target network resource model corresponding to described Internet resources meta-model.
7. system as claimed in claim 6, is characterized in that, described Internet resources meta-model arranges module and also is used for arranging:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Relation Element model between the Internet resources class;
Described target network resource model comprises:
The target network resource class model and/or
Target network resource generic attribute model and/or
Relational model between the target network resource class;
Described target network resource model adding device also comprises:
The first mapping subelement is for the mapping relations of Offered target Internet resources class and physics table;
The second mapping subelement is for the mapping relations of Offered target Internet resources generic attribute and physics literary name section;
Resources-type relation arranges subelement, is used for relation between Offered target Internet resources class, and between described target network resource class, relation comprises: comprise and/or inherit and/or association.
8. device as claimed in claim 7, is characterized in that, described Internet resources MBM also comprises:
Target network resource model modification unit specifically comprises:
Model modification data acquisition subelement is for the model modification data of obtaining the target network resource model;
Model data is upgraded subelement, is used for the model modification Data Update to physics table corresponding to described target network resource model.
9. device as claimed in claim 8, is characterized in that, described Internet resources MBM also comprises:
Target network resource model deletion subelement specifically comprises:
The model data delete cells is used for deleting model data according to the target network resource model identification of appointment from the physics table of correspondence.
10. device as claimed in claim 7, is characterized in that, described Internet resources meta-model arranges module and also is used for arranging:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role's meta-model and/or
Internet resources class pattern meta-model.
CN201310008131.XA 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system Active CN103107919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310008131.XA CN103107919B (en) 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310008131.XA CN103107919B (en) 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system

Publications (2)

Publication Number Publication Date
CN103107919A true CN103107919A (en) 2013-05-15
CN103107919B CN103107919B (en) 2016-12-28

Family

ID=48315499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310008131.XA Active CN103107919B (en) 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system

Country Status (1)

Country Link
CN (1) CN103107919B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988786A (en) * 2015-02-06 2016-10-05 北京仿真中心 Method for establishing data flow integration model by using UML and XML mapping
CN109446385A (en) * 2018-11-14 2019-03-08 中国科学院计算技术研究所 A kind of method of equipment map that establishing Internet resources and the application method of the equipment map
CN110245128A (en) * 2019-06-18 2019-09-17 北京明略软件系统有限公司 Method for building up and device, storage medium, the electronic device of meta-model
CN111061817A (en) * 2019-12-16 2020-04-24 华云数据有限公司 Adaptive service construction system, method and computer readable medium
CN111240739A (en) * 2020-01-21 2020-06-05 烽火通信科技股份有限公司 Dynamic concurrent distribution method and system for associated attributes of objects
CN112925635A (en) * 2019-12-06 2021-06-08 中盈优创资讯科技有限公司 Logic resource processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453379A (en) * 2009-01-06 2009-06-10 中国人民解放军信息工程大学 Resource management method and system
CN101815003A (en) * 2010-02-23 2010-08-25 浪潮通信信息系统有限公司 Uniform resource model of full service converged network
CN102520622A (en) * 2011-12-20 2012-06-27 西华大学 Vehicle embedded real-time control system performance modeling language
CN102571400A (en) * 2010-12-29 2012-07-11 中国移动通信集团设计院有限公司 Method, system and device for updating communication network resource model
CN102567932A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 Method, device and system for managing comprehensive resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453379A (en) * 2009-01-06 2009-06-10 中国人民解放军信息工程大学 Resource management method and system
CN101815003A (en) * 2010-02-23 2010-08-25 浪潮通信信息系统有限公司 Uniform resource model of full service converged network
CN102571400A (en) * 2010-12-29 2012-07-11 中国移动通信集团设计院有限公司 Method, system and device for updating communication network resource model
CN102567932A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 Method, device and system for managing comprehensive resources
CN102520622A (en) * 2011-12-20 2012-06-27 西华大学 Vehicle embedded real-time control system performance modeling language

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988786A (en) * 2015-02-06 2016-10-05 北京仿真中心 Method for establishing data flow integration model by using UML and XML mapping
CN109446385A (en) * 2018-11-14 2019-03-08 中国科学院计算技术研究所 A kind of method of equipment map that establishing Internet resources and the application method of the equipment map
CN110245128A (en) * 2019-06-18 2019-09-17 北京明略软件系统有限公司 Method for building up and device, storage medium, the electronic device of meta-model
CN112925635A (en) * 2019-12-06 2021-06-08 中盈优创资讯科技有限公司 Logic resource processing method and device
CN111061817A (en) * 2019-12-16 2020-04-24 华云数据有限公司 Adaptive service construction system, method and computer readable medium
CN111061817B (en) * 2019-12-16 2023-05-09 华云数据有限公司 Adaptive business construction system, method and computer readable medium
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
CN103107919B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
CN101794226B (en) Service software construction method and system adapting to multiple business abstraction levels
CN102722372B (en) Method and system for automatically generating codes through classification and configuration
CN103617037B (en) Development approach and web development system for web development system
US8364683B2 (en) Importing and reconciling resources from disjoint name spaces to a common namespace
CN101504672B (en) Method and system for dynamically configuring physical data table
CN102254029B (en) View-based data access system and method
CN103107919A (en) Method and system for network resource modeling
CN101441563A (en) Automated solution for generating architectural design models for service-oriented architecture (SOA) information services
CN105094818A (en) Construction method and system for comprehensive application of natural resources based on SOA
CN103092967A (en) Business rule decision-making method and device based on rule engine
US6941309B2 (en) Object integrated management system
CN103914290A (en) Operating command processing method and device
CN103810152A (en) Visualized formula editor
CN104102652A (en) Unstructured data storage system and method
CN104090958A (en) Semantic information retrieval system and method based on domain ontology
CN104424265A (en) Digital resource management method and system
US10540628B2 (en) Hierarchical business rule model
CN102222278A (en) Operation process customizing method and device
CN103946794A (en) Cross-reference and priority claim to related applications
US20090049025A1 (en) System and method for harvesting service metadata from an architecture diagram into a metadata repository
CN115237380A (en) Low-code development system and method based on element codes
CN102054041A (en) Method and system for upgrading metadata
CN103984554A (en) Software design document generating method and device
CN101055521B (en) Mapping rule visualized generation method and system
CA3078659A1 (en) Method for providing a programming tool and for data processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant