CN109656606A - POS terminal program more new control method, device, storage medium and terminal - Google Patents

POS terminal program more new control method, device, storage medium and terminal Download PDF

Info

Publication number
CN109656606A
CN109656606A CN201811537344.0A CN201811537344A CN109656606A CN 109656606 A CN109656606 A CN 109656606A CN 201811537344 A CN201811537344 A CN 201811537344A CN 109656606 A CN109656606 A CN 109656606A
Authority
CN
China
Prior art keywords
program
pos terminal
safety chip
described program
memory
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
CN201811537344.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 Jiecheng Technology Service Co Ltd
Original Assignee
Shenzhen Jiecheng 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 Shenzhen Jiecheng Technology Service Co Ltd filed Critical Shenzhen Jiecheng Technology Service Co Ltd
Priority to CN201811537344.0A priority Critical patent/CN109656606A/en
Publication of CN109656606A publication Critical patent/CN109656606A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Landscapes

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

Abstract

The present invention provides a kind of POS terminal program more new control method, and the POS terminal includes external interface, safety chip and main control chip, safety chip described in the external interface default connection, which comprises authenticate to the identity of operator;If authentication passes through, the external interface switching is connected to the main control chip;Program is downloaded by the main control chip and is updated into memory;The safety chip verifies the described program in the memory;If described program verification passes through, the normal operation described program of the POS terminal.The present invention also provides a kind of POS terminal program update control apparatus, storage medium and POS terminals.The present invention can reduce development cost and improve safety.

Description

