CN105515814A - Method and device for loading network element objects and method and device for storing network element information - Google Patents

Method and device for loading network element objects and method and device for storing network element information Download PDF

Info

Publication number
CN105515814A
CN105515814A CN201410550334.6A CN201410550334A CN105515814A CN 105515814 A CN105515814 A CN 105515814A CN 201410550334 A CN201410550334 A CN 201410550334A CN 105515814 A CN105515814 A CN 105515814A
Authority
CN
China
Prior art keywords
information
network element
pointer
memory cell
address
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
Application number
CN201410550334.6A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410550334.6A priority Critical patent/CN105515814A/en
Priority to PCT/CN2015/073049 priority patent/WO2015131760A1/en
Publication of CN105515814A publication Critical patent/CN105515814A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method and a device for loading network element objects and a method and a device for storing the network element information. The method for loading the network element objects comprises steps of obtaining an identification of a to-be-loaded first network element; obtaining a corresponding network element information pointer storage address of the identification and storing a network element information pointer for indicating a storage unit starting address of network element information of the first network element at the network element information pointer storage address; according to the network element information pointer, reading the network element information of the first network element; and loading the network element information of the first network element. A network element data storage method provided by the invention is not involved with definition and modification of table data structures even if any type of network element and internal attribute are changed, so a lot of manpower and materials can be reduced in maintenance work of network element data.

Description

