CN107608780A - A kind of resource tree loading method, device and transmission network management - Google Patents
A kind of resource tree loading method, device and transmission network management Download PDFInfo
- Publication number
- CN107608780A CN107608780A CN201610538926.5A CN201610538926A CN107608780A CN 107608780 A CN107608780 A CN 107608780A CN 201610538926 A CN201610538926 A CN 201610538926A CN 107608780 A CN107608780 A CN 107608780A
- Authority
- CN
- China
- Prior art keywords
- resource
- loading
- tree
- loaded
- child
- 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.)
- Withdrawn
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of resource tree loading method, device and transmission network management, it is related to communication field, methods described includes:For show transmission network management management tree structure resource resource tree control receive loading resource instruction when, search predetermined resource load mode;The resource tree control loads a part of resource in tree structure resource according to the resource tree load mode searched;After a part of resource of resource tree control loading tree structure resource, when receiving the loading instruction of the further related resource that loading is relevant with the resource loaded, the related resource is loaded.The embodiment of the present invention is by demand or dynamic load resource, improving resource tree loading efficiency and reducing the EMS memory occupation of resource tree.
Description
Technical field
The present invention relates to communication field, more particularly to a kind of resource tree loading method, device and transmission network management.
Background technology
Resource tree is to be showed the resource of transmission network management management according to tree structure according to network topology level structure
A kind of control, the resource of management includes:Packet, network element, veneer, port etc., such as Fig. 1.Resource tree provides the user with resource and led
The function such as boat or resource selection, many functions need to use resource tree in webmaster.
All resources can be disposably loaded according to traditional processing mode, during resource tree initialization.This processing mode
Benefit is simple, but deficiency is also evident from, and specifically, user only can be concerned about a part of resource under normal circumstances, not be institute
Some resources all can use arrive, disposably load all resources will certainly cause efficiency lowly and internal memory waste.When webmaster management
In the case of ample resources, above mentioned problem is particularly evident and may cause serious consequence, such as disposably loads all resources
Longer time can be expended, causes network management function to initialize slow phenomenon, the Consumer's Experience bad to user.Further,
Each resource tree can take substantial amounts of internal memory, if opening multiple functions of including resource tree simultaneously, it would be possible to cause internal memory
Overflow, cause webmaster to collapse.Therefore, it is necessary to make resource tree not be disposably to load all resources in initialization, but only
Load the resource that user is concerned about.
The content of the invention
The technical problem that the technical scheme provided according to embodiments of the present invention solves is how to make resource tree on demand or move
State loads resource.
A kind of resource tree loading method provided according to embodiments of the present invention, including:
For show transmission network management management tree structure resource resource tree control receive loading resource instruction when, look into
Look for predetermined resource load mode;
The resource tree control loads the part money in tree structure resource according to the resource tree load mode searched
Source;
After a part of resource of resource tree control loading tree structure resource, the money further loaded with having loaded is received
During the loading instruction of the relevant related resource in source, the related resource is loaded.
Preferably, described resource load mode includes:Original upload is carried out in an initial condition, is carrying out original upload
Subsequent dynamic loading is carried out afterwards.
Preferably, it is described loading tree structure resource in a part of resource the step of include:
The resource tree control is according to the resource tree load mode searched, in an initial condition, loading tree structure money
Child's resource of Element management system (Element Management System, EMS) root node in source.
Preferably, the step of loading related resource includes:
The resource tree control instructs according to the loading of the further loading related resource relevant with the resource loaded, moves
Child's resource of the resource loaded in state loading tree structure resource.
The storage medium provided according to embodiments of the present invention, it stores the journey for realizing above-mentioned resource tree loading method
Sequence.
A kind of resource tree loading device provided according to embodiments of the present invention, described device are arranged on for showing transmission network
In the resource tree control of the tree structure resource of pipe management, including:
Searching modul, for when receiving loading resource instruction, searching predetermined resource load mode;
Original upload module, for according to the resource tree load mode searched, loading one in tree structure resource
Divide resource;
Dlm (dynamic loading module), for loading tree structure resource a part of resource after, receive further loading with
During the loading instruction of the relevant related resource of the resource of loading, the related resource is loaded.
Preferably, described resource load mode includes:Original upload is carried out in an initial condition, is carrying out original upload
Subsequent dynamic loading is carried out afterwards.
Preferably, the original upload module is according to the resource tree load mode searched, in an initial condition, loading tree
Child's resource of EMS root nodes in shape infrastructure resource.
Preferably, the dlm (dynamic loading module) adding according to the further loading related resource relevant with the resource loaded
Carry and instruct, child's resource of the resource loaded in the tree-like infrastructure resource of dynamic load.
A kind of transmission network management provided according to embodiments of the present invention, it includes above-mentioned resource tree loading device.
Technical scheme provided in an embodiment of the present invention has the advantages that:
The embodiment of the present invention is improved the efficiency of resource tree initialization, reduced by dynamic loading resource on demand
The internal memory that resource tree expends, the Consumer's Experience of webmastering software can be effectively improved, reduce the internal memory that webmastering software expends.
Brief description of the drawings
Fig. 1 is the resource tree schematic diagram that prior art provides;
Fig. 2 is resource tree loading method block diagram provided in an embodiment of the present invention;
Fig. 3 is resource tree loading device block diagram provided in an embodiment of the present invention;
Fig. 4 is resource tree loading flow chart provided in an embodiment of the present invention;
Fig. 5 is the topology resource hierarchical chart of network provided in an embodiment of the present invention;
Fig. 6 is first resource schematic diagram provided in an embodiment of the present invention;
Fig. 7 is Secondary resource schematic diagram provided in an embodiment of the present invention;
Fig. 8 is information resources schematic diagram provided in an embodiment of the present invention;
Fig. 9 is the 4th resource schematic diagram provided in an embodiment of the present invention;
Figure 10 is the 5th resource schematic diagram provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below is excellent
Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 2 is resource tree loading method block diagram provided in an embodiment of the present invention, as shown in Fig. 2 step includes:
Step S101:The resource tree control of tree structure resource for showing transmission network management management is receiving loading resource
During instruction, predetermined resource load mode is searched.
The resource load mode includes disposable load mode and dynamic load mode (i.e. repeated loading mode or on demand
Load mode).
The dynamic load mode refers to carries out original upload in an initial condition, is subsequently moved after original upload is carried out
State loads.
Step S102:The resource tree control is loaded in tree structure resource according to the resource tree load mode searched
A part of resource.
When the resource tree load mode searched is dynamic load mode, the resource tree control is according to the money searched
Source tree dynamic load mode, in an initial condition, load child's resource of the EMS root nodes in tree structure resource.
As another embodiment, the resource tree control can also be in the EMS root nodes in loading tree structure resource
Child's resource while, using crucial child's resource in the child's resource loaded as father node, load the father node
Whole resources of child's resource or the loading father node.
Step S103:When resource tree control loading tree structure resource a part of resource after, receive further loading with
During the loading instruction of the relevant related resource of the resource that has loaded, the related resource is loaded.
The resource tree control instructs according to the loading of the further loading related resource relevant with the resource loaded, moves
Child's resource of the resource loaded in state loading tree structure resource.
The present embodiment can allow resource tree on demand or dynamic load resource, so as to improve resource tree loading efficiency and
Reduce the EMS memory occupation of resource tree.
Can be with it will appreciated by the skilled person that realizing that all or part of step in above-described embodiment method is
The hardware of correlation is instructed to complete by program, described program can be stored in computer read/write memory medium, should
Program upon execution, including step S101 to step S103.Wherein, described storage medium can be ROM/RAM, magnetic disc, light
Disk etc..
Fig. 3 is resource tree loading device block diagram provided in an embodiment of the present invention, as shown in figure 3, including:
Searching modul 10, for when receiving loading resource instruction, searching predetermined resource load mode.The resource adds
Load mode includes dynamic load mode (i.e. repeated loading mode or on-demand loading mode), i.e., carries out initially adding in an initial condition
Carry, subsequent dynamic loading is carried out after original upload is carried out.
Original upload module 20, for according to the resource tree load mode searched, loading one in tree structure resource
Part resource.The original upload module 20 in an initial condition, loads tree-like knot according to the resource tree load mode searched
Child's resource of EMS root nodes in structure resource.As another embodiment, the original upload module 20 can also load
While child's resource of EMS root nodes in tree structure resource, with crucial child's resource in child's resource for having loaded
For father node, child's resource of the father node or whole resources of the loading father node are loaded.
Dlm (dynamic loading module) 30, for loading tree structure resource a part of resource after, receive further loading with
During the loading instruction of the relevant related resource of the resource that has loaded, the related resource is loaded.The dlm (dynamic loading module) according to
Further the loading of the loading related resource relevant with the resource loaded instructs, described in the tree-like infrastructure resource of dynamic load
Child's resource of the resource loaded.
The resource tree loading device is arranged on the resource tree control of the tree structure resource for showing transmission network management management
In part.
The present embodiment can improve resource tree loading efficiency, reduce the EMS memory occupation of resource tree, allow resource tree on demand
Or dynamic load resource.
The embodiment of the present invention additionally provides a kind of transmission network management, which is provided with above-mentioned resource tree loading device.
Fig. 4 is resource tree loading flow chart provided in an embodiment of the present invention, as shown in figure 4, the present embodiment makes resource tree can
With on demand or dynamic load resource, so as to improve resource tree loading efficiency and reduce the EMS memory occupation of resource tree, implementation steps
It is as follows:
Step S201:Child's resource of EMS root nodes is loaded under resource tree original state.
Step S202:If user needs to check child's resource of some resource, child's resource of the resource is loaded.
Step S203:Other resources beyond child's resource of EMS root nodes are all according to step S202 processing.
The present embodiment makes resource tree not be disposably to load all resources in initialization, but only loads user and be concerned about
Resource, or perhaps dynamic loading resource on demand, so as to improve the efficiency of resource tree initialization and reduce resource tree
The internal memory of consuming, the effective Consumer's Experience for improving webmastering software and the internal memory for reducing webmastering software consuming.
With reference to Fig. 5 to Fig. 8 instantiation, the present invention is further described.
Fig. 5 is the topology resource hierarchical chart of network provided in an embodiment of the present invention, as shown in Figure 5.
EMS root nodes have child's resource:It is grouped A, packet B, network element 1, network element 2;
Packet A has child's resource:Network element A1, network element A2;
Packet B has child's resource:Network element B1;
Network element 1 has child's resource:Veneer 1a;
Network element 2 has child's resource:Veneer 2a, veneer 2b;
Network element A2 has child's resource:Veneer A 2a.
Resource tree init state loads child's resource of EMS root nodes:A, packet B, network element 1, network element 2 are grouped, such as Fig. 6
Shown first resource schematic diagram.
When user needs to check packet A child's resource, expansion packet A, loading packet A child's resource:Network element A1, net
First A2, Secondary resource schematic diagram as shown in Figure 7.
User needs to check child's resource of network element 2, deploys network element 2, loads child's resource of network element 2:Veneer 2a, veneer
2b, information resources schematic diagram as shown in Figure 8.
That is, when receiving loading resource instruction, predetermined resource load mode is searched, when resource load mode is
During dynamic load mode, according to dynamic load mode, child's resource packet A of original upload EMS root nodes, packet B, network element 1,
Network element 2, first resource schematic diagram as shown in Figure 6.After original upload terminates, the resource further loaded with having loaded is received
During the loading instruction of (being grouped A, packet B, network element 1, network element 2) relevant related resource, for example, receive further loading with
During the loading instruction of the packet of loading related resource relevant A, loading packet A child resource network element A1 and network element A2, such as Fig. 7
Secondary resource schematic diagram in trival matters.After loading packet A child resource network element A1 and network element A2, further loading is received
With resource (being grouped A child resource network element A1 and network element A2, and packet B, network element 1, network element 2) the relevant phase loaded
When closing the loading instruction of resource, such as receive the loading instruction of the further related resource that loading is relevant with the network element 2 loaded
When, the child resource veneer 2a and veneer 2b of loading network element 2, information resources schematic diagram as shown in Figure 8.
As another embodiment, it can also preset which child's resource in child's resource of EMS root nodes belongs to
User's keystone resources interested, such as packet A in Fig. 5 is set as user's keystone resources interested.Receiving loading money
During sourse instruction, predetermined resource load mode is searched, when resource load mode is dynamic load mode, according to dynamic load side
Formula, child's resource packet A, packet B, network element 1, the network element 2 of original upload EMS root nodes, while load packet A child's resource
Network element A1, network element A2, Secondary resource schematic diagram as shown in Figure 7.After original upload terminates, further loading is received with adding
Resource (being grouped A child resource network element A1 and network element A2, and packet B, network element 1, network element 2) relevant related resource of load
Loading instruction when, such as when receiving the loading instruction of the further loading related resource relevant with the network element 2 loaded, load
The child resource veneer 2a and veneer 2b of network element 2, information resources schematic diagram as shown in Figure 8.
As another embodiment, equally preset which child's resource in child's resource of EMS root nodes belongs to user
Keystone resources interested, such as packet A in Fig. 5 is set as user's keystone resources interested.Refer to receiving loading resource
When making, predetermined resource load mode is searched, when resource load mode is dynamic load mode, according to dynamic load mode,
Child's resource packet A, packet B, network element 1, the network element 2 of original upload EMS root nodes, while load packet A whole children money
Source network element A1 and network element A2, network element A2 child resource veneer A 2a, the 4th resource schematic diagram as shown in Figure 9.Work as original upload
After end, when receiving the loading instruction of the further related resource that loading is relevant with the resource loaded, such as receive further
During the loading instruction of the loading related resource relevant with the network element 2 loaded, the child resource veneer 2a and veneer of network element 2 are loaded
2b, the 5th resource schematic diagram as shown in Figure 10.
In summary, embodiments of the invention have following technique effect:
The embodiment of the present invention can make resource tree on demand or dynamic load resource, so as to improve resource tree loading efficiency and
Reduce the EMS memory occupation of resource tree.
Although the present invention is described in detail above, the invention is not restricted to this, those skilled in the art of the present technique
Various modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood to
Fall into protection scope of the present invention.
Claims (9)
1. a kind of resource tree loading method, including:
For show transmission network management management tree structure resource resource tree control when receiving loading resource instruction, search pre-
Fixed resource load mode;
The resource tree control loads a part of resource in tree structure resource according to the resource tree load mode searched;
After a part of resource of resource tree control loading tree structure resource, receive further loading has with the resource loaded
During the loading instruction of the related resource of pass, the related resource is loaded.
2. according to the method for claim 1, described resource load mode includes:Carry out initially adding in an initial condition
Carry, subsequent dynamic loading is carried out after original upload is carried out.
3. according to the method for claim 2, it is described loading tree structure resource in a part of resource the step of include:
The resource tree control in an initial condition, is loaded in tree structure resource according to the resource tree load mode searched
Element management system EMS root nodes child's resource.
4. according to the method described in claim 1-3 any one, described the step of loading the related resource, includes:
The resource tree control instructs according to the loading of the further loading related resource relevant with the resource loaded, and dynamic adds
Carry child's resource of the resource loaded in tree structure resource.
5. a kind of resource tree loading device, described device is arranged on the money of the tree structure resource for showing transmission network management management
In the tree control of source, including:
Searching modul, for when receiving loading resource instruction, searching predetermined resource load mode;
Original upload module, for according to the resource tree load mode searched, loading the part money in tree structure resource
Source;
Dlm (dynamic loading module), for after a part of resource of loading tree structure resource, receiving further loading with having loaded
The relevant related resource of resource loading instruction when, load the related resource.
6. device according to claim 5, described resource load mode includes:Carry out initially adding in an initial condition
Carry, subsequent dynamic loading is carried out after original upload is carried out.
7. device according to claim 6, the original upload module is according to the resource tree load mode searched, first
Under beginning state, child's resource of the Element management system EMS root nodes in tree structure resource is loaded.
8. according to the device described in claim 5-7 any one, the dlm (dynamic loading module) is according to further loading with adding
The loading instruction of the relevant related resource of the resource of load, the child of the resource loaded in the tree-like infrastructure resource of dynamic load
Child resource.
9. a kind of transmission network management, it includes resource tree loading device described in the claims 5-8 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610538926.5A CN107608780A (en) | 2016-07-11 | 2016-07-11 | A kind of resource tree loading method, device and transmission network management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610538926.5A CN107608780A (en) | 2016-07-11 | 2016-07-11 | A kind of resource tree loading method, device and transmission network management |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608780A true CN107608780A (en) | 2018-01-19 |
Family
ID=61055073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610538926.5A Withdrawn CN107608780A (en) | 2016-07-11 | 2016-07-11 | A kind of resource tree loading method, device and transmission network management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608780A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110620902A (en) * | 2019-07-05 | 2019-12-27 | 中电科新型智慧城市研究院有限公司 | Local visualization and management method for mobile law enforcement recorder |
CN113179391A (en) * | 2021-04-23 | 2021-07-27 | 深圳市安软慧视科技有限公司 | Method for fast loading equipment, related system, related equipment and storage medium |
-
2016
- 2016-07-11 CN CN201610538926.5A patent/CN107608780A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110620902A (en) * | 2019-07-05 | 2019-12-27 | 中电科新型智慧城市研究院有限公司 | Local visualization and management method for mobile law enforcement recorder |
CN113179391A (en) * | 2021-04-23 | 2021-07-27 | 深圳市安软慧视科技有限公司 | Method for fast loading equipment, related system, related equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10496627B2 (en) | Consistent ring namespaces facilitating data storage and organization in network infrastructures | |
CN104657140A (en) | Code generating method and device | |
CN103259718B (en) | A kind of stream table conversion method and device | |
Patt-Shamir et al. | The round complexity of distributed sorting | |
CN108243245A (en) | The Radio Access Network and its resource allocation method calculated based on mixing fog | |
CN104598107A (en) | Generating method and system of interface control | |
CN102819766A (en) | Method, device and enterprise system for checking forms | |
CN103716403A (en) | SAAS application deployment method and system for PAAS platform under cloud computing environment | |
CN104613976A (en) | Path determination method and device | |
CN104754053A (en) | Distributed software-defined network and method of dynamically controlling controllers therein | |
CN104199912A (en) | Task processing method and device | |
CN114970814A (en) | Processing method and processing device of neural network computation graph | |
CN105553882A (en) | Method for scheduling SDN data plane resources | |
CN107608780A (en) | A kind of resource tree loading method, device and transmission network management | |
CN103023936A (en) | Multi-hierarchy network system and task executing method based on same | |
CN102082832A (en) | Data storage method and device in distributed file system | |
CN111414228B (en) | Method and related device for managing storage space based on Kubernetes | |
CN102970349B (en) | A kind of memory load equalization methods of DHT network | |
Clemente-Castelló et al. | Evaluation of data locality strategies for hybrid cloud bursting of iterative MapReduce | |
CN103197947A (en) | Script processing method and device | |
CN108365976B (en) | Network service optimization method and device | |
CN112667593A (en) | Method and device for ETL (extract transform and load) flow to execute hbase fast loading | |
CN106681795A (en) | Virtual network mapping method utilizing local topological attributes of nodes and available resource capacity values | |
CN101986625A (en) | Path calculation method and device | |
CN114115911A (en) | System construction strategy generation method based on directed acyclic graph |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180119 |
|
WW01 | Invention patent application withdrawn after publication |