POS terminal program more new control method, device, storage medium and terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of POS terminal program more new control methods, device, storage Medium and POS terminal.
Background technique
POS (point of sale, point of sale) terminal is a kind of multi-functional terminal end, it is mounted on the contributing of credit card It trade company and accepts in site and is unified into network with computer, can be achieved with electronic funds and transfer accounts automatically, it, which has, supports consumption, pre-granted Power, inquiry into balance and the functions such as transfer accounts, use safely, quickly, reliably.
Current POS terminal generally comprises main control chip and safety chip, and safety chip can be safe CPU, safety Highest.Existing POS terminal needs to download by safety chip and pass after the legitimacy of checking routine when downloading more new procedures Arrive main control chip thoroughly, therefore, the frame of the download part of main control chip needs to modify, more troublesome, development cost it is very high and Risk is larger.
Summary of the invention
In consideration of it, it is necessary to provide a kind of POS terminal program more new control method, device, storage medium and POS ends End reduces development cost and improves safety.
The present invention provides a kind of POS terminal program more new control method, and the POS terminal includes external interface, safe core Piece and main control chip, safety chip described in the external interface default connection, which comprises
The identity of operator is authenticated;
If authentication passes through, the external interface switching is connected to the main control chip;
Program is downloaded by the main control chip and is updated into memory;
The safety chip verifies the described program in the memory;
If described program verification passes through, the normal operation described program of the POS terminal.
Further, if described program verification does not pass through, the safety chip wipes the journey in the memory Sequence.
Further, the safety chip verifies the described program in the memory, comprising:
The safety chip carries out signature check to the described program in the memory;Wherein, described program is being issued Legitimate signature is passed through before.
Further, described program bootloader, after verification passes through, described in the POS terminal operation Bootloader and proper reset starting operation.
Further, the safety chip is used to control the electric power thus supplied of the power supply of POS terminal;If authentication is obstructed It crosses, then the safety chip disconnects the power supply power supply.
The present invention also provides a kind of POS terminal program update control apparatus, the POS terminal includes external interface, safety Chip and main control chip, safety chip described in the external interface default connection, described device include:
Authentication module is authenticated for the identity to operator;
Switching module, for when authentication passes through, the external interface switching to be connected to the main control chip;
Update module is downloaded, for downloading program by the main control chip and updating into memory;
Correction verification module verifies the described program in the memory for the safety chip;
Run module, for when described program verification pass through when, the normal operation described program of the POS terminal.
Further, the operation module is also used to:
When described program verification is obstructed out-of-date, the safety chip wipes the described program in the memory.
Further, the correction verification module is specifically used for:
The safety chip carries out signature check to the described program in the memory;Wherein, described program is being issued Legitimate signature is passed through before.
The present invention also provides a kind of POS terminal, the POS terminal includes storage device and processor, the processor It is connect with the storage device, computer program is stored on the storage device, the processor is executing the computer When program, the step of realizing the POS terminal program more new control method.
The present invention also provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, which is characterized in that the calculating The step of POS terminal program more new control method is realized when machine program is executed by processor.
Compared to the prior art, the invention has the following advantages: the identity to operator authenticates;If identity It is verified, the external interface switching is connected to the main control chip;It downloads program by the main control chip and updates and arrive In memory;The safety chip verifies the described program in the memory;If described program verification passes through, institute State the normal operation described program of POS terminal.The present invention switches main control chip to download program, can reduce development cost, and Authentication is needed before handover, and safety so can be improved.
Detailed description of the invention
Fig. 1 is the flow chart of POS terminal program more new control method of the invention.
Fig. 2 is the circuit diagram of POS terminal of the invention.
Fig. 3 is the structural schematic diagram of POS terminal program update control apparatus of the invention.
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on The embodiment of the present invention, those of ordinary skill in the art's obtained every other reality without making creative work Example is applied, protection scope of the present invention is belonged to.It is understood that attached drawing be provided solely for reference and description use, not be used to pair The present invention limits.
Referring to Fig. 1, Fig. 1 is the flow chart for the POS terminal program more new control method that invention provides.
Referring to Fig. 2, Fig. 2 is the circuit diagram of POS terminal of the invention, the POS terminal includes external interface, cuts Block, main control chip, memory, safety chip and for the power supply for system power supply are changed the mold, described in the external interface connects Switching module is used to the POS terminal and external communication.The switching module connects the safety chip and the master control core Piece.The main control chip and the main control chip are also connected with the memory.The external interface can be USB interface, institute Stating memory can be Flash flash memory, and certainly, other kinds of interface or memory can correspondingly apply to the present invention.
In present embodiment, the POS terminal program more new control method be may comprise steps of.
S11: the identity of operator is authenticated.
In the present embodiment, authentication can be carried out by password, fingerprint or recognition of face can also be passed through To carry out authentication.
It is understood that can when POS terminal selects to enter recovery mode, to the identity of operator into Row certification.
S12: if authentication passes through, external interface switching is connected to main control chip.
In the present invention, since safety chip is the safest hardware of entire POS terminal, in order to guarantee the peace of POS terminal Quan Xing, external interface default connection safety chip.Only after authentication passes through, external interface switching is connected to master control Chip.
It is further to note that in the prior art, power supply is by main control chip come control switch, and the present invention can To control the electric power thus supplied of power supply by safety chip.Therefore, if the method for present embodiment can also include: authentication Do not pass through, then the safety chip disconnects the power supply power supply, makes electric under POS terminal.If authentication does not pass through, can also send out Prompt information out.
S13: program is downloaded by the main control chip and is updated into memory.
The program of present embodiment can be general application program, can also be bootloader program.Embedded In operating system, bootloader is run before operating system nucleus operation, can be initialized hardware device, be established memory Space reflection figure, so that the hardware environment of system is taken to a proper states, to be final call operation system kernel Get out correct environment.If necessary to initialize system, then need to run bootloader program.But most at present Main control chip itself is without bootloader and fusing mechanism, so can not accomplish that main control chip itself prevents from illegally replacing journey Sequence needs to download bootloader.
S14: safety chip verifies the described program in the memory.
In the present embodiment, signature key is retained in safety chip, and the safety chip can be to the memory In described program carry out signature check.It is understood that described program can pass through legitimate signature before publication, In order to carry out signature verification by terminal, the safety of program is improved.For example, by special soft before program publication Part tool is signed, and software tool is retained in the safe house of production firm, can so guarantee the signature legitimacy of program.
S15: if described program verification passes through, the normal operation described program of the POS terminal.
If downloading program is bootloader, after program ver-ify passes through, the POS terminal runs the bootloader And proper reset starting operation.
It is understood that the safety chip wipes the journey in the memory if program ver-ify does not pass through Sequence.
It is understood that safety chip can all read the program in memory after the connection of every secondary source and carry out school It tests, only verification passes through, and safety chip just runs and makes electricity operation on main control chip.
The POS terminal program more new control method that present embodiment provides, authenticates the identity of operator;If body Part is verified, and the external interface switching is connected to the main control chip;Program is downloaded by the main control chip and is updated Into memory;The safety chip verifies the described program in the memory;If described program verification passes through, The normal operation described program of the POS terminal.The present invention switches main control chip to download program, can reduce development cost, and And authentication is needed before handover, safety so can be improved.
Fig. 3 is the structural schematic diagram of POS terminal program update control apparatus 200 of the invention.Described device 200 can deposit Storage performed by the processor of the terminal 100, realizes the POS terminal program more in the storage unit of the terminal 100 New control method.
Wherein, the POS terminal program update control apparatus 200 may include: authentication module 21, switching module 22, update module 23, correction verification module 24 and operation module are downloaded.
The authentication module 21 carries out certification for the identity to operator
The switching module 22, for when authentication passes through, the external interface switching to be connected to the master control core Piece.
The downloading update module 23, for downloading program by the main control chip and updating into memory.
The correction verification module 24 verifies the described program in the memory for the safety chip.
The operation module 25, for when described program verification pass through when, the normal operation of the POS terminal journey Sequence.
Further, the operation module 25 is also used to verify obstructed out-of-date, the safety chip erasing when described program Described program in the memory.
Further, the correction verification module 24 be specifically used for the safety chip to the described program in the memory into Row signature check;Wherein, described program has passed through legitimate signature before publication.
Further, described program bootloader, after verification passes through, described in the POS terminal operation Bootloader and proper reset starting operation.
Further, described device further includes the second deciphering module 25 and authentication module 26.
Further, the safety chip is used to control the electric power thus supplied of the power supply of POS terminal.Described device can also break Electric module 26, the power-off modular 26 are used for: when authentication is obstructed out-of-date, the safety chip disconnects the power supply power supply.
Different software can be achieved in the terminal 100, and software code can be according to arbitrary appropriate soft The software of part Programming with Pascal Language realizes that software code can store in the storage device, and executed by the processor.
The processor is executing involved in the POS terminal program more new control method of storage in the storage device When program, the step of POS terminal program more new control method of the invention may be implemented.
The present invention provides a kind of readable storage medium storing program for executing, and computer program, the meter are stored on the readable storage medium storing program for executing The step of POS terminal program more new control method of each embodiment of the present invention is realized when calculation machine program is executed by processor.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc. within mind and principle should all include within protection scope of the present invention.