Load the method and apparatus of Network element object and the method and apparatus of storage network metamessage
Technical field
The present invention relates to communication network O&M field, particularly relate to and a kind ofly load the method and apparatus of Network element object and the method and apparatus of storage network metamessage.
Background technology
At present, communication apparatus there are a large amount of various types of equipment.In order to manage these equipment and operating state thereof, need to go out relevant network element device object by software definition, configuration program operation work.Software program starts needs the data message loading various network element device, just needs the network element data managed to support persistent storage.The mode of current related software usage data database table structure stores network element data.
Based on the storage organization of list structure, normally for the network element device of every type defines corresponding database table respectively.Because the attribute difference between different network elements equipment is very large, so the network element list data structure difference defined is also very large, different data list structures there is no general character.Because network element device is constantly changing, continuous development, new network element device is constantly reached the standard grade and is employed, some old network element devices are constantly eliminated, and, a large amount of normal network element device used also can upgrade, so, define and safeguard that the workload of these network element list structures is loaded down with trivial details and huge.Therefore, the variation involved by system upgrade is almost impossible mission.
Summary of the invention
The technical problem to be solved in the present invention is, provides a kind of and loads the method and apparatus of Network element object and the method and apparatus of storage network metamessage.
On the one hand, a kind of method loading Network element object is provided, comprises:
Obtain the mark of the first network element to be loaded;
Obtain the net element information pointer memory address that described mark is corresponding, store the net element information pointer of the memory cell initial address of the net element information indicating described first network element at described net element information pointer memory address place;
According to described net element information pointer, read the net element information of described first network element;
Load the net element information of described first network element.
The sequence number being designated described first network element of described first network element.
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described net element information pointer memory address stores: the associated NE address pointer of the memory cell initial address of the attribute address pointer indicating the memory cell initial address of the attribute information of described first network element and/or the information indicating associated NE described at least one;
The described step reading the attribute information of described first network element according to described net element information pointer comprises:
According to described attribute address pointer, read the attribute information of described first network element; And/or, according to described associated NE address pointer, read the information of associated NE described at least one.
Described according to described attribute address pointer, the step reading the attribute information of described first network element comprises:
According to described attribute address pointer, find the first memory cell;
When the storage information at specified bytes place in described first memory cell is the first end mark, read the storage information except described specified bytes is sentenced of described first memory cell, as the attribute information of described first network element;
When the storage information at specified bytes place described in described first memory cell is the second access unit address pointer, read the storage information of described first memory cell except described specified bytes is sentenced and the storage information of described second memory cell, as the attribute information of described first network element.
Described according to described associated NE address pointer, the step reading the information of described associated NE comprises:
According to described associated NE address pointer, find the 3rd memory cell;
When the storage information at specified bytes place described in described 3rd memory cell is the 4th access unit address pointer, read the storage information of described 3rd memory cell except described specified bytes is sentenced and the storage information of the 4th memory cell, as the information of described associated NE;
When the storage information at specified bytes place in described 3rd memory cell is the second end mark, then read the storage information except described specified bytes is sentenced of described 3rd memory cell, as the information of described associated NE.
Before the step of the mark of the first network element that described acquisition is to be loaded, described method also comprises:
Store the net element information of the first network element in the memory unit;
Obtain the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Store described net element information pointer;
Obtain the net element information pointer memory address storing described net element information pointer;
Set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
On the one hand, a kind of method of storage network metamessage is provided, comprises:
The net element information of the first network element is stored at least one memory cell;
Obtain the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Store described net element information pointer;
Obtain the net element information pointer memory address storing described net element information pointer;
Set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
The described step storing the net element information of the first network element in the memory unit comprises:
Store the attribute information of described first network element; And/or store the information of associated NE described at least one.
The step of the attribute information of described first network element of described storage comprises:
Obtain the first memory cell;
The byte of the byte length judging the first memory cell whether predetermined number longer than the byte length needed for the attribute information storing described first network element, generates judged result;
If described judged result is yes, stores first at the specified bytes place of described first memory cell and terminate mark, and the attribute information except described first network element of described specified bytes place storage in described first memory cell;
Otherwise, obtain the second memory cell, store described second access unit address pointer information at the specified bytes place of described first memory cell; And described first memory cell except described specified bytes place and the second memory cell in store the attribute information of described first network element.
The step of the information of described storage associated NE described at least one comprises:
Obtain the 3rd memory cell;
The byte of the byte length judging the 3rd memory cell whether predetermined number longer than the byte length needed for the information storing described associated NE described at least one, generates judged result;
If described judged result is yes, terminate mark in the specified bytes place of described 3rd memory cell storage second, the information except associated NE described at least one described in the storage of described specified bytes place in described 3rd memory cell;
Otherwise, obtain the 4th memory cell, store described 4th access unit address pointer information at the specified bytes place of described 3rd memory cell; And the information except associated NE described at least one described in storage in described specified bytes place and the 4th memory cell in described 3rd memory cell.
On the other hand, a kind of device loading Network element object is provided, comprises:
First acquisition module, obtains the mark of the first network element to be loaded;
Second acquisition module, obtains the net element information pointer memory address that described mark is corresponding, stores the net element information pointer of the memory cell initial address of the net element information indicating described first network element at described net element information pointer memory address place;
Read module, according to described net element information pointer, reads the net element information of described first network element;
Load-on module, loads the net element information of described first network element.
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described net element information pointer memory address place stores: the associated NE address pointer of the memory cell initial address of the attribute address pointer indicating the memory cell initial address of the attribute information of described first network element and/or the information indicating associated NE described at least one;
Described read module comprises:
First reading submodule, according to described attribute address pointer, reads the attribute information of described first network element; And/or,
Second reading submodule, according to described associated NE address pointer, reads the information of associated NE described at least one.
Described device, also comprises:
First memory module, stores the net element information of the first network element at least one memory cell;
3rd acquisition module, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Second memory module, stores described net element information pointer;
4th acquisition module, obtains the net element information pointer memory address storing described net element information pointer;
Set up module, set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
On the one hand, a kind of device storing the information of network element is provided, comprises:
First memory module, stores the net element information of the first network element in the memory unit;
First acquisition module, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Second memory module, stores described net element information pointer;
Second acquisition module, obtains the net element information pointer memory address storing described net element information pointer;
Set up module, set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described first memory module comprises:
First sub module stored, stores the attribute information of described first network element; And/or
Second sub module stored, stores the information of associated NE described at least one.
The beneficial effect of technique scheme of the present invention is as follows:
Network element data storage means of the present invention, the memory address of net element information is stored by memory cell, like this, makes data structure become general.In subsequent process, for network element and the built-in attribute variation of any type, do not relate to definition and the amendment of list data structure, a large amount of manpower and materials are freed from the maintenance work of network element data.。
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method for storage network metamessage of the present invention;
Fig. 2 is the schematic flow sheet of the method for loading Network element object of the present invention;
Fig. 3 is the data structure schematic diagram of the application scenarios of storage network metamessage of the present invention;
Fig. 4 is the flow chart of application scenarios of the method for loading Network element object described in invention.
Fig. 5 is the connection diagram of the device of loading Network element object of the present invention;
Fig. 6 is the connection diagram of the device of storage network metamessage of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
For ease of understanding, first the method for storage network metamessage is described.
First, simply Fig. 3 is described.In Fig. 3, memory has three regions.Be respectively network element memory block, associated NE memory block and property store district.Property store district is for storing the attribute information of network element; The associated NE memory block associated NE information of the first network element (network element 1,2,3 in such as Fig. 3).Network element memory block is for storing the information pointer of network element, and the information pointer of network element comprises attribute address pointer and associated NE address pointer.Attribute address pointer is used to indicate: the memory cell initial address of attribute information in property store district of each network element.Associated NE address pointer is used to indicate: the memory cell initial address of associated NE information in associated NE memory block of each first network element.
As shown in Figure 1, be the method for a kind of storage network metamessage of the present invention, comprise:
Step 11, stores the net element information of the first network element at least one memory cell; The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element.Composition graphs 3, this step is the attribute information storing the first network element respectively in property store district, stores the associated NE information of the first network element in associated NE memory block.
Step 12, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction; Composition graphs 3, this step is obtain " network element 1 attribute a " access unit address as the attribute address pointer 1 of network element 1 information pointer, obtain " network element 1 associated NE data a " access unit address is as the associated NE pointer 1 of network element 1 information pointer.
Step 13, stores described net element information pointer; In Fig. 3, this step is specially: memory attribute address pointer 1 and associated NE pointer 1 in network element memory block.
Step 14, obtains the net element information pointer memory address storing described net element information pointer; In Fig. 3, for net element information pointer memory address be network element memory block from the 1st to-16 bit.
Step 15, sets up the corresponding relation of the mark of described net element information pointer memory address and described first network element.In Fig. 3, this step is specially: set up network element 1 and from the 1st to the corresponding relation of-16 bit.Each network element has a unchangeable unique identification value (being equivalent to network element ID above).Network element ID is corresponding with net element information pointer memory address, in this application scenarios, this ident value can be its on network element memory storage order numbering, numbering is specifically defined as: first store network element be numbered 1, be followed successively by 2,3,4, by that analogy.
Described step 11 comprises:
Step 111, stores the attribute information of described first network element; And/or
Step 112, stores the information of associated NE described at least one.
Step 111 comprises:
Step 1111, obtains the first memory cell;
Step 1112, the byte of the byte length judging the first memory cell whether predetermined number longer than the byte length needed for the attribute information storing described first network element, generates judged result;
Step 1113, if described judged result is yes, stores first and terminates mark at the specified bytes place of described first memory cell, and the attribute information except described first network element of described specified bytes place storage in described first memory cell;
Step 1114, otherwise, obtain the second memory cell, store described second access unit address pointer information at the specified bytes place of described first memory cell; And described first memory cell except described specified bytes place and the second memory cell in store the attribute information of described first network element.
Specifically: each memory cell specified bytes (such as last 8 bytes) represents whether redirect.Such as, when this value gets-1, represent that this memory cell terminates; When for other data value, represent the next access unit address pointer jumping to this memory.That is, if the property value of a network element can not complete storage in one " attribute storage unit ", then jump to the position indicator pointer of the next one " attribute storage unit " at its unit tail record.Like this, by the mode of multiple (being greater than or equal to 2) cellular chain, the property store of a network element is completed.The attribute of each network element, depending on the number of its attribute information, is made up of one or more " attribute storage unit ".Such as, in Fig. 3, be connected to " network element 1 attribute b " by the memory cell of " network element 1 attribute a ", be connected to " network element 1 attribute c " by the memory cell of " network element 1 attribute b ".
Step 112 comprises:
Step 1121, obtains the 3rd memory cell;
Step 1122, the byte of the byte length judging the 3rd memory cell whether predetermined number longer than the byte length needed for the information storing described associated NE described at least one, generates judged result; Predetermined number above and predetermined number herein can be 1.
Step 1123, if described judged result is yes, terminates mark in the specified bytes place of described 3rd memory cell storage second, the information except associated NE described at least one described in the storage of described specified bytes place in described 3rd memory cell;
Step 1124, otherwise, obtain the 4th memory cell, store described 4th access unit address pointer information at the specified bytes place of described 3rd memory cell; And the information except associated NE described at least one described in storage in described specified bytes place and the 4th memory cell in described 3rd memory cell.
As shown in Figure 2, be a kind of method loading Network element object of the present invention, perform after this embodiment step in the above-described embodiments, therefore, comprise the step of above-mentioned Fig. 1 embodiment, also comprise:
Step 21, obtains the mark of the first network element to be loaded; Optionally, the sequence number being designated described first network element of described first network element.Composition graphs 3, this step is such as obtaining the mark " 1 " of the first network element to be loaded.In Fig. 3, memory has three regions.Be respectively network element memory block, associated NE memory block and property store district.Property store district is for storing the attribute information of network element; The associated NE memory block associated NE information of the first network element (network element 1,2,3 in such as Fig. 3).Network element memory block is for storing the information pointer of network element, and the information pointer of network element comprises attribute address pointer and associated NE address pointer.Attribute address pointer is used to indicate: the memory cell initial address of attribute information in property store district of each network element.Associated NE address pointer is used to indicate: the memory cell initial address of associated NE information in associated NE memory block of each first network element.
Step 22, obtains the net element information pointer memory address that described mark is corresponding, stores the net element information pointer of the memory cell initial address of the net element information indicating described first network element at described net element information pointer memory address place; The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element; Described net element information pointer memory address stores: the associated NE address pointer of the memory cell initial address of the attribute address pointer indicating the memory cell initial address of the attribute information of described first network element and/or the information indicating associated NE described at least one.
Each network element has a unchangeable unique identification value (being equivalent to network element ID above).Network element ID is corresponding with net element information pointer memory address, in this application scenarios, this ident value can be its on network element memory storage order numbering, numbering is specifically defined as: first store network element be numbered 1, be followed successively by 2,3,4, by that analogy.
Composition graphs 3, step 2 is such as: ident value * 16, that is, 1*16=16, and the net element information pointer memory address of described mark " 1 " correspondence is from the 1 to the 16 bit.The net element information pointer (comprising: attribute address pointer 1 and associated NE address pointer 1) of the memory cell initial address of the net element information of instruction network element 1 is stored at described net element information pointer memory address place (from the 1 to the 16 bit).
Step 23, according to described net element information pointer, reads the net element information of described first network element.
Step 24, loads the net element information of described first network element.
Step 23 specifically comprises:
Step 131, according to described attribute address pointer, reads the attribute information of described first network element; Such as, in Fig. 3, read network element 1 attribute according to attribute address pointer 1.
And/or,
Step 132, according to described associated NE address pointer, reads the information of associated NE described at least one.Such as, in Fig. 3, read network element 1 associated NE data 1 according to associated NE address pointer 1.
Step 231 comprises:
Step 2311, according to described attribute address pointer, finds the first memory cell; Such as, at Fig. 3, find the memory cell of " storage network meta-attribute 1 " according to attribute address pointer 1.
Step 2313, when the storage information at specified bytes place in described first memory cell is the first end mark, reads the storage information except described specified bytes is sentenced of described first memory cell, as the attribute information of described first network element;
Step 2314, when the storage information at specified bytes place described in described first memory cell is the second access unit address pointer, read the storage information of described first memory cell except described specified bytes is sentenced and the storage information of described second memory cell, as the attribute information of described first network element.Specifically: each memory cell specified bytes (such as last 8 bytes) represents whether redirect.Such as, when this value gets-1, represent that this memory cell terminates; When for other data value, represent the next access unit address pointer jumping to this memory.That is, if the property value of a network element can not complete storage in one " attribute storage unit ", then jump to the position indicator pointer of the next one " attribute storage unit " at its unit tail record.Like this, by the mode of multiple cellular chain, complete the property store of a network element.The attribute of each network element, depending on the number of its attribute information, is made up of one or more " attribute storage unit ".Such as, in Fig. 3, be connected to " network element 1 attribute b " by the memory cell of " network element 1 attribute a ", be connected to " network element 1 attribute c " by the memory cell of " network element 1 attribute b ".
Step 232 comprises:
Step 2321, according to described associated NE address pointer, finds the 3rd memory cell;
Step 2322, when the storage information at specified bytes place described in described 3rd memory cell is the 4th access unit address pointer, read the storage information of described 3rd memory cell except described specified bytes is sentenced and the storage information of the 4th memory cell, as the information of described associated NE;
Step 2323, when the storage information at specified bytes place in described 3rd memory cell is the second end mark, then reads the storage information except described specified bytes is sentenced of described 3rd memory cell, as the information of described associated NE.
In this embodiment, before step 21, described method also comprises: the step of storage network metamessage, and this step specifically comprises:
Store the net element information of the first network element in the memory unit;
Obtain the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Store described net element information pointer;
Obtain the net element information pointer memory address storing described net element information pointer;
Set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
Below in conjunction with Fig. 3, application scenarios of the present invention is described.
Network element data information storage system in this application scene comprises:
Network element memory, for preserving the essential information of each Network element object.Network element memory is equal at least one memory cell indicated by net element information pointer memory address above.The length storing the memory cell of each Network element object information is fixed as 16 bytes (the present invention is not limited thereto).Be divided into two octets, first octet preserves the address pointer value (being equivalent to attribute address pointer above) in " attributes store " at its attribute place, the value that second octet is preserved, refers to the address pointer value (being equivalent to associated NE address pointer above) storing the information be associated with other network element in " associated NE memory ".Each network element has a unchangeable unique identification value (being equivalent to network element ID above).Network element ID is corresponding with net element information pointer memory address, in this application scenarios, this ident value can be its on network element memory storage order numbering, numbering is specifically defined as: first store network element be numbered 1, be followed successively by 2,3,4, by that analogy
Attributes store, for preserving the attribute information of Network element object.Each Network element object, by octet value (the present invention does not limit byte length) before this network element of storage in " network element memory ", navigates to the memory location of this network element in this memory block.Inside, property store district can be divided into " attribute storage unit " (note: the length value that the present invention does not limit " attribute storage unit " of numerous regular length, also the concrete structure of not bounded attribute storage), each memory cell specified bytes (being such as last 8 bytes) represents redirect, this value gets-1, represent that this memory cell terminates, other data value just represents the next access unit address pointer jumping to this memory.If the property value of a network element can not complete storage in one " attribute storage unit ", then record the position indicator pointer jumping to the next one " attribute storage unit " at its unit tail, completed the property store of a network element by the mode of multiple cellular chain.The specific object of each network element, depending on the number of its attribute, is made up of one or more " attribute storage unit ".
Associated NE memory, each Network element object in working order under, need to be related with other Network element object considerable, this relation value is kept in " associated NE memory ".Each Network element object, by octet value after this network element of storage in " network element memory ", navigates to the associated NE memory location of this network element in this memory block.District is similar with property store, inside, memory block is divided into " relational storage unit " (note: this patent does not limit the length value of this memory cell) of numerous regular length, if the Network element object of this gateway association is a lot, a memory cell can not complete storage, then record the position indicator pointer jumping to the next one " memory cell " at its unit tail, the associated NE being completed a network element by the mode of multiple cellular chain is stored.The content stored is the unique identification value of associated NE in " network element memory ", and each ident value takies octet length.
Below in conjunction with Fig. 4, describe the application scenarios of the implementation method of loading Network element object of the present invention, comprise following process:
Step 1, user provides the network element ID that will load value to this device, and calculate its position at " network element memory ", its computing formula is: ident value * 16.This position loads the value of 16 bytes, and front 8 place values are this network element address pointer values in " attributes store ", and latter 8 is the address pointer value of this network element on " associated NE memory ".
Step 2, according to the pointer value in the attributes store obtained in second step, dependency memory loads this network element attribute, and the present invention does not define concrete network element attribute and stores and loading procedure, realizes as required as the case may be.
Step 3, according to the pointer value on the associated NE memory obtained in second step, data are loaded from associated NE memory, if there is jump cursor in the memory cell afterbody loaded, then all data in next memory cell and its storage chains to be combined, load as overall associated NE data.
Step 4, read the associated NE data that the 3rd step obtains, every 8 bytes are the pointer value of an associated NE object, use this value at " network element memory " upper loading associated NE object (more than repeating 1 to 3 steps).
As shown in Figure 5, be a kind of device loading Network element object of the present invention, comprise:
First acquisition module 51, obtains the mark of the first network element to be loaded;
Second acquisition module 52, obtains the net element information pointer memory address that described mark is corresponding, stores the net element information pointer of the memory cell initial address of the net element information indicating described first network element at described net element information pointer memory address place;
Read module 53, according to described net element information pointer, reads the net element information of described first network element;
Load-on module 54, loads the net element information of described first network element.
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described net element information pointer memory address place stores: the associated NE address pointer of the memory cell initial address of the attribute address pointer indicating the memory cell initial address of the attribute information of described first network element and/or the information indicating associated NE described at least one;
Described read module 53 comprises:
First reading submodule, according to described attribute address pointer, reads the attribute information of described first network element; And/or,
Second reading submodule, according to described associated NE address pointer, reads the information of associated NE described at least one.
Described device, also comprises:
First memory module, stores the net element information of the first network element at least one memory cell;
3rd acquisition module, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Second memory module, stores described net element information pointer;
4th acquisition module, obtains the net element information pointer memory address storing described net element information pointer;
Set up module, set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
As shown in Figure 6, be a kind of device storing the information of network element of the present invention, comprise:
First memory module 61, stores the net element information of the first network element in the memory unit;
First acquisition module 62, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Second memory module 63, stores described net element information pointer;
Second acquisition module 64, obtains the net element information pointer memory address storing described net element information pointer;
Set up module 65, set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described first memory module 61 comprises:
First sub module stored, stores the attribute information of described first network element; And/or
Second sub module stored, stores the information of associated NE described at least one.
The invention provides the informationalized storage means of a kind of network element device and loading method, can be applicable to the storage aspect of Telecommunication Network Element data.The present invention has following beneficial effect:
1, the present invention is without the need to the data structure of pre-defined network element, for the network management system having up to ten thousand kinds of device types, after not having the constraint of data structure, will greatly alleviate the workload of routine work maintenance.
2, in the present invention, when the structural change of network element device, also without the need to carrying out upgrading to storage system.By cancelling dangerous high updating operation, reduce engineering cost used in everyday.
3, in the present invention, the information of network element device stores the database technology not using specialty, and production platform does not need the database purchasing specialty, reduces the cost of valency production and application.
4, the present invention proposes a kind of brand-new network element data storage means, for network element and the built-in attribute variation of any type, does not relate to definition and the amendment of list data structure, a large amount of manpower and materials is freed from the maintenance work of network element data.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. load a method for Network element object, it is characterized in that, comprising:
Obtain the mark of the first network element to be loaded;
Obtain the net element information pointer memory address that described mark is corresponding, store the net element information pointer of the memory cell initial address of the net element information indicating described first network element at described net element information pointer memory address place;
According to described net element information pointer, read the net element information of described first network element;
Load the net element information of described first network element.
2. method according to claim 1, is characterized in that, the sequence number being designated described first network element of described first network element.
3. method according to claim 1, is characterized in that,
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described net element information pointer memory address stores: the associated NE address pointer of the memory cell initial address of the attribute address pointer indicating the memory cell initial address of the attribute information of described first network element and/or the information indicating associated NE described at least one;
The described step reading the attribute information of described first network element according to described net element information pointer comprises:
According to described attribute address pointer, read the attribute information of described first network element; And/or, according to described associated NE address pointer, read the information of associated NE described at least one.
4. method according to claim 3, is characterized in that, described according to described attribute address pointer, the step reading the attribute information of described first network element comprises:
According to described attribute address pointer, find the first memory cell;
When the storage information at specified bytes place in described first memory cell is the first end mark, read the storage information except described specified bytes is sentenced of described first memory cell, as the attribute information of described first network element;
When the storage information at specified bytes place described in described first memory cell is the second access unit address pointer, read the storage information of described first memory cell except described specified bytes is sentenced and the storage information of described second memory cell, as the attribute information of described first network element.
5. method according to claim 3, is characterized in that, described according to described associated NE address pointer, the step reading the information of described associated NE comprises:
According to described associated NE address pointer, find the 3rd memory cell;
When the storage information at specified bytes place described in described 3rd memory cell is the 4th access unit address pointer, read the storage information of described 3rd memory cell except described specified bytes is sentenced and the storage information of the 4th memory cell, as the information of described associated NE;
When the storage information at specified bytes place in described 3rd memory cell is the second end mark, then read the storage information except described specified bytes is sentenced of described 3rd memory cell, as the information of described associated NE.
6. method according to claim 1, is characterized in that, before the step of the mark of the first network element that described acquisition is to be loaded, described method also comprises:
Store the net element information of the first network element in the memory unit;
Obtain the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Store described net element information pointer;
Obtain the net element information pointer memory address storing described net element information pointer;
Set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
7. a method for storage network metamessage, comprising:
The net element information of the first network element is stored at least one memory cell;
Obtain the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Store described net element information pointer;
Obtain the net element information pointer memory address storing described net element information pointer;
Set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
8. method according to claim 7, is characterized in that,
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
The described step storing the net element information of the first network element in the memory unit comprises:
Store the attribute information of described first network element; And/or store the information of associated NE described at least one.
9. method according to claim 8, is characterized in that, the step of the attribute information of described first network element of described storage comprises:
Obtain the first memory cell;
The byte of the byte length judging the first memory cell whether predetermined number longer than the byte length needed for the attribute information storing described first network element, generates judged result;
If described judged result is yes, stores first at the specified bytes place of described first memory cell and terminate mark, and the attribute information except described first network element of described specified bytes place storage in described first memory cell;
Otherwise, obtain the second memory cell, store described second access unit address pointer information at the specified bytes place of described first memory cell; And described first memory cell except described specified bytes place and the second memory cell in store the attribute information of described first network element.
10. method according to claim 8, is characterized in that, the step of the information of described storage associated NE described at least one comprises:
Obtain the 3rd memory cell;
The byte of the byte length judging the 3rd memory cell whether predetermined number longer than the byte length needed for the information storing described associated NE described at least one, generates judged result;
If described judged result is yes, terminate mark in the specified bytes place of described 3rd memory cell storage second, the information except associated NE described at least one described in the storage of described specified bytes place in described 3rd memory cell;
Otherwise, obtain the 4th memory cell, store described 4th access unit address pointer information at the specified bytes place of described 3rd memory cell; And the information except associated NE described at least one described in storage in described specified bytes place and the 4th memory cell in described 3rd memory cell.
11. 1 kinds of devices loading Network element object, is characterized in that, comprising:
First acquisition module, obtains the mark of the first network element to be loaded;
Second acquisition module, obtains the net element information pointer memory address that described mark is corresponding, stores the net element information pointer of the memory cell initial address of the net element information indicating described first network element at described net element information pointer memory address place;
Read module, according to described net element information pointer, reads the net element information of described first network element;
Load-on module, loads the net element information of described first network element.
12. devices according to claim 11, is characterized in that,
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described net element information pointer memory address place stores: the associated NE address pointer of the memory cell initial address of the attribute address pointer indicating the memory cell initial address of the attribute information of described first network element and/or the information indicating associated NE described at least one;
Described read module comprises:
First reading submodule, according to described attribute address pointer, reads the attribute information of described first network element; And/or,
Second reading submodule, according to described associated NE address pointer, reads the information of associated NE described at least one.
13. devices according to claim 11, is characterized in that, also comprise:
First memory module, stores the net element information of the first network element at least one memory cell;
3rd acquisition module, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Second memory module, stores described net element information pointer;
4th acquisition module, obtains the net element information pointer memory address storing described net element information pointer;
Set up module, set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
14. 1 kinds of devices storing the information of network element, is characterized in that, comprising:
First memory module, stores the net element information of the first network element in the memory unit;
First acquisition module, obtains the net element information pointer of the memory cell initial address of the net element information storing described first network element of instruction;
Second memory module, stores described net element information pointer;
Second acquisition module, obtains the net element information pointer memory address storing described net element information pointer;
Set up module, set up the corresponding relation of the mark of described net element information pointer memory address and described first network element.
15. devices according to claim 14, is characterized in that,
The net element information of described first network element comprises: the attribute information of the first network element and/or the information of at least one associated NE associated with described first network element;
Described first memory module comprises:
First sub module stored, stores the attribute information of described first network element; And/or
Second sub module stored, stores the information of associated NE described at least one.
CN201410550334.6A 2014-10-16 2014-10-16 Method and device for loading network element objects and method and device for storing network element information Withdrawn CN105515814A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410550334.6A CN105515814A (en) 2014-10-16 2014-10-16 Method and device for loading network element objects and method and device for storing network element information
PCT/CN2015/073049 WO2015131760A1 (en) 2014-10-16 2015-02-13 Method and device for loading network element object, and method and device for storing network element information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410550334.6A CN105515814A (en) 2014-10-16 2014-10-16 Method and device for loading network element objects and method and device for storing network element information

