CN106570993A - Matrix keyboard security improving method, device and keyboard - Google Patents

Matrix keyboard security improving method, device and keyboard Download PDF

Info

Publication number
CN106570993A
CN106570993A CN201610918945.0A CN201610918945A CN106570993A CN 106570993 A CN106570993 A CN 106570993A CN 201610918945 A CN201610918945 A CN 201610918945A CN 106570993 A CN106570993 A CN 106570993A
Authority
CN
China
Prior art keywords
scanning sequency
keyboard
time
origin
randomized blocks
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
CN201610918945.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 Xinguodu Payment Technology Co Ltd
Original Assignee
Shenzhen Xinguodu Payment Technology 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 Shenzhen Xinguodu Payment Technology Co Ltd filed Critical Shenzhen Xinguodu Payment Technology Co Ltd
Priority to CN201610918945.0A priority Critical patent/CN106570993A/en
Publication of CN106570993A publication Critical patent/CN106570993A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0018Constructional details, e.g. of drawer, printing means, input means
    • 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/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a matrix keyboard security improving method, device and keyboard. The method comprises the following steps: a random module is arranged and is used for obtaining signal change of a matrix keyboard lead pin, occurrence time of the signal change is recorded, a scanning sequence instruction is read and output based on the occurrence time, and a processing unit which is used for scanning the matrix keyboard pin is driven to change a scanning sequence based on the scanning sequence instruction. The device is used for implementing the corresponding method. The keyboard is realized based on the above method. According to the matrix keyboard security improving method, device and keyboard, based on randomness of keyboard lead pin change time, a Hash value is obtained via a Hash algorithm; a preset scanning sequence is loaded according to the Hash value, time difference of the scanning sequence is used for enabling change of electromagnetic radiation of keyboard operation, the electromagnetic radiation can be prevented from solidification and inverse operation, and keyboard input security can be improved.

Description