Claims (10)

1. a kind of POS terminal program more new control method, the POS terminal includes external interface, safety chip and master control core Piece, which is characterized in that safety chip described in the external interface default connection, which comprises
The identity of operator is authenticated;
If authentication passes through, the external interface switching is connected to the main control chip;
Program is downloaded by the main control chip and is updated into memory;
The safety chip verifies the described program in the memory;
If described program verification passes through, the normal operation described program of the POS terminal.
2. POS terminal program more new control method according to claim 1, which is characterized in that if described program verification is not Pass through, then the safety chip wipes the described program in the memory.
3. POS terminal program more new control method according to claim 1 or 2, which is characterized in that the safety chip pair Described program in the memory is verified, comprising:
The safety chip carries out signature check to the described program in the memory;Wherein, described program is before publication Legitimate signature is passed through.
4. POS terminal program more new control method according to claim 1 or 2, which is characterized in that described program is Bootloader, after verification passes through, the POS terminal runs the bootloader and proper reset starting operation.
5. POS terminal program more new control method according to claim 1 or 2, which is characterized in that the safety chip is used In the electric power thus supplied of the power supply of control POS terminal;If authentication does not pass through, the safety chip disconnects the power supply and supplies Electricity.
6. a kind of POS terminal program update control apparatus, the POS terminal includes external interface, safety chip and master control core Piece, which is characterized in that safety chip described in the external interface default connection, described device include:
Authentication module is authenticated for the identity to operator;
Switching module, for when authentication passes through, the external interface switching to be connected to the main control chip;
Update module is downloaded, for downloading program by the main control chip and updating into memory;
Correction verification module verifies the described program in the memory for the safety chip;
Run module, for when described program verification pass through when, the normal operation described program of the POS terminal.
7. POS terminal program update control apparatus according to claim 6, which is characterized in that the operation module is also used In:
When described program verification is obstructed out-of-date, the safety chip wipes the described program in the memory.
8. POS terminal program update control apparatus according to claim 6, which is characterized in that the correction verification module is specific For:
The safety chip carries out signature check to the described program in the memory;Wherein, described program is before publication Legitimate signature is passed through.
9. a kind of POS terminal, the POS terminal includes storage device and processor, the processor and the storage device Connection, which is characterized in that computer program is stored on the storage device, the processor is executing the computer program When, the step of realizing POS terminal program more new control method according to any one of claims 1 to 5.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed The step of device realizes POS terminal program more new control method according to any one of claims 1 to 5 when executing.
CN201811537344.0A 2018-12-15 2018-12-15 POS terminal program more new control method, device, storage medium and terminal Pending CN109656606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811537344.0A CN109656606A (en) 2018-12-15 2018-12-15 POS terminal program more new control method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811537344.0A CN109656606A (en) 2018-12-15 2018-12-15 POS terminal program more new control method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN109656606A true CN109656606A (en) 2019-04-19

