CN109388500A - A kind of processing method and system based on wireless measurement report MR - Google Patents

A kind of processing method and system based on wireless measurement report MR Download PDF

Info

Publication number
CN109388500A
CN109388500A CN201710682109.1A CN201710682109A CN109388500A CN 109388500 A CN109388500 A CN 109388500A CN 201710682109 A CN201710682109 A CN 201710682109A CN 109388500 A CN109388500 A CN 109388500A
Authority
CN
China
Prior art keywords
message
file
network element
measurement
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710682109.1A
Other languages
Chinese (zh)
Other versions
CN109388500B (en
Inventor
胡之才
王雷
樊永强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201710682109.1A priority Critical patent/CN109388500B/en
Publication of CN109388500A publication Critical patent/CN109388500A/en
Application granted granted Critical
Publication of CN109388500B publication Critical patent/CN109388500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a kind of processing method and system based on MR, the present invention is cooperated by each processor, and it is throughout managed by way of file stream and carries out data interaction between device and container, the processing speed of MR message is effectively promoted, the consumption for reducing system IO improves the performance of system.And, MR file handler is when merging with compression processing, it is no longer limited to that All Files are uniformly processed in some period, but when often detecting the compressed file for meeting report condition, it can be reported to server, to realize the reasonable and flexible utilization of resource, it improves resource utilization, therefore, under the conditions of resource constraint, the processing quantity for effectively increasing MR message, improves the treatment effeciency of MR system.

Description

A kind of processing method and system based on wireless measurement report MR
Technical field
The present embodiments relate to the communications field more particularly to it is a kind of based on wireless measurement report MR processing method and be System.
Background technique
Currently, main for the treatment process of MR (Measurement Report, wireless measurement report) in the prior art It is to obtain the MR measurement item report message file of multiple granularities in one cycle, and MR message file is downloaded and is solved Analysis, and MR Message Processing is carried out according to the configuration of database, to generate the file of MRO, MRE and MRS three types.Then, will The MR file that more granularities generate is respectively synthesized the MR file corresponding to this period according to type.Finally, the MR file is pressed respectively Contracting uploads to ftp server.Detailed process is as shown in Figure 1, in Fig. 1:
MR system gets multiple MR message files of network element upload, the corresponding survey of each MR message file within the period Measure granularity.MR system parses the MR message file, goes forward side by side after often getting the corresponding MR message file of a granularity Row MR Message Processing, to generate MRO subfile and/or MRE subfile and/or MRS subfile corresponding to the granularity.In the period Finish time, the N number of MR subfile (MRE, MRO, MRS) generated in MR this period of system statistics, and by all types of subfiles into Row synthesis, generates the MRO file for corresponding to the period and/or MRE file and/or MRS file.Then, MR system is to above-mentioned text Part merges, and generates the compression MRO file for corresponding to the period, compression MRE file, compression MRS file respectively, and will generate Compressed file be uploaded to ftp server.
It can be seen that unified synthesis and compression processing are carried out in end cycle in the prior art, when big in MR system When amount Network element object reports MR message simultaneously, then MR system will be merged, compress and be uploaded to a large amount of MR message simultaneously Process causes MR system resources consumption in the period very big.And MR system in the prior art is in processing MR message When, MR message is stored in hard disk, handling MR message will be read out every time from hard disk, consume a large amount of I/O resource and cpu resource.However, then MR system will will limit MR Message Processing quantity, thus lead due to the limitation of resource bottleneck Causing the treatment effeciency of entire MR system reduces.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present invention provides a kind of processing method based on wireless measurement report MR, to solve the prior art due to being Resource bottleneck of uniting limits, and leads to MR Message Processing limited amount, the low problem of the treatment effeciency of entire MR system.
To solve the above-mentioned problems, the invention discloses a kind of processing method based on wireless measurement report MR, the sides Method includes:
Configuration preprocesor formulates MR allocation list based on the configuration order received, and MR allocation list is sent to MR and is matched Container is set, so that MR dispensing containers store MR allocation list, the network element for there are one or more network elements is wherein recorded in allocation list Identification information and configuration information corresponding with each network element ID information;
Message file processor receives the MR message from network element, and the validity according to MR allocation list verifying MR message; If verification result be it is effective, according to the message identification information that MR message carries, what is had in message queue container multiple disappears It ceases inquiry in queue and corresponds to the target message queue of message identification information, and MR message is added in target message queue;
MR message handling device extracts MR message from target message queue, and carries out performance calculation processing according to MR message, And performance calculated result is placed in MR data capsule;
MR file handler extracts performance calculated result from MR data capsule, and merges place to performance calculated result Reason;And with the presence or absence of the compressed file corresponding to network element in detection MR file handler, and if it exists, then will be after merging treatment Performance calculated result be compressed to compressed file, and judge whether compressed file meets report condition;If so, by compressed file Report to server.
In a preferred embodiment of the invention, configuration preprocesor formulates MR based on the configuration order received The step of allocation list, specifically includes:
The network element ID information of all network elements present in configuration preprocesor searching system;
Configuration preprocesor extracts the network element ID of one or more specified network elements according to the configuration order received Information;And obtain the measurement type for corresponding to each network element ID information extracted and measurement type include one or More than one measurement item;
Measurement period and measurement granularity of the configuration preprocesor according to configuration order instruction, calculate and are wrapped in measurement period The multiple measurement particle size ranges included;
Configuration preprocesor is according to each network element ID information, corresponding measurement type and the measurement item that will be extracted and surveys Measure the corresponding write-in MR allocation list of particle size range, wherein further include message corresponding with each network element ID information in MR allocation list Status bar and measurement type completion status column.
In a preferred embodiment of the invention, the step of verifying the validity of MR message according to MR allocation list, tool Body includes:
Message file processor is by the network element ID information in the message identification information carried in MR message and MR allocation list It is matched with configuration information, wherein message identification information includes network element ID information, generates temporal information and measurement class Type information, configuration information include measurement particle size range, measurement type information;
If successful match, message file processor determines that MR message is effective.
In a preferred embodiment of the invention, the message identification information carried according to MR message, in message queue Inquiry corresponded to before the step of target message queue of message identification information in the multiple message queues having in container, into one Step includes:
MR message is downloaded in local memory by message file processor;And
Message file processor parses the MR message in local memory, and specific analyzing step includes:
The MR message in local memory is read, includes multiple measurement items in MR message, and multiple measurement items are expressed as two System format;
According to the configuration information for corresponding to target network element identification information in MR allocation list, one or one in MR message is extracted A measurement item specified above;
One or more specified measurement items of extraction are converted into the specified format that MR message handling device can be read.
In a preferred embodiment of the invention, the message identification information carried according to MR message, in message queue Inquiry corresponds to the step of target message queue of message identification information in the multiple message queues having in container, specific to wrap It includes:
Message file processor is inquired in multiple message queues to disappear with the presence or absence of the corresponding target with message identification information Cease queue;
If it does not exist, then message file processor is according to the queue division rule in message queue container, in message queue Target message queue is created in container;
Queue division rule, specifically includes:
It include multiple network element queues in message queue container, the quantity of multiple network element queues is equal to MR message handling device most Big number of threads;
It include multiple subnet member queues in each network element queue, each subnet member queue corresponds to a network element, and each The network element ID information of the corresponding network element of subnet member queue is present in MR allocation list;
It include multiple granularity queues in each subnet member queue, each granularity queue corresponds to a measurement in measurement period Granularity;
It include multiple message queues in each granularity queue, each message queue corresponds to a kind of measurement type.
In a preferred embodiment of the invention, performance calculated result is placed in MR data capsule by MR message handling device In step after, further comprise:
MR message handling device retrieves MR allocation list;
MR message handling device updates the message status column for corresponding to the network element ID information of network element in MR allocation list;
Correspondingly, further comprising after the step of compressed file is reported to server:
MR file handler retrieves MR allocation list;
MR file handler updates the measurement type completion status for corresponding to the network element ID information of network element in MR allocation list Column.
In a preferred embodiment of the invention, MR file handler extracts performance from MR data capsule and calculates knot The step of fruit, specifically includes:
MR file handler monitors MR data capsule in real time;
After listening to MR data capsule and receiving performance calculated result, MR file handler starts file destination and handles line Journey, and thread is handled by file destination and extracts performance calculated result from MR data capsule.
In a preferred embodiment of the invention, the step of processing being merged to performance calculated result, it is specific to wrap It includes:
Multiple performance indicator property merged into that processing will include in performance calculated result are merged to performance calculated result It can index file.
In a preferred embodiment of the invention, the step of whether compressed file meets report condition judged, specifically Include:
The quantity for the multiple sub- compressed files for including in MR file handler detection compressed file, wherein every height compression It include the corresponding performance calculated result of a measurement granularity in file, measurement granularity is that configuration preprocesor is set according to configuration order It sets;
MR file handler will correspond in the configuration information of network element in the quantity of multiple sub- compressed files and MR allocation list The quantity of multiple measurement particle size ranges matched;Wherein, multiple measurement particle size ranges are configuration preprocesor according to configuration Order setting;
If successful match, MR file handler determines that compressed file meets report condition.
According to another aspect of the present invention, the processing system of base wireless measurement report MR a kind of is provided, comprising: configuration is pre- Processor, message file processor, MR message handling device, MR file handler, and, the MR configuration being configured in memory is held Device, message queue container and MR data capsule;
Configuration preprocesor for formulating MR allocation list based on the configuration order received, and MR allocation list is sent to MR dispensing containers, so that MR dispensing containers store MR allocation list, wherein record has one or more network elements in allocation list Network element ID information and configuration information corresponding with each network element ID information;
Message file processor, for receiving the MR message from network element, and having according to MR allocation list verifying MR message Effect property;If verification result is message identification information effective, that foundation MR message carries, what is had in message queue container is more Inquiry corresponds to the target message queue of message identification information in a message queue, and MR message is added to target message queue In;
MR message handling device carries out performance calculating for extracting MR message from target message queue, and according to MR message Processing, and, performance calculated result is placed in MR data capsule;
MR file handler is carried out for extracting performance calculated result from MR data capsule, and to performance calculated result Merging treatment;And with the presence or absence of the compressed file corresponding to network element in detection MR file handler, and if it exists, will then merge Treated, and performance calculated result is compressed to compressed file, and judges whether compressed file meets report condition;If so, will pressure Contracting file reports to server.
Compared with prior art, it is cooperated in the present invention by each processor, and by way of file stream throughout Data interaction is carried out between reason device and container, the processing speed of MR message is effectively improved, reduces the consumption of system IO, mention The high performance of system.And MR file handler is no longer limited to when merging with compression processing in some period All Files are uniformly processed, but when often detecting the compressed file for meeting report condition, can to server into Row reports, to realize the reasonable and flexible utilization of resource, improves resource utilization, therefore, in resource constraint condition Under, the processing quantity of MR message is effectively increased, the treatment effeciency of MR system is improved.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the process flow diagram of the MR system in prior embodiment;
Fig. 2 is the MR system structure diagram in the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig. 2, a kind of structural block diagram of processing system based on wireless measurement report of the embodiment of the present invention is shown, In Fig. 2:
MR processing system includes: configuration preprocesor 10, message file processor 20, MR message handling device 30, MR file Processor 40, and, MR dispensing containers 50, message queue container 60 and the MR data capsule 70 being configured in memory.
Configuration preprocesor 10.Specifically, in an embodiment of the present invention, existing in 10 searching system of configuration preprocesor All network elements network element ID information, network element ID information be used for unique identification network element, can be NE ID, or net The IP address of member.Which is not limited by the present invention.
In an embodiment of the present invention, user Ke Tong triggers configuration order in the page that MR system provides, configuration life Instruction MR system network element to be dealt with, measurement period, particle size range is enabled to divide, to the finger in the MR message of each reported by network elements Determine measurement type to be handled.In an embodiment of the present invention, in whole network there are multiple MR systems and multiple network elements, one A MR system can be handled specified network element according to user configuration.It and include a variety of measurements in the MR message of reported by network elements Type includes again multiple measurement items in each measurement type, and therefore, user also needs to specify the MR system in processing net element When MR message, need to which measurement type and including measurement item handle.User's specified measurement period and granularity are drawn Point, it can be to be divided for 15 minutes by measurement granularity by a measurement period, such as one hour, then it can be by measurement period point For four measurement particle size ranges.Configuration preprocesor 10 receives the configuration order, and according to configuration order, extracts in all network elements One or more specified network elements network element ID information.And configuration preprocesor 10 is according to configuration order, acquisition pair One or more processed measurement items should be needed in the measurement type of each network element and each measurement type.It illustrates Bright: there are network element 1-100 in network.MR system 1 is configured as the MR message that processing net element 1-50 is reported, also, only handles MR The MRS and MRO type for including in message, wherein include measurement item A-E in MRS type, include measurement item in MRO type F-H, MR system 1 only handles F, G measurement item in A, B, C measurement item and MRO type in MRS measurement type.
In an embodiment of the present invention, configuration preprocesor 10 also need according to configuration order instruction measurement period and Granularity is measured, multiple measurement particle size ranges included in measurement period are calculated.For example: user indicates that measurement period is 1 Hour, measurement granularity is 15 minutes, then configuration preprocesor 10 calculates within 10. -11 point of current measurement cycle included Multiple measurement particle size ranges are as follows: 10:00-10:15,10:15-10:30,10:30-10:45,10:45-11:00.
Then, configuration preprocesor 10 is by the network element ID information extracted and measurement class corresponding with each network element Type and measurement item and the corresponding write-in MR allocation list of calculated measurement particle size range.Wherein, further include in MR allocation list with often The corresponding message status column of a network element ID information and measurement type completion status column.It is as shown in table 1:
In upper table, since space is limited to identify measurement item included in measurement type.Then, it is configured at processing The MR allocation list made is sent to MR dispensing containers 50 by device 10.
MR dispensing containers 50 receive and store MR allocation list.
Message file processor 20.Specifically, in an embodiment of the present invention, message file processor 20, which receives, comes from net The MR message of member.Firstly, message file processor 20 verifies the validity of MR message, specific verification step are as follows: at message file It manages device and reads file header in MR message, carry message identification information in this document head, message flag information includes but unlimited In: network element ID, message generate temporal information and measurement type information.Message file processor 20 is by above-mentioned identification information It is matched with the MR allocation list stored in MR dispensing containers 50.If all equal successful match of identification item, it is determined that successful match, If any label entry is not matched to corresponding object, it fails to match.In the case where successful match, message file processor 20 Determine that MR message is effective.If it is determined that it is invalid, then abandon the MR message.To be effectively guaranteed MR message uniqueness, effectively Property and consistency.
In an embodiment of the present invention, message file processor 20 downloads the MR in the case where determining the effective situation of MR message Message.Specifically, message file processor 20 caches MR message into memory, to replace that the side of hard disk is written in traditional approach Formula, to reduce IO consumption by way of not rule, improve resource utilization ratio.
In an embodiment of the present invention, message file processor 20 parses the MR message in memory.Specific parsing Step are as follows: read the MR message in local memory, include multiple measurement items in MR message, and multiple measurement items be expressed as two into Format processed.According to the configuration information for corresponding to target network element identification information in MR allocation list, one or one in MR message is extracted A measurement item specified above.One or more specified measurement items of extraction are converted into the finger that MR message handling device can be read Fix formula.
Then, message file processor 20 is according to the message identification information carried in MR message, query messages queue container It whether there is corresponding message queue in 60.
Specifically, in an embodiment of the present invention, there are multiple message queues in message queue container 60, message queue Division rule is as follows:
60 include multiple network element queues in message queue container, and the quantity of multiple network element queues is equal to MR message handling device Maximum thread amount;
It include multiple subnet member queues in each network element queue, each subnet member queue corresponds to a network element, and each The network element ID information of the corresponding network element of subnet member queue is present in MR allocation list;
It include multiple granularity queues in each subnet member queue, each granularity queue corresponds to a measurement in measurement period Granularity;
It include multiple message queues in each granularity queue, each message queue corresponds to a kind of measurement type.
Therefore, when MR message handling device 30 handles the message in the queue in message queue container 60, pass through The packet mode can make each network element queue get impartial processor meeting to the full extent.
In an embodiment of the present invention, if message file processor 20 is inquired in the presence of the mesh for corresponding to message identification information Message queue is marked, then the MR message after parsing is placed in the tail portion of target message queue.If it does not exist, then message handling device 20 is pressed Target message queue is created in message queue container 60 according to above-mentioned queue division rule.And message file processor 20 is also The message status column for corresponding to the network element ID information of the network element in MR allocation list will be updated.In one embodiment, Ke Yibiao It is denoted as and has received.
MR message handling device 30.Specifically, in an embodiment of the present invention, due to the network element team in message queue container 60 Number of columns is created according to the maximum thread of MR message handling device 30, and therefore, MR message handling device 30 can be according to currently The network element number of queues of creation starts corresponding Message Processing thread, has passed through Message Processing thread in each network element queue Message is handled.
Specifically, in an embodiment of the present invention, MR of the MR message handling device 30 after extracting parsing in message queue disappears Breath, and performance calculation processing is carried out to the MR message after parsing.Specifically, MR message handling device 30 can disappear for the MR after parsing It ceases, that is, the numerical value in each measurement item of the N for including calculates corresponding performance index value.Then, MR message handling device 30 is by performance Calculated result is placed in MR data capsule 70, and discharges the Message Processing thread, to effectively save the utilization of resource, realizes money The dynamic allocation in source.Meanwhile MR message handling device 30 updates the measurement for corresponding to the network element ID information of network element in MR allocation list The corresponding message status column of the corresponding particle size range of type.In one embodiment, it can be labeled as processed.
MR data capsule 70 receives and stores the performance calculated result.
MR file handler 40.Specifically, in an embodiment of the present invention, MR file handler 40 monitors MR data in real time Container.After listening to MR data capsule and receiving performance calculated result, MR file handler startup file handles thread, and leads to It crosses this document processing thread and extracts performance calculated result from MR data capsule.And MR file handler 40 passes through this document Processing thread merges performance calculated result, specifically, as described above, in performance calculated result including that multiple performances refer to Mark, MR file handler 40 is by the corresponding multiple performances of a measurement particle size range under the same measurement type of the same network element Index merges into a performance indicator file.Then, MR file handler 40 detects current with the presence or absence of corresponding to the network element Compressed file.If it exists, then by performance indicator file appending into the compressed file.If it does not exist, then directly the performance is referred to Mark file is compressed.Network element ID is equally carried in compressed file, generates the identification informations such as time, measurement type.And MR file handler 40 detects whether compressed file meets report condition.Specifically, including multiple sub- compressions in compressed file File carries out compressed file for each performance indicator file.Therefore, MR file handler 40 can be compressed by inquiry The quantity for the sub- compressed file for including in file, to determine whether to meet report condition.For example: if measurement period is 1 small When, measurement granularity is 15 minutes, then includes 4 measurement particle size ranges in a measurement period.Therefore, it should be wrapped in compressed file Include the corresponding compression subfile of 4 particle size ranges.
In an embodiment of the present invention, MR file handler 40 is after the completion of each compression processing, releasing document processing Thread.To further save resource occupation, resource utilization is promoted.And MR file handler 40 reports compressed file Later, the measurement type completion status column for corresponding to the network element ID information of network element in MR allocation list is updated.In one embodiment In, it can be identified as and be completed.
In addition, in a preferred embodiment of the invention, each processor can be examined before handling message Network element ID information corresponding with the message and configuration information (measurement type, measurement granularity) message status in rope MR allocation list Column and completion status column, to guarantee the consistency of message, to avoid reprocessing.
Therefore, the technical solution in the embodiment of the present invention is cooperated by each processor, and by way of file stream It throughout manages between device and container and carries out data interaction, effectively improve the processing speed of MR message, reduce system IO's Consumption, improves the performance of system.And MR file handler is no longer limited to when merging with compression processing at certain All Files are uniformly processed in a period, but when often detecting the compressed file for meeting report condition, Ji Kexiang Server is reported, to realize the reasonable and flexible utilization of resource, is improved resource utilization, therefore, in resource Under restrictive condition, the processing quantity of MR message is effectively increased, the treatment effeciency of MR system is improved.
To sum up, in one embodiment, it the present invention provides a kind of processing method based on MR, specifically includes:
Configuration preprocesor formulates MR allocation list based on the configuration order received, and MR allocation list is sent to MR and is matched Container is set, so that MR dispensing containers store MR allocation list, the network element for there are one or more network elements is wherein recorded in allocation list Identification information and configuration information corresponding with each network element ID information;
Message file processor receives the MR message from network element, and the validity according to MR allocation list verifying MR message; If verification result be it is effective, according to the message identification information that MR message carries, what is had in message queue container multiple disappears It ceases inquiry in queue and corresponds to the target message queue of message identification information, and MR message is added in target message queue;
MR message handling device extracts MR message from target message queue, and carries out performance calculation processing according to MR message, And performance calculated result is placed in MR data capsule;
MR file handler extracts performance calculated result from MR data capsule, and merges place to performance calculated result Reason;And with the presence or absence of the compressed file corresponding to network element in detection MR file handler, and if it exists, then will be after merging treatment Performance calculated result be compressed to compressed file, and judge whether compressed file meets report condition;If so, by compressed file Report to server.
In a preferred embodiment of the invention, configuration preprocesor formulates MR based on the configuration order received The step of allocation list, specifically includes:
The network element ID information of all network elements present in configuration preprocesor searching system;
Configuration preprocesor extracts the network element ID of one or more specified network elements according to the configuration order received Information;And obtain the measurement type for corresponding to each network element ID information extracted and measurement type include one or More than one measurement item;
Measurement period and measurement granularity of the configuration preprocesor according to configuration order instruction, calculate and are wrapped in measurement period The multiple measurement particle size ranges included;
Configuration preprocesor is according to each network element ID information, corresponding measurement type and the measurement item that will be extracted and surveys Measure the corresponding write-in MR allocation list of particle size range, wherein further include message corresponding with each network element ID information in MR allocation list Status bar and measurement type completion status column.
In a preferred embodiment of the invention, the step of verifying the validity of MR message according to MR allocation list, tool Body includes:
Message file processor is by the network element ID information in the message identification information carried in MR message and MR allocation list It is matched with configuration information, wherein message identification information includes network element ID information, generates temporal information and measurement class Type information, configuration information include measurement particle size range, measurement type information;
If successful match, message file processor determines that MR message is effective.
In a preferred embodiment of the invention, the message identification information carried according to MR message, in message queue Inquiry corresponded to before the step of target message queue of message identification information in the multiple message queues having in container, into one Step includes:
MR message is downloaded in local memory by message file processor;And
Message file processor parses the MR message in local memory, and specific analyzing step includes:
The MR message in local memory is read, includes multiple measurement items in MR message, and multiple measurement items are expressed as two System format;
According to the configuration information for corresponding to target network element identification information in MR allocation list, one or one in MR message is extracted A measurement item specified above;
One or more specified measurement items of extraction are converted into the specified format that MR message handling device can be read.
In a preferred embodiment of the invention, the message identification information carried according to MR message, in message queue Inquiry corresponds to the step of target message queue of message identification information in the multiple message queues having in container, specific to wrap It includes:
Message file processor is inquired in multiple message queues to disappear with the presence or absence of the corresponding target with message identification information Cease queue;
If it does not exist, then message file processor is according to the queue division rule in message queue container, in message queue Target message queue is created in container;
Queue division rule, specifically includes:
It include multiple network element queues in message queue container, the quantity of multiple network element queues is equal to MR message handling device most Big number of threads;
It include multiple subnet member queues in each network element queue, each subnet member queue corresponds to a network element, and each The network element ID information of the corresponding network element of subnet member queue is present in MR allocation list;
It include multiple granularity queues in each subnet member queue, each granularity queue corresponds to a measurement in measurement period Granularity;
It include multiple message queues in each granularity queue, each message queue corresponds to a kind of measurement type.
In a preferred embodiment of the invention, performance calculated result is placed in MR data capsule by MR message handling device In step after, further comprise:
MR message handling device retrieves MR allocation list;
MR message handling device updates the message status column for corresponding to the network element ID information of network element in MR allocation list;
Correspondingly, further comprising after the step of compressed file is reported to server:
MR file handler retrieves MR allocation list;
MR file handler updates the measurement type completion status for corresponding to the network element ID information of network element in MR allocation list Column.
In a preferred embodiment of the invention, MR file handler extracts performance from MR data capsule and calculates knot The step of fruit, specifically includes:
MR file handler monitors MR data capsule in real time;
After listening to MR data capsule and receiving performance calculated result, MR file handler starts file destination and handles line Journey, and thread is handled by file destination and extracts performance calculated result from MR data capsule.
In a preferred embodiment of the invention, the step of processing being merged to performance calculated result, it is specific to wrap It includes:
Multiple performance indicator property merged into that processing will include in performance calculated result are merged to performance calculated result It can index file.
In a preferred embodiment of the invention, the step of whether compressed file meets report condition judged, specifically Include:
The quantity for the multiple sub- compressed files for including in MR file handler detection compressed file, wherein every height compression It include the corresponding performance calculated result of a measurement granularity in file, measurement granularity is that configuration preprocesor is set according to configuration order It sets;
MR file handler will correspond in the configuration information of network element in the quantity of multiple sub- compressed files and MR allocation list The quantity of multiple measurement particle size ranges matched;Wherein, multiple measurement particle size ranges are configuration preprocesor according to configuration Order setting;
If successful match, MR file handler determines that compressed file meets report condition.
In another preferred embodiment, the present invention also provides a kind of base wireless measurement report MR processing system, It include: configuration preprocesor, message file processor, MR message handling device, MR file handler, and, it is configured in memory In MR dispensing containers, message queue container and MR data capsule;
Configuration preprocesor for formulating MR allocation list based on the configuration order received, and MR allocation list is sent to MR dispensing containers, so that MR dispensing containers store MR allocation list, wherein record has one or more network elements in allocation list Network element ID information and configuration information corresponding with each network element ID information;
Message file processor, for receiving the MR message from network element, and having according to MR allocation list verifying MR message Effect property;If verification result is message identification information effective, that foundation MR message carries, what is had in message queue container is more Inquiry corresponds to the target message queue of message identification information in a message queue, and MR message is added to target message queue In;
MR message handling device carries out performance calculating for extracting MR message from target message queue, and according to MR message Processing, and, performance calculated result is placed in MR data capsule;
MR file handler is carried out for extracting performance calculated result from MR data capsule, and to performance calculated result Merging treatment;And with the presence or absence of the compressed file corresponding to network element in detection MR file handler, and if it exists, will then merge Treated, and performance calculated result is compressed to compressed file, and judges whether compressed file meets report condition;If so, will pressure Contracting file reports to server.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit requires, abstract and attached drawing) disclosed in each feature can be by providing identical, equivalent, or similar purpose alternative features come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice In the acquisition equipment of microprocessor or digital signal processor (DSP) to realize wireless capability according to an embodiment of the present invention The some or all functions of some or all components.The present invention is also implemented as executing method as described herein Some or all device or device programs (for example, computer program and computer program product).Such reality Existing program of the invention can store on a computer-readable medium, or may be in the form of one or more signals. Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or in any other forms It provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
A kind of processing method and system based on MR provided by the present invention is described in detail above, is answered herein With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair Bright limitation.

