WO2012071810A1 - Method and device for storing network management performance non-granularity data rapidly - Google Patents

Method and device for storing network management performance non-granularity data rapidly Download PDF

Info

Publication number
WO2012071810A1
WO2012071810A1 PCT/CN2011/071195 CN2011071195W WO2012071810A1 WO 2012071810 A1 WO2012071810 A1 WO 2012071810A1 CN 2011071195 W CN2011071195 W CN 2011071195W WO 2012071810 A1 WO2012071810 A1 WO 2012071810A1
Authority
WO
WIPO (PCT)
Prior art keywords
performance data
performance
data
network management
memory database
Prior art date
Application number
PCT/CN2011/071195
Other languages
French (fr)
Chinese (zh)
Inventor
陈占海
李忆岚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012071810A1 publication Critical patent/WO2012071810A1/en

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/02Standardisation; Integration
    • H04L41/024Standardisation; Integration using relational databases for representation of network management data, e.g. managing via structured query language [SQL]

Abstract

A method and device for storing network management performance non-granularity data rapidly are disclosed. The method includes: analyzing received performance data to determine the performance object to which the performance data belong; storing the performance data into the corresponding storage area in the memory database after integration operations for the performance data have been executed according to the performance object to which the performance data belong; uploading the performance data in the memory database to the network management system database when the performance data reports that granularity is reached. The technical solution changes the original method for storing the performance data, by buffering the performance data after executing integration operation for the performance data according to the type of the performance object in the memory database; when time granularity is reached, uploading the performance data in the memory database to the system database in bulk, thereby transferring a great quantity of discrete and frequent database in-stockroom operations to the memory. Simultaneously less system resources and system time are occupied, and efficiency and stability of the system are improved.

Description

