CN108763969A - A kind of method and system ensureing PSAM card data safeties - Google Patents

A kind of method and system ensureing PSAM card data safeties Download PDF

Info

Publication number
CN108763969A
CN108763969A CN201810880239.0A CN201810880239A CN108763969A CN 108763969 A CN108763969 A CN 108763969A CN 201810880239 A CN201810880239 A CN 201810880239A CN 108763969 A CN108763969 A CN 108763969A
Authority
CN
China
Prior art keywords
bundling
card data
psam card
condensed document
key
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
CN201810880239.0A
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.)
Shenzhen Supion Technology Corp
Original Assignee
Shenzhen Supion Technology Corp
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 Shenzhen Supion Technology Corp filed Critical Shenzhen Supion Technology Corp
Priority to CN201810880239.0A priority Critical patent/CN108763969A/en
Publication of CN108763969A publication Critical patent/CN108763969A/en
Pending legal-status Critical Current

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/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/77Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in smart cards
    • 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/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention discloses a kind of method and system ensureing PSAM card data safeties, and method includes:Key is written in PSAM card data, and then the PSAM card data after the write-in key are subjected to bundling compression, obtains bundling condensed document, and then store the obtained bundling condensed document, guarantee PSAM card data safeties are realized to reach.

Description

A kind of method and system ensureing PSAM card data safeties
Technical field
The present invention relates to technical field of data security more particularly to a kind of method ensureing PSAM card data safeties and it is System.
Background technology
PSAM (Purchase Secure Access Module, point of sales terminal secure access module) blocks, and is embedded in each Terminal Type equipment provides the safeguard protection of IC card rank for it, and PSAM cards also have in addition to having subscriber card function and calculate work( Energy.Calculation type key is increased in PSAM cards.PSAM cards are mainly used in commercial POS, site terminal, the equipment such as direct-connected terminal On, there is security control management function, support multistage hair fastener mechanism, be suitable for more application environments.Feature is to support a card to answer With between each application independently of each other (applying, firewall functionality) more.Support that multiple file types include binary file, fixed length Record file, variable-length record file, circular file, wallet file.
Although increasing calculation type key in existing PSAM cards, which only carries out the PSAM cards Safety guarantee, and can not ensure the safety of data in PSAM cards, the prior art, which also cannot achieve, ensures PSAM card data safeties.
Invention content
The present invention provides a kind of method and system ensureing PSAM card data safeties, cannot achieve to solve the prior art The technical issues of ensureing PSAM card data safeties.
In order to solve the above technical problems, the present invention provides a kind of method ensureing PSAM card data safeties, including:
Key is written in PSAM card data;
PSAM card data after said write key are subjected to bundling compression, obtain bundling condensed document;
The bundling condensed document obtained described in storage.
Wherein, described that key is written in PSAM card data, including:
Using Encryption Algorithm mode, a random key is calculated, the random key being calculated is written to In PSAM card data.
Wherein, before the bundling condensed document obtained described in the storage, further include:
A wherein bundling condensed document in the obtained bundling condensed document is encrypted.
Wherein, after the bundling condensed document obtained described in the storage, further include:
The bundling condensed document obtained described in the storage is subjected to bundling decompression, after obtaining said write key PSAM card data.
Wherein, described that the bundling condensed document obtained described in the storage is subjected to bundling decompression, obtain described write Enter the PSAM card data after key, including:
An encrypted wherein bundling condensed document for the storage is decrypted, described one after being decrypted Bundling condensed document, by after the obtained decryption the bundling condensed document and the storage described in obtain other Bundling condensed document carries out bundling decompression together, obtains the PSAM card data after said write key.
In order to solve the above technical problems, the present invention also provides a kind of systems ensureing PSAM card data safeties, including:
Writing unit, compression unit, storage unit;
Said write unit, for key to be written in PSAM card data;
The compression unit obtains bundling pressure for the PSAM card data after said write key to be carried out bundling compression Contracting document;
The storage unit, for storing the obtained bundling condensed document.
Wherein, said write unit is specifically used for:
Using Encryption Algorithm mode, a random key is calculated, the random key being calculated is written to In PSAM card data.
Wherein, the compression unit, is specifically used for:
A wherein bundling condensed document in the obtained bundling condensed document is encrypted.
Wherein, it is described ensure PSAM card data safeties system, further include:
Decompression units, the bundling condensed document for will be obtained described in the storage carry out bundling decompression, obtain institute State the PSAM card data after write-in key.
Wherein, the decompression units, are specifically used for:
An encrypted wherein bundling condensed document for the storage is decrypted, described one after being decrypted Bundling condensed document, by after the obtained decryption the bundling condensed document and the storage described in obtain other Bundling condensed document carries out bundling decompression together, obtains the PSAM card data after said write key.
The method provided by the invention for ensureing PSAM card data safeties, including:Key is written in PSAM card data, into And the PSAM card data after the write-in key are subjected to bundling compression, bundling condensed document is obtained, and then store obtained point Condensed document is rolled up, guarantee PSAM card data safeties are realized to reach.
The system provided by the invention for ensureing PSAM card data safeties, including:Writing unit, compression unit, storage unit; Writing unit, for key to be written in PSAM card data;Compression unit is used for the PSAM card data after the write-in key Bundling compression is carried out, bundling condensed document is obtained;Storage unit, for storing the obtained bundling condensed document, to reach It realizes and ensures PSAM card data safeties.
Description of the drawings
Fig. 1 is the flow diagram for the method that the present invention ensures PSAM card data safeties;
Fig. 2 is the structural schematic diagram for the system that the present invention ensures PSAM card data safeties.
Specific implementation mode
With reference to the accompanying drawings and examples, the present invention is described in further detail.It is emphasized that following implement Example is merely to illustrate the present invention, but is not defined to the scope of the present invention.Likewise, following embodiment is only the portion of the present invention Point embodiment and not all embodiments, the institute that those of ordinary skill in the art are obtained without creative efforts There are other embodiments, shall fall within the protection scope of the present invention.
The present invention provides a kind of method ensureing PSAM card data safeties.
Fig. 1 is referred to, Fig. 1 is the flow diagram for the method that the present invention ensures PSAM card data safeties, guarantee of the present invention The method of PSAM card data safeties, including:
S101:Key is written in PSAM card data.
Wherein, key is written in PSAM card data, may include:
Using Encryption Algorithm mode, a random key is calculated, the random key that this is calculated is written to In PSAM card data.
Wherein, before being written to key in PSAM card data, can also include:
Obtain PSAM card data.
Wherein, key is written in PSAM card data, may include:
Key is written in the PSAM card data got.
Wherein, key is written in PSAM card data, may include:
Using Encryption Algorithm mode, a random key is calculated, the random key that this is calculated is written to this In the PSAM card data got.
S102:PSAM card data after the write-in key are subjected to bundling compression, obtain bundling condensed document.
Wherein, the PSAM card data after the write-in key are subjected to bundling compression, obtain bundling condensed document, can wraps It includes:
Using bundling compress mode, the PSAM card data after the write-in key are subjected to bundling compression, obtain bundling compression Document.
S103:Store the obtained bundling condensed document.
Wherein, before storing the obtained bundling condensed document, can also include:
A wherein bundling condensed document in bundling condensed document that this is obtained is encrypted.
Wherein, the obtained bundling condensed document is stored, may include:
It stores an encrypted wherein bundling condensed document and stores other obtained bundling condensed documents.
Wherein, after storing the obtained bundling condensed document, can also include:
The obtained bundling condensed document of the storage is subjected to bundling decompression, obtains the PSAM cards after the write-in key Data.
Wherein, the obtained bundling condensed document of the storage is subjected to bundling decompression, after obtaining the write-in key PSAM card data may include:
An encrypted wherein bundling condensed document for the storage is decrypted, the bundling pressure after being decrypted Contracting document, by other obtained bundling condensed documents one of the bundling condensed document and the storage after the obtained decryption It rises and carries out bundling decompression, obtain the PSAM card data after the write-in key.
The present invention also provides a kind of systems ensureing PSAM card data safeties.
Fig. 2 is referred to, Fig. 2 is the structural schematic diagram for the system that the present invention ensures PSAM card data safeties, guarantee of the present invention The system of PSAM card data safeties, including:Writing unit 201, compression unit 202, storage unit 203.
Writing unit 201, for key to be written in PSAM card data.
Compression unit 202 obtains bundling compression text for the PSAM card data after the write-in key to be carried out bundling compression Shelves.
Storage unit 203, for storing the obtained bundling condensed document.
Wherein, writing unit 201 can be specifically used for:
Using Encryption Algorithm mode, a random key is calculated, the random key that this is calculated is written to In PSAM card data.
Wherein, the present invention ensure PSAM card data safeties system, can also include:
Acquiring unit (does not indicate) in figure, for obtaining PSAM card data.
Wherein, writing unit can be specifically used for:
Key is written in the PSAM card data got.
Wherein, writing unit can be specifically used for:
Using Encryption Algorithm mode, a random key is calculated, the random key that this is calculated is written to this In the PSAM card data got.
Wherein, compression unit 202 can be specifically used for:
Using bundling compress mode, the PSAM card data after the write-in key are subjected to bundling compression, obtain bundling compression Document.
Wherein, compression unit 202 can be specifically used for:
A wherein bundling condensed document in bundling condensed document that this is obtained is encrypted.
Wherein, storage unit 203 can be specifically used for:
It stores an encrypted wherein bundling condensed document and stores other obtained bundling condensed documents.
Wherein, the present invention ensure PSAM card data safeties system, can also include:
Decompression units (do not indicate) in figure, and the bundling condensed document for obtaining this of the storage carries out bundling decompression Contracting, obtains the PSAM card data after the write-in key.
Wherein, decompression units can be specifically used for:
An encrypted wherein bundling condensed document for the storage is decrypted, the bundling pressure after being decrypted Contracting document, by other obtained bundling condensed documents one of the bundling condensed document and the storage after the obtained decryption It rises and carries out bundling decompression, obtain the PSAM card data after the write-in key.
The method provided by the invention for ensureing PSAM card data safeties, including:Key is written in PSAM card data, into And the PSAM card data after the write-in key are subjected to bundling compression, bundling condensed document is obtained, and then store obtained point Condensed document is rolled up, guarantee PSAM card data safeties are realized to reach.
The system provided by the invention for ensureing PSAM card data safeties, including:Writing unit, compression unit, storage unit; Writing unit, for key to be written in PSAM card data;Compression unit is used for the PSAM card data after the write-in key Bundling compression is carried out, bundling condensed document is obtained;Storage unit, for storing the obtained bundling condensed document, to reach It realizes and ensures PSAM card data safeties.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can To realize by another way.For example, device embodiments described above are only schematical, for example, module or The division of unit, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, and be shown as unit Component may or may not be physical unit, you can be located at a place, or may be distributed over multiple networks On unit.Some or all of unit therein can be selected according to the actual needs to realize the mesh of present embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also may be used It, can also be during two or more units be integrated in one unit to be that each unit physically exists alone.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute each implementation of the present invention The all or part of step of methods.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. it is various The medium of program code can be stored.
The foregoing is merely the section Examples of the present invention, are not intended to limit protection scope of the present invention, every utilization Equivalent device or equivalent process transformation made by description of the invention and accompanying drawing content are applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method ensureing PSAM card data safeties, which is characterized in that including:
Key is written in PSAM card data;
PSAM card data after said write key are subjected to bundling compression, obtain bundling condensed document;
The bundling condensed document obtained described in storage.
2. the method for ensureing PSAM card data safeties as described in claim 1, which is characterized in that described to be written to key In PSAM card data, including:
Using Encryption Algorithm mode, a random key is calculated, the random key being calculated is written to PSAM In card data.
3. the method for ensureing PSAM card data safeties as claimed in claim 1 or 2, which is characterized in that described in the storage Before obtained bundling condensed document, further include:
A wherein bundling condensed document in the obtained bundling condensed document is encrypted.
4. the method for ensureing PSAM card data safeties as claimed in claim 3, which is characterized in that obtained described in the storage Bundling condensed document after, further include:
The bundling condensed document obtained described in the storage is subjected to bundling decompression, obtains the PSAM after said write key Card data.
5. the method for ensureing PSAM card data safeties as claimed in claim 4, which is characterized in that the institute by the storage The bundling condensed document stated carries out bundling decompression, obtains the PSAM card data after said write key, including:
An encrypted wherein bundling condensed document for the storage is decrypted, the bundling after being decrypted Condensed document, by after the obtained decryption the bundling condensed document and the storage described in obtained other bundlings Condensed document carries out bundling decompression together, obtains the PSAM card data after said write key.
6. a kind of system ensureing PSAM card data safeties, which is characterized in that including:
Writing unit, compression unit, storage unit;
Said write unit, for key to be written in PSAM card data;
The compression unit obtains bundling compression text for the PSAM card data after said write key to be carried out bundling compression Shelves;
The storage unit, for storing the obtained bundling condensed document.
7. the system for ensureing PSAM card data safeties as claimed in claim 6, which is characterized in that said write unit, specifically For:
Using Encryption Algorithm mode, a random key is calculated, the random key being calculated is written to PSAM In card data.
8. the system of guarantee PSAM card data safeties as claimed in claims 6 or 7, which is characterized in that the compression unit, tool Body is used for:
A wherein bundling condensed document in the obtained bundling condensed document is encrypted.
9. the system for ensureing PSAM card data safeties as claimed in claim 8, which is characterized in that the guarantee PSAM card data Safety system, further include:
Decompression units, the bundling condensed document for will be obtained described in the storage carry out bundling decompression, obtain described write Enter the PSAM card data after key.
10. the system for ensureing PSAM card data safeties as claimed in claim 9, which is characterized in that the decompression units, specifically For:
An encrypted wherein bundling condensed document for the storage is decrypted, the bundling after being decrypted Condensed document, by after the obtained decryption the bundling condensed document and the storage described in obtained other bundlings Condensed document carries out bundling decompression together, obtains the PSAM card data after said write key.
CN201810880239.0A 2018-08-03 2018-08-03 A kind of method and system ensureing PSAM card data safeties Pending CN108763969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810880239.0A CN108763969A (en) 2018-08-03 2018-08-03 A kind of method and system ensureing PSAM card data safeties

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810880239.0A CN108763969A (en) 2018-08-03 2018-08-03 A kind of method and system ensureing PSAM card data safeties

Publications (1)

Publication Number Publication Date
CN108763969A true CN108763969A (en) 2018-11-06

Family

ID=63968872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810880239.0A Pending CN108763969A (en) 2018-08-03 2018-08-03 A kind of method and system ensureing PSAM card data safeties

Country Status (1)

Country Link
CN (1) CN108763969A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542319A (en) * 2010-12-10 2012-07-04 上海华虹集成电路有限责任公司 Method for protecting keys of purchase secure access module (PSAM) card
CN104022886A (en) * 2014-06-27 2014-09-03 深圳市捷顺科技实业股份有限公司 Safety authentication method applied to parking lot as well as related device and system
CN106790302A (en) * 2017-03-22 2017-05-31 无锡紫光存储系统有限公司 Data ciphering method, data decryption method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542319A (en) * 2010-12-10 2012-07-04 上海华虹集成电路有限责任公司 Method for protecting keys of purchase secure access module (PSAM) card
CN104022886A (en) * 2014-06-27 2014-09-03 深圳市捷顺科技实业股份有限公司 Safety authentication method applied to parking lot as well as related device and system
CN106790302A (en) * 2017-03-22 2017-05-31 无锡紫光存储系统有限公司 Data ciphering method, data decryption method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彬彬: "多卷加密 网盘泄露也安全" *

Similar Documents

Publication Publication Date Title
CN100438409C (en) Intelligent card with financial-transaction message processing ability and its method
US20160117518A1 (en) File Encryption/Decryption Device And File Encryption/Decryption Method
CN107295069A (en) Data back up method, device, storage medium and server
CN102722670B (en) Mobile storage equipment-based file protection method, equipment and system
CN111385084A (en) Key management method and device for digital assets and computer readable storage medium
CN104298926B (en) A kind of method and apparatus for running encryption file
CN101103404A (en) Method and portable storage device for allocating secure area in insecure area
CN103942292A (en) Virtual machine mirror image document processing method, device and system
CN106155596A (en) Method for writing data and device
CN104699568A (en) Data backup method and terminal
EP2220582A1 (en) Interaction between secured and unsecured environments
CN111177773B (en) Full disk encryption and decryption method and system based on network card ROM
CN104268483B (en) Data protecting system, device and method
CN101296231A (en) Data card operation method and data card
WO2002003271A1 (en) Ic card, method for backing up ic card, and restoring method
CN104573661A (en) Fingerprint data processing method and device
CN108763969A (en) A kind of method and system ensureing PSAM card data safeties
CN103930894A (en) Storage device reader having security function and security method using same
CN103049705A (en) Virtualization based method, terminal and system for secure storage
US8276188B2 (en) Systems and methods for managing storage devices
CN104715206A (en) Data security protection method for mobile storage medium
CN110880965A (en) Outgoing electronic document encryption method, system, terminal and storage medium
CN111159726A (en) Full disk encryption and decryption method and system based on UEFI (unified extensible firmware interface) environment variable
EP3681097A1 (en) Secret information restorable value distribution system and method
CN105912466B (en) Using the processing method and processing device of exception information

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106