WO2023184936A1 - Abnormal waveform capturing method and apparatus, electronic device and storage medium - Google Patents

Abnormal waveform capturing method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2023184936A1
WO2023184936A1 PCT/CN2022/126182 CN2022126182W WO2023184936A1 WO 2023184936 A1 WO2023184936 A1 WO 2023184936A1 CN 2022126182 W CN2022126182 W CN 2022126182W WO 2023184936 A1 WO2023184936 A1 WO 2023184936A1
Authority
WO
WIPO (PCT)
Prior art keywords
eye diagram
measurement
waveform
time
eye
Prior art date
Application number
PCT/CN2022/126182
Other languages
French (fr)
Chinese (zh)
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 普源精电科技股份有限公司
Publication of WO2023184936A1 publication Critical patent/WO2023184936A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • G06F2218/10Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks

Definitions

  • This application belongs to the field of signal processing technology, and specifically relates to an abnormal waveform capture method, device, electronic equipment and storage medium.
  • the digital oscilloscope collects a large amount of waveform data in a short period of time and can be used to observe abnormalities in the waveform, that is, occasional waveform signals over a period of time.
  • the eye diagram is a graphic display of a series of digital signals accumulated on an oscilloscope. It contains rich information and reflects the overall characteristics of the digital signal.
  • Embodiments of the present application provide an abnormal waveform capturing method that can accurately capture abnormal waveforms in signals in real time.
  • embodiments of the present application provide a method for capturing abnormal waveforms.
  • the method includes: determining an eye diagram formed by the waveform to be detected at the first time; determining a first measurement item corresponding to the eye diagram; based on the eye diagram. Figure, determine the first measurement value corresponding to the first measurement item; when the first measurement value does not meet the first predetermined condition, output the abnormal waveform corresponding to the first time in the eye diagram.
  • embodiments of the present application provide a device for capturing abnormal waveforms.
  • the input module is used to determine the eye pattern formed by the waveform to be detected at the first time; the first determination module is used to determine the eye pattern corresponding to the eye pattern.
  • a first measurement item a first measurement item;
  • a second determination module configured to determine a first measurement value corresponding to the first measurement item based on the eye diagram;
  • an output module configured to determine when the first measurement value does not meet the first predetermined condition In the case of , output the abnormal waveform corresponding to the first time in the eye diagram.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor.
  • the program or instructions are When executed by the processor, the steps of the abnormal waveform capturing method described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the programs or instructions are executed by a processor, the abnormal waveform capture as described in the first aspect is achieved. Method steps.
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect.
  • the abnormal waveform capture method is used to run programs or instructions to implement the first aspect.
  • the eye diagram formed by the waveform to be detected at the first time is determined; the first measurement item corresponding to the eye diagram is determined; based on the eye diagram, the first measurement item corresponding to the first measurement item is determined. Measured value; when the first measured value does not meet the first predetermined condition, outputting the abnormal waveform corresponding to the first time in the eye diagram can accurately capture the abnormal waveform in the signal in real time.
  • Figure 1 is a schematic flowchart of a method for capturing abnormal waveforms provided by an embodiment of the present application
  • Figure 2 is a schematic flowchart of another abnormal waveform capture method provided by an embodiment of the present application.
  • Figure 3 is a schematic structural diagram of an abnormal waveform capturing device provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the hardware structure of another electronic device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • Figure 1 shows a method for capturing abnormal waveforms provided by an embodiment of the present invention.
  • the method can be executed by an electronic device, and the electronic device can include: a server or a terminal device.
  • the method can be performed by software or hardware installed on the electronic device, and the method includes the following steps:
  • S101 Determine the eye pattern formed by the waveform to be detected at the first time.
  • the eye diagram of a digital signal contains rich information, reflects the overall characteristics of the digital signal, and can well evaluate the quality of the digital signal. Use the output of the transmission channel as the input of the oscilloscope to obtain the eye diagram corresponding to the signal before the violation occurs.
  • step S101 in this embodiment includes: inputting the waveform to be detected before the first time into a target oscilloscope; adjusting the scanning period of the target oscilloscope so that the level of the target oscilloscope is The scanning period is synchronized with the period of the received symbols; the eye diagram is obtained.
  • eye diagram parameters related to the eye diagram such as eye height, eye width, eye amplitude, eye cross ratio, "1" level, “0” level, extinction ratio, Q factor, average power, rise time, fall Time etc.
  • the first measurement item includes: at least one of an amplitude measurement item and a time measurement item.
  • the amplitude measurement items include: at least one of eye level, eye amplitude, eye crossing amplitude, eye crossing percentage, eye height, eye signal-to-noise ratio, quality (Q) factor, extinction ratio, and vertical eye opening.
  • the time measurement items include: at least one of eye crossing time, eye delay, deterministic jitter, rise time, fall time, eye width, horizontal eye opening, peak-to-peak jitter, random jitter, jitter root mean square, and total jitter.
  • a first measurement value corresponding to the first measurement item is determined.
  • the pixel points are counted on the picture formed by the eye diagram, and the corresponding measurement value is calculated according to the definition of the above measurement items.
  • the eye level is defined as the size of the "1" level and the "0" level in the eye diagram.
  • the algorithm counts the 20% area in the middle of the eye diagram, makes a histogram in the vertical direction, and calculates the mean of the two histograms. The one with a larger voltage amplitude is a "1" level, and the one with a smaller voltage amplitude is a "0" level. flat.
  • the eye height is defined as the difference between the voltage values of the eye diagram where the "1" level drops by 3 standard deviations ⁇ and the "0" level rises by 3 standard deviations ⁇ .
  • the algorithm calculates the standard deviation of the two histograms above and obtains the eye height according to the definition.
  • the crossover time is defined as the time point when the eye diagram cross point is on the horizontal axis.
  • the algorithm makes a histogram within the -Atotal*BW+Atotal*BW rectangular range, and the eye-crossing time is the time value corresponding to the mean of the two histograms.
  • -Atotal is the value of the eye "0" level
  • Atotal is the value of the eye "1" level
  • BW is generally selected to be 20%.
  • the rise time is defined as the time difference between 10% and 90% of the first rising edge of the eye diagram.
  • the algorithm determines the voltage values of 10% and 90% of the eye diagram based on the eye "0" level and the eye "1" level, makes histograms in the horizontal direction respectively, calculates the time difference between the two histograms, and obtains the eye diagram rise time.
  • the corresponding first measurement values are determined using statistical methods according to the definition.
  • the eye signal-to-noise ratio is the difference between the "1" level and the "0" level divided by the sum of their corresponding standard deviations.
  • the vertical eye opening is the vertical distance between two points on the vertical histogram at the eye delay (EyeDelay), and the eye delay is the time from the middle point to the far origin of the eye diagram.
  • the eye signal-to-noise ratio, Q factor, vertical eye opening, deterministic jitter, horizontal eye opening, random jitter, etc. are calculated using the double Dirac model, taking into account the random and deterministic components.
  • the waveform in the eye diagram corresponding to the first time is an abnormal waveform.
  • different first measurement items in this embodiment correspond to different first predetermined conditions. Users can select one or more measurement items for analysis as needed.
  • the predetermined condition corresponds to the measurement item.
  • the measured value can be eye level.
  • the corresponding predetermined condition can be that the measured value is not greater than a preset threshold or that the measured value is not less than a preset threshold. Preset threshold.
  • the embodiment of the present application performs statistical analysis on the entire signal based on the above multiple measurement items based on the eye diagram of the signal combined with the historical information and current information of the signal, which not only overcomes the low accuracy and poor operation of the eye diagram template analysis when capturing abnormal waveforms.
  • the convenience problem also overcomes the problem that when using the oscilloscope trigger function to capture abnormal waveforms, it can only analyze the characteristics of the current signal based on the current information, resulting in the loss of signal information in the time domain and low accuracy.
  • An embodiment of the present application provides a method for capturing abnormal waveforms by determining the eye diagram formed by the waveform to be detected at the first time; determining the first measurement item corresponding to the eye diagram; and determining the third measurement item based on the eye diagram.
  • a first measurement value corresponding to a measurement item; when the first measurement value does not meet the first predetermined condition, outputting the abnormal waveform corresponding to the first time in the eye diagram can solve the problem of abnormal waveforms in eye diagram template analysis It solves the problems of low accuracy and inconvenient operation during capture. It also avoids the problem of signal information loss in the time domain caused by using the oscilloscope trigger function to capture waveforms, and finally achieves the effect of accurately capturing abnormal waveforms in signals in real time.
  • Figure 2 shows a method for capturing abnormal waveforms provided by an embodiment of the present invention.
  • the method can be executed by an electronic device, and the electronic device can include: a server or a terminal device.
  • the method can be performed by software or hardware installed on the electronic device, and the method includes the following steps:
  • S201 Determine the eye diagram formed by the waveform to be detected at the first time.
  • step S101 or step S102 in the embodiment of FIG. 1 , and the repeated parts will not be described again here.
  • S203 Determine multiple measurement points on the eye diagram corresponding to the first measurement item; obtain the first measurement value based on the multiple measurement points.
  • step S204 there is also a step of: performing a predetermined violation action, wherein the predetermined violation action includes at least one of saving the abnormal waveform and stopping detection.
  • An embodiment of the present invention provides a method for capturing abnormal waveforms by determining the eye diagram formed by the waveform to be detected at the first time; determining the first measurement item corresponding to the eye diagram; and determining the first measurement item corresponding to the eye diagram. Multiple measurement points of a measurement item; based on the plurality of measurement points, obtain the first measurement value; when the first measurement value does not meet the first predetermined condition, output the corresponding third value in the eye diagram
  • a temporary abnormal waveform can solve the problem of low accuracy and inconvenient operation of eye diagram template analysis when capturing abnormal waveforms. It also avoids the problem of loss of signal information in the time domain caused by using the oscilloscope trigger function to capture waveforms. , ultimately achieving the effect of accurately capturing abnormal waveforms in signals in real time.
  • the execution subject may be an abnormal waveform capture device, or a control module used to execute the abnormal waveform capture method in the abnormal waveform capture.
  • the method of performing abnormal waveform capture by the abnormal waveform capture device is used as an example to illustrate the abnormal waveform capture device provided by the embodiment of the present application.
  • Figure 3 shows a schematic structural diagram of an abnormal waveform capturing device provided by an embodiment of the present invention.
  • a device 300 for capturing abnormal waveforms includes: an input module 310, used to determine the eye diagram formed by the waveform to be detected at the first time; a first determination module 320, used to determine the eye diagram corresponding to the eye diagram. a first measurement item; a second determination module 330, configured to determine a first measurement value corresponding to the first measurement item based on the eye diagram; an output module 340, configured to determine when the first measurement value does not satisfy the first measurement value; Under predetermined conditions, the abnormal waveform corresponding to the first time in the eye diagram is output.
  • the input module 310 is configured to: input the waveform to be detected before the first time into a target oscilloscope; adjust the scanning period of the target oscilloscope so that the level of the target oscilloscope is The scanning period is synchronized with the period of the received symbols; the eye diagram is obtained.
  • the second determination module 330 is configured to: determine a plurality of measurement points corresponding to the first measurement item on the eye diagram; based on the plurality of measurement points, obtain the first Measurements.
  • the first measurement item includes: at least one of an amplitude measurement item and a time measurement item.
  • different first measurement items correspond to different first predetermined conditions.
  • the output module is further configured to perform a predetermined violation action, wherein the predetermined violation action includes at least one of saving the abnormal waveform and stopping detection.
  • the abnormal waveform capturing device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in the terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
  • the abnormal waveform capturing device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the abnormal waveform capture device provided by the embodiment of the present application can implement each process implemented in the method embodiment of Figures 1 to 2. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides an electronic device 400, including a processor 401, a memory 402, and programs or instructions stored on the memory 402 and executable on the processor 401.
  • This program or instruction is implemented when executed by processor 401:
  • the processor 401 when the above-mentioned program or instruction is executed by the processor 401: input the waveform to be detected before the first time into the target oscilloscope; adjust the scan cycle of the target oscilloscope so that the target The horizontal scanning period of the oscilloscope is synchronized with the period of the received symbols; the eye diagram is obtained.
  • the processor 401 when the above-mentioned program or instruction is executed by the processor 401, it is achieved: determining a plurality of measurement points corresponding to the first measurement item on the eye diagram; based on the plurality of measurement points, obtaining the third measurement item. a measured value.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 shows a schematic diagram of the hardware structure of another electronic device according to an embodiment of the present application.
  • the electronic device 500 includes, but is not limited to: an input unit 501 for inputting the waveform to be detected, a display unit 502 for displaying the eye diagram corresponding to the waveform to be detected, and a display unit for storing the waveform data to be detected and related measurement data.
  • Storage unit 503, and processing unit 504 for calculation and control and other components.
  • the electronic device 500 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processing unit 504 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the processing unit 504 is used to determine the eye diagram formed by the waveform to be detected at the first time; determine the first measurement item corresponding to the eye diagram; based on the eye diagram, determine the first measurement item corresponding to the first measurement item. Measured value; when the first measured value does not meet the first predetermined condition, output the abnormal waveform corresponding to the first time in the eye diagram.
  • the processing unit 504 is configured to input the waveform to be detected before the first time into a target oscilloscope; adjust the scanning period of the target oscilloscope so that the horizontal scanning period of the target oscilloscope is consistent with The cycle of received symbols is synchronized; the eye diagram is obtained.
  • the processing unit 504 is configured to determine a plurality of measurement points on the eye diagram corresponding to the first measurement item; and obtain the first measurement value based on the plurality of measurement points.
  • This embodiment can implement each process of the above-mentioned abnormal waveform capturing method embodiment, and can achieve the same technical effect. To avoid repetition, details will not be described here.
  • the above structure of the electronic device does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than shown in the figure, or a combination of certain components, or a different arrangement of components, such as an input unit, which may include a graphics processor. (Graphics Processing Unit, GPU) and microphone, the display unit can be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc.
  • the user input unit includes at least one of a touch panel and other input devices. Touch panels are also called touch screens.
  • Other input devices may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Storage units can be used to store software programs as well as various data.
  • the storage unit may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • the storage unit may include volatile memory or non-volatile memory, or the storage unit may include both volatile and non-volatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct Rambus RAM (DRRAM).
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above abnormal waveform capture method embodiment is implemented, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the processor is the processor or processing unit in the electronic device described in the above embodiment.
  • the readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above embodiment of the abnormal waveform capture method. Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-a-chip.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of this application.

Abstract

The present application relates to the technical field of signal processing, and provides an abnormal waveform capturing method and apparatus, an electronic device and a storage medium for accurately capturing an abnormal waveform in a signal in real time. The method comprises: determining an eye pattern formed by a waveform to be detected at the first time; determining a first measurement item corresponding to the eye pattern; determining, on the basis of the eye pattern, a first measurement value corresponding to the first measurement item; and under the condition that the first measurement value does not meet a first preset condition, outputting an abnormal waveform corresponding to the first time in the eye pattern.

Description

一种异常波形捕获方法、装置、电子设备及存储介质Abnormal waveform capture method, device, electronic equipment and storage medium 技术领域Technical field
本申请属于信号处理技术领域,具体涉及一种异常波形捕获方法、装置、电子设备及存储介质。This application belongs to the field of signal processing technology, and specifically relates to an abnormal waveform capture method, device, electronic equipment and storage medium.
背景技术Background technique
数字示波器作为一种用途十分广泛的电子测量仪器,其在短时间内会采集大量的波形数据,可以用来观察波形中的异常情况,即一段时间里偶发的波形信号。眼图是一系列数字信号在示波器上累积而显示的图形,它包含了丰富的信息,体现了数字信号的整体特征。As a very versatile electronic measuring instrument, the digital oscilloscope collects a large amount of waveform data in a short period of time and can be used to observe abnormalities in the waveform, that is, occasional waveform signals over a period of time. The eye diagram is a graphic display of a series of digital signals accumulated on an oscilloscope. It contains rich information and reflects the overall characteristics of the digital signal.
当前眼图分析通过在眼图上手动点击屏幕或者键盘输入改变区域坐标从而创建不同模板,然后人为观察波形对应的眼图是否触碰模板,准确度不高,操作复杂,且当信号中出现“误码”的瞬间,捕获到这一瞬间的数据存在困难。Current eye diagram analysis creates different templates by manually clicking on the screen or inputting on the keyboard to change the area coordinates, and then manually observes whether the eye diagram corresponding to the waveform touches the template. The accuracy is not high, the operation is complex, and when " "Error" moment, it is difficult to capture the data at this moment.
发明内容Contents of the invention
本申请实施例提供一种异常波形捕获方法,能够实时准确地捕获信号中的异常波形。Embodiments of the present application provide an abnormal waveform capturing method that can accurately capture abnormal waveforms in signals in real time.
第一方面,本申请实施例提供了一种异常波形捕获方法,该方法包括:确定待检测波形在第一时间形成的眼图;确定对应所述眼图的第一测量项;基于所述眼图,确定所述第一测量项对应的第一测量值;在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。In a first aspect, embodiments of the present application provide a method for capturing abnormal waveforms. The method includes: determining an eye diagram formed by the waveform to be detected at the first time; determining a first measurement item corresponding to the eye diagram; based on the eye diagram. Figure, determine the first measurement value corresponding to the first measurement item; when the first measurement value does not meet the first predetermined condition, output the abnormal waveform corresponding to the first time in the eye diagram.
第二方面,本申请实施例提供了一种异常波形捕获的装置,输入模块,用于确定待检测波形在第一时间形成的眼图;第一确定模块,用于确定对应所述眼图的第一测量项;第二确定模块,用于基于所述眼图,确定所述第一测量项对应的第一测量值;输出模块,用于在所述第一测量值不满足第一预定条件的 情况下,输出所述眼图中对应第一时间的异常波形。In the second aspect, embodiments of the present application provide a device for capturing abnormal waveforms. The input module is used to determine the eye pattern formed by the waveform to be detected at the first time; the first determination module is used to determine the eye pattern corresponding to the eye pattern. a first measurement item; a second determination module, configured to determine a first measurement value corresponding to the first measurement item based on the eye diagram; an output module, configured to determine when the first measurement value does not meet the first predetermined condition In the case of , output the abnormal waveform corresponding to the first time in the eye diagram.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的异常波形捕获方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor. The program or instructions are When executed by the processor, the steps of the abnormal waveform capturing method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的异常波形捕获方法的步骤。In the fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the abnormal waveform capture as described in the first aspect is achieved. Method steps.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的异常波形捕获方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. The abnormal waveform capture method.
在本申请实施例中,通过确定待检测波形在第一时间形成的眼图;确定对应所述眼图的第一测量项;基于所述眼图,确定所述第一测量项对应的第一测量值;在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形,能够实时准确地捕获信号中的异常波形。In the embodiment of the present application, the eye diagram formed by the waveform to be detected at the first time is determined; the first measurement item corresponding to the eye diagram is determined; based on the eye diagram, the first measurement item corresponding to the first measurement item is determined. Measured value; when the first measured value does not meet the first predetermined condition, outputting the abnormal waveform corresponding to the first time in the eye diagram can accurately capture the abnormal waveform in the signal in real time.
附图说明Description of drawings
图1是本申请实施例提供的一种异常波形捕获的方法的流程示意图;Figure 1 is a schematic flowchart of a method for capturing abnormal waveforms provided by an embodiment of the present application;
图2是本申请实施例提供的另一种异常波形捕获的方法的流程示意图;Figure 2 is a schematic flowchart of another abnormal waveform capture method provided by an embodiment of the present application;
图3是本申请实施例提供的一种异常波形捕获的装置的结构示意图;Figure 3 is a schematic structural diagram of an abnormal waveform capturing device provided by an embodiment of the present application;
图4是本申请实施例提供的一种电子设备的结构示意图;Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图5是本申请实施例提供的另一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of the hardware structure of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清 楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的一种异常波形捕获方法进行详细地说明。An abnormal waveform capturing method provided by embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
图1示出本发明的一个实施例提供的一种异常波形捕获的方法,该方法可以由电子设备执行,该电子设备可以包括:服务器或终端设备。换言之,该方法可以由安装在该电子设备上的软件或硬件来执行,该方法包括如下步骤:Figure 1 shows a method for capturing abnormal waveforms provided by an embodiment of the present invention. The method can be executed by an electronic device, and the electronic device can include: a server or a terminal device. In other words, the method can be performed by software or hardware installed on the electronic device, and the method includes the following steps:
S101:确定待检测波形在第一时间形成的眼图。S101: Determine the eye pattern formed by the waveform to be detected at the first time.
数字信号的眼图包含丰富的信息,体现数字信号的整体特征,能够很好的评估数字信号的品质。把传输信道的输出作为示波器的输入,得到在发生违规时间点之前的信号对应的眼图。The eye diagram of a digital signal contains rich information, reflects the overall characteristics of the digital signal, and can well evaluate the quality of the digital signal. Use the output of the transmission channel as the input of the oscilloscope to obtain the eye diagram corresponding to the signal before the violation occurs.
在一种实现方式中,本实施例中的步骤S101包括:将所述第一时间前的所述待检测波形输入目标示波器;调整所述目标示波器的扫描周期,以使所述目标示波器的水平扫描周期与接收码元的周期同步;得到所述眼图。In one implementation, step S101 in this embodiment includes: inputting the waveform to be detected before the first time into a target oscilloscope; adjusting the scanning period of the target oscilloscope so that the level of the target oscilloscope is The scanning period is synchronized with the period of the received symbols; the eye diagram is obtained.
S102:确定对应所述眼图的第一测量项。S102: Determine the first measurement item corresponding to the eye diagram.
和眼图相关的眼图参数有很多,比如眼高、眼宽、眼幅度、眼交叉比、“1”电平,“0”电平,消光比,Q因子,平均功率、上升时间、下降时间等。There are many eye diagram parameters related to the eye diagram, such as eye height, eye width, eye amplitude, eye cross ratio, "1" level, "0" level, extinction ratio, Q factor, average power, rise time, fall Time etc.
在一种实现方式中,所述第一测量项包括:幅度测量项、时间测量项中的至少一者。In one implementation, the first measurement item includes: at least one of an amplitude measurement item and a time measurement item.
其中幅度测量项包括:眼电平、眼幅度、眼交叉幅度、眼交叉百分比、眼高、眼信噪比、品质(Quality,Q)因子、消光比、垂直眼开度中的至少一者。The amplitude measurement items include: at least one of eye level, eye amplitude, eye crossing amplitude, eye crossing percentage, eye height, eye signal-to-noise ratio, quality (Q) factor, extinction ratio, and vertical eye opening.
时间测量项包括:眼交叉时间、眼延迟、确定性抖动、上升时间、下降时间、眼宽、水平眼开度、峰峰值抖动、随机抖动、抖动均方根、总抖动中的至少一者。The time measurement items include: at least one of eye crossing time, eye delay, deterministic jitter, rise time, fall time, eye width, horizontal eye opening, peak-to-peak jitter, random jitter, jitter root mean square, and total jitter.
S103:基于所述眼图,确定所述第一测量项对应的第一测量值。S103: Based on the eye diagram, determine the first measurement value corresponding to the first measurement item.
在对所述眼图进行分析和计算的基础上,确定所述第一测量项对应的第一测量值。Based on the analysis and calculation of the eye diagram, a first measurement value corresponding to the first measurement item is determined.
在一种实现方式中,在眼图形成的图片上对像素点统计,按照上述测量项的定义,计算得到对应的测量值。In one implementation, the pixel points are counted on the picture formed by the eye diagram, and the corresponding measurement value is calculated according to the definition of the above measurement items.
以眼电平、眼高、眼交叉时间、上升时间为例。眼电平定义为眼图中“1”电平与“0”电平的大小。算法统计眼图中间位置的20%区域内,做垂直方向上的直方图,计算两直方图的均值,其中电压幅度较大的为“1”电平,电压幅度较小的为“0”电平。Take eye level, eye height, eye crossing time, and rise time as examples. The eye level is defined as the size of the "1" level and the "0" level in the eye diagram. The algorithm counts the 20% area in the middle of the eye diagram, makes a histogram in the vertical direction, and calculates the mean of the two histograms. The one with a larger voltage amplitude is a "1" level, and the one with a smaller voltage amplitude is a "0" level. flat.
眼高定义为眼图“1”电平下降3个标准差σ与“0”电平上升3个标准差σ的电压值之差。算法计算上述中两直方图的标准差,根据定义得到眼高。The eye height is defined as the difference between the voltage values of the eye diagram where the "1" level drops by 3 standard deviations σ and the "0" level rises by 3 standard deviations σ. The algorithm calculates the standard deviation of the two histograms above and obtains the eye height according to the definition.
交叉时间定义为眼图交叉点在横轴的时间点。算法在-Atotal*BW+Atotal*BW矩形范围内做直方图,眼交叉时间为两直方图均值对应的时间值。其中-Atotal为眼“0”电平的值,Atotal为眼“1”电平的值、BW一般选择20%。The crossover time is defined as the time point when the eye diagram cross point is on the horizontal axis. The algorithm makes a histogram within the -Atotal*BW+Atotal*BW rectangular range, and the eye-crossing time is the time value corresponding to the mean of the two histograms. Among them, -Atotal is the value of the eye "0" level, Atotal is the value of the eye "1" level, and BW is generally selected to be 20%.
上升时间定义为眼图第一个上升沿在10%~90%的时间差。算法根据眼“0”电平与眼“1”电平确定眼图10%与90%的电压值,分别在水平方向做直方图,计算两直方图之间时间差,得到眼图上升时间。The rise time is defined as the time difference between 10% and 90% of the first rising edge of the eye diagram. The algorithm determines the voltage values of 10% and 90% of the eye diagram based on the eye "0" level and the eye "1" level, makes histograms in the horizontal direction respectively, calculates the time difference between the two histograms, and obtains the eye diagram rise time.
其他所述第一测量项同样根据定义,运用统计的方法确定其对应的第一测量值。如眼信噪比是“1”电平与“0”电平的差值除以他们对应的标准差之和。垂 直眼开度是眼延迟(EyeDelay)处垂直直方图上两点之间的垂直距离,眼延迟是从中间点到眼图远原点之间的时间。其中眼信噪比、Q因子、垂直眼开度、确定性抖动、水平眼开度、随机抖动等使用双狄拉克模型,考虑随机和确定性分量来计算。For other first measurement items, the corresponding first measurement values are determined using statistical methods according to the definition. For example, the eye signal-to-noise ratio is the difference between the "1" level and the "0" level divided by the sum of their corresponding standard deviations. The vertical eye opening is the vertical distance between two points on the vertical histogram at the eye delay (EyeDelay), and the eye delay is the time from the middle point to the far origin of the eye diagram. Among them, the eye signal-to-noise ratio, Q factor, vertical eye opening, deterministic jitter, horizontal eye opening, random jitter, etc. are calculated using the double Dirac model, taking into account the random and deterministic components.
S104:在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。S104: If the first measured value does not meet the first predetermined condition, output the abnormal waveform corresponding to the first time in the eye diagram.
当待检测波形在第一时间形成的眼图中的所述第一测量值不满足第一预定条件的情况下,所述第一时间对应的所述眼图中的波形就是异常波形。When the first measurement value in the eye diagram formed by the waveform to be detected at the first time does not meet the first predetermined condition, the waveform in the eye diagram corresponding to the first time is an abnormal waveform.
在一种实现方式中,本实施例中的不同的所述第一测量项对应不同的所述第一预定条件。用户可以根据需要选择某一个或多个测量项进行分析。In an implementation manner, different first measurement items in this embodiment correspond to different first predetermined conditions. Users can select one or more measurement items for analysis as needed.
当选择的所述第一测量项是多个时,只要一个测量项的值不满足第一预定条件,就输出对应异常波形。这里的预定条件与测量项对应,如测量项是幅度测量时,测量值可以是眼电平,对应的预定条件可以是所述测量值不大于一个预设的阈值或所述测量值不小于一个预设的阈值。本申请实施例基于信号的眼图结合信号的历史信息和当前信息,针对上述多个测量项对信号整体进行统计分析,既克服了眼图模板分析在异常波形捕获时准确度不高、操作不便捷的问题,又克服了利用示波器触发功能对异常波形进行捕获时,其仅能根据当前信息对当前信号的特征进行分析,造成时间域内信号信息的丢失,准确度不高的问题。When multiple first measurement items are selected, as long as the value of one measurement item does not meet the first predetermined condition, the corresponding abnormal waveform is output. The predetermined condition here corresponds to the measurement item. For example, when the measurement item is amplitude measurement, the measured value can be eye level. The corresponding predetermined condition can be that the measured value is not greater than a preset threshold or that the measured value is not less than a preset threshold. Preset threshold. The embodiment of the present application performs statistical analysis on the entire signal based on the above multiple measurement items based on the eye diagram of the signal combined with the historical information and current information of the signal, which not only overcomes the low accuracy and poor operation of the eye diagram template analysis when capturing abnormal waveforms. The convenience problem also overcomes the problem that when using the oscilloscope trigger function to capture abnormal waveforms, it can only analyze the characteristics of the current signal based on the current information, resulting in the loss of signal information in the time domain and low accuracy.
本申请实施例提供的一种异常波形捕获的方法,通过确定待检测波形在第一时间形成的眼图;确定对应所述眼图的第一测量项;基于所述眼图,确定所述第一测量项对应的第一测量值;在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形,能够解决眼图模板分析在异常波形捕获时准确度不高、操作不便捷的问题,同时也避免了在利用示波器触发功能进行波形捕获时造成的时间域内信号信息丢失的问题,最终实现实时准确地捕获信号中的异常波形的效果。An embodiment of the present application provides a method for capturing abnormal waveforms by determining the eye diagram formed by the waveform to be detected at the first time; determining the first measurement item corresponding to the eye diagram; and determining the third measurement item based on the eye diagram. A first measurement value corresponding to a measurement item; when the first measurement value does not meet the first predetermined condition, outputting the abnormal waveform corresponding to the first time in the eye diagram can solve the problem of abnormal waveforms in eye diagram template analysis It solves the problems of low accuracy and inconvenient operation during capture. It also avoids the problem of signal information loss in the time domain caused by using the oscilloscope trigger function to capture waveforms, and finally achieves the effect of accurately capturing abnormal waveforms in signals in real time.
图2示出本发明的一个实施例提供的一种异常波形捕获的方法,该方法可以由电子设备执行,该电子设备可以包括:服务器或终端设备。换言之,该方法可以由安装在该电子设备上的软件或硬件来执行,该方法包括如下步骤:Figure 2 shows a method for capturing abnormal waveforms provided by an embodiment of the present invention. The method can be executed by an electronic device, and the electronic device can include: a server or a terminal device. In other words, the method can be performed by software or hardware installed on the electronic device, and the method includes the following steps:
S201:确定待检测波形在第一时间形成的眼图。S201: Determine the eye diagram formed by the waveform to be detected at the first time.
S202:确定对应所述眼图的第一测量项。S202: Determine the first measurement item corresponding to the eye diagram.
以上步骤可以采用图1实施例步骤S101或步骤S102的描述,对于重复部分在此不再赘述。The above steps may adopt the description of step S101 or step S102 in the embodiment of FIG. 1 , and the repeated parts will not be described again here.
S203:确定所述眼图上对应所述第一测量项的多个测量点;基于所述多个测量点,得到所述第一测量值。S203: Determine multiple measurement points on the eye diagram corresponding to the first measurement item; obtain the first measurement value based on the multiple measurement points.
S204:在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。S204: If the first measured value does not meet the first predetermined condition, output the abnormal waveform corresponding to the first time in the eye diagram.
在一种实现方式中,在步骤S204之后,还包括步骤:执行预定违规动作,其中所述预定违规动作包括保存所述异常波形、停止检测中的至少一者。In one implementation, after step S204, there is also a step of: performing a predetermined violation action, wherein the predetermined violation action includes at least one of saving the abnormal waveform and stopping detection.
本发明实施例提供的一种异常波形捕获的方法,通过确定待检测波形在第一时间形成的眼图;确定对应所述眼图的第一测量项;确定所述眼图上对应所述第一测量项的多个测量点;基于所述多个测量点,得到所述第一测量值;在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形,能够解决眼图模板分析在异常波形捕获时准确度不高、操作不便捷的问题,同时也避免了在利用示波器触发功能进行波形捕获时造成的时间域内信号信息丢失的问题,最终实现实时准确地捕获信号中的异常波形的效果。An embodiment of the present invention provides a method for capturing abnormal waveforms by determining the eye diagram formed by the waveform to be detected at the first time; determining the first measurement item corresponding to the eye diagram; and determining the first measurement item corresponding to the eye diagram. Multiple measurement points of a measurement item; based on the plurality of measurement points, obtain the first measurement value; when the first measurement value does not meet the first predetermined condition, output the corresponding third value in the eye diagram A temporary abnormal waveform can solve the problem of low accuracy and inconvenient operation of eye diagram template analysis when capturing abnormal waveforms. It also avoids the problem of loss of signal information in the time domain caused by using the oscilloscope trigger function to capture waveforms. , ultimately achieving the effect of accurately capturing abnormal waveforms in signals in real time.
需要说明的是,本申请实施例提供的异常波形捕获方法,执行主体可以为异常波形捕获装置,或者该异常波形捕获中的用于执行异常波形捕获的方法的控制模块。本申请实施例中以异常波形捕获装置执行异常波形捕获的方法为例,说明本申请实施例提供的异常波形捕获的装置。It should be noted that, for the abnormal waveform capture method provided by the embodiments of the present application, the execution subject may be an abnormal waveform capture device, or a control module used to execute the abnormal waveform capture method in the abnormal waveform capture. In the embodiment of the present application, the method of performing abnormal waveform capture by the abnormal waveform capture device is used as an example to illustrate the abnormal waveform capture device provided by the embodiment of the present application.
图3示出本发明的一个实施例提供的一种异常波形捕获的装置的结构示意图。如图3所示,一种异常波形捕获的装置300包括:输入模块310,用于确 定待检测波形在第一时间形成的眼图;第一确定模块320,用于确定对应所述眼图的第一测量项;第二确定模块330,用于基于所述眼图,确定所述第一测量项对应的第一测量值;输出模块340,用于在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。Figure 3 shows a schematic structural diagram of an abnormal waveform capturing device provided by an embodiment of the present invention. As shown in Figure 3, a device 300 for capturing abnormal waveforms includes: an input module 310, used to determine the eye diagram formed by the waveform to be detected at the first time; a first determination module 320, used to determine the eye diagram corresponding to the eye diagram. a first measurement item; a second determination module 330, configured to determine a first measurement value corresponding to the first measurement item based on the eye diagram; an output module 340, configured to determine when the first measurement value does not satisfy the first measurement value; Under predetermined conditions, the abnormal waveform corresponding to the first time in the eye diagram is output.
在一种实现方式中,所述输入模块310,用于:将所述第一时间前的所述待检测波形输入目标示波器;调整所述目标示波器的扫描周期,以使所述目标示波器的水平扫描周期与接收码元的周期同步;得到所述眼图。In one implementation, the input module 310 is configured to: input the waveform to be detected before the first time into a target oscilloscope; adjust the scanning period of the target oscilloscope so that the level of the target oscilloscope is The scanning period is synchronized with the period of the received symbols; the eye diagram is obtained.
在一种实现方式中,所述第二确定模块330,用于:确定所述眼图上对应所述第一测量项的多个测量点;基于所述多个测量点,得到所述第一测量值。In one implementation, the second determination module 330 is configured to: determine a plurality of measurement points corresponding to the first measurement item on the eye diagram; based on the plurality of measurement points, obtain the first Measurements.
在一种实现方式中,所述第一测量项包括:幅度测量项、时间测量项中的至少一者。In one implementation, the first measurement item includes: at least one of an amplitude measurement item and a time measurement item.
在一种实现方式中,不同的所述第一测量项对应不同的所述第一预定条件。In an implementation manner, different first measurement items correspond to different first predetermined conditions.
在一种实现方式中,所述输出模块,还用于:执行预定违规动作,其中所述预定违规动作包括保存所述异常波形、停止检测中的至少一者。In one implementation, the output module is further configured to perform a predetermined violation action, wherein the predetermined violation action includes at least one of saving the abnormal waveform and stopping detection.
本申请实施例中的异常波形捕获装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The abnormal waveform capturing device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
本申请实施例中的异常波形捕获装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The abnormal waveform capturing device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的异常波形捕获装置能够实现图1至图2的方法实施例 中实现的各个过程,为避免重复,这里不再赘述。The abnormal waveform capture device provided by the embodiment of the present application can implement each process implemented in the method embodiment of Figures 1 to 2. To avoid duplication, the details will not be described here.
可选的,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401,存储器402,存储在存储器402上并可在所述处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现:Optionally, as shown in Figure 4, this embodiment of the present application also provides an electronic device 400, including a processor 401, a memory 402, and programs or instructions stored on the memory 402 and executable on the processor 401. This program or instruction is implemented when executed by processor 401:
确定待检测波形在第一时间形成的眼图;确定对应所述眼图的第一测量项;基于所述眼图,确定所述第一测量项对应的第一测量值;在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。Determine the eye diagram formed by the waveform to be detected at the first time; determine the first measurement item corresponding to the eye diagram; determine the first measurement value corresponding to the first measurement item based on the eye diagram; in the first If the measured value does not meet the first predetermined condition, the abnormal waveform corresponding to the first time in the eye diagram is output.
在一种实现方式中,上述程序或指令被处理器401执行时实现:将所述第一时间前的所述待检测波形输入目标示波器;调整所述目标示波器的扫描周期,以使所述目标示波器的水平扫描周期与接收码元的周期同步;得到所述眼图。In one implementation, when the above-mentioned program or instruction is executed by the processor 401: input the waveform to be detected before the first time into the target oscilloscope; adjust the scan cycle of the target oscilloscope so that the target The horizontal scanning period of the oscilloscope is synchronized with the period of the received symbols; the eye diagram is obtained.
在一种实现方式中,上述程序或指令被处理器401执行时实现:确定所述眼图上对应所述第一测量项的多个测量点;基于所述多个测量点,得到所述第一测量值。In one implementation, when the above-mentioned program or instruction is executed by the processor 401, it is achieved: determining a plurality of measurement points corresponding to the first measurement item on the eye diagram; based on the plurality of measurement points, obtaining the third measurement item. a measured value.
具体执行步骤可以参见上述异常波形捕获方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。For specific execution steps, please refer to each process of the above-mentioned abnormal waveform capturing method embodiment, and can achieve the same technical effect. To avoid duplication, they will not be described again here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图5示出了本申请实施例的另一种电子设备的硬件结构示意图。FIG. 5 shows a schematic diagram of the hardware structure of another electronic device according to an embodiment of the present application.
该电子设备500包括但不限于:用于输入待检测波形的输入单元501、用于显示所述待检测波形对应眼图的显示单元502、用于存储所述待检测波形数据及相关测量数据的存储单元503、以及用于计算和控制的处理单元504等部件。The electronic device 500 includes, but is not limited to: an input unit 501 for inputting the waveform to be detected, a display unit 502 for displaying the eye diagram corresponding to the waveform to be detected, and a display unit for storing the waveform data to be detected and related measurement data. Storage unit 503, and processing unit 504 for calculation and control and other components.
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理单元504逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Those skilled in the art can understand that the electronic device 500 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processing unit 504 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
其中,处理单元504,用于确定待检测波形在第一时间形成的眼图;确定 对应所述眼图的第一测量项;基于所述眼图,确定所述第一测量项对应的第一测量值;在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。Among them, the processing unit 504 is used to determine the eye diagram formed by the waveform to be detected at the first time; determine the first measurement item corresponding to the eye diagram; based on the eye diagram, determine the first measurement item corresponding to the first measurement item. Measured value; when the first measured value does not meet the first predetermined condition, output the abnormal waveform corresponding to the first time in the eye diagram.
在一种实现方式中,处理单元504,用于将所述第一时间前的所述待检测波形输入目标示波器;调整所述目标示波器的扫描周期,以使所述目标示波器的水平扫描周期与接收码元的周期同步;得到所述眼图。In one implementation, the processing unit 504 is configured to input the waveform to be detected before the first time into a target oscilloscope; adjust the scanning period of the target oscilloscope so that the horizontal scanning period of the target oscilloscope is consistent with The cycle of received symbols is synchronized; the eye diagram is obtained.
在一种实现方式中,处理单元504,用于确定所述眼图上对应所述第一测量项的多个测量点;基于所述多个测量点,得到所述第一测量值。In one implementation, the processing unit 504 is configured to determine a plurality of measurement points on the eye diagram corresponding to the first measurement item; and obtain the first measurement value based on the plurality of measurement points.
本实施例可以实现上述异常波形捕获方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。This embodiment can implement each process of the above-mentioned abnormal waveform capturing method embodiment, and can achieve the same technical effect. To avoid repetition, details will not be described here.
以上电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,例如,输入单元,可以包括图形处理器(Graphics Processing Unit,GPU)和麦克风,显示单元可以采用液晶显示器、有机发光二极管等形式来配置显示面板。用户输入单元包括触控面板以及其他输入设备中的至少一种。触控面板也称为触摸屏。其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The above structure of the electronic device does not constitute a limitation on the electronic device. The electronic device may include more or less components than shown in the figure, or a combination of certain components, or a different arrangement of components, such as an input unit, which may include a graphics processor. (Graphics Processing Unit, GPU) and microphone, the display unit can be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes at least one of a touch panel and other input devices. Touch panels are also called touch screens. Other input devices may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储单元可用于存储软件程序以及各种数据。存储单元可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储单元可以包括易失性存储器或非易失性存储器,或者,存储单元可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器 (Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。Storage units can be used to store software programs as well as various data. The storage unit may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Furthermore, the storage unit may include volatile memory or non-volatile memory, or the storage unit may include both volatile and non-volatile memory. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct Rambus RAM (DRRAM).
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述异常波形捕获方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above abnormal waveform capture method embodiment is implemented, and can achieve The same technical effects are not repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器或处理单元。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor or processing unit in the electronic device described in the above embodiment. The readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述异常波形捕获方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above embodiment of the abnormal waveform capture method. Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及 的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (10)

  1. 一种异常波形捕获方法,其特征在于,所述方法包括:An abnormal waveform capture method, characterized in that the method includes:
    确定待检测波形在第一时间形成的眼图;Determine the eye pattern formed by the waveform to be detected at the first time;
    确定对应所述眼图的第一测量项;Determine the first measurement item corresponding to the eye diagram;
    基于所述眼图,确定所述第一测量项对应的第一测量值;Based on the eye diagram, determine a first measurement value corresponding to the first measurement item;
    在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。When the first measured value does not meet the first predetermined condition, an abnormal waveform corresponding to the first time in the eye diagram is output.
  2. 根据权利要求1所述的方法,其特征在于,所述确定待检测波形在第一时间形成的眼图,包括:The method according to claim 1, characterized in that determining the eye diagram formed by the waveform to be detected at the first time includes:
    将所述第一时间前的所述待检测波形输入目标示波器;Input the waveform to be detected before the first time into the target oscilloscope;
    调整所述目标示波器的扫描周期,以使所述目标示波器的水平扫描周期与接收码元的周期同步;Adjust the scanning period of the target oscilloscope so that the horizontal scanning period of the target oscilloscope is synchronized with the period of the received symbols;
    得到所述眼图。Obtain the eye diagram.
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述眼图,确定所述第一测量项对应的第一测量值,包括:The method according to claim 1, characterized in that, based on the eye diagram, determining the first measurement value corresponding to the first measurement item includes:
    确定所述眼图上对应所述第一测量项的多个测量点;Determine a plurality of measurement points corresponding to the first measurement item on the eye diagram;
    基于所述多个测量点,得到所述第一测量值。Based on the plurality of measurement points, the first measurement value is obtained.
  4. 根据权利要求1所述的方法,其特征在于,不同的所述第一测量项对应不同的所述第一预定条件。The method according to claim 1, characterized in that different first measurement items correspond to different first predetermined conditions.
  5. 根据权利要求1所述的方法,其特征在于,在所述输出所述眼图中对应第一时间的异常波形后,还包括:The method according to claim 1, characterized in that after outputting the abnormal waveform corresponding to the first time in the eye diagram, it further includes:
    执行预定违规动作,其中所述预定违规动作包括保存所述异常波形、停止检测中的至少一者。Execute a predetermined violation action, wherein the predetermined violation action includes at least one of saving the abnormal waveform and stopping detection.
  6. 一种异常波形捕获装置,其特征在于,所述装置包括:An abnormal waveform capture device, characterized in that the device includes:
    输入模块,用于确定待检测波形在第一时间形成的眼图;The input module is used to determine the eye pattern formed by the waveform to be detected at the first time;
    第一确定模块,用于确定对应所述眼图的第一测量项;A first determination module, configured to determine the first measurement item corresponding to the eye diagram;
    第二确定模块,用于基于所述眼图,确定所述第一测量项对应的第一测量值;a second determination module, configured to determine the first measurement value corresponding to the first measurement item based on the eye diagram;
    输出模块,用于在所述第一测量值不满足第一预定条件的情况下,输出所述眼图中对应第一时间的异常波形。An output module, configured to output the abnormal waveform corresponding to the first time in the eye diagram when the first measured value does not meet the first predetermined condition.
  7. 根据权利要求6所述的装置,其特征在于,所述输入模块,用于:The device according to claim 6, characterized in that the input module is used for:
    将所述第一时间前的所述待检测波形输入目标示波器;Input the waveform to be detected before the first time into the target oscilloscope;
    调整所述目标示波器的扫描周期,以使所述目标示波器的水平扫描周期与接收码元的周期同步;Adjust the scanning period of the target oscilloscope so that the horizontal scanning period of the target oscilloscope is synchronized with the period of the received symbols;
    得到所述眼图。Obtain the eye diagram.
  8. 根据权利要求6所述的装置,其特征在于,所述第二确定模块,用于:The device according to claim 6, characterized in that the second determination module is used to:
    确定所述眼图上对应所述第一测量项的多个测量点;Determine a plurality of measurement points corresponding to the first measurement item on the eye diagram;
    基于所述多个测量点,得到所述第一测量值。Based on the plurality of measurement points, the first measurement value is obtained.
  9. 一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的异常波形捕获的方法的步骤。An electronic device, characterized in that it includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the following are implemented: The steps of the method for capturing abnormal waveforms according to any one of claims 1-5.
  10. 一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的异常波形捕获的方法的步骤。A readable storage medium, characterized in that the readable storage medium stores programs or instructions, and when the programs or instructions are executed by a processor, the abnormal waveform capture according to any one of claims 1-5 is realized. Method steps.
PCT/CN2022/126182 2022-04-01 2022-10-19 Abnormal waveform capturing method and apparatus, electronic device and storage medium WO2023184936A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210338804.7 2022-04-01
CN202210338804.7A CN114707548A (en) 2022-04-01 2022-04-01 Abnormal waveform capturing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023184936A1 true WO2023184936A1 (en) 2023-10-05

Family

ID=82172047

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126182 WO2023184936A1 (en) 2022-04-01 2022-10-19 Abnormal waveform capturing method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN114707548A (en)
WO (1) WO2023184936A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114707548A (en) * 2022-04-01 2022-07-05 普源精电科技股份有限公司 Abnormal waveform capturing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110135299A1 (en) * 2009-12-08 2011-06-09 Telcordia Technologies, Inc. Differential eye diagrams
CN102664689A (en) * 2012-03-26 2012-09-12 华为技术有限公司 Determination method of eye pattern quality and apparatus thereof
CN104228715A (en) * 2013-06-19 2014-12-24 株式会社自动网络技术研究所 connection detection apparatus and in-vehicle relay apparatus
CN111159067A (en) * 2019-12-26 2020-05-15 海光信息技术有限公司 Parameter optimization method, device, module, processor and computer storage medium
CN112527576A (en) * 2020-11-27 2021-03-19 苏州浪潮智能科技有限公司 Method, equipment, medium and device for testing PCIe link signal at high temperature
CN114707548A (en) * 2022-04-01 2022-07-05 普源精电科技股份有限公司 Abnormal waveform capturing method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114170452A (en) * 2021-11-22 2022-03-11 中科可控信息产业有限公司 Signal quality evaluation method and device, computer device and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110135299A1 (en) * 2009-12-08 2011-06-09 Telcordia Technologies, Inc. Differential eye diagrams
CN102664689A (en) * 2012-03-26 2012-09-12 华为技术有限公司 Determination method of eye pattern quality and apparatus thereof
CN104228715A (en) * 2013-06-19 2014-12-24 株式会社自动网络技术研究所 connection detection apparatus and in-vehicle relay apparatus
CN111159067A (en) * 2019-12-26 2020-05-15 海光信息技术有限公司 Parameter optimization method, device, module, processor and computer storage medium
CN112527576A (en) * 2020-11-27 2021-03-19 苏州浪潮智能科技有限公司 Method, equipment, medium and device for testing PCIe link signal at high temperature
CN114707548A (en) * 2022-04-01 2022-07-05 普源精电科技股份有限公司 Abnormal waveform capturing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114707548A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US9395845B2 (en) Probabilistic latency modeling
US8823794B2 (en) Measuring device user experience through display outputs
US20120166985A1 (en) Techniques to customize a user interface for different displays
JP6143113B2 (en) Storage medium and processing method
CN105320383A (en) Adjustment of touch sensing stimulation voltage levels based on touch performance
US20120032976A1 (en) Image display device, image display system, and image display method
WO2023184936A1 (en) Abnormal waveform capturing method and apparatus, electronic device and storage medium
US9280452B1 (en) Systems and methods for generating test cases
CN104765560A (en) Display control method
US20200285367A1 (en) Force touch detection method, touch panel and electronic device
CN104063286A (en) Method and device for testing fluency of change of displayed content
CN104115097A (en) Automated perceptual quality assessment of touch screen devices
TWI610220B (en) Apparatus and method for automatically controlling display screen density
CN117234825A (en) Intelligent testing system for touch performance of medium-and-large-size touch screen
WO2018205392A1 (en) Control response area display control method, electronic apparatus, and storage medium
CN110324707B (en) Video playing time consumption testing method and device
CN104765561A (en) Terminal
CN111815433A (en) Loan risk assessment method and device, machine-readable medium and equipment
WO2015039585A1 (en) Method and device for testing software reliability
US20170285902A1 (en) Modifying Settings of an Electronic Test or Measurement Instrument
CN109348236B (en) Storage capacity evaluation method and device, server and storage medium
US20150373130A1 (en) Device and method for connecting celebrities and fans
WO2024055357A1 (en) Television definition adjustment method and device
WO2023095210A1 (en) Video processing device, method, and program
Lin et al. Benchmarking handheld graphical user interface: Smoothness quality of experience