网管性能非粒度数据快速存储的方法及装置 技术领域  Method and device for quickly storing non-granular data of network management performance
本发明涉及通信领域, 尤其涉及一种网管性能非粒度数据快速存储的 方法及装置。 背景技术  The present invention relates to the field of communications, and in particular, to a method and apparatus for quickly storing non-granular data of network management performance. Background technique
随着移动通信技术的高速发展, 无线接入网中网管系统操作维护中心 With the rapid development of mobile communication technology, the network management system operation and maintenance center in the wireless access network
(Operations & Maintenance Center, OMC)所管理的网元的类型愈加繁杂,单 个基站控制器 (BSC, Base Station Controller)所挂接的网元的数量越来越庞 大。 因此, 在 OMC运行过程中需处理的来自网元的性能数据越来越多, 从 而造成 OMC处理的压力越来越大。 而且, 运营商对性能数据的准确性和完 整性要求也越来越高, 使得 OMC对数据的处理提出了更高的要求。 The types of network elements managed by the Operations & Maintenance Center (OMC) are more and more complicated, and the number of network elements attached to a single base station controller (BSC) is becoming larger and larger. Therefore, the performance data from the network element that needs to be processed during the OMC operation process is increasing, which causes the pressure on the OMC processing to become larger and larger. Moreover, operators are increasingly demanding the accuracy and integrity of performance data, which makes OMC put forward higher requirements for data processing.
目前从网元上报的性能数据在时间上主要有两种方式: 一种是釆集粒 度整点上报, 即在任务所设定的釆集粒度时间到达时批量发送到 OMC, 如 呼叫、 释放类性能数据; 另一种是实时上报, 即一旦发生该类业务则立即 进行上报, 例如失败原因分析、 邻区切换数据, 这一类数据发生频繁, 数 据量大, 同时发生的网元的位置不固定。 对于实时上报类性能数据网元的 处理方式是产生一条性能数据就给 OMC发送一条性能数据, 一般来说, 0MC是直接调用数据库中的存储过程对此类数据按粒度进行整合后入库, 但是这种频繁入库的方式涉及到硬盘的 I/O反复操作, 占用了较大的系统以 及数据库资源。 发明内容  At present, the performance data reported from the network element mainly has two ways in time: One is to collect the granularity of the whole point, that is, to send the batch to the OMC when the set granularity time set by the task arrives, such as calling and releasing the class. Performance data; The other is real-time reporting, that is, when such a service occurs, it is reported immediately, such as failure cause analysis, neighboring area switching data, such data is frequently generated, the amount of data is large, and the location of the network element occurring at the same time is not fixed. For the real-time reporting class performance data network element processing method is to generate a performance data to send a performance data to the OMC, in general, 0MC is directly called the stored procedure in the database to integrate such data into the database after the granularity, but This type of frequent warehousing involves repeated I/O operations on the hard disk, taking up large systems and database resources. Summary of the invention
本发明的主要目的是提供一种网管性能非粒度数据快速存储的方法及 装置, 旨在快速有效地统计移动通信网中的网络质量, 且其操作简单。 本发明提供了一种网管性能非粒度数据快速存储的方法, 该方法包括 以下步骤: The main object of the present invention is to provide a method and a device for quickly storing non-granular data of network management performance, aiming at quickly and effectively counting the network quality in a mobile communication network, and the operation thereof is simple. The invention provides a method for quickly storing non-granular data of network management performance, the method comprising the following steps:
对接收的性能数据进行解析, 确定所述性能数据所归属的性能对象; 根据所述性能数据所归属的性能对象, 将所述性能数据整合运算后存 储在内存数据库内相应的存储区;  Determining the received performance data, determining the performance object to which the performance data belongs; storing the performance data in the corresponding storage area in the in-memory database according to the performance object to which the performance data belongs;
当性能数据上报粒度到时, 将内存数据库中的性能数据上传至网管系 统数据库。  When the performance data reporting granularity is reached, the performance data in the in-memory database is uploaded to the network management system database.
优选地, 上述对接收的性能数据进行解析, 确定所述性能数据所归属 的性能对象为:  Preferably, the received performance data is parsed to determine that the performance object to which the performance data belongs is:
对接收的性能数据进行解析, 获得性能数据的时间、 位置信息及功能 码;  Parsing the received performance data to obtain time, location information and function codes of the performance data;
根据功能码确定性能数据所归属的性能对象。  The performance object to which the performance data belongs is determined according to the function code.
优选地, 上述根据性能数据所归属的性能对象, 将所述性能数据整合 运算后存储在内存数据库内相应的存储区包括:  Preferably, the foregoing performance object to which the performance data belongs is stored in the corresponding storage area in the in-memory database after the performance data is integrated into the operation, including:
获取性能数据的主键信息;  Obtain primary key information of performance data;
判断所述主键信息是否已存在于内存数据库, 是则将所述性能数据整 合运算后存储于内存数据库中相应的存储区; 否则在内存数据库中建立新 存储区, 将所述性能数据存储于所述新存储区。  Determining whether the primary key information already exists in the in-memory database, if the performance data is integrated and stored in a corresponding storage area in the in-memory database; otherwise, a new storage area is created in the in-memory database, and the performance data is stored in the storage area. Describe the new storage area.
优选地, 上述根据性能数据所归属的性能对象, 将所述性能数据存储 在内存数据库内相应的存储区中包括:  Preferably, storing the performance data in a corresponding storage area in the in-memory database according to the performance object to which the performance data belongs includes:
当内存数据库的存储空间达到网管系统所设定的内存空间阔值, 产生 系统报警信号, 并触发将内存数据库中的性能数据上传至网管系统数据库; 当网管系统异常重启时, 读取相关时间段内系统数据库中的性能数据 到内存数据库中。  When the storage space of the in-memory database reaches the memory space threshold set by the network management system, a system alarm signal is generated, and the performance data in the in-memory database is triggered to be uploaded to the network management system database; when the network management system is abnormally restarted, the relevant time period is read. Performance data in the internal system database to the in-memory database.
优选地, 上述当性能数据上报粒度到时, 将内存数据库中的性能数据 上传至网管系统数据库的步骤包括: Preferably, when the performance data reporting granularity is reached, the performance data in the in-memory database is The steps to upload to the network management system database include:
当性能数据上报粒度到时, 将内存数据库中的性能数据生成以性能对 象为单位的文本文件;  When the performance data reporting granularity is reached, the performance data in the in-memory database is generated into a text file in units of performance objects;
将所述文本文件上传至网管系统数据库, 并删除所述文本文件。  Upload the text file to the network management system database, and delete the text file.
本发明还提供了一种网管性能非粒度数据快速存储的装置, 该装置包 括:  The invention also provides a device for quickly storing non-granular data of network management performance, the device comprising:
性能对象规划模块, 用于对接收的性能数据进行解析, 确定所述性能 数据所归属的性能对象;  a performance object planning module, configured to parse the received performance data, and determine a performance object to which the performance data belongs;
数据緩存模块, 用于根据所述性能数据所归属的性能对象, 将所述性 能数据整合运算后存储在内存数据库内相应的存储区;  a data cache module, configured to store the performance data in a corresponding storage area in the in-memory database according to the performance object to which the performance data belongs;
数据上传模块, 用于当性能数据上报粒度到时, 将内存数据库中的性 能数据上传至网管系统数据库。  The data uploading module is configured to upload the performance data in the in-memory database to the network management system database when the performance data reporting granularity is reached.
优选地, 上述性能对象规划模块包括:  Preferably, the performance object planning module includes:
解析单元, 用于对接收的性能数据进行解析, 获得性能数据的时间、 位置信息及功能码;  a parsing unit, configured to parse the received performance data, obtain time, location information, and function code of the performance data;
性能对象确定单元, 用于根据功能码确定性能数据所归属的性能对象。 优选地, 上述数据緩存模块包括:  And a performance object determining unit, configured to determine, according to the function code, a performance object to which the performance data belongs. Preferably, the data cache module includes:
主键信息获取单元, 用于获取性能数据的主键信息;  a primary key information obtaining unit, configured to acquire primary key information of performance data;
存储位置判断单元, 用于判断所述主键信息是否已存在于内存数据库; 存储单元, 用于所述主键信息存在于内存数据库时, 则将所述性能数 据整合运算后存储于内存数据库中相应的存储区; 还用于所述主键信息不 存在于内存数据库时, 在内存数据库中建立新存储区, 将所述性能数据存 储于所述新存储区。  a storage location determining unit, configured to determine whether the primary key information already exists in the in-memory database; and a storage unit, configured to: when the primary key information exists in the in-memory database, store the performance data in an in-memory database The storage area is further configured to: when the primary key information does not exist in the in-memory database, establish a new storage area in the in-memory database, and store the performance data in the new storage area.
优选地, 上述存储单元还用于:  Preferably, the foregoing storage unit is further configured to:
当内存数据库的存储空间达到网管系统所设定的内存空间阔值, 产生 系统报警信号, 并触发将内存数据库中的性能数据上传至网管系统数据库; 当网管系统异常重启时, 将网管系统数据库中相关时间段内的非粒度 性能数据读取至内存数据库中。 When the storage space of the in-memory database reaches the threshold of the memory space set by the network management system, The system alarm signal is triggered to upload the performance data in the in-memory database to the network management system database. When the network management system restarts abnormally, the non-granularity performance data in the relevant time period of the network management system database is read into the in-memory database.
优选地, 上述数据上传模块包括:  Preferably, the foregoing data uploading module includes:
数据导出单元, 用于当性能数据上报粒度到时, 将内存数据库中的性 能数据生成以性能对象为单位的文本文件;  a data exporting unit, configured to generate, when the performance data reporting granularity is reached, a text file in a performance data unit in the performance data in the in-memory database;
数据入库单元, 用于将所述文本文件上传至网管系统数据库, 并删除 所述文本文件。  a data storage unit, configured to upload the text file to a network management system database, and delete the text file.
本发明改变了原有的性能数据的存储方法, 通过将性能数据在内存数 据库中按性能对象类型进行緩存, 当时间粒度到达时再将緩存在内存数据 库中的性能数据批量上传到系统数据库中, 从而将大量离散频繁的数据库 入库运算转移至内存中进行。 同时也占用较少的系统资源以及系统时间, 从而能够大大緩解网管系统以及数据库服务器的系统资源占用, 提高了系 统的效率与稳定性。 附图说明 图 1 是本发明网管性能非粒度数据快速存储的方法一实施例的流程示 意图;  The invention changes the storage method of the original performance data, and caches the performance data in the in-memory database according to the performance object type, and uploads the performance data cached in the in-memory database to the system database in batches when the time granularity arrives. Therefore, a large number of discrete and frequent database inbound operations are transferred to the memory. At the same time, it also occupies less system resources and system time, which can greatly alleviate the system resource occupation of the network management system and the database server, and improve the efficiency and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic flow chart of an embodiment of a method for quickly storing non-granular data of network management performance according to the present invention; FIG.
图 2是本发明网管性能非粒度数据快速存储的方法一实施例中解析性 能数据的步骤的流程示意图;  2 is a schematic flow chart showing the steps of analyzing performance data in an embodiment of the method for rapidly storing non-granular data of the network management performance of the present invention;
图 3是本发明网管性能非粒度数据快速存储的方法一实施例中判断性 能数据是否有效的步骤的流程示意图;  3 is a schematic flow chart showing the steps of determining whether the performance data is valid in an embodiment of the method for quickly storing non-granular data of the network management performance of the present invention;
图 4是本发明网管性能非粒度数据快速存储的方法一实施例中将性能 数据緩存至内存数据库的步骤的流程示意图;  4 is a schematic flowchart of a step of buffering performance data to an in-memory database in an embodiment of the method for rapidly storing non-granular data of the network management performance of the present invention;
图 5是本发明网管性能非粒度数据快速存储的方法一实施例中将内存 数据库中的数据批量上传至网管系统数据库的步骤的流程示意图;  5 is a schematic flowchart of a method for batch uploading data in an in-memory database to a network management system database in an embodiment of a method for rapidly storing non-granular data of the network management performance of the present invention;
图 6是本发明网管性能非粒度数据快速存储的装置一实施例的结构示 意图; 6 is a structural diagram showing an embodiment of a device for quickly storing non-granular data of network management performance according to the present invention; Intention
图 Ί是本发明网管性能非粒度数据快速存储的装置一实施例中性能对 象规划模块的结构示意图;  Figure Ί is a schematic structural diagram of a performance object planning module in an embodiment of the apparatus for rapidly storing non-granular data of the network management performance of the present invention;
图 8是本发明网管性能非粒度数据快速存储的装置一实施例中性能对 象规划模块的另一结构示意图;  FIG. 8 is another schematic structural diagram of a performance object planning module in an embodiment of the apparatus for rapidly storing non-granular data of the network management performance of the present invention; FIG.
图 9是本发明网管性能非粒度数据快速存储的装置一实施例中数据緩 存模块的结构示意图;  9 is a schematic structural diagram of a data cache module in an embodiment of a device for quickly storing non-granular data of network management performance according to the present invention;
图 10是本发明网管性能非粒度数据快速存储的装置一实施例中数据上 传模块的结构示意图。  FIG. 10 is a schematic structural diagram of a data uploading module in an embodiment of the apparatus for rapidly storing non-granular data of the network management performance of the present invention.
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一 步说明。 具体实施方式 以下结合说明书附图及具体实施例进一步说明本发明的技术方案。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。  The implementation, functional features and advantages of the objects of the present invention will be further described in conjunction with the embodiments herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The technical solutions of the present invention will be further described below in conjunction with the drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图 1是本发明网管性能非粒度数据快速存储的方法一实施例的流程示 意图。  BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a flow chart showing an embodiment of a method for quickly storing non-granular data of network management performance according to the present invention.
本实施例网管性能非粒度数据快速存储的方法, 包括以下步骤: 步骤 S10、 对接收的性能数据进行解析, 确定性能数据所归属的性能对 象;  The method for quickly storing non-granular data in the network management performance of the embodiment includes the following steps: Step S10: Parse the received performance data to determine a performance object to which the performance data belongs;
步骤 Sll、 根据性能数据所归属的性能对象, 将性能数据整合运算后存 储在内存数据库内相应的存储区;  Step S11: The performance data is integrated and stored in a corresponding storage area in the in-memory database according to the performance object to which the performance data belongs;
步骤 S12、 当性能数据上报粒度到时, 将内存数据库中的性能数据上传 至网管系统数据库。  Step S12: When the performance data reporting granularity arrives, upload the performance data in the in-memory database to the network management system database.
本实施例改变了原有的性能数据的存储方法, 通过将性能数据在内存 数据库中按性能对象类型进行緩存, 当时间粒度到达时再将緩存在内存数 据库中的性能数据批量上传到系统数据库中, 从而将大量离散频繁的数据 库入库运算转移至内存中进行。 同时也占用较少的系统资源以及系统时间, 从而能够大大緩解网管系统以及数据库服务器的系统资源占用, 提高了系 统的效率与稳定性。 This embodiment changes the storage method of the original performance data, and caches the performance data in the in-memory database according to the performance object type, and then caches the memory in the memory when the time granularity arrives. According to the performance data in the library, it is uploaded to the system database in batches, so that a large number of discrete and frequent database warehousing operations are transferred to the memory. At the same time, it also occupies less system resources and system time, which can greatly alleviate the system resource occupation of the network management system and the database server, and improve the efficiency and stability of the system.
参照图 2, 上述步骤 S10进一步包括:  Referring to FIG. 2, the above step S10 further includes:
步骤 S101、 对接收的性能数据进行解析, 获得性能数据的时间、 位置 信息及功能码;  Step S101: Parse the received performance data, and obtain time, location information, and function code of the performance data.
通过特定的消息流通机制从网元接收性能数据帧, 该接收接口可以包 括以太网或光纤等受保护的网络接口。 当接收到性能数据后, 对其进行解 析, 获取该性能数据的时间、 位置信息及其他的信息, 例如帧编号、 帧长 度、 记录长度、 记录个数、 开始时间、 结束时间、 系统号及功能码等。  The performance data frame is received from the network element through a specific message flow mechanism, which may include a protected network interface such as Ethernet or fiber. After receiving the performance data, it parses it to obtain the time, location information and other information of the performance data, such as frame number, frame length, record length, number of records, start time, end time, system number and function. Code and so on.
步骤 S 102、 根据功能码确定性能数据所归属的性能对象。  Step S102: Determine, according to the function code, a performance object to which the performance data belongs.
根据步骤 S 101中解析性能数据获得的功能码, 可以确定性能数据所归 属的性能对象或性能对象集合。 在此需要说明的是, 当该性能数据为失败 原因类的性能数据时, 则需要通过功能码及性能数据中的业务类型共同来 确定该性能数据所归属的性能对象。 比如, " IX: 语音掉话原因对象" 和 "PTT: 切换失败原因对象" 均对应同一个功能码 "0x45085500" , 当解析 后的性能数据中的业务类型为 "语音掉话原因"时,表明该性能数据为 "IX: 语音掉话原因对象" 的数据, 当解析后的性能数据的业务类型为 "PTT目标 侧增强组呼切换"、 " PTT目标侧私密呼切换"、 " PTT源侧增强组呼切换" 或 "PTT源侧私密呼切换" 时, 表明该性能数据为 "PTT: 切换失败原因对 象" 的性能数据。  Based on the function code obtained by parsing the performance data in step S101, a performance object or a set of performance objects to which the performance data belongs can be determined. It should be noted that when the performance data is the performance data of the failure cause class, the service object to which the performance data belongs is determined by the service code and the service type in the performance data. For example, " IX: voice drop cause object" and "PTT: switch failure cause object" all correspond to the same function code "0x45085500", when the service type in the parsed performance data is "voice drop reason", it indicates The performance data is data of "IX: Voice Drop Call Cause Object", and the service type of the parsed performance data is "PTT Target Side Enhanced Group Call Switching", "PTT Target Side Private Call Switching", "PTT Source Side Enhancement" When the group call is switched "or" on the PTT source side private call switch, the performance data indicating that the performance data is "PTT: Switch Failure Cause Object" is displayed.
参照图 3 , 上述步骤 S 101与步骤 S 102之间还包括:  Referring to FIG. 3, the foregoing step S101 and step S102 further include:
步骤 S103、 根据性能数据的位置及时间信息, 生成主键信息; 该主键信息作为性能数据的唯一标识, 根据性能数据的位置和时间信 息通过一定规则而生成。 该一定规则可以根据具体情况而定, 即位置及时 间信息的排列顺序等, 在此就不做限定。 Step S103: Generate primary key information according to location and time information of the performance data; the primary key information is used as a unique identifier of the performance data, and the location and time information according to the performance data Information is generated by certain rules. The certain rule may be determined according to the specific situation, that is, the order of the position and time information, and the like, and is not limited herein.
步骤 S104、 根据主键信息判断, 判断该性能数据是否有效; 是则执行 步骤 S102; 否则执行步骤 S105;  Step S104, determining, according to the primary key information, whether the performance data is valid; if yes, executing step S102; otherwise, executing step S105;
步骤 S105、 丟弃该性能数据, 并返回执行步骤 S101。  Step S105, discarding the performance data, and returning to step S101.
上述步骤 S102之后还包括:  After the above step S102, the method further includes:
步骤 S106、 将性能数据以性能对象为单位进行整合, 生成内存数据库 可以识别的性能数据。  Step S106: Integrate performance data in units of performance objects to generate performance data that can be recognized by the in-memory database.
上述步骤 S104中, 判断性能数据是否有效的步骤具体包括:  In the foregoing step S104, the step of determining whether the performance data is valid includes:
步骤 Al、判断该性能数据帧是否为所属包的第一帧,是则执行步骤 A2; 否则执行步骤 A3 ;  Step A: determining whether the performance data frame is the first frame of the belonging packet, if yes, performing step A2; otherwise, performing step A3;
查询在数据帧接收哈希表中是否存在主键信息对应的数据包信息, 如 果不存在, 则判断该性能数据帧为所属包的第一帧; 否则判断该性能数据 帧不是所属包的第一帧。  Querying whether there is data packet information corresponding to the primary key information in the data frame receiving hash table, if not, determining that the performance data frame is the first frame of the belonging packet; otherwise, determining that the performance data frame is not the first frame of the belonging packet .
步骤 A2、创建数据包信息结构, 将该性能数据帧添加至数据包信息中, 并将主键信息及数据包信息添加至数据帧接收哈希表中, 并执行步骤 S102; 步骤 A3、 根据主键信息从数据帧接收哈希表中获取数据包信息, 并根 据该数据包信息, 判断接收到的性能数据帧与前期收到的性能数据帧是否 有冲突, 是则执行步骤 A4; 否则执行步骤 S102;  Step A2, creating a data packet information structure, adding the performance data frame to the data packet information, adding the primary key information and the data packet information to the data frame receiving hash table, and performing step S102; Step A3, according to the primary key information Obtaining the data packet information from the data frame receiving hash table, and determining, according to the data packet information, whether the received performance data frame conflicts with the performance data frame received in the previous period, if yes, step A4 is performed; otherwise, step S102 is performed;
该数据包信息包括其数据帧信息, 例如数据包编号、 釆集开始时间、 釆集结束时间等。 判断接收到的性能数据帧对应的数据包信息与前期收到 的性能数据帧对应的数据包信息是否完全一致, 如果一致则表示接收到的 性能数据帧与前期收到的性能数据帧没有冲突; 否则表示有冲突。  The packet information includes its data frame information, such as a packet number, a set start time, a set end time, and the like. Determining whether the data packet information corresponding to the received performance data frame is completely consistent with the data packet information corresponding to the performance data frame received in the previous period. If they are consistent, the received performance data frame does not conflict with the performance data frame received in the previous period; Otherwise it indicates a conflict.
步骤 A4、 判断该性能数据帧是否为垃圾帧, 是则执行步骤 A6; 否则执 行步骤 A5; 根据接收到的性能数据帧的帧编号和开始釆集时间等信息可以判断该 性能数据帧是否为前期已经存在的数据帧, 是则判断该性能数据帧为垃圾 帧; 否则判断该性能数据帧不是垃圾帧。 Step A4, determining whether the performance data frame is a garbage frame, if yes, performing step A6; otherwise, performing step A5; According to the information such as the frame number of the received performance data frame and the start collection time, it can be determined whether the performance data frame is a data frame that has existed in the previous period, and then the performance data frame is determined to be a garbage frame; otherwise, the performance data frame is determined not to be Junk frame.
步骤 A6、 丟弃该性能数据帧, 并返回执行步骤 S101 ;  Step A6, discarding the performance data frame, and returning to step S101;
步骤 A5、 将当前性能数据帧的数据包信息代替数据帧接收哈希表中前 期收到的性能数据帧的数据包信息, 并执行步骤 S 102。  Step A5: Replace the data packet information of the current performance data frame with the data packet information of the performance data frame received in the hash table in the hash table, and perform step S102.
参照图 4, 上述步骤 S 11具体包括:  Referring to FIG. 4, the foregoing step S11 specifically includes:
步骤 S 111、 获取性能数据的主键信息;  Step S111: Obtain primary key information of performance data.
该主键信息作为性能数据帧的唯一标识, 根据性能数据的位置和时间 信息通过一定规则而生成。 该一定规则可以由根据具体情况而定, 即位置 及时间信息的排列顺序等, 在此就不做限定。 根据步骤 S10中对性能数据的 解析结果, 可以获取性能数据的主键信息。  The primary key information is used as a unique identifier of the performance data frame, and is generated according to the location and time information of the performance data by certain rules. The certain rule may be determined on a case-by-case basis, that is, the order in which the position and time information are arranged, and the like, and is not limited herein. According to the analysis result of the performance data in step S10, the primary key information of the performance data can be obtained.
步骤 S112、 判断主键信息是否已存在于内存数据库, 是则执行步骤 S113; 否则执行步骤 S114;  Step S112, determining whether the primary key information already exists in the in-memory database, if yes, executing step S113; otherwise, executing step S114;
该内存数据库均为每类性能对象的数据设置了独立的内存区, 而且每 块内存区由主键信息标识, 该主键信息与步骤 S 111中获取的主键信息的格 式是一致的。 根据步骤 S111获取的主键信息与内存区的主键信息进行比对, 判断步骤 S 111获取的主键信息是否已存在于内存数据库中。  The in-memory database sets a separate memory area for each type of performance object data, and each memory area is identified by primary key information, and the primary key information is consistent with the format of the primary key information obtained in step S111. The primary key information obtained in step S111 is compared with the primary key information in the memory area, and it is determined whether the primary key information acquired in step S111 is already present in the in-memory database.
步骤 S 113、 将性能数据存储于内存数据库中相应的存储区;  Step S113: Store performance data in a corresponding storage area in the in-memory database;
当判断步骤 S111获取的主键信息已存在于内存数据库中时, 则将该性 能数据存储于内存数据库中相应的存储区, 例如性能数据中关于 "失败次 数、 切换次数" 等需频繁的数据录入的次数类指标时, 则只需将已存在内 存数据库的主键信息对应的存储区内的值进行累加即可。  When it is determined that the primary key information acquired in step S111 is already present in the in-memory database, the performance data is stored in a corresponding storage area in the in-memory database, for example, the data entry requiring frequent data such as "number of failures, number of handovers" in the performance data. When the number of times indicator is used, it is only necessary to accumulate the values in the storage area corresponding to the primary key information of the existing in-memory database.
步骤 S114、 在内存数据库中建立新存储区, 将性能数据存储于新存储 区。 当判断步骤 S 111获取的主键信息不存在于内存数据库中时, 则在内存 数据库中建立新存储区, 将该性能数据存储于新存储区中, 并将该性能数 据的主键信息标识该新存储区。 Step S114: Establish a new storage area in the in-memory database, and store the performance data in the new storage area. When it is determined that the primary key information acquired in step S111 does not exist in the in-memory database, a new storage area is created in the in-memory database, the performance data is stored in the new storage area, and the primary key information of the performance data identifies the new storage. Area.
上述步骤 S11中在性能数据存储在内存数据库的相应存储区的过程中, 将实时监测内存数据库的存储空间, 当内存数据库的存储空间内存储的性 能数据的容量已经达到网管系统所设定的内存空间阔值, 则产生系统报警 信号, 并触发将内存数据库中的性能数据上传至网管系统数据库; 当网管 系统异常重启时, 读取相关时间段内系统数据库中的性能数据到内存数据 库中。  In the above step S11, in the process that the performance data is stored in the corresponding storage area of the in-memory database, the storage space of the in-memory database is monitored in real time, and the capacity of the performance data stored in the storage space of the in-memory database has reached the memory set by the network management system. If the space is wide, the system alarm signal is generated, and the performance data in the in-memory database is uploaded to the network management system database. When the network management system restarts abnormally, the performance data in the system database in the relevant time period is read into the in-memory database.
上述步骤 S 111之前还包括步骤: 从网管系统数据库中读取相关时间段 的性能数据, 更新至内存数据库中。 如此是为了在 OMC启动时, 可以使得 内存数据库中的数据与 OMC重新启动时的网管系统数据库中的数据保持一 致, 从而保证了数据的异常恢复。  The foregoing step S 111 further includes the steps of: reading performance data of the relevant time period from the network management system database, and updating to the in-memory database. In this way, when the OMC is started, the data in the in-memory database can be kept consistent with the data in the network management system database when the OMC is restarted, thereby ensuring abnormal recovery of data.
参照图 5 , 上述步骤 S12具体包括:  Referring to FIG. 5, the foregoing step S12 specifically includes:
步骤 S121、 当性能数据上报粒度到时, 将内存数据库中的性能数据生 成以性能对象为单位的文本文件;  Step S121: When performance data reporting granularity is reached, generating performance data in the in-memory database into a text file in units of performance objects;
生成的文本文件将以性能对象编号和性能数据釆集开始时间来命名并 存储在临时文件夹内, 如果文本文件出现重名时, 则直接将其替换覆盖。  The generated text file will be named with the performance object number and performance data collection start time and stored in the temporary folder. If the text file has a duplicate name, it will be replaced directly.
步骤 S122、 将文本文件上传至网管系统数据库, 并删除该文本文件。 遍历临时文件夹, 将该临时文件夹中所有的性能数据以性能对象为单 位进行批量上传至网管系统数据库中。 在此过程中, 可能会有些性能数据 无法成功上传, 因此性能数据无法上传的文本文件将存储于专家分析文件 夹, 然后再将临时文件夹中所有的文本文件删除。  Step S122: Upload the text file to the network management system database, and delete the text file. Traverse the temporary folder and upload all the performance data in the temporary folder to the network management system database in batches. During this process, some performance data may not be successfully uploaded, so text files that cannot be uploaded for performance data will be stored in the Expert Analysis folder, and then all text files in the temporary folder will be deleted.
图 6是本发明提出的一种网管性能非粒度数据快速存储的装置一实施 例的结构示意图。 本实施例网管性能非粒度数据快速存储的装置, 包括: FIG. 6 is a schematic structural diagram of an apparatus for quickly storing non-granular data of network management performance according to the present invention. The apparatus for quickly storing non-granular data in the network management performance of the embodiment includes:
性能对象规划模块 10, 用于对接收的性能数据进行解析, 确定所述性 能数据所归属的性能对象;  The performance object planning module 10 is configured to parse the received performance data, and determine a performance object to which the performance data belongs;
数据緩存模块 11 , 用于根据所述性能数据所归属的性能对象, 将所述 性能数据存储在内存数据库内相应的存储区;  The data cache module 11 is configured to store the performance data in a corresponding storage area in the in-memory database according to the performance object to which the performance data belongs;
数据上传模块 12 , 用于当性能数据上报粒度到时, 将内存数据库中的 性能数据上传至网管系统数据库。  The data uploading module 12 is configured to upload the performance data in the in-memory database to the network management system database when the performance data reporting granularity is reached.
本实施例改变了原有的性能数据的存储方法, 通过将性能数据在内存 数据库中按性能对象类型进行緩存, 当时间粒度到达时再将緩存在内存数 据库中的性能数据批量上传到系统数据库中, 从而将大量离散频繁的数据 库入库运算转移至内存中进行。 同时也占用较少的系统资源以及系统时间, 从而能够大大緩解 OMC系统以及数据库服务器的系统资源占用, 提高了系 统的效率与稳定性。  This embodiment changes the storage method of the original performance data, and caches the performance data in the in-memory database according to the performance object type, and uploads the performance data cached in the in-memory database to the system database when the time granularity arrives. Thus, a large number of discrete and frequent database inbound operations are transferred to the memory. At the same time, it also occupies less system resources and system time, which can greatly alleviate the system resource occupation of the OMC system and the database server, and improve the efficiency and stability of the system.
参照图 7, 上述性能对象规划模块 10具体包括:  Referring to FIG. 7, the foregoing performance object planning module 10 specifically includes:
解析单元 101 ,用于对接收的性能数据进行解析,获得性能数据的时间、 位置信息及功能码;  The parsing unit 101 is configured to parse the received performance data, obtain time, location information, and function code of the performance data;
性能对象确定单元 102, 用于根据功能码确定性能数据所归属的性能对 象。  The performance object determining unit 102 is configured to determine, according to the function code, a performance object to which the performance data belongs.
通过特定的消息流通机制从网元接收性能数据帧, 该接收接口可以包 括以太网或光纤等受保护的网络接口。 当接收到性能数据后, 解析单元 101 对其进行解析, 获取该性能数据的时间、 位置信息及其他的信息, 例如帧 编号、 帧长度、 记录长度、 记录个数、 开始时间、 结束时间、 系统号及功 能码等。 性能对象确定单元则根据解析单元 101解析性能数据获得的功能 码, 可以确定性能数据所归属的性能对象或性能对象集合。 在此需要说明 的是, 当该性能数据为失败原因类的性能数据时, 则需要通过功能码及性 能数据中的业务类型共同来确定该性能数据所归属的性能对象。 参照图 8, 上述性能对象规划模块 10还包括: The performance data frame is received from the network element through a specific message circulation mechanism, and the receiving interface may include a protected network interface such as Ethernet or optical fiber. After receiving the performance data, the parsing unit 101 parses the time data, the location information, and other information, such as the frame number, the frame length, the record length, the number of records, the start time, the end time, and the system. Number and function code, etc. The performance object determining unit may determine the performance object or the performance object set to which the performance data belongs according to the function code obtained by the parsing unit 101 parsing the performance data. It should be noted that when the performance data is the performance data of the failure cause class, the function code and the sex are required. The types of services in the data can be used together to determine the performance objects to which the performance data belongs. Referring to FIG. 8, the performance object planning module 10 further includes:
主键信息生成单元 103 , 用于根据性能数据的位置及时间信息, 生成主 键信息;  The primary key information generating unit 103 is configured to generate primary key information according to location and time information of the performance data;
主键信息判断单元 104, 用于根据主键信息判断, 判断该性能数据是否 有效; 是则丟弃该性能数据; 否则通过性能对象确定单元 102确定性能数据 所归属的性能对象;  The primary key information determining unit 104 is configured to determine, according to the primary key information, whether the performance data is valid; if yes, discard the performance data; otherwise, the performance object determining unit 102 determines the performance object to which the performance data belongs;
性能数据整合单元 105 , 用于将性能数据以性能对象为单位进行整合, 生成内存数据库可以识别的性能数据。  The performance data integration unit 105 is configured to integrate performance data in units of performance objects to generate performance data that can be recognized by the in-memory database.
该主键信息判断单元 104中判断性能数据是否有效的具体步骤如上述 方法的步骤 S104的详细描述。  The specific step of determining whether the performance data is valid in the primary key information judging unit 104 is as described in detail in step S104 of the above method.
参照图 9, 上述数据緩存模块 11具体包括:  Referring to FIG. 9, the data cache module 11 specifically includes:
主键信息获取单元 111 , 用于获取性能数据的主键信息;  a primary key information obtaining unit 111, configured to acquire primary key information of performance data;
存储位置判断单元 112, 用于判断所述主键信息是否已存在于内存数据 库;  The storage location determining unit 112 is configured to determine whether the primary key information already exists in the in-memory database;
存储单元 113 , 用于所述主键信息存在于内存数据库时, 则将所述性能 数据整合运算后存储于内存数据库中相应的存储区; 还用于所述主键信息 不存在于内存数据库时, 在内存数据库中建立新存储区, 将所述性能数据 存储于所述新存储区。  The storage unit 113 is configured to: when the primary key information is present in the in-memory database, store the performance data in a corresponding storage area in the in-memory database; and when the primary key information does not exist in the in-memory database, A new storage area is created in the in-memory database, and the performance data is stored in the new storage area.
内存数据库均为每类性能对象的数据设置了独立的内存区, 而且每块 内存区由主键信息标识, 该主键信息与主键信息获取单元 111中获取的主键 信息的格式是一致的。 根据主键信息获取单元 111获取的主键信息与内存区 的主键信息进行比对, 可以判断主键信息获取单元 111获取的主键信息是否 已存在于内存数据库中。  The in-memory database sets a separate memory area for each type of performance object data, and each memory area is identified by primary key information, and the primary key information is consistent with the format of the primary key information obtained by the primary key information obtaining unit 111. The primary key information acquired by the primary key information acquiring unit 111 is compared with the primary key information of the memory area, and it can be determined whether the primary key information acquired by the primary key information acquiring unit 111 already exists in the in-memory database.
当存储位置判断单元 112判断主键信息获取单元 111获取的主键信息已 存在于内存数据库中时, 存储单元 113则将该性能数据存储于内存数据库中 相应的存储区。 例如, 性能数据中关于 "失败次数、 切换次数" 等需频繁 的数据录入的次数类指标时, 则只需将已存在内存数据库的主键信息对应 的存储区内的值进行累加即可。 当存储位置判断单元 112判断主键信息获取 单元 111获取的主键信息不存在于内存数据库中时,存储单元 113则在内存数 据库中建立新存储区, 将该性能数据存储于新存储区中, 并将该性能数据 的主键信息标识该新存储区。 When the storage location determining unit 112 determines that the primary key information acquired by the primary key information acquiring unit 111 has been When present in the in-memory database, the storage unit 113 stores the performance data in a corresponding storage area in the in-memory database. For example, in the performance data, as for the number of times of frequent data entry, such as the number of failures and the number of times of switching, it is only necessary to accumulate the values in the storage area corresponding to the primary key information of the existing in-memory database. When the storage location determining unit 112 determines that the primary key information acquired by the primary key information acquiring unit 111 does not exist in the in-memory database, the storage unit 113 creates a new storage area in the in-memory database, stores the performance data in the new storage area, and The primary key information of the performance data identifies the new storage area.
上述存储单元 113还用于:  The above storage unit 113 is also used to:
当内存数据库的存储空间达到网管系统所设定的内存空间阔值, 产生 系统报警信号, 并触发将内存数据库中的性能数据上传至网管系统数据库; 当网管系统异常重启时, 将网管系统数据库中相关时间段内的非粒度 性能数据读取至内存数据库中。 为了在网管系统启动时, 可以使得内存数 据库中的数据与网管系统重新启动时的网管系统数据库中的数据保持一 致, 从而保证了数据的异常恢复。  When the storage space of the in-memory database reaches the threshold of the memory space set by the network management system, a system alarm signal is generated, and the performance data in the in-memory database is triggered to be uploaded to the network management system database; when the network management system is abnormally restarted, the network management system database is Non-granularity performance data during the relevant time period is read into the in-memory database. In order to ensure that the data in the memory database is consistent with the data in the network management system database when the network management system is restarted, the data recovery is ensured.
在性能数据存储在内存数据库的相应存储区的过程中, 存储单元 113将 实时监测内存数据库的存储空间, 当内存数据库的存储空间内存储的性能 数据的容量已经达到网管系统所设定的内存空间阔值, 则产生系统报警信 号, 并触发将内存数据库中的性能数据上传至网管系统数据库。  During the storage of the performance data in the corresponding storage area of the in-memory database, the storage unit 113 monitors the storage space of the in-memory database in real time, and the capacity of the performance data stored in the storage space of the in-memory database has reached the memory space set by the network management system. The threshold value generates a system alarm signal and triggers uploading performance data in the in-memory database to the network management system database.
参照图 10, 上述数据上传模块 12具体包括:  Referring to FIG. 10, the data uploading module 12 specifically includes:
数据导出单元 121 , 用于当性能数据上报粒度到时, 将内存数据库中的 性能数据生成以性能对象为单位的文本文件;  The data exporting unit 121 is configured to generate performance data in the in-memory database as a text file in units of performance objects when the performance data reporting granularity is reached;
数据入库单元 122 , 用于将所述文本文件上传至网管系统数据库, 并删 除所述文本文件。  The data storage unit 122 is configured to upload the text file to the network management system database, and delete the text file.
数据导出单元 121生成的文本文件将以性能对象编号和性能数据釆集 开始时间来命名并存储在临时文件夹内, 如果文本文件出现重名时, 则直 接将其替换覆盖。 The text file generated by the data export unit 121 will be named after the performance object number and the performance data collection start time and stored in the temporary folder, if the text file has a duplicate name, then Then replace it with the overlay.
数据入库单元 122则遍历临时文件夹, 将该临时文件夹中所有的性能 数据以性能对象为单位进行批量上传至网管系统数据库中。 在此过程中, 可能会有些性能数据无法成功上传, 因此性能数据无法上传的文本文件将 存储于专家分析文件夹, 然后再将临时文件夹中所有的文本文件删除。  The data storage unit 122 traverses the temporary folder, and uploads all the performance data in the temporary folder to the network management system database in units of performance objects. During this process, some performance data may not be successfully uploaded, so text files that cannot be uploaded by performance data will be stored in the Expert Analysis folder, and then all text files in the temporary folder will be deleted.
以上所述仅为本发明的优选实施例, 并非因此限制其专利范围, 凡是 利用本发明说明书及附图内容所作的等效结构或等效流程变换, 直接或间 接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。  The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the patents. The equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
1、 一种网管性能非粒度数据快速存储的方法, 其特征在于, 该方法包 括以下步骤:  A method for quickly storing non-granular data of network management performance, characterized in that the method comprises the following steps:
对接收的性能数据进行解析, 确定所述性能数据所归属的性能对象; 根据所述性能数据所归属的性能对象, 将所述性能数据整合运算后存 储在内存数据库内相应的存储区;  Determining the received performance data, determining the performance object to which the performance data belongs; storing the performance data in the corresponding storage area in the in-memory database according to the performance object to which the performance data belongs;
当性能数据上报粒度到时, 将内存数据库中的性能数据上传至网管系 统数据库。  When the performance data reporting granularity is reached, the performance data in the in-memory database is uploaded to the network management system database.
2、 根据权利要求 1所述的网管性能非粒度数据快速存储的方法, 其特 征在于, 所述对接收的性能数据进行解析, 确定所述性能数据所归属的性 能对象为:  The method for quickly storing non-granular data of network management performance according to claim 1, wherein the performance data is parsed to determine that the performance object to which the performance data belongs is:
对接收的性能数据进行解析, 获得性能数据的时间、 位置信息及功能 码;  Parsing the received performance data to obtain time, location information and function codes of the performance data;
根据功能码确定性能数据所归属的性能对象。  The performance object to which the performance data belongs is determined according to the function code.
3、 根据权利要求 2所述的网管性能非粒度数据快速存储的方法, 其特 征在于, 所述根据性能数据所归属的性能对象, 将所述性能数据整合运算 后存储在内存数据库内相应的存储区包括:  The method for rapidly storing non-granularity data of the network management performance according to claim 2, wherein the performance data is integrated into the corresponding storage in the in-memory database according to the performance object to which the performance data belongs. The area includes:
获取性能数据的主键信息;  Obtain primary key information of performance data;
判断所述主键信息是否已存在于内存数据库, 是则将所述性能数据整 合运算后存储于内存数据库中相应的存储区; 否则在内存数据库中建立新 存储区, 将所述性能数据存储于所述新存储区。  Determining whether the primary key information already exists in the in-memory database, if the performance data is integrated and stored in a corresponding storage area in the in-memory database; otherwise, a new storage area is created in the in-memory database, and the performance data is stored in the storage area. Describe the new storage area.
4、 根据权利要求 3所述的网管性能非粒度数据快速存储的方法, 其特 征在于, 所述根据性能数据所归属的性能对象, 将所述性能数据存储在内 存数据库内相应的存储区中包括:  The method for rapidly storing non-granular data of network management performance according to claim 3, wherein the performance data is stored in a corresponding storage area in the in-memory database according to the performance object to which the performance data belongs. :
当内存数据库的存储空间达到网管系统所设定的内存空间阔值时, 产 生系统报警信号, 并触发将内存数据库中的性能数据上传至网管系统数据 库; When the storage space of the in-memory database reaches the memory space set by the network management system, The system alarm signal is generated, and the performance data in the in-memory database is triggered to be uploaded to the network management system database;
当网管系统异常重启时, 读取相关时间段内系统数据库中的性能数据 到内存数据库中。  When the network management system restarts abnormally, the performance data in the system database in the relevant time period is read into the in-memory database.
5、 根据权利要求 1至 4任一项所述的网管性能非粒度数据快速存储的方 法, 其特征在于, 所述当性能数据上报粒度到时, 将内存数据库中的性能 数据上传至网管系统数据库的步骤包括:  The method for rapidly storing non-granular data of network management performance according to any one of claims 1 to 4, wherein, when the performance data reporting granularity is reached, the performance data in the in-memory database is uploaded to the network management system database. The steps include:
当性能数据上报粒度到时, 将内存数据库中的性能数据生成以性能对 象为单位的文本文件;  When the performance data reporting granularity is reached, the performance data in the in-memory database is generated into a text file in units of performance objects;
将所述文本文件上传至网管系统数据库, 并删除所述文本文件。  Upload the text file to the network management system database, and delete the text file.
6、 一种网管性能非粒度数据快速存储的装置, 其特征在于, 该装置包 括:  6. A device for quickly storing non-granular data of network management performance, characterized in that the device comprises:
性能对象规划模块, 用于对接收的性能数据进行解析, 确定所述性能 数据所归属的性能对象;  a performance object planning module, configured to parse the received performance data, and determine a performance object to which the performance data belongs;
数据緩存模块, 用于根据所述性能数据所归属的性能对象, 将所述性 能数据整合运算后存储在内存数据库内相应的存储区;  a data cache module, configured to store the performance data in a corresponding storage area in the in-memory database according to the performance object to which the performance data belongs;
数据上传模块, 用于当性能数据上报粒度到时, 将内存数据库中的性 能数据上传至网管系统数据库。  The data uploading module is configured to upload the performance data in the in-memory database to the network management system database when the performance data reporting granularity is reached.
7、 根据权利要求 6所述的网管性能非粒度数据快速存储的装置, 其特 征在于, 所述性能对象规划模块包括:  The device for quickly storing non-granular data of the network management performance according to claim 6, wherein the performance object planning module comprises:
解析单元, 用于对接收的性能数据进行解析, 获得性能数据的时间、 位置信息及功能码;  a parsing unit, configured to parse the received performance data, obtain time, location information, and function code of the performance data;
性能对象确定单元, 用于根据功能码确定性能数据所归属的性能对象。 And a performance object determining unit, configured to determine, according to the function code, a performance object to which the performance data belongs.
8、 根据权利要求 6所述的网管性能非粒度数据快速存储的装置, 其特 征在于, 所述数据緩存模块包括: 主键信息获取单元, 用于获取性能数据的主键信息; The apparatus for quickly storing non-granular data of the network management performance according to claim 6, wherein the data caching module comprises: a primary key information obtaining unit, configured to acquire primary key information of performance data;
存储位置判断单元, 用于判断所述主键信息是否已存在于内存数据库; 存储单元, 用于所述主键信息存在于内存数据库时, 则将所述性能数 据整合运算后存储于内存数据库中相应的存储区; 还用于所述主键信息不 存在于内存数据库时, 在内存数据库中建立新存储区, 将所述性能数据存 储于所述新存储区。  a storage location determining unit, configured to determine whether the primary key information already exists in the in-memory database; and a storage unit, configured to: when the primary key information exists in the in-memory database, store the performance data in an in-memory database The storage area is further configured to: when the primary key information does not exist in the in-memory database, establish a new storage area in the in-memory database, and store the performance data in the new storage area.
9、 根据权利要求 8所述的网管性能非粒度数据快速存储的装置, 其特 征在于, 所述存储单元还用于:  9. The apparatus of claim 8, wherein the storage unit is further configured to:
当内存数据库的存储空间达到网管系统所设定的内存存储空间阔值 时, 产生系统报警信号, 并触发将内存数据库中的性能数据上传至网管系 统数据库;  When the storage space of the in-memory database reaches the threshold of the memory storage space set by the network management system, a system alarm signal is generated, and the performance data in the in-memory database is triggered to be uploaded to the network management system database;
当网管系统异常重启时, 将网管系统数据库中相关时间段内的非粒度 性能数据读取至内存数据库中。  When the network management system restarts abnormally, the non-granularity performance data in the relevant time period of the network management system database is read into the in-memory database.
10、 根据权利要求 6至 9任一项所述的网管性能非粒度数据快速存储的 装置, 其特征在于, 所述数据上传模块包括:  The device for quickly storing non-granular data of the network management performance according to any one of claims 6 to 9, wherein the data uploading module comprises:
数据导出单元, 用于当性能数据上报粒度到时, 将内存数据库中的性 能数据生成以性能对象为单位的文本文件;  a data exporting unit, configured to generate, when the performance data reporting granularity is reached, a text file in a performance data unit in the performance data in the in-memory database;
数据入库单元, 用于将所述文本文件上传至网管系统数据库, 并删除 所述文本文件。  a data storage unit, configured to upload the text file to a network management system database, and delete the text file.
PCT/CN2011/071195 2010-11-29 2011-02-23 Method and device for storing network management performance non-granularity data rapidly WO2012071810A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010563920.6 2010-11-29
CN201010563920.6A CN102004783B (en) 2010-11-29 2010-11-29 Method and device for quickly storing network management performance non-granularity data