Claims (10)

1. a kind of processing method based on wireless measurement report MR characterized by comprising
Configuration preprocesor formulates MR allocation list based on the configuration order received, and the MR allocation list is sent to MR and is matched Set container so that the MR dispensing containers store the MR allocation list, wherein in the allocation list record have one or one with The network element ID information of upper network element and configuration information corresponding with each network element ID information;
Message file processor receives the MR message from network element, and verifies the effective of the MR message according to the MR allocation list Property;If verification result be it is effective, according to the MR message carry message identification information, have in message queue container Inquiry corresponds to the target message queue of the message identification information in multiple message queues, and the MR message is added to institute It states in target message queue;
MR message handling device extracts the MR message from the target message queue, and carries out performance meter according to the MR message Calculation processing, and, performance calculated result is placed in MR data capsule;
MR file handler extracts the performance calculated result from the MR data capsule, and to the performance calculated result into Row merging treatment;And it detects with the presence or absence of the compressed file corresponding to the network element in the MR file handler, if depositing The performance calculated result after merging treatment is then being compressed to the compressed file, and whether judge the compressed file Meet report condition;If so, the compressed file is reported to server.
2. the method according to claim 1, wherein the configuration preprocesor is based on the configuration life received The step of enabling, formulating MR allocation list, specifically includes:
The network element ID information of all network elements present in the configuration preprocesor searching system;
The configuration preprocesor extracts the network element ID of one or more specified network elements according to the configuration order received Information;And obtain the measurement type for corresponding to each network element ID information extracted and the measurement type include one A or more than one measurement item;
The measurement period and measurement granularity that the configuration preprocesor is indicated according to the configuration order, calculate in measurement period Included multiple measurement particle size ranges;
The configuration preprocesor according to by each network element ID information, corresponding measurement type and the measurement item of the extraction, with And the corresponding write-in MR allocation list of measurement particle size range, wherein further include in the MR allocation list and each network element ID is believed Cease corresponding message status column and measurement type completion status column.
3. the method according to claim 1, wherein described verify the MR message according to the MR allocation list The step of validity, specifically includes:
The message file processor is by the network element in the message identification information carried in the MR message and the MR allocation list Identification information is matched with configuration information, wherein the message identification information includes network element ID information, generates time letter Breath and measurement type information, the configuration information include measurement particle size range, measurement type information;
If successful match, the message file processor determines that the MR message is effective.
4. the method according to claim 1, wherein the message identifier letter carried according to the MR message It ceases, inquiry corresponds to the target message team of the message identification information in the multiple message queues having in message queue container Before the step of column, further comprise:
The MR message is downloaded in local memory by the message file processor;And
The message file processor parses the MR message in local memory, and specific analyzing step includes:
The MR message in local memory is read, includes multiple measurement items in the MR message, and multiple measurement items indicate For binary format;
According to the configuration information for corresponding to the target network element identification information in the MR allocation list, one in MR message is extracted Or more than one specified measurement item;
One or more specified measurement items of extraction are converted into the specified format that the MR message handling device can be read.
5. the method according to claim 1, wherein the message identifier letter carried according to the MR message It ceases, inquiry corresponds to the target message team of the message identification information in the multiple message queues having in message queue container The step of column, specifically includes:
The message file processor is inquired in the multiple message queue with the presence or absence of the corresponding and message identification information Target message queue;
If it does not exist, then the message file processor is according to the queue division rule in the message queue container, described The target message queue is created in message queue container;
The queue division rule, specifically includes:
It include multiple network element queues in the message queue container, the quantity of the multiple network element queue is equal at the MR message Manage the maximum thread amount of device;
It include multiple subnet member queues, the corresponding network element of each subnet member queue, and each subnet in each network element queue The network element ID information of the corresponding network element of first queue is present in the MR allocation list;
It include multiple granularity queues in each subnet member queue, each granularity queue corresponds to a measurement grain in measurement period Degree;
It include multiple message queues in each granularity queue, each message queue corresponds to a kind of measurement type.
6. the method according to claim 1, wherein performance calculated result is placed in MR by the MR message handling device After step in data capsule, further comprise:
The MR message handling device retrieves the MR allocation list;
The MR message handling device updates the message status in the MR allocation list corresponding to the network element ID information of the network element Column;
Correspondingly, further comprising after the described the step of compressed file is reported to server:
The MR file handler retrieves the MR allocation list;
The MR file handler updates the measurement type in the MR allocation list corresponding to the network element ID information of the network element Completion status column.
7. the method according to claim 1, wherein the MR file handler is mentioned from the MR data capsule The step of taking the performance calculated result, specifically includes:
The MR file handler monitors the MR data capsule in real time;
After listening to the MR data capsule and receiving the performance calculated result, the MR file handler starting target text Part handles thread, and handles thread by the file destination and extract the performance calculated result from the MR data capsule.
8. the method according to claim 1, wherein described merge processing to the performance calculated result Step specifically includes:
Processing is merged to the performance calculated result to merge the multiple performance indicators for including in the performance calculated result For performance indicator file.
9. judging whether the compressed file meets report condition the method according to claim 1, wherein described The step of, it specifically includes:
The MR file handler detects the quantity for the multiple sub- compressed files for including in the compressed file, wherein every height In compressed file include the corresponding performance calculated result of a measurement granularity, the measurement granularity for the configuration preprocesor according to According to configuration order setting;
The MR file handler will correspond to the network element in the quantity of the multiple sub- compressed file and the MR allocation list Configuration information in the quantity of multiple measurement particle size ranges matched;Wherein, the multiple measurement particle size range is described Configuration preprocesor is arranged according to the configuration order;
If successful match, the MR file handler determines that the compressed file meets the report condition.
10. it is a kind of based on wireless measurement report MR processing system, which is characterized in that the system comprises configuration preprocesor, Message file processor, MR message handling device, MR file handler, and, it is configured in MR dispensing containers in memory, message Queue container and MR data capsule;
The configuration preprocesor for formulating MR allocation list based on the configuration order received, and the MR allocation list is sent out MR dispensing containers are given, so that the MR dispensing containers store the MR allocation list, wherein record has one in the allocation list Or network element ID information and the configuration information corresponding with each network element ID information of more than one network element;
The message file processor verifies the MR for receiving the MR message from network element, and according to the MR allocation list The validity of message;If verification result be it is effective, according to the MR message carry message identification information, message queue hold Inquiry corresponds to the target message queue of the message identification information in the multiple message queues having in device, and the MR is disappeared Breath is added in the target message queue;
The MR message handling device, for extracting the MR message from the target message queue, and according to the MR message Performance calculation processing is carried out, and, performance calculated result is placed in MR data capsule;
The MR file handler, for extracting the performance calculated result from the MR data capsule, and to the performance Calculated result merges processing;And it detects in the MR file handler with the presence or absence of the compression corresponding to the network element File, and if it exists, the performance calculated result after merging treatment is then compressed to the compressed file, and judges the compression Whether file meets report condition;If so, the compressed file is reported to server.
CN201710682109.1A 2017-08-10 2017-08-10 Processing method and system based on wireless Measurement Report (MR) Active CN109388500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710682109.1A CN109388500B (en) 2017-08-10 2017-08-10 Processing method and system based on wireless Measurement Report (MR)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710682109.1A CN109388500B (en) 2017-08-10 2017-08-10 Processing method and system based on wireless Measurement Report (MR)

