CN1863016A - Method for simultaneously testing multiple channels - Google Patents

Method for simultaneously testing multiple channels Download PDF

Info

Publication number
CN1863016A
CN1863016A CNA2005100690544A CN200510069054A CN1863016A CN 1863016 A CN1863016 A CN 1863016A CN A2005100690544 A CNA2005100690544 A CN A2005100690544A CN 200510069054 A CN200510069054 A CN 200510069054A CN 1863016 A CN1863016 A CN 1863016A
Authority
CN
China
Prior art keywords
channel
testing
time
timer
testing time
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.)
Pending
Application number
CNA2005100690544A
Other languages
Chinese (zh)
Inventor
韩巍
鲁智锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2005100690544A priority Critical patent/CN1863016A/en
Publication of CN1863016A publication Critical patent/CN1863016A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses the method of testing several channels at the same time. It can be applied in the wireless communicating domain. The problem of the low using rate of the system resource produced by the instance of the one timer allocated to every tested channel when using the contemporary testing of the multi channel of existing technology can be solved. The invention includes the below steps: A. the finishing testing time of every channel are counted and noted according to the beginning testing time of every channel and the testing time length of every channel; B. the minimal stop testing time of the testing channel is demanded, and the time is severed as the spring time of mounting the timer of the system; C. the testing of the channel corresponding to the said minTSN are stopped in the spring time; the testing if all the channels finish is demanded, if it is fake, it would be return to the step B, if it is true, the testing finishes.

Description

