CN110224898A - Specification encryption test method, device, equipment and the storage medium of distribution terminal - Google Patents
Specification encryption test method, device, equipment and the storage medium of distribution terminal Download PDFInfo
- Publication number
- CN110224898A CN110224898A CN201910561762.1A CN201910561762A CN110224898A CN 110224898 A CN110224898 A CN 110224898A CN 201910561762 A CN201910561762 A CN 201910561762A CN 110224898 A CN110224898 A CN 110224898A
- Authority
- CN
- China
- Prior art keywords
- protocol
- encryption
- test
- calling
- agreement
- 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.)
- Pending
Links
- 238000010998 test method Methods 0.000 title claims abstract description 33
- 238000004891 communication Methods 0.000 claims abstract description 133
- 238000012360 testing method Methods 0.000 claims abstract description 84
- 238000005538 encapsulation Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 abstract description 35
- 230000008569 process Effects 0.000 abstract description 22
- 238000012423 maintenance Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 230000009975 flexible effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000000926 separation 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
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
-
- 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/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of specifications of distribution terminal to encrypt test method, device, equipment and storage medium, by encapsulating communication protocol library in advance, specification protocol library and cryptographic protocol library, according to the communication type selection of tester's input, corresponding communication protocol is called in protocol type selection and encryption type selection from library respectively, specification agreement and cryptographic protocol, by the communication protocol of calling, the specification agreement of calling and the cryptographic protocol of calling are written preset specification and encrypt test template, obtain specification encryption test program, and it is treated using specification encryption test program and is measured electric terminals progress specification encryption test, it is equivalent to and only stores a testing process, communication protocol is selected by tester, specification agreement and cryptographic protocol are freely combined to obtain specification encryption test program and can be tested, without storing communication protocol, rule About agreement and cryptographic protocol independent assortment after all testing process, compared with the prior art in code redundancy amount is greatly reduced.
Description
Technical field
The present invention relates to communication of power system the field of test technology, encrypt survey more particularly to a kind of specification of distribution terminal
Method for testing, device, equipment and storage medium.
Background technique
The communication protocol of electric system is the bridge of entire Operation of Electric Systems, is carry in the power system extremely important
Role.From primary equipment to the acquisition of secondary device data, from secondary device to the control of primary equipment, none does not pass through
What communication of power system specification was realized.The most commonly used is IEC 60870-5-101/104 specifications for field of power distribution at present, arrange in pairs or groups with serial ports
With the communication mode of network interface, common 104 specification of 101 specification of serial ports and network is formd.
In recent years, with the fast development of smart grid, traditional 101 specification communication pattern of serial ports and 104 specification of network
Communication pattern does not have universality, is not fully appropriate for all electric fields.Meanwhile it is continuous with information technology
It is promoted, to communications security the considerations of is extremely urgent, and encryption technology is then to ensure that between distribution terminal and distribution main website
Communication link safety, and transmit the confidentiality of data and the important support of integrality.
In order to test the specification encryption performance of distribution terminal Yu distribution master station communication, at present mainly using specification encryption test
Software simulates main website, and connects distribution terminal, carries out coded communication test with distribution terminal.Traditional specification encrypts test software
Using fixed 104 specification of 101 specification of serial ports and network, the corresponding testing process of every kind of test environment, when newly-increased specification adds
When density test environment, need to redesign testing process according to on-scene communication mode, protocol type and cipher mode.With communication party
For formula, due to site environment complexity, the communication mode that different scenes use be also it is diversified, it is a kind of logical when needing to increase
When letter mode, need to separately design difference according to the combined situation of the communication mode and all protocol types and all cipher modes
Testing process.And with the increase of communication mode, protocol type and cipher mode, combined situation exponentially increases, soft
Part modification amount will be it is huge, it is difficult that this also results in software later maintenance.As it can be seen that traditional specification encrypts test software
Information and code redundancy amount are high, and software modification flexibility is low, and heavy workload is difficult in maintenance, and then directly influence to distribution end
The specification at end encrypts test.
A kind of specification encryption test software of place to go redundancy is provided, the specification encryption test stream to distribution terminal is optimized
Journey is those skilled in the art's technical issues that need to address.
Summary of the invention
The object of the present invention is to provide a kind of specifications of distribution terminal to encrypt test method, device, equipment and storage medium,
Code redundancy amount is greatly reduced in specification encryption test method in compared with the prior art in software, optimizes to distribution end
The specification at end encrypts testing process.
In order to solve the above technical problems, the present invention provides a kind of specification encryption test method of distribution terminal, comprising:
Encapsulation communication protocol library, specification protocol library and cryptographic protocol library in advance;Wherein, the communication protocol library includes two kinds
Or two or more communication protocol, the specification protocol library include two or more specification agreement, the cryptographic protocol
Library includes two or more cryptographic protocol;
Receive the communication type selection, protocol type selection and encryption type selection of input;
Corresponding communication protocol is called in the communication protocol library according to communication type selection, according to the specification
Corresponding specification agreement is called in type selection in the specification protocol library, is assisted according to encryption type selection in the encryption
View calls corresponding cryptographic protocol in library;
Preset specification encryption test is written into the cryptographic protocol of the communication protocol of calling, the specification agreement of calling and calling
Template obtains specification encryption test program;
It is treated using specification encryption test program and is measured electric terminals progress specification encryption test.
Optionally, the communication protocol library specifically includes serial communication protocol, network communication protocol, ZigBee communication agreement
And Wi-Fi communication protocol.
Optionally, the specification protocol library specifically includes 101 specification agreements and 104 specification agreements.
Optionally, the cryptographic protocol library specifically includes certificate cryptographic protocol and ipsec encryption agreement.
Optionally, the cryptographic protocol write-in by the communication protocol of calling, the specification agreement of calling and calling is preset
Specification encrypts test template, obtains specification encryption test program, specifically includes:
Receive the test parameter of input;
It is completed according to the test parameter to the communication protocol of the calling, the specification agreement of the calling and the calling
Cryptographic protocol configuration, obtain specification encryption test program.
Optionally, the cryptographic protocol write-in by the communication protocol of calling, the specification agreement of calling and calling is preset
Specification encrypts test template, obtains specification encryption test program, specifically:
According to preset messaging parameter corresponding with the communication protocol of the calling, corresponding with the specification agreement of the calling
Specification parameter and encryption parameter corresponding with the cryptographic protocol of the calling, complete communication protocol to the calling, institute
The configuration for stating the specification agreement of calling and the cryptographic protocol of the calling obtains the specification encryption test program.
Optionally, described treated using specification encryption test program is measured electric terminals progress specification encryption test, tool
Body are as follows:
After receiving the signal for connecting the distribution terminal to be measured, specification interface is called to start the specification encryption test
Program carries out specification encryption test to the distribution terminal to be measured.
In order to solve the above technical problems, the present invention also provides a kind of specifications of distribution terminal to encrypt test device, comprising:
Encapsulation unit, for encapsulating communication protocol library, specification protocol library and cryptographic protocol library in advance;Wherein, the communication
Protocol library includes two or more communication protocol, and the specification protocol library includes two or more specification association
View, the cryptographic protocol library includes two or more cryptographic protocol;
Receiving unit, communication type selection, protocol type selection and encryption type selection for receiving input;
Call unit, for calling corresponding communication protocols in the communication protocol library according to communication type selection
View calls corresponding specification agreement according to protocol type selection, according to the encryption type in the specification protocol library
Selection calls corresponding cryptographic protocol in the cryptographic protocol library;
The cryptographic protocol write-in of configuration unit, the specification agreement and calling of communication protocol, calling for that will call is default
Specification encrypt test template, obtain specification encryption test program;
Test cell is measured electric terminals progress specification encryption test for treating using specification encryption test program.
In order to solve the above technical problems, the present invention also provides a kind of specifications of distribution terminal to encrypt test equipment, comprising:
Memory, for storing instruction, described instruction include that the specification encryption of distribution terminal described in above-mentioned any one is surveyed
The step of method for testing;
Processor, for executing described instruction.
In order to solve the above technical problems, it is stored thereon with computer program the present invention also provides a kind of storage medium, it is described
The step of the specification encryption test method of the distribution terminal as described in above-mentioned any one is realized when computer program is executed by processor
Suddenly.
The specification of distribution terminal provided by the present invention encrypts test method, by encapsulating communication protocol library, specification in advance
Protocol library and cryptographic protocol library are selected according to the communication type selection, protocol type selection and encryption type of tester's input
Corresponding communication protocol, specification agreement and cryptographic protocol are called from library respectively, the communication protocol of calling, the specification of calling are assisted
The cryptographic protocol called of negotiating peace is written preset specification and encrypts test template, obtains specification encryption test program, and utilize specification
Encryption test program, which is treated, is measured electric terminals progress specification encryption test, is equivalent to and only stores a testing process, will test
Fixed content is presented in the form of template in process, selects communication protocol, specification agreement and cryptographic protocol by tester
Being freely combined to obtain specification encryption test program can be tested, without storing communication protocol, specification agreement and adding
All testing process after close agreement independent assortment, compared with the prior art in code redundancy amount is greatly reduced, and be conducive to it is fixed
Dislocation is overdue, convenient for safeguarding, optimizes and encrypts testing process to the specification of distribution terminal.The present invention also provides a kind of distribution terminals
Specification encryption test device, equipment and storage medium, there is above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that a kind of specification of distribution terminal provided in an embodiment of the present invention encrypts the flow chart of test method;
Fig. 2 is the flow chart of the specific embodiment of step S104 in a kind of Fig. 1 provided in an embodiment of the present invention;
Fig. 3 is that a kind of specification of distribution terminal provided in an embodiment of the present invention encrypts the structural schematic diagram of test device;
Fig. 4 is that a kind of specification of distribution terminal provided in an embodiment of the present invention encrypts the structural schematic diagram of test equipment.
Specific embodiment
Core of the invention is to provide specification encryption test method, device, equipment and the storage medium of a kind of distribution terminal,
Code redundancy amount is greatly reduced in specification encryption test method in compared with the prior art in software, optimizes to distribution end
The specification at end encrypts testing process.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
For a kind of flow chart of the specification encryption test method of distribution terminal provided in an embodiment of the present invention.
As shown in Figure 1, the specification encryption test method of distribution terminal provided in an embodiment of the present invention includes:
S101: encapsulation communication protocol library, specification protocol library and cryptographic protocol library in advance.
Wherein, communication protocol library includes two or more communication protocol, and specification protocol library includes two kinds or two kinds
Above specification agreement, cryptographic protocol library include two or more cryptographic protocol.
The embodiment of the present invention is low for traditional specification encryption test software design scheme flexibility, amount of redundancy is big lacks
It falls into, a kind of modularized design scheme suitable for specification encryption test software is proposed, by communication mode, protocol type and encryption
Technology carry out modularized encapsulation processing, respectively by communication protocol library, specification protocol library and cryptographic protocol library be encapsulated as communication module,
Protocol module and encrypting module, respectively provide selection interface to tester, export corresponding mould according to the selection of tester
Near-ring border.Tester can according to actual needs be freely combined communication type, protocol type and encryption type, software flexible
Property it is high, any site environment can be simulated.
In specific implementation, it is logical to can specifically include serial communication protocol, network communication protocol, ZigBee for communication protocol library
Believe agreement and Wi-Fi communication protocol etc..
Specification protocol library can specifically include 101 specification agreements and 104 specification agreements etc..
Cryptographic protocol library specifically includes state's net cryptographic protocol, southern net cryptographic protocol, certificate cryptographic protocol and ipsec encryption association
View etc..
With the increase of the quantity of the quantity of communication type, the quantity of protocol type and encryption type, tester is only needed
Continue to increase new protocol encapsulation into communication protocol library, the corresponding module of specification protocol library and cryptographic protocol library,
It writes several without being reconfigured according to certain newly-increased seed type with the type of sundry item (communicating, specification, encryption) and increases newly
The program of process, and also need to only subtract significantly to according to being handled to maintenance content into corresponding module when later maintenance
The size of code for having lacked required maintenance reduces the workload of operation maintenance personnel.
S102: the communication type selection, protocol type selection and encryption type selection of input are received.
Under normal circumstances, to tester provide selecting sequence be communication protocol, the specification agreement of the communication protocol and
The cryptographic protocol of the communication protocol.
S103: corresponding communication protocol is called in communication protocol library according to communication type selection, is selected according to protocol type
It selects and calls corresponding specification agreement in specification protocol library, corresponding add is called in cryptographic protocol library according to encryption type selection
Close agreement.
The specification encryption test method of distribution terminal provided in an embodiment of the present invention provides for tester for selecting to lead to
Believe that the window of type, protocol type and encryption type, the window can be realized based on touch screen or key switch.As user is " logical
Letter type: serial communication ", " protocol type: 101 specifications ", " encryption type: certificate encryption ", then transfer in communication protocol library
Serial communication protocol transfers 101 specification agreements in specification protocol library, certificate cryptographic protocol is transferred in cryptographic protocol library.
S104: preset specification is written into the cryptographic protocol of the communication protocol of calling, the specification agreement of calling and calling and is added
Density test template obtains specification encryption test program.
Preset specification encryption test template is a specification encryption test program frame, is in advance communication protocol, specification
Agreement and the reserved write-in interface of cryptographic protocol.
Preset specification encryption test is written into the cryptographic protocol of the communication protocol of calling, the specification agreement of calling and calling
Serial communication protocol, 101 specification agreements and certificate cryptographic protocol are such as written preset specification and encrypt test template, shape by template
Serial communication is carried out, based on 101 specifications, the test encrypted using certificate to Content of Communication with distribution terminal to be measured at one
Process.
S105: it is treated using specification encryption test program and is measured electric terminals progress specification encryption test.
In specific implementation, after receiving the signal for connecting distribution terminal to be measured, specification interface starting specification is called to add
Density test program, which is treated, is measured electric terminals progress specification encryption test.
The specification of distribution terminal provided in an embodiment of the present invention encrypts test method, by encapsulate in advance communication protocol library,
Specification protocol library and cryptographic protocol library, according to the communication type selection, protocol type selection and encryption type of tester's input
Corresponding communication protocol, specification agreement and cryptographic protocol are called in selection from library respectively, by the rule of the communication protocol of calling, calling
About the cryptographic protocol of agreement and calling is written preset specification and encrypts test template, obtains specification encryption test program, and utilize
Specification encryption test program, which is treated, is measured electric terminals progress specification encryption test, is equivalent to and only stores a testing process, will
Fixed content is presented in the form of template in testing process, selects communication protocol, specification agreement and encryption by tester
Agreement is freely combined to obtain specification encryption test program and can be tested, without storing communication protocol, specification agreement
With all testing process after cryptographic protocol independent assortment, compared with the prior art in be greatly reduced code redundancy amount, and benefit
It is convenient for safeguarding in positioning erroneous point, it optimizes and testing process is encrypted to the specification of distribution terminal.
Fig. 2 is the flow chart of the specific embodiment of step S104 in a kind of Fig. 1 provided in an embodiment of the present invention.
As shown in Fig. 2, on the basis of the above embodiments, the step S104 in Fig. 1 can specifically include:
S201: the test parameter of input is received.
After choosing communication protocol, specification agreement and cryptographic protocol, depending on the site environment, generally require in agreement
Test parameter carries out situ configuration.
Such as communication protocol, if tester selects network communication mode, IP address, port are needed to configure
Number, the parameters such as ethernet type, unit address;If tester selects serial communication mode, serial port, wave are needed to configure
Other communication modes of the parameters ... such as special rate, unit address generally also require the parameter configuration at the scene of carrying out.
The specification encryption test method of distribution terminal provided in an embodiment of the present invention provides input test ginseng for tester
Several interface, so that tester inputs or select the specific value or classification of test parameter.
S202: the communication protocol, the specification agreement of calling and the cryptographic protocol of calling to calling are completed according to test parameter
Configuration, obtain specification encryption test program.
After the parameter configuration for completing communication protocol, specification agreement and cryptographic protocol, specification encryption test program is obtained.
If selecting directly to start test if tester does not have input test parameter, step S104 specifically can be with
Are as follows:
According to the preset and corresponding messaging parameter of communication protocol that is calling, specification ginseng corresponding with the specification agreement called
Encryption parameter several and corresponding with the cryptographic protocol of calling, is completed to the communication protocol of calling, the specification agreement of calling and tune
The configuration of cryptographic protocol obtains specification encryption test program.
It in specific implementation, is easy to use, memory when being tested with a batch of distribution terminal same type
It is taken out for the parameter that the testing process formed is configured, and when tester selects same testing process, from
It is dynamic to complete configuration.
The corresponding each embodiment of specification encryption test method of distribution terminal as detailed above, on this basis, this hair
The bright specification encryption test device for also disclosing distribution terminal corresponding with the above method.
Fig. 3 is that a kind of specification of distribution terminal provided in an embodiment of the present invention encrypts the structural schematic diagram of test device.
As shown in figure 3, the specification encryption test device of distribution terminal provided in an embodiment of the present invention includes:
Encapsulation unit 301, for encapsulating communication protocol library, specification protocol library and cryptographic protocol library in advance;Wherein, communication protocols
View library includes two or more communication protocol, and specification protocol library includes two or more specification agreement, encryption
Protocol library includes two or more cryptographic protocol;
Receiving unit 302, communication type selection, protocol type selection and encryption type selection for receiving input;
Call unit 303, for calling corresponding communication protocol in communication protocol library according to communication type selection, according to
Corresponding specification agreement is called in protocol type selection in specification protocol library, is adjusted in cryptographic protocol library according to encryption type selection
With corresponding cryptographic protocol;
The cryptographic protocol write-in of configuration unit 304, the specification agreement and calling of communication protocol, calling for that will call is pre-
If specification encrypt test template, obtain specification encryption test program;
Test cell 305 is measured electric terminals progress specification encryption test for treating using specification encryption test program.
Since the embodiment of device part is corresponded to each other with the embodiment of method part, the embodiment of device part is asked
Referring to the description of the embodiment of method part, wouldn't repeat here.
Fig. 4 is that a kind of specification of distribution terminal provided in an embodiment of the present invention encrypts the structural schematic diagram of test equipment.
As shown in figure 4, the specification encryption test equipment of distribution terminal provided in an embodiment of the present invention includes:
Memory 401, for storing instruction, described instruction include the rule of distribution terminal described in above-mentioned any one embodiment
The step of about encrypting test method;
Processor 402, for executing described instruction.
The specification of distribution terminal provided in this embodiment encrypts test equipment, due to that can call memory by processor
The computer program of storage realizes the step of specification of the distribution terminal provided such as above-mentioned any embodiment encrypts test method,
So this analytical equipment has the same actual effect of specification encryption test method with above-mentioned distribution terminal.
This programme in order to better understand, the embodiment of the present invention also provide a kind of storage medium, store on the storage medium
There is computer program, realizes that the specification for the distribution terminal that any embodiment as above is mentioned adds when computer program is executed by processor
The step of density test method.
Storage medium provided in this embodiment, since the computer journey of storage medium storage can be called by processor
Sequence realizes the step of specification of the distribution terminal provided such as above-mentioned any embodiment encrypts test method, so this storage medium
With the same actual effect of specification encryption test method with above-mentioned distribution terminal.
In several embodiments provided herein, it should be understood that disclosed method, apparatus, equipment and storage
Medium may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, mould
The division of block, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple modules or
Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown
The mutual coupling, direct-coupling or communication connection shown or discussed can be through some interfaces, between device or module
Coupling or communication connection are connect, can be electrical property, mechanical or other forms.As illustrated by the separation member module can be or
It may not be and be physically separated, the component shown as module may or may not be physical module, it can
It is in one place, or may be distributed on multiple network modules.Part therein can be selected according to the actual needs
Or whole modules achieve the purpose of the solution of this embodiment.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized and when sold or used as an independent product in the form of software function module, can
To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or
Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Out, which is stored in a storage medium, including some instructions are used so that a computer equipment
The whole of (can be personal computer, funcall device or the network equipment etc.) execution each embodiment method of the application
Or part steps.And storage medium above-mentioned may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
Above to a kind of specification encryption test method, device, equipment and the storage Jie of distribution terminal provided by the present invention
Matter is described in detail.Each embodiment is described in a progressive manner in specification, and each embodiment stresses
It is the difference from other embodiments, the same or similar parts in each embodiment may refer to each other.For embodiment public affairs
For the device opened, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to side
Method part explanation.It should be pointed out that for those skilled in the art, not departing from the principle of the invention
Under the premise of, it can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the claims in the present invention
In protection scope.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (10)
1. a kind of specification of distribution terminal encrypts test method characterized by comprising
Encapsulation communication protocol library, specification protocol library and cryptographic protocol library in advance;Wherein, the communication protocol library includes two kinds or two
Kind or more communication protocol, the specification protocol library includes two or more specification agreement, cryptographic protocol library packet
Include two or more cryptographic protocol;
Receive the communication type selection, protocol type selection and encryption type selection of input;
Corresponding communication protocol is called in the communication protocol library according to communication type selection, according to the protocol type
Corresponding specification agreement is called in selection in the specification protocol library, is selected according to the encryption type in the cryptographic protocol library
It is middle to call corresponding cryptographic protocol;
Preset specification encryption test mould is written into the cryptographic protocol of the communication protocol of calling, the specification agreement of calling and calling
Plate obtains specification encryption test program;
It is treated using specification encryption test program and is measured electric terminals progress specification encryption test.
2. specification according to claim 1 encrypts test method, which is characterized in that the communication protocol library specifically includes string
Port communications agreement, network communication protocol, ZigBee communication agreement and Wi-Fi communication protocol.
3. specification according to claim 1 encrypts test method, which is characterized in that the specification protocol library specifically includes
101 specification agreements and 104 specification agreements.
4. specification according to claim 1 encrypts test method, which is characterized in that the cryptographic protocol library specifically includes card
Book cryptographic protocol and ipsec encryption agreement.
5. specification according to claim 1 encrypts test method, which is characterized in that described by the communication protocol of calling, tune
The cryptographic protocol of specification agreement and calling is written preset specification and encrypts test template, obtains specification encryption test program,
It specifically includes:
Receive the test parameter of input;
Adding to the communication protocol of the calling, the specification agreement of the calling and the calling is completed according to the test parameter
The configuration of close agreement obtains the specification encryption test program.
6. specification according to claim 1 encrypts test method, which is characterized in that described by the communication protocol of calling, tune
The cryptographic protocol of specification agreement and calling is written preset specification and encrypts test template, obtains specification encryption test program,
Specifically:
According to the corresponding messaging parameter of the communication protocol of the preset and described calling, rule corresponding with the specification agreement of the calling
About parameter and encryption parameter corresponding with the cryptographic protocol of the calling complete communication protocol to the calling, the tune
The configuration of the cryptographic protocol of specification agreement and the calling obtains the specification encryption test program.
7. specification according to claim 1 encrypts test method, which is characterized in that described to utilize specification encryption test
Program, which is treated, is measured electric terminals progress specification encryption test, specifically:
After receiving the signal for connecting the distribution terminal to be measured, calls specification interface to start the specification and encrypt test program
Specification encryption test is carried out to the distribution terminal to be measured.
8. a kind of specification of distribution terminal encrypts test device characterized by comprising
Encapsulation unit, for encapsulating communication protocol library, specification protocol library and cryptographic protocol library in advance;Wherein, the communication protocol
Library includes two or more communication protocol, and the specification protocol library includes two or more specification agreement, institute
State the cryptographic protocol that cryptographic protocol library includes two or more;
Receiving unit, communication type selection, protocol type selection and encryption type selection for receiving input;
Call unit, for calling corresponding communication protocol, root in the communication protocol library according to communication type selection
Corresponding specification agreement is called in the specification protocol library according to protocol type selection, is existed according to encryption type selection
Corresponding cryptographic protocol is called in the cryptographic protocol library;
Preset rule are written in configuration unit, the specification agreement of communication protocol, calling for that will call and the cryptographic protocol of calling
Test template is about encrypted, specification encryption test program is obtained;
Test cell is measured electric terminals progress specification encryption test for treating using specification encryption test program.
9. a kind of specification of distribution terminal encrypts test equipment characterized by comprising
Memory, for storing instruction, described instruction include that the specification of distribution terminal described in claim 1 to 7 any one adds
The step of density test method;
Processor, for executing described instruction.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is held by processor
The step of specification of the distribution terminal as described in claim 1 to 7 any one encrypts test method is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910561762.1A CN110224898A (en) | 2019-06-26 | 2019-06-26 | Specification encryption test method, device, equipment and the storage medium of distribution terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910561762.1A CN110224898A (en) | 2019-06-26 | 2019-06-26 | Specification encryption test method, device, equipment and the storage medium of distribution terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110224898A true CN110224898A (en) | 2019-09-10 |
Family
ID=67815060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910561762.1A Pending CN110224898A (en) | 2019-06-26 | 2019-06-26 | Specification encryption test method, device, equipment and the storage medium of distribution terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110224898A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115190054A (en) * | 2022-06-30 | 2022-10-14 | 海南电网有限责任公司电力科学研究院 | Double-master-station batch communication protocol analysis method |
CN115314481A (en) * | 2022-06-29 | 2022-11-08 | 国网信息通信产业集团有限公司 | IEC101/IEC 104-based simulated master station communication method and system |
EP3935798A4 (en) * | 2019-12-20 | 2022-12-14 | Schneider Electric Systems USA, Inc. | Smart wireless adapter |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852177A (en) * | 2005-10-13 | 2006-10-25 | 华为技术有限公司 | Testing adopter and testing tool system and detecting method |
CN102123058A (en) * | 2011-01-19 | 2011-07-13 | 北京神州绿盟信息安全科技股份有限公司 | Test equipment and method for testing network protocol decoder |
CN103730959A (en) * | 2013-12-19 | 2014-04-16 | 广东电网公司电力科学研究院 | Method for testing communication protocols of power distribution network equipment |
CN104079579A (en) * | 2014-07-14 | 2014-10-01 | 国家电网公司 | Power distribution terminal communication encryption protocol detecting method |
CN106330593A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Protocol detection method and device |
CN106603499A (en) * | 2016-11-18 | 2017-04-26 | 国网甘肃省电力公司电力科学研究院 | Safety communication reconstruction method and system for power distribution terminal |
US20180191723A1 (en) * | 2015-06-18 | 2018-07-05 | Jonathan Washbrook | Enhanced load processing using linked hierarchical data structures |
-
2019
- 2019-06-26 CN CN201910561762.1A patent/CN110224898A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852177A (en) * | 2005-10-13 | 2006-10-25 | 华为技术有限公司 | Testing adopter and testing tool system and detecting method |
CN102123058A (en) * | 2011-01-19 | 2011-07-13 | 北京神州绿盟信息安全科技股份有限公司 | Test equipment and method for testing network protocol decoder |
CN103730959A (en) * | 2013-12-19 | 2014-04-16 | 广东电网公司电力科学研究院 | Method for testing communication protocols of power distribution network equipment |
CN104079579A (en) * | 2014-07-14 | 2014-10-01 | 国家电网公司 | Power distribution terminal communication encryption protocol detecting method |
US20180191723A1 (en) * | 2015-06-18 | 2018-07-05 | Jonathan Washbrook | Enhanced load processing using linked hierarchical data structures |
CN106330593A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Protocol detection method and device |
CN106603499A (en) * | 2016-11-18 | 2017-04-26 | 国网甘肃省电力公司电力科学研究院 | Safety communication reconstruction method and system for power distribution terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3935798A4 (en) * | 2019-12-20 | 2022-12-14 | Schneider Electric Systems USA, Inc. | Smart wireless adapter |
US12010736B2 (en) | 2019-12-20 | 2024-06-11 | Schneider Electric Systems Usa, Inc. | Smart wireless adapter |
CN115314481A (en) * | 2022-06-29 | 2022-11-08 | 国网信息通信产业集团有限公司 | IEC101/IEC 104-based simulated master station communication method and system |
CN115314481B (en) * | 2022-06-29 | 2024-07-30 | 国网信息通信产业集团有限公司 | IEC101/IEC 104-based communication method and system for simulating master station |
CN115190054A (en) * | 2022-06-30 | 2022-10-14 | 海南电网有限责任公司电力科学研究院 | Double-master-station batch communication protocol analysis method |
CN115190054B (en) * | 2022-06-30 | 2024-04-05 | 海南电网有限责任公司电力科学研究院 | Double-master-station batch communication protocol analysis method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110224898A (en) | Specification encryption test method, device, equipment and the storage medium of distribution terminal | |
CN103888444B (en) | A kind of safe distribution of electric power authentication device and its method | |
CN109327338A (en) | A kind of electricity information acquisition system master station method for testing pressure and system based on virtual terminal | |
CN105207366B (en) | Distribution terminal plug and play model configuration tool and its implementation based on IEC61850 | |
CN110213058A (en) | A kind of block chain all-in-one machine for realizing data cochain | |
CN110300108A (en) | A kind of power distribution automation message encryption transmission method, system, terminal and storage medium | |
CN107171897A (en) | A kind of interface test method and data-interface test system | |
CN109800029A (en) | Batch sets method, apparatus, terminal and the storage medium of server B IOS parameter | |
CN104216761A (en) | Method for using shared device in device capable of operating two operation systems | |
CN107948970A (en) | System of real name method of network entry, system and the mobile terminal of subordinate terminal | |
CN103368673A (en) | Conformance testing adapter based on TTCN-3 | |
CN113810788A (en) | Intelligent ammeter information transmission method and device and terminal equipment | |
CN110209587A (en) | The test method and device of safety chip operation flow | |
CN104796328B (en) | The gateway host of the data communication equipment of multiplex roles or agreement based on KNX/EIB buses | |
CN208188814U (en) | A kind of embedded device and its remote update system | |
CN106708688A (en) | Module testing method and terminal | |
CN109166199A (en) | A kind of generation method of password, device and equipment | |
CN112994746A (en) | System and method for testing intermediate frequency power line carrier communication module for smart grid | |
CN105405280B (en) | A kind of implementation method for debugging electric power acquisition terminal and obtaining amr message | |
CN107274651A (en) | The acquisition method of business electrical information is monitored based on ODP agreements Demand-Oriented | |
CN109861877A (en) | A kind of distribution network terminal wireless public network communication test system based on cloud service | |
CN106817367A (en) | A kind of data transmission method and system | |
CN107817477B (en) | A kind of signal source system and implementation method of Radar Displaying Console System | |
CN112511635B (en) | Integrated intelligent grid-connected debugging mobile platform based on intelligent terminal | |
CN104578418A (en) | Configuration method and system of automatic power distribution equipment based on 101 protocols, and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190910 |