CN108182061A - All-purpose card card script tests system - Google Patents

All-purpose card card script tests system Download PDF

Info

Publication number
CN108182061A
CN108182061A CN201711478693.5A CN201711478693A CN108182061A CN 108182061 A CN108182061 A CN 108182061A CN 201711478693 A CN201711478693 A CN 201711478693A CN 108182061 A CN108182061 A CN 108182061A
Authority
CN
China
Prior art keywords
card
script
library
tests system
executor
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
Application number
CN201711478693.5A
Other languages
Chinese (zh)
Inventor
刘朋飞
卢涛
李冰
段灿伟
李旭
刘焱
王雷
王渝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Newcapec Electronics Co Ltd
Original Assignee
Newcapec Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Newcapec Electronics Co Ltd filed Critical Newcapec Electronics Co Ltd
Priority to CN201711478693.5A priority Critical patent/CN108182061A/en
Publication of CN108182061A publication Critical patent/CN108182061A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of all-purpose card card script test system, including:Script-editor, for provide write script, perform script Integrated Development Environment;Script resolver, for analyzing morphology, syntax and semantics and parsing script, constant, variable and rule;Script executor for the execution of script, is directly interacted with card.Card test period is greatly shortened, so as to improve newly-increased card custom service efficiency, card operation flow uses script development scheme custom service demand, at low cost, efficient.

Description

All-purpose card card script tests system
Technical field
The invention belongs to all-purpose card card technical field of measurement and test more particularly to a kind of all-purpose card card script test systems.
Background technology
Due to the gradually expansion in all-purpose card service impact face, system needs the card vendor supported, cards more and more, card Need the personnel put into and time also more and more in piece exploitation, card test.Ka Chang and bank are all to use scripting at present Flow carries out card encrypted initialization, and company's One IC Card Project is still in a manner that customized development writes program code now It supports live card encrypted initialization, is faced with that the development cycle is long, and publication update is slow, the problems such as maintenance management complexity.It removes Except this, current card test period is long so that card management efficiency is low.
Invention content
In order to solve the above technical problems, the present invention provides a kind of all-purpose card card script test system.In order to disclosure There are one basic understandings for some aspects of embodiment, and simple summary is shown below.The summarized section is not extensive overview, Nor it to determine key/critical component or describe the protection domain of these embodiments.Its sole purpose is with simple Some concepts are presented in form, in this, as the preamble of following detailed description.
The present invention adopts the following technical scheme that:
In some optional embodiments, a kind of all-purpose card card script test system is provided, including:Script-editor, For provide write script, perform script Integrated Development Environment;Script resolver, for analyzing morphology, syntax and semantics, with And parsing script, constant, variable and rule;Script executor for the execution of script, is directly interacted with card.
In some optional embodiments, all-purpose card card script test system further includes:Card reader communicates Library, for shielding the difference of bottom card-reader style, a virtual universal standard card reader, the APDU for encapsulating standard instructs lattice Formula.
In some optional embodiments, the card reader communication library is read by APDU instruction databases, CCID card reader library, HID Ka Qiku and 2.4G card reading modules library forms.
In some optional embodiments, all-purpose card card script test system further includes:Public function library, For encapsulating general function;The public function library includes encryption interface library, public algorithm library, general purpose function library and card Instruction set library forms.
In some optional embodiments, the script executor includes:Journal module and instruction perform library, journal module For recording the script executor implementation procedure, the execution function of script executor is transferred in described instruction performs library.
Advantageous effect caused by the present invention:Card test period is greatly shortened, so as to improve newly-increased card customization industry Business efficiency, card operation flow uses script development scheme custom service demand, at low cost, efficient.
For above-mentioned and relevant purpose, one or more embodiments include will be explained in below and in claim In the feature that particularly points out.Certain illustrative aspects are described in detail in following explanation and attached drawing, and its instruction is only Some modes in the utilizable various modes of principle of each embodiment.Other benefits and novel features will be under The detailed description in face is considered in conjunction with the accompanying and becomes apparent, the disclosed embodiments be will include all these aspects and they Be equal.
Description of the drawings
Fig. 1 is a kind of module diagram of all-purpose card card script test system of the present invention;
Fig. 2 is a kind of schematic diagram of all-purpose card card script test system of the present invention.
Specific embodiment
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to Put into practice them.Other embodiments can include structure, logic, it is electrical, process and other change.Embodiment Only represent possible variation.Unless explicitly requested, otherwise individual components and functionality is optional, and the sequence operated can be with Variation.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.This hair The range of bright embodiment includes equivalent obtained by the entire scope of claims and all of claims Object.
As illustrated in fig. 1 and 2, in some illustrative embodiments, a kind of all-purpose card card script test system is provided, only It needs to write the related service demand that card can be completed in script according to card COS, specifically include:Script-editor 1, script solution Parser 2, script executor 3, card reader communication library 4 and public function library.Define the create-rule and algorithm of script file, exploitation Script-editor 1 and script resolver 2, script file encryption storage, it is ensured that the safety of script file data, card business foot This change reduces customized development, avoids the modification of program code, saves program compiling, and the link loss of publication reduces overall work Amount improves customized development efficiency.
Script-editor 1, for provide write script, perform script Integrated Development Environment, by script encryption, decryption is dynamic State library.
Script resolver 2, call database access interface, for analyze morphology, syntax and semantics and parsing script, Constant, variable and rule parse script among card, and script contains variable and simple calculations function 3DES/ among card SUBSTR etc..
Script executor 3 for the execution of script, is directly interacted with card, calls algorithm interface, encryption interface Deng.
Card reader communicates library 4, for shielding the difference of bottom card-reader style, a virtual universal standard card reader, envelope The APDU instruction formats of dress standard.Card reader communicates library 4 by APDU instruction databases, CCID card reader library, HID card reader library and 2.4G Card reading module library forms.
Public function library 5, for encapsulating general function.The public function library 5 includes encryption interface library, public calculation Faku County, general purpose function library and card instruction set library composition.
Grammer includes:File header and file content, file header are made of fixed part, variable part and configurable part, Fixed part includes:Version, developer's name, writes time and last edit session at type of card;Variable part encryption is set Standby web services address;Configurable part is used to determine whether connection encryption equipment.
In some illustrative embodiments, script executor includes:Journal module and instruction perform library, and journal module is used In recording the script executor implementation procedure, the execution function of script executor is transferred in described instruction performs library.
It should also be appreciated by one skilled in the art that the various illustrative boxes, the mould that are described with reference to the embodiments herein Block, circuit and algorithm steps can be implemented as electronic hardware, computer software or combination.In order to clearly demonstrate hardware and Interchangeability between software above carries out various illustrative components, frame, module, circuit and step around its function It is generally described.Hardware is implemented as this function and is also implemented as software, depending on specifically applying and to entire The design constraint that system is applied.Those skilled in the art can be directed to each specific application, be realized in a manner of flexible Described function, it is still, this to realize that decision should not be construed as the protection domain away from the disclosure.