Test the method for a plurality of channels simultaneously
Technical field
The present invention relates to wireless communication field, particularly relate to two kinds of methods of testing a plurality of channels simultaneously.
Background technology
In mobile communication business, in order to guarantee service quality, the related data and the state of each channel of detail knowledge, for example: the transmission error rates of the coding mode of channel, the carrier/interface ratio of channel (C/I) and channel etc.These data are to obtain by the test to channel, and relevant method of testing has: loopback test, coding mode test etc.
In actual test environment, usually to test a plurality of channels simultaneously, to save the testing time, but the appointed length of testing speech of each channel might be different, for example: channel 1 appointed length of testing speech is 1 minute, channel 2 appointed length of testing speech are 10 minutes, and the appointed length of testing speech of channel n is 100 minutes.And when certain channel test time finished, system stopped the test of this channel automatically.
The method that prior art adopted is for each tested channel distributes a timer respectively, and its timing length is the appointed length of testing speech of this channel.Do like this and can address the above problem, but obviously efficient is very low, because the channel quantity of being tested simultaneously is directly proportional with the quantity of timer.The number of channel of testing simultaneously is many more, and the timer that then takies is also just many more, and when the testing time of channel was longer, timer can not get discharging for a long time, thereby causes the timer resource anxiety of system.
Summary of the invention
The invention provides two kinds of methods of testing a plurality of channels simultaneously, exist and finish multi channel test simultaneously and will cause the low problem of resource utilization ratio for each tested channel allocation one timer to solve prior art.
The present invention adopts a kind of method of testing a plurality of channels simultaneously, it is characterized in that, comprises the following steps:
A, begin testing time and each channel test duration, the termination testing time of calculating and writing down each channel respectively according to each channel;
Minimum termination testing time (minT in the channel that B, inquiry finish to test SN), and should the time as triggered time of a timer that is provided with in the system;
C, stop described minT in the triggered time SNThe test of institute's respective channels; And inquiry whether the test of all channels finish, if not, then return step B, if then finish test.
The described termination testing time of calculating each channel respectively is the beginning testing time with each channel to add each channel test duration respectively.
Termination at each channel of record makes channel logo corresponding with the termination testing time of this channel during the testing time.
It is to be recorded in database, the array that can be inquired about that each channel of described record stops the testing time, or in the register.
Among the described step B, when the triggered time of timer is set, stop described timer earlier, and after the triggered time is set, restart timer.
The invention provides another kind of method of testing a plurality of channels simultaneously, it is characterized in that, comprise the following steps:
A, begin testing time and each channel test duration according to each channel, the termination testing time of calculating each channel respectively, and the described termination testing time sorted in chronological order;
B, all are stopped termination testing time minimum in testing times and all differences that begin the minimum beginning testing time in the testing time as initial timing length, and stop the testing times with adjacent two respectively according to described ordering and subtract each other, order draws each section timing length after the initial timing length;
C, described initial timing length is composed to a timer, and started this timer and when timer triggers, stop testing the pairing channel of described initial timing length in the described minimum beginning testing time; Afterwards,
By described order each section timing length is composed to this timer, and tested the pairing channel of current timing length to termination constantly at each timing length.
Among the described step B, the channel that each section timing length is corresponding respectively is to calculate used two of this timing length to stop bigger pairing channel of termination testing time in the testing times.
The described termination testing time of calculating each channel respectively is the beginning testing time with each channel to add each channel test duration respectively.
The termination test record of described channel is in database, array or the register that can be inquired about.
When the triggered time of timer is set, stop described timer earlier, and after the triggered time is set, restart timer.
The inventive method is only utilized a timer.After calculating the termination testing time of tested channel respectively,, when the triggered time arrives, stop the current minimum test that stops testing time institute's respective channels with not finishing the termination testing time minimum in the channel of test as the triggered time; Inquire about again simultaneously and will be in the channel of current not EOT minimum termination testing time as next triggered time, when the triggered time arrives, stop the test of current minimum termination testing time institute's respective channels; And so forth, stopping pairing channel test of testing time until maximum finishes.So only can realize the function that prior art adopts a plurality of timers just can finish, reach the purpose that economizes on resources, improves resource utilization with a timer.
Another kind of method provided by the invention is equally only utilized a timer.After calculating the termination testing time of tested channel respectively, the described termination testing time is sorted in chronological order, and calculate each section timing length; Give timing length in order afterwards a timer that is provided with in the system, and when each timing length triggers, stop the test of current timing length institute respective channels.So only can realize the function that prior art adopts a plurality of timers just can finish, reach the purpose that economizes on resources, improves resource utilization with a timer.
Description of drawings
Fig. 1 is a first method flow chart of the present invention;
Fig. 2 is a second method flow chart of the present invention.
Embodiment
For the technique effect of realizing that prior art can realize, and reach conserve system resources, improve the purpose of resource utilization ratio, the inventive method is only utilized a timer, test when can realize to many channels, and when predetermined length of testing speech arrives, stop the test of respective channel.As shown in Figure 1, be the flow chart of steps of first method of the present invention, the inventive method comprises the steps: as seen from the figure
S1, begin testing time and each channel test duration, the termination testing time of calculating and writing down each channel respectively according to each channel;
Minimum termination testing time (minT in the channel that S2, inquiry finish to test SN), and should the time as triggered time of a timer that is provided with in the system;
S3, stop described minT in the triggered time SNThe test of institute's respective channels; And inquiry whether the test of all channels finish, if not, then return step S2, if then finish test.
Now testing simultaneously with 4 channels is example, describes the concrete implementation step of this method in detail:
At first, identifying these 4 channels is channel 1, channel 2, channel 3, channel 4.The beginning testing time of setting channel 1 is 18:10, and the length of testing speech of this channel is 3 hours, and the 1 termination testing time of channel that then is identified as T1 is 21:10; The beginning testing time of setting channel 2 is 19:00, and the length of testing speech of this channel is 2 hours, and the 2 termination testing times of channel that then are identified as T2 are 21:00; The beginning testing time of setting channel 3 is 19:10, and the length of testing speech of this channel is 2 hours, and the 3 termination testing times of channel that then are identified as T3 are 21:10; The beginning testing time of setting channel 4 is 21:30, and the length of testing speech of this channel is 2 hours, and the 4 termination testing times of channel that then are identified as T4 are 23:30.
The termination testing time of each channel of calculating is recorded in database, array, or in the register, and sets up the one-to-one relationship between channel 1 and T1, channel 2 and T2, channel 3 and T3, channel 4 and the T4.
Next system judges that the test of current which channel does not finish, and does not currently also begin test, obviously described 4 channels EOT not all.In described database, inquire about these 4 channels in the pairing termination testing time according to described corresponding relation so, apart from the nearest termination testing time of current time, the promptly minimum testing time (minT that stops SN), can draw the 2 pairing termination testing time of channel (T2) according to above-mentioned setting is the current minimum testing time that stops.The minimum that obtains is stopped testing time (minT SN) as the triggered time of a timer that is provided with in the system, soon the triggered time is set at 21:00.
Begin test at 18:10 channel 1, in like manner, all begun test, promptly have 3 channels to test at the same time at the described channel 1 of 19:10, channel 2, channel 3.Arrive the described triggered time at 21:00, system stops the test to channel 2 according to channel of setting up and the one-to-one relationship between the termination testing time.
After the test of termination to channel 2, stop described timer,, calculate with millisecond or microsecond level owing to stop the time period of described timer, so do not influence the precision of the inventive method so that write the new triggered time again.
After finishing above-mentioned steps, the test that system rejudges current which channel does not finish, because the test of channel 2 is finished, so judged result should be channel 1, channel 3, channel 4.These 3 channels of inquiry are in the pairing termination testing time from described database again, and apart from the nearest termination testing time of current time, promptly minimum stops testing time (minT SN), can draw channel 1 and 3 pairing termination testing times of channel (T1, T3) according to above-mentioned setting and be the current minimum testing time that stops.To the triggered time be set at 21:10 in view of the above, and restart described timer.Arrive the described triggered time at 21:10, system stops the test to channel 1 and channel 3 according to channel of setting up and the one-to-one relationship between the termination testing time.
In like manner, stop described timer, and, be set at the triggered time, and restart described timer channel 4 pairing termination testing time 23:30.Begin test at 21:30 channel 4, until 23:30, system stops the test to channel 4 according to channel of setting up and the one-to-one relationship between the termination testing time.Thereby finish the test of whole channels.
If the beginning testing time of a plurality of test channel is identical, obviously also can utilize the inventive method to reach described technique effect, so also should be within the protection range of the inventive method.
For the technique effect of realizing that prior art can realize, and reach conserve system resources, improve the purpose of resource utilization ratio, the invention provides another kind of method, equally only utilize a timer, test when can realize to many channels, and when predetermined length of testing speech arrives, stop the test of respective channel.As shown in Figure 2, be the flow chart of steps of this method, the inventive method comprises the steps: as seen from the figure
S1, begin testing time and each channel test duration according to each channel, the termination testing time of calculating each channel respectively, and the described termination testing time sorted in chronological order;
S2, all are stopped termination testing time minimum in testing times and all differences that begin the minimum beginning testing time in the testing time as initial timing length, and stop the testing times with adjacent two respectively according to described ordering and subtract each other, order draws each section timing length after the initial timing length;
S3, described initial timing length is composed to a timer, and started this timer and when timer triggers, stop testing the pairing channel of described initial timing length in the described minimum beginning testing time; Afterwards, each section timing length is composed to this timer, and tested the pairing channel of current timing length to termination constantly at each timing length by described order.
Now testing simultaneously with 4 channels is example, describes the concrete implementation step of this method in detail:
At first, the beginning testing time of setting channel 1 is 18:10, and the length of testing speech of this channel is 3 hours, and then channel 1 termination testing time (T1) is 21:10; The beginning testing time of setting channel 2 is 19:00, and the length of testing speech of this channel is 2 hours, and then channel 2 terminations testing time (T2) are 21:00; The beginning testing time of setting channel 3 is 19:10, and the length of testing speech of this channel is 2 hours, and then channel 3 terminations testing time (T3) are 21:10; The beginning testing time of setting channel 4 is 21:30, and the length of testing speech of this channel is 2 hours, and then channel 4 terminations testing time (T4) are 23:30.
Thereafter, the beginning testing time of above-mentioned 4 channels is sorted in chronological order, obtaining the minimum beginning testing time is 18:10; The termination testing time to 4 channels obtaining sorts in chronological order, is followed successively by 21:00 (T2), 21:10 (T1) and 21:10 (T3), 23:30 (T4); And obtain that minimum to stop the testing time be 21:00 (T2).To the above-mentioned beginning testing time with stop being recorded in database, the array that can be inquired about after the testing time sorts in chronological order, or in the register.
Afterwards, stopping the testing time (21:00) with the minimum that obtains deducts minimum beginning testing time (18:10) to obtain the initial timing length of timer is 2 hours 50 minutes; Because what this timing length of calculating was used is T2 in the back termination testing time, so the pairing channel in initial timing length trigger point is a channel 2.
After the ordering, two adjacent termination testing times are subtracted each other in chronological order, order draws each section timing length after the initial timing length, and promptly T1 or T3 deduct T2, and obtaining second timing length is 10 minutes; Because what this timing length of calculating was used is T1 or T3 in the back termination testing time, so the pairing channel in the second timing length trigger point is channel 1 and channel 3.Deduct T1 or T3 with T4, obtaining the 3rd timing length is 2 hours 20 minutes; Because what this timing length of calculating was used is T4 in the back termination testing time, so the pairing channel in the 3rd timing length trigger point is a channel 4.
After above-mentioned work is finished, begin the test of respective channels in the beginning testing time of each channel.Simultaneously begin testing time 18:10, give timer with initial timing length (2 hours 50 minutes), and start described timer in minimum.Through timer expiry after 2 hours 50 minutes, stop test to the pairing channel 2 of current timing length.Afterwards, stop described timer, so that write new timing length again.Give described timer with second timing length (10 minutes) in order, and restart described timer,, stop test pairing channel 1 of current timing length and channel 3 through timer expiry after 10 minutes.In like manner, stop described timer, so that write new timing length again.Give described timer with the 3rd timing length (2 hours 20 minutes) in order, and restart described timer,, stop test the pairing channel 4 of current timing length through timer expiry after 2 hours 20 minutes.
By the foregoing description as seen, second method provided by the invention is equally only utilized a timer, test when can realize to many channels, and when predetermined length of testing speech arrives, stop the test of respective channel.
If the beginning testing time of a plurality of test channel is identical, obviously also can utilize the inventive method to reach described technique effect, so also should be within the protection range of the inventive method.