Family

ID=66114359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811537344.0A Pending CN109656606A (en) 2018-12-15 2018-12-15 POS terminal program more new control method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109656606A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1282092C (en) * 2003-08-25 2006-10-25 联想(北京)有限公司 Safety chip information processing apparatus and starting method based on chip
CN101221508A (en) * 2008-01-31 2008-07-16 杭州华三通信技术有限公司 Equipment starting method and device
CN102323905A (en) * 2011-07-21 2012-01-18 曙光信息产业股份有限公司 Remote monitoring system for Godson main board
CN202351904U (en) * 2011-11-14 2012-07-25 四川九洲视讯科技有限责任公司 Central processing unit (CPU) card reader-writer with universal serial bus (USB) interface
CN103257872A (en) * 2013-04-15 2013-08-21 中国信息安全测评中心 Embedded control system for computers and updating method of embedded control system
CN103490893A (en) * 2013-09-06 2014-01-01 中国工商银行股份有限公司 Information leakage testing control method, device and system and information channel safety certification device
CN103646214A (en) * 2013-12-18 2014-03-19 国家电网公司 Method for establishing trusted environment in power distribution terminal
US20140132990A1 (en) * 2011-11-04 2014-05-15 Apex Microelectronics Company Limited Imaging cartridge chip with self-adaptive contacts, imaging cartridge and self-adaptive method
CN103986837A (en) * 2014-05-28 2014-08-13 天地融科技股份有限公司 Information processing method and device
CN104021014A (en) * 2014-05-23 2014-09-03 江苏兆伏新能源有限公司 Firmware upgrading method based on double-CPU system
CN104657160A (en) * 2013-11-21 2015-05-27 联创汽车电子有限公司 Multichip application burning method of vehicle-mounted controller
CN105426198A (en) * 2014-09-09 2016-03-23 联创汽车电子有限公司 Vehicle onboard double-control-chip system and auxiliary control chip program update method therefor
CN105588253A (en) * 2014-10-19 2016-05-18 西安造新电子信息科技有限公司 Data processing equipment
CN105700969A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
CN105743654A (en) * 2016-02-02 2016-07-06 上海动联信息技术股份有限公司 POS machine secret key remote downloading service system and secret key downloading method
CN106295412A (en) * 2016-08-25 2017-01-04 深圳市波普安创技术有限公司 It is applied to operating system and the operational approach thereof of mobile POS
CN106680697A (en) * 2016-12-08 2017-05-17 西安电子科技大学 Test detector of digital signal processor
WO2018157570A1 (en) * 2017-03-03 2018-09-07 百富计算机技术(深圳)有限公司 Method for upgrading software of pos terminal, pos terminal, and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1282092C (en) * 2003-08-25 2006-10-25 联想(北京)有限公司 Safety chip information processing apparatus and starting method based on chip
CN101221508A (en) * 2008-01-31 2008-07-16 杭州华三通信技术有限公司 Equipment starting method and device
CN102323905A (en) * 2011-07-21 2012-01-18 曙光信息产业股份有限公司 Remote monitoring system for Godson main board
US20140132990A1 (en) * 2011-11-04 2014-05-15 Apex Microelectronics Company Limited Imaging cartridge chip with self-adaptive contacts, imaging cartridge and self-adaptive method
CN202351904U (en) * 2011-11-14 2012-07-25 四川九洲视讯科技有限责任公司 Central processing unit (CPU) card reader-writer with universal serial bus (USB) interface
CN103257872A (en) * 2013-04-15 2013-08-21 中国信息安全测评中心 Embedded control system for computers and updating method of embedded control system
CN103490893A (en) * 2013-09-06 2014-01-01 中国工商银行股份有限公司 Information leakage testing control method, device and system and information channel safety certification device
CN104657160A (en) * 2013-11-21 2015-05-27 联创汽车电子有限公司 Multichip application burning method of vehicle-mounted controller
CN103646214A (en) * 2013-12-18 2014-03-19 国家电网公司 Method for establishing trusted environment in power distribution terminal
CN104021014A (en) * 2014-05-23 2014-09-03 江苏兆伏新能源有限公司 Firmware upgrading method based on double-CPU system
CN103986837A (en) * 2014-05-28 2014-08-13 天地融科技股份有限公司 Information processing method and device
CN105426198A (en) * 2014-09-09 2016-03-23 联创汽车电子有限公司 Vehicle onboard double-control-chip system and auxiliary control chip program update method therefor
CN105588253A (en) * 2014-10-19 2016-05-18 西安造新电子信息科技有限公司 Data processing equipment
CN105700969A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
CN105743654A (en) * 2016-02-02 2016-07-06 上海动联信息技术股份有限公司 POS machine secret key remote downloading service system and secret key downloading method
CN106295412A (en) * 2016-08-25 2017-01-04 深圳市波普安创技术有限公司 It is applied to operating system and the operational approach thereof of mobile POS
CN106680697A (en) * 2016-12-08 2017-05-17 西安电子科技大学 Test detector of digital signal processor
WO2018157570A1 (en) * 2017-03-03 2018-09-07 百富计算机技术(深圳)有限公司 Method for upgrading software of pos terminal, pos terminal, and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HOAKLEY: "Firmware, the SMC, NVRAM and T2 chip: reset and maintain", 《HTTPS://ECLECTICLIGHT.CO/2018/07/17/FIRMWARE-THE-SMC-NVRAM-AND-T2-CHIP-RESET-AND-MAINTAIN/》 *