Publications (2)

Publication Number Publication Date
CN109388500A true CN109388500A (en) 2019-02-26
CN109388500B CN109388500B (en) 2020-10-23

Family

ID=65415368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710682109.1A Active CN109388500B (en) 2017-08-10 2017-08-10 Processing method and system based on wireless Measurement Report (MR)

Country Status (1)

Country Link
CN (1) CN109388500B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749129A (en) * 2019-10-30 2021-05-04 大唐移动通信设备有限公司 File processing method, file processing server, file aggregation server and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090262682A1 (en) * 2008-04-18 2009-10-22 Amit Khetawat Method and Apparatus for Transport of RANAP Messages over the Iuh Interface in a Home Node B System
CN102571451A (en) * 2012-02-16 2012-07-11 大唐移动通信设备有限公司 Network element and method for uploading MR (Measure Report) messages by network element
CN103607731A (en) * 2013-11-28 2014-02-26 大唐移动通信设备有限公司 Method and device for processing measurement reports

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090262682A1 (en) * 2008-04-18 2009-10-22 Amit Khetawat Method and Apparatus for Transport of RANAP Messages over the Iuh Interface in a Home Node B System
CN102571451A (en) * 2012-02-16 2012-07-11 大唐移动通信设备有限公司 Network element and method for uploading MR (Measure Report) messages by network element
CN103607731A (en) * 2013-11-28 2014-02-26 大唐移动通信设备有限公司 Method and device for processing measurement reports

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749129A (en) * 2019-10-30 2021-05-04 大唐移动通信设备有限公司 File processing method, file processing server, file aggregation server and device
CN112749129B (en) * 2019-10-30 2024-03-19 大唐移动通信设备有限公司 File processing method, file processing server, file aggregation server and device