Claims (10)

1, a kind of method of testing a plurality of channels simultaneously is characterized in that, comprises the following steps:
A, begin testing time and each channel test duration, the termination testing time of calculating and writing down each channel respectively according to each channel;
Minimum termination testing time (minT in the channel that B, inquiry finish to test SN), and this time be set to the triggered time of a timer;
C, when being timed to the triggered time, described timer stops the described minT of test SNCorresponding channel, and judge whether to finish test to all channels, if not, then return step B, if then finish test.
2, the method for claim 1 is characterized in that, the described termination testing time of calculating each channel respectively is the beginning testing time with each channel to add each channel test duration respectively.
3, the method for claim 1 is characterized in that, the termination of writing down each channel makes channel logo corresponding with the termination testing time of this channel during the testing time.
As each described method of claim 1 to 3, it is characterized in that 4, the termination test record of described channel is in database, array or the register that can be inquired about.
5, method as claimed in claim 4 is characterized in that, among the described step B, stops described timer earlier when the triggered time of timer is set, and restart timer after the triggered time is set.
6, a kind of method of testing a plurality of channels simultaneously is characterized in that, comprises the following steps:
A, begin testing time and each channel test duration according to each channel, the termination testing time of calculating each channel respectively, and the described termination testing time sorted in chronological order;
B, all are stopped termination testing time minimum in testing times and all differences that begin the minimum beginning testing time in the testing time as initial timing length, and stop the testing times with adjacent two respectively according to described ordering and subtract each other, order draws each section timing length after the initial timing length;
C, described initial timing length is composed to a timer, and started this timer and when timer triggers, stop testing the pairing channel of described initial timing length in the described minimum beginning testing time; Afterwards,
By described order each section timing length is composed to this timer, and tested the pairing channel of current timing length to termination constantly at each timing length.
7, method as claimed in claim 6 is characterized in that, among the described step B, the channel that each section timing length is corresponding respectively is to calculate used two of this timing length to stop bigger pairing channel of termination testing time in the testing times.
8, method as claimed in claim 6 is characterized in that, the described termination testing time of calculating each channel respectively is the beginning testing time with each channel to add each channel test duration respectively.
9, method as claimed in claim 6 is characterized in that, the termination test record of described channel is in database, array or the register that can be inquired about.
10, as each described method of claim 6 to 9, it is characterized in that, when the triggered time of timer is set, stop described timer earlier, and after the triggered time is set, restart timer.
CNA2005100690544A 2005-05-10 2005-05-10 Method for simultaneously testing multiple channels Pending CN1863016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2005100690544A CN1863016A (en) 2005-05-10 2005-05-10 Method for simultaneously testing multiple channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2005100690544A CN1863016A (en) 2005-05-10 2005-05-10 Method for simultaneously testing multiple channels

