CN105653207B - A kind of real time parsing method and system of flash interface information - Google Patents
A kind of real time parsing method and system of flash interface information Download PDFInfo
- Publication number
- CN105653207B CN105653207B CN201511026644.9A CN201511026644A CN105653207B CN 105653207 B CN105653207 B CN 105653207B CN 201511026644 A CN201511026644 A CN 201511026644A CN 105653207 B CN105653207 B CN 105653207B
- Authority
- CN
- China
- Prior art keywords
- flash interface
- interface information
- real time
- data
- acquisition
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Abstract
The present invention relates to a kind of real time parsing method and system of flash interface information, setting information acquisition condition and trigger point obtain flash interface information, filter the flash interface information according to acquisition condition and trigger point, acquire required flash interface information;According to the communications protocol of flash interface, the flash interface information of acquisition is subjected to identification parsing in real time, identification parses the concrete meaning that every data indicate, including controlling one of the type of signal and the meaning of expression, the length of data or a variety of.The real time parsing method and system of flash interface information of the invention may be implemented to handle in real time.Processing appropriate is carried out to data in data collection terminal furthermore it is also possible to realize, so as to greatly improve the efficiency of data parsing, and can flexibly be configured according to the demand of user.
Description
Technical field
The present invention relates to a kind of information analysis method and system more particularly to a kind of real time parsing sides of flash interface information
Method and system.
Background technique
The data specifically for flash interface communication do the analyzer equipment of protocol analysis currently not yet.Most like side
Case is that the data of flash interface are acquired with general logic analyser, PC is sent the data to, by the software module logarithm at the end PC
It is presented to the user later according to parsing.The logic analyser manufacturer that such software module can be provided is considerably less, in most cases
It is all oneself data to be parsed by hand after user acquires data with logic analyser.The prior art cannot handle sudden strain of a muscle in real time
The data of interface are deposited, limited memory, the data duration limited length that can once handle are acquired.It cannot be in collection terminal to sudden strain of a muscle
The data for depositing interface such as are filtered at the processing, and data analyzing efficiency is low.Cannot collection terminal according to the demand of user to data into
Other processing of row, such as setting trigger point, it is inflexible.The highest frequency of the data of acquisition is limited to the clock inside collection terminal
Frequency, frequency is higher, and cost of implementation is higher.
Summary of the invention
Technical problem solved by the present invention is constructing a kind of real time parsing method and system of flash interface information, overcome
The prior art processing such as cannot be filtered in data of the collection terminal to flash interface, and data analyzing efficiency is low;It cannot acquire
End carries out other processing to data according to the demand of user;It cannot handle the data of flash interface in real time, acquire limited memory, one
The technical issues of secondary data duration limited length that can be handled.
The technical scheme is that constructing a kind of real time parsing method of flash interface information, include the following steps:
Flash interface information: setting information acquisition condition and trigger point is acquired, flash interface information is obtained, according to pick-up slip
The flash interface information is filtered in part and trigger point, acquires required flash interface information;
Real time parsing data: according to the communications protocol of flash interface, the flash interface information of acquisition is identified in real time
Parsing, identification parse the concrete meaning that every data indicate, including controlling the type of signal and meaning, the length of data of expression
One of degree is a variety of.
A further technical solution of the present invention is: acquisition flash interface information when, using the clock signal of flash interface as
Acquire clock.
A further technical solution of the present invention is: the information collection condition includes information type, one in message length
Kind is several.
A further technical solution of the present invention is: further including the flash interface information output that will be parsed.
A further technical solution of the present invention is: identification parses every data and indicates in real time parsing data step
Concrete meaning, the chip selection signal of the address of order, expression, the working condition of expression, expression including expression, indicate write guarantor
Protect signal, specific data.
The technical scheme is that construct a kind of real time parsing system of flash interface information, including setup module, adopt
Collect module, parsing module, the setup module setting information acquisition condition and trigger point, the acquisition module obtains flash interface
Information, the letter of flash interface needed for the acquisition module filters the flash interface information collection according to acquisition condition and trigger point
Breath;According to the communications protocol of flash interface, the flash interface information of acquisition is carried out identification parsing in real time by the parsing module, is known
The concrete meaning that every data indicate is not parsed, including controlling in the type of signal and the meaning of expression, the length of data
It is one or more.
A further technical solution of the present invention is: the acquisition module is using the clock signal of flash interface as when acquisition
Clock.
A further technical solution of the present invention is: the information collection condition includes information type, one in message length
Kind is several.
A further technical solution of the present invention is: further include output module, the output module is by the flash interface of parsing
Information output.
A further technical solution of the present invention is: the parsing module identification parses specifically containing for every data expression
Justice, the chip selection signal of the address of order, expression, the working condition of expression, expression including expression, expression write-protect signal,
Specific data.
The solution have the advantages that: construct a kind of real time parsing method and system of flash interface information, setting information
Acquisition condition and trigger point obtain flash interface information, filter the flash interface information according to acquisition condition and trigger point, adopt
Flash interface information needed for collection;According to the communications protocol of flash interface, the flash interface information of acquisition is identified in real time
Parsing, identification parse the concrete meaning that every data indicate, including controlling the type of signal and meaning, the length of data of expression
One of degree is a variety of.The real time parsing method and system of flash interface information of the invention may be implemented to handle in real time.Separately
Outside, it can also realize and processing appropriate is carried out to data in data collection terminal, so as to greatly improve the efficiency of data parsing,
And it can flexibly be configured according to the demand of user.
Detailed description of the invention
Fig. 1 is the structural diagram of the present invention.
Specific embodiment
Combined with specific embodiments below, further explanation of the technical solution of the present invention.
As shown in Figure 1, a specific embodiment of the invention is: a kind of real time parsing method of flash interface information is constructed,
Include the following steps:
Flash interface information: setting information acquisition condition and trigger point is acquired, flash interface information is obtained, according to pick-up slip
The flash interface information is filtered in part and trigger point, acquires required flash interface information.
Specific implementation process is as follows: acquisition module is intercepted from flash interface obtains flash interface information, and setting information is adopted
Collection condition and trigger point, the acquisition condition of setting include but is not limited to Types Below: the first: as long as control information, second:
It needs to control information and same data message, the third: as long as same data message.Wherein, second of type includes: needs again
Control information and former data informations need to control information and rear several data informations;Need to control information and centre several
Data information.Setting trigger point includes following manner: being such as arranged, starts to acquire when there is 01 signal.Pass through acquisition condition
Setting, be filtered to the flash interface information of acquisition, the information needed, it is only necessary to which the storage of very little can obtain
To the information of needs, to meet the specific demand of user, flexibility is good.In specific embodiment, when acquiring flash interface information,
Using the clock signal of flash interface as acquisition clock.Use the clock signal of flash interface as acquisition clock, without using height
Frequency sampling clock, as the clock frequency of flash interface constantly improves, cost advantage of the invention will be more and more obvious.Specifically
In embodiment, the information collection condition includes one or more of information type, message length.
It parses data: according to the communications protocol of flash interface, the flash interface information of acquisition being subjected to identification parsing in real time,
Identification parses the concrete meaning that every data indicate, including controlling in the type of signal and the meaning of expression, the length of data
It is one or more.
Specific implementation process is as follows: according to the communications protocol of flash interface., the flash interface information of acquisition is identified
Parsing,.In specific embodiment, identification parses the concrete meaning that every data indicate, the ground of order, expression including expression
Location, the working condition of expression, the chip selection signal of expression, the write-protect signal of expression, specific data.For example, identification parses
The working condition of address, data-signal expression that specific instructions code, the data-signal of data-signal expression indicate, for example, indicating
The busy/ready of flash memory current working status controls signal, there is chip selection signal when multi-bank flash-memory.There are also data-signal expressions
Write-protect signal and specific data.Effective data can flexibly be extracted according to the demand of user in this way, such as ordered
It enables, address, specific data, specific control signal etc..
The preferred embodiment of the present invention is: further including the flash interface information display output that will be parsed or literary with information
Shelves form output.Flash interface information after parsing is shown to user and checks, either patterned display, is also possible to text
Word is shown, can also be that figure, text are display together.The communication data of flash interface is shown with patterned waveform,
It is that comparison is intuitive for users, conveniently checks and debugging problem.Because being real time parsing, display module needs lasting refresh
Display.
As shown in Figure 1, a specific embodiment of the invention is: the technical scheme is that constructing a kind of flash interface
The real time parsing system of information, including setup module 3, acquisition module 1, parsing module 2,3 setting information of setup module are adopted
Collection condition and trigger point, the acquisition module 1 obtain flash interface information, and the acquisition module 1 is according to acquisition condition and triggering
Flash interface information needed for point filters the flash interface information collection;According to the communications protocol of flash interface, the parsing
The flash interface information of acquisition is carried out identification parsing by module 2, and identification parses the concrete meaning that every data indicate, including control
One of the type of signal and the meaning of expression, the length of data are a variety of.
Specific implementation process is as follows: the 3 setting information acquisition condition of setup module and trigger point, the acquisition module 1
Acquisition module is intercepted from flash interface obtains flash interface information.The 3 setting information acquisition condition of setup module and triggering
Point, the acquisition condition that the setup module 3 is arranged include but is not limited to Types Below: the first: as long as control information, second
Kind: it needs to control information and same data message, the third: as long as same data message.Wherein, second of type includes: again
It needs to control information and former data informations, need to control information and rear several data informations;It needs to control information and centre
Several data informations.Setting trigger point includes following manner: being such as arranged, starts to acquire when there is 01 signal.Pass through acquisition
The setting of condition is filtered, the information needed, it is only necessary to the storage of very little to the flash interface information of acquisition
With the information needed, to meet the specific demand of user, flexibility is good.The acquisition module 1 according to acquisition condition and
Flash interface information needed for the flash interface information collection is filtered in trigger point.In specific embodiment, acquisition flash interface letter
When breath, using the clock signal of flash interface as acquisition clock.Use the clock signal of flash interface as acquisition clock, does not make
With high frequency sampling clock, as the clock frequency of flash interface constantly improves, cost advantage of the invention will be more and more obvious.
In specific embodiment, the information collection condition includes one of information type, message length, the starting position of data acquisition
Or it is several.According to the communications protocol of flash interface, 2 pairs of parsing module acquisition solved according to the communication protocol of flash interface
Analysis,.Identification parses the concrete meaning that every data indicate, including controlling the type of signal and meaning, the length of data of expression
One of or it is a variety of.Effective data can flexibly be extracted according to the demand of user in this way, such as ordered, address is specific
Data, specific control signal etc..
The preferred embodiment of the present invention is: the acquisition module 1 and the parsing module 2 are arranged in a terminal device
On, flash interface information is directly acquired by the interface that terminal is arranged, then flash interface information real-time perfoming is acquired and known
It does not parse.The acquisition module 1 and the parsing module 2 are provided separately, then carry out information transmission by communication interface, are realized real
When acquire and identification parsing.
The preferred embodiment of the present invention is: further including output module 4, the output module 4 is by the flash interface of parsing
Information output.Flash interface information after parsing is shown to user and checks, either patterned display, is also possible to text
It has been shown that, can also be that figure, text are display together.The communication data of flash interface is shown with patterned waveform, it is right
It is that comparison is intuitive for user, conveniently checks and debugging problem.Because being real time parsing, display module needs lasting refresh to show
Show.
The solution have the advantages that: construct a kind of real time parsing method and system of flash interface information, setting information
Acquisition condition and trigger point obtain flash interface information, filter the flash interface information according to acquisition condition and trigger point, adopt
Flash interface information needed for collection;According to the communications protocol of flash interface, the flash interface information of acquisition is subjected to identification parsing,
Identification parses the concrete meaning that every data indicate, including controlling in the type of signal and the meaning of expression, the length of data
It is one or more.The real time parsing method and system of flash interface information of the invention may be implemented to handle in real time.In addition, may be used also
Processing appropriate is carried out to data in data collection terminal to realize, so as to greatly improve the efficiency of data parsing, Er Qieneng
It is flexibly configured according to the demand of user.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (10)
1. a kind of real time parsing method of flash interface information, includes the following steps:
Acquire flash interface information: setting information acquisition condition and trigger point, obtain flash interface information, according to acquisition condition and
The flash interface information is filtered in trigger point, acquires required flash interface information;The acquisition condition of setting includes but is not limited to
With Types Below: the first: as long as control signal, second: need to control signal and partial data signal, the third: mian part
Divided data signal;
Real time parsing data: according to the communications protocol of flash interface, carrying out identification parsing in real time for the flash interface information of acquisition,
Identification parses the concrete meaning that every data indicate, including controlling in the type of signal and the meaning of expression, the length of data
It is one or more.
2. the real time parsing method of flash interface information according to claim 1, which is characterized in that acquisition flash interface information
When, using the clock signal of flash interface as acquisition clock.
3. the real time parsing method of flash interface information according to claim 1, which is characterized in that the information collection condition
Including one or more of information type, message length.
4. the real time parsing method of flash interface information according to claim 1, which is characterized in that further include the sudden strain of a muscle that will be parsed
Deposit interface message output.
5. the real time parsing method of flash interface information according to claim 1, which is characterized in that walked in real time parsing data
In rapid, identification parses the concrete meaning that every data indicate, the address of order, expression including expression, expression work shape
State, the chip selection signal of expression, the write-protect signal of expression, specific data.
6. a kind of real time parsing system of flash interface information, which is characterized in that including setup module, acquisition module, parsing mould
Block, the setup module setting information acquisition condition and trigger point, the acquisition module obtain flash interface information, the acquisition
Flash interface information needed for module filters the flash interface information collection according to acquisition condition and trigger point;The acquisition of setting
Condition includes but is not limited to Types Below: the first: as long as control signal, second: needing to control signal and partial data letter
Number, the third: is as long as partial data signal;According to the communications protocol of flash interface, the parsing module connects the flash memory of acquisition
Message breath carries out identification parsing in real time, and identification parses the concrete meaning that every data indicate, including control signal type and
One of the meaning of expression, length of data are a variety of.
7. the real time parsing system of flash interface information according to claim 6, which is characterized in that the acquisition module is to dodge
The clock signal of interface is deposited as acquisition clock.
8. the real time parsing system of flash interface information according to claim 6, which is characterized in that the information collection condition
Including one or more of information type, message length.
9. the real time parsing system of flash interface information according to claim 6, which is characterized in that it further include output module,
The output module exports the flash interface information of parsing.
10. the real time parsing system of flash interface information according to claim 6, which is characterized in that the parsing module is known
The concrete meaning that every data indicate, the address of order, expression including expression, the working condition of expression, expression are not parsed
Chip selection signal, the write-protect signal of expression, specific data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511026644.9A CN105653207B (en) | 2015-12-31 | 2015-12-31 | A kind of real time parsing method and system of flash interface information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511026644.9A CN105653207B (en) | 2015-12-31 | 2015-12-31 | A kind of real time parsing method and system of flash interface information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653207A CN105653207A (en) | 2016-06-08 |
CN105653207B true CN105653207B (en) | 2019-03-01 |
Family
ID=56490376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511026644.9A Active CN105653207B (en) | 2015-12-31 | 2015-12-31 | A kind of real time parsing method and system of flash interface information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105653207B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112257360B (en) * | 2020-10-21 | 2024-04-16 | 海光信息技术股份有限公司 | Debugging method, device, debugging system and storage medium for data waveform |
CN112257359B (en) * | 2020-10-21 | 2024-04-16 | 海光信息技术股份有限公司 | Debugging method, device, debugging system and storage medium for data waveform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103346905A (en) * | 2013-06-14 | 2013-10-09 | 吴建进 | Method and device for analyzing signaling |
CN103781088A (en) * | 2014-01-23 | 2014-05-07 | 重庆邮电大学 | Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4 |
JP2015088071A (en) * | 2013-10-31 | 2015-05-07 | 富士通株式会社 | Information processor, storage device control circuit, and control method for storage device |
CN104820637A (en) * | 2015-04-17 | 2015-08-05 | 中国电子科技集团公司第四十一研究所 | Handheld type USB3.0 protocol analyzer |
-
2015
- 2015-12-31 CN CN201511026644.9A patent/CN105653207B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103346905A (en) * | 2013-06-14 | 2013-10-09 | 吴建进 | Method and device for analyzing signaling |
JP2015088071A (en) * | 2013-10-31 | 2015-05-07 | 富士通株式会社 | Information processor, storage device control circuit, and control method for storage device |
CN103781088A (en) * | 2014-01-23 | 2014-05-07 | 重庆邮电大学 | Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4 |
CN104820637A (en) * | 2015-04-17 | 2015-08-05 | 中国电子科技集团公司第四十一研究所 | Handheld type USB3.0 protocol analyzer |
Also Published As
Publication number | Publication date |
---|---|
CN105653207A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109600258B (en) | Industrial protocol message recording device and method | |
CN105490841B (en) | A kind of terminal log grasping means, apparatus and system | |
CN109451486B (en) | WiFi acquisition system based on detection request frame and WiFi terminal detection method | |
CN103812683A (en) | User behavior data processing method, device and system | |
CN105653207B (en) | A kind of real time parsing method and system of flash interface information | |
CN103179530A (en) | Method and device for intercepting short messages | |
CN110320853A (en) | A kind of plc data capturing analysis method and system | |
CN104333483A (en) | Identification method, system and identification device for internet application flow | |
CN102118361B (en) | Method and device for controlling data transmission based on network protocol | |
CN106803813A (en) | A kind of recognition methods of intelligent home device control command field | |
CN109783330B (en) | Log processing method, log display method, and related device and system | |
EP2741449B1 (en) | Processing of call data records | |
CN106294852A (en) | A kind of method that monitors for a long time to storage data | |
CN109062507A (en) | The processing storage method and device of electrocardiogram (ECG) data | |
CN106201841A (en) | The statistical method of a kind of application program service data and device | |
CN108494635A (en) | A kind of network flow detection system based on cloud computing | |
CN104517082B (en) | Electric power data acquisition apparatus and method | |
CN103957230A (en) | Client user number determination method, server and system, and server | |
CN106775818A (en) | ECU upgrade methods and ECU updating apparatus based on CAN | |
CN211630177U (en) | Equipment data acquisition system | |
CN202770890U (en) | Oscilloscope supporting a plurality of serial communication protocol decoding functions | |
CN109782631B (en) | Intelligent household equipment identification method based on characteristic value comparison | |
CN109347671B (en) | System and method for realizing in-band OAM Metadata editing in chip | |
CN104125440A (en) | Screen monitoring system and screen monitoring method for cloud computing | |
CN105207807A (en) | SIM card flow analysis method applied to power consumption information acquisition system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Room 2501, 2401, block a, building 1, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province Patentee after: Shenzhen deminli Technology Co.,Ltd. Address before: Longhua new city streets Minzhi Avenue and 518000 people in Guangdong province Shenzhen City Road interchange by business center 8 Building 829 Patentee before: SHENZHEN DEMINGLI ELECTRONICS Co.,Ltd. |
|
CP03 | Change of name, title or address |