Publications (1)

Publication Number Publication Date
WO2012071810A1 true WO2012071810A1 (en) 2012-06-07

Family

ID=43812145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071195 WO2012071810A1 (en) 2010-11-29 2011-02-23 Method and device for storing network management performance non-granularity data rapidly

Country Status (2)

Country Link
CN (1) CN102004783B (en)
WO (1) WO2012071810A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853671B (en) * 2012-12-07 2018-03-02 北京百度网讯科技有限公司 A kind of data write-in control method and device
CN106326249B (en) * 2015-06-23 2021-08-03 中兴通讯股份有限公司 Data integration processing method and device
CN106407453A (en) * 2016-09-30 2017-02-15 郑州云海信息技术有限公司 Performance data management method and system
CN109101197A (en) * 2018-08-15 2018-12-28 郑州云海信息技术有限公司 A kind of file stores and accesses method, apparatus, file memory and system
CN110009110B (en) * 2019-03-19 2020-11-13 福建天晴数码有限公司 STN network optimization method based on UTXO-like library and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905498A (en) * 2006-07-31 2007-01-31 西安西电捷通无线网络通信有限公司 Method for collecting network performance data
CN101321089A (en) * 2008-07-07 2008-12-10 中兴通讯股份有限公司 Warehouse entry method of performance data in telecommunication network management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905498A (en) * 2006-07-31 2007-01-31 西安西电捷通无线网络通信有限公司 Method for collecting network performance data
CN101321089A (en) * 2008-07-07 2008-12-10 中兴通讯股份有限公司 Warehouse entry method of performance data in telecommunication network management system