Claims (5)

1. all-purpose card card script tests system, which is characterized in that including:
Script-editor, for provide write script, perform script Integrated Development Environment;
Script resolver, for analyzing morphology, syntax and semantics and parsing script, constant, variable and rule;
Script executor for the execution of script, is directly interacted with card.
2. all-purpose card card script according to claim 1 tests system, which is characterized in that further includes:Card reader communicates Library, for shielding the difference of bottom card-reader style, a virtual universal standard card reader, the APDU for encapsulating standard instructs lattice Formula.
3. all-purpose card card script according to claim 2 tests system, which is characterized in that the card reader communication library by APDU instruction databases, CCID card reader library, HID card reader library and 2.4G card reading modules library composition.
4. all-purpose card card script according to claim 3 tests system, which is characterized in that further includes:Public function library, For encapsulating general function;The public function library includes encryption interface library, public algorithm library, general purpose function library and card Instruction set library forms.
5. all-purpose card card script according to claim 4 tests system, which is characterized in that the script executor packet It includes:Journal module and instruction perform library, and journal module for recording the script executor implementation procedure, hold by script executor Line function is transferred in described instruction performs library.
CN201711478693.5A 2017-12-29 2017-12-29 All-purpose card card script tests system Pending CN108182061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711478693.5A CN108182061A (en) 2017-12-29 2017-12-29 All-purpose card card script tests system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711478693.5A CN108182061A (en) 2017-12-29 2017-12-29 All-purpose card card script tests system

Publications (1)