A kind of method of lifting matrixes keypad security, device and keyboard
Technical field
The present invention relates to a kind of method of lifting matrixes keypad security, device and keyboard, belong to input equipment field.
Background technology
POS terminal is made up of central processing unit, various peripheral hardware devices and containment vessel, and POS terminal is arranged on business Family and accept in site, collect the Transaction Information of user, including user account number and password, server is sent to by network, The function such as realize bankcard consumption, inquiry into balance, transfer accounts.POS terminal is to collect the sensitive informations such as user cipher by button.Cause This protection to key-press input, prevents other people from stealing, and is very important.What at present POS terminal was used mostly is matrix keyboard, The key value pressed is obtained by way of scanning.Assume that keyboard has M rows, N row buttons, to having M rows input pin and N row defeated Go out pin, the process of scanning is as follows:The output of row pin is high(It is low), the input of row pin is low(It is high);Button is pressed, certain a line pin Input for low(It is high), trigger the scanning of button;The pin output of the 1st row is high(It is low), the pin that other are arranged exports low(It is high), note Record input value input1 of all row pins;The pin output of the 2nd row is high(It is low), the pin that other are arranged exports low(It is high), record Input value input2 of all row pins;The rest may be inferred, till Nth column;By input1, input2 ..., input N are obtained To all key values pressed.
CPU can produce electromagnetic radiation when said process is performed.Due to employing from the 1st row sweeping to Nth column every time Order is retouched, causes the radiation pressed every time produced by same button consistent.And different buttons are pressed, above-mentioned implementation procedure is Can be discrepant, cause electromagnetic radiation variant.Finally, the button pressed every time can be gone out by the difference identification of electromagnetic radiation Value.
The content of the invention
In order to solve the above problems, the present invention is by providing a kind of method of lifting matrixes keypad security, device and being System.
On the one hand the technical solution used in the present invention is a kind of method of lifting matrixes keypad security, arranges random mould Block, the randomized blocks are used to obtain the signal intensity of matrix keyboard pin, the signal intensity time of origin are recorded, based on this One scan sequential instructions are read and exported to the raw time, and based on the scanning sequency order-driven place of scan rectangle keyboard pin is used for Reason unit change scanning sequency.
Preferably, the randomized blocks process the time of origin and export corresponding cryptographic Hash, base based on hash algorithm Corresponding scanning sequency is extracted from scanning sequency group in the cryptographic Hash, scanning sequency instruction is generated based on the scanning sequency.
Preferably, the randomized blocks are additionally operable to arrange the memory cell of the storage scanning sequency group.
On the other hand the technical solution used in the present invention is a kind of device of lifting matrixes keypad security, and the device is used for Randomized blocks are set, and the randomized blocks are used to obtain the signal intensity of matrix keyboard pin, when recording signal intensity generation Between, one scan sequential instructions are read and exported based on the time of origin, scan rectangle is used for based on the scanning sequency order-driven The processing unit change scanning sequency of keyboard pin.
Preferably, the randomized blocks process the time of origin and export corresponding cryptographic Hash, base based on hash algorithm Corresponding scanning sequency is extracted from scanning sequency group in the cryptographic Hash, scanning sequency instruction is generated based on the scanning sequency.
Preferably, the randomized blocks are additionally operable to arrange the memory cell of the storage scanning sequency group.
On the other hand the technical solution used in the present invention is a kind of security matrix keyboard, including described randomized blocks, institute Randomized blocks are stated for obtaining the signal intensity of matrix keyboard pin, the signal intensity time of origin is recorded, based on during the generation Between read and export one scan sequential instructions, based on the scanning sequency order-driven be used for scan rectangle keyboard pin process list Unit's change scanning sequency.
Beneficial effects of the present invention are the randomness of the time changed based on keyboard pin, and by hash algorithm one is obtained Cryptographic Hash, according to the cryptographic Hash a default scanning sequency is loaded into, and using the time difference opposite sex of scanning sequency, makes keyboard operation Electromagnetic radiation change draw with inverse operation with avoiding being cured, be conducive to improve keyboard input security.
Specific embodiment
With reference to embodiments the present invention will be described.
Based on inventive embodiment 1, a kind of method of lifting matrixes keypad security, randomized blocks are set, it is described random Module is used to obtain the signal intensity of matrix keyboard pin, records the signal intensity time of origin, is read based on the time of origin And one scan sequential instructions are exported, the processing unit for being used for scan rectangle keyboard pin based on the scanning sequency order-driven is changed Scanning sequency.
The CPU of POS terminal(Processing unit)During operation, electromagnetic radiation, and the different radiation meetings for producing of program can be produced It is variant.For key scan program, due to employing from the 1st row to the scanning sequency of Nth column every time, cause to press every time Radiation produced by same button is consistent.And different buttons are pressed, scanning process is variant, also causes electromagnetic radiation to have difference It is different.Finally, the key value pressed every time can be gone out by the difference identification of electromagnetic radiation.
By arranging a randomized blocks, the module can obtain the signal intensity of matrix keyboard pin(Can be direct The pin for being connected to each button sentences acquisition signal intensity, or detects the signal change of keyboard pin by CPU When change, send a signal and give randomized blocks, informed that button is triggered);Record the time that the signal occurs(If To be directly connected to pin, then time based on the built-in time measurement unit of module, if if the signal of the feedback of CPU, The time that then read signal sends);Based on the time that signal intensity occurs, the time is processed using hash algorithm, export one Cryptographic Hash, using the cryptographic Hash as addressing code, reads default scanning sequency, packs the scanning sequency and generates a scanning Sequential instructions, the instruction is used to drive the scanning sequency of processing unit change scanning keyboard pin.
Because the time difference of button, therefore the order for scanning change very greatly, corresponding electromagnetic radiation is also different, increases Plus the difficulty of the measurement/calculating/positioning to electromagnetic radiation, improve the security of input through keyboard.
The randomized blocks process the time of origin and export corresponding cryptographic Hash based on hash algorithm, based on the Hash Value extracts corresponding scanning sequency from scanning sequency group, and based on the scanning sequency scanning sequency instruction is generated.
The binary value of random length is mapped as hash algorithm the binary value of shorter regular length, and this is little by two Hex value is referred to as cryptographic Hash.Cryptographic Hash is the unique and extremely compact numerical value representation of one piece of data.If one section of hash is bright Text(Time)And even only change a letter of the paragraph(Different time), subsequent Hash all will the different values of generation. Two different inputs of the hash for same value are found, is computationally impossible, so the cryptographic Hash of data can be with The integrality of inspection data.It is generally used for quick lookup and AES.
The randomized blocks are additionally operable to arrange the memory cell of the storage scanning sequency group.
Randomized blocks arrange one to be used to store the memory cell of scanning sequency group, wherein it is possible to be one and random mould Block together, and the memory cell of CPU isolation, for receiving scanning sequency group in advance;It can also be the storage list combined with CPU Unit(A storage interval is marked off in the memory cell that i.e. script POS terminal is stored to store scanning sequency group, thus may be used To increase the extended capability to random scanning order, such as, by the agreement being associated, it is independent of the time and passes through other key elements Calculate a scanning sequency and be applied to this programme).
Based on inventive embodiment 2, a kind of device of lifting matrixes keypad security, the device is used to arrange random mould Block, the randomized blocks are used to obtain the signal intensity of matrix keyboard pin, the signal intensity time of origin are recorded, based on this One scan sequential instructions are read and exported to the raw time, and based on the scanning sequency order-driven place of scan rectangle keyboard pin is used for Reason unit change scanning sequency.
The randomized blocks process the time of origin and export corresponding cryptographic Hash based on hash algorithm, based on the Hash Value extracts corresponding scanning sequency from scanning sequency group, and based on the scanning sequency scanning sequency instruction is generated.
The randomized blocks are additionally operable to arrange the memory cell of the storage scanning sequency group.
Based on inventive embodiment 3, a kind of security matrix keyboard, including described randomized blocks, the randomized blocks are used In the signal intensity for obtaining matrix keyboard pin, the signal intensity time of origin is recorded, read and export based on the time of origin One scan sequential instructions, the processing unit change scanning for being used for scan rectangle keyboard pin based on the scanning sequency order-driven is suitable Sequence.
The above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as It reaches the technique effect of the present invention with identical means, should all belong to protection scope of the present invention.In the protection model of the present invention Its technical scheme and/or embodiment can have a variety of modifications and variations in enclosing.