Also Published As

Publication number Publication date
CN102004783B (en) 2015-01-28
CN102004783A (en) 2011-04-06

Similar Documents

Publication Publication Date Title
EP2160867B1 (en) Method of processing event notifications and event subscriptions
US9717011B2 (en) Event management in telecommunications networks
EP2563062B1 (en) Long connection management apparatus and link resource management method for long connection communication
US20150295807A1 (en) Manipulation of streams of monitoring data
CN111064634B (en) Method and device for monitoring mass Internet of things terminal online state
WO2012071810A1 (en) Method and device for storing network management performance non-granularity data rapidly
CN108259269A (en) The monitoring method and system of the network equipment
WO2016127884A1 (en) Message pushing method and device
CN111740868B (en) Alarm data processing method and device and storage medium
WO2014056345A1 (en) Management method and apparatus for monitoring task
CN113225339B (en) Network security monitoring method and device, computer equipment and storage medium
WO2021143483A1 (en) System maintenance method and apparatus, device, and storage medium
CN110929896A (en) Security analysis method and device for system equipment
CN102572747A (en) Method and system for monitoring junk short message
US10355866B2 (en) File reputation acquiring method, gateway device, and file reputation server
CN105893150B (en) Interface calling frequency control method and device and interface calling request processing method and device
CN106304122B (en) Business data analysis method and system
US9130827B2 (en) Sampling from distributed streams of data
JP2019169881A (en) Abnormal traffic analyzer, abnormal traffic analysis method and abnormal traffic analysis program
CN115473858A (en) Data transmission method and streaming data transmission system
CN114727241A (en) Method for improving short message group sending efficiency
WO2012045241A1 (en) Method and system for implementing user early-warning
CN112597354A (en) Method, device, system and storage medium for providing configuration parameters
CN110896545A (en) Online charging roaming fault positioning method, related device and storage medium
WO2024087692A1 (en) Device management method, and devices, system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11845670

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11845670

Country of ref document: EP

Kind code of ref document: A1