WO2017113360A1 - 数据分析方法、系统和设备 - Google Patents
数据分析方法、系统和设备 Download PDFInfo
- Publication number
- WO2017113360A1 WO2017113360A1 PCT/CN2015/100264 CN2015100264W WO2017113360A1 WO 2017113360 A1 WO2017113360 A1 WO 2017113360A1 CN 2015100264 W CN2015100264 W CN 2015100264W WO 2017113360 A1 WO2017113360 A1 WO 2017113360A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- command
- parsing
- transmission data
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/273—Tester hardware, i.e. output processing circuits
- G06F11/2733—Test interface between tester and unit under test
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
Definitions
- Embodiments of the present invention relate to data processing technologies, and in particular, to a data analysis method, system, and device.
- the user in function debugging, for example, assuming that the product includes chip A and chip B, the user generally inputs some commands, such as inputting some commands to chip A, and chip A interacts with chip B to execute these commands. At this time, it is necessary to analyze the transmission data between the two chips, to judge the execution of the command by analyzing the data transmitted between the chips, that is, to determine the execution status of the corresponding chip function, and complete the function debugging.
- the analysis of data transmitted between chips generally adopts a manual processing method: for example, an acquisition device such as an oscilloscope is used to collect transmission data of the chip, and then the transmission is performed.
- an acquisition device such as an oscilloscope is used to collect transmission data of the chip, and then the transmission is performed.
- manual analysis of bit-by-bit data is required to extract the required bit data, and then the bit data is manually converted into corresponding byte data.
- Embodiments of the present invention provide a data analysis method, system, and device, which implement automatic data analysis processing and improve data analysis processing efficiency according to data collection conditions and command parsing formats configured by different users for different transmission modes.
- a first aspect of the present invention provides a data analysis method, including:
- the data collection condition includes a data collection start condition and a data collection end condition
- Collecting the transmission data according to the data collection condition, and acquiring transmission data that meets the data collection condition including:
- the bit stream starting from the start bit data is continuously extracted until the end bit data of the transmission data that satisfies the data acquisition end condition is extracted.
- the performing, according to the command parsing format, performing a command on the transmission data that meets the data collection condition the method further includes:
- Each output command includes:
- the byte data corresponding to each command obtained by the parsing is encapsulated into a corresponding command, and each output command is obtained.
- the method further includes:
- the output data included in the output command to be displayed is displayed in a preset display manner.
- the receiving the transmission data of the chip to be analyzed includes:
- a second aspect of the present invention provides a data analysis system, including:
- a first receiving module configured to receive a data collection condition and a command parsing format configured by the user for the chip to be analyzed
- a second receiving module configured to receive transmission data of the chip to be analyzed
- a data acquiring module configured to collect the transmission data according to the data collection condition, and acquire transmission data that meets the data collection condition
- a command processing module configured to perform command parsing processing on the transmission data that meets the data collection condition according to the command parsing format, to obtain each output command.
- the data collection condition includes a data collection start condition and a data collection end condition
- the data acquisition module includes:
- Determining a submodule configured to determine start bit data in the transmission data that satisfies the data acquisition start condition
- the method further includes:
- a conversion module configured to convert a bit data stream between the start bit data and the end bit data into a byte data stream
- the command processing module is specifically configured to perform command parsing processing on the byte data stream according to the command parsing format to obtain each output command.
- the command processing module includes:
- a parsing submodule configured to parse each command included in the byte data stream according to each command code included in the command parsing format
- the encapsulation submodule is configured to encapsulate the byte data corresponding to each command obtained by the parsing into a corresponding command, and obtain each output command.
- the first receiving module is further configured to:
- the data analysis system further includes:
- a command selection module configured to select, according to the command code corresponding to the output command to be displayed, the output command to be displayed from the output commands;
- the data display module is configured to display the output data included in the output command to be displayed in a preset display manner.
- the second receiving module is specifically configured to:
- the data analysis system further includes:
- a file parsing module configured to parse the storage file to obtain the transmission data.
- a third aspect of the present invention provides a data analysis device, including:
- a receiver configured to receive a data collection condition and a command parsing format configured by the user for the chip to be analyzed, and receive the transmission data of the chip to be analyzed;
- a processor configured to collect the transmission data according to the data collection condition, and acquire transmission data that meets the data collection condition
- the processor is further configured to perform command parsing processing on the transmission data that meets the data collection condition according to the command parsing format, to obtain each output command.
- the data collection condition includes a data collection start condition and a data collection end condition
- the processor is further configured to:
- the bit stream starting from the start bit data is continuously extracted until the end bit data of the transmission data that satisfies the data acquisition end condition is extracted.
- the processor is further configured to:
- the processor is further configured to:
- the byte data corresponding to each command obtained by the parsing is encapsulated into a corresponding command, and each output command is obtained.
- the receiver is further configured to: receive user input Display instruction, wherein the display instruction includes a command code corresponding to the output command to be displayed;
- the processor is further configured to: according to the command code corresponding to the output command to be displayed, from the The output command to be displayed is selected from each of the output commands; and the output data included in the output command to be displayed is displayed in a preset display manner.
- the receiver is specifically configured to:
- the processor is further configured to: parse the storage file to obtain the transmission data.
- the data analysis method, system and device After receiving the transmission data for the chip to be analyzed, the data analysis method, system and device provided by the invention automatically collect the transmission data according to the data collection condition of the received user for the chip to be analyzed, so as to accurately Acquiring the transmission data that meets the data collection condition; further, performing automatic command parsing processing on the acquired transmission data that satisfies the data collection condition according to the command parsing format configured by the user for the chip to be analyzed, and obtaining the chip to be analyzed The output of each output command.
- the data collection conditions and command parsing format configured by the user for the chip to be analyzed the automatic collection of the data to be analyzed and the automatic command parsing analysis and processing are realized, and the analysis and processing efficiency of the transmission data is improved.
- FIG. 1 is a flowchart of Embodiment 1 of a data analysis method according to an embodiment of the present invention
- Embodiment 2 is a flowchart of Embodiment 2 of a data analysis method according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a data collection process in the second embodiment shown in FIG. 2;
- Embodiment 4 is a flowchart of Embodiment 3 of a data analysis method according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of Embodiment 1 of a data analysis system according to an embodiment of the present disclosure
- FIG. 6 is a schematic structural diagram of Embodiment 2 of a data analysis system according to an embodiment of the present disclosure
- FIG. 7 is a schematic structural diagram of Embodiment 3 of a data analysis system according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of Embodiment 1 of a data analysis device according to an embodiment of the present invention.
- FIG. 1 is a flowchart of Embodiment 1 of a data analysis method according to an embodiment of the present invention. As shown in FIG. 1 , an execution body of the solution is a data analysis device, and the data analysis method includes the following steps:
- Step 101 Receive a data collection condition and a command parsing format configured by the user for the chip to be analyzed.
- Step 102 Receive transmission data of a chip to be analyzed.
- the above steps 101 and 102 do not have a strict timing constraint relationship.
- Step 103 Collect transmission data according to data collection conditions, and acquire transmission data that meets data collection conditions.
- Step 104 Perform command analysis processing on the transmission data that satisfies the data collection condition according to the command parsing format, and obtain each output command.
- the chip to be analyzed is a chip that provides a certain function in any device, or, more broadly, the chip to be analyzed may also be a device and device in a certain system.
- each chip has a different data transmission method and a different command parsing format. Therefore, in this embodiment, for one chip, that is, for the chip to be analyzed, The corresponding data collection condition and command parsing format may be configured in advance for subsequent automatic analysis and processing of the transmission data of the chip to be analyzed.
- the user configures the data collection condition and the command parsing format for the chip to be analyzed, and mainly refers to a communication protocol or a data transmission protocol used by the analysis chip. Therefore, for a plurality of chips included in a certain device, a communication protocol adopted by some of the chips may be identical. In this case, the user may configure only one time for the communication protocol, and need to perform for a certain chip using the communication protocol.
- the configuration information corresponding to the communication protocol that is, the data collection condition and the command analysis format, may be used.
- the user when the user needs to perform data analysis processing on a chip to be analyzed, according to the to-be-analyzed
- the communication protocol of the chip the user sends the indication information carrying the corresponding data collection condition and the command analysis format to the data analysis device, so that the data analysis device analyzes and processes the transmission data of the analysis chip according to the indication information.
- the transmission data received by the data analysis device may be received from the data collector, and the data collector may be integrated with the data analysis device or may be independently set.
- the data collector is connected between the chip to be analyzed and another chip that performs data interaction with the chip to be analyzed, and is used to collect transmission data between the chip to be analyzed and the other chip.
- the transmission data is input by a certain command to be analyzed by the chip, and the chip to be analyzed is output after the corresponding processing is started based on the input command.
- the data analysis device After receiving the transmission data, the data analysis device first collects the transmission data according to the data collection condition, and acquires the transmission data that satisfies the data collection condition, that is, extracts data from the received transmission data according to the data collection condition, and extracts the satisfied data.
- the transmission data of the acquisition condition Further, the extracted transmission data is encapsulated according to the command parsing format to obtain each output command.
- each command can be understood as providing a specific function, such as a command to focus the camera, a command to adjust the aperture size, and the like.
- the command parsing format in the embodiment is for the chip to be analyzed, that is, the various possible specific commands corresponding to the chip to be analyzed are included.
- Package format Therefore, according to the encapsulation format of each specific command, each output command can be obtained, and each output command reflects the operation or execution of the input command by the chip to be analyzed.
- the transmission data is automatically collected to accurately obtain the transmission satisfying the data collection condition.
- Data further, according to the command parsing format configured by the user for the chip to be analyzed, automatically performing the command parsing process on the acquired transmission data that satisfies the data collection condition, and obtaining each output command reflecting the execution status of the chip to be analyzed.
- Embodiment 2 is a flowchart of Embodiment 2 of a data analysis method according to an embodiment of the present invention. As shown in FIG. 2, the method specifically includes the following steps:
- Step 201 Receive a data collection condition and a command parsing format configured by the user for the chip to be analyzed, where the data collection condition includes a data collection start condition and a data collection end condition.
- the data collection conditions specifically include a start condition and an end condition.
- the configuration of the data collection condition and the command parsing format of the user may be performed on the operation interface, and the corresponding configuration is performed on each operation panel.
- the user can send an instruction to the data analysis device by selecting a corresponding data collection condition and a command parsing format to inform the data analysis device which data collection condition and command parsing to use. format.
- Step 202 Receive transmission data of a chip to be analyzed.
- the data analysis device may receive the transmission data of the chip to be analyzed collected and sent by the data collector in real time; or receive the storage file containing the transmission data sent by the data collector, parse the storage file, and obtain the transmission data. . That is to say, the data collector can transmit the collected transmission data to the data analysis device in real time, or save the file as a file, and send the file to the data analysis device, so that the data analysis device parses the file to obtain the transmission data therein.
- Step 203 Determine start bit data of the transmission data that satisfies the data acquisition start condition.
- Step 204 Continuously extract the bit data stream starting from the start bit data until extracting the end bit data of the transmission data that satisfies the data acquisition end condition.
- the data collection condition includes a start condition and an end condition
- start bit data that satisfies the start condition is determined, and then bit data starting from the start bit data is continuously extracted.
- the stream is extracted until the end bit data of the transmission data that satisfies the data acquisition end condition is extracted. Thereby, a bit stream that satisfies the data collection conditions is obtained.
- the data acquisition process will be briefly described in conjunction with the schematic diagram shown in FIG. Assume that the output signals of the chip to be analyzed include LSCLK, LSB2L, LSL2B, and LSDIO.
- the start condition of data acquisition is taken as an example. Assume that when LSB2L and LSL2B are simultaneously high, the rising or falling edge of the clock signal LSCLK is The data signal LSDIO is acquired to obtain starting bit data. Then, according to the data collection condition, the subsequent bit data is collected until the collection meets the end of the data collection. The end of the condition is the bit data.
- Step 205 Convert the bit data stream between the start bit data and the end bit data into a byte data stream.
- the collected bit stream is converted byte by byte in units of bytes to obtain a byte stream. Further, according to the command parsing format, the byte data stream is subjected to command parsing processing to obtain each output command.
- Step 206 Parse each command included in the byte data stream according to each command code included in the command parsing format.
- Step 207 Encapsulate the byte data corresponding to each command obtained by the parsing into a corresponding command, and obtain each output command.
- each command is composed of a plurality of different parameter fields, for example, different parameter fields including command code, check word, data length, data, and the like.
- the command code can uniquely identify a command. Therefore, each command code in the format of the command parsing corresponding to the chip to be analyzed can be used to traverse the obtained byte data stream to determine each command code included in the byte data stream, which is equivalent to The start and end identifiers of the respective commands are determined, and the byte data between the two different command codes belongs to the parameter components of the previous command code among the two command codes. Therefore, based on the parsed command code bytes, the byte data before the next command code byte can be encapsulated into one command after each command code byte, thereby obtaining each output command of the chip to be analyzed.
- the automatic collection of the data to be analyzed, the automatic command parsing and the like are analyzed, and the analysis and processing efficiency of the transmission data is improved.
- FIG. 4 is a flowchart of Embodiment 3 of the data analysis method according to the embodiment of the present invention. As shown in FIG. 4, after obtaining the output commands, the following steps may be further included on the basis of the foregoing embodiments:
- Step 301 Receive a display instruction input by a user, where the display instruction includes a command code corresponding to the output command to be displayed.
- Step 302 Select an output command to be displayed from each output command according to a command code corresponding to the output command to be displayed.
- Step 303 The output data included in the output command to be displayed is displayed in a preset display manner.
- the data display processing may also be performed for the command of interest to the user.
- each output command may correspond to different specific functions, such as acceleration data, aperture size value, etc.
- the user may send the carried and acceleration acquisition to the data analysis device.
- the command code corresponding to the command so that the data analysis device selects a corresponding command from each output command, and then displays the acceleration data included in the selected command in a preset display manner.
- the preset display manner includes a display manner such as a curve and a histogram.
- the data in the command to be displayed may be graphically displayed according to the display requirement of the user, so that the user can more intuitively see the chip.
- the result of the operation is convenient for the user to treat the analysis chip for subsequent maintenance and adjustment.
- FIG. 5 is a schematic structural diagram of Embodiment 1 of a data analysis system according to an embodiment of the present invention.
- the data analysis system includes: a first receiving module 11, a second receiving module 12, a data acquiring module 13, and command processing. Module 14.
- the first receiving module 11 is configured to receive a data collection condition and a command parsing format configured by the user for the chip to be analyzed.
- the second receiving module 12 is configured to receive transmission data of the chip to be analyzed.
- the data acquisition module 13 is configured to collect the transmission data according to the data collection condition, and acquire transmission data that meets the data collection condition.
- the command processing module 14 is configured to perform command parsing processing on the transmission data that satisfies the data collection condition according to the command parsing format, to obtain each output command.
- the data analysis system provided in this embodiment may be used to implement the technical solution in the embodiment shown in FIG. 1 , and the implementation principle and technical effects are similar, and details are not described herein again.
- FIG. 6 is a schematic structural diagram of Embodiment 2 of a data analysis system according to an embodiment of the present invention. As shown in FIG. 6 , on the basis of the embodiment shown in FIG. 5 , the second receiving module 12 is specifically configured to:
- the data analysis system further includes:
- the file parsing module 21 is configured to parse the storage file to obtain the transmission data.
- the data collection condition includes a data collection start condition and a data collection end condition.
- the data obtaining module 13 includes: a determining submodule 131 and an extracting submodule 132.
- the determining submodule 131 is configured to determine start bit data of the transmission data that satisfies the data collection start condition.
- the extraction sub-module 132 is configured to continuously extract the bit data stream starting from the start bit data until the end bit data of the transmission data that satisfies the data collection end condition is extracted.
- the data analysis system further includes: a conversion module 22.
- the converting module 22 is configured to convert the bit data stream between the start bit data and the end bit data into a byte data stream.
- the command processing module 14 is specifically configured to perform command parsing processing on the byte data stream according to the command parsing format to obtain each output command.
- the command processing module 14 includes: a parsing submodule 141 and a encapsulating submodule 142.
- the parsing sub-module 141 is configured to parse each command included in the byte data stream according to each command code included in the command parsing format.
- the encapsulation sub-module 142 is configured to encapsulate the byte data corresponding to each command obtained by the parsing into a corresponding command, and obtain each output command.
- the data analysis system provided in this embodiment may be used to implement the technical solution in the embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
- FIG. 7 is a schematic structural diagram of Embodiment 3 of a data analysis system according to an embodiment of the present invention. As shown in FIG. 7, the first receiving module 11 is further used on the basis of the embodiment shown in FIG. 5 or FIG. And receiving a display instruction input by the user, where the display instruction includes a command code corresponding to the output command to be displayed.
- the data analysis system further includes a command selection module 31 and a data display module 32.
- the command selection module 31 is configured to select the output command to be displayed from the output commands according to the command code corresponding to the output command to be displayed.
- the data display module 32 is configured to display the output data included in the output command to be displayed in a preset display manner.
- the data analysis system provided by this embodiment can be used to implement the technical solution in the embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
- FIG. 8 is a schematic structural diagram of Embodiment 1 of a data analysis device according to an embodiment of the present invention. As shown in FIG. 8, the data analysis device includes: a receiver 41 and a processor 42.
- the receiver 41 is configured to receive a data collection condition and a command parsing format configured by the user for the chip to be analyzed, and receive the transmission data of the chip to be analyzed.
- the processor 42 is configured to collect the transmission data according to the data collection condition, and acquire transmission data that meets the data collection condition.
- the processor 42 is further configured to perform command parsing processing on the transmission data that satisfies the data collection condition according to the command parsing format, to obtain each output command.
- the data collection condition includes a data collection start condition and a data collection end condition
- the processor 42 is further configured to:
- the bit stream starting from the start bit data is continuously extracted until the end bit data of the transmission data that satisfies the data acquisition end condition is extracted.
- processor 42 is further configured to:
- processor 42 is further configured to:
- the byte data corresponding to each command obtained by the parsing is encapsulated into a corresponding command, and each output is obtained. make.
- the receiver 41 is further configured to: receive a display instruction input by the user, where the display instruction includes a command code corresponding to the output command to be displayed.
- the processor 42 is further configured to: select, according to the command code corresponding to the output command to be displayed, the output command to be displayed from the output commands; and output data included in the output command to be displayed Displayed in the preset display mode.
- the receiver 41 is specifically configured to:
- the processor 43 is further configured to: parse the storage file to obtain the transmission data.
- the data analysis device provided in this embodiment may be used to implement the technical solutions in FIG. 1 , FIG. 2 and FIG. 4 , and the implementation principle and technical effects thereof are similar, and details are not described herein again.
- the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or other general-purpose processor, digital signal processor (English: Digital) Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), etc.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the aforementioned program can be stored in a computer readable storage medium.
- the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes: read-only memory (English: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, solid state hard disk, Magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Information Transfer Between Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明提供一种数据分析方法、系统和设备,该方法包括:接收用户针对待分析芯片配置的数据采集条件和命令解析格式;接收待分析芯片的传输数据;根据所据采集条件对传输数据进行采集,获取满足数据采集条件的传输数据;根据命令解析格式,对满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。通过采用用户针对待分析芯片所配置的数据采集条件和命令解析格式,实现了待分析芯片的传输数据的自动采集、自动命令解析等分析处理,提高了传输数据分析处理效率。
Description
本发明实施例涉及数据处理技术,尤其涉及一种数据分析方法、系统和设备。
目前的电子产品一般是由多种芯片组合而成。为保证产品的正常使用,产品一般都需要进行调试等处理。在调试时,可能需要对产品进行各种功能的测试,每种功能的测试可以会涉及到产品中多个芯片间的数据传输。
因此,在功能调试时,举例来说,假设产品包括芯片A和芯片B,用户一般会输入一些命令,比如对芯片A输入一些命令,芯片A与芯片B交互,以执行这些命令。此时,需要分析这两个芯片间的传输数据,以通过对芯片间传输数据的分析,判断命令的执行情况,亦即判定对应芯片功能的执行情况,完成功能调试。
由于不同芯片所采用的通信协议、命令格式往往各不相同,目前,对各芯片间传输数据的分析,一般采用人工处理的方式:比如利用示波器等采集设备采集芯片的传输数据,进而在对传输数据进行分析时,需要人工逐个比特数据的分析,以提取出所需的比特数据,进而将比特数据人工转换成对应的字节数据。再查命令格式表,将各个字节数据解析为对应的命令,从而知道输出了什么命令以及对输入命令的执行结果情况。由此可知,目前这种通过人工对芯片间传输数据进行分析处理的方式,其分析处理效率会很低。
发明内容
本发明实施例提供一种数据分析方法、系统和设备,根据用户配置的针对不同传输方式的数据采集条件和命令解析格式,实现数据的自动分析处理,提高数据分析处理效率。
本发明第一方面提供一种数据分析方法,包括:
接收用户针对待分析芯片配置的数据采集条件和命令解析格式;
接收所述待分析芯片的传输数据;
根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据;
根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
结合第一方面,在第一方面的第一种可能的实施方式中,所述数据采集条件包括数据采集起始条件和数据采集结束条件;
所述根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据,包括:
确定所述传输数据中满足所述数据采集起始条件的起始比特数据;
连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令之前,所述方法还包括:
将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;
所述根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令,包括:
根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
结合第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,所述根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令,包括:
根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令;
将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
结合第一方面、第一方面的第一种、第二种或第三种可能的实施方式,在第一方面的第四种可能的实施方式中,所述根据所述命令解析格式,对所述
满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令之后,所述方法还包括:
接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码;
根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令;
对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
结合第一方面、第一方面的第一种、第二种或第三种可能的实施方式,在第一方面的第五种可能的实施方式中,所述接收所述待分析芯片的传输数据,包括:
接收数据采集器实时采集并发送的所述传输数据;
或者,
接收所述数据采集器发送的包含所述传输数据的存储文件;
解析所述存储文件,获得所述传输数据。
本发明第二方面提供一种数据分析系统,包括:
第一接收模块,用于接收用户针对待分析芯片配置的数据采集条件和命令解析格式;
第二接收模块,用于接收所述待分析芯片的传输数据;
数据获取模块,用于根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据;
命令处理模块,用于根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
结合第二方面,在第二方面的第一种可能的实施方式中,所述数据采集条件包括数据采集起始条件和数据采集结束条件;
所述数据获取模块,包括:
确定子模块,用于确定所述传输数据中满足所述数据采集起始条件的起始比特数据;
提取子模块,用于连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据
为止。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实施方式中,还包括:
转换模块,用于将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;
所述命令处理模块,具体用于:根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
结合第二方面的第二种可能的实施方式,在第二方面的第三种可能的实施方式中,所述命令处理模块,包括:
解析子模块,用于根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令;
封装子模块,用于将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
结合第二方面、第二方面的第一种、第二种或第三种可能的实施方式,在第二方面的第四种可能的实施方式中,所述第一接收模块,还用于:
接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码;
所述数据分析系统还包括:
命令选择模块,用于根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令;
数据显示模块,用于对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
结合第二方面、第二方面的第一种、第二种或第三种可能的实施方式,在第二方面的第五种可能的实施方式中,所述第二接收模块,具体用于:
接收数据采集器实时采集并发送的所述传输数据;
或者,
接收所述数据采集器发送的包含所述传输数据的存储文件;
所述数据分析系统还包括:
文件解析模块,用于解析所述存储文件,获得所述传输数据。
本发明第三方面提供一种数据分析设备,包括:
接收器,用于接收用户针对待分析芯片配置的数据采集条件和命令解析格式,以及接收所述待分析芯片的传输数据;
处理器,用于根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据;
所述处理器,还用于根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
结合第三方面,在第三方面的第一种可能的实施方式中,所述数据采集条件包括数据采集起始条件和数据采集结束条件;
所述处理器还用于:
确定所述传输数据中满足所述数据采集起始条件的起始比特数据;
连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
结合第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,所述处理器还用于:
将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;
根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
结合第三方面的第二种可能的实施方式,在第三方面的第三种可能的实施方式中,所述处理器还用于:
根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令;
将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
结合第三方面、第三方面的第一种、第二种或第三种可能的实施方式,在第三方面的第四种可能的实施方式中,所述接收器还用于:接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码;
所述处理器还用于:根据所述待显示输出命令所对应的命令码,从所述
各输出命令中选出所述待显示输出命令;对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
结合第三方面、第三方面的第一种、第二种或第三种可能的实施方式,在第三方面的第五种可能的实施方式中,所述接收器具体用于:
接收数据采集器实时采集并发送的所述传输数据;
或者,
接收所述数据采集器发送的包含所述传输数据的存储文件;
所述处理器还用于;解析所述存储文件,获得所述传输数据。
本发明提供的数据分析方法、系统和设备,在接收到针对待分析芯片的传输数据后,根据接收到的用户针对该待分析芯片所配置的数据采集条件,对传输数据进行自动采集,以准确获取满足数据采集条件的传输数据;进而,在根据用户针对该待分析芯片所配置的命令解析格式,对获取到的满足数据采集条件的传输数据进行自动地命令解析处理,获得反映该待分析芯片的执行情况的各输出命令。通过采用用户针对待分析芯片所配置的数据采集条件和命令解析格式,实现了待分析芯片的传输数据的自动采集、自动命令解析等分析处理,提高了传输数据分析处理效率。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的数据分析方法实施例一的流程图;
图2为本发明实施例提供的数据分析方法实施例二的流程图;
图3为图2所示实施例二中的一种数据采集过程的示意图;
图4为本发明实施例提供的数据分析方法实施例三的流程图;
图5为本发明实施例提供的数据分析系统实施例一的结构示意图;
图6为本发明实施例提供的数据分析系统实施例二的结构示意图;
图7为本发明实施例提供的数据分析系统实施例三的结构示意图;
图8为本发明实施例提供的数据分析设备实施例一的结构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例提供的数据分析方法实施例一的流程图,如图1所示,该方案的执行主体为数据分析设备,该数据分析方法包括如下步骤:
步骤101、接收用户针对待分析芯片配置的数据采集条件和命令解析格式。
步骤102、接收待分析芯片的传输数据。
上述步骤101和步骤102没有严格的时序限定关系。
步骤103、根据数据采集条件对传输数据进行采集,获取满足数据采集条件的传输数据。
步骤104、根据命令解析格式,对满足数据采集条件的传输数据进行命令解析处理,获得各输出命令。
本实施例中,待分析芯片是某设备中的任一种提供某种功能的芯片,或者,更广泛来说,该待分析芯片还可以是某一系统中的一个设备、装置。
针对一个设备中包括的多个芯片来说,每个芯片由于其所采用的数据传输方法不同、命令解析格式不同,因此,本实施例中,针对一个芯片即针对待分析芯片来说,用于预先可以配置相应的数据采集条件和命令解析格式,用于后续针对该待分析芯片的传输数据的自动分析处理。
具体地,用户针对待分析芯片配置数据采集条件和命令解析格式,主要是指针对待分析芯片所采用的通信协议或者说数据传输协议。从而,针对某设备中包含的多个芯片来说,可能有部分芯片所采用的通信协议一致,此时,用户可以仅针对该通信协议配置一次,在需要针对采用该通信协议的某个芯片进行数据分析时,能使该通信协议对应的配置信息即数据采集条件、命令解析格式即可。
因此,当用户需要对某待分析芯片进行数据分析处理时,根据该待分析
芯片的通信协议,用户向数据分析设备发送携带有对应数据采集条件和命令解析格式的指示信息,以使得数据分析设备根据该指示信息对待分析芯片的传输数据进行分析处理。
本实施例中,数据分析设备所接收的传输数据,可以是从数据采集器中接收到的,该数据采集器可以与数据分析设备集成在一起,也可以独立设置。数据采集器连接在待分析芯片和与待分析芯片进行数据交互的另一芯片之间,用于采集待分析芯片与该另一芯片间的传输数据。
其中,该传输数据是通过对待分析芯片输入一定的命令,待分析芯片基于输入命令启动相应的处理后输出的。
数据分析设备接收到该传输数据之后,首先根据数据采集条件对传输数据进行采集,获取满足数据采集条件的传输数据,即根据数据采集条件从接收到的传输数据中进行数据提取,提取出满足数据采集条件的传输数据。进而,根据命令解析格式对提取出的传输数据进行封装,得到各输出命令。
其中,每个命令,可以理解为提供了某个具体的功能,比如对相机进行调焦处理的命令、调整光圈大小的命令等等。
由于提取出的传输数据中包含了构成多个命令的数据,且本实施例中的命令解析格式是针对待分析芯片来说的,即包含了该待分析芯片对应的各种可能的具体命令的封装格式。因此,按照每个具体命令的封装格式,可以得到各输出命令,该各输出命令反映了待分析芯片对输入命令的运行或执行情况。
本实施例中,在接收到针对待分析芯片的传输数据后,根据接收到的用户针对该待分析芯片所配置的数据采集条件,对传输数据进行自动采集,以准确获取满足数据采集条件的传输数据;进而,在根据用户针对该待分析芯片所配置的命令解析格式,对获取到的满足数据采集条件的传输数据进行自动地命令解析处理,获得反映该待分析芯片的执行情况的各输出命令。通过采用用户针对待分析芯片所配置的数据采集条件和命令解析格式,实现了待分析芯片的传输数据的自动采集、自动命令解析等分析处理,提高了传输数据分析处理效率。
图2为本发明实施例提供的数据分析方法实施例二的流程图,如图2所示,该方法具体包括如下步骤:
步骤201、接收用户针对待分析芯片配置的数据采集条件和命令解析格式,数据采集条件包括数据采集起始条件和数据采集结束条件。
本实施例中,数据采集条件具体包括起始条件和结束条件。
其中,用户对上述数据采集条件和命令解析格式的配置可以是在操作界面上进行的,在操作界面上针对各个芯片进行相应的配置。在使用时,当需要对待分析芯片进行数据分析时,用户可以通过选择对应的数据采集条件和命令解析格式的方式,向数据分析设备发送指令,以告知数据分析设备采用哪个数据采集条件和命令解析格式。
步骤202、接收待分析芯片的传输数据。
具体来说,数据分析设备可以接收数据采集器实时采集并发送的待分析芯片的传输数据;或者,也可以接收数据采集器发送的包含传输数据的存储文件,解析所述存储文件,获得传输数据。也就是说,数据采集器可以将采集的传输数据实时发送给数据分析设备,也可以将其保存为文件形式,将文件发送至数据分析设备,使得数据分析设备解析文件获得其中的传输数据。
步骤203、确定传输数据中满足数据采集起始条件的起始比特数据。
步骤204、连续提取自起始比特数据开始的比特数据流,直到提取到传输数据中满足数据采集结束条件的结束比特数据为止。
本实施例中,由于数据采集条件包括起始条件和结束条件,因此,针对接收到的传输数据,首先确定满足起始条件的起始比特数据,之后连续提取自起始比特数据开始的比特数据流,直到提取到传输数据中满足数据采集结束条件的结束比特数据为止。从而,获得了满足数据采集条件的比特数据流。
结合图3所示的示意图,对数据采集过程进行简单说明。假设待分析芯片的输出信号包括LSCLK、LSB2L、LSL2B和LSDIO,其中,以数据采集的起始条件为例,假设在LSB2L、LSL2B同时为高电平时,在时钟信号LSCLK的上升沿或下降沿对数据信号LSDIO进行采集,以获得起始比特数据。进而根据数据采集条件进行后续比特数据的采集,直到采集到满足数据采集结束
条件的结束比特数据为止。
步骤205、将起始比特数据与结束比特数据之间的比特数据流转换为字节数据流。
将采集到的比特数据流按照字节为单位,进行逐字节的转换,获得字节数据流。进而,根据命令解析格式,对字节数据流进行进行命令解析处理,获得各输出命令。
步骤206、根据命令解析格式中包含的各命令码,解析字节数据流中包含的各命令。
步骤207、将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
在对字节数据流进行命令解析的过程中,首先要解析出字节数据流中包含的各命令,即解析出其中包含的命令码字节。由于每个命令是由多个不同的参数字段组成的,比如包括命令码、校验字、数据长度、数据等不同的参数字段。而命令码可以唯一标识一个命令,因此,可以根据待分析芯片对应的命令解析格式中的各个命令码,遍历获得的字节数据流,以确定字节数据流中包含的各命令码,相当于确定了各个命令的起止标识,在两个不同的命令码之间的字节数据属于这两个命令码中前一个命令码的参数组成部分。从而,基于解析到的各命令码字节,可以对每个命令码字节之后,下一个命令码字节之前的字节数据封装为一个命令,从而得到待分析芯片的各输出命令。
本实施例中,通过采用用户针对待分析芯片所配置的数据采集条件和命令解析格式,实现了待分析芯片的传输数据的自动采集、自动命令解析等分析处理,提高了传输数据分析处理效率。
图4为本发明实施例提供的数据分析方法实施例三的流程图,如图4所示,在前述各实施例的基础上,在获得各输出命令之后,还可以包括如下步骤:
步骤301、接收用户输入的显示指令,显示指令中包括待显示输出命令所对应的命令码。
步骤302、根据待显示输出命令所对应的命令码,从各输出命令中选出待显示输出命令。
步骤303、对待显示输出命令中包含的输出数据按预设显示方式进行显示。
本实施例中,在得到待分析芯片的各输出命令之后,还可以针对用户感兴趣的命令,进行数据显示处理。
具体来说,由于各输出命令可能分别对应了不同的具体功能,比如包括加速度数据、光圈大小值等,假设用户当前想要显示加速度数据,则用户可以向数据分析设备发送携带有与加速度采集的命令相对应的命令码,从而,数据分析设备从各输出命令中选择出对应的命令,进而对该选择出的命令中包含的加速度数据按预设显示方式进行显示。其中,该预设显示方式比如包括曲线、柱状图等显示方式。
本实施例中,在得到反映待分析芯片的命令执行情况的各输出命令后,可以根据用户的显示要求,对需要显示的命令中的数据进行图形显示,能够使得用户更加直观地看到芯片的运行结果情况,方便用户对待分析芯片进行后续维护、调整等处理。
图5为本发明实施例提供的数据分析系统实施例一的结构示意图,如图5所示,该数据分析系统包括:第一接收模块11、第二接收模块12、数据获取模块13、命令处理模块14。
第一接收模块11,用于接收用户针对待分析芯片配置的数据采集条件和命令解析格式。
第二接收模块12,用于接收所述待分析芯片的传输数据。
数据获取模块13,用于根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据。
命令处理模块14,用于根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
本实施例提供的数据分析系统可以用于执行图1所示实施例中的技术方案,其实现原理和技术效果类似,在此不再赘述。
图6为本发明实施例提供的数据分析系统实施例二的结构示意图,如图6所示,在图5所示实施例的基础上,所述第二接收模块12,具体用于:
接收数据采集器实时采集并发送的所述传输数据;
或者,
接收所述数据采集器发送的包含所述传输数据的存储文件。
所述数据分析系统还包括:
文件解析模块21,用于解析所述存储文件,获得所述传输数据。
具体的,所述数据采集条件包括数据采集起始条件和数据采集结束条件。
所述数据获取模块13,包括:确定子模块131、提取子模块132。
确定子模块131,用于确定所述传输数据中满足所述数据采集起始条件的起始比特数据。
提取子模块132,用于连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
进一步的,该数据分析系统还包括:转换模块22。
转换模块22,用于将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流。
所述命令处理模块14,具体用于:根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
具体的,所述命令处理模块14,包括:解析子模块141、封装子模块142。
解析子模块141,用于根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令。
封装子模块142,用于将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
本实施例提供的数据分析系统可以用于执行图2所示实施例中的技术方案,其实现原理和技术效果类似,不再赘述。
图7为本发明实施例提供的数据分析系统实施例三的结构示意图,如图7所示,在图5或图6所示实施例的基础上,所述第一接收模块11,还用于:接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码。
所述数据分析系统还包括:命令选择模块31、数据显示模块32。
命令选择模块31,用于根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令。
数据显示模块32,用于对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
本实施例提供的数据分析系统可以用于执行图4所示实施例中的技术方案,其实现原理和技术效果类似,不再赘述。
图8为本发明实施例提供的数据分析设备实施例一的结构示意图,如图8所示,该数据分析设备包括:接收器41、处理器42。
接收器41,用于接收用户针对待分析芯片配置的数据采集条件和命令解析格式,以及接收所述待分析芯片的传输数据。
处理器42,用于根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据。
所述处理器42,还用于根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
其中,所述数据采集条件包括数据采集起始条件和数据采集结束条件;
所述处理器42还用于:
确定所述传输数据中满足所述数据采集起始条件的起始比特数据;
连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
进一步的,所述处理器42还用于:
将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;
根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
进一步的,所述处理器42还用于:
根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令;
将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命
令。
进一步的,所述接收器41还用于:接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码。
所述处理器42还用于:根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令;对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
具体的,所述接收器41具体用于:
接收数据采集器实时采集并发送的所述传输数据;
或者,
接收所述数据采集器发送的包含所述传输数据的存储文件。
所述处理器43还用于;解析所述存储文件,获得所述传输数据。
本实施例提供的数据分析设备可以用于执行图1、图2、图4中的技术方案,其实现原理和技术效果类似,在此不再赘述。
在上述数据分析设备的各实施例中,应理解,该处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:只读存储器(英文:read-only memory,缩写:ROM)、RAM、快闪存储器、硬盘、固态硬盘、磁带(英文:magnetic tape)、软盘(英文:floppy disk)、光盘(英文:optical disc)及其任意组合。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims (18)
- 一种数据分析方法,其特征在于,包括:接收用户针对待分析芯片配置的数据采集条件和命令解析格式;接收所述待分析芯片的传输数据;根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据;根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
- 根据权利要求1所述的方法,其特征在于,所述数据采集条件包括数据采集起始条件和数据采集结束条件;所述根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据,包括:确定所述传输数据中满足所述数据采集起始条件的起始比特数据;连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
- 根据权利要求2所述的方法,其特征在于,所述根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令之前,所述方法还包括:将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;所述根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令,包括:根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
- 根据权利要求3所述的方法,其特征在于,所述根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令,包括:根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含 的各命令;将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令之后,所述方法还包括:接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码;根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令;对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述接收所述待分析芯片的传输数据,包括:接收数据采集器实时采集并发送的所述传输数据;或者,接收所述数据采集器发送的包含所述传输数据的存储文件;解析所述存储文件,获得所述传输数据。
- 一种数据分析系统,其特征在于,包括:第一接收模块,用于接收用户针对待分析芯片配置的数据采集条件和命令解析格式;第二接收模块,用于接收所述待分析芯片的传输数据;数据获取模块,用于根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据;命令处理模块,用于根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
- 根据权利要求7所述的数据分析系统,其特征在于,所述数据采集条 件包括数据采集起始条件和数据采集结束条件;所述数据获取模块,包括:确定子模块,用于确定所述传输数据中满足所述数据采集起始条件的起始比特数据;提取子模块,用于连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
- 根据权利要求8所述的数据分析系统,其特征在于,还包括:转换模块,用于将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;所述命令处理模块,具体用于:根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
- 根据权利要求9所述的数据分析系统,其特征在于,所述命令处理模块,包括:解析子模块,用于根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令;封装子模块,用于将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
- 根据权利要求7至10中任一项所述的数据分析系统,其特征在于,所述第一接收模块,还用于:接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码;所述数据分析系统还包括:命令选择模块,用于根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令;数据显示模块,用于对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
- 根据权利要求7至10中任一项所述的数据分析系统,其特征在于,所述第二接收模块,具体用于:接收数据采集器实时采集并发送的所述传输数据;或者,接收所述数据采集器发送的包含所述传输数据的存储文件;所述数据分析设备还包括:文件解析模块,用于解析所述存储文件,获得所述传输数据。
- 一种数据分析设备,其特征在于,包括:接收器,用于接收用户针对待分析芯片配置的数据采集条件和命令解析格式,以及接收所述待分析芯片的传输数据;处理器,用于根据所述数据采集条件对所述传输数据进行采集,获取满足所述数据采集条件的传输数据;所述处理器,还用于根据所述命令解析格式,对所述满足所述数据采集条件的传输数据进行命令解析处理,获得各输出命令。
- 根据权利要求13所述的数据分析设备,其特征在于,所述数据采集条件包括数据采集起始条件和数据采集结束条件;所述处理器还用于:确定所述传输数据中满足所述数据采集起始条件的起始比特数据;连续提取自所述起始比特数据开始的比特数据流,直到提取到所述传输数据中满足所述数据采集结束条件的结束比特数据为止。
- 根据权利要求14所述的数据分析设备,其特征在于,所述处理器还用于:将所述起始比特数据与所述结束比特数据之间的比特数据流转换为字节数据流;根据所述命令解析格式,对所述字节数据流进行进行命令解析处理,获得各输出命令。
- 根据权利要求15所述的数据分析设备,其特征在于,所述处理器还用于:根据所述命令解析格式中包含的各命令码,解析所述字节数据流中包含的各命令;将解析获得的各命令对应的字节数据封装为对应的命令,获得各输出命令。
- 根据权利要求13至16中任一项所述的数据分析设备,其特征在于,所述接收器还用于:接收用户输入的显示指令,所述显示指令中包括待显示输出命令所对应的命令码;所述处理器还用于:根据所述待显示输出命令所对应的命令码,从所述各输出命令中选出所述待显示输出命令;对所述待显示输出命令中包含的输出数据按预设显示方式进行显示。
- 根据权利要求13至16中任一项所述的数据分析设备,其特征在于,所述接收器具体用于:接收数据采集器实时采集并发送的所述传输数据;或者,接收所述数据采集器发送的包含所述传输数据的存储文件;所述处理器还用于;解析所述存储文件,获得所述传输数据。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201580050609.2A CN106716381B (zh) | 2015-12-31 | 2015-12-31 | 数据分析方法、系统和设备 |
| PCT/CN2015/100264 WO2017113360A1 (zh) | 2015-12-31 | 2015-12-31 | 数据分析方法、系统和设备 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/100264 WO2017113360A1 (zh) | 2015-12-31 | 2015-12-31 | 数据分析方法、系统和设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017113360A1 true WO2017113360A1 (zh) | 2017-07-06 |
Family
ID=58933711
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/100264 Ceased WO2017113360A1 (zh) | 2015-12-31 | 2015-12-31 | 数据分析方法、系统和设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106716381B (zh) |
| WO (1) | WO2017113360A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111722855B (zh) * | 2020-06-23 | 2024-09-06 | 湖南国科微电子股份有限公司 | 一种基于eMMC的固件烧录系统、方法与集成芯片 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008143646A2 (en) * | 2006-11-29 | 2008-11-27 | Canon U.S. Life Sciences, Inc. | Device and method for digital multiplex pcr assays |
| CN101846726A (zh) * | 2010-04-27 | 2010-09-29 | 广州市广晟微电子有限公司 | 数字接口射频芯片测试方法、装置和系统 |
| CN103033705A (zh) * | 2012-12-12 | 2013-04-10 | 深圳市凌启电子有限公司 | 一种电子设备测试方法以及系统 |
| CN104572383A (zh) * | 2014-11-28 | 2015-04-29 | 深圳市芯海科技有限公司 | 一种基于ate的mcu/soc芯片的测试方法 |
| CN105093094A (zh) * | 2015-09-16 | 2015-11-25 | 中国人民解放军国防科学技术大学 | 芯片上电可靠性自动检测装置和检测方法 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6934900B1 (en) * | 2001-06-25 | 2005-08-23 | Global Unichip Corporation | Test pattern generator for SRAM and DRAM |
| CN1261857C (zh) * | 2003-07-29 | 2006-06-28 | 英业达股份有限公司 | 数据信号的波形显示方法 |
| CN101620241B (zh) * | 2008-07-01 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | 信号解码系统及其解码方法 |
| CN103049361A (zh) * | 2013-01-11 | 2013-04-17 | 加弘科技咨询(上海)有限公司 | 具有嵌入式逻辑分析功能的fpga及逻辑分析系统 |
| CN103116554B (zh) * | 2013-03-05 | 2015-07-22 | 中国人民解放军国防科学技术大学 | 用于fpga芯片调试的信号采样缓存装置 |
| CN104021055B (zh) * | 2014-06-16 | 2015-06-03 | 珠海安联锐视科技股份有限公司 | 多媒体设备的自动化测试系统及方法 |
-
2015
- 2015-12-31 CN CN201580050609.2A patent/CN106716381B/zh not_active Expired - Fee Related
- 2015-12-31 WO PCT/CN2015/100264 patent/WO2017113360A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008143646A2 (en) * | 2006-11-29 | 2008-11-27 | Canon U.S. Life Sciences, Inc. | Device and method for digital multiplex pcr assays |
| CN101846726A (zh) * | 2010-04-27 | 2010-09-29 | 广州市广晟微电子有限公司 | 数字接口射频芯片测试方法、装置和系统 |
| CN103033705A (zh) * | 2012-12-12 | 2013-04-10 | 深圳市凌启电子有限公司 | 一种电子设备测试方法以及系统 |
| CN104572383A (zh) * | 2014-11-28 | 2015-04-29 | 深圳市芯海科技有限公司 | 一种基于ate的mcu/soc芯片的测试方法 |
| CN105093094A (zh) * | 2015-09-16 | 2015-11-25 | 中国人民解放军国防科学技术大学 | 芯片上电可靠性自动检测装置和检测方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106716381B (zh) | 2018-11-20 |
| CN106716381A (zh) | 2017-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112804121B (zh) | 一种tte网络传输时延测试系统、方法 | |
| CN102831894B (zh) | 指令处理方法、装置和系统 | |
| CN109918306B (zh) | 音频处理设备、系统、方法、装置及存储介质 | |
| CN110489324A (zh) | 测试页面跳转的方法、装置、存储介质、电子装置 | |
| CN104102124A (zh) | 一种基于fpga的irig-b码解码器及其解码方法 | |
| CN103002318B (zh) | 一种数字电视接收终端的自动测试方法及自动测试系统 | |
| CN111092767A (zh) | 用于调试设备的方法及装置 | |
| CN104093038A (zh) | 用于实时流媒体识别服务的测试和监控方法及装置 | |
| WO2017193795A1 (zh) | 一种移动终端的数据传输方法和装置 | |
| CN104915277A (zh) | 一种基于LabVIEW主动接收型的通信调试系统及其通信调试方法 | |
| CN103257606B (zh) | 一种usb接口高速实时采样逻辑分析仪 | |
| CN110910629A (zh) | 基于单片机的红外遥控信号解码方法、系统及计量装置 | |
| WO2017113360A1 (zh) | 数据分析方法、系统和设备 | |
| CN102148825B (zh) | 一种动态协议的配置与解析方法及装置 | |
| CN114374745B (zh) | 一种协议格式的处理方法及系统 | |
| CN107872352B (zh) | 一种网管系统的性能测试方法、装置及系统 | |
| CN113419932A (zh) | 一种设备性能分析方法和装置 | |
| CN108021394B (zh) | Pcm信号采集方法及装置 | |
| CN103269289B (zh) | 航管雷达信息测试方法和设备 | |
| CN110543439B (zh) | 一种信号处理系统 | |
| CN113645052B (zh) | 一种固件调试方法及相关设备 | |
| TWI685243B (zh) | 邏輯分析儀之匯流排封包格式顯示方法 | |
| CN110297794A (zh) | 数据通信系统及方法 | |
| CN103533562B (zh) | 无线传感器网络节点协议一致性测试装置及方法 | |
| CN113961137A (zh) | 数据采集方法、装置及电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15911985 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15911985 Country of ref document: EP Kind code of ref document: A1 |