Claims (7)

1. a kind of method of lifting matrixes keypad security, it is characterised in that arrange randomized blocks, the randomized blocks are used to obtain The signal intensity of matrix keyboard pin is taken, the signal intensity time of origin is recorded, is read and is exported based on the time of origin and sweep Sequential instructions are retouched, the processing unit change scanning sequency of scan rectangle keyboard pin is used for based on the scanning sequency order-driven.
2. a kind of method of lifting matrixes keypad security according to claim 1, it is characterised in that the randomized blocks The time of origin is processed based on hash algorithm and corresponding cryptographic Hash is exported, is extracted from scanning sequency group based on the cryptographic Hash Corresponding scanning sequency, based on the scanning sequency scanning sequency instruction is generated.
3. a kind of method of lifting matrixes keypad security according to claim 2, it is characterised in that the randomized blocks It is additionally operable to arrange the memory cell of the storage scanning sequency group.
4. a kind of device of lifting matrixes keypad security, it is characterised in that the device is used to arrange randomized blocks, described random Module is used to obtain the signal intensity of matrix keyboard pin, records the signal intensity time of origin, is read based on the time of origin And one scan sequential instructions are exported, the processing unit for being used for scan rectangle keyboard pin based on the scanning sequency order-driven is changed Scanning sequency.
5. a kind of device of lifting matrixes keypad security according to claim 4, it is characterised in that the randomized blocks The time of origin is processed based on hash algorithm and corresponding cryptographic Hash is exported, is extracted from scanning sequency group based on the cryptographic Hash Corresponding scanning sequency, based on the scanning sequency scanning sequency instruction is generated.
6. a kind of device of lifting matrixes keypad security according to claim 5, it is characterised in that the randomized blocks It is additionally operable to arrange the memory cell of the storage scanning sequency group.
7. a kind of security matrix keyboard, it is characterised in that including the randomized blocks described in claim 1, the randomized blocks are used In the signal intensity for obtaining matrix keyboard pin, the signal intensity time of origin is recorded, read and export based on the time of origin One scan sequential instructions, the processing unit change scanning for being used for scan rectangle keyboard pin based on the scanning sequency order-driven is suitable Sequence.
CN201610918945.0A 2016-10-21 2016-10-21 Matrix keyboard security improving method, device and keyboard Pending CN106570993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610918945.0A CN106570993A (en) 2016-10-21 2016-10-21 Matrix keyboard security improving method, device and keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610918945.0A CN106570993A (en) 2016-10-21 2016-10-21 Matrix keyboard security improving method, device and keyboard

Publications (1)

Publication Number Publication Date
CN106570993A true CN106570993A (en) 2017-04-19

Family

ID=58534237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610918945.0A Pending CN106570993A (en) 2016-10-21 2016-10-21 Matrix keyboard security improving method, device and keyboard

Country Status (1)

