The storage of drive test data of mobile communication system and call method
Technical field
The present invention relates to the access method of drive test data of mobile communication system, particularly storage and the call method of drive test data of mobile communication system in hard disc of computer or internal memory.
Background technology
The drive test of mobile communication system be meant that wireless network is set up the back or in the operation process communication quality to network detect, wireless terminal receives the various data of automatic network, can find the problem that network exists intuitively by drive test software and backstage analysis software, and according to test result network is optimized, finally improve the communication quality of network.The driver test system of mobile communication system generally includes wireless terminal, drive test software and three parts of backstage analysis software.Wherein, one of drive test software major function is that the storage and calling in hard disc of computer and internal memory manages to the drive test data that collects in the drive test process.Owing in the drive test process, not only need to store or call a large amount of drive test datas, and, store or to call frequency higher.Therefore, drive test data storage or the speed called directly have influence on the speed and the effect of drive test.
In order to guarantee can to store and call drive test data easily and accurately in the drive test process, in internal memory, defined a hard disk index, adopt the storage of hard disk index road test data and call to manage.The hard disk index includes the relevant information of data storage cell, as: sequence number, terminal number, data type and the file storage address in hard disk etc.In addition, also defined a bi-directional list in the internal memory with certain storage capacity.So-called bi-directional list comes down to the drive test data tabulation of storing respectively according to terminal number and data type, and the drive test data of same type, same terminal number is arranged from small to large, is stored in the bi-directional list according to sequence number.Because bi-directional list is to be defined in the internal memory, therefore, storage in the bi-directional list and reading rate are greater than hard disk.Usually, the data storage cell in internal memory or the hard disk is referred to as memory node.Because the memory capacity of bi-directional list is subjected to the restriction of memory size, so, the memory node quantity of bi-directional list is limited, bi-directional list is just corresponding with a part of node that the hard disk index is identified, and whole nodes that the hard disk index is identified all can be corresponding with all memory nodes on the hard disk.In the drive test process, wireless terminal obtains packet and packet is recombinated and split from network side, the message that makes it to become an expression independent meaning (for example: connection request message), after by validity check (whether promptly detect is valid data), this drive test data is kept on the hard disk node, store in the corresponding bi-directional list node in the internal memory according to the type of this drive test data and terminal number then, and increase a corresponding record at hard disk index afterbody.Because the memory node number of bi-directional list is limited, after the memory node storage of bi-directional list is full, when having new drive test data to deposit in again, bi-directional list will be deleted the drive test data of oldest stored (being that memory node of sequence number minimum) from bi-directional list, new drive test data will arrive corresponding bi-directional list afterbody according to terminal number and the type stores of oneself, equally, increase a corresponding record at hard disk index afterbody.This shows, drive test data may be stored on the hard disk node simultaneously and bi-directional list in, and in the hard disk index, set up a corresponding record; Also may only be stored on the hard disk node, and in the hard disk index, set up a corresponding record.When the user need call the data of storage, the first memory node position by this data place of hard disk indexed search was if in bi-directional list then directly call from internal memory, if not in bi-directional list then call from hard disk.
In addition, a data message list box is arranged on the user interface of drive test software, this list box has write down the information that begins all drive test datas of receiving to the current time terminal from test, comprising: sequence number and message name etc.Obviously, the quantity of data message list box data information displayed is limited, along with data message constantly increases, the data message of listing in the list box is with roll display, the up-to-date a limited number of drive test data information that deposit in will be presented in the list box, and the drive test data information that slightly before deposits in will can not be presented in the list box.For this reason, drive test software is provided with the screen locking function, and after the user chose the screen locking function, list box can stop to roll, and the user can check all data messages by the slider bar on the pulling list box.(usually, a certain item number in the data message list box that the user is selected it is believed that breath is called current point of observation when a certain item number in user's selected data information list frame it is believed that breath.In the data message list box, select the operation of point of observation to be called arbitrarily the user and get an observation), the data content that this point of observation identified can be shown in the message parse frame, and in view of the above, the user can check the content of this drive test data.
Be not difficult to find out that the storage and the call method of prior art drive test data have the following disadvantages:
1, in test process or behind EOT, in the time of need calling drive test data, must call by the hard disk index.Obviously, when storage more for a long time, the hard disk index will be longer, retrieval hard disk index will expend the plenty of time, thereby influences testing efficiency and effect.
2, when the user getting when observing, if new point of observation and the former point of observation residing position span of selecting in the information list frame is little, but still needs to retrieve the hard disk index and show the drive test data content.Obviously, this retrieval mode will produce adverse influence to the efficient and the effect of driver test system.
Summary of the invention
For solving storage and the existing efficient of call method and all relatively poor problem of effect of prior art drive test data, the present invention proposes a kind of storage and call method of drive test data of mobile communication system.The storage of drive test data of mobile communication system of the present invention and call method adopt the internal memory index that the data of bi-directional list storage are managed, and adjust the drive test data that bi-directional list is stored according to data message chosen in the data message list box.Adopt the storage of drive test data of mobile communication system of the present invention and call method can be earlier the less and speed retrieval and call drive test data in the scope faster in the part, retrieval and call drive test data in four corner again.Have, the inventive method is adjusted the drive test data of being stored in the bi-directional list according to selecteed data message in the data message list box again, the efficient and the effect that have improved the drive test data retrieval and called.
The storage of drive test data of mobile communication system of the present invention and call method adopt the internal memory index that the drive test data of bi-directional list storage is managed, and adjust the drive test data that bi-directional list is stored according to data message chosen in the data message list box.
The storage of drive test data of mobile communication system of the present invention and call method adopt the internal memory index that the drive test data of bi-directional list storage is managed, comprise: the item of internal memory index is corresponding with the bi-directional list memory node, a memory node of the corresponding bi-directional list of each index entry, and along with corresponding change is made in the increase and the deletion of the drive test data of storing in the bi-directional list.
The content of the storage of drive test data of mobile communication system of the present invention and call method internal memory index also comprises position and this memory node the positional value in hard disk index list of memory node in bi-directional list except that comprising sequence number, terminal number and the data type identical with the hard disk index.
The storage of drive test data of mobile communication system of the present invention and call method are adjusted the drive test data that bi-directional list is stored according to data message chosen in the data message list box, comprise: with selecteed data message in the data message list box is the center, with ± P is that the drive test data that bi-directional list is stored is adjusted on the border, wherein: P=m * a%, in the formula, m is a bi-directional list maximum data memory node quantity, and a% is the internal memory resize ratio, and value is 10%-50%.
The storage of drive test data of mobile communication system of the present invention and call method are the center with data message chosen in the data message list box, with ± P is that the drive test data that bi-directional list is stored is adjusted on the border, comprise: after the screen locking function is chosen, internal memory index and bi-directional list just no longer increase index entry and storage data, and be initial center point with the pairing memory node sequence number of that index entry that is positioned at internal memory index center this moment, P the memory node sequence number that increase progressively and successively decrease, forming quantity is the memory node scope of 2P; Behind selected New Observer point from the data message list box, if this memory node sequence number is in aforementioned 2P scope, then directly from the internal memory index, retrieve this New Observer and put pairing memory node, from bi-directional list, this memory node is read, and the drive test data content that pairing memory node is put in New Observer is shown in the message parse frame, internal memory index and bi-directional list are not adjusted; If this memory node sequence number is not in aforementioned 2P scope, the first pairing memory node of retrieving novel point of observation in the internal memory index then, as do not retrieve, in the hard disk index, retrieve again, and the drive test data content that pairing memory node is put in New Observer is shown in the message parse frame; Putting pairing memory node sequence number with the New Observer that retrieves again is central point, with ± a m/2 node ID is that the border forms new internal memory index range, to not be present in new internal memory index range and be present in the drive test data deletion of storing in the index entry of former internal memory index range and the corresponding bi-directional list thereof, will be present in new internal memory index range and the pairing drive test data of index entry that is not present in former internal memory index range is read and deposit in the bi-directional list and increase the index entry of this part drive test data at the afterbody of internal memory index from hard disk; Behind the selected once more New Observer point of data message list box, operate successively according to abovementioned steps; Wherein: P=m * a%, m are bi-directional list maximum data memory node quantity, and a% is the internal memory resize ratio, and value is 10%-50%.
The adjustment that the drive test data that the storage of drive test data of mobile communication system of the present invention and call method are stored bi-directional list according to data message chosen in the data message list box carries out is set to lowest priority, promptly only system's free time, just adjust and constantly monitoring system whether new operation is arranged, as occur new operation, adjust immediately and suspend, treat to begin again to adjust after system's free time.
The adjustment that the drive test data that the storage of drive test data of mobile communication system of the present invention and call method are stored bi-directional list according to data message chosen in the data message list box carries out is just carried out under the chosen situation of screen locking function, if not selected screen locking function, then only the chosen drive test data content that data message identified is presented in the message parse frame, and the drive test data of bi-directional list not being stored is adjusted.
Description of drawings:
Accompanying drawing 1 is the schematic diagram of the storage of prior art drive test data of mobile communication system and call method hard disk index, bi-directional list and hard disc data node;
Accompanying drawing 2 is storage means step schematic diagrames of prior art drive test data of mobile communication system;
Accompanying drawing 3 is schematic diagrames of drive test data of mobile communication system storage of the present invention and call method hard disk index, internal memory index, bi-directional list and hard disc data node;
Accompanying drawing 4 is step schematic diagrames of the storage means of drive test data of mobile communication system of the present invention;
Accompanying drawing 5 is corresponding relation schematic diagrames of drive test data of mobile communication system storage of the present invention and call method hard disk index and internal memory index;
Accompanying drawing 6 is drive test data of mobile communication system storage of the present invention and the hard disk index of call method and the content schematic diagram of internal memory index;
Accompanying drawing 7 is schematic diagrames that drive test data that drive test data of mobile communication system of the present invention storage and call method New Observer point internal memory index and bi-directional list in the 2P scope are stored is not adjusted;
Accompanying drawing 8 is schematic diagrames that drive test data that drive test data of mobile communication system of the present invention storage and call method New Observer point internal memory index and bi-directional list not in the 2P scope but in the internal memory index range are stored is adjusted;
Accompanying drawing 9 is schematic diagrames that drive test data of mobile communication system storage of the present invention and call method New Observer point are not adjusted at the 2P scope drive test data that internal memory index and bi-directional list are not stored in the internal memory index range yet.
Be further described below in conjunction with the storage and the call method of drawings and the specific embodiments drive test data of mobile communication system of the present invention.
Accompanying drawing 1 is the schematic diagram of the storage of prior art drive test data of mobile communication system and call method hard disk index, bi-directional list and hard disc data node.As seen from the figure, the storage of management drive test data and the hard disk index that calls are defined within the internal memory, and the hard disk index includes the relevant information of data storage cell, as: sequence number, terminal number, data type and the file storage address in hard disk etc.In addition, also defined a bi-directional list in the internal memory, so-called bi-directional list comes down to the drive test data tabulation of storing respectively according to terminal number and data type, and the drive test data of same type, same terminal number is arranged from small to large, is stored in the bi-directional list according to sequence number.Usually, the data storage cell in internal memory or the hard disk is referred to as memory node.
Accompanying drawing 2 is storage means step schematic diagrames of prior art drive test data of mobile communication system.As seen from the figure, in the drive test process, wireless terminal obtains packet and packet is recombinated and split from network side, the message that makes it to become an expression independent meaning (for example: connection request message), after by validity check (whether promptly detect is valid data), this drive test data is kept on the hard-disc storage node, type and terminal number according to this drive test data stores in the memory node of the corresponding bi-directional list in the internal memory then, and increases a corresponding record at hard disk index afterbody.This shows that a drive test data may both be stored on the hard disk, be stored in the bi-directional list again, and in the hard disk index, set up a corresponding record.Because the memory capacity of bi-directional list is subjected to the restriction of memory size, so, the memory node quantity of bi-directional list is limited, after the memory node storage of bi-directional list is full, when having new drive test data to deposit in again, bi-directional list will be deleted the drive test data of early stage storage (being that memory node of sequence number minimum) from bi-directional list, new drive test data will arrive corresponding bi-directional list afterbody according to terminal number and the type stores of oneself, simultaneously, increase a corresponding record at hard disk index afterbody.When the user need call the data of storage, the first memory node position by this data place of hard disk indexed search was if in bi-directional list then directly call from internal memory, if not in bi-directional list then call from hard disk.Along with the continuous increase of drive test data, the hard disk index will constantly increase, and system will retrieve in long hard disk index when the user need call data, will expend the plenty of time, thereby influence testing efficiency and effect.In addition, when the user getting when observing, if new point of observation and the former point of observation residing position span of selecting in the information list frame is little, but still needs to retrieve the hard disk index and show the drive test data content.Obviously, this retrieval mode will satisfy the need and test efficient and the effect generation adverse influence of testing.
Specific embodiment 1:
Accompanying drawing 3 is schematic diagrames of drive test data of mobile communication system storage of the present invention and call method hard disk index, internal memory index, bi-directional list and hard disc data node.As seen from the figure, drive test data of mobile communication system storage of the present invention and call method have increased an internal memory index that is defined in the internal memory outside the hard disk index, and with this drive test data of storing in bi-directional list are managed.In the present embodiment, the memory node quantity of bi-directional list is m.Accompanying drawing 4 is the storage of drive test data of mobile communication system of the present invention and the step schematic diagram of call method.As seen from the figure, begin the initial stage at drive test, drive test data both had been kept on the hard-disc storage node, is stored in again in the bi-directional list node, and all increases a corresponding record in hard disk index and internal memory index.After the bi-directional list storage is full, when having new drive test data to deposit in again, at first data are saved on the hard-disc storage node, increase a corresponding record at hard disk index afterbody, bi-directional list will be deleted the drive test data of early stage storage (being that memory node of sequence number minimum) from bi-directional list then, and new drive test data will arrive corresponding bi-directional list afterbody according to terminal number and the type stores of oneself.Simultaneously, the internal memory index also will be left out the index entry of the drive test data of deleted early stage storage, and the index entry of new drive test data is increased to internal memory index afterbody.Obviously, the internal memory index is corresponding one by one with the memory node of bi-directional list, and bi-directional list is corresponding with a part of hard-disc storage node that the hard disk index is identified, and the hard disk index all can be corresponding with the memory node on the hard disk.Accompanying drawing 5 is the storage of drive test data of mobile communication system of the present invention and the corresponding relation schematic diagram of call method hard disk index and internal memory index.As seen from the figure, in order to keep being connected between internal memory index and the hard disk index, the content of internal memory index also comprises position and this memory node the positional value in hard disk index list of memory node in bi-directional list except that comprising sequence number, terminal number and the data type identical with the hard disk index.Accompanying drawing 6 is storage and the hard disk index of call method and content schematic diagrames of internal memory index of drive test data of mobile communication system of the present invention.
The user needs frequent selection point of observation to observe in actual drive test test.When the storage of drive test data of mobile communication system of the present invention and call method are frequently selected point of observation the user, in the internal memory index, retrieve earlier, if the index entry of the drive test data that New Observer point identified is in the internal memory index, system will directly call from bi-directional list; If the index entry of the drive test data that New Observer point identified is not in the internal memory index, system will retrieve in the hard disk index and call from corresponding hard-disc storage node.Because the internal memory index is more much smaller than the length of hard disk index, so the time that the time ratio of retrieving in the internal memory index is retrieved in the hard disk index is a lot of less.According to the process of aforementioned internal memory index and bi-directional list storage as can be known, the drive test data of being stored in internal memory index and the bi-directional list all is the up-to-date data that receive in the actual drive test test.And the invoked frequency of the up-to-date data that receive is the highest in actual drive test test, and therefore, the possibility of the index entry of the drive test data that New Observer point identified in the internal memory index is higher.Call data with prior art all needs to retrieve from the hard disk index at every turn, calls in hard-disc storage node or the bi-directional list and compares, and the storage of drive test data of mobile communication system of the present invention and call method can effectively improve the effect and the efficient of drive test test.
Specific embodiment 2:
Accompanying drawing 7 is the storage of drive test data of mobile communication system of the present invention and call method New Observer point schematic diagrames that the data of internal memory index and bi-directional list storage are not adjusted in the 2P scope.The value of internal memory resize ratio a% is 20% in the present embodiment, with the positive central point sequence number of internal memory index be the center with ± a P sequence number is the border, wherein: P=m * a%, m is a bi-directional list maximum data memory node quantity, forming quantity is the memory node scope of 2P, and promptly quantity is 40% memory node scope.Present embodiment New Observer point is in the 2P scope, can from the internal memory index, retrieve the memory node that New Observer point identifies, can directly from bi-directional list, read the memory node content and be shown in the message parse frame, and internal memory index and bi-directional list do not need to adjust.Obviously, the value of internal memory resize ratio a% can be 10%-50%.
Specific embodiment 3:
Accompanying drawing 8 is the storage of drive test data of mobile communication system of the present invention and call method New Observer point schematic diagrames that the drive test data of internal memory index and bi-directional list storage is adjusted not in the 2P scope but in the internal memory index range.As seen from the figure, the value of internal memory resize ratio a% is 20% in the present embodiment, with the positive central point sequence number of internal memory index be the center with ± a P sequence number is the border, wherein: P=m * a%, m is a bi-directional list maximum data memory node quantity, forming quantity is the memory node scope of 2P, and promptly quantity is 40% memory node scope.New Observer point is not in the 2P scope but in the internal memory index range, also promptly this back end is kept in the bi-directional list.System will continue to retrieve in the internal memory index failing at the 2P range retrieval behind the data memory node that New Observer point identified.After retrieving the data memory node that New Observer point identifies, directly from bi-directional list, read the memory node content and be shown in the message parse frame.But, because New Observer point is not in the 2P scope, so need adjust to the drive test data of internal memory index and bi-directional list storage, promptly with the node ID of new observation station be the center with ± a m/2 sequence number is that new internal memory index range is determined on the border, to not be present in new internal memory index range and be present in the drive test data deletion of storing in the index entry of former internal memory index range and the corresponding bi-directional list thereof, will be present in new internal memory index range and the pairing drive test data of index entry that is not present in former internal memory index range is read and deposit in the bi-directional list and increase the index entry of this part drive test data at the afterbody of internal memory index from hard disk; Wherein: P=m * a%, m are bi-directional list maximum data memory node quantity, and a% is the internal memory resize ratio, and value is 10%-50%.Behind the selected once more New Observer point of data message list box, operate successively according to abovementioned steps.
Need to prove, the aforementioned adjustment that the data of internal memory index and bi-directional list storage are carried out is set to lowest priority, promptly only system's free time, just adjust and constantly monitoring system whether new operation is arranged, as occur new operation, adjust immediately and suspend, treat to begin again to adjust after system's free time, till index entry in new internal memory index range and corresponding drive test data are all stored in internal memory index and the bi-directional list respectively.
Specific embodiment 4:
Accompanying drawing 9 is the storage of drive test data of mobile communication system of the present invention and the schematic diagram that call method New Observer point is not adjusted in the 2P scope data that internal memory index and bi-directional list are not stored in the internal memory index range yet.As seen from the figure, the value of internal memory resize ratio a% is 20% in the present embodiment, with the positive central point sequence number of internal memory index be the center with ± a P sequence number is the border, wherein: P=m * a%, m is a bi-directional list maximum data memory node quantity, forming quantity is the memory node scope of 2P, and promptly quantity is 40% memory node scope.The new point of observation of selecting not in the 2P scope also not in the internal memory index range.At this moment, the position that can only preserve in hard disk by the data memory node that the hard disk index finds this point of observation to identify is read this memory node content and is shown in the message parse frame from hard disk.But, because New Observer point is not in the 2P scope, so need adjust to the drive test data of internal memory index and bi-directional list storage, promptly with the node ID of new observation station be the center with ± a m/2 sequence number is that new internal memory index range is determined on the border, to not be present in new internal memory index range and be present in the drive test data deletion of storing in the index entry of former internal memory index range and the corresponding bi-directional list thereof, will be present in new internal memory index range and the pairing drive test data of index entry that is not present in former internal memory index range is read and deposit in the bi-directional list and increase the index entry of this part drive test data at the afterbody of internal memory index from hard disk; Wherein: P=m * a%, m are bi-directional list maximum data memory node quantity, and a% is the internal memory resize ratio, and value is 10%-50%.In this embodiment, index entry in the former internal memory index is not all in new internal memory index, therefore, the adjustment that the drive test data of internal memory index and bi-directional list storage is carried out is actually leaves out index entry in the former internal memory index and pairing drive test data thereof respectively from internal memory index and bi-directional list, pairing drive test data is read and deposited in the bi-directional list from hard disk according to new internal memory index range, and in new internal memory index, increase corresponding index entry.Behind the selected once more New Observer point of data message list box, operate successively according to abovementioned steps.
Need to prove, the aforementioned adjustment that the data of internal memory index and bi-directional list storage are carried out is set to lowest priority, promptly only system's free time, just adjust and constantly monitoring system whether new operation is arranged, as occur new operation, adjust immediately and suspend, treat to begin again to adjust after system's free time, till index entry in new internal memory index range and corresponding drive test data are all stored in internal memory index and the bi-directional list respectively.
The purpose that the drive test data that the storage of the drive test data of mobile communication system of the present invention shown in accompanying drawing 8 and the accompanying drawing 9 and call method are stored bi-directional list is adjusted is, if the user selects adjacent a series of observation stations under the screen locking situation, owing to after selecting point of observation for the first time, carried out the internal memory adjustment, observation station afterwards can be very fast from internal memory, read and show, and do not need all to go to the retrieve data memory location by the hard disk index at every turn, from hard disk or internal memory, call drive test data again and be presented in the message parse frame, thereby improved the operational effect and the efficient of system.
The adjustment that the drive test data that the storage of drive test data of mobile communication system of the present invention and call method are stored internal memory index and bi-directional list according to data message chosen in the data message list box carries out is just carried out under the chosen situation of screen locking function, if not selected screen locking function, then only the chosen data content that data message identified is presented in the message parse frame, and the drive test data of internal memory index and bi-directional list not being stored is adjusted.