Publications (1)

Publication Number Publication Date
CN105515814A true CN105515814A (en) 2016-04-20

Family

ID=54054587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410550334.6A Withdrawn CN105515814A (en) 2014-10-16 2014-10-16 Method and device for loading network element objects and method and device for storing network element information

Country Status (2)

Country Link
CN (1) CN105515814A (en)
WO (1) WO2015131760A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023087928A1 (en) * 2021-11-17 2023-05-25 中兴通讯股份有限公司 User data query method and system, and management device and network element device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621405A (en) * 2009-07-07 2010-01-06 中兴通讯股份有限公司 Distributed type management monitoring system, monitoring method and establishing method thereof
CN101707533A (en) * 2009-10-30 2010-05-12 北京讯风光通信技术开发有限责任公司 Network control method and system based on chain state in multiservice PCM optical access network
CN102833105A (en) * 2012-08-27 2012-12-19 华为技术有限公司 Method for acquiring performance index configuration data of slave network element and equipment
CN103369660A (en) * 2012-03-26 2013-10-23 大唐联诚信息系统技术有限公司 Network-element data synchronization method and network-element device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621405A (en) * 2009-07-07 2010-01-06 中兴通讯股份有限公司 Distributed type management monitoring system, monitoring method and establishing method thereof
CN101707533A (en) * 2009-10-30 2010-05-12 北京讯风光通信技术开发有限责任公司 Network control method and system based on chain state in multiservice PCM optical access network
CN103369660A (en) * 2012-03-26 2013-10-23 大唐联诚信息系统技术有限公司 Network-element data synchronization method and network-element device
CN102833105A (en) * 2012-08-27 2012-12-19 华为技术有限公司 Method for acquiring performance index configuration data of slave network element and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023087928A1 (en) * 2021-11-17 2023-05-25 中兴通讯股份有限公司 User data query method and system, and management device and network element device

