TWI453441B - Signal decoding method - Google Patents

Signal decoding method Download PDF

Info

Publication number
TWI453441B
TWI453441B TW101123519A TW101123519A TWI453441B TW I453441 B TWI453441 B TW I453441B TW 101123519 A TW101123519 A TW 101123519A TW 101123519 A TW101123519 A TW 101123519A TW I453441 B TWI453441 B TW I453441B
Authority
TW
Taiwan
Prior art keywords
data
signal
decoding method
different
data types
Prior art date
Application number
TW101123519A
Other languages
Chinese (zh)
Other versions
TW201400835A (en
Inventor
Lu Yu Huang
Original Assignee
Zeroplus Technology 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 Zeroplus Technology Co Ltd filed Critical Zeroplus Technology Co Ltd
Priority to TW101123519A priority Critical patent/TWI453441B/en
Publication of TW201400835A publication Critical patent/TW201400835A/en
Application granted granted Critical
Publication of TWI453441B publication Critical patent/TWI453441B/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Description

訊號解碼方法Signal decoding method

本發明係與數位訊號處理有關,更詳而言之是指一種訊號解碼方法。The present invention relates to digital signal processing, and more particularly to a signal decoding method.

隨著數位科技的進步,如電子晶片、液晶螢幕(LCD)之影像處理晶片、互補性氧化金屬半導體(Complementary Metal-Oxide Semiconductor,CMOS)、以及電荷耦合元件(Charge Coupled Device,CCD)等使用數位訊號傳輸資料之電子裝置日漸普及。With the advancement of digital technology, such as electronic wafers, liquid crystal display (LCD) image processing chips, Complementary Metal-Oxide Semiconductor (CMOS), and Charge Coupled Device (CCD), etc. Electronic devices for transmitting data have become increasingly popular.

當研發人員在研發具有上述電子裝置時,通常會利用邏輯分析儀來擷取電子裝置所輸出之數位訊號,並透過於一顯示裝置上顯示之方式供研發人員分析上述所擷取之數位訊號,藉以判定上述電子產品之設計是否正常。When the R&D personnel develops the above-mentioned electronic device, the logic analyzer is usually used to capture the digital signal output by the electronic device, and the display device displays the digital signal for the developer to analyze the digital signal. In order to determine whether the design of the above electronic products is normal.

在現有邏輯分析儀解譯訊號之技術,主要都是以一訊號專門解譯出一資料類型,而往往怱略掉同時間可能會有兩種以上之資料類型,請參閱圖1,當邏輯分析儀所擷取之數位訊號P2於同一時間區段中解譯出兩種以上資料類型(如圖中之Response與Data)之資料數值R2、D2時,於現有技術中,僅會以其中一種資料類型(圖中的Response)之資料數值R2為主要解碼對象,進而顯示以R2為主之資料類型完整的資料數值,而另一種資料類型(圖中的Data)之資料數值D2,則當R2 資料解譯並顯示後,才會去顯示資料數值D2剩餘之部份,造成資料數值D2會被主資料類型的資料數值R1所覆蓋,而無法得知其詳細內容。In the existing logic analyzers, the technology of interpreting signals is mainly to interpret a data type by a signal, and often there may be more than two types of data at the same time, please refer to Figure 1, when logic analysis When the digital signal P2 captured by the instrument decodes the data values R2 and D2 of two or more data types (Response and Data in the figure) in the same time zone, only one of the data is used in the prior art. The data value R2 of the type (Response in the figure) is the main decoding object, and then the data value of the data type based on R2 is displayed, and the data value D2 of the other data type (Data in the figure) is R2. After the data is interpreted and displayed, the remaining part of the data value D2 will be displayed, so that the data value D2 will be covered by the data value R1 of the main data type, and the details cannot be known.

是以,當研發人員欲得知被覆蓋之資料數值時,則必須設定以原先被覆蓋之資料類型為主要解碼對象,並從頭將該邏輯分析儀所擷取之數位訊號P2重新解譯一次(如圖2),才能得到欲得知之資料數值D2。Therefore, when the developer wants to know the value of the covered data, he must set the data type that was originally covered as the main decoding target, and re-interpret the digital signal P2 captured by the logic analyzer from the beginning ( As shown in Figure 2), you can get the data value D2 you want to know.

然而,隨著科技越來越進步,上述電子裝置所傳輸之數位資量越來越龐大,進而使得邏輯分析儀每次所擷取須分析之數位訊號量亦越來越龐大,而上述習用之資料解碼方法不僅過程費時,且會加大研發人員之工作負荷,進而使得比對與分析之作業效果不彰。However, with the advancement of technology, the digital resources transmitted by the above-mentioned electronic devices are becoming more and more large, and the number of digital signals that the logic analyzer needs to analyze each time is becoming larger and larger, and the above-mentioned conventional use The data decoding method is not only time-consuming, but also increases the workload of the R&D personnel, which in turn makes the comparison and analysis work less effective.

有鑑於此,本發明之主要目的在於提供一種訊號解碼方法可解譯並顯示多種資料類型的資料數值,進而提升研發人員比對與分析時之效率。In view of this, the main purpose of the present invention is to provide a signal decoding method capable of interpreting and displaying data values of various data types, thereby improving the efficiency of comparison and analysis by developers.

緣以達成上述目的,本發明所提供訊號解碼方法係用以於一邏輯分析儀擷取一待測物之訊號時,解譯所擷取之該待測物之訊號;該訊號解碼方法包含下列步驟:A.載入對應該待測物之通訊協定的解碼手段;B.擷取複數個該待測物之訊號封包; C.以步驟A所選擇之解碼手段解譯步驟B所擷取之訊號封包;D.當步驟C於同一時間區段中解譯出兩種以上不同資料類型之資料數值時,先解譯取得其中一資料類型之資料數值;E.以步驟A所選擇之解碼手段重新解譯步驟B所擷取之訊號封包,以取得另一資料類型之資料數值;F.同時顯示所有解譯出之不同資料類型之資料數值於一顯示裝置上。In order to achieve the above object, the signal decoding method provided by the present invention is used to interpret the signal of the sample to be tested when a logic analyzer captures a signal of the object to be tested; the signal decoding method includes the following Steps: A. loading a decoding means corresponding to the communication protocol of the object to be tested; B. capturing a plurality of signal packets of the object to be tested; C. Interpreting the signal packet captured in step B by using the decoding method selected in step A; D. when step C interprets the data values of two or more different data types in the same time segment, first obtain the interpretation The data value of one of the data types; E. The interpretation of the signal packet selected in step B by the decoding means selected in step A to obtain the data value of another data type; F. simultaneously display all the different interpretations The data type of the data type is on a display device.

依據上述構思,係依據於步驟C解譯出的順序,依序於步驟D與步驟E中解譯取得不同資料類型之資料數值。According to the above concept, according to the sequence decomposed in step C, the data values of different data types are obtained by interpreting in steps D and E.

依據上述構思,當步驟C解譯出有三種以上不同資料類型之資料數值時,於步驟E中,取得另一資料類型之資料數值後,重複執行步驟E,直至解譯取得所有資料類型之資料數值。According to the above concept, when step C decodes the data value of three or more different data types, in step E, after obtaining the data value of another data type, step E is repeated until the data of all data types is obtained. Value.

依據上述構思,於步驟F中,係以不同顯示方式顯示不同資料類型之資料數值。According to the above concept, in step F, the data values of different data types are displayed in different display manners.

依據上述構思,所述之不同顯示方式是指以不同顏色顯示不同資料類型之資料數值。According to the above concept, the different display modes refer to displaying data values of different data types in different colors.

依據上述構思,於步驟F中,更同時顯示有步驟B所擷取之訊號封包的波形。According to the above concept, in step F, the waveform of the signal packet captured by step B is displayed at the same time.

藉此,透過上述解譯並顯示多種資料類型的資料數值之設計,不僅解譯過程詳細快速,且同時可大幅提升研發人員比對與分析時之效率。In this way, through the above-mentioned interpretation and display of the data values of various data types, the interpretation process is not only detailed and fast, but also greatly improves the efficiency of the comparison and analysis of the research and development personnel.

為能更清楚地說明本發明,茲舉較佳實施例並配合圖示詳細說明如後。In order that the present invention may be more clearly described, the preferred embodiments are illustrated in the accompanying drawings.

本發明所提供影訊號解碼方法係用以於一邏輯分析儀擷取一待測物之訊號時,解譯並顯示所擷取之該待測物之訊號;請參閱圖3至圖6,該訊號解碼方法包含下列步驟:The image signal decoding method provided by the present invention is used to decode and display the signal of the sample to be tested when a logic analyzer captures a signal of the object to be tested; please refer to FIG. 3 to FIG. The signal decoding method includes the following steps:

A.載入對應該待測物之通訊協定的解碼手段。一般來說,該通訊協定係存放於電腦中對應該影像訊號產生裝置之動態連結資料庫(Dynamic Link Library,DLL)中,且該動態連結資料庫係採用靜態連結(statically linked)至微軟基礎類別庫(Microsoft Foundation Classes,MFC)之動態連結資料庫。藉此,便可透過載入對應之動態連結資料庫來取得其通訊協定之解碼手段。A. Load the decoding means of the communication protocol corresponding to the object under test. Generally speaking, the communication protocol is stored in a dynamic link library (DLL) corresponding to the image signal generating device in the computer, and the dynamic link database is statically linked to the Microsoft basic category. Dynamic Linking Database for Microsoft Foundation Classes (MFC). In this way, the decoding method of the communication protocol can be obtained by loading the corresponding dynamic link database.

B.擷取複數個該待測物之訊號封包P1。B. Capture a plurality of signal packets P1 of the object to be tested.

C.以步驟A所選擇之解碼手段解譯步驟B所擷取之訊號封包P1。C. The signal packet P1 captured in step B is interpreted by the decoding means selected in step A.

D.當步驟C於同一時間區段中解譯出兩種以上不同資料類型之資料數值時,先解譯取得其中一資料類型之資料數值。舉例而言,當步驟C解譯出步驟B所擷取之訊號封包P1於同一時間區段中具有Response資料類型與Data資料類型之資料數值時,則先解譯取得Response資料類型之資料數 值R1(如圖4)。D. When step C decodes the data values of two or more different data types in the same time segment, first obtain the data value of one of the data types. For example, when step C decodes the signal packet P1 captured in step B and has the data value of the Response data type and the data data type in the same time zone, the number of data of the Response data type is first interpreted. The value is R1 (see Figure 4).

E.以步驟A所選擇之解碼手段重新解譯步驟B所擷取之訊號封包P1,以取得另一資料類型之資料數值。於本實施例中,本步驟是解譯取得Data資料類型之資料數值D1(如圖5)。E. The signal packet P1 captured in step B is reinterpreted by the decoding means selected in step A to obtain the data value of another data type. In this embodiment, this step is to interpret the data value D1 of the Data data type (see FIG. 5).

F.顯示步驟B所擷取之訊號封包P1的波形,且同時顯示所有解譯出之不同資料類型之資料數值於一顯示裝置上,並以不同顯示方式顯示不同資料類型之資料數值。請參閱圖6,於本實施例中,是以白色顯示Response資料類型之資料數值R1的圖形,並以灰色顯示Data資料類型之資料數值D1的圖形,因此,透過此方法之實施,可讓邏輯分析儀同時顯示多種資料類型的資料數值,避免因傳統邏輯分析儀僅能顯示單一資料類型,而造成使用上之困擾。F. Display the waveform of the signal packet P1 captured in step B, and simultaneously display the data values of all the interpreted different data types on a display device, and display the data values of different data types in different display manners. Referring to FIG. 6, in the embodiment, the data value R1 of the Response data type is displayed in white, and the data value D1 of the Data data type is displayed in gray. Therefore, by implementing the method, the logic can be made. The analyzer simultaneously displays data values of various data types to avoid the use of traditional logic analyzers that can only display a single data type.

另外,以上說明是以解譯兩種資料類型之資料數值為例,當步驟C解譯出有三種以上不同資料類型之資料數值時,則可透過重複執行步驟E來解譯取得所有資料類型之資料數值。In addition, the above description is based on the example of interpreting the data values of the two data types. When the data value of three or more different data types is interpreted in step C, the data type can be interpreted by repeatedly performing step E. Data value.

再者,上述之解碼方法,是透過依據於步驟C解譯出的順序,依序於步驟D與步驟E中解譯取得不同資料類型之資料數值。而透過被解譯出之先後順序,直接作為解譯之順序,不僅可避免訊號解譯產生錯亂之情形,更可大幅提升解譯之速度。Furthermore, the above decoding method is to obtain the data values of different data types by sequentially interpreting in steps D and E in the order decomposed according to step C. Through the order of interpretation, directly as the order of interpretation, not only can the situation of signal interpretation be avoided, but also the speed of interpretation can be greatly improved.

藉此,透過上述之訊號解碼方式,研發人員不必手動重複執行多次訊號解譯,即可解譯並顯示多種資料類型的資料數 值,不僅可以提升比對與分析時之效率,亦可大幅降低研發人員之工作負荷。In this way, through the signal decoding method described above, the developer can interpret and display the number of data of multiple data types without having to manually perform multiple signal interpretations. Value can not only improve the efficiency of comparison and analysis, but also greatly reduce the workload of R&D personnel.

以上所述僅為本發明較佳可行實施例而已,舉凡應用本發明說明書及申請專利範圍所為之等效方法變化,理應包含在本發明之專利範圍內。The above description is only for the preferred embodiments of the present invention, and the equivalent method variations of the present invention and the scope of the patent application are intended to be included in the scope of the present invention.

P1‧‧‧訊號封包P1‧‧‧ signal packet

R1、D1‧‧‧資料數值R1, D1‧‧‧ data values

P2‧‧‧數位訊號P2‧‧‧ digital signal

R2、D2‧‧‧資料數值R2, D2‧‧‧ data values

圖1與圖2為習用訊號解碼方法解譯後之顯示圖;圖3為本發明訊號解碼方法之流程圖;圖4至圖6揭示本發明訊號解碼方法之解碼流程。1 and FIG. 2 are diagrams showing the interpretation of the conventional signal decoding method; FIG. 3 is a flowchart of the signal decoding method of the present invention; and FIGS. 4 to 6 disclose the decoding process of the signal decoding method of the present invention.

Claims (6)

一種訊號解碼方法,係用以於一邏輯分析儀擷取一待測物之訊號時,解譯所擷取之該待測物之訊號;該訊號解碼方法包含下列步驟:A.載入對應該待測物之通訊協定的解碼手段;B.擷取複數個該待測物之訊號封包;C.以步驟A所選擇之解碼手段解譯步驟B所擷取之訊號封包;D.當步驟C於同一時間區段中解譯出兩種以上不同資料類型之資料數值時,先解譯取得其中一資料類型之資料數值;E.以步驟A所選擇之解碼手段重新解譯步驟B所擷取之訊號封包,以取得另一資料類型之資料數值;以及F.同時顯示所有解譯出之不同資料類型之資料數值於一顯示裝置上。A signal decoding method is used for interpreting the signal of the object to be tested when a logic analyzer captures a signal of the object to be tested; the signal decoding method comprises the following steps: A. loading corresponding Decoding means of the communication protocol of the object to be tested; B. extracting a plurality of signal packets of the object to be tested; C. interpreting the signal packet captured by step B by using the decoding means selected in step A; D. when step C When the data values of two or more different data types are interpreted in the same time segment, the data values of one of the data types are first interpreted; E. The decoding method selected in step A is used to re-interpret step B. The signal packet is obtained to obtain the data value of another data type; and F. simultaneously displays the data values of all the interpreted different data types on a display device. 如請求項1所述訊號解碼方法,其中,係依據於步驟C解譯出的順序,依序於步驟D與步驟E中解譯取得不同資料類型之資料數值。The signal decoding method according to claim 1, wherein the data values of different data types are obtained by sequentially interpreting in steps D and E in accordance with the sequence decoded in step C. 如請求項1所述訊號解碼方法,其中,當步驟C解譯出有三種以上不同資料類型之資料數值時,於步驟E中,取得另一資料類型之資料數值後,重複執行步驟E,直至解譯取得所有資料類型之資料數值。The signal decoding method of claim 1, wherein when the data value of the three different data types is decoded by the step C, in step E, after obtaining the data value of another data type, the step E is repeated until the step E is performed. Interpret the data values for all data types. 如請求項1所述訊號解碼方法,其中,於步驟F中,係以 不同顯示方式顯示不同資料類型之資料數值。The signal decoding method according to claim 1, wherein in step F, Different display modes display the data values of different data types. 如請求項4所述訊號解碼方法,其中,所述之不同顯示方式是指以不同顏色顯示不同資料類型之資料數值。The signal decoding method of claim 4, wherein the different display modes refer to displaying data values of different data types in different colors. 如請求項1所述訊號解碼方法,其中,於步驟F中,更同時顯示有步驟B所擷取之訊號封包的波形。The signal decoding method of claim 1, wherein in step F, the waveform of the signal packet captured by step B is displayed at the same time.
TW101123519A 2012-06-29 2012-06-29 Signal decoding method TWI453441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101123519A TWI453441B (en) 2012-06-29 2012-06-29 Signal decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101123519A TWI453441B (en) 2012-06-29 2012-06-29 Signal decoding method

Publications (2)

Publication Number Publication Date
TW201400835A TW201400835A (en) 2014-01-01
TWI453441B true TWI453441B (en) 2014-09-21

Family

ID=50345009

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101123519A TWI453441B (en) 2012-06-29 2012-06-29 Signal decoding method

Country Status (1)

Country Link
TW (1) TWI453441B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205430B1 (en) * 1996-10-24 2001-03-20 Stmicroelectronics Asia Pacific Pte Limited Audio decoder with an adaptive frequency domain downmixer
TW200921642A (en) * 2007-02-14 2009-05-16 Lg Electronics Inc Methods and apparatuses for encoding and decoding object-based audio signals
TW201129040A (en) * 2009-04-09 2011-08-16 Nokia Corp Systems, methods and apparatuses for media file streaming
TW201223235A (en) * 2010-08-11 2012-06-01 Apple Inc Media/voice binding protocol and related user interfaces
TW201223256A (en) * 2010-07-13 2012-06-01 Qualcomm Inc Video switching for streaming video data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205430B1 (en) * 1996-10-24 2001-03-20 Stmicroelectronics Asia Pacific Pte Limited Audio decoder with an adaptive frequency domain downmixer
TW200921642A (en) * 2007-02-14 2009-05-16 Lg Electronics Inc Methods and apparatuses for encoding and decoding object-based audio signals
TW201129040A (en) * 2009-04-09 2011-08-16 Nokia Corp Systems, methods and apparatuses for media file streaming
TW201223256A (en) * 2010-07-13 2012-06-01 Qualcomm Inc Video switching for streaming video data
TW201223235A (en) * 2010-08-11 2012-06-01 Apple Inc Media/voice binding protocol and related user interfaces

Also Published As

Publication number Publication date
TW201400835A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN101616331B (en) Method for testing video frequency frame rate and audio-video synchronous performance
JP2012202989A (en) Test strip reading and analyzing system and method
CN105389809B (en) Display performance testing method, system and device
CN103019942A (en) Method and system for automatically testing applications to be tested based on android system
CN103631582A (en) Graph drawing method and system based on WPF technology
CN201467383U (en) Video frequency frame rate tester
US7696956B2 (en) Apparatus for video graphics array testing
US20160153916A1 (en) Method for inspecting screen
CN101969575B (en) A kind of method that the imageing sensor of camera head is detected and checkout gear
CN104237760B (en) Testing device and testing method for semiconductor components
TWI453441B (en) Signal decoding method
TWI507698B (en) Semiconductor device test apparatus and method thereof
CN104991845B (en) Soc multi core chip high speed debug method and devices
CN113419932B (en) Equipment performance analysis method and device
Fernández et al. Performance characterization of mobile phones in augmented reality marker tracking
CN108681506A (en) A kind of method for testing pressure and device
CN115222693A (en) White screen detection method, device, equipment and medium
TWI522631B (en) Semiconductor device test system and method for accelerating image processing thereof
TW201326859A (en) Data transmission method
KR20180047914A (en) Apparatus and method for in-circuit dynamic binary analysis
CN103532563B (en) Signal decoding method
CN102622752A (en) Mobile phone image evaluation automatic testing frame and testing method thereof
TWI662469B (en) Logic analysis system and signal processing and display method thereof
CN104833678A (en) Semiconductor element test system and image processing accelerating method thereof
TWI842583B (en) Automatic cable inspection system and method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees