CN107222363A - One kind storage protocol conformance test method and system - Google Patents
One kind storage protocol conformance test method and system Download PDFInfo
- Publication number
- CN107222363A CN107222363A CN201710385435.6A CN201710385435A CN107222363A CN 107222363 A CN107222363 A CN 107222363A CN 201710385435 A CN201710385435 A CN 201710385435A CN 107222363 A CN107222363 A CN 107222363A
- Authority
- CN
- China
- Prior art keywords
- protocol
- agreement
- definition
- protocol model
- model
- 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.)
- Granted
Links
- 238000010998 test method Methods 0.000 title claims abstract description 12
- 238000012360 testing method Methods 0.000 claims abstract description 72
- 238000000034 method Methods 0.000 claims description 22
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 230000006399 behavior Effects 0.000 description 6
- 230000006978 adaptation Effects 0.000 description 4
- 229910002056 binary alloy Inorganic materials 0.000 description 4
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 235000000332 black box Nutrition 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000005215 recombination Methods 0.000 description 2
- 230000006798 recombination Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000005669 field effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/18—Protocol analysers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
Protocol conformance test method is stored the invention provides one kind, when needing to test the uniformity for storing agreement, it is primarily based on puppy parc pack arrangement layer building protocol model, then protocol model is converted into specific agreement, then the uniformity for storing agreement is tested, protocol model is converted into specific agreement by the present invention by building protocol model, can effectively improve the testing efficiency of storage protocol conformance.
Description
Technical field
The present invention relates to memory system technologies field, protocol conformance test method is stored more specifically to one kind
And system.
Background technology
The agreement of storage has a variety of, such as interface layer protocol SATA (Serial Advanced Technology
Attachment, Serial Advanced Technology Attachment), SCSI (Small Computer System Interface, minicom
System interface), SAS (Statistical Analysis System, network analysis software) etc., management class agreement has SNMP
(Simple Network Management Protocol, Simple Network Management Protocol), SMI-S (Storage
Management Initiative specification, forward position storage management interface standard), RestAPI
(Representational State Transfer Application Programming Interface, declarative state
Transmit application programming interface), file-sharing class agreement have NFS (Network File System, NFS),
CIFS (Common Internet File System, universal network file system), FTP (File Transfer
Protocol, FTP) etc..Although protocol definition is had nothing in common with each other, similar protocols have greatly in terms of core semanteme
Similitude, such as SMI-S and RestAPI.Two big difficulties are seen in test angle, one is that same agreement will be tested
The degree of support of different vendor;Another is that independent test case is write for similar protocols, and workload is big, performs test
When also have many repetitive operations.Therefore, how to improve the testing efficiency of storage protocol conformance and be one and urgently to be resolved hurrily ask
Topic.
The content of the invention
In view of this, protocol conformance test method is stored it is an object of the invention to provide one kind, can effectively improved
Store the testing efficiency of protocol conformance.
To achieve the above object, the present invention provides following technical scheme:
One kind storage protocol conformance test method, including:
Based on puppy parc pack arrangement layer building protocol model;
The protocol model is converted into specific agreement;
The uniformity for storing agreement is tested.
Preferably, it is described to be included based on puppy parc pack arrangement layer building protocol model:
The protocol model is initialized;
Stzwctlrred definition is carried out to the protocol model;
Frame format definition is carried out to the protocol model.
Preferably, it is described that the protocol model is initialized specially:
Before test case is performed, completes the certification with equipment, shake hands and data initialization.
Preferably, it is described to be specially to protocol model progress stzwctlrred definition:
To protocol hierarchy definition and the definition of protocol massages form.
Preferably, it is described to be specially to protocol model progress frame format definition:
Stzwctlrred definition content in protocol model is packaged into the form transmitted on a hardware platform, completed to agreement
The verification of content.
One kind storage Protocol Conformance Test System, including:
Module is built, for based on puppy parc pack arrangement layer building protocol model;
Conversion module, for the protocol model to be converted into specific agreement;
Test module, for testing the uniformity for storing agreement.
Preferably, the structure module includes:
Initialization unit, for being initialized to the protocol model;
Stzwctlrred definition unit, for carrying out stzwctlrred definition to the protocol model;
Frame format definition unit, for carrying out frame format definition to the protocol model.
Preferably, the initialization unit specifically for:Before test case is performed, completes the certification with equipment, hold
Hand and data initialization.
Preferably, the stzwctlrred definition unit specifically for:To protocol hierarchy definition and the definition of protocol massages form.
Preferably, the frame format definition unit specifically for:Stzwctlrred definition content in protocol model is packaged into
The form transmitted on a hardware platform, completes the verification to protocol contents.
As shown from the above technical solution, the invention provides storage protocol conformance test method, when needs are assisted to storage
When the uniformity of view is tested, puppy parc pack arrangement layer building protocol model is primarily based on, then protocol model is converted
For specific agreement, then the uniformity for storing agreement is tested, the present invention is by building protocol model, by protocol model
Specific agreement is converted into, the testing efficiency of storage protocol conformance can be effectively improved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will to embodiment or
The accompanying drawing used required in description of the prior art is briefly described, it should be apparent that, drawings in the following description are only
Some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram for storing protocol conformance test method embodiment 1 disclosed by the invention;
Fig. 2 is a kind of method flow diagram for storing protocol conformance test method embodiment of the method 2 disclosed by the invention;
Fig. 3 is a kind of structural representation for storing Protocol Conformance Test System embodiment 1 disclosed by the invention;
Fig. 4 is a kind of structural representation for storing Protocol Conformance Test System embodiment 2 disclosed by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its
Its embodiment, belongs to the scope of protection of the invention.
In order to more specifically emphasize the independence implemented, this specification is related to number of modules or unit.For example,
Module or unit can realize by hardware circuit, and the hardware circuit includes special VLSI circuits OR gate array, such as logic chip,
Transistor, or other components.Module or unit can also realize in programmable computer hardware, such as field effect programmable gate array,
Programmable logic array, programmable logic device etc..
Module or unit can also be realized in by the software performed by various forms of processors.Such as, one can hold
Row code module may include one or more entities or logic computer instruction block, and the block is formed into, such as
Say, object, program or function.However, the executable part of identification module or unit need not physically be put together, but
It can be made up of the different instruction for being stored in diverse location, when combining in logic, form module or unit and reach this
Purpose required by module or unit.
In fact, executable code module or unit can be a single instruction or multiple instruction, it might even be possible to which distribution is in place
In several different code sections of different programs, and across several storage devices.Similarly, peration data can be identified
And be shown in this module or unit, and can implement in any suitable form and in any suitable data structure shape
Formula inner tissue.Peration data can assemble single data set, or can be distributed in the different positions with different storage devices
Put, and a system or network are only present in electronic signal mode at least in part.
" embodiment " or similar term mentioned by this specification represent characteristic, structure or the feature relevant with embodiment,
In at least embodiment for being included in the present invention.Therefore, this specification occurs term " in one embodiment ", " implementing
Example in " and similar term may but be not necessarily all sensing phase be the same as Example.
Furthermore, characteristic of the present invention, structure or feature can be combined in one or more embodiments in any way
In.Explanation will provide many specific details, such as programming, software module, user's selection, network trading, database below
The examples such as inquiry, database structure, hardware module, hardware circuit, hardware chip, to provide the understanding to the embodiment of the present invention.
But those of ordinary skill in the related art will be seen that the present invention, though wherein one or more specific details are not utilized, or
It can also be implemented using other methods, component, material etc..On the other hand, be the present invention that avoids confusion, known structure, material or
Operation does not have a detailed description.
As shown in figure 1, be a kind of flow chart for storing protocol conformance test method embodiment 1 disclosed by the invention, this
Method comprises the following steps:
S101, based on puppy parc pack arrangement layer building protocol model;
S102, protocol model is converted into specific agreement;
S103, the uniformity to storage agreement are tested.
General protocol stack structure includes:Hardware interface, protocol code rule, the definition of protocol package form, protocol semantics,
Agreement interior laminate layer structure and protocol state machine and behavior.Wherein, hardware interface:The related content of hardware interface is handled, for
For network interface, this is transport layer;Protocol code rule:Usually text or binary coded format, are only handled here
The coded format on basis, such as bencode codings, base64 codings etc., it is unrelated with specific agreement;Protocol package form is defined:Base
The protocol package form definition formed in certain specific coding rule, after software is decoded, generally forms a protocol format
Tree, is present in internal memory.This protocol tree is particularly significant for protocol processes and agreement similarity determination.Protocol semantics:
Protocol specification, the concrete meaning of each field;Agreement interior laminate layer structure:It is also layering inside some agreements, such as passes
Defeated layer, session layer, transaction layer etc.;Protocol state machine and behavior:Protocol state machine is that any agreement all has, agreement behavior
Mainly the high level interaction of agreement, is also the essential part of agreement.
When needing to carry out the uniformity test of storage agreement, the scale model carried out in puppy parc pack arrangement layer is determined
Justice, a protocol package is exactly one tree in structure, and specification has gone out detailed pack arrangement on this layer, each new agreement
Arrival is required for being fitted on puppy parc pack arrangement (mainly one by one protocol package do map), and the specific method of mapping is exactly to set
Operation:The addition of new node, the deletion of node, the merging of node.Wherein, the addition of new node:Mainly protocol capability expands
Exhibition, or the New function that protocol version upgrading is brought.If RestAPI agreements 1.1 to 1.0 are on createSnapShot messages
TargetVolume fields are added, just increase a targetVolume word on createSnapShot message structure trees
Section.
The deletion of node:Some agreements can discard some fields in extension, and reaction is exactly to delete on protocol packet structure tree
Except the operation of node.
The merging of node:Some agreements will not change the structure of former binary system bag when discarding some fields.Such as agreement
1.0, field 1, length is 4 bytes, and the length of field 2 is 2 bytes.In agreement 1.1, field 2 is deleted, but in order to ensure association
The compatibility of view, the length of field 1 is changed into 6 bytes.We just carry out the union operation of node in this case.
Then it is specific agreement by similar protocols model conversation, specifically, completing the process of adaptation using adapter, fits
Orchestration can be independent node either software module, after protocol package generation, be modified before sending according to rule, most
It is sent to and is storage devices under eventually.This kind of mode is similar to Black-box Testing mode, and new survey is realized by changing output result
Example generation on probation.If there is inheritance between agreement, then there is the protocol stack of an adaptation, it is necessary to which agreement 1 arrives agreement
1.1, then be adapted to layer by layer to agreement 1.1.1.
In summary, in the above-described embodiments, when needing to test the uniformity for storing agreement, it is primarily based on
Puppy parc pack arrangement layer building protocol model, is then converted into specific agreement by protocol model, then to storing the one of agreement
Cause property is tested, and protocol model is converted into specific agreement, can effectively improve and deposit by the present invention by building protocol model
Store up the testing efficiency of protocol conformance.
As shown in Fig. 2 be a kind of flow chart for storing protocol conformance test method embodiment 2 disclosed by the invention, this
Method comprises the following steps:
S201, protocol model is initialized;
S202, to protocol model carry out stzwctlrred definition;
S203, to protocol model carry out frame format definition;
When needing to carry out uniformity test to storage agreement, the design of protocol model is carried out first, in design agreement mould
During type, specifically include:Model initialization, stzwctlrred definition and frame format definition.Wherein, protocol model is initialized:Used in test
Before example is performed, complete with the certification of equipment, shake hands, the basic work such as data initialization, the purpose is to equipment is reached one
Individual stable state, with the stability of guarantee agreement test mode and the accuracy of protocol test result.
Stzwctlrred definition:Generalization feature for describing agreement, completes the abstract definition to similar agreement.Agreement mould
The stzwctlrred definition content of type mainly includes:Protocol hierarchy is defined and the definition of protocol massages form.
Frame format is defined:Can be on a hardware platform for the stzwctlrred definition content in protocol model to be packaged into
The form that can be transmitted, while completing the verification to protocol contents.
S204, protocol model is converted into specific agreement;
The instantiation function of agreement is responsible for protocol model to be converted into specific agreement.Concrete function includes:Protocol format weight
Group and coding.Protocol format recombination function is responsible for deleting the field do not supported, increase protocol model without field, agreement volume
Code function is responsible for the requirement according to specific agreement, protocol package is encoded to binary system or text formatting, the survey only instantiated
Trying agreement could testing results use-case.
S205, the uniformity to storage agreement are tested.
The input of system is test case, and a test case is usually a test process, and minimum should be asked comprising one
One response of summation, two messages.Changed by system, a test case can be automatically converted to store the He of agreement 1.0
1.1 liang of set test cases, to test two sets of different test equipments.Process is as follows:(1) input is a test case;
(2) system implementation of test cases, the protocol package of tested equipment under test is found from test case, is initially minimum version 1.0;
(3) instantiation method is used, protocol package is converted into the protocol tree in an internal memory;(4) determined according to different target devices
The fixed protocol package for next whether being converted into 1.1 versions, is still exactly to test 1.0;(5) determining in protocol model 1.1
Agreement tree construction in justice, amendment step (4), is allowed to be converted into protocol package 1.1;(6) pack arrangement of generation 1.1;(7) pass through
1.1 bags or 1.0 bags are sent to correct storage device by physical layer interface (IP or FC).
In summary, the present invention only needs to write a set of survey by the different editions to close agreement or same agreement
Examination set, realizes the height multiplexing of test suite, has saved human cost, realized the automation of storage protocol test.
As shown in figure 3, being a kind of structural representation for storing Protocol Conformance Test System embodiment 1 disclosed by the invention
Figure, the system includes:
Module 301 is built, for based on puppy parc pack arrangement layer building protocol model;
Conversion module 302, for protocol model to be converted into specific agreement;
Test module 303, for testing the uniformity for storing agreement.
General protocol stack structure includes:Hardware interface, protocol code rule, the definition of protocol package form, protocol semantics,
Agreement interior laminate layer structure and protocol state machine and behavior.Wherein, hardware interface:The related content of hardware interface is handled, for
For network interface, this is transport layer;Protocol code rule:Usually text or binary coded format, are only handled here
The coded format on basis, such as bencode codings, base64 codings etc., it is unrelated with specific agreement;Protocol package form is defined:Base
The protocol package form definition formed in certain specific coding rule, after software is decoded, generally forms a protocol format
Tree, is present in internal memory.This protocol tree is particularly significant for protocol processes and agreement similarity determination.Protocol semantics:
Protocol specification, the concrete meaning of each field;Agreement interior laminate layer structure:It is also layering inside some agreements, such as passes
Defeated layer, session layer, transaction layer etc.;Protocol state machine and behavior:Protocol state machine is that any agreement all has, agreement behavior
Mainly the high level interaction of agreement, is also the essential part of agreement.
When needing to carry out the uniformity test of storage agreement, the scale model carried out in puppy parc pack arrangement layer is determined
Justice, a protocol package is exactly one tree in structure, and specification has gone out detailed pack arrangement on this layer, each new agreement
Arrival is required for being fitted on puppy parc pack arrangement (mainly one by one protocol package do map), and the specific method of mapping is exactly to set
Operation:The addition of new node, the deletion of node, the merging of node.Wherein, the addition of new node:Mainly protocol capability expands
Exhibition, or the New function that protocol version upgrading is brought.If RestAPI agreements 1.1 to 1.0 are on createSnapShot messages
TargetVolume fields are added, just increase a targetVolume word on createSnapShot message structure trees
Section.
The deletion of node:Some agreements can discard some fields in extension, and reaction is exactly to delete on protocol packet structure tree
Except the operation of node.
The merging of node:Some agreements will not change the structure of former binary system bag when discarding some fields.Such as agreement
1.0, field 1, length is 4 bytes, and the length of field 2 is 2 bytes.In agreement 1.1, field 2 is deleted, but in order to ensure association
The compatibility of view, the length of field 1 is changed into 6 bytes.We just carry out the union operation of node in this case.
Then it is specific agreement by similar protocols model conversation, specifically, completing the process of adaptation using adapter, fits
Orchestration can be independent node either software module, after protocol package generation, be modified before sending according to rule, most
It is sent to and is storage devices under eventually.This kind of mode is similar to Black-box Testing mode, and new survey is realized by changing output result
Example generation on probation.If there is inheritance between agreement, then there is the protocol stack of an adaptation, it is necessary to which agreement 1 arrives agreement
1.1, then be adapted to layer by layer to agreement 1.1.1.
In summary, in the above-described embodiments, when needing to test the uniformity for storing agreement, it is primarily based on
Puppy parc pack arrangement layer building protocol model, is then converted into specific agreement by protocol model, then to storing the one of agreement
Cause property is tested, and protocol model is converted into specific agreement, can effectively improve and deposit by the present invention by building protocol model
Store up the testing efficiency of protocol conformance.
As shown in figure 4, being a kind of structural representation for storing Protocol Conformance Test System embodiment 2 disclosed by the invention
Figure, the system includes:
Initialization unit 401, for being initialized to protocol model;
Stzwctlrred definition unit 402, for carrying out stzwctlrred definition to protocol model;
Frame format definition unit 403, for carrying out frame format definition to protocol model;
When needing to carry out uniformity test to storage agreement, the design of protocol model is carried out first, in design agreement mould
During type, specifically include:Model initialization, stzwctlrred definition and frame format definition.Wherein, protocol model is initialized:Used in test
Before example is performed, complete with the certification of equipment, shake hands, the basic work such as data initialization, the purpose is to equipment is reached one
Individual stable state, with the stability of guarantee agreement test mode and the accuracy of protocol test result.
Stzwctlrred definition:Generalization feature for describing agreement, completes the abstract definition to similar agreement.Agreement mould
The stzwctlrred definition content of type mainly includes:Protocol hierarchy is defined and the definition of protocol massages form.
Frame format is defined:Can be on a hardware platform for the stzwctlrred definition content in protocol model to be packaged into
The form that can be transmitted, while completing the verification to protocol contents.
Conversion module 404, for protocol model to be converted into specific agreement;
The instantiation function of agreement is responsible for protocol model to be converted into specific agreement.Concrete function includes:Protocol format weight
Group and coding.Protocol format recombination function is responsible for deleting the field do not supported, increase protocol model without field, agreement volume
Code function is responsible for the requirement according to specific agreement, protocol package is encoded to binary system or text formatting, the survey only instantiated
Trying agreement could testing results use-case.
Test module 405, for testing the uniformity for storing agreement.
The input of system is test case, and a test case is usually a test process, and minimum should be asked comprising one
One response of summation, two messages.Changed by system, a test case can be automatically converted to store the He of agreement 1.0
1.1 liang of set test cases, to test two sets of different test equipments.Process is as follows:(1) input is a test case;
(2) system implementation of test cases, the protocol package of tested equipment under test is found from test case, is initially minimum version 1.0;
(3) instantiation method is used, protocol package is converted into the protocol tree in an internal memory;(4) determined according to different target devices
The fixed protocol package for next whether being converted into 1.1 versions, is still exactly to test 1.0;(5) determining in protocol model 1.1
Agreement tree construction in justice, amendment step (4), is allowed to be converted into protocol package 1.1;(6) pack arrangement of generation 1.1;(7) pass through
1.1 bags or 1.0 bags are sent to correct storage device by physical layer interface (IP or FC).
In summary, the present invention only needs to write a set of survey by the different editions to close agreement or same agreement
Examination set, realizes the height multiplexing of test suite, has saved human cost, realized the automation of storage protocol test.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and it
Between the difference of its embodiment, each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, defined herein
General Principle can realize in other embodiments without departing from the spirit or scope of the present invention.Therefore, originally
Invention is not intended to be limited to the embodiments shown herein, and is to fit to special with principles disclosed herein and novelty
The consistent most wide scope of point.
Claims (10)
1. one kind storage protocol conformance test method, it is characterised in that including:
Based on puppy parc pack arrangement layer building protocol model;
The protocol model is converted into specific agreement;
The uniformity for storing agreement is tested.
2. according to the method described in claim 1, it is characterised in that described to be based on puppy parc pack arrangement layer building protocol model
Including:
The protocol model is initialized;
Stzwctlrred definition is carried out to the protocol model;
Frame format definition is carried out to the protocol model.
3. method according to claim 2, it is characterised in that described to be initialized specially to the protocol model:
Before test case is performed, completes the certification with equipment, shake hands and data initialization.
4. method according to claim 3, it is characterised in that described specific to protocol model progress stzwctlrred definition
For:
To protocol hierarchy definition and the definition of protocol massages form.
5. method according to claim 4, it is characterised in that described that frame format definition is carried out to the protocol model specifically
For:
Stzwctlrred definition content in protocol model is packaged into the form transmitted on a hardware platform, completed to protocol contents
Verification.
6. one kind storage Protocol Conformance Test System, it is characterised in that including:
Module is built, for based on puppy parc pack arrangement layer building protocol model;
Conversion module, for the protocol model to be converted into specific agreement;
Test module, for testing the uniformity for storing agreement.
7. system according to claim 6, it is characterised in that the structure module includes:
Initialization unit, for being initialized to the protocol model;
Stzwctlrred definition unit, for carrying out stzwctlrred definition to the protocol model;
Frame format definition unit, for carrying out frame format definition to the protocol model.
8. system according to claim 7, it is characterised in that the initialization unit specifically for:In test case quilt
Before execution, complete the certification with equipment, shake hands and data initialization.
9. system according to claim 8, it is characterised in that the stzwctlrred definition unit specifically for:To agreement point
Layer definition and the definition of protocol massages form.
10. system according to claim 9, it is characterised in that the frame format definition unit specifically for:By agreement mould
Stzwctlrred definition content in type is packaged into the form transmitted on a hardware platform, completes the verification to protocol contents.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710385435.6A CN107222363B (en) | 2017-05-26 | 2017-05-26 | Storage protocol consistency test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710385435.6A CN107222363B (en) | 2017-05-26 | 2017-05-26 | Storage protocol consistency test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107222363A true CN107222363A (en) | 2017-09-29 |
CN107222363B CN107222363B (en) | 2021-01-08 |
Family
ID=59946826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710385435.6A Active CN107222363B (en) | 2017-05-26 | 2017-05-26 | Storage protocol consistency test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107222363B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324958A (en) * | 2018-06-27 | 2019-02-12 | 郑州云海信息技术有限公司 | A kind of REST unifies method of calibration, device, equipment and readable storage medium storing program for executing |
CN109818955A (en) * | 2019-01-22 | 2019-05-28 | 上海鹰信智能技术有限公司 | A kind of control coding method of transmitted in both directions and its system |
CN111835724A (en) * | 2020-06-11 | 2020-10-27 | 广州天源信息科技股份有限公司 | Protocol conflict matching method, system, storage medium and computer equipment |
CN111884776A (en) * | 2020-07-02 | 2020-11-03 | 深圳市赛特新能科技有限公司 | Charging pile protocol consistency testing method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1357981A (en) * | 2000-12-04 | 2002-07-10 | 深圳黎明电脑网络有限公司 | Method of testing several kinds of application protocol |
US20060168477A1 (en) * | 2005-01-24 | 2006-07-27 | International Business Machines Corporation | Multilayered architecture for storage protocol conformance testing of storage devices |
CN102542110A (en) * | 2011-12-29 | 2012-07-04 | 北京时代民芯科技有限公司 | Emulation verification method applied to mobile storage SOC (system on chip) chip |
CN103150264A (en) * | 2013-01-18 | 2013-06-12 | 浪潮电子信息产业股份有限公司 | Extension Cache Coherence protocol-based multi-level consistency simulation domain verification and test method |
CN103198009A (en) * | 2012-01-04 | 2013-07-10 | 中国移动通信集团公司 | Universal testing method, system and corresponding device |
US8788685B1 (en) * | 2006-04-27 | 2014-07-22 | Netapp, Inc. | System and method for testing multi-protocol storage systems |
CN104125235A (en) * | 2014-08-11 | 2014-10-29 | 浪潮电子信息产业股份有限公司 | Integrated multi-protocol storage method |
CN105262644A (en) * | 2015-11-03 | 2016-01-20 | 株洲南车时代电气股份有限公司 | General test system based on protocol configuration and method |
CN105718344A (en) * | 2016-01-19 | 2016-06-29 | 中国电子科技集团公司第三十八研究所 | Verification method of FPGA universal configurable UART protocol based on UVM |
-
2017
- 2017-05-26 CN CN201710385435.6A patent/CN107222363B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1357981A (en) * | 2000-12-04 | 2002-07-10 | 深圳黎明电脑网络有限公司 | Method of testing several kinds of application protocol |
US20060168477A1 (en) * | 2005-01-24 | 2006-07-27 | International Business Machines Corporation | Multilayered architecture for storage protocol conformance testing of storage devices |
US8788685B1 (en) * | 2006-04-27 | 2014-07-22 | Netapp, Inc. | System and method for testing multi-protocol storage systems |
CN102542110A (en) * | 2011-12-29 | 2012-07-04 | 北京时代民芯科技有限公司 | Emulation verification method applied to mobile storage SOC (system on chip) chip |
CN103198009A (en) * | 2012-01-04 | 2013-07-10 | 中国移动通信集团公司 | Universal testing method, system and corresponding device |
CN103150264A (en) * | 2013-01-18 | 2013-06-12 | 浪潮电子信息产业股份有限公司 | Extension Cache Coherence protocol-based multi-level consistency simulation domain verification and test method |
CN104125235A (en) * | 2014-08-11 | 2014-10-29 | 浪潮电子信息产业股份有限公司 | Integrated multi-protocol storage method |
CN105262644A (en) * | 2015-11-03 | 2016-01-20 | 株洲南车时代电气股份有限公司 | General test system based on protocol configuration and method |
CN105718344A (en) * | 2016-01-19 | 2016-06-29 | 中国电子科技集团公司第三十八研究所 | Verification method of FPGA universal configurable UART protocol based on UVM |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324958A (en) * | 2018-06-27 | 2019-02-12 | 郑州云海信息技术有限公司 | A kind of REST unifies method of calibration, device, equipment and readable storage medium storing program for executing |
CN109324958B (en) * | 2018-06-27 | 2021-10-29 | 郑州云海信息技术有限公司 | REST unified verification method, device, equipment and readable storage medium |
CN109818955A (en) * | 2019-01-22 | 2019-05-28 | 上海鹰信智能技术有限公司 | A kind of control coding method of transmitted in both directions and its system |
CN111835724A (en) * | 2020-06-11 | 2020-10-27 | 广州天源信息科技股份有限公司 | Protocol conflict matching method, system, storage medium and computer equipment |
CN111835724B (en) * | 2020-06-11 | 2022-08-26 | 广州天源信息科技股份有限公司 | Protocol conflict matching method, system, storage medium and computer equipment |
CN111884776A (en) * | 2020-07-02 | 2020-11-03 | 深圳市赛特新能科技有限公司 | Charging pile protocol consistency testing method |
Also Published As
Publication number | Publication date |
---|---|
CN107222363B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210218796A1 (en) | Efficient, automated distributed-search methods and systems | |
JP7170712B2 (en) | Apparatus for providing a cryptographically protected filtered and sorted collection of transaction data sets of blocks of a blockchain | |
CN107222363A (en) | One kind storage protocol conformance test method and system | |
US9183032B2 (en) | Method and system for migration of multi-tier virtual application across different clouds hypervisor platforms | |
CN109656538A (en) | Generation method, device, system, equipment and the medium of application program | |
CN109308224A (en) | The method, apparatus and system of cross-platform data communication, cross-platform data processing | |
TW201113732A (en) | Specifying a parser using a properties file | |
CN108830720A (en) | Intelligent contract operation method, device, system and computer readable storage medium | |
CN105051687B (en) | Using dispositions method and equipment | |
US20150205852A1 (en) | Synchronization of data between systems | |
CN108156022A (en) | A kind of service calling method, device and electronic equipment | |
CN106453474A (en) | Network transfer of large files in unstable network environments | |
CN107301137A (en) | RSET interface realizing methods and device and electronic equipment and computer-readable recording medium | |
CN108139961A (en) | Telemetering defines system | |
WO2024016547A1 (en) | Data query method and device based on multi-party collaboration | |
CN105389120A (en) | Supporting RMA API over active message | |
CN107612833A (en) | A kind of URI method for routing and relevant apparatus based on storage system | |
CN113703862A (en) | Configuration-based interface calling method, device, equipment and storage medium | |
US20140337391A1 (en) | Method and system for data plane abstraction to enable a network storage platform ecosystem | |
CN109729121A (en) | A kind of cloud storage system and the method for realizing self-defining data processing in cloud storage system | |
US9172604B1 (en) | Target mapping and implementation of abstract device model | |
Zschörnig et al. | A cloud-based Analytics-Platform for user-centric Internet of Things domains–Prototype and Performance Evaluation | |
CN108173948A (en) | A kind of Distributed Experiment data real-time exchange method | |
US20140040479A1 (en) | Method for a self organizing load balance in a cloud file server network | |
CN111736844A (en) | Database cloud service standard interface and implementation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201202 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |