TWI648958B - Testing method, testing apparatus and testing system - Google Patents
Testing method, testing apparatus and testing system Download PDFInfo
- Publication number
- TWI648958B TWI648958B TW106143254A TW106143254A TWI648958B TW I648958 B TWI648958 B TW I648958B TW 106143254 A TW106143254 A TW 106143254A TW 106143254 A TW106143254 A TW 106143254A TW I648958 B TWI648958 B TW I648958B
- Authority
- TW
- Taiwan
- Prior art keywords
- test
- signal
- item
- requests
- tested
- Prior art date
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
一種測試方法、測試裝置以及測試系統。使用控制器搭配一台訊號產生器來進行測試。控制器分別接收多個待測設備的多個測試請求。控制器自所述測試請求所包括的多個測試頻率與多個訊號強度中選擇其中一個來作為測試項目,並基於測試項目來產生通知訊息,而廣播通知訊息至所述待測設備,使得發送包括測試項目的所述測試請求的所述待測設備進行鎖頻。控制器驅使訊號產生器產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備。A test method, test device, and test system. Use the controller with a signal generator to test. The controller receives multiple test requests of multiple devices to be tested. The controller selects one of the plurality of test frequencies and the plurality of signal strengths included in the test request as a test item, and generates a notification message based on the test item, and broadcasts the notification message to the device to be tested, so that the sending The device under test including the test request of the test item is frequency-locked. The controller drives the signal generator to generate a test signal corresponding to the test item and transmits a test signal to the device under test.
Description
本發明是有關於一種測試架構,且特別是有關於一種測試方法、測試裝置以及測試系統。The present invention relates to a test architecture, and more particularly to a test method, test apparatus, and test system.
隨著無線技術不斷變化,RF(Radio Frequency,射頻)測試已成為現今行動通訊產業工程師每天的例行工作。對行動終端設備而言,測試時間是一項重要因素,因此業者不斷尋求方法減少測試時間及相關成本。一般而言,在測試待測設備的Rx功能時,需要測試多個頻率及訊號強度,例如,高頻/低能量、中頻/高能量、低頻/高能量等。With the ever-changing wireless technology, RF (Radio Frequency) testing has become a routine routine for today's mobile communications industry engineers. Test time is an important factor for mobile terminal equipment, so operators are constantly looking for ways to reduce test time and associated costs. In general, when testing the Rx function of the device under test, it is necessary to test multiple frequencies and signal strengths, for example, high frequency/low energy, medium frequency/high energy, low frequency/high energy, and the like.
傳統的測試方式有下述二種。第一種待測設備為使用三台訊號產生器同時發送高頻訊號、中頻訊號以及低頻訊號至待測設備(Device Under Test,DUT),以使得待測設備依序鎖頻以進行驗證。第二種待測設備為一台訊號產生器搭配一台待測裝置,訊號產生器會依待測設備要測試的頻點來產生對應的頻率訊號/訊號強度,待訊號產生後待測設備再鎖頻以進行驗證。The traditional test methods are as follows. The first device under test uses three signal generators to simultaneously transmit high frequency signals, intermediate frequency signals, and low frequency signals to a Device Under Test (DUT), so that the devices under test are sequentially locked for verification. The second device to be tested is a signal generator and a device to be tested, and the signal generator generates a corresponding frequency signal/signal intensity according to the frequency to be tested by the device to be tested, and the device to be tested is generated after the signal is generated. The frequency is locked for verification.
然而,所述第一種測試方式需要設置多台訊號產生器,架設環境較困難,並且為了防止訊號之間互相干擾的問題,需要使用較高隔離度的分歧器(splitter)。且所需要的訊號產生器的數量和待測試的頻點數量相關。另外,所述第二種測試方式的訊號產生器的數量與待測設備的數量相關,因此當待測數量越多,則需要越多的訊號產生器,導致設置成本提高。However, the first test method requires multiple signal generators to be set up, and the setup environment is difficult, and in order to prevent mutual interference between signals, a higher isolation splitter is needed. And the number of signal generators required is related to the number of frequency points to be tested. In addition, the number of signal generators of the second test mode is related to the number of devices to be tested, so that the more the number of devices to be tested, the more signal generators are needed, resulting in an increase in setup cost.
本發明提供一種測試方法、測試裝置以及測試系統,利用一台訊號產生器來進行鎖頻驗證。The invention provides a test method, a test device and a test system, which use a signal generator to perform frequency lock verification.
本發明的測試方法,包括:分別自多個待測設備接收多個測試請求,其中各待測設備連接至訊號產生器;自所述測試請求所包括的多個測試頻率與多個訊號強度中選擇其中一個來作為測試項目,並基於測試項目來產生通知訊息;廣播通知訊息至所述待測設備,使得發送包括測試項目的所述測試請求的所述待測設備進行鎖頻;以及驅使訊號產生器產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備。The testing method of the present invention includes: receiving a plurality of test requests from a plurality of devices to be tested, wherein each device to be tested is connected to the signal generator; and the plurality of test frequencies and the plurality of signal strengths included in the test request Selecting one of them as a test item, and generating a notification message based on the test item; broadcasting a notification message to the device under test, causing the device under test to transmit the test request including the test item to perform frequency locking; and driving the signal The generator generates a test signal corresponding to the test item and transmits a test signal to the device under test.
在本發明的一實施例中,所述測試方法更包括:將所接收到的所述測試請求儲存至待處理佇列中;在驅使訊號產生器產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備之後,自待處理佇列中刪除已被選擇的測試頻率或訊號強度;自待處理佇列中剩餘的測試頻率及訊號強度中選擇其中另一個來作為測試項目,並基於測試項目來重新產生另一通知訊息;重新廣播另一通知訊息至所述待測設備;以及重新驅使訊號產生器產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備。In an embodiment of the invention, the testing method further includes: storing the received test request into a queue to be processed; driving the signal generator to generate a test signal corresponding to the test item, and transmitting the test After the signal is sent to the device under test, the selected test frequency or signal strength is deleted from the pending queue; one of the remaining test frequencies and signal strengths in the queue to be processed is selected as the test item, and Regenerating another notification message based on the test item; rebroadcasting another notification message to the device under test; and re-driving the signal generator to generate a test signal corresponding to the test item, and transmitting the test signal to the device under test.
在本發明的一實施例中,自所述測試請求所包括的所述測試頻率與所述訊號強度中選擇其中一個來作為測試項目的步驟包括:基於先進先出(First In First Out,FIFO)演算法來決定自所述測試頻率與所述訊號強度中選擇其中一個來作為測試項目。In an embodiment of the invention, the step of selecting one of the test frequency and the signal strength included in the test request as a test item comprises: based on a first in first out (FIFO) The algorithm determines to select one of the test frequency and the signal strength as a test item.
在本發明的一實施例中,自所述測試請求所包括的所述測試頻率與所述訊號強度中選擇其中一個來作為測試項目的步驟包括:計算各測試頻率與各訊號強度的請求數量;以及選擇請求數量最多的其中一個測試頻率或訊號強度來作為測試項目。In an embodiment of the invention, the step of selecting one of the test frequency and the signal strength included in the test request as a test item comprises: calculating a request quantity of each test frequency and each signal strength; And select one of the most frequently requested test frequencies or signal strengths as the test item.
在本發明的一實施例中,自所述測試請求所包括的所述測試頻率與所述訊號強度中選擇其中一個來作為測試項目的步驟包括:計算各測試頻率與各訊號強度的請求數量;基於各測試頻率與各訊號強度對應的請求數量以及接收時間差,計算各測試頻率與各訊號強度的權重;選擇權重最高的其中一個測試頻率或訊號強度來作為測試項目。In an embodiment of the invention, the step of selecting one of the test frequency and the signal strength included in the test request as a test item comprises: calculating a request quantity of each test frequency and each signal strength; The weight of each test frequency and each signal strength is calculated based on the number of requests corresponding to each test frequency and the received time difference, and the weight of each test frequency or signal strength is selected as the test item.
本發明的測試裝置,包括:訊號產生器以及控制器。訊號產生器耦接至多個待測設備。控制器耦接至訊號產生器,並且透過通訊設備分別自所述待測設備接收多個測試請求。控制器自所述測試請求所包括的多個測試頻率與多個訊號強度中選擇其中一個來作為測試項目,並基於測試項目來產生通知訊息,並且透過通訊設備廣播通知訊息至所述待測設備,使得發送包括測試項目的所述測試請求的所述待測設備進行鎖頻;控制器驅使訊號產生器產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備。The testing device of the present invention comprises: a signal generator and a controller. The signal generator is coupled to the plurality of devices to be tested. The controller is coupled to the signal generator, and receives a plurality of test requests from the device under test through the communication device. The controller selects one of the plurality of test frequencies and the plurality of signal strengths included in the test request as a test item, generates a notification message based on the test item, and broadcasts the notification message to the device under test through the communication device. The device to be tested that sends the test request including the test item is frequency-locked; the controller drives the signal generator to generate a test signal corresponding to the test item, and transmits a test signal to the device under test.
在本發明的一實施例中,所述測試裝置更包括:訊號分配器。訊號分配器包括接收端子以及多個輸出端子,其中接收端子耦接至訊號產生器,所述輸出端子分別耦接至所述待測設備。In an embodiment of the invention, the testing device further comprises: a signal distributor. The signal distributor includes a receiving terminal and a plurality of output terminals, wherein the receiving terminal is coupled to the signal generator, and the output terminals are respectively coupled to the device to be tested.
本發明的測試系統,包括:多個待測設備、訊號產生器以及控制器。訊號產生器耦接至所述待測設備。控制器耦接至訊號產生器,並且透過通訊設備分別自所述待測設備接收多個測試請求。控制器自所述測試請求所包括的多個測試頻率與多個訊號強度中選擇其中一個來作為測試項目,並基於測試項目來產生通知訊息,並且透過訊號傳輸方式廣播通知訊息至所述待測設備,使得發送包括測試項目的所述測試請求對應的所述待測設備進行鎖頻;控制器驅使訊號產生器產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備。The test system of the present invention comprises: a plurality of devices to be tested, a signal generator and a controller. The signal generator is coupled to the device under test. The controller is coupled to the signal generator, and receives a plurality of test requests from the device under test through the communication device. The controller selects one of the plurality of test frequencies and the plurality of signal strengths included in the test request as a test item, generates a notification message based on the test item, and broadcasts the notification message to the test by using a signal transmission manner. The device causes the device under test corresponding to the test request to send a test item to perform frequency locking; the controller drives the signal generator to generate a test signal corresponding to the test item, and transmits a test signal to the device under test.
基於上述,使用控制器搭配一台訊號產生器來進行測試,透過控制器接收待測設備的測試請求,並對這些測試請求進行排程,再依據排程使得訊號產生器來產生對應的訊號。據此,不需多台訊號產生器,可節省設備成本,並且避免了多台訊號產生器之間的訊號干擾問題。Based on the above, the controller is used with a signal generator to perform testing, and the controller receives the test request of the device under test, and schedules the test requests, and then causes the signal generator to generate a corresponding signal according to the scheduling. Accordingly, multiple signal generators are not required, which saves equipment costs and avoids signal interference between multiple signal generators.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.
本案提出一種利用一台訊號產生器而可應用在多個測試頻點和多個待測設備的架構,並且所需要的測試時間和傳統方式相同。為了使本發明之內容更為明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。The present invention proposes an architecture that can be applied to multiple test frequency points and multiple devices under test by using one signal generator, and the required test time is the same as the conventional method. In order to clarify the content of the present invention, the following specific examples are given as examples in which the present invention can be implemented.
圖1是依照本發明一實施例的測試裝置的方塊圖。測試裝置100包括訊號產生器110、控制器120、訊號分配器130以及通訊設備140。訊號分配器130例如為分歧器。通訊設備140例如為網路卡、WiFi晶片、行動通訊晶片、藍芽模組等。訊號產生器110耦接至多個待測設備。控制器120耦接至訊號產生器110與通訊設備140,並且透過通訊設備140分別自多個待測設備接收多個測試請求。訊號分配器130包括接收端子以及多個輸出端子,接收端子耦接至訊號產生器110,而輸出端子則耦接至待測設備。1 is a block diagram of a test apparatus in accordance with an embodiment of the present invention. The test apparatus 100 includes a signal generator 110, a controller 120, a signal distributor 130, and a communication device 140. The signal distributor 130 is, for example, a splitter. The communication device 140 is, for example, a network card, a WiFi chip, a mobile communication chip, a Bluetooth module, or the like. The signal generator 110 is coupled to a plurality of devices to be tested. The controller 120 is coupled to the signal generator 110 and the communication device 140, and receives a plurality of test requests from the plurality of devices under test through the communication device 140. The signal distributor 130 includes a receiving terminal and a plurality of output terminals. The receiving terminal is coupled to the signal generator 110, and the output terminal is coupled to the device to be tested.
在本實施例中,將控制器120與訊號產生器110整合於測試裝置100,然,在其他實施例中,控制器120亦可以設置於另一主機。In this embodiment, the controller 120 and the signal generator 110 are integrated into the test device 100. However, in other embodiments, the controller 120 may also be disposed on another host.
控制器120例如為中央處理單元(Central Processing Unit,CPU)、圖像處理單元(Graphic Processing Unit,GPU)、物理處理單元(Physics Processing Unit,PPU)、可程式化之微處理器(Microprocessor)、嵌入式控制晶片、數位訊號處理器(Digital Signal Processor,DSP)、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)或其他類似裝置。控制器120會去讀取儲存裝置(未繪示)內的程式碼片段來執行測試方法。儲存裝置例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、安全數位卡(Secure Digital Memory Card,SD)、硬碟或其他類似裝置或這些裝置的組合。The controller 120 is, for example, a central processing unit (CPU), an image processing unit (GPU), a physical processing unit (PPU), a programmable microprocessor (Microprocessor), Embedded control chip, Digital Signal Processor (DSP), Application Specific Integrated Circuits (ASIC) or other similar devices. The controller 120 will read the code segments in the storage device (not shown) to execute the test method. The storage device is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory (Flash memory), secure digital Secure Digital Memory Card (SD), hard disk or other similar device or a combination of these devices.
圖2是依照本發明一實施例的測試系統的示意圖。請參照圖2,測試系統200包括訊號產生器110、控制器120、訊號分配器130以及多台待測設備210。在此,以4台待測設備210_A~210_D來進行說明,但並不以此為限。訊號產生器110透過訊號分配器130來傳送測試訊號至待測設備210_A~210_D。搭配上述測試系統200,底下再舉一例來詳細說明測試方法的各步驟。2 is a schematic diagram of a test system in accordance with an embodiment of the present invention. Referring to FIG. 2, the test system 200 includes a signal generator 110, a controller 120, a signal distributor 130, and a plurality of devices to be tested 210. Here, the four devices to be tested 210_A to 210_D are described, but not limited thereto. The signal generator 110 transmits the test signal to the devices under test 210_A to 210_D through the signal distributor 130. In conjunction with the above test system 200, an example is given below to detail the steps of the test method.
圖3是依照本發明一實施例的測試方法的流程圖。請參照圖2及圖3,在步驟S305中,控制器120分別自待測設備210_A~210_D接收多個測試請求。即,待測設備210_A~210_D分別透過通訊設備140將測試請求傳送至控制器120。例如,待測設備210_A~210_D可以透過有線網路、無線網路或是傳輸線等來與控制器120進行溝通。3 is a flow chart of a test method in accordance with an embodiment of the present invention. Referring to FIG. 2 and FIG. 3, in step S305, the controller 120 receives a plurality of test requests from the devices to be tested 210_A to 210_D, respectively. That is, the devices under test 210_A to 210_D transmit test requests to the controller 120 through the communication device 140, respectively. For example, the devices under test 210_A to 210_D can communicate with the controller 120 through a wired network, a wireless network, or a transmission line or the like.
接著,在步驟S310中,控制器120從測試請求所包括的多個測試頻率與多個訊號強度中選擇其中一個來作為測試項目,並基於測試項目來產生通知訊息。換句話說,控制器120會對這些測試頻率與訊號強度進行排程,再基於排程來決定測試項目。Next, in step S310, the controller 120 selects one of the plurality of test frequencies and the plurality of signal strengths included in the test request as a test item, and generates a notification message based on the test item. In other words, the controller 120 schedules these test frequencies and signal strengths, and then determines the test items based on the schedule.
之後,在步驟S315中,控制器120透過通訊設備140廣播通知訊息至待測設備210。即,控制器120透過通知訊息來通知全部的待測設備210_A~210_D,使得待測設備210_A~210_D能夠根據通知訊息而得知接下來所要傳送的是哪一個頻率或是哪一種強度。倘若通知訊息中的測試項目為待測設備210_A所發出的其中一個測試頻率,則待測設備210_A會進行鎖頻。Thereafter, in step S315, the controller 120 broadcasts a notification message to the device under test 210 via the communication device 140. That is, the controller 120 notifies all the devices under test 210_A to 210_D through the notification message, so that the devices under test 210_A to 210_D can know which frequency or which intensity to transmit next according to the notification message. If the test item in the notification message is one of the test frequencies sent by the device under test 210_A, the device under test 210_A will perform frequency locking.
然後,在步驟S320中,控制器120驅使訊號產生器110產生對應於測試項目的測試訊號,並傳送測試訊號至所述待測設備。舉例來說,假設待測設備210_A發送的測試請求中指定頻率作為測試項目,則待測設備210_A在接收到通知訊息之後,便會進行鎖頻,以鎖定指定頻率。此時,由於待測設備210_A已進行鎖頻,故,待測設備210_A會在指定頻率來進行測試。待測設備(或者用來控制待測設備210_A的主機)會去讀出例如位元錯誤率(bit error rate,BER)、功率位準(power level)、頻率精準度等參數來進行測試。Then, in step S320, the controller 120 drives the signal generator 110 to generate a test signal corresponding to the test item, and transmits a test signal to the device under test. For example, assuming that the specified frequency in the test request sent by the device under test 210_A is used as a test item, the device under test 210_A, after receiving the notification message, performs frequency locking to lock the specified frequency. At this time, since the device under test 210_A has been frequency-locked, the device under test 210_A will perform the test at the specified frequency. The device under test (or the host used to control the device under test 210_A) will read parameters such as bit error rate (BER), power level, frequency accuracy, etc. for testing.
另外,控制器120會將所接收到的測試請求儲存至一待處理佇列中。並且,在驅使訊號產生器110產生對應於測試項目的測試訊號,並傳送測試訊號至待測設備210之後,控制器120自待處理佇列中刪除已被選擇作為測試項目的測試頻率或訊號強度,並且自待處理佇列中剩餘的測試頻率及訊號強度中選擇其中另一個來作為測試項目,並基於測試項目來重新產生另一通知訊息,而重新廣播另一通知訊息至待測設備210;以及重新驅使訊號產生器110產生對應於測試項目的測試訊號,並傳送測試訊號至待測設備210。控制器120會一直自待處理佇列中選擇其中一個來作為測試項目,直到待處理佇列中不存在任何測試請求所包括的項目。In addition, the controller 120 stores the received test request into a queue to be processed. Moreover, after driving the signal generator 110 to generate a test signal corresponding to the test item and transmitting the test signal to the device under test 210, the controller 120 deletes the test frequency or signal strength that has been selected as the test item from the pending queue. And selecting one of the remaining test frequencies and signal strengths in the queue to be tested as a test item, and regenerating another notification message based on the test item, and rebroadcast another notification message to the device under test 210; And re-driving the signal generator 110 to generate a test signal corresponding to the test item, and transmitting the test signal to the device under test 210. The controller 120 will always select one of the pending queues as the test item until there are no items included in the test request in the pending queue.
而在所述實施例中,例如可基於先進先出(First In First Out,FIFO)演算法來決定測試項目、或者基於請求數量來決定測試項目、或是計算出權重或優先權來決定測試項目。底下再舉實施例來說明。為求方便說明,在下述實施例中僅以測試請求包括測試頻率為例進行說明。然,在其他實施例中,測試請求亦可同時包括測試頻率及訊號強度或者測試請求只包括訊號強度,其排程方式與下述實施例相同,在此不再贅述。In the embodiment, for example, the test item may be determined based on a First In First Out (FIFO) algorithm, or the test item may be determined based on the number of requests, or the weight or priority may be calculated to determine the test item. . The embodiment will be described below. For convenience of description, in the following embodiments, only the test request including the test frequency is taken as an example for description. However, in other embodiments, the test request may also include the test frequency and the signal strength, or the test request includes only the signal strength, and the scheduling manner is the same as the following embodiment, and details are not described herein again.
圖4是依照本發明一實施例的基於先進先出演算法的排程方式的示意圖。在本實施例中,在時間點T1,控制器120接收到待測設備210_A的測試請求REQ_A(F1, F2),並將測試請求REQ_A(F1, F2)儲存至待處理佇列。此時待處理佇列中包括測試頻率F1、F2,因此,控制器120可以測試頻率F1或測試頻率F2作為測試項目。在此,以測試頻率F1作為最優先,然並不以此為限。故,在時間點T2時,控制器120會以測試頻率F1作為測試項目。4 is a schematic diagram of a scheduling manner based on a FIFO algorithm in accordance with an embodiment of the present invention. In the present embodiment, at time point T1, the controller 120 receives the test request REQ_A (F1, F2) of the device under test 210_A, and stores the test request REQ_A (F1, F2) to the queue to be processed. At this time, the test frequency F1, F2 is included in the queue to be processed, and therefore, the controller 120 can test the frequency F1 or the test frequency F2 as a test item. Here, the test frequency F1 is taken as the highest priority, but it is not limited thereto. Therefore, at time T2, the controller 120 takes the test frequency F1 as a test item.
接著,在時間點T2,控制器120接收到待測設備210_B的測試請求REQ_B(F3),並將測試請求REQ_B(F3)儲存至待處理佇列。並且,在時間點T2時,控制器120以測試頻率F1作為測試項目,進而驅使訊號產生器110產生對應測試頻率F1的測試訊號。Next, at time point T2, the controller 120 receives the test request REQ_B (F3) of the device under test 210_B, and stores the test request REQ_B (F3) to the queue to be processed. Moreover, at time T2, the controller 120 uses the test frequency F1 as a test item, thereby driving the signal generator 110 to generate a test signal corresponding to the test frequency F1.
之後,在時間點T3時,控制器120接收到待測設備210_C的測試請求REQ_C(F1)以及待測設備210_D的測試請求REQ_D(F1),並將測試請求REQ_C(F1)與測試請求REQ_D(F1)儲存至待處理佇列。並且,在時間點T3時,控制器120驅使訊號產生器110產生對應測試頻率F2的測試訊號。Thereafter, at time T3, the controller 120 receives the test request REQ_C (F1) of the device under test 210_C and the test request REQ_D (F1) of the device under test 210_D, and tests the request REQ_C (F1) with the test request REQ_D ( F1) Store to the pending queue. Moreover, at time T3, the controller 120 drives the signal generator 110 to generate a test signal corresponding to the test frequency F2.
接著,在時間點T4時,控制器120依照先進先出原則而以測試頻率F3作為測試項目,進而驅使訊號產生器110產生對應測試頻率F3的測試訊號。在時間點T5,控制器120驅使訊號產生器110產生對應測試頻率F1的測試訊號。而在時間點T5時完成了全部測試請求的測試。Next, at time T4, the controller 120 uses the test frequency F3 as a test item according to the first in first out principle, thereby driving the signal generator 110 to generate a test signal corresponding to the test frequency F3. At time point T5, the controller 120 drives the signal generator 110 to generate a test signal corresponding to the test frequency F1. At the time point T5, the test of all the test requests is completed.
另外,還可以計算各測試頻率的請求數量,以選擇請求數量最多的其中一個測試頻率來作為測試項目。In addition, it is also possible to calculate the number of requests for each test frequency to select one of the most frequently requested test frequencies as the test item.
舉例來說,圖5是依照本發明一實施例的基於請求數量的排程方式的示意圖。在時間點T1,控制器120接收到待測設備210_A的測試請求REQ_A(F1, F2)。待處理佇列中包括測試頻率F1、F2,其請求數量分別為1,因此所述兩個測試頻率的優先順序相同,在此以測試頻率F1作為最優先,然並不以此為限。故,在時間點T2時,控制器120會以測試頻率F1作為測試項目。For example, FIG. 5 is a schematic diagram of a scheduling manner based on the number of requests, in accordance with an embodiment of the present invention. At time point T1, the controller 120 receives the test request REQ_A (F1, F2) of the device under test 210_A. The test queues include test frequencies F1 and F2, and the number of requests is 1, respectively. Therefore, the priority of the two test frequencies is the same, and the test frequency F1 is taken as the highest priority, but not limited thereto. Therefore, at time T2, the controller 120 takes the test frequency F1 as a test item.
而在時間點T2,控制器120更進一步接收到待測設備210_B的測試請求REQ_B(F3)。此時,待處理佇列中包括測試頻率F2、F3,其請求數量分別為1,因此所述兩個測試頻率的優先順序相同,在此以測試頻率F2作為最優先,然並不以此為限。故,在時間點T3時,控制器120以測試頻率F2作為測試項目。At time point T2, the controller 120 further receives the test request REQ_B (F3) of the device under test 210_B. At this time, the pending queue includes test frequencies F2 and F3, and the number of requests is 1, respectively. Therefore, the priority of the two test frequencies is the same, and the test frequency F2 is taken as the highest priority, but this is not the case. limit. Therefore, at time T3, the controller 120 takes the test frequency F2 as a test item.
而在時間點T3,控制器120更進一步接收到待測設備210_C的測試請求REQ_C(F1)以及待測設備210_D的測試請求REQ_D(F1)。此時,待處理佇列中包括測試頻率F3、F1,其中測試頻率F3的請求數量為1,測試頻率F1的請求數量為2。故,控制器120會以測試頻率F1作為最優先,而在時間點T4時以測試頻率F1來作為測試項目。之後在時間點T5時,控制器120以測試頻率F3作為測試項目。At time point T3, the controller 120 further receives the test request REQ_C (F1) of the device under test 210_C and the test request REQ_D (F1) of the device under test 210_D. At this time, the to-be-processed queue includes test frequencies F3 and F1, wherein the number of requests for the test frequency F3 is 1, and the number of requests for the test frequency F1 is 2. Therefore, the controller 120 takes the test frequency F1 as the highest priority, and at the time point T4, the test frequency F1 as the test item. Then at time point T5, the controller 120 takes the test frequency F3 as a test item.
另外,在請求數量相同的情況下,還可進一步基於先進先出原則來進行選擇,然在此並不限制。In addition, in the case where the number of requests is the same, the selection may be further based on the first in first out principle, but it is not limited herein.
此外,還可進一步計算各測試頻率的請求數量,並基於各測試頻率對應的請求數量以及接收時間差,計算各測試頻率的權重,之後選擇權重最高的其中一個測試頻率來作為測試項目。例如,權重=接收時間差×2+請求數量。In addition, the number of requests for each test frequency may be further calculated, and the weight of each test frequency is calculated based on the number of requests corresponding to each test frequency and the time difference of reception, and then one of the test frequencies with the highest weight is selected as the test item. For example, weight = reception time difference x 2 + number of requests.
表1~表3是依照本發明一實施例的基於權重的排程方式。表1~表3分別代表時間點T2~T4的排程情況。Tables 1 to 3 are weight-based scheduling methods in accordance with an embodiment of the present invention. Tables 1 to 3 represent the schedules at time points T2 to T4, respectively.
表1 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> 時間點T2 </td></tr><tr><td> 測試頻率 </td><td> 接收的時間點 </td><td> 發送的 待測設備 </td><td> 權重=接收時間差×2 +請求數量 </td></tr><tr><td> F1 </td><td> T1 </td><td> 210_A </td><td> 已送出 </td></tr><tr><td> F2 </td><td> T1 </td><td> 210_A </td><td> (T2-T1)×2+1 </td></tr><tr><td> F3 </td><td> T2 </td><td> 210_B </td><td> 0+1 </td></tr></TBODY></TABLE>Table 1 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> Time T2 </td></tr><tr><td> Test frequency </ Td><td> Received time point </td><td> Transmitted device under test </td><td> Weight = Receive time difference × 2 + Request quantity </td></tr><tr><td > F1 </td><td> T1 </td><td> 210_A </td><td> Sent </td></tr><tr><td> F2 </td><td> T1 </td><td> 210_A </td><td> (T2-T1)×2+1 </td></tr><tr><td> F3 </td><td> T2 </td ><td> 210_B </td><td> 0+1 </td></tr></TBODY></TABLE>
表2 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> 時間點T3 </td></tr><tr><td> 測試頻率 </td><td> 接收的時間點 </td><td> 發送的 待測設備 </td><td> 權重=接收時間差×2 +請求數量 </td></tr><tr><td> F2 </td><td> T1 </td><td> 210_A </td><td> 已送出 </td></tr><tr><td> F3 </td><td> T2 </td><td> 210_B </td><td> (T3-T2)×2+1 </td></tr><tr><td> F1 </td><td> T3 </td><td> 210_C、210_D </td><td> 0+2 </td></tr></TBODY></TABLE>Table 2 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> Time T3 </td></tr><tr><td> Test frequency </ Td><td> Received time point </td><td> Transmitted device under test </td><td> Weight = Receive time difference × 2 + Request quantity </td></tr><tr><td > F2 </td><td> T1 </td><td> 210_A </td><td> Sent </td></tr><tr><td> F3 </td><td> T2 </td><td> 210_B </td><td> (T3-T2)×2+1 </td></tr><tr><td> F1 </td><td> T3 </td ><td> 210_C, 210_D </td><td> 0+2 </td></tr></TBODY></TABLE>
表3 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> 時間點T4 </td></tr><tr><td> 測試頻率 </td><td> 接收的時間點 </td><td> 發送的 待測設備 </td><td> 權重=接收時間差×2 +請求數量 </td></tr><tr><td> F3 </td><td> T2 </td><td> 210_B </td><td> 已送出 </td></tr><tr><td> F1 </td><td> T3 </td><td> 210_C、210_D </td><td> (T4-T3)×2+2 </td></tr></TBODY></TABLE>table 3 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> Time T4 </td></tr><tr><td> Test frequency </ Td><td> Received time point </td><td> Transmitted device under test </td><td> Weight = Receive time difference × 2 + Request quantity </td></tr><tr><td > F3 </td><td> T2 </td><td> 210_B </td><td> Sent </td></tr><tr><td> F1 </td><td> T3 </td><td> 210_C, 210_D </td><td> (T4-T3)×2+2 </td></tr></TBODY></TABLE>
在表1中,於時間點T2時,控制器120先以測試頻率F1作為測試項目,而後計算測試頻率F2、F3各自的權重。假設時間點T2與時間點T1的時間差為1,則測試頻率F2的權重為3。而測試頻率F3的權重為1。由於測試頻率F2的權重大於測試頻率F3的權重,因此於下個時間點(即,時間點T3)時,控制器120會以測試頻率F2作為測試項目。In Table 1, at time T2, the controller 120 first takes the test frequency F1 as a test item, and then calculates the respective weights of the test frequencies F2, F3. Assuming that the time difference between the time point T2 and the time point T1 is 1, the weight of the test frequency F2 is 3. The test frequency F3 has a weight of 1. Since the weight of the test frequency F2 is greater than the weight of the test frequency F3, the controller 120 takes the test frequency F2 as the test item at the next time point (ie, the time point T3).
在表2中,如上述,控制器120於時間點T3時以測試頻率F2作為測試項目,而後計算測試頻率F3、F1各自的權重。假設時間點T3與時間點T2的時間差為1,則測試頻率F3的權重為3。而測試頻率F3重新計算後的權重為3。而測試頻率F1的請求數量為2,故,其權重為2。由於測試頻率F3的權重大於測試頻率F1的權重,因此於下個時間點(即,時間點T4)時,控制器120會以測試頻率F3作為測試項目。In Table 2, as described above, the controller 120 takes the test frequency F2 as a test item at the time point T3, and then calculates the respective weights of the test frequencies F3, F1. Assuming that the time difference between the time point T3 and the time point T2 is 1, the weight of the test frequency F3 is 3. The weight of the test frequency F3 is recalculated to be 3. The number of requests for testing frequency F1 is 2, so its weight is 2. Since the weight of the test frequency F3 is greater than the weight of the test frequency F1, the controller 120 takes the test frequency F3 as the test item at the next time point (ie, the time point T4).
在表3中,如上述,控制器120於時間點T4時以測試頻率F3作為測試項目,而後計算測試頻率F1的權重。假設時間點T3與時間點T2的時間差為1,則測試頻率F1重新計算後的權重為4。之後,在時間點T5,控制器120以測試頻率F1作為測試項目。In Table 3, as described above, the controller 120 takes the test frequency F3 as a test item at the time point T4, and then calculates the weight of the test frequency F1. Assuming that the time difference between the time point T3 and the time point T2 is 1, the weight of the test frequency F1 after recalculation is 4. Thereafter, at time point T5, the controller 120 takes the test frequency F1 as a test item.
綜上所述,本發明增加一個控制器來接受待測設備送出的測試請求,並對這些測試請求進行排程,之後使得訊號產生器依排程來產生對應的訊號。據此,由於只有一台訊號產生器,所以環境架設時不會有多台訊號產生器之間的訊號互相干擾的問題,並且,進一步節省設備成本。In summary, the present invention adds a controller to accept test requests sent by the device under test, and schedules the test requests, and then causes the signal generator to generate corresponding signals according to the scheduling. Accordingly, since there is only one signal generator, there is no problem that signals between the plurality of signal generators interfere with each other when the environment is set up, and the equipment cost is further saved.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.
100‧‧‧測試裝置100‧‧‧Testing device
110‧‧‧訊號產生器110‧‧‧Signal Generator
120‧‧‧控制器120‧‧‧ Controller
130‧‧‧訊號分配器130‧‧‧Signal Dispenser
140‧‧‧通訊設備140‧‧‧Communication equipment
210、210_A~210_D‧‧‧待測設備210, 210_A~210_D‧‧‧Device under test
F1~F3‧‧‧測試頻率F1~F3‧‧‧ test frequency
REQ_A(F1, F2)~REQ_D(F1)‧‧‧測試請求REQ_A (F1, F2) ~ REQ_D (F1) ‧ ‧ test request
T1~T5‧‧‧時間點T1~T5‧‧‧ time point
S305~S320‧‧‧測試方法的各步驟S305 ~ S320‧‧‧ Test method steps
圖1是依照本發明一實施例的測試裝置的方塊圖。 圖2是依照本發明一實施例的測試系統的示意圖。 圖3是依照本發明一實施例的測試方法的流程圖。 圖4是依照本發明一實施例的基於先進先出演算法的排程方式的示意圖。 圖5是依照本發明一實施例的基於請求數量的排程方式的示意圖。1 is a block diagram of a test apparatus in accordance with an embodiment of the present invention. 2 is a schematic diagram of a test system in accordance with an embodiment of the present invention. 3 is a flow chart of a test method in accordance with an embodiment of the present invention. 4 is a schematic diagram of a scheduling manner based on a FIFO algorithm in accordance with an embodiment of the present invention. FIG. 5 is a schematic diagram of a scheduling manner based on the number of requests, in accordance with an embodiment of the present invention.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106143254A TWI648958B (en) | 2017-12-08 | 2017-12-08 | Testing method, testing apparatus and testing system |
CN201811496039.1A CN109921862B (en) | 2017-12-08 | 2018-12-07 | Test method, test device and test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106143254A TWI648958B (en) | 2017-12-08 | 2017-12-08 | Testing method, testing apparatus and testing system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI648958B true TWI648958B (en) | 2019-01-21 |
TW201926927A TW201926927A (en) | 2019-07-01 |
Family
ID=65803977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106143254A TWI648958B (en) | 2017-12-08 | 2017-12-08 | Testing method, testing apparatus and testing system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109921862B (en) |
TW (1) | TWI648958B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112383939B (en) * | 2020-10-29 | 2022-04-19 | 四川虹美智能科技有限公司 | Method and device for testing network signals of NB-IoT (NB-IoT) equipment |
CN112202512B (en) * | 2020-11-18 | 2021-06-01 | 江苏中信博新能源科技股份有限公司 | Wireless signal strength detection method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102185738A (en) * | 2011-05-13 | 2011-09-14 | 迈普通信技术股份有限公司 | Communication equipment hardware host testing system and testing method |
US20120231745A1 (en) * | 2011-03-10 | 2012-09-13 | Justin Gregg | Simultaneous sensitivity testing for multiple devices in radio-frequency test systems |
CN102967819A (en) * | 2011-03-11 | 2013-03-13 | 补丁科技股份有限公司 | High speed test circuit and method |
US20130178203A1 (en) * | 2012-01-09 | 2013-07-11 | Vishwanath Venkataraman | Methods for testing wireless electronic devices using short message service |
CN103428051A (en) * | 2013-08-29 | 2013-12-04 | 普联技术有限公司 | System and method for testing communication devices |
CN104932327A (en) * | 2015-05-04 | 2015-09-23 | 深圳市国电科技通信有限公司 | Signal path controller |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010105471A (en) * | 2000-05-09 | 2001-11-29 | 박종섭 | Method for testing mam-machine communication command in HLR |
US8185339B2 (en) * | 2008-11-26 | 2012-05-22 | Advantest Corporation | Test method and program product used therefor |
CN203287487U (en) * | 2013-04-28 | 2013-11-13 | 深圳市燕麦科技开发有限公司 | On-line test system |
US9742505B2 (en) * | 2013-10-04 | 2017-08-22 | Alifecom Technology Corp. | Testing device and testing method thereof |
-
2017
- 2017-12-08 TW TW106143254A patent/TWI648958B/en active
-
2018
- 2018-12-07 CN CN201811496039.1A patent/CN109921862B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120231745A1 (en) * | 2011-03-10 | 2012-09-13 | Justin Gregg | Simultaneous sensitivity testing for multiple devices in radio-frequency test systems |
CN102967819A (en) * | 2011-03-11 | 2013-03-13 | 补丁科技股份有限公司 | High speed test circuit and method |
CN102185738A (en) * | 2011-05-13 | 2011-09-14 | 迈普通信技术股份有限公司 | Communication equipment hardware host testing system and testing method |
US20130178203A1 (en) * | 2012-01-09 | 2013-07-11 | Vishwanath Venkataraman | Methods for testing wireless electronic devices using short message service |
CN103428051A (en) * | 2013-08-29 | 2013-12-04 | 普联技术有限公司 | System and method for testing communication devices |
CN104932327A (en) * | 2015-05-04 | 2015-09-23 | 深圳市国电科技通信有限公司 | Signal path controller |
Also Published As
Publication number | Publication date |
---|---|
CN109921862B (en) | 2022-02-01 |
TW201926927A (en) | 2019-07-01 |
CN109921862A (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10397738B2 (en) | Techniques for wirelessly docking to a device | |
TWI648958B (en) | Testing method, testing apparatus and testing system | |
CN102193058A (en) | Test apparatus and test module | |
US20120017118A1 (en) | Method and apparatus for testing an integrated circuit including an i/o interface | |
JP2017514116A (en) | Method for testing multiple data packet signal transceivers with shared test equipment to maximize test equipment usage efficiency and minimize test time | |
CN115088359A (en) | Resource allocation method and device | |
TWI635717B (en) | System and method for data packet transceiver testing after signal calibration and power settling to minimize test time | |
JP2023512544A (en) | Reference signal resource configuration method and apparatus | |
CN109981214A (en) | A kind of transfer control method and device | |
WO2016029483A1 (en) | Network parameter adjustment method and base station device | |
US9021411B2 (en) | Characterizing TSV structures in a semiconductor chip stack | |
JP6777076B2 (en) | Packet transmission method and packet transmission device | |
KR101996967B1 (en) | Semiconductor apparatus | |
WO2015049803A1 (en) | Distance measurement device and distance measurement method | |
US11758508B2 (en) | Access Point (AP) placement using Fine Time Measurement (FTM) | |
JP2021517436A (en) | Communication method and equipment | |
TW201014222A (en) | Apparatus and method for testing a communication circuit | |
US7814450B2 (en) | Active skew control of a digital phase-lock loop using delay lock-loops | |
EP4447527A1 (en) | Measurement gap indication method and apparatus | |
WO2023240556A1 (en) | Reporting methods, apparatuses, device, and storage medium | |
WO2023216165A1 (en) | Method and apparatus for controlling reference signal transmission by intelligent metasurface ris | |
WO2024164123A1 (en) | Feedback method, and apparatus, device and storage medium | |
WO2024000529A1 (en) | Channel state information feedback method and apparatus | |
WO2023201502A1 (en) | Measurement configuration processing method, and apparatus | |
WO2024164124A1 (en) | Feedback method and apparatus, device and storage medium |