Publications (1)

Publication Number Publication Date
CN1863016A true CN1863016A (en) 2006-11-15

Family

ID=37390352

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2005100690544A Pending CN1863016A (en) 2005-05-10 2005-05-10 Method for simultaneously testing multiple channels

Country Status (1)

Country Link
CN (1) CN1863016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016150249A1 (en) * 2015-03-24 2016-09-29 中兴通讯股份有限公司 Error code testing method, apparatus and system for multi-channel system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016150249A1 (en) * 2015-03-24 2016-09-29 中兴通讯股份有限公司 Error code testing method, apparatus and system for multi-channel system
CN106160848A (en) * 2015-03-24 2016-11-23 中兴通讯股份有限公司 The error-code testing method of a kind of multichannel system, device and system
CN106160848B (en) * 2015-03-24 2020-06-26 中兴通讯股份有限公司 Error code testing method, device and system for multi-channel system

Similar Documents

Publication Publication Date Title
CN1263320C (en) Dispatching method and device for shared channel in radio group communication system
CN1322069A (en) Method for allocating resource in common channel, correlative mobile terminal and base station
CN1115198A (en) Channel selection in a cellular communication system
CN103838859B (en) A method of data copy between multi-process under reduction linux
CN1867166A (en) Method for deleting wireless link under out-of-step state
CN1549475A (en) Fast random switching in method used for upward special channel enhancement of WCDMA system
CN106022557A (en) Check task distribution method and system
CN102402459A (en) Method and device for summarizing performance data of network management system
CN102929929A (en) Method and device for data summarization
CN1863016A (en) Method for simultaneously testing multiple channels
CN102202020B (en) Scheduling method, device and system for eliminating interference of traffic channels based on batches
CN1150708C (en) Method for raising channel utilization rate of code vision multiple address cellular mobile communication system
CN102573073B (en) Resource allocation method and system for physical layer of terminal
CN1295614C (en) Testing software timing method
CN109743100B (en) Multi-user channel distribution method for capturing information based on Beidou short message system
CN1744529A (en) Automatic test method for multi web site performance
CN112286651A (en) Method and device for automatically testing resource management
CN1889602A (en) Method for realizing real-time traffic statistics
CN100542162C (en) A kind of dispatching method of VoIP business
CN107332682B (en) A kind of measurement method and device of service rate
CN1859755A (en) Positioning method for mobile station
CN1809024A (en) Two-slot dynamic length WFQ calendar
CN1816071A (en) Telephone traffic quantity detection method and apparatus based on poisson distribution telephone-traffic model
CN106993330B (en) Method and system for allocating call channels
CN1267428A (en) System and method for detecting state of dialling codenumber

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20061115