CN104899523B - A kind of unified introduction method of card ciphertext data - Google Patents

A kind of unified introduction method of card ciphertext data Download PDF

Info

Publication number
CN104899523B
CN104899523B CN201510369620.7A CN201510369620A CN104899523B CN 104899523 B CN104899523 B CN 104899523B CN 201510369620 A CN201510369620 A CN 201510369620A CN 104899523 B CN104899523 B CN 104899523B
Authority
CN
China
Prior art keywords
card ciphertext
data
card
ciphertext data
recognition template
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.)
Active
Application number
CN201510369620.7A
Other languages
Chinese (zh)
Other versions
CN104899523A (en
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.)
Shanghai Hanzhiyou Information Technology Service Co Ltd
Original Assignee
Shanghai Hanzhiyou Information Technology Service 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 Shanghai Hanzhiyou Information Technology Service Co Ltd filed Critical Shanghai Hanzhiyou Information Technology Service Co Ltd
Priority to CN201510369620.7A priority Critical patent/CN104899523B/en
Publication of CN104899523A publication Critical patent/CN104899523A/en
Application granted granted Critical
Publication of CN104899523B publication Critical patent/CN104899523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Lock And Its Accessories (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention relates to software field, more particularly to a kind of unified introduction method of card ciphertext data, specifically include:The card ciphertext part provided according to different suppliers, is pre-formed corresponding recognition template and preserves;Unified introduction method includes:Obtain the card ciphertext part that supplier provides;According to card ciphertext part, select to correspond to the recognition template of supplier;According to selected recognition template, card ciphertext part is identified, to extract every card ciphertext data that card ciphertext part includes, and is stored in a card ciphertext data storehouse with unified storage format, is then returned to.Method after improvement will no longer be required to change code, it is only necessary to which cut-in operation can be completed by making correlate template according to data file, realize very big flexibility and convenience when new supplier or existing supplier data form change.

Description

A kind of unified introduction method of card ciphertext data
Technical field
The present invention relates to data to import field, more particularly to a kind of unified introduction method of card ciphertext data.
Background technology
In the prior art, the card ciphertext data of different suppliers is imported into the unified card ciphertext data storehouse of intermediary business, it is past Toward there is problems with:First, the format parameter for the card ciphertext data that different suppliers is given to varies, for not apposition The card ciphertext data of formula, it is more difficult to it is stored in a unified format in card ciphertext data storehouse, usually requires first to be blocked when stored Close parsing, then data therein are imported.Also, in some cases, supplier may block close according to the demand modification of oneself The storage form of data, can cause each supplier to file format parameter can change, now just need in storage end Corresponding code revision is done, or card ciphertext data can only be opened, and is written as common template module to be imported.Said process In, manual intervention (such as the opening of card ciphertext data, or common template etc. is write according to card ciphertext data) unavoidably be present, therefore The compromised risk of card ciphertext data be present.
The content of the invention
In order to solve the above problems, the present invention devises a kind of unified introduction method of card ciphertext data, and this method passes through spirit Configuration template module living, improve the convenience and security of importing.
To achieve these goals, the present invention devises a kind of unified introduction method of card ciphertext data, it is characterised in that root The card ciphertext part provided according to different suppliers, is pre-formed corresponding recognition template and preserves;
The unified introduction method specifically includes:
Step S1, obtain the card ciphertext part that supplier provides;
Step S2, according to the card ciphertext part, the recognition template of the corresponding supplier of selection;
Step S3, according to the selected recognition template, the card ciphertext part is identified, it is close to extract the card Every card ciphertext data that file includes, and be stored in a card ciphertext data storehouse with unified storage format, it is then returned to institute State step S1.
Further improved technology scheme, the card ciphertext part include the card ciphertext part of excel forms, or txt forms Card ciphertext part.
Further improved technology scheme, the form of the recognition template are identical with the form of the corresponding card ciphertext part.
Further improved technology scheme, the card ciphertext data include:
For the serial number data for the sequence number for indicating the card ciphertext data, and
For the code data for the password for indicating the card ciphertext data;
The recognition template is used to indicate:
The storage location and storage form of the serial number data;And
The storage location and storage form of the code data.
Further improved technology scheme, the card ciphertext part are packaged in the card ciphertext part bag of an encryption;
The step S1 is specifically included:
Step S11, the card ciphertext part bag is imported using one first input block;
Step S12, the clear crytpographic key of the corresponding card ciphertext part bag is imported using one second input block;
Step S13, the card ciphertext part bag is decrypted, with the card ciphertext part corresponding to extraction;
First input block and second input block have different input authorities.
Further improved technology scheme, the step S3 are specifically included:
Step S31, by the card ciphertext data of one in the card ciphertext part not yet through overmatching and selected institute State recognition template to be matched, export corresponding matching result;
Step S32, if the card ciphertext data matches with the recognition template, extracted according to the matching result corresponding The card ciphertext data, and be stored in the card ciphertext data storehouse, be then returned to the step S31.
Further improved technology scheme, in the step S32, if the card ciphertext data and the recognition template not phase Match somebody with somebody, then following step is first carried out:
Step S321, the card ciphertext part is parsed, to obtain the close number of card described in the preceding N bars that the card ciphertext part includes According to;
Step S322, by card ciphertext data described in preceding N bars compared with the recognition template, to obtain corresponding relatively knot Fruit;
Step S323, according to the comparative result, renewal is associated with the recognition template of the supplier;
Step S324, according to the recognition template after renewal, the card ciphertext data is identified, to continue executing with State step S32;
In the step S322, N is preset number, and card ciphertext data described in preceding N bars represents to store position in the card ciphertext part Card ciphertext data described in N bars before resting against.
Further improved technology scheme, also include in the card ciphertext data:
For the effective time data for the term of validity for indicating the card ciphertext data;
The recognition template is additionally operable to indicate:
The storage location and storage form of the effective time data;And/or
The quantity for the card ciphertext data that the card ciphertext part includes.
Compared with prior art, the beneficial effects of the invention are as follows:
A kind of introduction method is provided, different recognition templates is preset for different suppliers, corresponding identification can be applied mechanically Template identifies the card ciphertext part of the different-format of different suppliers, and card ciphertext data therein is extracted to unified card ciphertext data Preserved in storehouse, realize the flexibility of card ciphertext data extraction, reduce the manual intervention factor in card ciphertext data extraction process, carry The security of card ciphertext data extraction process is risen.
Brief description of the drawings
Fig. 1 is a kind of overview flow chart of the unified introduction method of card ciphertext data in the preferred embodiment of the present invention;
Fig. 2 is the schematic flow sheet of card ciphertext part bag decryption in the preferred embodiment of the present invention;
Fig. 3 is the schematic flow sheet for matching card ciphertext data in the preferred embodiment of the present invention according to recognition template;
Fig. 4 is the schematic flow sheet that can not match card ciphertext data in the preferred embodiment of the present invention according to recognition template;
Fig. 5-6 is in the preferred embodiment of the present invention, the card ciphertext parts of excel forms and its corresponding recognition template Schematic diagram;
Fig. 7-8 is the card ciphertext part of txt forms and its showing for corresponding recognition template in the preferred embodiment of the present invention It is intended to.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
The present embodiment devises a kind of unified introduction method of card ciphertext data, the card ciphertext provided according to different suppliers Part, it is pre-formed corresponding recognition template and preserves.For same supplier, block close number in its card ciphertext part provided According to storage location and storage form be identical, therefore, corresponding to same supplier, a recognition template can be set.
In the preferred embodiment of the present invention, above, storage location is different in every card ciphertext data in card ciphertext part The location of data of classification, storage form refer to the storage of data different classes of in every card ciphertext data in card ciphertext part Mode.
In the preferred embodiment of the present invention, different classes of data that card ciphertext data includes can include:
For the serial number data for the sequence number for representing this card ciphertext data;And
For representing the code data of password corresponding to this card ciphertext data.
In the preferred embodiment of the present invention, in above-mentioned card ciphertext data, it is also possible to including:
For the effective time data for the term of validity for indicating the card ciphertext data.
Then in preferred embodiment of the invention, so that card ciphertext part is excel files as an example, where each row excel records An as card ciphertext data.Then for the data of one of classification (such as seek and arranged data or code data), its Storage location can be which row, the i.e. particular location in the excel files of which row for being stored in the excel files. For example, in the card ciphertext part of an excel form, secondary series is used to represent serial number data, and the 4th arranges for representing password Data.
The present invention preferred embodiment in, so-called storage form, can include card ciphertext data in corresponding classification number According to the storage bit number of (such as serial number data or code data).Such as in the card ciphertext part of an excel form, sequence Number is preserved with 10 character strings, and code data is preserved with 8 character strings.
In the other embodiment of the present invention, above-mentioned storage form can also include the data of corresponding classification in card ciphertext part Other preserving types, such as the data of corresponding classification have corresponding check bit etc. when stored, will not be repeated here.
The several specific embodiments given below for being associated with technical solution of the present invention:
Embodiment one:
The present embodiment provides a kind of introduction method of card ciphertext data in card ciphertext part provided based on same supplier.The reality Apply in example, the card ciphertext part provided according to different suppliers, be pre-formed corresponding recognition template and preserve.
So-called recognition template, it is used to indicate:
The storage location and storage form of serial number data;And
The storage location and storage form of code data.
In the embodiment, the card ciphertext part provided previously according to supplier (can be first part that new supplier provides Card ciphertext part) the corresponding recognition template of generation.
The concrete structure of recognition template can hereinafter be described in detail.
It is identical with above-mentioned explanation with the definition of storage form to storage location herein, while identify that masterplate may be used to indicate it His data, but serial number data and the necessary data that code data is in card ciphertext data, other data are the tools of card ciphertext part Body situation is added.Such as:Add the effective time data for the term of validity of instruction card ciphertext data;Effective time data are Period can be used in conjunction with each other by referring to serial number data and code data, during which outer serial number data and the phase interworking of code data Conjunction relation fails;Again for example, add acquisition quantity for instruction card ciphertext data quantity information (such as in recognition template, in 100 card ciphertext datas are obtained altogether in one card ciphertext part);Again for example, add and start acquisition position for instruction card ciphertext data Put information (such as in recognition template, serial number data in instruction card ciphertext data in excel forms card ciphertext part second The row of row second starts to obtain).
Then in the embodiment, as shown in figure 1, the specific steps of above-mentioned unified introduction method include:
Step S1, obtain the card ciphertext part that supplier provides;
In the embodiment, the card ciphertext part that supplier provides is obtained, refers to the card ciphertext part that supplier provides importeding into In system and it is further processed.In above-mentioned steps S1, the card ciphertext part that is once inputted for same supplier can be integrated Imported into same batch and once, the waste of system resource caused by avoid multiple import, and processing time Waste.
In the embodiment, the card ciphertext part of acquisition is as mentioned above it is possible, including a plurality of card ciphertext data, every close number of card According to serial number data as described above and code data is included, other different classes of data can also be included.Should In embodiment, serial number data and code data are the data such as terms of validity of other classifications necessary to every card ciphertext data Data etc., it can be added according to demand.
Step S2, according to card ciphertext part, select to correspond to the recognition template of supplier;
In the embodiment, as mentioned above it is possible, each card ciphertext part corresponds to a supplier, and in systems, each Supplier corresponds to a recognition template pre-set, therefore, can be according to each card ciphertext part in above-mentioned steps S2 (or all card ciphertext parts under same batch) select a corresponding recognition template, with what is included to card ciphertext part Card ciphertext data is identified.
Step S3, according to selected recognition template, card ciphertext part is identified, included with to extract card ciphertext part Every card ciphertext data, and be stored in a card ciphertext data storehouse with unified storage format, it is then returned to step S1.
In the embodiment, recognition template is applied mechanically, the card ciphertext data in a corresponding card ciphertext part is identified one by one: If one card ciphertext data is matched with the recognition template completely, it may determine that this bar card ciphertext data for the legal close number of card According to extracting this bar card ciphertext data and be stored in the card ciphertext data storehouse of unified form.
In the preferred embodiment of the present invention, the serial number data and password number of the card ciphertext data can be only extracted According to and preserve;In another preferred embodiment of the present invention, according to matching result, extract in legal card ciphertext data All data (extracting a complete card ciphertext data) simultaneously preserve.
Embodiment two:
In the embodiment, above-mentioned unified introduction method is as shown in figure 1, specifically include:
Step S1, obtain the card ciphertext part that supplier provides;
Step S2, according to card ciphertext part, select to correspond to the recognition template of supplier;
Step S3, according to selected recognition template, card ciphertext part is identified, included with to extract card ciphertext part Every card ciphertext data, and be stored in a card ciphertext data storehouse with unified storage format, it is then returned to step S1.
In the embodiment, as shown in Fig. 2 step S1 is specifically included:
Step S11, card ciphertext part bag is imported using one first input block;
In the embodiment, card ciphertext part is packaged in the card ciphertext part bag of an encryption, and the first input block possesses necessarily Authority, for example with the first input block login system, certain input authority can be obtained, in above-mentioned steps S11, is associated with The input authority of first input block is limited to import card ciphertext part bag.In other words, user can be single by the first input First login system, by obtaining certain input authority after authentication, so as to be allowed to accordingly be grasped in systems Make (such as import card ciphertext part bag.)
Step S12, the clear crytpographic key of corresponding card ciphertext part bag is imported using one second input block;
In the embodiment, the second input block possesses certain authority, the first input block and the second input block at this There is different input authorities in embodiment.
In the embodiment, as mentioned above it is possible, the second input block is equally associated with a corresponding input authority.Use Person is by the second input block login system and obtains corresponding input authority, so as to perform the behaviour for importing clear crytpographic key Make.
In the preferred embodiment of the present invention, above-mentioned first input block and the second data cell are included in one In unified input block.The differentiation of the above " first " and " second " is importing only for two input blocks of expression Input authority during data is different.In other words, in above-mentioned steps S11-12, for the first input block and the second input block Division, it is to ensure that card ciphertext part bag and clear crytpographic key carry out import operation by different input authorities respectively, avoid card Ciphertext part bag and clear crytpographic key stream are in same input authority, so as to cause divulging a secret for card ciphertext part bag.Step S13, to card ciphertext Part bag is decrypted, with card ciphertext part corresponding to extraction;
In the embodiment, the decryption of card ciphertext part bag must use clear crytpographic key, i.e., card ciphertext data leads in card ciphertext part Enter the clear crytpographic key that process imports the first input block card ciphertext part bag card ciphertext part bag corresponding with the importing of the second input block Cooperate and complete.
In the preferred embodiment of the present invention, user uses the first input block, is led with inputting authority accordingly Enter card ciphertext part bag, user uses the second input block again, (above-mentioned to be associated with to input authority importing clear crytpographic key accordingly The input authority of first input block is different from the input authority for being associated with the second input block), according to the card ciphertext part of importing Bag coordinates clear crytpographic key using that finally could be decoded to card ciphertext part bag, so as to obtain card ciphertext part therein.
Embodiment three:
In the embodiment, as shown in figure 1, above-mentioned unified introduction method specifically includes:
Step S1, obtain the card ciphertext part that supplier provides;
Step S2, according to card ciphertext part, select to correspond to the recognition template of supplier;
Step S3, according to selected recognition template, card ciphertext part is identified, included with to extract card ciphertext part Every card ciphertext data, and be stored in a card ciphertext data storehouse with unified storage format, it is then returned to step S1.
In the embodiment, as shown in figure 3, above-mentioned steps S3 is specifically included:
Step S31, card ciphertext data of one in card ciphertext part not yet through overmatching is entered with selected recognition template Row matching, exports corresponding matching result;
In the embodiment, for card ciphertext data of one in card ciphertext part not yet through overmatching, using selected phase The recognition template answered is matched.
In the preferred embodiment of the present invention, if card ciphertext part is excel files (shown in Figure 5), accordingly Recognition template be similarly the templates (shown in Figure 6) of excel forms.In Fig. 6, the cardNo@10 in recognition template are located at The row of secondary series second, its position represent:The secondary series storage of the card ciphertext part of one excel form for the corresponding of card Serial number data, and in a second column, corresponding serial number data can be read since the second row (i.e. by secondary series Beginning reading position of two rows as serial number data).CardNo@10 represent that a serial number data is with 10 words simultaneously The storage form that string form represents is accorded with, i.e. a serial number data includes 10 (letter and/or numerals).Therefore, for one For the card ciphertext part of individual excel forms, if wherein secondary series is since the second row, often the stored character string of row is 10 Position, then can represent that the card ciphertext part matches with corresponding recognition template.In other words, for a card ciphertext part, from The row of secondary series second starts, and reads all character strings stored in secondary series, and apply mechanically the cardNo@10 in recognition template and carry out Matching, if the character string read is 10, then it represents that the match is successful for the serial number data in the card ciphertext part.
Similarly, in above-described embodiment, as shown in fig. 6, the pswd@8 in recognition template are located at the 4th the second row of row, its institute In positional representation:The corresponding code data for card of 4th row storage of the card ciphertext part of one excel form, and In 4th row, corresponding code data can be read since the second row (i.e. using the 4th the second row of row opening as code data Beginning reading position).Pswd@8 represent that a code data is the storage form represented with 8 character string forms simultaneously, i.e., one Code data includes 8.Therefore, for the card ciphertext part of an excel form, if the wherein the 4th row are opened from the second row Begin, the character string of often row storage is 8, then it represents that the card ciphertext part matches with corresponding recognition template.In other words, for For one card ciphertext part, since the 4th the second row of row, all character strings stored in the 4th row are read, and apply mechanically identification mould Pswd@8 in plate are matched, if the character string read is 8, then it represents that the matching of code data in the card ciphertext part into Work(.
In above-described embodiment, only the match is successful for code data and serial number data, could judge corresponding card ciphertext The match is successful for part.
In another preferred embodiment of the present invention, if card ciphertext part is txt file (as shown in Figure 7), accordingly Recognition template is also txt forms (as shown in Figure 8).The process of matching is identified using the recognition template of txt forms, passes through ratio Wherein space number and the mode of extracting corresponding character string are completed, its matching process is similar to the above excel lattice The matching process of formula, will not be repeated here.
In above-mentioned Fig. 7-8, because the text string extracting of txt file is only relevant with line number and space number, therefore without each column Numeral alignment.Step S32, if card ciphertext data matches with recognition template, corresponding card ciphertext data is extracted according to matching result, And be stored in card ciphertext data storehouse, it is then returned to step S31.It is raw when card ciphertext data matches with recognition template in the embodiment Into a matching result, Ka Mishuojuku stores the card ciphertext data being extracted after matching to card ciphertext data according to the matching result In storehouse, S31 steps are returned afterwards and repeat the matching process for being associated with next card ciphertext part.
In the specific step S32 of the embodiment, if card ciphertext data does not match that with recognition template, it is first carried out such as Fig. 4 Shown following step:
Step S321, card ciphertext part is parsed, to obtain the preceding N bars card ciphertext data that card ciphertext part includes;
Step S322, by preceding N bars card ciphertext data compared with recognition template, to obtain corresponding comparative result;
N in step S322 is preset number, and preceding N bars card ciphertext data represents the N bars that storage location is forward in card ciphertext part Card ciphertext data.
In the embodiment, wherein N numeral is less than the bar number of whole card ciphertext datas, i.e., herein for com-parison and analysis result Card ciphertext data can not be whole card ciphertext datas, and this is done to increase the security of card ciphertext data.
The numeral of preferred embodiments of the present invention, wherein N is 5, i.e., in absence of such a match, before reading in card ciphertext part The card ciphertext data of 5, to be analyzed.
In the embodiment, meeting in obtained parsing information is parsed according to above-mentioned preceding N bars card ciphertext data (such as first 5) The information of some unsuccessful card ciphertext datas of matching is included, can be analyzed between card release ciphertext data and recognition template not by information The reason for matching, it is that storage form or storage location mismatch.The card ciphertext data not matched is at this moment the part of decryption Show, template is reformulated to facilitate.In other words, in preferred embodiment of the invention, according to unmatched card ciphertext Result of the card ciphertext data of preceding N bars (preferably first 5) compared with corresponding recognition template, determines card ciphertext data in part (such as the storage location of some type of data in card ciphertext data becomes the factor to be changed relative to recognition template Move, or the storage form of some type of data changes), so as to which the factor to be changed according to these is reformulated The new recognition template for being associated with the supplier, to cover original recognition template, complete the renewal operation of recognition template.
Step S323, according to comparative result, renewal is associated with the recognition template of supplier;
Step S324, according to the recognition template after renewal, card ciphertext data is identified, to continue executing with step S32;
In the embodiment, according to the recognition template after renewal, corresponding card ciphertext part is identified again, so as to complete The whole process for matching and identifying, reads corresponding card ciphertext data and is stored in card ciphertext data storehouse.
In summary, in technical solution of the present invention, previously according to the close documenting corresponding format phase of card of supplier's offer The recognition template of content is answered, and recognition template is applied to during being matched to every card ciphertext data in card ciphertext part, Different processing is carried out according to matching result:If matching, all card ciphertext datas in corresponding card ciphertext part are extracted, And it is stored in the card ciphertext data storehouse of a unified form;If mismatching, recognition template is updated according to unmatched factor, and adopt Card ciphertext part is identified with the recognition template after renewal, all card ciphertext datas in corresponding card ciphertext part are extracted Come, and be stored in the card ciphertext data storehouse of a unified form.
Preferred embodiments of the present invention are the foregoing is only, not thereby limit embodiments of the present invention and protection model Enclose, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Scheme obtained by equivalent substitution and obvious change, should be included in protection scope of the present invention.

Claims (6)

  1. A kind of 1. unified introduction method of card ciphertext data, it is characterised in that the card ciphertext part provided according to different suppliers, in advance Form corresponding recognition template and preserve;
    The unified introduction method specifically includes:
    Step S1, obtain the card ciphertext part that supplier provides;
    Step S2, according to the card ciphertext part, the recognition template of the corresponding supplier of selection;
    Step S3, according to the selected recognition template, the card ciphertext part is identified, to extract the card ciphertext part The every card ciphertext data included, and be stored in a card ciphertext data storehouse with unified storage format, it is then returned to the step Rapid S1;
    The step S3 is specifically included:
    Step S31, by the card ciphertext data of one in the card ciphertext part not yet through overmatching and the selected knowledge Other template is matched, and exports corresponding matching result;
    Step S32, if the card ciphertext data matches with the recognition template, corresponding institute is extracted according to the matching result Card ciphertext data is stated, and is stored in the card ciphertext data storehouse, is then returned to the step S31;
    In the step S32, if the card ciphertext data does not match that with the recognition template, following step is first carried out:
    Step S321, the card ciphertext part is parsed, to obtain card ciphertext data described in the preceding N bars that the card ciphertext part includes;
    Step S322, by card ciphertext data described in preceding N bars compared with the recognition template, to obtain corresponding comparative result;
    Step S323, according to the comparative result, renewal is associated with the recognition template of the supplier;
    Step S324, according to the recognition template after renewal, the card ciphertext data is identified, to continue executing with the step Rapid S32;
    In the step S322, N is preset number, and card ciphertext data described in preceding N bars represents that storage location is leaned in the card ciphertext part Card ciphertext data described in preceding N bars.
  2. 2. the unified introduction method of card ciphertext data as claimed in claim 1, it is characterised in that the card ciphertext part includes The card ciphertext part of excel forms, or the card ciphertext part of txt forms.
  3. 3. the unified introduction method of card ciphertext data as claimed in claim 1, it is characterised in that the form of the recognition template with The form of the corresponding card ciphertext part is identical.
  4. 4. the unified introduction method of card ciphertext data as claimed in claim 1, it is characterised in that the card ciphertext data includes:
    For the serial number data for the sequence number for indicating the card ciphertext data, and
    For the code data for the password for indicating the card ciphertext data;
    The recognition template is used to indicate:
    The storage location and storage form of the serial number data;And
    The storage location and storage form of the code data.
  5. 5. the unified introduction method of card ciphertext data as claimed in claim 1, it is characterised in that the card ciphertext part is packaged in In the card ciphertext part bag of one encryption;
    The step S1 is specifically included:
    Step S11, the card ciphertext part bag is imported using one first input block;
    Step S12, the clear crytpographic key of the corresponding card ciphertext part bag is imported using one second input block;
    Step S13, the card ciphertext part bag is decrypted, with the card ciphertext part corresponding to extraction;
    First input block and second input block have different input authorities.
  6. 6. the unified introduction method of card ciphertext data as claimed in claim 1, it is characterised in that also wrapped in the card ciphertext data Include:
    For the effective time data for the term of validity for indicating the card ciphertext data;
    The recognition template is additionally operable to indicate:
    The storage location and storage form of the effective time data;And/or
    The quantity for the card ciphertext data that the card ciphertext part includes.
CN201510369620.7A 2015-06-29 2015-06-29 A kind of unified introduction method of card ciphertext data Active CN104899523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510369620.7A CN104899523B (en) 2015-06-29 2015-06-29 A kind of unified introduction method of card ciphertext data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510369620.7A CN104899523B (en) 2015-06-29 2015-06-29 A kind of unified introduction method of card ciphertext data

Publications (2)

Publication Number Publication Date
CN104899523A CN104899523A (en) 2015-09-09
CN104899523B true CN104899523B (en) 2018-01-26

Family

ID=54032183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510369620.7A Active CN104899523B (en) 2015-06-29 2015-06-29 A kind of unified introduction method of card ciphertext data

Country Status (1)

Country Link
CN (1) CN104899523B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355447A (en) * 2008-08-20 2009-01-28 中兴通讯股份有限公司 Method for managing service certificate
CN102609483A (en) * 2012-01-19 2012-07-25 北京神州数码思特奇信息技术股份有限公司 General Excel import method based on configuration
CN103744982A (en) * 2014-01-15 2014-04-23 北京神州普惠科技股份有限公司 Method for importing Excel data into database
CN104317974A (en) * 2014-11-21 2015-01-28 武汉理工大学 Reconfigurable multi-source data importing method in ERP system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355447A (en) * 2008-08-20 2009-01-28 中兴通讯股份有限公司 Method for managing service certificate
CN102609483A (en) * 2012-01-19 2012-07-25 北京神州数码思特奇信息技术股份有限公司 General Excel import method based on configuration
CN103744982A (en) * 2014-01-15 2014-04-23 北京神州普惠科技股份有限公司 Method for importing Excel data into database
CN104317974A (en) * 2014-11-21 2015-01-28 武汉理工大学 Reconfigurable multi-source data importing method in ERP system

Also Published As

Publication number Publication date
CN104899523A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN106161006B (en) Digital encryption algorithm
CN104463141B (en) A kind of fingerprint template input method and device based on smart card
CN109033105A (en) The method and apparatus for obtaining judgement document's focus
CN106533660B (en) The acquisition methods and device of secrete key of smart card
CN107563193A (en) Access and control strategy of database method and system based on SQL templates
CN106059762A (en) Data security processing method and apparatus
CN103679935A (en) Keyword formed by synthesis through terminal
CN111680480A (en) Template-based job approval method and device, computer equipment and storage medium
CN106528821A (en) Method for importing change column data into database
CN111798254A (en) Tracing code generation method, device, equipment and readable storage medium
CN115391439B (en) Document data export method, device, electronic equipment and storage medium
CN108415938A (en) A kind of method and system of the data automatic marking based on intelligent mode identification
CN113609427B (en) System data resource extraction method and system under no-interface condition
CN104899523B (en) A kind of unified introduction method of card ciphertext data
CN116756761B (en) Method and device for encrypting data
CN109933769A (en) A kind of report data fast resolving method based on Excel
CN103744943A (en) Data inputting method applied to position evaluation system
CN105989309A (en) Password
CN107644168A (en) A kind of method of information extraction, terminal and computer-readable recording medium
CN102982288B (en) The encryption of data and the equipment of deciphering and method is performed in portable terminal
CN103258168B (en) The encryption system of programmable logic controller (PLC) and encryption method thereof
CN113407386B (en) Device for simulating and testing resident certificates
CN111666737B (en) Multi-coding rule compatible processing method, device, equipment and medium for regional library
CN106022423B (en) Multifunctional two-dimensional code production method and recognition decryption method
CN105005743A (en) Telephone number whitening and reverse whitening methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A unified import method of card secret data

Effective date of registration: 20210906

Granted publication date: 20180126

Pledgee: Pacific Anxin Agricultural Insurance Co.,Ltd. Shanghai Minhang branch

Pledgor: SHANGHAI HANDPAL INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

Registration number: Y2021310000061

PE01 Entry into force of the registration of the contract for pledge of patent right