CN106789417A - The storage method and drive test instrument of a kind of drive test data - Google Patents
The storage method and drive test instrument of a kind of drive test data Download PDFInfo
- Publication number
- CN106789417A CN106789417A CN201611149723.3A CN201611149723A CN106789417A CN 106789417 A CN106789417 A CN 106789417A CN 201611149723 A CN201611149723 A CN 201611149723A CN 106789417 A CN106789417 A CN 106789417A
- Authority
- CN
- China
- Prior art keywords
- drive test
- data
- original frame
- test instrument
- frame data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/022—Capturing of monitoring data by sampling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
A kind of storage method and drive test instrument of drive test data are provided the invention provides embodiments of the invention, it is related to data processing field, when solving the same parameters that there is the different drive test instrument to collect of contrast in the prior art, because the storage format of inconsistent, the different drive test instrument test log of the frequency of different drive test instrument acquisition parameter values is inconsistent, lead to not test log directly according to the storage of drive test instrument to contrast so that the problem of data analysis inconvenience.The storage format includes that drive test instrument gathers original frame data in the business datum of test terminal;Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, and the original frame data sampled is generated into storage file according to default storage format, wherein default storage format includes:File header and at least one data frame.The embodiment of the present invention is used for the treatment of drive test instrumented data.
Description
Technical field
The present invention relates to data processing field, more particularly to a kind of drive test data storage method and drive test instrument.
Background technology
The drive test instrument instrument of current industry main flow is general when acquisition parameter value is stored directly to be stored using test log
The mode of acquisition parameter value, because different equipment there may be different acquisition modes for same acquisition parameter value, so that
Cause the problems such as primitive frame for extracting acquisition parameter value is inconsistent, frequency of acquisition parameter value is inconsistent;Again because prior art
When middle use test log directly stores acquisition parameter value, there is respective storage format each equipment commercial city, so as to cause right
Than different drive test instrument to collect same parameters when, because the frequency of different drive test instrument acquisition parameter values is inconsistent, no
With drive test instrument test log storage format it is inconsistent, lead to not directly according to drive test instrument store test log come
Contrast so that data analysis inconvenience.
From the foregoing, when there are the same parameters of the different drive test instrument to collect of contrast in the prior art, due to difference
Drive test instrument acquisition parameter value inconsistent, the different drive test instrument test log of frequency storage format it is inconsistent, cause
The test log that directly cannot be stored according to drive test instrument is contrasted so that the problem of data analysis inconvenience.
The content of the invention
Embodiments of the invention provide a kind of storage method and drive test instrument of drive test data, solve and deposit in the prior art
When the same parameters of different drive test instrument to collect are contrasted, because the frequency of different drive test instrument acquisition parameter values differs
Cause, the storage format of different drive test instrument test log it is inconsistent, lead to not the test for directly being stored according to drive test instrument
Daily record is contrasted so that the problem of data analysis inconvenience.
To reach above-mentioned purpose, the embodiment of the present invention provides following technical scheme:
First aspect, the embodiment of the present invention provide a kind of storage method of drive test data, including:
Drive test instrument gathers original frame data in the business datum of test terminal;
Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, and will be adopted according to default storage format
The original frame data generation storage file of sample, wherein default storage format includes:File header and at least one data frame.
Specifically, after drive test instrument gathers original frame data in the business datum of test terminal, also including:
Drive test instrument screening original frame data related to test parameter in the original frame data of collection;
Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, including:
Drive test instrument is sampled the related original frame data of test parameter according to predeterminated frequency.
Specifically, test terminal includes International Mobile Equipment Identity code;
After drive test instrument gathers original frame data in the business datum of test terminal, also include:
Drive test instrument is sorted out according to International Mobile Equipment Identity code to the original frame data for gathering;
Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, including:
Drive test instrument is sampled the original frame data after classification according to predeterminated frequency.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;Original frequency is the frequency that communication chip sets in original frame data correspondence code, N
It is the integer more than 0;
Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, including:
Drive test instrument is multiplied by original frame number of the original frequency to collection according to the corresponding N of code in the original frame data of collection
According to being sampled.
Specifically, drive test instrument is merged to original frame data according to predeterminated frequency, and will according to default storage format
Original frame data generation storage file after merging also includes:
After drive test instrument terminates to the service data acquisition of test terminal, to whole original frame datas according to predeterminated frequency
Merge, and the original frame data after merging is generated by storage file according to default storage format.
Specifically, file header includes public information and module information;
The form of public information includes:File format version number, the manufacturer of drive test instrument, the name of product of drive test instrument and
Between at the beginning of version, storage file, collection when initial longitude, collection when initial latitude, test-types and reserved word
Section;
The form of module information includes:The numbering of drive test instrument, the type of the model of test terminal and chip, mobile network
Network operator numbering, network mode, type of service, international mobile subscriber identity, the international mobile device of test specification requirement
Identity code, Mobile Subscriber International ISDN number and reserved field.
Specifically, the structure of data frame includes:Data frame type, frame recording timestamp, content frame byte number and frame in
Hold data.
Specifically, data frame type includes:GPS frames, MOS frames, the primitive frame of test terminal chip, FTP download application layer
Rate frame, FTP upload application layer rate frame, mail and send application layer rate frame, mail reception application layer rate frame, the HTTP pages
Browse application layer rate frame, streaming media playing application layer rate frame, HTTP download application layer rate frame, HTTP and upload application layer speed
Rate frame, event frame and label frame.
Second aspect, the embodiment of the present invention provide a kind of drive test instrument, including:
Collecting unit, for gathering original frame data in the business datum of test terminal;
Sampling unit, for being sampled in the original frame data that collecting unit is gathered according to predeterminated frequency;
Memory cell, the original frame data for sampling unit to be sampled according to default storage format generates storage file,
Wherein presetting storage format includes:File header and at least one data frame.
Specifically, drive test instrument also includes:
Screening unit, for the original frame number related to test parameter of screening in the original frame data that is gathered in collecting unit
According to;
Sampling unit, is additionally operable to be sampled in the original frame data that screening unit is screened according to predeterminated frequency.
Specifically, test terminal includes International Mobile Equipment Identity code;
Drive test instrument also includes:
Sort out unit, for returning to the original frame data that collecting unit is gathered according to International Mobile Equipment Identity code
Class;
Sampling unit, is additionally operable to be sampled in the original frame data that unit is sorted out is sorted out according to according to predeterminated frequency.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;Original frequency is the frequency that communication chip sets in original frame data correspondence code, N
It is the integer more than 0;
Sampling unit, the corresponding N of code is multiplied by original frequency in being additionally operable to the original frame data gathered according to collecting unit
Original frame data to collecting unit collection is sampled.
The storage method and drive test instrument of drive test data are the embodiment of the invention provides, wherein the method passes through drive test instrument
Original frame data is gathered in the business datum of test terminal, drive test instrument enters the original frame data of collection according to predeterminated frequency
Row sampling so that the original frame data of different drive test instrument to collect for collection frequency it is identical;Drive test instrument according to
The original frame data sampled is generated storage file by default storage format, wherein default storage format includes:File header and extremely
A few data frame;The original frame data that drive test instrument is sampled is stored by unified storage format so that different road detectors
The form of the storage file that table is ultimately generated is consistent;There is the different drive test instrument to collect of contrast so as to solve in the prior art
Same parameters when, due to inconsistent, the different drive test instrument test log of the frequency of different drive test instrument acquisition parameter values
Storage format it is inconsistent, the test log for leading to not directly be stored according to drive test instrument is contrasted so that data analysis is not
Just problem.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the storage method of drive test data provided in an embodiment of the present invention;
Fig. 2 is a kind of another schematic flow sheet of the storage method of drive test data provided in an embodiment of the present invention;
Fig. 3 is a kind of another schematic flow sheet of the storage method of drive test data provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of the storage file in a kind of storage method of drive test data provided in an embodiment of the present invention;
During Fig. 5 is the data frame of the storage file in a kind of storage method of drive test data provided in an embodiment of the present invention
The schematic diagram of tally set;
Fig. 6-a and Fig. 6-b are that the LTE chips in a kind of storage method of drive test data provided in an embodiment of the present invention are original
The schematic diagram of frame sampling;
Fig. 7-a and Fig. 7-b are that the WCDMA chips in a kind of storage method of drive test data provided in an embodiment of the present invention are former
The schematic diagram of beginning frame sampling;
Fig. 8 is the original frame sampling of GSM chips in a kind of storage method of drive test data provided in an embodiment of the present invention
Schematic diagram;
Fig. 9 is a kind of structural representation of drive test instrument provided in an embodiment of the present invention;
Figure 10 is a kind of another structural representation of drive test instrument provided in an embodiment of the present invention.
Reference:
Drive test instrument -10;
Collecting unit -1010;
Sampling unit -1020;
Memory cell -1030;
Screening unit -1040;
Sort out unit -1050.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The storage method and drive test instrument of drive test data are the embodiment of the invention provides, wherein the method passes through drive test instrument
Original frame data is gathered in the business datum of test terminal, drive test instrument enters the original frame data of collection according to predeterminated frequency
Row sampling so that the original frame data of different drive test instrument to collect for collection frequency it is identical;Drive test instrument according to
The original frame data sampled is generated storage file by default storage format, wherein default storage format includes:File header and extremely
A few data frame;The original frame data that drive test instrument is sampled is stored by unified storage format so that different road detectors
The form of the storage file that table is ultimately generated is consistent;There is the different drive test instrument to collect of contrast so as to solve in the prior art
Same parameters when, due to inconsistent, the different drive test instrument test log of the frequency of different drive test instrument acquisition parameter values
Storage format it is inconsistent, the test log for leading to not directly be stored according to drive test instrument is contrasted so that data analysis is not
Just problem.
The embodiment one, embodiment of the present invention provides a kind of storage method of drive test data, includes as shown in Figure 1:
S101, drive test instrument gather original frame data in the business datum of test terminal.
S102, drive test instrument are sampled the original frame data of collection according to predeterminated frequency.
The original frame data sampled simultaneously is generated storage file by S103, drive test instrument according to default storage format;It is wherein pre-
If storage format includes as shown in Figure 4:File header and at least one data frame.
It should be noted that storage file is stored in a binary format.
The embodiment of the invention provides the storage method of drive test data, by drive test instrument test terminal business datum
Middle collection original frame data, drive test instrument is sampled the original frame data of collection according to predeterminated frequency, so that different
The original frame data of drive test instrument to collect for collection frequency it is identical;Drive test instrument according to default storage format by sample
Original frame data generates storage file, wherein default storage format includes:File header and at least one data frame;By unification
Storage format storage drive test instrument sampling original frame data so that the storage file that different drive test instrument is ultimately generated
Form is consistent;When there are the same parameters of the different drive test instrument to collect of contrast in the prior art so as to solve, due to difference
Drive test instrument acquisition parameter value inconsistent, the different drive test instrument test log of frequency storage format it is inconsistent, cause
The test log that directly cannot be stored according to drive test instrument is contrasted so that the problem of data analysis inconvenience.
The embodiment two, embodiment of the present invention provides a kind of storage method of drive test data, includes as shown in Figure 2:
S1010, drive test instrument gather original frame data in the business datum of test terminal.
S1020, drive test instrument the screening original frame data related to test parameter in the original frame data of collection.
It should be noted that because the file of original frame data is larger in actual application in S1020, therefore can be with pin
To test parameter, the original frame data for filtering out test parameter can both meet requirement, can reduce the primitive frame of test parameter
The file size of data.
S1030, drive test instrument are sampled the related original frame data of test parameter according to predeterminated frequency.
The original frame data sampled simultaneously is generated storage file by S1040, drive test instrument according to default storage format;It is wherein pre-
If storage format includes as shown in Figure 4:File header and at least one data frame.
Specifically, storage file is stored in a binary format.
The embodiment of the invention provides the storage method of drive test data, by drive test instrument test terminal business datum
Middle collection original frame data, drive test instrument is sampled the original frame data of collection according to predeterminated frequency, so that different
The original frame data of drive test instrument to collect for collection frequency it is identical;Drive test instrument according to default storage format by sample
Original frame data generates storage file, wherein default storage format includes:File header and at least one data frame;By unification
Storage format storage drive test instrument sampling original frame data so that the storage file that different drive test instrument is ultimately generated
Form is consistent;When there are the same parameters of the different drive test instrument to collect of contrast in the prior art so as to solve, due to difference
Drive test instrument acquisition parameter value inconsistent, the different drive test instrument test log of frequency storage format it is inconsistent, cause
The test log that directly cannot be stored according to drive test instrument is contrasted so that the problem of data analysis inconvenience.
The embodiment three, embodiment of the present invention provides a kind of storage method of drive test data, includes as shown in Figure 3:
It should be noted that test terminal includes International Mobile Equipment Identity code, different surveys are distinguished for drive test instrument
Examination terminal.
S1011, drive test instrument gather original frame data in the business datum of test terminal.
S1021, drive test instrument are sorted out according to International Mobile Equipment Identity code to the original frame data for gathering.
S1031, drive test instrument are sampled the related original frame data of test parameter according to predeterminated frequency.
The original frame data sampled simultaneously is generated storage file by S1041, drive test instrument according to default storage format;It is wherein pre-
If storage format includes as shown in Figure 4:File header and at least one data frame.
It should be noted that when S1041 controls multi-section terminal simultaneously for test instrumentation, it is desirable to each test eventually
End is individually created a file;Each file must include complete business, i.e., after only current test service ending, could be complete
Into the generation of file;Storage file takes the mode of reduced overall, i.e., whole file is pressed again after file generated terminates
Contracting.The algorithm of compression uses general Zip compression algorithms, it is ensured that major flow can carry out decompression operation with tool of compression.Pressure
Filename after contracting should be consistent with the title before compression.
Specifically, file header includes public information and module information;
The form of public information includes:File format version number, the manufacturer of drive test instrument, the name of product of drive test instrument and
Between at the beginning of version, storage file, collection when initial longitude, collection when initial latitude, test-types and reserved word
Section;
The form of module information includes:The numbering of drive test instrument, the type of the model of test terminal and chip, mobile network
Network operator numbering, network mode, type of service, international mobile subscriber identity, the international mobile device of test specification requirement
Identity code, Mobile Subscriber International ISDN number and reserved field.
Specifically, the structure of data frame includes:Data frame type, frame recording timestamp, content frame byte number and frame in
Hold data.
Specifically, data frame type includes:GPS frames, MOS frames, the primitive frame of test terminal chip, FTP download application layer
Rate frame, FTP upload application layer rate frame, mail and send application layer rate frame, mail reception application layer rate frame, the HTTP pages
Browse application layer rate frame, streaming media playing application layer rate frame, HTTP download application layer rate frame, HTTP and upload application layer speed
Rate frame, event frame and label frame.
Specifically, the structure of GPS frames includes:Longitude, latitude, height above sea level, direction, speed and trivial star number amount.
The structure of specific MOS frames includes:MOS algorithm types, MOS scorings and raw score.
Specifically, the structure of chip primitive frame includes:The primitive frame of storage chip output.
Specifically, the structure that FTP downloads application layer rate frame includes the total amount of byte received in current period and works as
FTP in preceding calculating cycle downloads momentary rate value.
It should be noted that FTP downloads application layer rate frame is used for one FTP application layer downloading rate frame of generation per second,
For recording FTP downloading datas amount and momentary rate value in one second.
Specifically, the structure that FTP uploads application layer rate frame includes:The total amount of byte that sends in current period and current
FTP in calculating cycle uploads momentary rate value.
It should be noted that FTP uploads application layer rate frame is used for one FTP application layer uploading rate frame of generation per second,
FTP for recording in one second uploads data volume and momentary rate value.
Specifically, the structure that mail sends application layer rate frame includes:The total amount of byte that sends in current period and work as
Email in preceding calculating cycle sends momentary rate value.
It should be noted that mail sends application layer rate frame is used for one Email application layer transmission rate of generation per second
Frame, the Email for recording in a second sends data volume and momentary rate value.
Specifically, the structure of mail reception application layer rate frame includes:The total amount of byte that is received in current period and
Email in current calculation cycle receives momentary rate value.
It should be noted that mail reception application layer rate frame is used for one Email application layer receiving velocity of generation per second
Frame, the Email for recording in a second receives data volume and momentary rate value.
Specifically, the structure of HTTP page browsing application layer rate frames includes:The total amount of byte received in current period
And the HTTP in current calculation cycle browses momentary rate value..
It should be noted that HTTP page browsing application layers rate frame is used for one FTP of generation per second downloads application layer speed
Rate frame, the Email for recording in a second receives data volume and momentary rate value.
Specifically, the structure of streaming media playing application layer rate frame includes:The total amount of byte received in current period with
And the streaming media playing momentary rate value in current calculation cycle.
It should be noted that streaming media playing application layer rate frame is used for scanning frequency under one streaming media application layer of generation per second
Rate frame, for recording Streaming Media downlink data amount and momentary rate value in one second.
Specifically, the structure that HTTP downloads application layer rate frame includes:The total amount of byte that is received in current period and
HTTP in current calculation cycle downloads momentary rate value, and the data type of storage is Uint.
It should be noted that HTTP downloads application layer rate frame is used for one HTTP application layer downstream rate of generation per second
Frame, for recording HTTP downlink datas amount and momentary rate value in one second
Specifically, the structure that HTTP uploads application layer rate frame includes:The total amount of byte sent in current period, current meter
HTTP in the calculation cycle uploads momentary rate value.
It should be noted that HTTP uploads application layer rate frame is used for one HTTP application layer upstream rate of generation per second
Frame, for recording HTTP upstream datas amount and momentary rate value in one second.
Specifically, the structure of label frame includes:Tag identification code.
Specifically, the structure of event frame includes:Event code and event information.
Specifically, tally set is used to define the label of drive test instrument as shown in Figure 5.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;Original frequency is the frequency that communication chip sets in original frame data correspondence code, N
It is the integer more than 0;
Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, including:
Drive test instrument is multiplied by original frame number of the original frequency to collection according to the corresponding N of code in the original frame data of collection
According to being sampled.
It should be noted that the communication chip that different test terminals is installed is different, therefore, different communication chip
The original frame data of collection is also different.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;When communication chip is LTE chips, original frequency is LTE chips in original frame data pair
The frequency set in code is answered, N is the integer more than 0;
It should be noted that because the original frame data of LTE chips collection is excessive, it is therefore desirable to reject partial data, subtract
The space of small data storage;The embodiment of the present invention need collection data as shown in Fig. 6-a and Fig. 6-b, remaining unlisted original
Beginning frame does not do Compulsory Feature.
As shown in Fig. 6-a and Fig. 6-b, drive test instrument is sampled the original frame data of collection according to predeterminated frequency, bag
Include:Drive test instrument is multiplied by original frequency and the original frame data for gathering is entered according to the corresponding N of code in the original frame data of collection
Row sampling.
Specifically, original of the code for 0xB12A, 0xB12C, 0xB130,0xB132,0xB16E, 0xB16F and 0xB171
Beginning frame data are different for the N of the original frame data of 0xB14D, 0xB14E and 0xB193 is multiplied by original frequency from code.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;When communication chip is WCDMA chips, original frequency is WCDMA chips in original frame number
According to the frequency set in correspondence code, N is the integer more than 0;
It should be noted that because the original frame data of WCDMA chips collection is excessive, it is therefore desirable to reject partial data,
Reduce the space of data storage;The embodiment of the present invention needs the data of collection as shown in Fig. 7-a and Fig. 7-b, and remaining is unlisted
Primitive frame does not do Compulsory Feature.
As shown in Fig. 7-a and Fig. 7-b, drive test instrument is sampled the original frame data of collection according to predeterminated frequency, bag
Include:Drive test instrument is multiplied by original frequency and the original frame data for gathering is entered according to the corresponding N of code in the original frame data of collection
Row sampling.
Specifically, code is 0x4015,0x4016,0x401C, 0x4214,0x4311,0x7143,0x7144,0x4176
And the original frame data of 0x4186 is different for the N of the primitive frame of 0x4222 is multiplied by original frequency from code.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;When communication chip is GSM chips, original frequency is GSM chips in original frame data pair
The frequency set in code is answered, N is the integer more than 0;
It should be noted that because the original frame data of GSM chips collection is excessive, it is therefore desirable to reject partial data, subtract
The space of small data storage;The embodiment of the present invention needs the data of collection as shown in figure 8, remaining unlisted primitive frame is not run business into strong one
Property requirement processed.
As shown in figure 8, drive test instrument is sampled the original frame data of collection according to predeterminated frequency, including:Road detector
Table is multiplied by original frequency according to the corresponding N of code in the original frame data of collection samples to the original frame data for gathering.
Specifically, drive test instrument is merged to original frame data according to predeterminated frequency, and will according to default storage format
Original frame data generation storage file after merging also includes:
After drive test instrument terminates to the service data acquisition of test terminal, to whole original frame datas according to predeterminated frequency
Merge, and the original frame data after merging is generated by storage file according to default storage format.
The embodiment of the invention provides the storage method of drive test data, by drive test instrument test terminal business datum
Middle collection original frame data, drive test instrument is sampled the original frame data of collection according to predeterminated frequency, so that different
The original frame data of drive test instrument to collect for collection frequency it is identical;Drive test instrument according to default storage format by sample
Original frame data generates storage file, wherein default storage format includes:File header and at least one data frame;By unification
Storage format storage drive test instrument sampling original frame data so that the storage file that different drive test instrument is ultimately generated
Form is consistent;When there are the same parameters of the different drive test instrument to collect of contrast in the prior art so as to solve, due to difference
Drive test instrument acquisition parameter value inconsistent, the different drive test instrument test log of frequency storage format it is inconsistent, cause
The test log that directly cannot be stored according to drive test instrument is contrasted so that the problem of data analysis inconvenience.
Example IV, the embodiment of the present invention provide a kind of drive test instrument 10, include as shown in Figure 9:
Collecting unit 1010, for gathering original frame data in the business datum of test terminal;
Sampling unit 1020, for being adopted in the original frame data that collecting unit 1010 is gathered according to predeterminated frequency
Sample;
Memory cell 1030, the original frame data generation for sampling unit 1020 to be sampled according to default storage format is deposited
Storage file, wherein default storage format includes:File header and at least one data frame.
It should be noted that the storage file of memory cell storage is stored in a binary format.
Drive test instrument is the embodiment of the invention provides, collecting unit gathers original frame number in the business datum of test terminal
According to the original frame data of collection is sampled in sampling according to predeterminated frequency, so that different drive test instrument to collect is original
Frame data for collection frequency it is identical;The original frame data sampled is generated storage by memory cell according to default storage format
File, wherein default storage format includes:File header and at least one data frame;Drive test is stored by unified storage format
The original frame data of instrument sampling so that the form of the storage file that different drive test instrument is ultimately generated is consistent;So as to solve
When there are the same parameters of the different drive test instrument to collect of contrast in the prior art, due to different drive test instrument acquisition parameters
The storage format of inconsistent, the different drive test instrument test log of the frequency of value is inconsistent, leads to not directly according to road detector
The test log of table storage is contrasted so that the problem of data analysis inconvenience.
The embodiment five, embodiment of the present invention provides a kind of drive test instrument 10, includes as shown in Figure 10:
Collecting unit 1010, for gathering original frame data in the business datum of test terminal;
Screening unit 1040, for screening related to test parameter in the original frame data that collecting unit 1010 is gathered
Original frame data;
It should be noted that because the file of original frame data is larger in actual application, therefore can be for test
Parameter, the original frame data that screening unit filters out test parameter can both meet requirement, can reduce the original of test parameter
The file size of frame data.
Sampling unit 1020, is additionally operable to be adopted in the original frame data that screening unit 1040 is screened according to predeterminated frequency
Sample;
Memory cell 1030, the original frame data generation for sampling unit 1020 to be sampled according to default storage format is deposited
Storage file, wherein default storage format includes:File header and at least one data frame.
Drive test instrument is the embodiment of the invention provides, collecting unit gathers original frame number in the business datum of test terminal
According to the original frame data of collection is sampled in sampling according to predeterminated frequency, so that different drive test instrument to collect is original
Frame data for collection frequency it is identical;The original frame data sampled is generated storage by memory cell according to default storage format
File, wherein default storage format includes:File header and at least one data frame;Drive test is stored by unified storage format
The original frame data of instrument sampling so that the form of the storage file that different drive test instrument is ultimately generated is consistent;So as to solve
When there are the same parameters of the different drive test instrument to collect of contrast in the prior art, due to different drive test instrument acquisition parameters
The storage format of inconsistent, the different drive test instrument test log of the frequency of value is inconsistent, leads to not directly according to road detector
The test log of table storage is contrasted so that the problem of data analysis inconvenience.
The embodiment six, embodiment of the present invention provides a kind of drive test instrument 10, includes as shown in Figure 10:
It should be noted that test terminal includes International Mobile Equipment Identity code, different surveys are distinguished for drive test instrument
Examination terminal.
Collecting unit 1010, for gathering original frame data in the business datum of test terminal;
Sort out unit 1050, for the original frame data gathered to collecting unit 1010 according to International Mobile Equipment Identity code
Sorted out;
Sampling unit 1020, is additionally operable to enter in the original frame data that unit 1050 is sorted out is sorted out according to according to predeterminated frequency
Row sampling;
Memory cell 1030, the original frame data generation for sampling unit 1020 to be sampled according to default storage format is deposited
Storage file, wherein default storage format includes:File header and at least one data frame.
It should be noted that when simultaneously test instrumentation controls the situation of multi-section terminal, it is desirable to which memory cell is tested each
Terminal is individually created a file;Each file must include complete business, i.e., after only current test service ending, ability
Complete the generation of file.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;Original frequency is the frequency that communication chip sets in original frame data correspondence code, N
It is the integer more than 0;
Drive test instrument is sampled the original frame data of collection according to predeterminated frequency, including:
Drive test instrument is multiplied by original frame number of the original frequency to collection according to the corresponding N of code in the original frame data of collection
According to being sampled.
It should be noted that the communication chip that different test terminals is installed is different, therefore, different communication chip
The original frame data of collection is also different.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;When communication chip is LTE chips, original frequency is LTE chips in original frame data pair
The frequency set in code is answered, N is the integer more than 0;
Sampling unit, the corresponding N of code is multiplied by original frequency in being additionally operable to the original frame data gathered according to collecting unit
Original frame data to collecting unit collection is sampled.
Specifically, original of the code for 0xB12A, 0xB12C, 0xB130,0xB132,0xB16E, 0xB16F and 0xB171
Beginning frame data are different for the N of the original frame data of 0xB14D, 0xB14E and 0xB193 is multiplied by original frequency from code.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;When communication chip is WCDMA chips, original frequency is WCDMA chips in original frame number
According to the frequency set in correspondence code, N is the integer more than 0;
Sampling unit, the corresponding N of code is multiplied by original frequency in being additionally operable to the original frame data gathered according to collecting unit
Original frame data to collecting unit collection is sampled.
Specifically, original of the code for 0xB12A, 0xB12C, 0xB130,0xB132,0xB16E, 0xB16F and 0xB171
Beginning frame data are different for the N of the original frame data of 0xB14D, 0xB14E and 0xB193 is multiplied by original frequency from code.
Specifically, test terminal includes communication chip, the code of different original frame datas is different wherein in communication chip;In advance
If frequency is multiplied by original frequency equal to N;When communication chip is GSM chips, original frequency is GSM chips in original frame data pair
The frequency set in code is answered, N is the integer more than 0;
Sampling unit, the corresponding N of code is multiplied by original frequency in being additionally operable to the original frame data gathered according to collecting unit
Original frame data to collecting unit collection is sampled.
Specifically, original of the code for 0xB12A, 0xB12C, 0xB130,0xB132,0xB16E, 0xB16F and 0xB171
Beginning frame data are different for the N of the original frame data of 0xB14D, 0xB14E and 0xB193 is multiplied by original frequency from code.
Drive test instrument is the embodiment of the invention provides, collecting unit gathers original frame number in the business datum of test terminal
According to the original frame data of collection is sampled in sampling according to predeterminated frequency, so that different drive test instrument to collect is original
Frame data for collection frequency it is identical;The original frame data sampled is generated storage by memory cell according to default storage format
File, wherein default storage format includes:File header and at least one data frame;Drive test is stored by unified storage format
The original frame data of instrument sampling so that the form of the storage file that different drive test instrument is ultimately generated is consistent;So as to solve
When there are the same parameters of the different drive test instrument to collect of contrast in the prior art, due to different drive test instrument acquisition parameters
The storage format of inconsistent, the different drive test instrument test log of the frequency of value is inconsistent, leads to not directly according to road detector
The test log of table storage is contrasted so that the problem of data analysis inconvenience.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (12)
1. a kind of storage method of drive test data, it is characterised in that including:
Drive test instrument gathers original frame data in the business datum of test terminal;
The drive test instrument is sampled the original frame data of collection according to predeterminated frequency, and will be adopted according to default storage format
The original frame data generation storage file of sample, wherein the default storage format includes:File header and at least one data frame.
2. the storage method of drive test data according to claim 1, it is characterised in that the drive test instrument in test eventually
After gathering original frame data in the business datum at end, also include:
The drive test instrument screens the original frame data related to test parameter in the original frame data of the collection;
The drive test instrument is sampled the original frame data of the collection according to predeterminated frequency, including:
The drive test instrument is sampled the related original frame data of the test parameter according to predeterminated frequency.
3. the storage method of drive test data according to claim 1, it is characterised in that the test terminal includes international shifting
Dynamic device identity;
After the drive test instrument gathers original frame data in the business datum of test terminal, also include:
The drive test instrument is sorted out according to International Mobile Equipment Identity code to the original frame data for gathering;
The drive test instrument is sampled the original frame data of the collection according to predeterminated frequency, including:
The drive test instrument is sampled the original frame data after classification according to predeterminated frequency.
4. the storage method of drive test data according to claim 1, it is characterised in that the test terminal includes communication core
Piece, wherein the code of different original frame datas is different in the communication chip;The predeterminated frequency is multiplied by original frequency equal to N;
The original frequency is the frequency that the communication chip sets in original frame data correspondence code, and N is whole more than 0
Number;
The drive test instrument is sampled the original frame data of the collection according to predeterminated frequency, including:
The drive test instrument is multiplied by original frequency to the collection according to the corresponding N of code in the original frame data of the collection
Original frame data is sampled.
5. the storage method of drive test data according to claim 1, it is characterised in that the drive test instrument is to described original
Frame data are merged according to predeterminated frequency, and the original frame data after merging is generated into storage file according to default storage format
Also include:
After the drive test instrument terminates to the service data acquisition of the test terminal, to all original frame datas according to
Predeterminated frequency is merged, and the original frame data after merging is generated into storage file according to default storage format.
6. the storage method of drive test data according to claim 1, it is characterised in that the file header includes public information
And module information;
The form of the public information includes:File format version number, the manufacturer of the drive test instrument, the product of the drive test instrument
The name of an article claims and version, the storage file at the beginning of between, collection when initial longitude, collection when initial latitude, test class
Type and reserve bytes;
The form of the module information includes:The numbering of the drive test instrument, the type of the model of test terminal and chip, shifting
Dynamic Virtual network operator numbering, the network mode of test specification requirement, type of service, international mobile subscriber identity, international movement
Device identity, Mobile Subscriber International ISDN number and reserved field.
7. the storage method of drive test data according to claim 1, it is characterised in that the structure of the data frame includes:
Data frame type, frame recording timestamp, content frame byte number and content frame data.
8. the storage method of drive test data according to claim 7, it is characterised in that the data frame type includes:GPS
Frame, MOS frames, the primitive frame of test terminal chip, FTP download application layer rate frame, FTP and upload application layer rate frame, mail hair
Send application layer rate frame, mail reception application layer rate frame, HTTP page browsing application layers rate frame, streaming media playing application layer
Rate frame, HTTP download application layer rate frame, HTTP and upload application layer rate frame, event frame and label frame.
9. a kind of drive test instrument, it is characterised in that including:
Collecting unit, for gathering original frame data in the business datum of test terminal;
Sampling unit, for being sampled in the original frame data that the collecting unit is gathered according to predeterminated frequency;
Memory cell, the original frame data for the sampling unit to be sampled according to default storage format generates storage file,
Wherein described default storage format includes:File header and at least one data frame.
10. drive test instrument according to claim 9, it is characterised in that the drive test instrument also includes:
Screening unit, for screening the original frame number related to test parameter in the original frame data that the collecting unit is gathered
According to;
The sampling unit, is additionally operable to be sampled in the original frame data that the screening unit is screened according to predeterminated frequency.
11. drive test instrument according to claim 9, it is characterised in that the test terminal includes international mobile device body
Part code;
The drive test instrument also includes:
Sort out unit, for being carried out to the original frame data that the collecting unit is gathered according to International Mobile Equipment Identity code
Sort out;
The sampling unit, is additionally operable to be adopted in the original frame data that the classification unit is sorted out according to according to predeterminated frequency
Sample.
12. drive test instrument according to claim 9, it is characterised in that the test terminal includes communication chip, wherein institute
The code for stating different original frame datas in communication chip is different;The predeterminated frequency is multiplied by original frequency equal to N;The original frequency
Rate is the frequency that the communication chip sets in original frame data correspondence code, and N is the integer more than 0;
The sampling unit, be additionally operable to according to the collecting unit gather original frame data in the corresponding N of code be multiplied by it is original
Frequency is sampled to the original frame data that the collecting unit is gathered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611149723.3A CN106789417B (en) | 2016-12-13 | 2016-12-13 | A kind of storage method and drive test instrument of drive test data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611149723.3A CN106789417B (en) | 2016-12-13 | 2016-12-13 | A kind of storage method and drive test instrument of drive test data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789417A true CN106789417A (en) | 2017-05-31 |
CN106789417B CN106789417B (en) | 2019-08-16 |
Family
ID=58880917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611149723.3A Active CN106789417B (en) | 2016-12-13 | 2016-12-13 | A kind of storage method and drive test instrument of drive test data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789417B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1476274A (en) * | 2002-08-13 | 2004-02-18 | 华为技术有限公司 | Road measuring recorder and road measuring method using said road measuring recorder |
US20070129878A1 (en) * | 2005-12-07 | 2007-06-07 | Netistix Technologies Corp. | Methods and system for determining consumption and fuel efficiency in vehicles |
CN102385618A (en) * | 2011-10-15 | 2012-03-21 | 珠海世纪鼎利通信科技股份有限公司 | Wireless communication network drive test file storage structure |
CN103179594A (en) * | 2011-12-21 | 2013-06-26 | 北京亿阳信通科技有限公司 | Method and device for optimizing wireless network on basis of road test data |
-
2016
- 2016-12-13 CN CN201611149723.3A patent/CN106789417B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1476274A (en) * | 2002-08-13 | 2004-02-18 | 华为技术有限公司 | Road measuring recorder and road measuring method using said road measuring recorder |
US20070129878A1 (en) * | 2005-12-07 | 2007-06-07 | Netistix Technologies Corp. | Methods and system for determining consumption and fuel efficiency in vehicles |
CN102385618A (en) * | 2011-10-15 | 2012-03-21 | 珠海世纪鼎利通信科技股份有限公司 | Wireless communication network drive test file storage structure |
CN103179594A (en) * | 2011-12-21 | 2013-06-26 | 北京亿阳信通科技有限公司 | Method and device for optimizing wireless network on basis of road test data |
Also Published As
Publication number | Publication date |
---|---|
CN106789417B (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101192227B (en) | Log file analytical method and system based on distributed type computing network | |
US10616098B2 (en) | Apparatus and methods for forwarding data packets captured from a network | |
CN105718515B (en) | Data-storage system and its method and data analysis system and its method | |
US8134927B2 (en) | Apparatus and methods for capturing data packets from a network | |
CN102780726B (en) | A kind of log analysis method based on WEB platform and system | |
CN109542733A (en) | A kind of highly reliable real-time logs collection and visual m odeling technique method | |
CN103401725B (en) | cross-platform device based on cloud storage monitoring system and monitoring method thereof | |
CN105871574A (en) | Method, device and system for monitoring log based on software development kit | |
CN103401698B (en) | For the monitoring system that server health is reported to the police in server set group operatione | |
CN103617287A (en) | Log management method and device in distributed environment | |
CN107358502A (en) | A kind of electronic commerce information supplying system | |
CN106453482A (en) | Internet of things middleware system and Internet of things system | |
CN106598815B (en) | A kind of real-time asynchronous log collecting method and system | |
CN104135498A (en) | Cross-platform information push system and push method thereof | |
CN107454387A (en) | Mass parameter acquisition methods and device for image coding and decoding Transmission system | |
CN108701134A (en) | The searching method and device of the archiving method and device of database, the database of archive | |
CN106484742A (en) | Log processing method and device | |
CN110213238A (en) | Threat detection method and device, storage medium, the computer equipment of data | |
CN105979395A (en) | Feedback information counting method and feedback information counting device | |
CN110109899A (en) | Internet of things data complementing method, apparatus and system | |
CN105302917A (en) | Data processing system and data processing method applied to e-commerce platform | |
CN106789417A (en) | The storage method and drive test instrument of a kind of drive test data | |
CN101800777A (en) | Open network data acquisition method and device, and monitoring system based on device | |
CN109510857A (en) | Date storage method, device, server and system | |
CN103220555B (en) | The sorting technique of a kind of digital cable customers, Apparatus and system |
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 |