Similar Documents

Publication Publication Date Title
US10395039B2 (en) Customer-owned trust of device firmware
US9916574B2 (en) Secure computing device and method
CN104618116B (en) A kind of cooperative digital signature system and its method
CN107464109B (en) Trusted mobile payment device, system and method
CN105827600B (en) Method and device for logging in client
CN103597796B (en) Activation solution
CN105704332B (en) Mobile payment method and device
US9734091B2 (en) Remote load and update card emulation support
CN105488679A (en) Mobile payment equipment, method and device based on biological recognition technology
CN101699892B (en) Method and device for generating dynamic passwords and network system
CN101216915B (en) A secured mobile payment method
US9065806B2 (en) Internet based security information interaction apparatus and method
CN104301110A (en) Authentication method, authentication device and system applied to intelligent terminal
CN109496443B (en) Mobile authentication method and system therefor
CN105631655A (en) HCE-based mobile payment method, device and mobile terminal
CN103634328A (en) Authentication method, device and system for network platform authentication server
CN104883293A (en) Message interaction method, relevant apparatus and communication system
US9801216B1 (en) Peer-to-peer configuration
CN111177709A (en) Execution method and device of terminal trusted component and computer equipment
CN101807237B (en) Signature method and device
US10579984B2 (en) Method for making contactless transactions secure
CN101931530B (en) Generation method, authentication method and device for dynamic password and network system
CN114329358A (en) Application signature method and system, transaction terminal and service platform
CN113055157B (en) Biological characteristic verification method and device, storage medium and electronic equipment
US20200225934A1 (en) Tokenized mobile device update systems and methods

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: 20190419

RJ01 Rejection of invention patent application after publication