Publication Number Publication Date
CN108182061A true CN108182061A (en) 2018-06-19

Family

ID=62548987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711478693.5A Pending CN108182061A (en) 2017-12-29 2017-12-29 All-purpose card card script tests system

Country Status (1)

Country Link
CN (1) CN108182061A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110736920A (en) * 2019-09-25 2020-01-31 北京握奇智能科技有限公司 card testing method and system based on engineering management test script
CN112052184A (en) * 2020-09-29 2020-12-08 北京智芯微电子科技有限公司 Automatic generation method and device for test script and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479333A (en) * 2010-11-25 2012-05-30 上海华虹集成电路有限责任公司 Non-contact IC card instruction test system and method
CN102622231A (en) * 2012-02-29 2012-08-01 扬州大学 Radio frequency identification middleware integrated method based on extensible markup language
CN103020559A (en) * 2012-12-06 2013-04-03 南京莱斯信息技术股份有限公司 General card reading method of medical insurance medical treatment card terminals
CN104200247A (en) * 2014-08-19 2014-12-10 大唐微电子技术有限公司 Method, device and terminal for processing personalized data
CN105335285A (en) * 2014-08-13 2016-02-17 上海华虹集成电路有限责任公司 Implementation method of double-interface smart card test system compatible with multiple test platforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479333A (en) * 2010-11-25 2012-05-30 上海华虹集成电路有限责任公司 Non-contact IC card instruction test system and method
CN102622231A (en) * 2012-02-29 2012-08-01 扬州大学 Radio frequency identification middleware integrated method based on extensible markup language
CN103020559A (en) * 2012-12-06 2013-04-03 南京莱斯信息技术股份有限公司 General card reading method of medical insurance medical treatment card terminals
CN105335285A (en) * 2014-08-13 2016-02-17 上海华虹集成电路有限责任公司 Implementation method of double-interface smart card test system compatible with multiple test platforms
CN104200247A (en) * 2014-08-19 2014-12-10 大唐微电子技术有限公司 Method, device and terminal for processing personalized data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
严婷婷: "智能卡操作系统测试脚本语言的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110736920A (en) * 2019-09-25 2020-01-31 北京握奇智能科技有限公司 card testing method and system based on engineering management test script
CN112052184A (en) * 2020-09-29 2020-12-08 北京智芯微电子科技有限公司 Automatic generation method and device for test script and storage medium

Similar Documents

Publication Publication Date Title
US8966635B2 (en) Software module object analysis
CN103136107A (en) Variable debugging method of embedded program dynamic storage allocation
CN109101237A (en) The encryption Compilation Method and device of code
CN105791178B (en) Message assemble method and device
CN111881102A (en) Method, device and readable medium for collecting audit logs based on AOP (automatic optical plane protocol) section
CN104407980A (en) Mobile application automated testing device and method
CN105590051A (en) Trusted application generation and installation method used for trusted execution environment
CN103631705B (en) A kind of regression testing method and device for search engine
CN104679513A (en) Device driver architecture development method in intelligent terminal
CN108182061A (en) All-purpose card card script tests system
JP3706065B2 (en) Porting various source languages to execution media
CN104462943B (en) Non-intrusion type performance monitoring apparatus and method in operation system
CN110032392A (en) Service administering method and device, storage medium and electronic equipment
CN102929600A (en) ELF (executable and linkable format)-based monitoring system version recognition method
US20110067018A1 (en) Compiler program, compilation method, and computer system
KR20080008969A (en) System and method for change logging in a firmware over the air development environment
CN105068910B (en) The method of testing and device of a kind of smart card
CN107092478B (en) A kind of integrated system and method for software component library and component development tool
CN102480467A (en) SOC (System on a Chip) software and hardware collaborative simulation verification method based on network communication protocol
CN105933767A (en) Middleware device, middleware realization method and television set
CN101706737A (en) Method for constructing synergic function library of software and hardware
CN110262830A (en) A kind of method of the mobile terminal based on application secondary development
CN111124373A (en) Test software development method and device and test equipment
CN114625483A (en) Virtual IC card, manufacturing method and device thereof, virtual IC card testing system and method
CN109542444A (en) Monitoring method, device, server and the storage medium of JAVA application

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

Application publication date: 20180619

RJ01 Rejection of invention patent application after publication