Also Published As

Publication number Publication date
CN109388500B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN110784419B (en) Method and system for visualizing professional railway electric service data
CN107948314B (en) Business processing method and device based on rule file and server
EP2873983B1 (en) Trace-data processing and profiling device
CN112800095B (en) Data processing method, device, equipment and storage medium
US8954928B2 (en) Version labeling in a version control system
CN109726004B (en) Data processing method and device
JP7069173B2 (en) A system that prepares network traffic for fast analysis
CN104077328B (en) The operation diagnostic method and equipment of MapReduce distributed system
US10069779B2 (en) Method of hybrid message passing with shared memory
US11494409B2 (en) Asynchronously processing sequential data blocks
JP7247217B2 (en) Clearing and reconciliation methods, equipment and computer equipment
CN107391528B (en) Front-end component dependent information searching method and equipment
CN110377356B (en) Task processing method, device and system and computer readable storage medium
CN104679884B (en) Data analysing method, device and the system of database
CN111273891A (en) Business decision method and device based on rule engine and terminal equipment
CN109271290A (en) A kind of method, apparatus and storage device monitoring thread utilization rate
US20130167124A1 (en) Detection of custom parameters in a request url
CN108370324B (en) Distributed database operation data tilt detection
CN109240802A (en) request processing method and device
CN109388500A (en) A kind of processing method and system based on wireless measurement report MR
CN110427278A (en) Method for detecting abnormality and device
CN110188297A (en) Resource information methods of exhibiting calculates equipment and computer storage medium
CN109815113A (en) Test method and server based on Jmeter platform
CN109032787A (en) A kind of method for allocating tasks and device
CN111177100B (en) Training data processing method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant