Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for testing service process of security chip

A security chip and business process technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem of inability to conduct remote and local business interaction process testing, project and project codes cannot be shared, and business process testing cannot be effective Inheritance and other issues to achieve the effect of facilitating the development of automated test scripts, comprehensive test coverage, and convenient design

Active Publication Date: 2019-09-06
BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY +2
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, the inventor of the present application found that in the actual business process, local and remote business are often carried out crosswise. In the traditional method, these two businesses are two softwares, one project and one code, and it is impossible to carry out remote and local business The interactive process test, the code between projects cannot be shared, and the business process test cannot be effectively inherited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for testing service process of security chip
  • Method and device for testing service process of security chip
  • Method and device for testing service process of security chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] Such as Figure 1-2 as shown, figure 1 It is a schematic diagram of the testing structure of the security chip business process testing device according to the preferred embodiment of the present invention, figure 2 It is a flowchart of a security chip business process testing method according to a preferred embodiment of the present invention, and the testing method includes: steps S1-S5.

[0023] Step S1, the security chip business process testing device imports a business process use case set, wherein the business process use case set stores a plurality of function names and input parameters corresponding to the function names, and the business process use case set includes remote business use cases set and the set of local business use cases.

[0024] Specifically, the business process use case set may be an Excel table. By writing the instructions of the business process into Excel, using the cell content of Excel to specify the calling code function, that is, ...

Embodiment 2

[0050] Such as figure 2 As shown in , it is a schematic structural diagram of a security chip business process testing device according to a preferred embodiment of the present invention.

[0051] The test device includes: an import module 1 , a first instruction generation module 2 , a first test module 3 , a second instruction generation module 4 , and a second test module 5 .

[0052] The import module 1 is used to import a business process use case set, wherein the business process use case set stores a plurality of function names and input parameters corresponding to the function names, and the business process use case set includes a remote business use case set and a local business Set of use cases.

[0053] The first instruction generation module 2 is connected with the import module 1, and is used to generate the first test instruction according to the code function corresponding to the function name in the business process use case set and the input parameters.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for testing a service process of a security chip. The method comprises the following steps of: importing a service process case set; generating a first test instruction according to a code function corresponding to a function name in the service process case set and input parameters; sending the first test instruction to a security chip in an electricenergy meter, and carrying out smoking test on the security chip according to the first test instruction; generating a second test instruction according to a code function corresponding to a functionname in the service process case set and input parameters; and according to the second test instruction, carrying out an automatic interaction test of a local service and a remote service on the security chip. Remote and local business interaction process testing can be realized according to business requirements, and code sharing between projects is realized.

Description

technical field [0001] The present invention relates to the service test of a security chip, in particular to a test method and device for a security chip service flow. Background technique [0002] The smart energy meter is used for security authentication of information interaction by embedding a security chip. When the master station performs parameter setting, pre-stored electricity charges, information write-back, and remote control command operations on the energy meter, it should perform security authentication and data encryption and decryption processing through the security chip to ensure the security and integrity of data transmission. [0003] Existing security chip business process testing methods are divided into remote testing and local testing according to testing scenarios. The more commonly used implementation method is to use software to simulate the remote master station, access the security chip through the card reader, and realize the remote test of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 周静付青琴赵东艳刘佳王锐白雪松孙韬王聪史玉洁张伟赵世杰
Owner BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products