Country Link
CN (1) CN106570993A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145394A (en) * 2019-12-20 2020-05-12 上海爱信诺航芯电子科技有限公司 Scanning control method and scanning control device for capacitive touch keys
CN114513593A (en) * 2022-01-25 2022-05-17 重庆医药高等专科学校 Mass image acquisition working method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5119294A (en) * 1986-11-12 1992-06-02 Omron Tateisi Electronics Company Pos terminal group management device with memory for pre-storing different collection data ranges for each pos terminal
US20060107067A1 (en) * 2004-11-15 2006-05-18 Max Safal Identification card with bio-sensor and user authentication method
CN101206542A (en) * 2006-12-18 2008-06-25 汉王科技股份有限公司 Ciphering signature writing pad with press keys and display screen
CN102576435A (en) * 2009-11-09 2012-07-11 日本电气英富醍株式会社 Handy terminal and payment method used for the handy terminal
CN103036681A (en) * 2012-12-13 2013-04-10 中国工商银行股份有限公司 Password safety keyboard device and system
CN103379091A (en) * 2012-04-16 2013-10-30 上海博路信息技术有限公司 Random verification code
CN104320254A (en) * 2014-09-29 2015-01-28 飞天诚信科技股份有限公司 Working method of intelligent key device supporting extended interface
CN105353889A (en) * 2015-11-29 2016-02-24 恒宝股份有限公司 Random scanning keyboard and scanning method therefor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5119294A (en) * 1986-11-12 1992-06-02 Omron Tateisi Electronics Company Pos terminal group management device with memory for pre-storing different collection data ranges for each pos terminal
US20060107067A1 (en) * 2004-11-15 2006-05-18 Max Safal Identification card with bio-sensor and user authentication method
CN101206542A (en) * 2006-12-18 2008-06-25 汉王科技股份有限公司 Ciphering signature writing pad with press keys and display screen
CN102576435A (en) * 2009-11-09 2012-07-11 日本电气英富醍株式会社 Handy terminal and payment method used for the handy terminal
CN103379091A (en) * 2012-04-16 2013-10-30 上海博路信息技术有限公司 Random verification code
CN103036681A (en) * 2012-12-13 2013-04-10 中国工商银行股份有限公司 Password safety keyboard device and system
CN104320254A (en) * 2014-09-29 2015-01-28 飞天诚信科技股份有限公司 Working method of intelligent key device supporting extended interface
CN105353889A (en) * 2015-11-29 2016-02-24 恒宝股份有限公司 Random scanning keyboard and scanning method therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145394A (en) * 2019-12-20 2020-05-12 上海爱信诺航芯电子科技有限公司 Scanning control method and scanning control device for capacitive touch keys
CN111145394B (en) * 2019-12-20 2021-08-03 上海爱信诺航芯电子科技有限公司 Scanning control method and scanning control device for capacitive touch keys
CN114513593A (en) * 2022-01-25 2022-05-17 重庆医药高等专科学校 Mass image acquisition working method
CN114513593B (en) * 2022-01-25 2024-04-16 重庆医药高等专科学校 Mass picture acquisition working method

Similar Documents

Publication Publication Date Title
JP6214771B2 (en) System and method for verifying clock synchronous dynamic password forgery prevention label legality in real time
JP6548667B2 (en) Method, apparatus and system for providing security checks
CN104038924B (en) Realize the method and system of Resource Exchange information processing
CN104992119B (en) A kind of safe transmission method and system of sensitive information Anti-theft
CA2540720A1 (en) System and method for generating reproducible session keys
WO2016065860A1 (en) Method and system for real-time verification of event-based dynamic password anti-counterfeiting tag validity
CN101847225B (en) A kind of method based on CN39 code managing commodity circulation
CN110729028A (en) Health data processing method and device, electronic equipment and storage medium
CN108848057A (en) A kind of method and device of remote secure access
CN106570993A (en) Matrix keyboard security improving method, device and keyboard
CN111178477A (en) Commodity two-dimensional code generation method
CN103246832B (en) Microprocessor chip with anti-copy function and recording system thereof
CN108122118A (en) Dynamic password providing method and device, article anti-counterfeit methods, devices and systems
WO2021218165A1 (en) Unlocking method, self-service locker, terminal device, server, and system
KR20130003648A (en) Method for generating barcodes and judging a validity of the bar-codes, bar-code generating device, and system having the same
Wang et al. A new personal information protection approach based on RSA cryptography
CN111368948B (en) UHF ear tag off-line encryption authentication method
WO2015028339A1 (en) Mobile transaction data verification device and method of data verification
CN115860768A (en) Tracing method and device based on block chain and electronic equipment thereof
TWM631265U (en) Gold Card Transaction Management System
US20150269562A1 (en) Once Card Number Generation and Validation Method and Apparatus
TW202312054A (en) Card binding method, user terminal, server, card binding system and storage medium
CN103500299B (en) A kind of random electronic cipher system and method
US20180285874A1 (en) Method for activating an object and terminal device thereof
CN204595894U (en) A kind of identity information self-service declaration equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170419

RJ01 Rejection of invention patent application after publication