CN110209587A - The test method and device of safety chip operation flow - Google Patents
The test method and device of safety chip operation flow Download PDFInfo
- Publication number
- CN110209587A CN110209587A CN201910480417.5A CN201910480417A CN110209587A CN 110209587 A CN110209587 A CN 110209587A CN 201910480417 A CN201910480417 A CN 201910480417A CN 110209587 A CN110209587 A CN 110209587A
- Authority
- CN
- China
- Prior art keywords
- test
- safety chip
- operation flow
- instruction
- uses case
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses the test method and device of a kind of safety chip operation flow, the test method includes: to import operation flow set of uses case;According to the corresponding code function of function name and generation the first test instruction of input parameter in the operation flow set of uses case;Safety chip into electric energy meter sends the first test instruction, and carries out smoke test to the safety chip according to the first test instruction;According to the corresponding code function of function name and generation the second test instruction of input parameter in the operation flow set of uses case;And the automation interactive testing of local service and teleaction service is carried out to the safety chip according to the second test instruction.Safety chip operation flow test method provided in this embodiment and device can realize that long-range and local service interaction flow is tested according to business demand, realize that the code between project and project shares.
Description
Technical field
The present invention relates to the operational trialss of safety chip, especially with regard to a kind of test side of safety chip operation flow
Method and device.
Background technique
Intelligent electric energy meter is used for the safety certification of information exchange by insertion safety chip.When electric energy meter is joined by main website
Number setting, prestore the electricity charge, information return write and issue remote control command operation when, should by safety chip carry out safety certification,
Data encrypting and deciphering handles safety and integrality to ensure data transmission.
Existing safety chip operation flow test method is divided into remote testing and local test according to test scene.More
It is commonly achieved in that, long-range main website is simulated using software, safety chip is accessed by way of card reader, realize
The remote testing of business;Then electric energy meter is simulated again, safety chip and IC card, radio frequency is accessed by way of card reader
The solid state mediums such as card, realize the local test of business.Conventional method needs to realize that two softwares are used to simulate main website and this respectively
Ground electric energy meter, two softwares are independently realized, and service logic writes in code, one code of a project.
Based on this, the inventors of the present application found that local and remote business is often intersected in actual operation flow
It carries out, the two business are two softwares in conventional method, and one code of a project can not carry out long-range and local service
Interaction flow test, the code between project and project can not also share, and operation flow test can not be inherited effectively.
The information disclosed in the background technology section is intended only to increase the understanding to general background of the invention, without answering
When being considered as recognizing or imply that the information constitutes the prior art already known to those of ordinary skill in the art in any form.
Summary of the invention
The purpose of the present invention is to provide the test method and device of a kind of safety chip operation flow, it is able to carry out remote
The test of the interaction flow of journey and local service.
To achieve the above object, the present invention provides a kind of test method of safety chip operation flow, the test sides
Method include: import operation flow set of uses case, wherein be stored in the operation flow set of uses case multiple function names and with institute
The corresponding input parameter of function name is stated, the operation flow set of uses case includes teleaction service set of uses case and local service use-case
Collection;According in the operation flow set of uses case the corresponding code function of function name and input parameter generate first test refer to
It enables;Safety chip into electric energy meter sends the first test instruction, and according to the first test instruction to the safety
Chip carries out smoke test;According to the corresponding code function of function name and input parameter in the operation flow set of uses case
Generate the second test instruction;And local service and long-range industry are carried out to the safety chip according to the second test instruction
The automation interactive testing of business.
In a preferred embodiment, described that survey of smoldering is carried out to the safety chip according to the first test instruction
Examination include: according to it is described first test instruction to the safety chip carry out parameter setting, prestore the electricity charge, information return write and under
Send out one of remote control command or a variety of.
In a preferred embodiment, described that survey of smoldering is carried out to the safety chip according to the first test instruction
Examination includes: according to the first test instruction and subscriber card, parameter card, one of copies back card or a variety of, to the safety
Chip carries out local interaction smoke test.
In a preferred embodiment, the automation interactive testing of the local service and teleaction service includes: this
Ground opens an account, remotely opens an account, one of local power purchase, long-range power purchase, long-range refund or a variety of.
In a preferred embodiment, the test method is realized based on safety chip operation flow test device, institute
Stating safety chip operation flow test device includes: simulation main website and simulation ammeter;The safety chip into electric energy meter
Sending described first and testing instruction includes: that the simulation main website is instructed to the first test of transmission of simulation ammeter, the simulation ammeter
The first test instruction is transmitted to safety chip according to 645 agreements.
In a preferred embodiment, further includes: the safety chip carries out safety according to the first test instruction
Certification and data integrity validation;Simulation ammeter is transmitted verification result to, the simulation ammeter forwards the verification result
To the simulation main website.
To achieve the above object, the present invention also provides a kind of test device of safety chip operation flow, the tests
Device includes: import modul, for importing operation flow set of uses case, wherein is stored in the operation flow set of uses case multiple
Function name and input parameter corresponding with the function name, the operation flow set of uses case include teleaction service set of uses case
And local service set of uses case;First directive generation module is connected with the import modul, for according to the operation flow
The corresponding code function of function name and input parameter in set of uses case generate the first test instruction;First test module, with
Described instruction generation module is connected, and sends the first test instruction for the safety chip into electric energy meter, and according to institute
It states the first test instruction and smoke test is carried out to the safety chip;Second directive generation module is connected with the import modul
It connects, for according to the corresponding code function of function name and the second survey of generation of input parameter in the operation flow set of uses case
Examination instruction;And second test module, it is connected with second directive generation module, according to the second test instruction to institute
State the automation interactive testing that safety chip carries out local service and teleaction service.
In a preferred embodiment, the test device of the safety chip operation flow include: simulation main website and
Simulate ammeter;The simulation main website is used to send the first test instruction to the simulation ammeter;The simulation ammeter and the mould
Quasi- main website is connected, for the first test instruction to be transmitted to safety chip according to 645 agreements.
Compared with prior art, safety chip operation flow test method provided in this embodiment, can be according to business need
Realistic existing long-range and local service interaction flow test, realizes that the code between project and project shares.Further, it only needs
The design to carry out use-case to operation flow set of uses case can complete smoke test, not be related to the exploitation of code, compared to biography
The safety chip operational trials frame of system can carry out smoke test, test week quickly according to business Process Design test case
Phase is reduced;Long-range local business process is realized simultaneously and intersects the test scene covering executed, and Test coverage is more comprehensive;
On the basis of instructing current test, business function modelling, it may be convenient to carry out automatic test script exploitation, facilitate progress various
Testing example design, advantage is more obvious in the regression test in product test later period.
Detailed description of the invention
Fig. 1 is the test structural representation according to the safety chip operation flow test device of the preferred embodiment for the present invention
Figure.
Fig. 2 is the flow chart of safety chip operation flow test method according to an embodiment of the present invention.
Fig. 3 is the structural schematic diagram of safety chip operation flow test device according to an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing, specific embodiments of the present invention will be described in detail, it is to be understood that guarantor of the invention
Shield range is not limited by the specific implementation.
Unless otherwise explicitly stated, otherwise in entire disclosure and claims, term " includes " or its change
Changing such as "comprising" or " including " etc. will be understood to comprise stated element or component, and not exclude other members
Part or other component parts.
Embodiment 1
As shown in Figs. 1-2, Fig. 1 is the survey according to the safety chip operation flow test device of the preferred embodiment for the present invention
Structural schematic diagram is tried, Fig. 2 is to survey according to the flow chart of the safety chip operation flow test method of the preferred embodiment for the present invention
Method for testing includes: step S1-S5.
Step S1, safety chip operation flow test device import operation flow set of uses case, wherein the operation flow is used
Example is centrally stored multiple function names and input parameter corresponding with the function name, the operation flow set of uses case packet
Include teleaction service set of uses case and local service set of uses case.
Specifically, operation flow set of uses case can be Excel table.By the way that the instruction of operation flow is written in Excel,
It is specified using the cell content of Excel and calls code function, that is, pass through the sentence dummy instruction stream of Excel, and establish code
Mapping relations between Excel sentence reach by modifying Excel sentence and call different code function, execute different instruction
Stream, to realize the purpose of different use-case tests.Function encapsulation is carried out to order simultaneously, common instruction fixation writes on function
In, but the parameter for flexibly modifying allows user to modify in Excel, facilitates calling, quickly realizes smoke test.
Step S2, safety chip operation flow test device are corresponding according to the function name in the operation flow set of uses case
Code function and input parameter generate first test instruction.
Specifically, can be accomplished by the following way: the operation flow tested as needed passes through operation flow set of uses case
In function name, call corresponding code function, input parameter enters to join as code function, the output result of code function
As the first test instruction.
Step S3, safety chip of the safety chip operation flow test device into electric energy meter send first test and refer to
It enables, and smoke test is carried out to the safety chip according to the first test instruction.
Wherein, smoke test may include teleaction service test, described to be instructed according to first test to the safety
It may include: to carry out parameter setting to the safety chip according to the first test instruction, prestore that chip, which carries out smoke test,
The electricity charge, information, which are returned, one of to be write and issues remote control command or a variety of.
Smoke test can also include that local service is tested, described to be instructed according to first test to the safety chip
Smoke test is carried out to include: according to the first test instruction and subscriber card, parameter card, one of copy back card or a variety of,
Local interaction smoke test is carried out to the safety chip.
It is illustrated with the use-case of long-distance identity-certifying.As shown in table 1, it specifies and to use in operation flow set of uses case
Class name and function name and the parameter of function input, can input multiple parameters, 2 sentences are given in example.When executing the
When one sentence, function IdAuth is called, ginseng 1 and 2 will be entered and pass to code function, send body to remote identity connection password machine
Part authentication command includes cipher machine IP and port numbers that certification needs to use in authentication order.When execution Article 2 sentence
When, function ESAM_IdAuth is called, instruction is sent to chip and obtains temporary key, need exist for sending a plurality of instruction, these refer to
Order all writes in ESAM_IdAuth function, and a parameter input, the parameter of this input are only provided in operation flow set of uses case
It is the table number or other numerical value of electric energy meter, had both ensure that the encapsulation of module in this way or embodied the flexibility used and easy-to-use
Property.
Class name | Function name | Function performance | Enter ginseng 1 | Enter ginseng 2 |
Automation | IdAuth | Authentication | 192.168.19.99 | 10 |
Automation | ESAM_IdAuth | Card reader instruction is sent | 0000000000000003 |
Table 1: operation flow set of uses case
Step S4, safety chip operation flow test device are corresponding according to the function name in the operation flow set of uses case
Code function and input parameter generate second test instruction.
Specifically, carrying out automation interactive testing after in smoke test.Automate interactive testing can by with
Under type is realized: the operation flow tested as needed calls corresponding generation by the function name in operation flow set of uses case
Code function, enter ginseng of the input parameter as code function, the output result of code function is as the second test instruction.Further
Ground, can be set one group needs operation flow to be tested, calls corresponding code function according to preset order, generates the second test
Instruction.
Step S5, according to the second test instruction to oneself of safety chip progress local service and teleaction service
Dynamicization interactive testing.
Specifically, the automation interactive testing of the local service and teleaction service includes: locally to open an account, remotely open
One of family, local power purchase, long-range power purchase, long-range refund are a variety of.
More specifically, automation interactive testing may include preparation before opening an account, interaction of remotely opening an account, local friendship of opening an account
Mutually, remotely open an account local power purchase, local open an account and local supplements a variety of processes such as long-range refund with money at long-range power purchase.
Wherein, prepare to may include long-distance identity-certifying before opening an account, requirement is reset, local authentication, the pre- fabrication of parameter
The interaction of table card, key updating etc..Interaction of remotely opening an account may include long-distance identity-certifying, remotely open an account, remote recharge parameter is more
New and data copy back.Interaction of locally opening an account may include local authentication, and subscriber card, which is opened an account, supplements with money, and the Ka Biaoka that opens an account is handed over
Mutually, long-distance identity-certifying, data copy back.Local power purchase of remotely opening an account may include above-mentioned interaction of remotely opening an account, local identity
Certification, local power purchase card are supplemented with money.Long-range power purchase of locally opening an account may include that above-mentioned local is opened an account interaction, long-distance identity-certifying,
Remote recharge, parameter update, and data copy back.Locally supplementing long-range refund with money may include above-mentioned local power purchase of remotely opening an account,
Long-distance identity-certifying, long-range refund, local authentication, purchase money drawing plat card interaction etc..
The present apparatus is write teleaction service and local business process as the independent functional module that can be run, such as " teleaction service
Process-parameter update ", " remote business process-key updating ", " local business process-subscriber card is opened an account " etc., can have
The various businesses stream for covering the interaction of long-range and local service of effect.Two softwares in conventional method are merged into one by the present apparatus
It rises, can flexibly carry out the interaction configuration of different business process, meet the demand of long-range local service stream interactive testing.Simultaneously
It is integrated with table test, really realizes Test coverage end to end.Since test case is with the shape of operation flow set of uses case
Formula is designed, rather than conventional method is encapsulated in each project in the form of code, succession between project and project
Property and can continuity it is stronger.
Use-case lead-in mode based on operation flow set of uses case provides the business module mode that can flexibly combine.Example
Such as, the use-case that update method is related to has shared three sons such as " parameter readings ", " card reader instruction is sent " and " updating verification " and has used
Example.In actual operation flow, the calling to remote function module and local function module is that interaction carries out, the present embodiment
The test method of offer, entire safety chip automatic test be it is extremely flexible, the multiplexing of each hierarchy module may be implemented.
After the case designing and exploitation for completing smoke test and automatic test, it is only necessary to modify test case
The covering of more business scene is carried out, test frame, which does not need to make any modification, can easily carry out regression test.With
Product development later period iteration number it is more, the advantage of the automatic test device is more obvious.Simultaneously as the later period is not related to
The exploitation and debugging of test device, tester can more be absorbed on testing example design, in existing basic function mould
On the basis of block and business module, change according to demand designs more use-cases, and carry out regression test easily and fast, more
Be conducive to the guarantee of product quality.
The safety chip operation flow test method provided through this embodiment as a result, may be implemented long-range and local industry
The interaction flow of business is tested, and realizes that the code between project and project shares.Further, it is only necessary to operation flow set of uses case
The design for carrying out use-case can complete smoke test, not be related to the exploitation of code, survey compared to traditional safety chip business
Frame is tried, smoke test can be carried out, test period is reduced quickly according to business Process Design test case;It is real simultaneously
Long-range local business process is showed and has intersected the test scene covering executed, Test coverage is more comprehensive;On instruction current test basis
On, business function modelling, it may be convenient to automatic test script exploitation is carried out, facilitates and carries out various testing example designs,
Advantage is more obvious in the regression test in product test later period.
In one implementation, the safety chip operation flow test device may include: simulation main website and mould
Quasi- ammeter.
Safety chip hair of the safety chip operation flow test device into electric energy meter in the present embodiment step S3
Sending the first test instruction may include: step S31, and the simulation main website sends the first test instruction, institute to simulation ammeter
It states simulation ammeter and the first test instruction is transmitted to safety chip according to 645 agreements.
Correspondingly, the test method in the present embodiment further include: step S61, the safety chip are surveyed according to described first
Examination instruction carries out safety certification and data integrity validation.
Step S62, transmits verification result to simulation ammeter, and the verification result is transmitted to described by the simulation ammeter
Simulate main website.
The safety chip operation flow test method provided through this embodiment as a result, can be according to actual test need
It wants, selection carries out the test of the long-range and local service based on electric energy meter.When simulating main website and safety chip carries out service interaction,
Data are sent to safety chip by ammeter by 645 agreements of electric energy meter, and safety chip has carried out safety certification and data are complete
Property verifying after, then simulation main website is transmitted to by ammeter.In local process, safety chip is directly interacted with electric energy meter, is realized
The occurrence of complete operation flow is interactive, effectively prevents subsequent upper table test failure.
In the test device of the present embodiment, flows based on instruction and operational trials has been subjected to modularization.Here modularization,
Parameter is updated, the long-range function points modularization such as control, zeros data, for different test scenes, it is only necessary to which input is not
The change of key state can be completed in same parameter, to realize that positive or reversed module is called.For different files
Parameter update, also only needing to input different filename and offset address in case designing can be completed to different files
Parameter updating operation, these are realized by calling the first test instruction.
Embodiment 2
As shown in Fig. 2, it is the structure according to the safety chip operation flow test device of the preferred embodiment for the present invention
Schematic diagram.
The test device includes: import modul 1, the first directive generation module 2, the instruction life of the first test module 3, second
At module 4, the second test module 5.
Import modul 1 is for importing operation flow set of uses case, wherein is stored with multiple letters in the operation flow set of uses case
Several titles and input parameter corresponding with the function name, the operation flow set of uses case include teleaction service set of uses case with
And local service set of uses case.
First directive generation module 2 is connected with the import modul 1, for according in the operation flow set of uses case
The corresponding code function of function name and input parameter generate the first test instruction.
First test module 3 is connected with described instruction generation module 2, sends institute for the safety chip into electric energy meter
The first test instruction is stated, and smoke test is carried out to the safety chip according to the first test instruction.
Second directive generation module 4 is connected with the import modul 1, for according in the operation flow set of uses case
The corresponding code function of function name and input parameter generate the second test instruction.
Second test module 5 is connected with second directive generation module 4, according to the second test instruction to described
Safety chip carries out the automation interactive testing of local service and teleaction service.
The safety chip operation flow test method provided through this embodiment as a result, may be implemented long-range and local industry
The interaction flow of business is tested, and realizes that the code between project and project shares.Further, it is only necessary to which use-case is carried out to Excel
Design can complete smoke test, be not related to the exploitation of code, compared to traditional safety chip operational trials frame, energy
Quickly according to business Process Design test case, carry out smoke test, test period is reduced;Long-range sheet is realized simultaneously
Ground operation flow intersects the test scene covering executed, and Test coverage is more comprehensive;On the basis of instructing current test, business function
Modelling, it may be convenient to carry out automatic test script exploitation, facilitate and carry out various testing example designs, product test later period
Regression test in advantage it is more obvious.
In one implementation, the test device of the safety chip operation flow includes: simulation main website and simulation
Ammeter.The simulation main website is used to send the first test instruction to simulation ammeter;The simulation ammeter and simulation main website phase
Connection, for the first test instruction to be transmitted to safety chip according to 645 agreements.
It should be noted that the first directive generation module 2, the setting of the first test module 3 exist when for teleaction service test
It simulates in main website, when for local service test, the first directive generation module 2, the first test module 3 are arranged in ammeter.The
Two directive generation modules 4, the setting of the second test module 5 are in simulation main website.
The safety chip operation flow test device provided through this embodiment as a result, can be according to actual test need
It wants, selection carries out the test of the long-range and local service based on electric energy meter.When simulating main website and safety chip carries out service interaction,
Data are sent to safety chip by ammeter by 645 agreements of electric energy meter, and safety chip has carried out safety certification and data are complete
Property verifying after, then simulation main website is transmitted to by ammeter.In local process, safety chip is directly interacted with electric energy meter, is realized
The occurrence of complete operation flow is interactive, effectively prevents subsequent upper table test failure.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The aforementioned description to specific exemplary embodiment of the invention is in order to illustrate and illustration purpose.These descriptions
It is not wishing to limit the invention to disclosed precise forms, and it will be apparent that according to the above instruction, can much be changed
And variation.The purpose of selecting and describing the exemplary embodiment is that explaining specific principle of the invention and its actually answering
With so that those skilled in the art can be realized and utilize a variety of different exemplary implementation schemes of the invention and
Various chooses and changes.The scope of the present invention is intended to be limited by claims and its equivalents.
Claims (8)
1. a kind of test method of safety chip operation flow, which is characterized in that the test method includes:
Import operation flow set of uses case, wherein be stored in the operation flow set of uses case multiple function names and with it is described
The corresponding input parameter of function name, the operation flow set of uses case include teleaction service set of uses case and local service use-case
Collection;
According to the corresponding code function of function name and the first test of generation of input parameter in the operation flow set of uses case
Instruction;
Safety chip into electric energy meter sends the first test instruction, and according to the first test instruction to the safety
Chip carries out smoke test;
According to the corresponding code function of function name and the second test of generation of input parameter in the operation flow set of uses case
Instruction;And
It is surveyed according to the automation interaction that the second test instruction carries out local service and teleaction service to the safety chip
Examination.
2. test method as described in claim 1, which is characterized in that described to be instructed according to first test to the safety
Chip carries out smoke test
According to it is described first test instruction to the safety chip carry out parameter setting, prestore the electricity charge, information is returned and writes and issue
One of remote control command is a variety of.
3. test method as described in claim 1, which is characterized in that described to be instructed according to first test to the safety
Chip carries out smoke test
According to the first test instruction and subscriber card, parameter card, one of card is copied back or a variety of, to the safety chip
Carry out local interaction smoke test.
4. test method as described in claim 1, which is characterized in that the automation of the local service and teleaction service is handed over
It mutually tests and includes:
It locally opens an account, remotely open an account, one of local power purchase, long-range power purchase, long-range refund or a variety of.
5. test method as described in claim 1, the test method is realized based on safety chip operation flow test device,
It is characterized in that, the safety chip operation flow test device includes: simulation main website and simulation ammeter;
The safety chip into electric energy meter sends the first test instruction
The simulation main website sends the first test instruction to simulation ammeter, and the simulation ammeter is according to 645 agreements by described first
Test instruction is transmitted to safety chip.
6. test method as claimed in claim 5, which is characterized in that further include:
The safety chip carries out safety certification and data integrity validation according to the first test instruction;
Simulation ammeter is transmitted verification result to, the verification result is transmitted to the simulation main website by the simulation ammeter.
7. a kind of test device of safety chip operation flow, which is characterized in that the test device includes:
Import modul, for importing operation flow set of uses case, wherein be stored with multiple function names in the operation flow set of uses case
Claim and input parameter corresponding with the function name, the operation flow set of uses case include teleaction service set of uses case and sheet
Ground business set of uses case;
First directive generation module is connected with the import modul, for according to the function in the operation flow set of uses case
The corresponding code function of title and input parameter generate the first test instruction;
First test module is connected with described instruction generation module, sends described for the safety chip into electric energy meter
One test instruction, and smoke test is carried out to the safety chip according to the first test instruction;
Second directive generation module is connected with the import modul, for according to the function in the operation flow set of uses case
The corresponding code function of title and input parameter generate the second test instruction;And
Second test module is connected with second directive generation module, according to the second test instruction to the safety
Chip carries out the automation interactive testing of local service and teleaction service.
8. test device as claimed in claim 7, which is characterized in that the test device packet of the safety chip operation flow
It includes: simulation main website and simulation ammeter;
The simulation main website is used to send the first test instruction to the simulation ammeter;
The simulation ammeter is connected with the simulation main website, for being transmitted to the first test instruction according to 645 agreements
Safety chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910480417.5A CN110209587B (en) | 2019-06-04 | 2019-06-04 | Method and device for testing service process of security chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910480417.5A CN110209587B (en) | 2019-06-04 | 2019-06-04 | Method and device for testing service process of security chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110209587A true CN110209587A (en) | 2019-09-06 |
CN110209587B CN110209587B (en) | 2022-11-29 |
Family
ID=67790612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910480417.5A Active CN110209587B (en) | 2019-06-04 | 2019-06-04 | Method and device for testing service process of security chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209587B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111984543A (en) * | 2020-09-07 | 2020-11-24 | 中国银行股份有限公司 | Instruction testing method, device and system |
CN114880242A (en) * | 2022-06-08 | 2022-08-09 | 北京百度网讯科技有限公司 | Test case extraction method, device, equipment and medium |
CN115202952A (en) * | 2022-09-15 | 2022-10-18 | 北京智芯微电子科技有限公司 | Method and system for testing cost control function of electric energy meter, test host and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331971A (en) * | 2011-09-01 | 2012-01-25 | 北京用友政务软件有限公司 | QTP (Quick Test Profession)-based automatic testing method and system |
CN104484269A (en) * | 2014-11-27 | 2015-04-01 | 北京广利核系统工程有限公司 | Method for automatically generating testing script |
WO2016090908A1 (en) * | 2014-12-12 | 2016-06-16 | 国家电网公司 | Memory simulation testing board system and testing method for embedded application of intelligent electric meter |
CN205692280U (en) * | 2016-06-13 | 2016-11-16 | 中国南方电网有限责任公司电网技术研究中心 | Detection apparatus for cost control function of cost control interaction terminal |
CN108536584A (en) * | 2018-03-12 | 2018-09-14 | 广东睿江云计算股份有限公司 | A kind of automated testing method based on Sikuli |
-
2019
- 2019-06-04 CN CN201910480417.5A patent/CN110209587B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331971A (en) * | 2011-09-01 | 2012-01-25 | 北京用友政务软件有限公司 | QTP (Quick Test Profession)-based automatic testing method and system |
CN104484269A (en) * | 2014-11-27 | 2015-04-01 | 北京广利核系统工程有限公司 | Method for automatically generating testing script |
WO2016090908A1 (en) * | 2014-12-12 | 2016-06-16 | 国家电网公司 | Memory simulation testing board system and testing method for embedded application of intelligent electric meter |
CN205692280U (en) * | 2016-06-13 | 2016-11-16 | 中国南方电网有限责任公司电网技术研究中心 | Detection apparatus for cost control function of cost control interaction terminal |
CN108536584A (en) * | 2018-03-12 | 2018-09-14 | 广东睿江云计算股份有限公司 | A kind of automated testing method based on Sikuli |
Non-Patent Citations (1)
Title |
---|
CSDN用户:晴空06: "测试用例管理工具(testlink&excel)", 《CSDN,网址:HTTPS://BLOG.CSDN.NET/SUNNYGIRLTEST/ARTICLE/DETAILS/82993607》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111984543A (en) * | 2020-09-07 | 2020-11-24 | 中国银行股份有限公司 | Instruction testing method, device and system |
CN111984543B (en) * | 2020-09-07 | 2023-09-22 | 中国银行股份有限公司 | Instruction testing method, device and system |
CN114880242A (en) * | 2022-06-08 | 2022-08-09 | 北京百度网讯科技有限公司 | Test case extraction method, device, equipment and medium |
CN114880242B (en) * | 2022-06-08 | 2023-01-13 | 北京百度网讯科技有限公司 | Test case extraction method, device, equipment and medium |
CN115202952A (en) * | 2022-09-15 | 2022-10-18 | 北京智芯微电子科技有限公司 | Method and system for testing cost control function of electric energy meter, test host and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110209587B (en) | 2022-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105302950B (en) | A kind of programmable logic device crosslinking emulation test method of soft and hardware collaboration | |
CN103678745B (en) | Cross-platform multi-level integrated design system for FPGA | |
CN103178996B (en) | Distributed packet-switching chip model verification system and method | |
Chen et al. | Implementing a real-time cyber-physical system test bed in RTDS and OPNET | |
CN110209587A (en) | The test method and device of safety chip operation flow | |
CN105068818B (en) | Generate the method, apparatus of channel packet and method, the system of Mass production channel packet | |
CN104101791A (en) | Relay protection device fixed vale automatic test method and system | |
De Souza et al. | A co-simulation platform for evaluating cyber security and control applications in the smart grid | |
CN105005015A (en) | Circuit fault simulation system based on hardware circuit fault injection | |
CN110321292A (en) | Chip detecting method, device, electronic equipment and computer readable storage medium | |
CN105093017B (en) | Intelligent substation GOOSE integrated testabilities device and its method of testing | |
CN105224753A (en) | The multi-specialized design verification platform of non-active nuclear power plant | |
CN104935936A (en) | Entropy decoder authentication method based on UVM and device | |
Mirz et al. | A cosimulation architecture for power system, communication, and market in the smart grid | |
CN104391247A (en) | Relay protection test method and system based on IEC61850 digital tester | |
Le‐Huy et al. | Real‐time electromagnetic transient and transient stability co‐simulation based on hybrid line modelling | |
CN103580954A (en) | Device and method for verifying switch chip through software simulation | |
Ayello et al. | Interoperability based on IEC 61850 standard: Systematic literature review, certification method proposal, and case study | |
CN110224898A (en) | Specification encryption test method, device, equipment and the storage medium of distribution terminal | |
CN106301976A (en) | A kind of intelligent substation schedule information automated testing method | |
CN107545116A (en) | A kind of intelligent substation reorganization and expansion change impact analysis method based on model decoupling | |
CN108228965B (en) | Simulation verification method, device and equipment for memory cell | |
CN104703197A (en) | Terminal protocol consistency testing platform and terminal protocol consistency testing method based on TTCN-3 | |
CN102929651B (en) | Chip-array-based on-line loading system and loading method thereof | |
CN107526585B (en) | Scala-based FPGA development platform and debugging and testing method thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |