CN106027568A - Security encryption and communication method for electric power account number card - Google Patents
Security encryption and communication method for electric power account number card Download PDFInfo
- Publication number
- CN106027568A CN106027568A CN201610553217.4A CN201610553217A CN106027568A CN 106027568 A CN106027568 A CN 106027568A CN 201610553217 A CN201610553217 A CN 201610553217A CN 106027568 A CN106027568 A CN 106027568A
- Authority
- CN
- China
- Prior art keywords
- card
- encryption
- family
- family number
- end message
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0869—Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a security encryption and communication method for an electric power account number card. According to the encryption method, account number data is transmitted through NFC; 10 account numbers of the account number card are encrypted through three encryption algorithms, and all-sector encryption is carried out; when an account number encryption function at a card writing end is started, a front end carries out first communication encryption with a background card writing dynamic link library; after the dynamic link library obtains the encrypted account numbers, second encryption is carried out in the dynamic link library; when encryption is carried out, encrypted dynamic data is used as the key; third encryption is carried out on the card according to the hardware features of different cards, and the key is directly written into a physical circuit of the card. The communication method comprises the steps that data transmission between the account number card and a terminal information module is carried out through NFC; before an encrypted session channel is established, the account number card, the terminal information module and a background server need to be verified; a symmetric key of a symmetric encryption algorithm is encrypted by employing an asymmetric encryption algorithm; and the data between the terminal information module and the account number card is encrypted by employing the symmetric key.
Description
Technical field
The present invention relates to a kind of safety encryption mainly utilizing short distance high frequency radio technology to carry out electric power family number card and the means of communication, belong to encryption and the communication technique field of electric power family number card.
Background technology
Along with the expansion of power consumer quantity increases, Every household has an ammeter has ensured the legitimate rights and interests of electricity consumption resident, and the corresponding family number of table meter uniquely indicates in power supply enterprise as user, is carrying out the business that accepts, electricity payment, is being required for providing.
But family number is as the sign of table meter, represent the name of user, address, electricity consumption situation, its number is display in plain text, and safety is inadequate.Under the background of " the Internet+", how to ensure user information safety, be a key problem in this field.
Summary of the invention
The mesh of the present invention is the deficiency overcoming prior art to exist, and the safety providing a kind of electric power family number to block is encrypted and the means of communication, and it is by the improvement to encryption method so that carried out the application program of ciphering terminal by the family number of family number card;Make user need not remember and input family number, directly read family card checking information, simple to operate, improve Consumer's Experience, it is ensured that the privacy of user.
It is an object of the invention to complete by following technical solution, a kind of safe encryption method of electric power family number card, this safe encryption method uses NFC transmission family number, family number card is through three 10 families number of AES encryption, road, carrying out full sector encryption prevents family card to be replicated, specifically include: when writing card end and opening family encryption function, first front end is write card dynamic link library and carried out first communication encryption with backstage;After dynamic link library obtains encryption family number, its inside is carried out second encryption, the dynamic data after key takes encryption during encryption;Finally according to the hardware characteristics of different cards, card carrying out the 3rd road encryption, key writes direct the physical circuit of card.
A kind of safe communication method of described electric power family number card, described safe communication method is: the data transmission between family number card and end message module is carried out by NFC, before setting up encryption session channel, need to separately verify family number card, end message module and background server, thus ensure that the session channel set up is safe and legal;Then the symmetric key of asymmetrical AES cryptographic symmetrical AES is used, data between using symmetric key to block end message module and family number are encrypted, by this safe encryption policy, can ensure that the end message module of only certification and family number stick into the exchange transmission of row data, and data transmission is all double-encryption, it is ensured that the safety of whole system.
As preferably: family essential information is respectively sent to end message module and background server by NFC by described family number card;
By family essential information described in comparison, described end message module verifies whether family number card mates, if coupling, feedback handshaking information is blocked to family number, utilizing end message module id and time to use symmetric encipherment algorithm to generate symmetric key simultaneously, if not mating, disconnecting and the connection of family number card;
By family card essential information described in comparison, described background server verifies whether family number card mates, if coupling, feedback handshaking information is blocked to family number, if not mating, disconnects and the connection of family number card;
After family number card all mates with described end message module and background server respectively, described end message module uses asymmetric arithmetic to be encrypted terminal essential information, described symmetric key and family card essential information, and sends to background server;
Described symmetric key is deciphered and obtained to described background server, uses the family card essential information in background server described in described symmetric key encryption, confirms character and non-acknowledgement character, and transmits to described end message module;
Whether described end message module check mates from the family card essential information in background server, if coupling, retains described family card essential information, using simultaneously and confirm character and non-acknowledgement character described in symmetric key encryption, if not mating, disconnecting.
As preferably: described family card essential information includes application program identification, process identification (PID), family number card NFC mark and initialization information;
Described application program identification is the mark of the interior application program to be run of family number card, for matching with the application program identification in described end message module and background server;
Described process identification (PID) be family card each run corresponding application programs be the mark produced, the process identification (PID) produced each time is the most different, for notifying described end message module and the process of background server family card application;
Described family number card NFC mark and initialization information are used for carrying out NFC communication.
As preferably: described family number card all uses serial communication protocol to carry out NFC communication with described end message module and background server;
Described terminal essential information includes end message module id and terminal NFC mark;
Described asymmetric arithmetic is RSA public key encryption algorithm;Described symmetric key is AES key.
Compared with prior art, the beneficial effects are mainly as follows: the data transmission between family number card and end message module is carried out by NFC, before setting up encryption session channel, need to separately verify family number card, end message module and background server, thus ensure that the session channel set up is safe and legal;Then the symmetric key of asymmetrical AES cryptographic symmetrical AES is used, data between using symmetric key to block end message module and family number are encrypted, by this safe encryption policy, can ensure that the end message module of only certification and family card can carry out the exchange transmission of data, and data transmission is all double-encryption, fully ensure that the safety of whole system.
Accompanying drawing explanation
Fig. 1 is the safe communication method procedural block diagram of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention will be described in detail: the safe encryption method of a kind of electric power family number of the present invention card, this safe encryption method uses NFC transmission family number, family number card is through three 10 families number of AES encryption, road, carrying out full sector encryption prevents family card to be replicated, specifically include: when writing card end and opening family encryption function, first front end is write card dynamic link library and carried out first communication encryption with backstage;After dynamic link library obtains encryption family number, its inside is carried out second encryption, the dynamic data after key takes encryption during encryption;Finally according to the hardware characteristics of different cards, card carrying out the 3rd road encryption, key writes direct the physical circuit of card;Above ciphering process all uses the algorithm that performance is splendid, safe and reliable.
The present invention is by the improvement to encryption method so that carried out the application program of ciphering terminal by the family number of family number card;Make user need not remember and input family number, directly read family card checking information, simple to operate, improve Consumer's Experience, it is ensured that the privacy of user.
Shown in Fig. 1, the safe communication method of a kind of electric power family number of the present invention card, described safe communication method is: the data transmission between family number card and end message module is carried out by NFC, before setting up encryption session channel, need to separately verify family number card, end message module and background server, thus ensure that the session channel set up is safe and legal;Then the symmetric key of asymmetrical AES cryptographic symmetrical AES is used, data between using symmetric key to block end message module and family number are encrypted, by this safe encryption policy, can ensure that the end message module of only certification and family number stick into the exchange transmission of row data, and data transmission is all double-encryption, it is ensured that the safety of whole system.
Family essential information is respectively sent to end message module and background server by NFC by family number of the present invention card;
By family essential information described in comparison, described end message module verifies whether family number card mates, if coupling, feedback handshaking information is blocked to family number, utilizing end message module id and time to use symmetric encipherment algorithm to generate symmetric key simultaneously, if not mating, disconnecting and the connection of family number card;
By family card essential information described in comparison, described background server verifies whether family number card mates, if coupling, feedback handshaking information is blocked to family number, if not mating, disconnects and the connection of family number card;
After family number card all mates with described end message module and background server respectively, described end message module uses asymmetric arithmetic to be encrypted terminal essential information, described symmetric key and family card essential information, and sends to background server;
Described symmetric key is deciphered and obtained to described background server, uses the family card essential information in background server described in described symmetric key encryption, confirms character and non-acknowledgement character, and transmits to described end message module;
Whether described end message module check mates from the family card essential information in background server, if coupling, retains described family card essential information, using simultaneously and confirm character and non-acknowledgement character described in symmetric key encryption, if not mating, disconnecting.
Family of the present invention card essential information includes application program identification, process identification (PID), family number card NFC mark and initialization information;
Described application program identification is the mark of the interior application program to be run of family number card, for matching with the application program identification in described end message module and background server;
Described process identification (PID) be family card each run corresponding application programs be the mark produced, the process identification (PID) produced each time is the most different, for notifying described end message module and the process of background server family card application;
Described family number card NFC mark and initialization information are used for carrying out NFC communication.
Family number of the present invention card all uses serial communication protocol to carry out NFC communication with described end message module and background server;
Described terminal essential information includes end message module id and terminal NFC mark;
Described asymmetric arithmetic is RSA public key encryption algorithm;
Described symmetric key is AES key.
Claims (5)
1. the safe encryption method of an electric power family number card, it is characterized in that this safe encryption method uses NFC transmission family number, family number card is through three 10 families number of AES encryption, road, carrying out full sector encryption prevents family card to be replicated, specifically include: when writing card end and opening family encryption function, first front end is write card dynamic link library and carried out first communication encryption with backstage;After dynamic link library obtains encryption family number, its inside is carried out second encryption, the dynamic data after key takes encryption during encryption;Finally according to the hardware characteristics of different cards, card carrying out the 3rd road encryption, key writes direct the physical circuit of card.
2. the safe communication method of electric power family number card described in a claim 1, it is characterized in that described safe communication method is: the data transmission between family number card and end message module is carried out by NFC, before setting up encryption session channel, need to separately verify family number card, end message module and background server, thus ensure that the session channel set up is safe and legal;Then the symmetric key of asymmetrical AES cryptographic symmetrical AES is used, data between using symmetric key to block end message module and family number are encrypted, by this safe encryption policy, can ensure that the end message module of only certification and family number stick into the exchange transmission of row data, and data transmission is all double-encryption, it is ensured that the safety of whole system.
The safe communication method of electric power family number card the most according to claim 2, it is characterised in that family essential information is respectively sent to end message module and background server by NFC by described family number card;
By family essential information described in comparison, described end message module verifies whether family number card mates, if coupling, feedback handshaking information is blocked to family number, utilizing end message module id and time to use symmetric encipherment algorithm to generate symmetric key simultaneously, if not mating, disconnecting and the connection of family number card;
By family card essential information described in comparison, described background server verifies whether family number card mates, if coupling, feedback handshaking information is blocked to family number, if not mating, disconnects and the connection of family number card;
After family number card all mates with described end message module and background server respectively, described end message module uses asymmetric arithmetic to be encrypted terminal essential information, described symmetric key and family card essential information, and sends to background server;
Described symmetric key is deciphered and obtained to described background server, uses the family card essential information in background server described in described symmetric key encryption, confirms character and non-acknowledgement character, and transmits to described end message module;
Whether described end message module check mates from the family card essential information in background server, if coupling, retains described family card essential information, using simultaneously and confirm character and non-acknowledgement character described in symmetric key encryption, if not mating, disconnecting.
The safe communication method of electric power family number card the most according to claim 3, it is characterised in that described family card essential information includes application program identification, process identification (PID), family number card NFC mark and initialization information;
Described application program identification is the mark of the interior application program to be run of family number card, for matching with the application program identification in described end message module and background server;
Described process identification (PID) be family card each run corresponding application programs be the mark produced, the process identification (PID) produced each time is the most different, for notifying described end message module and the process of background server family card application;
Described family number card NFC mark and initialization information are used for carrying out NFC communication.
The safe communication method of electric power family number card the most according to claim 3, it is characterised in that described family number card all uses serial communication protocol to carry out NFC communication with described end message module and background server;
Described terminal essential information includes end message module id and terminal NFC mark;
Described asymmetric arithmetic is RSA public key encryption algorithm;
Described symmetric key is AES key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610553217.4A CN106027568A (en) | 2016-07-14 | 2016-07-14 | Security encryption and communication method for electric power account number card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610553217.4A CN106027568A (en) | 2016-07-14 | 2016-07-14 | Security encryption and communication method for electric power account number card |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106027568A true CN106027568A (en) | 2016-10-12 |
Family
ID=57118651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610553217.4A Pending CN106027568A (en) | 2016-07-14 | 2016-07-14 | Security encryption and communication method for electric power account number card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106027568A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108280504A (en) * | 2017-01-06 | 2018-07-13 | 广州市西迈信息科技有限公司 | The anti-copying encrypted method of access control system IC card |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996832A (en) * | 2006-12-01 | 2007-07-11 | 上海复旦微电子股份有限公司 | Initialization method of the symmetric secrete key for the near-field communication handset |
CN202534056U (en) * | 2012-05-10 | 2012-11-14 | 重庆市电力公司电力科学研究院 | Non-contact information safety interactive electric energy meter |
CN103945373A (en) * | 2014-04-25 | 2014-07-23 | 上海大众汽车有限公司 | Safety encryption scheme for Bluetooth transmission data |
CN104242994A (en) * | 2013-06-06 | 2014-12-24 | 卓望数码技术(深圳)有限公司 | Communication method, communication device and corresponding mobile terminal with NFC function |
-
2016
- 2016-07-14 CN CN201610553217.4A patent/CN106027568A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996832A (en) * | 2006-12-01 | 2007-07-11 | 上海复旦微电子股份有限公司 | Initialization method of the symmetric secrete key for the near-field communication handset |
CN202534056U (en) * | 2012-05-10 | 2012-11-14 | 重庆市电力公司电力科学研究院 | Non-contact information safety interactive electric energy meter |
CN104242994A (en) * | 2013-06-06 | 2014-12-24 | 卓望数码技术(深圳)有限公司 | Communication method, communication device and corresponding mobile terminal with NFC function |
CN103945373A (en) * | 2014-04-25 | 2014-07-23 | 上海大众汽车有限公司 | Safety encryption scheme for Bluetooth transmission data |
Non-Patent Citations (1)
Title |
---|
吴懋刚: "兼容式IC卡燃气预收费管理系统的设计", 《金卡工程》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108280504A (en) * | 2017-01-06 | 2018-07-13 | 广州市西迈信息科技有限公司 | The anti-copying encrypted method of access control system IC card |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105790938B (en) | Safe unit key generation system and method based on credible performing environment | |
CN107358441B (en) | Payment verification method and system, mobile device and security authentication device | |
US9918226B2 (en) | Spoofing protection for secure-element identifiers | |
TWI676945B (en) | Method and device for binding wearable device, electronic payment method and device | |
CN104717198B (en) | Oftware updating method and equipment on safety element | |
CN103095456B (en) | The processing method of transaction message and system | |
CN105635062B (en) | The verification method and device of network access equipment | |
CN103136664B (en) | There is smart card transaction system and the method for electronic signature functionality | |
EP2961094A1 (en) | System and method for generating a random number | |
CN102801730B (en) | Information protection method and device for communication and portable devices | |
CN101807994B (en) | Method and system for application data transmission of IC card | |
CN103731756A (en) | Smart home remote security access control implementation method based on smart cloud television gateway | |
CN203242029U (en) | An intelligent card containing an electronic signature function and an intelligent card transaction system | |
CN101841525A (en) | Secure access method, system and client | |
CN105069864A (en) | Door lock control secure communication scheme based on NFC (near field communication) function of smart phone | |
CN103873440A (en) | Application program upgrading method and system | |
CN104202170B (en) | A kind of identity authorization system and method based on mark | |
CN104219055A (en) | NFC (near field communication)-based point-to-point trusted authentication method | |
CN108683674A (en) | Verification method, device, terminal and the computer readable storage medium of door lock communication | |
CN103701598A (en) | SM2 signature algorithm-based double-check signature method and digital signature equipment | |
CN104424446A (en) | Safety verification and transmission method and system | |
CN104202299A (en) | System and method of identity authentication based on Bluetooth | |
US20170012781A1 (en) | A Solution For Generating And Issuing Security Codes With Guaranteed Issuer Authenticity And Origin | |
CN109309910A (en) | Communication data transmission method, system, equipment and computer readable storage medium | |
WO2015055120A1 (en) | Device for secure information exchange |
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: 20161012 |