Background technology
Mobile wireless network optimization is that the wireless network that is moving is carried out parameter acquisition and data analysis, finds out the reason that influences network running quality, and makes network reach the process of optimal operational condition by parameter adjustment or some technological means.Driver test system is the most frequently used in the radio network optimization, and it carries out the test of wireless network parameter and speech quality by instruments such as testing software, testing mobile phone, electronic chart, GPS and testing vehicles; Emphasis shows that the various measurement parameters of front and back take place for the place of switching, gravity treatment, call drop and incident; And show information such as signaling decoding message, network coverage situation, average speech quality, switching times.Driver test system is analyzed test data in real time, and abnormal conditions are marked, and also can preserve into test file and utilize background system to carry out analyzing and processing.
The foundation that driver test system carries out the analysis of wireless network ruuning situation mainly comprises parameter and signaling.Parameter is the air interface radio frequency parameter that testing mobile phone reports, and the radio-frequency (RF) index of monitoring operation is carried out statistical analysis to the radio frequency situation of the whole network.Signaling message is meant the 3rd layer of signaling, also claim the wave point signaling message, communication process between mobile phone and the wireless access network intactly can be showed, the state that alternately reflects current communication in up-downgoing, thereby simplified analytical procedure, helped improving the efficient of the network optimization network condition.Flow processs such as the paging of testing mobile phone, authentication, encryption, channel assignment, switching, measurement report, position renewal can both reflect that these message have great important to the network optimization by signaling message.In addition, driver test system produces the state that events corresponding message is described current network or testing mobile phone by the analysis to signaling process and radio frequency parameter.There is some general criterion in industry to the judgement of incident, the condition that the tester also can utilize driver test system setting incident to produce, and driver test system will generate events corresponding message automatically when the situation that satisfies condition in the test process produces.
In the drive test process, testing mobile phone can report a large amount of signaling messages, and driver test system not only needs fast these signaling messages to be decoded and analyzing and processing, for example: produce event message, judge operation flow, control testing mobile phone operations etc. also will show and store these message in real time.In addition, in order to make tester's situation of monitoring network operation better, driver test system also needs to provide the various operating functions of signaling or event message, for example: to message be configured, filter, search, preserve, mark etc., for analysis current or the follow-up data file is provided convenience.Wherein the demonstration of signaling or incident and filtering function thereof are one of functions of driver test system signaling or the realization of event view emphasis.Filtration and the recovery of carrying out signaling or incident in real time can make the tester clearly judge the operation and the failure condition thereof of network.
In existing driver test system, signaling or event message often need carry out the work of Memory Allocation or copy when showing and handle, the operation more complicated; And prolongation along with the test process time, signaling or event message constantly increase, system resource takies also just increasing, and size how to control signaling or event message well can make driver test system show that in real time with the relative newer information of storage be crucial again.
Summary of the invention
Purpose of the present invention just is to overcome the shortcoming and defect that prior art exists, and display system and the filtration and the restoration methods of a kind of signaling or incident is provided.
The object of the present invention is achieved like this:
The present invention is primarily aimed at signaling or the event message in the drive test software, in the specific memory mode, finishes the flexible demonstration of message, and finishes the filtration and the restore funcitons of demonstration according to the type of signaling or event message.
1, the display system of signaling or incident
Native system is made up of memory module, display module and operational module;
The order that memory module is responsible for reporting according to testing mobile phone is stored as the information specific file with signaling or event message, and sets up various concordance lists;
Display module is responsible for showing by the mode that reports order with tabulation the main contents of current signaling or event message, shows the details of certain bar signaling or event message, and provides action button or option to trigger various operating functions;
Operational module is responsible for finishing various operation, comprises filtering function, locating function, hold function and the configuration feature of signaling or event message.
2, the operation principle of display system
Driver test system has all defined a Record ID (Identity, identification code) for every test data, test data of this Record ID unique identification, and these data comprise parameter message, signaling message, event message or service message; The message that testing mobile phone reports is at first imported into signaling or incident memory module, memory module is responsible for upgrading the message file and the various concordance list of signaling or incident, comprises signaling or incident displayed record ID tabulation, types index table and Record ID and document location concordance list; Memory module notice display module upgrades signaling or the event message in the window tabulation then; Display module reads the displayed record ID tabulation of signaling in the memory module or event message, and the main contents that the position of inquiring about this message place message file according to Record ID obtains required signaling or event message show; The operating function that display module provides action button or option to be used to trigger signaling or event message, operational module are received and are read signaling or the event information file in the memory module after the notice of display module and inquire about the relative index table and carry out various operating functions; The tabulation that memory module can notify display module to upgrade signaling or incident again after operating function was finished shows; The tupe that the display system of this signaling or incident adopts that message shows, storage and operation separate, signaling or the original sophisticated functions of incident is independent, improved effectively system treatment effeciency, reduced taking of system resource.
3, filtration and restoration methods
Filtering function is according to the type of signaling or incident in the filtration configuration message that satisfies type condition in the display module to be deleted from display list; Restore funcitons then is the anti-process of filtering, and signaling or the event type that originally filtered out recovered to be shown in the display list according to the order that originally reported again.
Filter and recover to show and all need the at first signaling or the event type of selection needs in display module, then according to the types index table in these type inquiry memory modules, and the Record ID tabulation of obtaining all signalings or the incident of selected type correspondence, filter accordingly or recovery operation.
1) filter method
Filter method is the types index table in the inquiry memory module, the sign that whether filters in the types index table is carried out set, and the Record ID tabulation of obtaining the type correspondence, with Record ID deletion from displayed record ID tabulation that needs filter, notify display module to upgrade the window tabulation at last.Display module is according to displayed record ID list query Record ID and document location concordance list, and in conjunction with the message file of signaling or incident, signaling or event message after filtering shown.
2) restoration methods
Restoration methods is the types index table in the inquiry memory module, the sign that whether filters in the types index table resetted, and the tabulation of the Record ID of query type correspondence, these Record IDs are merged in the displayed record ID tabulation.These Record IDs need carry out union operation in order, and this process has two kinds of processing modes: mode one, take out the Record ID value successively, and in displayed record ID tabulation, carry out binary search, find the position that is fit to insertion, insert operation; Mode two is directly tabulated backmost or foremost interpolation Record ID value at displayed record ID, and tabulation is sorted to displayed record ID then.Memory module is finished and is merged the tabulation demonstration that back notice display module upgrades signaling or incident, display module is tabulated according to displayed record ID, query note ID and document location concordance list, and in conjunction with the message file of signaling or incident, signaling or event message after upgrading are shown.
The present invention has following advantage and good effect:
The present invention separates demonstration, storage and the operation of signaling or event message, set up the relative index table of signaling or event message, various concordance lists and message file by inquiry signaling or incident, instant data display mode in conjunction with display module, finish the filtration and the restore funcitons of signaling or incident effectively, improved the efficient and the correctness of message operation.
Embodiment
Below in conjunction with drawings and Examples to the detailed description of the invention.
One, the display system of signaling or incident
As Fig. 1, native system is made up of memory module 110, display module 120 and operational module 130;
Testing mobile phone message is advanced the display system of signaling or incident by memory module 110 inputs;
Memory module 110 will need content displayed to report order and certain form to be saved as signaling or event information file 111 according to mobile phone in signaling or the event message, and sets up associated concordance list: comprise signaling or incident displayed record ID tabulation 112, signaling or event type concordance list 113 and signaling or logout ID and document location concordance list 114;
Display module 120 is responsible for utilizing displayed record ID tabulation (112), Record ID and message file location index table (114) and the message file (111) in the memory module to carry out the dynamic demonstration of signaling or list of thing (121); Display module 120 also provides certain bar signaling or incident details to show 122, comprises the decoded information of signaling or the concrete data of incident; Display module 120 also is used for the various operating functions that the tester controls signaling or incident for operational module 130 provides the action button of signaling or incident or option one 23;
Operational module 130 is responsible for carrying out the various operating functions of signaling or event display system, comprises filtering function 131, locating function 132, hold function 133 and configuration feature 134; Operational module 130 carries out these action needs and reads or revise relative index table in the memory module 110, and the interface display of back by memory module 110 notice display modules, 120 renewal signalings or list of thing 121 finished in operation.
1, memory module 110
As Fig. 1, memory module 110 comprises signaling or event information file 111, signaling or incident displayed record ID tabulation 112, signaling or event type concordance list 113 and signaling or logout ID and document location concordance list 114;
Memory module 110 is received the message that testing mobile phone reports, according to reporting order to need content displayed to be recorded as signaling or event information file 111 signaling or incident, the signaling or the event message that have comprised all receptions in this message file 111 are not promptly considered the situation of filtering; Driver test system identifies every message with Record ID, and memory module 110 utilizes Message Record ID to set up different concordance lists with signaling or event type, offers display module 120 and operational module 130 and finishes its function separately; All need the Record ID of display message in signaling or the incident displayed record ID tabulation 112 record display systems; Signaling or event type concordance list 113 are stored signaling or event types and whether are filtered sign, and all Record IDs tabulations of record corresponding types; Signaling or logout ID and document location concordance list 114 are mapped the Record ID of every signaling or event message and the position in its place message file 111 one by one; These three concordance lists are in use interrelated, and are auxiliary each other, finish the demonstration and the various operating function thereof of signaling or incident effectively.
As shown in Figure 2, comprise three kinds of concordance lists in the memory module 110: signaling or incident displayed record ID tabulation 112, signaling or event type concordance list 113 and signaling or logout ID and document location concordance list 114.
1) signaling or incident displayed record ID tabulation 112
All signalings that signaling or the incident displayed record ID tabulation 112 sequential storage display systems that report according to testing mobile phone need show or the Record ID value of event message.,
This tabulation can reflect the demonstration situation of signaling or list of thing, and certain bar Record ID of inquiry can obtain the position of this message in display list in this tabulation, and the size of this tabulation is signaling or list of thing shows 121 length.
2) signaling or event type concordance list 113
Signaling or event type concordance list 113 are to be keyword with signaling or event type, whether storage the type filters all signalings of sign and the type correspondence or the Record ID tabulation of event message, this concordance list is a kind of contingency table, keyword is the type of signaling or incident, types value is defined by display system, and whether association store the type filters and corresponding Record ID tabulation in the table.
Signaling or event type concordance list 113 are used for searching of signaling or incident and filter operation, and operational module 130 is inquired about the Record ID value that this concordance list just can obtain all signalings under the corresponding types or event message according to the signaling or the event type of input.
3) signaling or logout ID and document location concordance list 114
Signaling or logout ID and document location concordance list 114 are record signaling or the Record ID of event message and the incidence relation between this message place signaling or event information file 111 positions; This table is contingency table, and the keyword in the table is a Record ID, and related storage data are the offset of this Record ID in signaling or event information file 111.
Just can index the position of this message in signaling or event information file 111 by query note ID, read this message file and be displaced to the displaying contents that the document location of being inquired about just can access signaling or list of thing; This concordance list is mainly used in display module 120 information of carrying out and shows; Signaling or incident display module 120 are used in combination displayed record ID tabulation 112 and Record ID with document location concordance list 114 can carry out the demonstration of message easily and flexibly.
2, display module 120
As Fig. 1, display module 120 by signaling or list of thing show 121, signaling or incident details show 122 and signaling or event action button or option one 23 form;
Signaling or list of thing show that 121 is main contents of display module 120, it shows according to the order stepping from top to bottom that testing mobile phone reports in the mode of tabulation, signaling or list of thing may comprise a lot of pages or leaves, can slide page by scroll bar, current display page then always shows up-to-date reporting message.Display module 120 dynamically changes the demonstration situation of signaling or list of thing according to the capacity of signaling in the memory module 110 or incident displayed record ID tabulation 112.Display module 120 real-time inquiry signaling or logout ID and document location concordance lists 114 read signaling or event information file 111 contents are carried out the demonstration of signaling or list of thing.Signaling or incident details show that 122 are responsible for showing the details of certain bar signaling or incident, as the decoded information of signaling or the concrete data of incident.In addition, display module 120 also provides the operation entry of operational module 130, promptly provides corresponding action button or option one 23 to be used for the tester operating function of signaling or incident is controlled.Different operations provides different buttons to control, and needs input to search the type and the corresponding button of click of message as locating function 132; Configuration feature 134 needs to select color or other configuration informations of signaling or event type correspondence.
3, operational module 130
As Fig. 1, operational module 130 is responsible for finishing various operation, comprises signaling or event filtering function 131, locating function 132, hold function 133 and configuration feature 134;
Filtering function 131 is responsible for signaling that the tester is chosen or event type and is filtered from signaling or list of thing or recover demonstration; Locating function 132 is responsible for searching signaling or the event type that the tester chooses in signaling or list of thing; Hold function 133 is responsible for all signalings or the event content that show in signaling or the list of thing are preserved into discernible data file in order, and this function helps tester's labor signaling or incident flow process; Configuration feature 134 provides the configuration to signaling or event message Show Color or other information.Operational module 130 is operated according to the relative index table of memory module 120, upgrades signaling or list of thing demonstration by memory module 110 notice display modules 120 after operation is finished.
4, the workflow of display system
As Fig. 3, the workflow of display system comprises the following steps:
The 1st step 301: beginning;
The 2nd step 302: display system is received signaling or the event message that testing mobile phone reports;
The 3rd step 303: read the content of message, the main contents of extracting the Record ID of message and needing to show as above call time, the network information, type of message, transmission direction;
The 4th step 304: the displaying contents of signaling or incident is write signaling or event information file 111, and upgrade Record ID and document location concordance list 114, the Record ID of current message and the offset of writing information file are added in this concordance list;
The 5th step 305: whether signaling or the event type of inquiring about this message exist in signaling or event type concordance list 113, if exist then current record ID be increased in the Record ID tabulation of corresponding types, otherwise the type of newly-increased this signaling or incident and fill in and whether filter sign and corresponding Record ID value;
The 6th step 306: judge according to the type of signaling or event message whether this message shows, if do not show promptly and to filter then enter the 8th step 308, otherwise this message need show promptly not filter and then enters the 7th step 307;
The 7th step 307: the Record ID of this message is added in the displayed record ID tabulation 112;
The 8th step 308: finish the processing of memory module;
The 9th step 309: memory module notice display module upgrades signaling or list of thing shows 121;
The 10th step 310: display module reads the displayed record ID tabulation 112 in the memory module, judges whether current record ID shows, needs to show then to enter the 11st step 311, otherwise enters the 13rd step 313;
The 11st step 311:, obtain the document location skew and, obtain the displaying contents of message according to this skew inquiry signaling or event information file 111 according to current record ID query note ID and document location concordance list 114;
The 12nd step 312: refresh signaling or list of thing demonstration 121 according to displaying contents;
The 13rd step 313: finish to show workflow.
Two, filtration and restoration methods
1, filter method
As Fig. 4, filter method comprises the following steps:
The 1st step 401: beginning;
The 2nd step 402: the tester passes through signaling or event action button or option one 23 and need to select the signaling or the event type of filtration, and clicks corresponding button triggering filtering function;
The 3rd step 403: the type that display module will need to filter passes to operational module and notice is carried out filter operation;
The 4th step 404, signaling or event type concordance list 113 in the operational module inquiry memory module, with the filtration flag set of these types in the concordance list, and all Record ID tabulations of obtaining these type correspondences;
The 5th step 405: all Record ID values that operational module will inquire are deleted from displayed record ID table 112;
The 6th step 406: operational module notice display module upgrades signaling or list of thing shows 121;
The 7th step 407: display module reading displayed Record ID tabulation 112 shows in conjunction with signaling or event information file 111 refresh lists;
The 8th step 408: filtering function is finished, end process.
2, restoration methods
As Fig. 5, restoration methods comprises the following steps:
The 1st step 501: beginning;
The 2nd step 502: the tester is by the signaling or the event type of signaling or event action button or option one 23 selection recovery demonstrations, and the click corresponding button triggers the recovery Presentation Function;
The 3rd step 503: display module will need signaling or the event type notifying operation module 130 recovering to show;
The 4th step 504: signaling or event type concordance list 113 in the operational module inquiry memory module reset the filtration sign of these types, and obtain the Record ID tabulation of these type correspondences;
The 5th step 505: all Record ID values that will inquire merge in the displayed record ID tabulation 112 in order, and the mode of merging has two kinds:
One adopts and searches algorithm, extracts the Record ID that inquires is searched insertion in displayed record ID tabulation 112 position successively, is inserted into after finding in this displayed record ID tabulation;
Its two, adopt sort algorithm, all Record IDs that will inquire earlier be inserted into displayed record ID tabulation 112 backmost or the foremost, then sort algorithm is carried out in new displayed record ID tabulation, make this tabulation arrange according to the size order of Record ID;
The 6th step 506: operational module notice display module upgrades signaling or list of thing shows 121;
The 7th step 507: display module shows in conjunction with signaling or event information file 111 refresh lists according to displayed record ID tabulation 112;
The 8th step 508: finish the recovery Presentation Function, end process.