CN103532563B - Signal decoding method - Google Patents

Signal decoding method Download PDF

Info

Publication number
CN103532563B
CN103532563B CN201210232734.3A CN201210232734A CN103532563B CN 103532563 B CN103532563 B CN 103532563B CN 201210232734 A CN201210232734 A CN 201210232734A CN 103532563 B CN103532563 B CN 103532563B
Authority
CN
China
Prior art keywords
data
signal
step
decoding method
different types
Prior art date
Application number
CN201210232734.3A
Other languages
Chinese (zh)
Other versions
CN103532563A (en
Inventor
黄禄友
Original Assignee
孕龙科技股份有限公司
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 孕龙科技股份有限公司 filed Critical 孕龙科技股份有限公司
Priority to CN201210232734.3A priority Critical patent/CN103532563B/en
Publication of CN103532563A publication Critical patent/CN103532563A/en
Application granted granted Critical
Publication of CN103532563B publication Critical patent/CN103532563B/en

Links

Abstract

一种信号解码方法是用以于一逻辑分析仪撷取一待测物的信号时,解译所撷取的该待测物的信号;该信号解码方法包含下列步骤:先加载对应该待测物的通讯协议的解码手段,并撷取多个该待测物的信号封包,再以所选择的解码手段解译所撷取的信号封包;当在同一时间区段中解译出两种以上不同资料类型的资料数值时,则先解译取得其中一资料类型的资料数值,并以所选择的解码手段重新解译所撷取的信号封包,以取得另一资料类型的资料数值,而后,同时显示所有解译出的不同资料类型的资料数值于一显示设备上。 A signal decoding method is used in a logic analyzer capturing an analyte signal, interprets the signal captured analyte; signal decoding method comprising the steps of: prior to loading should be tested decoding means for communication protocol thereof, and retrieve a plurality of signal packets of the analyte, and then interpret the means to decode the selected packet signal retrieved; at the same time when the interpretation of two or more sections when the data values ​​for the different types of data, interpreting the first value to obtain information of where a data type, and the means to decode the selected packet signal to re-interpret the captured to obtain numerical data of another data type, and then, displaying all the different types of data interpretation of data values ​​on a display device.

Description

信号解码方法 Signal decoding method

技术领域 FIELD

[0001]本发明是与数字信号处理有关,更详而言之是指一种信号解码方法。 [0001] The present invention is related to digital signal processing, and more particularly to mean a signal decoding method.

背景技术 Background technique

[0002]随着数字科技的进步,如电子芯片、液晶屏幕(LCD)的图像处理芯片、互补性氧化金属半导体(Complementary Metal-Oxide Semiconductor,CMOS)、以及电荷親合元件(Charge Coupled Device,CCD)等使用数字信号传输资料的电子装置日渐普及。 [0002] With the advancement of digital technology, such as electronic chips, liquid crystal screens (LCD), image processing chip, complementary metal oxide semiconductor (Complementary Metal-Oxide Semiconductor, CMOS), and a charge affinity element (Charge Coupled Device, CCD the electronic device) and the like using a digital data signal transmission increasingly popular.

[0003]当研发人员在研发具有上述电子装置时,通常会利用逻辑分析仪来撷取电子装置所输出的数字信号,并通过于一显示设备上显示的方式供研发人员分析上述所撷取的数字信号,以判定上述电子产品的设计是否正常。 [0003] When developed with developers in the above-described electronic devices often use a logic analyzer to capture the digital signal output by the electronic device, and for analyzing said captured by researchers is displayed on a display device digital signal, the electronic product to determine whether the normal design.

[0004]在现有逻辑分析仪解译信号的技术,主要都是以一信号专门解译出一资料类型,而往往忽略掉同时间可能会有两种以上的资料类型,请参阅图1,当逻辑分析仪所撷取的数字信号P2于同一时间区段中解译出两种以上资料类型(如图中的Response与Data)的资料数值R2、D2时,于现有技术中,仅会以其中一种资料类型(图中的Response)的资料数值R2为主要解码对象,进而显示以R2为主的资料类型完整的资料数值,而另一种资料类型(图中的Data)的资料数值D2,则当R2资料解译并显示后,才会去显示资料数值D2剩余的部份,造成资料数值D2会被主资料类型的资料数值Rl所覆盖,而无法得知其详细内容。 [0004] In the technical interpretation of existing logic analyzer signal, it is mainly a signal to a special interpretation of the data type, but often ignore the same time may have two or more data types, see Figure 1, when captured by the logic analyzer interprets the digital signal in the same time zone P2 out of two or more types of data (Response data with the FIG) data values ​​R2, D2 when, in the prior art, only the in one type of data (Response in the drawing) as the main data decoded value R2, R2 and further to display the full data values ​​based data type, and the other type of data (data in the figure) of the data value after D2, R2 is when the data interpretation and display, only to show the remaining part of the data value D2, resulting in data value D2 will be covered by the primary data type information value Rl, and does not know its details.

[0005]是以,当研发人员欲得知被覆盖的资料数值时,则必须设定以原先被覆盖的资料类型为主要解码对象,并从头将该逻辑分析仪所撷取的数字信号P2重新解译一次(如图2),才能得到欲得知的资料数值D2。 [0005] Therefore, developers want to know when the data value is covered, it must be set to the original data type is decoded as the main cover, and the re-captured by the logic analyzer digital signal re-P2 interpretation once (Figure 2), in order to get information on the value D2 to be learned.

[0006]然而,随着科技越来越进步,上述电子装置所传输的数字资量越来越庞大,进而使得逻辑分析仪每次所撷取须分析的数字信号量亦越来越庞大,而上述现有的资料解码方法不仅过程费时,且会加大研发人员的工作负荷,进而使得比对与分析的作业效果不彰。 [0006] However, as technology advances more and more, the amount of resources of the electronic device is a digital transmission increasingly large, thus making the logic analyzer captured amount of each digital signal to be analyzed also increasingly large, and the conventional data decoding method is not only time-consuming process, and will increase the workload of R & D personnel, thus making the job than not been apparent effect analysis.

发明内容 SUMMARY

[0007]有鉴于此,本发明的主要目的在于提供一种信号解码方法可解译并显示多种资料类型的资料数值,进而提升研发人员比对与分析时的效率。 [0007] In view of this, the main object of the present invention is to provide a method for decoding signal data can be interpreted and displayed plurality of types of data values, thereby improving the efficiency of research and analysis personnel ratio.

[0008]缘以达成上述目的,本发明所提供信号解码方法是用以于一逻辑分析仪撷取一待测物的信号时,解译所撷取的该待测物的信号;该信号解码方法包含下列步骤: [0008] edge to achieve the object, the present invention provides a signal decoding method is used for a logic analyzer to capture a signal of analyte, the interpretation of the captured analyte signal; the signal decoding The method comprises the steps of:

[0009] A.加载对应该待测物的通讯协议的解码手段; [0009] A. Loading protocol decoding means to be of the analyte;

[0010] B.撷取多个该待测物的信号封包; [0010] B. extracted signal packets of the plurality of analyte;

[0011 ] c.以步骤A所选择的解码手段解译步骤B所撷取的信号封包; . [0011] c In Step A selected decoding means for interpreting signals in step B retrieved packets;

[0012] D.当步骤C于同一时间区段中解译出两种以上不同资料类型的资料数值时,先解译取得其中一资料类型的资料数值; When [0012] D. Step C when interpreting the data values ​​of two or more different types of data in the same time zone, wherein the first interpretation to obtain a numerical data type information;

[0013] E.以步骤A所选择的解码手段重新解译步骤B所撷取的信号封包,以取得另一资料类型的资料数值; [0013] E. Step A means to decode the selected packet signal reinterpreted captured by Step B, to obtain the numerical data of another data type;

[0014] F.同时显示所有解译出的不同资料类型的资料数值于一显示设备上。 [0014] F. interpreted simultaneously show all the different data types of data values ​​on a display device.

[0015]依据上述构思,是依据于步骤C解译出的顺序,依序于步骤D与步骤E中解译取得不同资料类型的资料数值。 [0015] Based on the above concept, is based on the order of interpretation out Step C, Step D sequentially in step E to obtain information deciphered values ​​of different data types.

[0016]依据上述构思,当步骤C解译出有三种以上不同资料类型的资料数值时,于步骤E中,取得另一资料类型的资料数值后,重复执行步骤E,直至解译取得所有资料类型的资料数值。 After [0016] Based on the above concept, when interpreting the data values ​​in step C has three or more different types of data, in step E, to obtain the numerical data of the other data types, repeating step E, until obtaining all the information interpreting types of data values.

[0017]依据上述构思,于步骤F中,是以不同显示方式显示不同资料类型的资料数值。 [0017] According to the above concepts, in step F, the data displayed in a different display values ​​for the different types of data.

[0018]依据上述构思,所述的不同显示方式是指以不同颜色显示不同资料类型的资料数值。 [0018] Based on the above concept, different from the display mode refers to the display data values ​​for the different types of data in different colors.

[0019]依据上述构思,于步骤F中,还同时显示有步骤B所撷取的信号封包的波形。 [0019] According to the above concepts, in step F, the packet is also simultaneously displayed waveform signal B is captured by the steps.

[0020]由此,通过上述解译并显示多种资料类型的资料数值的设计,不仅解译过程详细快速,且同时可大幅提升研发人员比对与分析时的效率。 [0020] Thus, the above interpretation and display a variety of data types of design data values, not only detailed interpretation process fast and at the same time can significantly enhance the efficiency ratio for the analysis and R & D personnel.

附图说明 BRIEF DESCRIPTION

[0021]为能更清楚地说明本发明,以下列举较佳实施例并配合附图详细说明如后,其中: [0021] The more clearly illustrate the present invention, preferred embodiments include the following detailed description with accompanying drawings and embodiments described later, wherein:

[0022]图1与图2为现有信号解码方法解译后的显示图; [0022] Figure 1 shows a view of a conventional decoding method is interpreted as a signal of FIG 2;

[0023]图3为本发明信号解码方法的流程图; [0023] FIG. 3 is a flowchart of a signal decoding method according to the present invention;

[0024]图4至图6揭示本发明信号解码方法的解码流程。 [0024] Figures 4 to 6 the process disclosed decoded signal decoding method of the present invention.

具体实施方式 Detailed ways

[0025]本发明所提供影信号解码方法是用以于一逻辑分析仪撷取一待测物的信号时,解译并显示所撷取的该待测物的信号;请参阅图3至图6,该信号解码方法包含下列步骤: [0025] The present invention provides a method for decoding image signal capturing signal when an analyte in a logic analyzer, and interprets the signals captured analyte display; see FIG. 3 to FIG. 6, the signal decoding method comprising the steps of:

[0026] A.加载对应该待测物的通讯协议的解码手段。 [0026] A. Loading protocol decoding means to be of the analyte. 一般来说,该通讯协议是存放于计算机中对应该影像信号产生装置的动态链接资料库(Dynamic Link Library,DLL)中,且该动态链接资料库是采用静态链接(statical Iy I inked)至微软基础类别库(MicrosoftFoundat1n Classes,MFC)的动态链接资料库。 In general, the communication protocol is to be stored in a computer generated image signal dynamic link library (Dynamic Link Library, DLL) device, and the dynamic link library is statically linked (statical Iy I inked) to Microsoft base class library (MicrosoftFoundat1n classes, MFC) dynamic link library. 由此,便可通过加载对应的动态链接资料库来取得其通讯协议的解码手段。 As a result, decoding can be achieved by means of its communication protocols to load the corresponding dynamic link library.

[0027] B.撷取多个该待测物的信号封包Pl。 [0027] B. extracted signal of the plurality of packets Pl analyte.

[0028] C.以步骤A所选择的解码手段解译步骤B所撷取的信号封包Pl。 [0028] C. In Step A selected decoding means for interpreting the retrieved signal, step B, the packet Pl.

[0029] D.当步骤C于同一时间区段中解译出两种以上不同资料类型的资料数值时,先解译取得其中一资料类型的资料数值。 When [0029] D. Step C when interpreting the data values ​​of two or more different types of data in the same time zone, wherein the first interpreting a data type to obtain data values. 举例而言,当步骤C解译出步骤B所撷取的信号封包Pl于同一时间区段中具有Response资料类型与Data资料类型的资料数值时,则先解译取得Response资料类型的资料数值Rl (如图4)。 For example, when the Step B Step C interpreting the retrieved information signal having a value Pl Response packet data type Data type information in the same time zone, the first interpretation to obtain information of data type value Rl Response (FIG. 4).

[0030] E.以步骤A所选择的解码手段重新解译步骤B所撷取的信号封包Pl,以取得另一资料类型的资料数值。 [0030] E. In a decoding means selected in step A, step B, to re-interpret the signals captured packets Pl, in order to obtain numerical data of the other data type. 于本实施例中,本步骤是解译取得Data资料类型的资料数值Dl(如图5)0 In this embodiment, the step value is interpreted to obtain information data Dl Data type (FIG. 5) 0

[0031] F.显示步骤B所撷取的信号封包Pl的波形,且同时显示所有解译出的不同资料类型的资料数值于一显示设备上,并以不同显示方式显示不同资料类型的资料数值。 [0031] F. waveform display signal Pl packet retrieved in step B, and displaying all the different types of data interpretation of data values ​​on a display device, and display different types of data in different data values ​​display . 请参阅图6,于本实施例中,是以白色显示Response资料类型的资料数值Rl的图形,并以灰色显示Data资料类型的资料数值Dl的图形,因此,通过此方法的实施,可让逻辑分析仪同时显示多种资料类型的资料数值,避免因传统逻辑分析仪仅能显示单一资料类型,而造成使用上的困扰。 Referring to FIG 6, in this embodiment, white display is Response pattern data values ​​of Rl types of data, and graphically display the gray data Data types of data values ​​of Dl, therefore, by the method of this embodiment allows the logic numerical data analyzer also shows a variety of data types, to avoid the traditional logic analyzers can display only a single data type, causing troubles when using it.

[0032]另外,以上说明是以解译两种资料类型的资料数值为例,当步骤C解译出有三种以上不同资料类型的资料数值时,则可通过重复执行步骤E来解译取得所有资料类型的资料数值。 [0032] Further, the above-described two kinds of data types are interpreted as an example of numerical data, when the data value interpreted in step C has three or more different types of data, can be interpreted by repeatedly performing steps to obtain all E data types of data values.

[0033] 再者,上述的解码方法,是通过依据于步骤C解译出的顺序,依序于步骤D与步骤E中解译取得不同资料类型的资料数值。 [0033] Further, the above-described decoding method, is interpreted by an order in accordance with Procedure C, Step D sequentially in step E to obtain information deciphered values ​​of different data types. 而通过被解译出的先后顺序,直接作为解译的顺序,不仅可避免信号解译产生错乱的情形,更可大幅提升解译的速度。 Through out the sequence is interpreted directly as a sequential interpretation, not only to avoid confusion on interpretation of signal situations, but also significantly improve the speed of interpreting.

[0034]由此,通过上述的信号解码方式,研发人员不必手动重复执行多次信号解译,即可解译并显示多种资料类型的资料数值,不仅可以提升比对与分析时的效率,亦可大幅降低研发人员的工作负荷。 [0034] Accordingly, the above-described signal decoding method, researchers repeated multiple times without having to manually interpret the signal, and to display the data value interpreted plurality of types of data, not only can improve efficiency comparison analysis and, can significantly reduce the workload of R & D personnel.

[0035]以上所述仅为本发明较佳可行实施例而已,凡是应用本发明说明书及申请专利范围所为的等效方法变化,理应包含在本发明的权利要求范围内。 [0035] The above descriptions are merely preferred possible embodiment of the present invention only, any equivalent method change patent application specification and the scope of the present invention, intended to be included within the claims of the present invention in the required range.

Claims (6)

1.一种信号解码方法,用以于一逻辑分析仪撷取一待测物的信号时,解译所撷取的该待测物的信号;该信号解码方法包含下列步骤: A.加载对应该待测物的通讯协议的解码手段; B.撷取多个该待测物的信号封包; C.以步骤A所选择的解码手段解译步骤B所撷取的信号封包; D.当步骤C于同一时间区段中解译出两种以上不同资料类型的资料数值时,先解译取得其中一资料类型的资料数值;且其中一该资料数值与另一该资料数值有至少一部分交置; E.以步骤A所选择的解码手段重新解译步骤B所撷取的信号封包,以取得另一资料类型的资料数值;以及F.同时显示所有解译出的不同资料类型的资料数值于一显示设备上。 A signal decoding method for when a logic analyzer to capture a signal of analyte, the signal of the analyte captured by interpretation; signal decoding method comprising the following steps: A. loading of decoding means for communication protocol should analyte; B. extracted signal packets of the plurality of analyte; to C. step a selected decoding means for interpreting signals in step B retrieved packets; when step D. when interpreting the data C two or more different types of data values ​​in the same time zone, wherein the first interpreting a data type to obtain data values; and wherein a value of the data value to another at least a portion of the data set post ; step E. a means to decode the selected packet signal reinterpreted captured by step B, to obtain the numerical data of another data type; and F. interpreted simultaneously show all the different types of data values ​​in the data a display device.
2.如权利要求1所述的信号解码方法,其中,是依据于步骤C解译出的顺序,依序于步骤D与步骤E中解译取得不同资料类型的资料数值。 2. The signal decoding method according to claim 1, wherein the interpretation is based on the sequence in step C, step D and step sequentially deciphered to obtain information E values ​​for the different types of data.
3.如权利要求1所述的信号解码方法,其中,当步骤C解译出有三种以上不同资料类型的资料数值时,于步骤E中,取得另一资料类型的资料数值后,重复执行步骤E,直至解译取得所有资料类型的资料数值。 3. The signal decoding method according to claim 1, wherein, when the data value interpreted in step C has three or more different types of data, in step E, to obtain the numerical data of another type of data, repeating steps E, until the interpretation of numerical data to obtain all the information types.
4.如权利要求1所述的信号解码方法,其中,于步骤F中,是以不同显示方式显示不同资料类型的资料数值。 The signal decoding method as claimed in claim 1, wherein in step F, the data displayed in a different display values ​​for the different types of data.
5.如权利要求4所述的信号解码方法,其中,所述的不同显示方式是指以不同颜色显示不同资料类型的资料数值。 5. The signal decoding method as claimed in claim 4, wherein said different display mode refers to the display data values ​​for the different types of data in different colors.
6.如权利要求1所述的信号解码方法,其中,于步骤F中,还同时显示有步骤B所撷取的信号封包的波形。 The signal decoding method as claimed in claim 1, wherein in step F, the packet is also simultaneously displayed waveform signal B is captured by the steps.
CN201210232734.3A 2012-07-06 2012-07-06 Signal decoding method CN103532563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210232734.3A CN103532563B (en) 2012-07-06 2012-07-06 Signal decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210232734.3A CN103532563B (en) 2012-07-06 2012-07-06 Signal decoding method

Publications (2)

Publication Number Publication Date
CN103532563A CN103532563A (en) 2014-01-22
CN103532563B true CN103532563B (en) 2016-09-14

Family

ID=49934299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210232734.3A CN103532563B (en) 2012-07-06 2012-07-06 Signal decoding method

Country Status (1)

Country Link
CN (1) CN103532563B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325129A (en) * 2011-07-14 2012-01-18 广州致远电子有限公司 Self-defined protocol decoding technique for measurement and analysis instrument

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG54379A1 (en) * 1996-10-24 1998-11-16 Sgs Thomson Microelectronics A Audio decoder with an adaptive frequency domain downmixer
US7168048B1 (en) * 1999-03-24 2007-01-23 Microsoft Corporation Method and structure for implementing a layered object windows
US7911970B2 (en) * 2009-02-02 2011-03-22 Harvey Timothy J Systems and methods for presenting electronic communication packets using a logic analyzer
US20110280311A1 (en) * 2010-05-13 2011-11-17 Qualcomm Incorporated One-stream coding for asymmetric stereo video

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325129A (en) * 2011-07-14 2012-01-18 广州致远电子有限公司 Self-defined protocol decoding technique for measurement and analysis instrument

Also Published As

Publication number Publication date
CN103532563A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
US7607093B2 (en) Displaying network segment decode information in diagrammatic form
CA2513804C (en) Fabric network management and diagnostic tool
CN100373780C (en) Data transfer control device and electronic instrument
CN100337237C (en) Fault collection and detection apparatus and method
CN101101205A (en) Inspection apparatus for inspecting articles
EP2884375B1 (en) Master/slave control of touch sensing
CN1495591A (en) Display apparatus and method
US7644310B2 (en) Semiconductor IC incorporating a co-debugging function and test system
EP2090979A1 (en) Interface driver program for computer and recording medium therefor
US8890817B2 (en) Centralized processing of touch information
US20050177801A1 (en) Collapsible container with semi-collapsed view
US20090031227A1 (en) Intelligent screen capture and interactive display tool
CN101778307A (en) Device for testing functions of set top box
CN101364346A (en) Embedded real-time intelligent traffic monitoring system based on video stream
JP2002111893A (en) Remote operation system, method therefor and recording medium with remote operation program recorded therein
US20070006160A1 (en) Software digital fingerprint
US8869093B2 (en) Displaying interface protocol activity
JP4018855B2 (en) Touch panel input coordinate conversion device and a touch panel input coordinate transformation method
CN101131403B (en) Digital oscillograph and its waveshape displaying method
WO2012169157A1 (en) Supported device, support device, inter-equipment guide system, recording medium, and integrated circuit
CN102662665B (en) Input subsystem enabling Android to support various sensors
CN102495353B (en) Radio frequency integrated circuit test system and control method thereof
CN102222053A (en) Drive identification method and system
CN103516559A (en) Method and system for testing application compatibility of intelligent terminal
JP4536160B2 (en) Test equipment and debugging method

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model