Also Published As

Publication number Publication date
WO2015131760A1 (en) 2015-09-11

Similar Documents

Publication Publication Date Title
US8935575B2 (en) Test data generation
CN107918612B (en) The implementation method and device of key assignments memory system data structure
CN111176976A (en) Test data generation method and device, storage medium and electronic device
CN108628751A (en) A kind of useless dependence item detection method and device
CN106843842B (en) Method and device for updating application program configuration file
CN105204823A (en) Method and device for generating application installation package
CN108205577B (en) Array construction method, array query method, device and electronic equipment
CN106897103B (en) Method for quickly and thermally updating version of mobile terminal network game
CN105335181A (en) OTA upgrade realization method and terminal
CN111324577B (en) Yml file reading and writing method and device
CN110543427B (en) Test case storage method and device, electronic equipment and storage medium
CN108009296A (en) A kind of SQL query method, system and relevant apparatus based on Hbase
CN105446975A (en) File packing method and device
CN201402459Y (en) Test case management device
CN105718319B (en) A kind of memory pool domain analytic method and memory pool device
CN101727503A (en) Method for establishing disk file system
CN106502757A (en) A kind of plug-in management method and device
CN107451070A (en) The processing method and server of a kind of data
CN109063468A (en) A kind of installation kit integrity verification and the method for reparation
CN105515814A (en) Method and device for loading network element objects and method and device for storing network element information
CN110673849B (en) Method and device for presetting file security contexts in batches
CN104378362A (en) Method and device for carrying out conversion of message interfaces
CN104504125A (en) Web page data monitoring method and device
CN110825846A (en) Data processing method and device
CN106407345A (en) Method and apparatus for updating dirty data

Legal Events

Date Code Title Description
C06 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20160420