CN103955392A - Generation method and system for intelligent card writing-in file - Google Patents
Generation method and system for intelligent card writing-in file Download PDFInfo
- Publication number
- CN103955392A CN103955392A CN201410215778.4A CN201410215778A CN103955392A CN 103955392 A CN103955392 A CN 103955392A CN 201410215778 A CN201410215778 A CN 201410215778A CN 103955392 A CN103955392 A CN 103955392A
- Authority
- CN
- China
- Prior art keywords
- demand
- module
- user
- template
- verification
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a generation system for an intelligent card writing-in file. The generation system comprises a demanding template module, a demanding operation module, a checking rule module, a demanding report generation module, a system parameter module, an instruction stream generation module and a log generation module. The demanding template module is used for providing demanding formats with uniform standards to a user and receiving individualized setting for demanding of the user; the demanding operation module is used for receiving operation which is carried out on the individualized demanding by a demanding template through the user; the checking rule module is used for checking demanding data; the demanding report generation module is used for generating a demanding report; the system parameter module is used for defining individualized setting parameters of the system, a storage path of a system attached file, inner and outer interface parameters of the system and an attribute of an accessed object or medium; the instruction stream generation module is used for generating an instruction stream and writing the instruction stream into an intelligent card; the log generation module is used for outputting debugging information when the user logs in and operates and the system is operated. The generation system for the intelligent card writing-in file can be used for improving the working efficiency.
Description
Technical field
The invention belongs to the communications field, particularly relate to a kind of document generating method and system of smart card.
Background technology
Smart card can storing various information bring many convenience to people's life with it, make people's life more convenient, under normal circumstances, all need first specific user information to be write in smart card, in writing these information, need to first collect user's demand information, due to user's diversified demand, and the kind variation of information, therefore, the form of the demand, the kind of information is also very scattered, form disunity, and even sometimes demand data is incorrect, imperfect.Smart card, according to the demand writing information, need to, by manually arranging these lack of standardization, scattered information on EXCEL, although can accomplish demand uniform format, still not ensure the correctness of data and the integrality of data; In addition, the instruction stream exploitation of writing in files still needs artificial exploitation, and human resources drop into high, length consuming time, development efficiency is low, easily makes mistakes, restrict greatly the efficient application of smart card, urgently developed a kind of generation method and system of efficient smart card writing in files.
Summary of the invention
A kind of generation system of smart card writing in files, it is characterized in that: comprise, demand formwork module, demand operational module, verification rule module, statement of requirements generation module, systematic parameter module, instruction stream generation module, daily record generation module, wherein, demand formwork module is used to user provides standard unified demand form, user calls this demand formwork module its demand is carried out to personal settings, demand operational module is that user utilizes the demand template generating in demand formwork module to operate personalized demand, verification rule module is demand data that user is arranged in demand operational module is carried out verification module according to preset rules, statement of requirements generation module is for generating statement of requirements by user's personal settings, systematic parameter module definition the personal settings parameter of system, the store path of system appended document, the inside and outside interface parameters of system, accessed object or Jie's qualitative attribution, instruction stream generation module comprises the instruction stream that generates smart card writing in files, and the instruction stream of smart card writing in files is write to smart card, daily record generation module is mainly used in exporting user's login, Debugging message when operation and system operation, this demand formwork module comprises drawing template establishment, editing template, deletion template and separately deposits template, template in described demand formwork module is template expansion XML by name, and its data layout is XML.And acquiescence provides a set of name to be called the demand template of " default.xml " in this demand formwork module; Demand operational module comprises establishment demand, editor's demand, preservation demand and separately deposits demand, the expansion UXP by name of demand file, and data layout is XML; Verification rule module is divided into rule definition module and rule execution module, and rule definition module comprises newly-built rule, editing rule, deletion rule, activation rule, and rule execution module comprises regular verification, output verification result; Rule execution module is executing rule verification under following situations:
1): verification rule occurs to carry out after changing demand data;
2): executing rule verification while opening demand, executing rule verification while preserving demand;
3): executing rule verification when demand is saved as demand template;
4 :) executing rule verification while opening demand template;
5): executing rule verification while preserving demand template;
6): user can be for the verification of current demand executing rule;
7): part demand and all demands of appointment are initiatively carried out verification rule.
Output verification result after executing rule verification, the output of check results divides three kinds of forms:
1): output to check results control desk, user can save as control desk check results TXT file;
2): output to journal file;
3): according to the state of the legal and illegal mark input module of result, the legal input module state of result is original state, and illegal component states is labeled as frame purple.
The instruction stream that generates smart card writing in files comprises: 1) instruction stream parameter is configured, namely configure COS system, configuration-direct stream outgoing route, configuration card reader, 2) generate instruction stream, by instruction stream parameter and file system demand spanned file system directive stream, and the instruction stream system of carrying out is write card; The form of daily record output is divided into two kinds: 1) control desk output, and daily record outputs to daily record control desk, and user can real time inspection daily record; 2) journal file output, daily record outputs to journal file, as filing and follow-uply checking use;
This smart card writing in files generation method comprises the following steps:
A) select demand template, user utilizes demand formwork module to select demand template according to the demand of oneself, if there is no be applicable to the demand template of user's request, user can utilize the establishment demand template in demand formwork module to come to create new demand template according to the demand of oneself, then selects the demand template of the new demand template creating as user oneself;
B) user utilizes demand operational module to carry out newly-built demand;
C) user utilizes demand operational module to carry out editor's demand;
D) user utilizes regular correction verification module to carry out verification demand, if demand verification do not pass through, output verification abnormal results, and return to step C, if verification by; perform step E;
E) user utilizes demand operational module to carry out preservation demand, and user can jump to arbitrarily F or G step according to the needs of oneself;
F) user utilizes statement of requirements generation module to derive user's request, and its demand form comprises Html form, and user can be according to oneself need to leap to step J;
G) user utilizes instruction stream generation module to carry out selection instruction stream development parameters;
H) family utilizes instruction stream generation module to create file system instruction stream;
I) smart card is carried out to the writing operation of writing in files;
J) finish.
The present invention is converted to user's original demands user's request and the machine demand of same form, machine demand is further converted to the instruction stream of smart card writing in files system, user's request can be used for staff's examination and checks with user's request feedback and confirm, machine demand can offer test department and carry out automatic test work, and file system instruction stream is made finished product card by card reader.
figure of description
Fig. 1 is the method flow diagram of the generation smart card writing in files of the embodiment of the present invention.
Specific embodiment
Now further set forth the present invention, embodiment is only that content that the present invention protects is not limit by embodiment to a kind of specific embodiments of the present invention in conjunction with the embodiments, and any technical scheme that meets spirit of the present invention is all within protection scope of the present invention.
The present embodiment smart card writing in files generation system mainly comprises demand formwork module, demand operational module, verification rule module, statement of requirements generation module, systematic parameter module, instruction stream generation module, daily record generation module.
Below above-mentioned each module is described in detail:
1.1. demand formwork module
The major function of demand formwork module is used to user provides standard unified demand form, and user can call this demand formwork module its demand is carried out to personal settings.This demand formwork module comprises drawing template establishment, editing template, deletion template and separately deposits template.Above-mentioned template expansion XML by name, its data layout is XML.And in this demand formwork module, acquiescence provides a set of name to be called the demand template of " default.xml ", for the user without personal settings demand, can directly utilize this template to carry out demand operation, improves its demand efficiency is set; For having the user of personal settings demand, can utilize the drawing template establishment in demand formwork module to create the template that belongs to the own individual demand of user, user can be by belonging to user's oneself demand template when the demand template establishment of front opening, demand template file expansion XML by name, data layout is XML, and this drawing template establishment is saved in the store path that systematic parameter is specified; This demand formwork module also comprises editing template, and no matter user can be according to the demand of oneself to being the editor that the demand template of demand formwork module " default.xml " that provide or the demand template oneself creating are carried out personal settings; This demand formwork module also comprises deletion template, and user can optionally back up rear deletion and/or directly delete above-mentioned template, and the above-mentioned template of deleting after backup also can be reduced; In addition, this demand formwork module also comprises separately deposits template, and user can save as new template by the demand template when front opening, for the follow-up use of user, and has avoided user all must create the duplication of labour of the demand template of oneself at every turn.
1.2. demand operational module
Demand operational module is that user utilizes the demand template generating in demand formwork module to operate personalized demand, and demand operational module comprises establishment demand, editor's demand, preservation demand and separately deposits demand.The expansion UXP by name of demand file, data layout is XML.
Establishment demand: demand creates and depends on demand template, must be under the demand template of specifying establishment demand, demand will comprise all data of demand template after creating.After creating, no longer there is any relation with demand template in demand.Editor's demand: the input of demand data is subject to the restriction of verification rule, invalid data can arrange restriction input by parameter, or allows input but prompting warning message.Preservation demand: demand data output is subject to the restriction of verification rule, and demand is only preserved legal data.The UXP demand data of final output is empty or is legal data, does not have wrong data, has therefore just avoided the drawback that user's request data are imperfect, portion is correct, and the storing path of the demand of this preservation is to be specified by user.Separately deposit demand: current demand is copied and saves as another demand, variable demand coding Encoding while separately depositing demand, the storing path of this demand of separately depositing also can be specified by user.
1.3. verification rule module
Verification rule module is demand data that user is arranged in demand operational module is carried out verification module according to preset rules, and this verification rule module is kept in the file of expansion XSD.XML by name, and Rule content is followed XSD standard.Verification rule module is divided into rule definition module and rule execution module.
Rule definition module comprises newly-built rule, editing rule, deletion rule, activation rule.Rule execution module comprises regular verification, output verification result.This verification rule module acquiescence provides a set of name to be called the not editable rule of " eastcompeace.xml.xsd ".Wherein, newly-built rule is from existing rule, to specify a rule to save as new rule; Editing rule: Else Rule all can be edited except default rule, the element property in editing rule and element value, can not delete element and newly-built element; Deletion rule: delete the verification rule file except default rule; Activate rule: default system is given tacit consent to the rule providing for activating rule, the rule having activated must have one and can only have one, and the rule that system applies has activated is carried out verification to demand.
Rule execution module is executing rule verification under following situations:
1): verification rule occurs to carry out after changing demand data;
2): executing rule verification while opening demand, executing rule verification while preserving demand;
3): executing rule verification when demand is saved as demand template;
4 :) executing rule verification while opening demand template;
5): executing rule verification while preserving demand template;
6): user can be for the verification of current demand executing rule;
7): part demand and all demands of appointment are initiatively carried out verification rule.
Output verification result after executing rule verification, the output of check results divides three kinds of forms:
1): output to check results control desk, user can save as control desk check results TXT file;
2): output to journal file;
3): according to the state of the legal and illegal mark input module of result, the legal input module state of result is original state, and illegal component states is labeled as frame purple.
1.4. statement of requirements generation module
Statement of requirements generation module is for user's personal settings are generated to statement of requirements, and this statement of requirements generation module comprises report preview and reports and derive.Statement of requirements expansion HTML by name, data layout is HTML, and HTML coded format is UTF-8, statement of requirements must be supported 6.0 or the above version of IE.Wherein, report preview is the statement of requirements of preview html format; Report exports as derives statement of requirements, and this report derivation comprises two kinds of approach: the one, directly derive statement of requirements, and the 2nd, in the time of preview, derive statement of requirements.Report is derived path and is specified by user.
1.5. systematic parameter module
Systematic parameter module definition the store path of the personal settings parameter of system, system appended document, the inside and outside interface parameters of system, accessed object or Jie's qualitative attribution.Systematic parameter is kept in multiple XML files, and these files are referred to as configuration file.
The classification of configuration file:
Configuration file divides two classes, and the first kind is master configuration file, and file has and only have one, fixes called after " config.xml ", is fixedly kept at the current path of system execute file exe.Equations of The Second Kind is from configuration file, and parameter that should be configured by master configuration file from name and the path of configuration file is specified, and can exist multiplely from configuration file file, and back-up system upgrading constantly increases.
System default as follows from configuration file:
1)ProjectTemplateConfig.xml
The coded format of having specified demand template store path and demand to use.
2)LogConfig.xml
Store path, naming rule and the daily record output content form of journal file are specified.
ReportTemplateConfig.xml
Report template store path and naming rule are specified.
CustomConfig.xml
Saved system personal settings.
1.6. instruction stream generation module
Instruction stream generation module comprises the instruction stream that generates smart card writing in files, and the instruction stream of smart card writing in files is write to smart card, wherein, the instruction stream that generates smart card writing in files comprises: 1) instruction stream parameter is configured, namely configure COS system, configuration-direct stream outgoing route, configuration card reader, 2) generate instruction stream, by instruction stream parameter and file system demand spanned file system directive stream, and the instruction stream system of carrying out is write card.
1.7. daily record generation module
Debugging message when daily record generation module is mainly used in exporting user's login, operation and system operation, the form of daily record output is divided into two kinds: 1) control desk output, daily record outputs to daily record control desk, and user can real time inspection daily record; 2) journal file output, daily record outputs to journal file, as filing and follow-uply checking use.
Fig. 1 is the particular flow sheet of smart card writing in files generation method of the present invention, and this smart card writing in files generation method mainly comprises the following steps:
K) select demand template, user utilizes demand formwork module to select demand template according to the demand of oneself, if there is no be applicable to the demand template of user's request, user can utilize the establishment demand template in demand formwork module to come to create new demand template according to the demand of oneself, then selects the demand template of the new demand template creating as user oneself;
L) user utilizes demand operational module to carry out newly-built demand;
M) user utilizes demand operational module to carry out editor's demand;
N) user utilizes regular correction verification module to carry out verification demand, if demand verification do not pass through, output verification abnormal results, and return to step C, if verification by; perform step E;
O) user utilizes demand operational module to carry out preservation demand, and user can jump to arbitrarily F or G step according to the needs of oneself;
P) user utilizes statement of requirements generation module to derive user's request (Html form), and user can be according to oneself need to leap to step J;
Q) user utilizes instruction stream generation module to carry out selection instruction stream development parameters;
R) family utilizes instruction stream generation module to create file system instruction stream;
S) smart card is carried out to the writing operation of writing in files;
T) finish.
Smart card writing in files of the present invention generates method and system and has unified demand form, automatically generate machine demand and instruction stream, make developer and user reach consistance to the understanding of demand element, saved the artificial exploitation of instruction stream and card manual testing work, improved work efficiency.
Claims (10)
1. a generation system for smart card writing in files, is characterized in that: comprising: demand formwork module, demand operational module, verification rule module, statement of requirements generation module, systematic parameter module, instruction stream generation module, daily record generation module, wherein, demand formwork module is used to user provides standard unified demand form, user calls this demand formwork module its demand is carried out to personal settings, demand operational module is that user utilizes the demand template generating in demand formwork module to operate personalized demand, verification rule module is demand data that user is arranged in demand operational module is carried out verification module according to preset rules, statement of requirements generation module is for generating statement of requirements by user's personal settings, systematic parameter module definition the personal settings parameter of system, the store path of system appended document, the inside and outside interface parameters of system, accessed object or Jie's qualitative attribution, instruction stream generation module comprises the instruction stream that generates smart card writing in files, and the instruction stream of smart card writing in files is write to smart card, daily record generation module is mainly used in exporting user's login, Debugging message when operation and system operation.
2. system according to claim 1, is characterized in that: this demand formwork module comprises drawing template establishment, editing template, deletion template and separately deposits template.
3. system according to claim 2, it is characterized in that: the template in described demand formwork module is template expansion XML by name, its data layout is XML, and acquiescence provides a set of name to be called the demand template of " default.xml " in this demand formwork module.
4. system according to claim 1, is characterized in that: demand operational module comprises establishment demand, editor's demand, preservation demand and separately deposits demand, the expansion UXP by name of demand file, and data layout is XML.
5. system according to claim 1, it is characterized in that: verification rule module is divided into rule definition module and rule execution module, rule definition module comprises newly-built rule, editing rule, deletion rule, activation rule, and rule execution module comprises regular verification, output verification result.
6. system according to claim 5, is characterized in that: rule execution module is executing rule verification under following situations:
1): verification rule occurs to carry out after changing demand data;
2): executing rule verification while opening demand, executing rule verification while preserving demand;
3): executing rule verification when demand is saved as demand template;
4): executing rule verification while opening demand template;
5): executing rule verification while preserving demand template;
6): user can be for the verification of current demand executing rule;
7): part demand and all demands of appointment are initiatively carried out verification rule.
7. system according to claim 6, is characterized in that: output verification result after executing rule verification, and the output of check results divides three kinds of forms:
1): output to check results control desk, user can save as control desk check results TXT file;
2): output to journal file;
3): according to the state of the legal and illegal mark input module of result, the legal input module state of result is original state, and illegal component states is labeled as frame purple.
8. system according to claim 1, it is characterized in that: the instruction stream that generates smart card writing in files comprises: 1) instruction stream parameter is configured, namely configure COS system, configuration-direct stream outgoing route, configuration card reader, 2) generate instruction stream, by instruction stream parameter and file system demand spanned file system directive stream, and the instruction stream system of carrying out is write card.
9. system according to claim 1, is characterized in that: the form of daily record output is divided into two kinds: 1) control desk output, and daily record outputs to daily record control desk, and user can real time inspection daily record; 2) journal file output, daily record outputs to journal file, as filing and follow-uply checking use.
10. a generation method for smart card writing in files, is characterized in that: this smart card writing in files generation method comprises the following steps:
A) select demand template: user utilizes demand formwork module to select demand template according to the demand of oneself, if there is no be applicable to the demand template of user's request, user can utilize the establishment demand template in demand formwork module to come to create new demand template according to the demand of oneself, then selects the demand template of the new demand template creating as user oneself;
B) user utilizes demand operational module to carry out newly-built demand;
C) user utilizes demand operational module to carry out editor's demand;
D) user utilizes regular correction verification module to carry out verification demand, if demand verification do not pass through, output verification abnormal results, and return to step C, if verification by; perform step E;
E) user utilizes demand operational module to carry out preservation demand, and user can jump to arbitrarily F or G step according to the needs of oneself;
F) user utilizes statement of requirements generation module to derive user's request, and its demand form comprises Html form, and user can be according to oneself need to leap to step J;
G) user utilizes instruction stream generation module to carry out selection instruction stream development parameters;
H) family utilizes instruction stream generation module to create file system instruction stream;
I) smart card is carried out to the writing operation of writing in files;
J) finish.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410215778.4A CN103955392A (en) | 2014-05-21 | 2014-05-21 | Generation method and system for intelligent card writing-in file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410215778.4A CN103955392A (en) | 2014-05-21 | 2014-05-21 | Generation method and system for intelligent card writing-in file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103955392A true CN103955392A (en) | 2014-07-30 |
Family
ID=51332668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410215778.4A Pending CN103955392A (en) | 2014-05-21 | 2014-05-21 | Generation method and system for intelligent card writing-in file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103955392A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107784243A (en) * | 2017-09-30 | 2018-03-09 | 飞天诚信科技股份有限公司 | A kind of method and device that reader device communication is realized in Android system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063465A (en) * | 2010-11-18 | 2011-05-18 | 北京握奇数据***有限公司 | Method and device for customizing card personalization template |
US20110167242A1 (en) * | 2007-11-27 | 2011-07-07 | Oracle America, Inc. | Multiple instruction execution mode resource-constrained device |
CN102467672A (en) * | 2010-11-11 | 2012-05-23 | ***通信集团公司 | Method and equipment for managing sub-application of smart card |
CN102521551A (en) * | 2011-12-23 | 2012-06-27 | 大唐微电子技术有限公司 | Personalized IC (integrated circuit) card issuing device and method |
CN102800015A (en) * | 2012-06-15 | 2012-11-28 | 武汉天喻信息产业股份有限公司 | Financial IC (Integrated Circuit) card long-distance individualized method and system |
CN103605939A (en) * | 2013-12-04 | 2014-02-26 | 东信和平科技股份有限公司 | Method, device and system for writing personal data in financial IC card |
-
2014
- 2014-05-21 CN CN201410215778.4A patent/CN103955392A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110167242A1 (en) * | 2007-11-27 | 2011-07-07 | Oracle America, Inc. | Multiple instruction execution mode resource-constrained device |
CN102467672A (en) * | 2010-11-11 | 2012-05-23 | ***通信集团公司 | Method and equipment for managing sub-application of smart card |
CN102063465A (en) * | 2010-11-18 | 2011-05-18 | 北京握奇数据***有限公司 | Method and device for customizing card personalization template |
CN102521551A (en) * | 2011-12-23 | 2012-06-27 | 大唐微电子技术有限公司 | Personalized IC (integrated circuit) card issuing device and method |
CN102800015A (en) * | 2012-06-15 | 2012-11-28 | 武汉天喻信息产业股份有限公司 | Financial IC (Integrated Circuit) card long-distance individualized method and system |
CN103605939A (en) * | 2013-12-04 | 2014-02-26 | 东信和平科技股份有限公司 | Method, device and system for writing personal data in financial IC card |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107784243A (en) * | 2017-09-30 | 2018-03-09 | 飞天诚信科技股份有限公司 | A kind of method and device that reader device communication is realized in Android system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104133772B (en) | Automatic test data generation method | |
US11379657B2 (en) | Systems and methods for automatic report generation and retaining of annotations in reporting documents after regeneration | |
CN110058856A (en) | Page configuration method and device | |
CN107423061A (en) | A kind of list generation method based on ISON data | |
CN103530407B (en) | Method and device for generating rich text document | |
CN101751461A (en) | Document conversion method and device | |
CN107329765B (en) | Program file processing method and device | |
CN104731588B (en) | Page layout document generating method and page layout file creating apparatus | |
CN104063495A (en) | Form extension method and form extension device | |
CN111818175B (en) | Enterprise service bus configuration file generation method, device, equipment and storage medium | |
CN110580174B (en) | Application component generation method, server and terminal | |
CN104049974A (en) | Dynamic control assembly method and system | |
CN114721630A (en) | Low-code development system and method | |
CN113886340A (en) | File generation method and system, storage medium and electronic device | |
CN115878092A (en) | Code generation method, device and medium based on micro-service architecture | |
CN103109289B (en) | Based on the script edit methods of WEB, system and WEB client side | |
CN113467782B (en) | Method, device and equipment for determining business process | |
CN105094768A (en) | Application interface generation method and application interface generation device | |
US20190243905A1 (en) | Generating and identifying distinct portions of a merged file | |
CN115525534A (en) | Test case generation method and platform based on swagger interface test | |
CN103135991B (en) | The customization implementation method of embedded device web interface | |
CN103955392A (en) | Generation method and system for intelligent card writing-in file | |
CN112597023A (en) | Case management method and device based on guide picture, computer equipment and storage medium | |
CN113485746B (en) | Method and device for generating application program interface document | |
CN112306622A (en) | VNF template construction method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20140730 |