WO2015043130A1 - Pos machine, and method and apparatuses for protecting sensitive data in pos machine - Google Patents

Pos machine, and method and apparatuses for protecting sensitive data in pos machine Download PDF

Info

Publication number
WO2015043130A1
WO2015043130A1 PCT/CN2014/071180 CN2014071180W WO2015043130A1 WO 2015043130 A1 WO2015043130 A1 WO 2015043130A1 CN 2014071180 W CN2014071180 W CN 2014071180W WO 2015043130 A1 WO2015043130 A1 WO 2015043130A1
Authority
WO
WIPO (PCT)
Prior art keywords
pos machine
sensitive data
switch
pos
pot
Prior art date
Application number
PCT/CN2014/071180
Other languages
French (fr)
Chinese (zh)
Inventor
吴冬周
肖锋
Original Assignee
福建联迪商用设备有限公司
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 福建联迪商用设备有限公司 filed Critical 福建联迪商用设备有限公司
Publication of WO2015043130A1 publication Critical patent/WO2015043130A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G3/00Alarm indicators, e.g. bells
    • G07G3/003Anti-theft control
    • 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/86Secure or tamper-resistant housings

Definitions

  • the invention relates to a POS machine and a method and device for protecting sensitive data in a POS machine.
  • the application of POS machines has also developed rapidly. According to the safety requirements of financial equipment for international PCI organizations and domestic BCTCs, when trading through POS machines, some key sensitive data must be protected during the transaction to prevent sensitive information from being stolen without the cardholder's knowledge.
  • the application name is "a protection method and protection device for sensitive data in a POS machine", and a protection method for a sensitive data in a POS machine and a protection device thereof are disclosed, in which the method detects whether the POS machine is Protected by sensitive data, when the POS is attacked, the sensitive data in the security zone of the POS is cleared to protect sensitive information from being stolen.
  • the current protection method is to set a data protection switch on the POS machine to detect whether the POS machine is attacked.
  • the protection switch is applied with a certain pressure to close the protection switch; when the POS machine is attacked, the protection switch is disconnected, and the POS machine clears all sensitive information on the transaction.
  • it often encounters various external factors such as device drop, vibration, ESD, thermal shock, etc., causing the protection switch to instantaneously open and close, causing the POS machine to trigger safety protection.
  • the POS machine clears all sensitive information, causing unforeseen circumstances such as a transaction interruption.
  • the purpose of the present invention is to overcome the deficiencies of the prior art described above, and to provide a POS machine that can prevent POS machines from being accidentally deleted due to interference from external factors, and a method and apparatus for protecting sensitive numbers in a POS machine.
  • a method for protecting sensitive data in a POS machine wherein the sensitive data protection device in the POS device uses a protection switch to detect whether an external attack is performed.
  • the method includes the following steps: S1: detecting whether a pin level of the connection protection switch changes. Wherein, the protection switch detects that the POS casing is disconnected from the pin when it is opened; S2, when detecting that the pin level changes, determining whether the pin level returns to the original state within a preset time threshold If not, proceed to step S3, and if yes, return to step S1; S3, clear the sensitive data stored in the POS machine.
  • the protective switch is a pot switch, and the pot switch is disposed between the front cover and the rear cover of the POS casing.
  • the preset time threshold is 200 to 250 ms.
  • An apparatus for protecting sensitive data in a POS machine comprising a CPU electrically connected to a POS machine storage unit, the storage unit storing sensitive data, the protecting the sensitive data in the POS machine
  • the device further includes a protection switch connected to a pin of the CPU, the CPU comprising: a detecting unit configured to detect whether a pin level of the connection protection switch is changed, wherein the protection switch detects that the POS case is opened Disconnecting from the pin; the determining unit is configured to: when the detecting unit detects that the pin level changes, determine whether the pin level returns to the original state within a preset time threshold; the clearing unit is configured to be used The determining unit determines that the pin level is not restored to the original state within the preset time threshold, and the sensitive data stored by the storage unit is cleared.
  • the protective switch is a pot switch, and the pot switch is disposed between the front cover and the rear cover of the POS casing.
  • the protection switch is a pot piece switch
  • the number of the pot piece switch is three
  • the pot piece switch is respectively disposed at an edge of a button circuit board of the POS machine
  • each pot piece switch is The pot switch button set on the keypad of the POS machine corresponds.
  • the preset time threshold is 200 to 250 ms.
  • the judging unit is a counter including a comparison register, and the counter is used to start timing when the detecting unit detects that the pin level changes, and stop timing when the pin level returns to the original state, when the timing is timed. An electrical signal is sent to the clearing unit when the preset time threshold of the compare register is exceeded.
  • An apparatus for protecting sensitive data in a POS machine comprising a CPU electrically connected to a storage unit of a POS machine, the storage unit storing sensitive data, the POS machine further comprising a protection switch
  • the protection switch is connected to a pin of the CPU through a low pass filter; the protection switch detects disconnection from the low pass filter when the POS case is opened; the low pass filter is used to filter the high frequency pulse and Transmitting a switching signal in a threshold frequency range to the CPU;
  • the CPU includes: a detecting unit configured to detect whether a pin level changes; and a clearing unit configured to when the detecting unit detects a change in a pin level , clear sensitive data stored in the POS machine.
  • it also includes a built-in power supply that is electrically connected to the CPU.
  • a POS machine the POS casing includes a front cover and a rear cover, the front cover and the rear cover are fixed together by a screw pair, and the POS machine is provided with the above device for protecting sensitive data in the POS machine, at the POS
  • the button switch button corresponding to the pot chip switch is arranged on the keyboard of the machine button.
  • the invention has the beneficial effects that the invention filters the input signal of the protection switch of the sensitive data in the POS machine, and filters out the interference of the protection switch input signal by various external factors such as device drop, vibration, ESD, thermal shock and the like. Avoid interference signals caused by accidental deletion of transaction data caused by sensitive data, improve the anti-interference and stability of POS.
  • FIG. 1 is a flowchart of a method for protecting sensitive data in a POS machine according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a protection switch in a device for protecting sensitive data in a POS device according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of another apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for protecting sensitive data in a POS machine according to an embodiment of the present invention. The method includes the following steps:
  • S1 Detecting whether a pin level of the connection protection switch is changed, wherein the protection switch detects that the POS case is disconnected from the pin when it is opened.
  • Sensitive data is stored in the internal storage area of the POS, and the sensitive data includes a key used to encrypt the cardholder's security data.
  • Some lawless elements open the POS case when the cardholders are not paying attention to steal these sensitive data. Therefore, in order to prevent the sensitive data of the POS machine from being stolen, a protection switch 3 is provided in the POS machine, and the protection switch 3 detects that the POS machine case is opened and disconnected from the pin, so the level of the pin changes. Detecting whether the pin level connected to the protection switch 3 has changed can detect whether the POS machine is attacked by an external attack that steals sensitive information.
  • step S2 When it is detected that the pin level changes, it is determined whether the pin level returns to the original state within a preset time threshold. If not, the process proceeds to step S3, and if yes, returns to step S1.
  • the protection switch 3 will instantaneously open and close the jump and cause the pin level to change.
  • a pin level change is detected, it is mistaken for an external attack, which triggers the POS machine to clear all sensitive information, causing the transaction to be interrupted.
  • a time threshold is preset in the method, and when the change of the pin level is detected, it is judged whether the pin level returns to the original state within the preset time threshold.
  • step S3 is performed.
  • step S2 When it is determined in step S2 that the pin level change is caused by an external attack, the sensitive data stored in the POS machine is cleared.
  • the protection switch 3 is a pot switch 9, and the pot switch 9 is disposed between the front cover 12 and the rear cover of the POS casing.
  • the preset time threshold is 200 to 250 ms.
  • the protection switch 3 hopping caused by the interference of external factors such as equipment drop, vibration, ESD, thermal shock and other impacts encountered by the POS machine is mainly distributed in the ns level to the ms level, so the preset time threshold is set to 200 ⁇ 250ms, can effectively filter out the influence of these interference factors, and can timely detect whether the protection switch 3 is subject to external attacks.
  • the method for protecting sensitive data in a POS machine determines the input signal of the protection switch 3 of the sensitive data in the POS machine, and filters out various external factors such as device drop, vibration, ESD, thermal shock and the like to protect the input signal of the protection switch. Interference, avoiding interference signals, causing sensitive data to be deleted accidentally, improving the anti-interference and stability of the POS.
  • FIG. 3 is a structural block diagram of an apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention.
  • the device for protecting sensitive data in the POS machine comprises a CPU 2 electrically connected to the POS storage unit 1, the storage unit 1 storing sensitive data, and the device for protecting sensitive data in the POS device further comprises a pin connection with the CPU 2.
  • the protection switch 3, the CPU 2 includes a detecting unit 4, a determining unit 5 and a clearing unit 6; the detecting unit 4 is configured to detect whether a pin level of the connection protection switch 3 is changed, wherein the protection switch 3 detects Determining with the pin when the POS case is opened; the determining unit 5 is configured to determine the pin level within a preset time threshold when the detecting unit 4 detects a change in the pin level Whether the original state is restored; the clearing unit 6 is configured to: when the determining unit 5 determines that the pin level is not restored to the original state within the preset time threshold, clear the sensitive data stored by the storage unit 1.
  • the determining unit 5 is a counter including a comparison register, and the counter is used to start timing when the detecting unit 4 detects a change in the pin level and when the pin level returns to the original state. The timing is stopped, and an electrical signal is sent to the clearing unit 6 when the timing time exceeds the preset time threshold of the comparison register.
  • the protection switch is a dome switch 9, and the dome switch 9 is connected to the detection pin.
  • the pot chip switch is small in size and responsive, and is suitable for being installed in a small-sized device such as a POS machine.
  • the pot chip switch 9 is separately set in the POS machine casing. One side of the switch is closely attached to the back cover of the POS machine. When the front cover 12 of the POS is fastened to the back cover, the front cover 12 is just in close contact with the other side of the switch 9 to make the switch. 9 is in a closed state. When the POS case is opened, the pan switch 9 is turned from the closed state to the open state, so the detection pin detects a change in the level signal triggering the clearing of the sensitive data.
  • FIG. 2 is a schematic structural diagram of a protection switch in a device for protecting sensitive data in a POS machine according to an embodiment of the present invention.
  • the protective switch 3 is a pot switch 9, the number of the pot switch 9 is three, and the pot switch 9 is respectively disposed at the edge of the POS button circuit board 13, each pot The touch 9 switch corresponds to the dome switch button 10 provided on the POS machine key pad 11.
  • the dome switch button 10 disposed on the POS button keypad 11 is subjected to the downward pressure of the front cover 12, so that the dome switch 9 is closed. Pass state.
  • the detecting unit 4 can detect the detection pin level change. . Therefore, setting the three pot chip switches 9 and setting them on the edge of the POS machine key keyboard 11 can greatly improve the detection sensitivity of the detecting pot chip switch 9.
  • the preset time threshold is 200 to 250 ms.
  • the device for protecting sensitive data in the POS machine judges the input signal of the protection switch 3 of the sensitive data in the POS machine, and filters out the input signals of the protection switch due to various external factors such as device drop, vibration, ESD, thermal shock and the like. Interference, avoiding interference signals, causing sensitive data to be deleted accidentally, improving the anti-interference and stability of the POS.
  • the device for protecting sensitive data in the POS machine comprises a CPU 2 electrically connected to the storage unit 1 of the POS machine, the storage unit 1 storing sensitive data, the POS machine further comprising a protection switch 3, the protection switch 3 passing a low
  • the pass filter 7 is connected to the pin of the CPU 2; the protection switch 3 detects disconnection from the low pass filter 7 when the POS case is opened, and the low pass filter 7 is used to filter the high frequency pulse and set the threshold
  • the switching signal is sent to the CPU 2, and the CPU 2 includes a detecting unit 4 and a clearing unit 6 for detecting whether the pin level has changed.
  • the clearing unit 6 is configured to perform the detecting. When unit 4 detects a change in pin level, it clears the sensitive data stored in the POS.
  • the low-pass filter 7 includes a resistor and a capacitor.
  • the resistor is connected in series between the protection switch 3 and the CPU 2 detection pin.
  • One end of the capacitor is connected to the CPU 2 detection pin, and the other end is grounded.
  • the pass frequency of the low pass filter can be set by setting the values of the capacitance and the resistance. Since the pulse width of the interference signal is generally less than 200 ms, the pass pulse width of the low pass filter 7 is set to 200 to 250 ms, that is, the pass frequency of the low pass filter is less than 4 to 5 Hz.
  • the low pass filter 7 is an RC filter, but the present invention is not limited to the RC filter, and a low pass filter having a frequency less than 4 to 5 Hz, which is well known to those skilled in the art, is The scope of protection of the present invention.
  • a built-in power supply 8 electrically connected to the CPU 2 is further included, and the built-in power supply 8 has a button battery disposed on the circuit board.
  • the built-in power supply 8 provides power to the device for protecting sensitive data of the POS when the POS machine is in use, so that the device can protect sensitive data from being stolen when the POS is turned on or off.
  • a low pass filter 7 is connected in series between the protection switch and the pin, so that the input signal of the protection switch 3 passes through the low pass filter 7 first, and the pass frequency of the low pass filter 7 is set.
  • the protection switch 3 level jump caused by the interference factor can be filtered out, and the solution does not need to compare the input signal of the protection switch with the preset time threshold, thereby greatly reducing the response time of the device to the external attack signal, and clearing the storage in time.
  • the sensitive data in unit 1 makes the data better protected.
  • This embodiment is a POS machine.
  • the POS casing includes a front cover 12 and a rear cover. The front cover 12 and the rear cover are fixed together by a screw pair.
  • the POS machine includes the protection POS described in Embodiment 2.
  • the device for sensitive data in the machine is provided with a pot switch button 10 corresponding to the pot chip switch 9 on the POS machine keypad 11 when the front cover 12 of the POS case is fastened to the back cover.
  • the sheet switch button 10 is pressed against the pot switch 9 by the downward pressure of the front cover 12 to be in a closed conduction state.
  • the device for protecting sensitive data in the POS machine is set on the POS machine, which can protect the sensitive data in the POS machine from being stolen, and can filter the input of the protection switch due to various external factors such as device drop, vibration, ESD, thermal shock and the like. Signal interference, avoiding interference signals, causing sensitive data to be deleted accidentally, improving the anti-interference and stability of the POS machine.

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)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

Disclosed are a POS machine, and a method and apparatuses for protecting sensitive data in the POS machine. The method for protecting sensitive data in the POS machine comprises: detecting whether a pin level of a connection protecting switch changes; when it is detected that the pin level changes, determining whether the pin level is restored to an original state within a preset time; if not, deleting the sensitive data stored in the POS machine, and if yes, re-detecting whether the pin level changes. The present invention also provides two apparatuses for protecting the sensitive data in the POS machine. By using the two apparatuses, interference of an interference signal to the POS machine can be effectively filtered, and the interference resistance and stability of the POS machine are improved.

Description

POS机、保护POS机中敏感数据的方法和装置  POS machine, method and device for protecting sensitive data in POS machine 技术领域Technical field
本发明涉及一种POS机、保护POS机中敏感数据的方法和装置。 The invention relates to a POS machine and a method and device for protecting sensitive data in a POS machine.
背景技术Background technique
随着现代商业的不断发展和管理技术的不断更新,POS机的应用也随之迅猛发展。根据国际PCI组织和国内BCTC对金融设备的安全要求,在通过POS机进行交易时,必须对交易过程中一些关键的敏感数据进行保护,以防止在持卡人未知的情况下将敏感信息窃取。在申请号为201210165731.2,申请名称为《一种POS机中敏感数据的保护方法及保护装置》中公开了一种POS机中敏感数据的保护方法及其保护装置,在该方法通过检测POS机是否受到攻击对敏感数据进行保护,当POS机受到攻击的时,清除POS机中安全区的敏感数据,以保护敏感信息不被窃取。目前惯用的保护手段为在POS机上设置数据保护开关来检测POS机是否受到攻击。在POS机正常使用的时候,所述保护开关被施加一定的压力使保护开关闭合;当POS机受到攻击时,所述保护开关被断开,POS机清除所有交易上的所敏感信息。但在POS机的使用过程中,经常会遇到设备跌落、震动、ESD、冷热冲击等各种外部因素的干扰,使保护开关出现瞬间断开又闭合的跳变,使POS机触发安全保护响应,导致POS机清除所有敏感信息,导致交易中断等不可预料的情况。 With the continuous development of modern business and the continuous updating of management technology, the application of POS machines has also developed rapidly. According to the safety requirements of financial equipment for international PCI organizations and domestic BCTCs, when trading through POS machines, some key sensitive data must be protected during the transaction to prevent sensitive information from being stolen without the cardholder's knowledge. In the application number is 201210165731.2, the application name is "a protection method and protection device for sensitive data in a POS machine", and a protection method for a sensitive data in a POS machine and a protection device thereof are disclosed, in which the method detects whether the POS machine is Protected by sensitive data, when the POS is attacked, the sensitive data in the security zone of the POS is cleared to protect sensitive information from being stolen. The current protection method is to set a data protection switch on the POS machine to detect whether the POS machine is attacked. When the POS machine is in normal use, the protection switch is applied with a certain pressure to close the protection switch; when the POS machine is attacked, the protection switch is disconnected, and the POS machine clears all sensitive information on the transaction. However, during the use of the POS machine, it often encounters various external factors such as device drop, vibration, ESD, thermal shock, etc., causing the protection switch to instantaneously open and close, causing the POS machine to trigger safety protection. In response, the POS machine clears all sensitive information, causing unforeseen circumstances such as a transaction interruption.
技术问题technical problem
本发明的目的是为了克服上述现有技术的不足,提供一种可以避免POS机因外部因素的干扰导致敏感数据被误删除的POS机、保护POS机中敏感数的方法和装置。 The purpose of the present invention is to overcome the deficiencies of the prior art described above, and to provide a POS machine that can prevent POS machines from being accidentally deleted due to interference from external factors, and a method and apparatus for protecting sensitive numbers in a POS machine.
技术解决方案Technical solution
一种保护POS机中敏感数据的方法,所述POS机中敏感数据保护装置采用保护开关检测是否受到外部攻击,该方法包括以下步骤:S1、检测连接保护开关的引脚电平是否发生变化,其中,所述保护开关检测到POS机外壳被打开时与引脚断开;S2、当检测到引脚电平发生变化时,判断在一预设时间阀值内引脚电平是否恢复原来状态,若否,进入步骤S3,若是,返回步骤S1;S3、清除POS机中存储的敏感数据。A method for protecting sensitive data in a POS machine, wherein the sensitive data protection device in the POS device uses a protection switch to detect whether an external attack is performed. The method includes the following steps: S1: detecting whether a pin level of the connection protection switch changes. Wherein, the protection switch detects that the POS casing is disconnected from the pin when it is opened; S2, when detecting that the pin level changes, determining whether the pin level returns to the original state within a preset time threshold If not, proceed to step S3, and if yes, return to step S1; S3, clear the sensitive data stored in the POS machine.
其中,所述保护开关为锅仔片开关,所述锅仔片开关设置于所述POS机外壳的前盖与后盖之间。 The protective switch is a pot switch, and the pot switch is disposed between the front cover and the rear cover of the POS casing.
其中,所述预设时间阀值为200~250ms。The preset time threshold is 200 to 250 ms.
一种保护POS机中敏感数据的装置,所述保护POS机中敏感数据的装置包括与POS机存储单元电连接的CPU,所述存储单元存储有敏感数据,所述保护POS机中敏感数据的装置还包括与CPU的引脚连接的保护开关,所述CPU包括:检测单元,用于检测连接保护开关的引脚电平是否发生变化,其中,所述保护开关检测到POS机外壳被打开时与引脚断开;判断单元,用于当所述检测单元检测到引脚电平发生变化时,判断在一预设时间阀值内引脚电平是否恢复原来状态;清除单元,用于当所述判断单元判定在预设时间阀值内引脚电平未恢复原来状态,清除存储单元存储的敏感数据。An apparatus for protecting sensitive data in a POS machine, the apparatus for protecting sensitive data in a POS machine comprising a CPU electrically connected to a POS machine storage unit, the storage unit storing sensitive data, the protecting the sensitive data in the POS machine The device further includes a protection switch connected to a pin of the CPU, the CPU comprising: a detecting unit configured to detect whether a pin level of the connection protection switch is changed, wherein the protection switch detects that the POS case is opened Disconnecting from the pin; the determining unit is configured to: when the detecting unit detects that the pin level changes, determine whether the pin level returns to the original state within a preset time threshold; the clearing unit is configured to be used The determining unit determines that the pin level is not restored to the original state within the preset time threshold, and the sensitive data stored by the storage unit is cleared.
其中,所述保护开关为锅仔片开关,所述锅仔片开关设置于所述POS机外壳的前盖与后盖之间。 The protective switch is a pot switch, and the pot switch is disposed between the front cover and the rear cover of the POS casing.
其中,所述保护开关为锅仔片开关,所述锅仔片开关的个数为三个,所述锅仔片开关分别设置于POS机的按键电路板的边沿,每个锅仔片开关与在POS机按键键盘上设置的锅仔片开关按钮相对应。 Wherein, the protection switch is a pot piece switch, the number of the pot piece switch is three, and the pot piece switch is respectively disposed at an edge of a button circuit board of the POS machine, and each pot piece switch is The pot switch button set on the keypad of the POS machine corresponds.
其中,所述预设时间阀值为200~250ms。The preset time threshold is 200 to 250 ms.
其中,所述判断单元为包含比较寄存器的计数器,所述计数器用于当所述检测单元检测到引脚电平发生变化时开始计时以及当引脚电平恢复原来状态时停止计时,当计时时间超过比较寄存器的预设时间阀值时发送电信号至清除单元。The judging unit is a counter including a comparison register, and the counter is used to start timing when the detecting unit detects that the pin level changes, and stop timing when the pin level returns to the original state, when the timing is timed. An electrical signal is sent to the clearing unit when the preset time threshold of the compare register is exceeded.
一种保护POS机中敏感数据的装置,所述保护POS机中敏感数据的装置包括与POS机的存储单元电连接的CPU,所述存储单元存储有敏感数据,所述POS机还包括保护开关,所述保护开关通过一低通滤波器与CPU的引脚连接;所述保护开关检测到POS机外壳被打开时与低通滤波器断开;所述低通滤波器用于过滤高频脉冲并将阀值频率范围内开关信号发送至CPU;所述CPU包括:检测单元,用于检测引脚电平是否发生变化;清除单元,用于当所述检测单元检测到引脚电平发生变化时,清除POS机中存储的敏感数据。An apparatus for protecting sensitive data in a POS machine, the apparatus for protecting sensitive data in a POS machine comprising a CPU electrically connected to a storage unit of a POS machine, the storage unit storing sensitive data, the POS machine further comprising a protection switch The protection switch is connected to a pin of the CPU through a low pass filter; the protection switch detects disconnection from the low pass filter when the POS case is opened; the low pass filter is used to filter the high frequency pulse and Transmitting a switching signal in a threshold frequency range to the CPU; the CPU includes: a detecting unit configured to detect whether a pin level changes; and a clearing unit configured to when the detecting unit detects a change in a pin level , clear sensitive data stored in the POS machine.
其中,还包括与CPU电连接的内置电源。Among them, it also includes a built-in power supply that is electrically connected to the CPU.
一种POS机,所述POS机外壳包括前盖和后盖,所述前盖和后盖通过螺丝对锁固定在一起,所述POS机设置有上述保护POS机中敏感数据的装置,在POS机按键键盘上设置有与所述锅仔片开关对应的锅仔片开关按钮,当POS机外壳的前盖紧固于后盖时,锅仔片开关按钮受到前盖向下的压力压紧锅仔片开关使其处于闭合导通状态。A POS machine, the POS casing includes a front cover and a rear cover, the front cover and the rear cover are fixed together by a screw pair, and the POS machine is provided with the above device for protecting sensitive data in the POS machine, at the POS The button switch button corresponding to the pot chip switch is arranged on the keyboard of the machine button. When the front cover of the POS machine case is fastened to the back cover, the button switch button of the POS machine is pressed by the pressure of the front cover downward pressure The switch is in the closed state.
有益效果Beneficial effect
本发明的有益效果为:本发明对POS机中敏感数据的保护开关的输入信号进行过滤,滤除由于设备跌落、震动、ESD、冷热冲击等各种外部因素对保护开关输入信号的干扰,避免干扰信号导致误删敏感数据引起的交易中断,提高POS机的抗干扰性和稳定性。 The invention has the beneficial effects that the invention filters the input signal of the protection switch of the sensitive data in the POS machine, and filters out the interference of the protection switch input signal by various external factors such as device drop, vibration, ESD, thermal shock and the like. Avoid interference signals caused by accidental deletion of transaction data caused by sensitive data, improve the anti-interference and stability of POS.
附图说明DRAWINGS
图1为本发明实施例保护POS机中敏感数据的方法的流程图;1 is a flowchart of a method for protecting sensitive data in a POS machine according to an embodiment of the present invention;
图2为本发明实施例保护POS机中敏感数据的装置中保护开关一较佳实施例的结构示意图;2 is a schematic structural diagram of a protection switch in a device for protecting sensitive data in a POS device according to an embodiment of the present invention;
图3为本发明实施例保护POS机中敏感数据的装置的结构示意图;3 is a schematic structural diagram of an apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention;
图4为本发明实施例另一保护POS机中敏感数据的装置的结构示意图。FIG. 4 is a schematic structural diagram of another apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention.
主要元件符号说明:The main component symbol description:
1:存储单元;2:CPU;3:保护开关;4:检测单元;5:判断单元; 6:清除单元;7:低通滤波器;8:内置电源;9:锅仔片开关;10:锅仔片开关按钮;11:POS机按键键盘;12:前盖;13:POS机按键电路板。1: memory unit; 2: CPU; 3: protection switch; 4: detection unit; 5: judgment unit; 6: clearing unit; 7: low-pass filter; 8: built-in power supply; 9: pot chip switch; 10: pot chip switch button; 11: POS machine button keyboard; 12: front cover; 13: POS machine button circuit board.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
本发明的实施方式Embodiments of the invention
为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合实施方式并配合附图详予说明。The detailed description of the technical contents, structural features, and the objects and effects of the present invention will be described in detail below with reference to the accompanying drawings.
实施例1Example 1
请参阅图1,为本发明实施例保护POS机中敏感数据的方法的流程图。该方法包括以下步骤:Please refer to FIG. 1 , which is a flowchart of a method for protecting sensitive data in a POS machine according to an embodiment of the present invention. The method includes the following steps:
S1、检测连接保护开关的引脚电平是否发生变化,其中,所述保护开关检测到POS机外壳被打开时与引脚断开。S1: Detecting whether a pin level of the connection protection switch is changed, wherein the protection switch detects that the POS case is disconnected from the pin when it is opened.
在POS机的内部储存区域储存有敏感数据,这些敏感数据包括用以加密持卡人安全数据的密钥。一些不法分子趁持卡人不注意时打开POS机外壳,以窃取这些敏感数据。因此为了避免POS机的敏感数据被窃取,在POS机内设置有保护开关3,所述保护开关3检测到POS机外壳被打开时与引脚断开,因此引脚的电平发生变化,通过检测连接于保护开关3的引脚电平是否发生变化就能够检测到POS机是否受到窃取敏感信息的外部攻击。Sensitive data is stored in the internal storage area of the POS, and the sensitive data includes a key used to encrypt the cardholder's security data. Some lawless elements open the POS case when the cardholders are not paying attention to steal these sensitive data. Therefore, in order to prevent the sensitive data of the POS machine from being stolen, a protection switch 3 is provided in the POS machine, and the protection switch 3 detects that the POS machine case is opened and disconnected from the pin, so the level of the pin changes. Detecting whether the pin level connected to the protection switch 3 has changed can detect whether the POS machine is attacked by an external attack that steals sensitive information.
S2、当检测到引脚电平发生变化时,判断在一预设时间阀值内引脚电平是否恢复原来状态,若否,进入步骤S3,若是,返回步骤S1。S2. When it is detected that the pin level changes, it is determined whether the pin level returns to the original state within a preset time threshold. If not, the process proceeds to step S3, and if yes, returns to step S1.
因在实际的使用过程中,当POS机遇到设备跌落、震动、ESD、冷热冲击等干扰因素时,保护开关3会出现瞬间断开又闭合的跳变并导致引脚电平变化,当这些引脚电平变化被检测到时,就会被误以为是受到外部攻击,从而触发POS机清除所有敏感信息,导致交易中断。为避免上述干扰因素的影响,在本方法中预设一时间阀值,当检测到引脚电平发生变化时,判断在预设的时间阀值内引脚电平是否恢复原来状态。因为这些干扰因素引起的跳变主要是分布在ns级到ms级别之间,所以当在预设的时间阀值内引脚电平恢复原来状态,说明所述引脚电平变化是由于干扰因素引起的,因此将这些引脚电平变化滤除,并回去步骤S1,当在预设的时间阀值内引脚电平未恢复原来状态,说明所述引脚电平变化是由于外部攻击产生的,因此执行步骤S3。In the actual use process, when the POS machine encounters interference factors such as equipment drop, vibration, ESD, thermal shock, etc., the protection switch 3 will instantaneously open and close the jump and cause the pin level to change. When a pin level change is detected, it is mistaken for an external attack, which triggers the POS machine to clear all sensitive information, causing the transaction to be interrupted. In order to avoid the influence of the above interference factors, a time threshold is preset in the method, and when the change of the pin level is detected, it is judged whether the pin level returns to the original state within the preset time threshold. Because the transition caused by these interference factors is mainly distributed between the ns level and the ms level, when the pin level returns to the original state within the preset time threshold, the pin level change is due to the interference factor. Caused, so the pin level changes are filtered out, and the process returns to step S1. When the pin level is not restored to the original state within the preset time threshold, the pin level change is due to an external attack. Therefore, step S3 is performed.
S3、清除POS机中存储的敏感数据。S3. Clear sensitive data stored in the POS machine.
当步骤S2判断所述引脚电平变化为外部攻击引起的,则清除POS机中存储的敏感数据。When it is determined in step S2 that the pin level change is caused by an external attack, the sensitive data stored in the POS machine is cleared.
在本实施例中,所述保护开关3为锅仔片开关9,所述锅仔片开关9设置于所述POS机外壳的前盖12与后盖之间。In this embodiment, the protection switch 3 is a pot switch 9, and the pot switch 9 is disposed between the front cover 12 and the rear cover of the POS casing.
在本实施例中,所述预设时间阀值为200~250ms。因POS机所遇到的设备跌落、震动、ESD、冷热冲击等外部因素的干扰所引起的保护开关3跳变主要是分布在ns级到ms级别,因此预设时间阀值设置为200~250ms,既能有效滤除这些干扰因素的影响,又能及时的检测保护开关3是否受到外部攻击。In this embodiment, the preset time threshold is 200 to 250 ms. The protection switch 3 hopping caused by the interference of external factors such as equipment drop, vibration, ESD, thermal shock and other impacts encountered by the POS machine is mainly distributed in the ns level to the ms level, so the preset time threshold is set to 200~ 250ms, can effectively filter out the influence of these interference factors, and can timely detect whether the protection switch 3 is subject to external attacks.
本发明保护POS机中敏感数据的方法对POS机中敏感数据的保护开关3的输入信号进行判断,滤除由于设备跌落、震动、ESD、冷热冲击等各种外部因素对保护开关输入信号的干扰,避免干扰信号导致敏感数据被误删除,提高POS机的抗干扰性和稳定性。The method for protecting sensitive data in a POS machine determines the input signal of the protection switch 3 of the sensitive data in the POS machine, and filters out various external factors such as device drop, vibration, ESD, thermal shock and the like to protect the input signal of the protection switch. Interference, avoiding interference signals, causing sensitive data to be deleted accidentally, improving the anti-interference and stability of the POS.
实施例2Example 2
请参阅图3,为本发明实施方式中一种保护POS机中敏感数据的装置的结构框图。所述保护POS机中敏感数据的装置包括与POS机存储单元1电连接的CPU2,所述存储单元1存储有敏感数据,所述保护POS机中敏感数据的装置还包括与CPU2的引脚连接的保护开关3,所述CPU2包括检测单元4、判断单元5和清除单元6;所述检测单元4,用于检测连接保护开关3的引脚电平是否发生变化,其中所述保护开关3检测到POS机外壳被打开时与引脚断开;所述判断单元5,用于当所述检测单元4检测到引脚电平发生变化时,判断在一预设时间阀值内引脚电平是否恢复原来状态;所述清除单元6,用于当所述判断单元5判定在预设时间阀值内引脚电平未恢复原来状态,清除存储单元1存储的敏感数据。Please refer to FIG. 3 , which is a structural block diagram of an apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention. The device for protecting sensitive data in the POS machine comprises a CPU 2 electrically connected to the POS storage unit 1, the storage unit 1 storing sensitive data, and the device for protecting sensitive data in the POS device further comprises a pin connection with the CPU 2. The protection switch 3, the CPU 2 includes a detecting unit 4, a determining unit 5 and a clearing unit 6; the detecting unit 4 is configured to detect whether a pin level of the connection protection switch 3 is changed, wherein the protection switch 3 detects Determining with the pin when the POS case is opened; the determining unit 5 is configured to determine the pin level within a preset time threshold when the detecting unit 4 detects a change in the pin level Whether the original state is restored; the clearing unit 6 is configured to: when the determining unit 5 determines that the pin level is not restored to the original state within the preset time threshold, clear the sensitive data stored by the storage unit 1.
在本实施例中,所述判断单元5为包含比较寄存器的计数器,所述计数器用于当所述检测单元4检测到引脚电平发生变化时开始计时以及当引脚电平恢复原来状态时停止计时,当计时时间超过比较寄存器的预设时间阀值时发送电信号至清除单元6。In this embodiment, the determining unit 5 is a counter including a comparison register, and the counter is used to start timing when the detecting unit 4 detects a change in the pin level and when the pin level returns to the original state. The timing is stopped, and an electrical signal is sent to the clearing unit 6 when the timing time exceeds the preset time threshold of the comparison register.
在本实施例中,所述保护开关为锅仔片开关9,所述锅仔片开关9连接于检测引脚。锅仔片开关体积小、反应灵敏,适合安装于类似POS机之类体积较小的设备当中,在本实施例中,所述锅仔片开关9单独设立于POS机外壳内,所述锅仔片开关的一面紧贴于POS机后盖,当POS机的前盖12紧固于所述后盖上时,前盖12正好紧贴于锅仔片开关9的另一面,使锅仔片开关9处于闭合状态。当POS机外壳被打开时,锅仔片开关9就由闭合状态转变为断开状态,因此检测引脚检测到电平信号的变化触发清除敏感数据。因锅仔片开关9的按键行程很短,因此当POS机外壳被轻微的打开时,锅仔片开关9就由闭合状态转变了断开状态,因此能够灵敏的反应POS机外壳是否被打开,有效保证该保护POS机中敏感数据的方法的灵敏度。In this embodiment, the protection switch is a dome switch 9, and the dome switch 9 is connected to the detection pin. The pot chip switch is small in size and responsive, and is suitable for being installed in a small-sized device such as a POS machine. In this embodiment, the pot chip switch 9 is separately set in the POS machine casing. One side of the switch is closely attached to the back cover of the POS machine. When the front cover 12 of the POS is fastened to the back cover, the front cover 12 is just in close contact with the other side of the switch 9 to make the switch. 9 is in a closed state. When the POS case is opened, the pan switch 9 is turned from the closed state to the open state, so the detection pin detects a change in the level signal triggering the clearing of the sensitive data. Since the button stroke of the pot switch 9 is very short, when the POS casing is slightly opened, the pan switch 9 is turned from the closed state to the disconnected state, so that the POS casing can be sensitively reacted. Effectively guarantee the sensitivity of the method of protecting sensitive data in POS machines.
作为本实施例的改进,请参阅图2所示,为本发明实施例保护POS机中敏感数据的装置中保护开关一较佳实施例的结构示意图。所述保护开关3为锅仔片开关9,所述锅仔片开关9的个数为三个,所述锅仔片开关9分别设置于POS机按键电路板13的边沿,每个锅仔片轻触9开关与在POS机按键键盘11上设置的锅仔片开关按钮10相对应。当POS机外壳的前盖12紧固于后盖时,设置于POS机按键键盘11上的锅仔片开关按钮10受到前盖12向下的压力,使所述锅仔片开关9处于闭合导通状态。当POS机外壳被打开时,所述三个锅仔片开关9中的任意一个或多个由导通状态变为断开状态时,所述检测单元4即可检测到检测引脚电平变化。因此设置三个锅仔片开关9,并将其设置在POS机按键键盘11的边沿可以大大提高检测锅仔片开关9的检测灵敏度。As a modification of this embodiment, please refer to FIG. 2, which is a schematic structural diagram of a protection switch in a device for protecting sensitive data in a POS machine according to an embodiment of the present invention. The protective switch 3 is a pot switch 9, the number of the pot switch 9 is three, and the pot switch 9 is respectively disposed at the edge of the POS button circuit board 13, each pot The touch 9 switch corresponds to the dome switch button 10 provided on the POS machine key pad 11. When the front cover 12 of the POS casing is fastened to the back cover, the dome switch button 10 disposed on the POS button keypad 11 is subjected to the downward pressure of the front cover 12, so that the dome switch 9 is closed. Pass state. When the POS casing is opened, when the one or more of the three dome switches 9 are turned from the on state to the off state, the detecting unit 4 can detect the detection pin level change. . Therefore, setting the three pot chip switches 9 and setting them on the edge of the POS machine key keyboard 11 can greatly improve the detection sensitivity of the detecting pot chip switch 9.
在本实施例中,所述预设时间阀值为200~250ms。In this embodiment, the preset time threshold is 200 to 250 ms.
本发明保护POS机中敏感数据的装置对POS机中敏感数据的保护开关3的输入信号进行判断,滤除由于设备跌落、震动、ESD、冷热冲击等各种外部因素对保护开关输入信号的干扰,避免干扰信号导致敏感数据被误删除,提高POS机的抗干扰性和稳定性。The device for protecting sensitive data in the POS machine judges the input signal of the protection switch 3 of the sensitive data in the POS machine, and filters out the input signals of the protection switch due to various external factors such as device drop, vibration, ESD, thermal shock and the like. Interference, avoiding interference signals, causing sensitive data to be deleted accidentally, improving the anti-interference and stability of the POS.
实施例3Example 3
如图4所示,为本发明实施例提供的另一种保护POS机中敏感数据的装置。该保护POS机中敏感数据的装置包括与POS机的存储单元1电连接的CPU2,所述存储单元1存储有敏感数据,所述POS机还包括保护开关3,所述保护开关3通过一低通滤波器7与CPU2的引脚连接;所述保护开关3检测到POS机外壳被打开时与低通滤波器7断开,所述低通滤波器7用于过滤高频脉冲并将阀值频率范围内开关信号发送至CPU2,所述CPU2包括检测单元4和清除单元6,所述检测单元4,用于检测引脚电平是否发生变化;所述清除单元6,用于当所述检测单元4检测到引脚电平发生变化时,清除POS机中存储的敏感数据。As shown in FIG. 4, another apparatus for protecting sensitive data in a POS machine according to an embodiment of the present invention is provided. The device for protecting sensitive data in the POS machine comprises a CPU 2 electrically connected to the storage unit 1 of the POS machine, the storage unit 1 storing sensitive data, the POS machine further comprising a protection switch 3, the protection switch 3 passing a low The pass filter 7 is connected to the pin of the CPU 2; the protection switch 3 detects disconnection from the low pass filter 7 when the POS case is opened, and the low pass filter 7 is used to filter the high frequency pulse and set the threshold The switching signal is sent to the CPU 2, and the CPU 2 includes a detecting unit 4 and a clearing unit 6 for detecting whether the pin level has changed. The clearing unit 6 is configured to perform the detecting. When unit 4 detects a change in pin level, it clears the sensitive data stored in the POS.
在本实施例中,所述低通滤波器7包括一电阻和电容,所述电阻串联于保护开关3与CPU2检测引脚之间,所述电容一端连接于CPU2检测引脚,另一端接地,通过设置所述电容和电阻的值可以设定该低通滤波器的通过频率。因干扰信号的脉宽一般都小于200ms,所以本低通滤波器7的通过脉宽设置为200~250ms,即该低通滤波器的通过频率为小于4~5Hz。根据公式f=1/2πRC即可计算出所述电阻与电容的值。在本实施例中,所述低通滤波器7为RC滤波器,但本发明并不仅限于RC滤波器,凡本领域技术人员所公知的通过频率小于4~5Hz的低通滤波器,均是本发明的保护范围。In this embodiment, the low-pass filter 7 includes a resistor and a capacitor. The resistor is connected in series between the protection switch 3 and the CPU 2 detection pin. One end of the capacitor is connected to the CPU 2 detection pin, and the other end is grounded. The pass frequency of the low pass filter can be set by setting the values of the capacitance and the resistance. Since the pulse width of the interference signal is generally less than 200 ms, the pass pulse width of the low pass filter 7 is set to 200 to 250 ms, that is, the pass frequency of the low pass filter is less than 4 to 5 Hz. The values of the resistance and capacitance can be calculated according to the formula f = 1/2 πRC. In the present embodiment, the low pass filter 7 is an RC filter, but the present invention is not limited to the RC filter, and a low pass filter having a frequency less than 4 to 5 Hz, which is well known to those skilled in the art, is The scope of protection of the present invention.
在本实施例中,还包括与CPU2电连接的内置电源8,所述内置电源8内设置于电路板上的纽扣电池。所述内置电源8当POS机关机时为该保护POS机敏感数据的装置提供电源,使该装置在POS机开机或关机状态时都能保护敏感数据不被窃取。In this embodiment, a built-in power supply 8 electrically connected to the CPU 2 is further included, and the built-in power supply 8 has a button battery disposed on the circuit board. The built-in power supply 8 provides power to the device for protecting sensitive data of the POS when the POS machine is in use, so that the device can protect sensitive data from being stolen when the POS is turned on or off.
在本实施例中,在保护开关与引脚之间串联一低通滤波器7,使保护开关3的输入信号先经过该低通滤波器7,通过设定低通滤波器7的通过频率即可滤除由干扰因素引起的保护开关3电平跳变,该方案无需将保护开关的输入信号与预设时间阀值比较,因此大大减小了装置对外部攻击信号的反应时间,及时清除存储单元1里的敏感数据,使数据得到更好的保护。In this embodiment, a low pass filter 7 is connected in series between the protection switch and the pin, so that the input signal of the protection switch 3 passes through the low pass filter 7 first, and the pass frequency of the low pass filter 7 is set. The protection switch 3 level jump caused by the interference factor can be filtered out, and the solution does not need to compare the input signal of the protection switch with the preset time threshold, thereby greatly reducing the response time of the device to the external attack signal, and clearing the storage in time. The sensitive data in unit 1 makes the data better protected.
实施例4Example 4
本实施例为一POS机,所述POS机外壳包括前盖12和后盖,所述前盖12和后盖通过螺丝对锁固定在一起,所述POS机包括实施例2所述的保护POS机中敏感数据的装置,在POS机按键键盘11上设置有与所述锅仔片开关9对应的锅仔片开关按钮10,当POS机外壳的前盖12紧固于后盖时,锅仔片开关按钮10受到前盖12向下的压力压紧述锅仔片开关9使其处于闭合导通状态。This embodiment is a POS machine. The POS casing includes a front cover 12 and a rear cover. The front cover 12 and the rear cover are fixed together by a screw pair. The POS machine includes the protection POS described in Embodiment 2. The device for sensitive data in the machine is provided with a pot switch button 10 corresponding to the pot chip switch 9 on the POS machine keypad 11 when the front cover 12 of the POS case is fastened to the back cover. The sheet switch button 10 is pressed against the pot switch 9 by the downward pressure of the front cover 12 to be in a closed conduction state.
在POS机上设置所述保护POS机中敏感数据的装置,能够保护POS机中敏感数据不被窃取,又能滤除由于设备跌落、震动、ESD、冷热冲击等各种外部因素对保护开关输入信号的干扰,避免干扰信号导致敏感数据被误删除,提高POS机的抗干扰性和稳定性。The device for protecting sensitive data in the POS machine is set on the POS machine, which can protect the sensitive data in the POS machine from being stolen, and can filter the input of the protection switch due to various external factors such as device drop, vibration, ESD, thermal shock and the like. Signal interference, avoiding interference signals, causing sensitive data to be deleted accidentally, improving the anti-interference and stability of the POS machine.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (1)

  1. 1、一种保护POS机中敏感数据的方法,其特征在于,所述POS机中敏感数据保护装置采用保护开关检测是否受到外部攻击,该方法包括以下步骤:A method for protecting sensitive data in a POS machine, wherein the sensitive data protection device in the POS device uses a protection switch to detect whether an external attack is performed, and the method includes the following steps:
    S1、检测连接保护开关的引脚电平是否发生变化,其中,所述保护开关检测到POS机外壳被打开时与引脚断开;S1, detecting whether a pin level of the connection protection switch is changed, wherein the protection switch detects that the POS machine case is opened and disconnected from the pin;
    S2、当检测到引脚电平发生变化时,判断在一预设时间阀值内引脚电平是否恢复原来状态,若否,进入步骤S3,若是,返回步骤S1;S2, when it is detected that the pin level changes, it is determined whether the pin level returns to the original state within a preset time threshold, if not, proceeds to step S3, and if so, returns to step S1;
    S3、清除POS机中存储的敏感数据。S3. Clear sensitive data stored in the POS machine.
    2、根据权利要求1所述的保护POS机中敏感数据的方法,其特征在于:所述保护开关为锅仔片开关,所述锅仔片开关设置于所述POS机外壳的前盖与后盖之间。 The method for protecting sensitive data in a POS machine according to claim 1, wherein the protection switch is a pot switch, and the pot switch is disposed on a front cover and a rear of the POS housing. Between the covers.
    3、根据权利要求1所述的保护POS机中敏感数据的方法,其特征在于:所述预设时间阀值为200~250ms。3. The method of protecting sensitive data in a POS machine according to claim 1, wherein the preset time threshold is 200 to 250 ms.
    4、一种保护POS机中敏感数据的装置,包括与POS机存储单元电连接的CPU,所述存储单元存储有敏感数据,其特征在于,所述保护POS机中敏感数据的装置还包括与CPU的引脚连接的保护开关,所述CPU包括:4. A device for protecting sensitive data in a POS machine, comprising a CPU electrically connected to a POS storage unit, said storage unit storing sensitive data, wherein said means for protecting sensitive data in the POS machine further comprises A protection switch for a pin connection of the CPU, the CPU comprising:
    检测单元,用于检测连接保护开关的引脚电平是否发生变化,其中,所述保护开关检测到POS机外壳被打开时与引脚断开;a detecting unit, configured to detect whether a pin level of the connection protection switch is changed, wherein the protection switch detects that the POS machine case is opened and is disconnected from the pin;
    判断单元,用于当所述检测单元检测到引脚电平发生变化时,判断在一预设时间阀值内引脚电平是否恢复原来状态;a determining unit, configured to: when the detecting unit detects that the pin level changes, determine whether the pin level returns to a original state within a preset time threshold;
    清除单元,用于当所述判断单元判定在预设时间阀值内引脚电平未恢复原来状态,清除存储单元存储的敏感数据。And a clearing unit, configured to: when the determining unit determines that the pin level is not restored to the original state within the preset time threshold, clear the sensitive data stored by the storage unit.
    5、根据权利要求4所述的保护POS机中敏感数据的装置,其特征在于:所述保护开关为锅仔片开关,所述锅仔片开关设置于所述POS机外壳的前盖与后盖之间。 The device for protecting sensitive data in a POS machine according to claim 4, wherein the protection switch is a pot chip switch, and the pot chip switch is disposed on a front cover and a rear of the POS machine casing. Between the covers.
    6、根据权利要求4所述的保护POS机中敏感数据的装置,其特征在于:所述保护开关为锅仔片开关,所述锅仔片开关的个数为三个,所述锅仔片开关分别设置于POS机的按键电路板的边沿,每个锅仔片开关与在POS机按键键盘上设置的锅仔片开关按钮相对应。The device for protecting sensitive data in a POS machine according to claim 4, wherein the protection switch is a pot switch, and the number of the pot switch is three, the pot piece The switches are respectively disposed on the edge of the button circuit board of the POS machine, and each of the pot chip switches corresponds to the pot chip switch button set on the keyboard of the POS machine.
    7、根据权利要求4所述的保护POS机中敏感数据的装置,其特征在于:所述预设时间阀值为200~250ms。7. The apparatus for protecting sensitive data in a POS machine according to claim 4, wherein the preset time threshold is 200 to 250 ms.
    8、根据权利要求4所述的保护POS机中敏感数据的装置,其特征在于:所述判断单元为包含比较寄存器的计数器,所述计数器用于当所述检测单元检测到引脚电平发生变化时开始计时以及当引脚电平恢复原来状态时停止计时,当计时时间超过比较寄存器的预设时间阀值时发送电信号至清除单元。8. The apparatus for protecting sensitive data in a POS machine according to claim 4, wherein said determining unit is a counter including a comparison register, said counter being used when said detecting unit detects that a pin level has occurred. The timing starts when the change occurs and stops when the pin level returns to the original state. When the timing exceeds the preset time threshold of the comparison register, an electrical signal is sent to the clearing unit.
    9、一种保护POS机中敏感数据的装置,包括与POS机的存储单元电连接的CPU,所述存储单元存储有敏感数据,其特征在于,所述POS机还包括保护开关,所述保护开关通过一低通滤波器与CPU的引脚连接;9. A device for protecting sensitive data in a POS machine, comprising a CPU electrically connected to a storage unit of a POS machine, said storage unit storing sensitive data, wherein said POS machine further comprises a protection switch, said protection The switch is connected to the pin of the CPU through a low pass filter;
    所述保护开关检测到POS机外壳被打开时与低通滤波器断开;The protection switch detects disconnection from the low pass filter when the POS case is opened;
    所述低通滤波器用于过滤高频脉冲并将阀值频率范围内开关信号发送至CPU;The low pass filter is configured to filter high frequency pulses and send a switching signal within a threshold frequency range to the CPU;
    所述CPU包括:The CPU includes:
    检测单元,用于检测引脚电平是否发生变化;a detecting unit for detecting whether a pin level has changed;
    清除单元,用于当所述检测单元检测到引脚电平发生变化时,清除POS机中存储的敏感数据。And a clearing unit, configured to clear sensitive data stored in the POS when the detecting unit detects a change in the pin level.
    10、根据权利要求4-8任意一项所述的保护POS机中敏感数据的装置,其特征在于,还包括与CPU电连接的内置电源。10. Apparatus for protecting sensitive data in a POS machine according to any of claims 4-8, further comprising a built-in power supply electrically coupled to the CPU.
    11、一种POS机,所述POS机外壳包括前盖和后盖,所述前盖和后盖通过螺丝对锁固定在一起,其特征在于,包括权利要求5-6任意一项所述的保护POS机中敏感数据的装置,在POS机按键键盘上设置有与所述锅仔片开关对应的锅仔片开关按钮,当POS机外壳的前盖紧固于后盖时,锅仔片开关按钮受到前盖向下的压力压紧锅仔片开关使其处于闭合导通状态。A POS machine, the POS casing comprising a front cover and a rear cover, the front cover and the rear cover being fixed together by a screw pair, characterized by comprising the method of any one of claims 5-6 The device for protecting sensitive data in the POS machine is provided with a pot switch button corresponding to the pot chip switch on the keypad of the POS machine. When the front cover of the POS machine case is fastened to the back cover, the pot switch The button is pressed against the lid switch by the pressure of the front cover downwards to bring it into a closed state.
PCT/CN2014/071180 2013-09-30 2014-01-23 Pos machine, and method and apparatuses for protecting sensitive data in pos machine WO2015043130A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310460671.1A CN103544789B (en) 2013-09-30 2013-09-30 The method and apparatus of sensitive data in POS, protection POS
CN201310460671.1 2013-09-30

Publications (1)

Publication Number Publication Date
WO2015043130A1 true WO2015043130A1 (en) 2015-04-02

Family

ID=49968198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071180 WO2015043130A1 (en) 2013-09-30 2014-01-23 Pos machine, and method and apparatuses for protecting sensitive data in pos machine

Country Status (2)

Country Link
CN (1) CN103544789B (en)
WO (1) WO2015043130A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918920A (en) * 2017-12-12 2019-06-21 佛山市顺德区顺达电脑厂有限公司 The electronic device of confidential data can be protected

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331994B (en) * 2014-09-26 2016-11-30 福建新大陆支付技术有限公司 A kind of swiping card equipment of liquid crystal display screen safety
CN105303373B (en) * 2015-09-22 2019-03-26 深圳市新国都支付技术有限公司 A kind of anti-detection circuit of frequency and method
CN105447413B (en) * 2015-11-13 2019-03-12 深圳市新国都支付技术有限公司 A kind of POS machine and method for security protection based on Dynamic Signal
CN111796545B (en) * 2020-07-20 2021-09-14 艾体威尔电子技术(北京)有限公司 Anti-shock false-triggering safety mechanism system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102412551A (en) * 2011-12-30 2012-04-11 无锡华阳科技有限公司 Overvoltage-undervoltage protection switch with automatic switching-on function and protection method
CN102750481A (en) * 2012-06-15 2012-10-24 天地融科技股份有限公司 Level output device, self-destructible dynamic password generating device and self-destroying method
CN202632296U (en) * 2012-06-28 2012-12-26 深圳长城开发科技股份有限公司 Data security protective device
CN202772021U (en) * 2012-06-29 2013-03-06 百富计算机技术(深圳)有限公司 Keyboard safety protection device
CN203503070U (en) * 2013-09-30 2014-03-26 福建联迪商用设备有限公司 POS (point of sale) machine and device for protecting sensitive data in POS machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8099783B2 (en) * 2005-05-06 2012-01-17 Atmel Corporation Security method for data protection
CN101159072B (en) * 2007-10-22 2012-01-11 谢建全 Device for preventing financial terminal susceptivity data missing
CN101510243B (en) * 2009-03-04 2011-12-14 深圳市凯明杨科技有限公司 Data protection device and safety payment equipment
CN202758346U (en) * 2012-08-30 2013-02-27 福建伊时代信息科技股份有限公司 Secure mobile storage device
CN203013274U (en) * 2012-12-26 2013-06-19 中国航空工业集团公司第六三一研究所 Data self-destructive electronic hard disk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102412551A (en) * 2011-12-30 2012-04-11 无锡华阳科技有限公司 Overvoltage-undervoltage protection switch with automatic switching-on function and protection method
CN102750481A (en) * 2012-06-15 2012-10-24 天地融科技股份有限公司 Level output device, self-destructible dynamic password generating device and self-destroying method
CN202632296U (en) * 2012-06-28 2012-12-26 深圳长城开发科技股份有限公司 Data security protective device
CN202772021U (en) * 2012-06-29 2013-03-06 百富计算机技术(深圳)有限公司 Keyboard safety protection device
CN203503070U (en) * 2013-09-30 2014-03-26 福建联迪商用设备有限公司 POS (point of sale) machine and device for protecting sensitive data in POS machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918920A (en) * 2017-12-12 2019-06-21 佛山市顺德区顺达电脑厂有限公司 The electronic device of confidential data can be protected
CN109918920B (en) * 2017-12-12 2023-03-14 佛山市顺德区顺达电脑厂有限公司 Electronic device capable of protecting confidential data

Also Published As

Publication number Publication date
CN103544789B (en) 2016-02-03
CN103544789A (en) 2014-01-29

Similar Documents

Publication Publication Date Title
WO2015043130A1 (en) Pos machine, and method and apparatuses for protecting sensitive data in pos machine
CN105051751B (en) For protecting circuit unit from the security module of unauthorized access
CN203503070U (en) POS (point of sale) machine and device for protecting sensitive data in POS machine
CN103902854A (en) Method and terminal for preventing misoperation
CN103412719A (en) Method and device for preventing touch screen terminal from misoperation
CN105825599B (en) A kind of multiple-protection system, method and the POS machine of the anti-intrusion of POS machine
CN106056002A (en) Touch screen safety protection structure and display apparatus
CN104268467B (en) The method of electronic equipment anti-intrusion and the electronic equipment of anti-intrusion
CN203366064U (en) Automatic teller machine card reader safety monitoring device
CN101211566B (en) Mobile terminal and hard disk protection method
CN102573283B (en) PCB (printed circuit board) safety protective board and PCB safety protective device
CN106781116B (en) Intelligent POS terminal core area protection structure
WO2011071354A2 (en) Portable antitheft apparatus
CN207082187U (en) Touch-screen safeguard protection formula POS
CN207149009U (en) Screen safe connection structure and POS
CN207302063U (en) Mainboard safeguard protection formula POS machine
CN103366455B (en) Safety monitoring device for card reader of ATM (Automatic Teller Machine) and monitoring method thereof
CN207458250U (en) Mainboard safeguard protection formula POS machine
CN205942704U (en) Touch -sensitive screen safety protection structure and display device
CN106600850A (en) Anti-attack safety POS machine and safety protection method
CN203720844U (en) USB (universal serial bus)-interface-based safety equipment
CN206684749U (en) Fingerprint recognition module and device
CN207149000U (en) The safeguard construction and POS that anti-screen is opened
CN207518943U (en) Safe connection structure between circuit board
CN104318187B (en) The guard method of intelligent terminal interactive information based on capacitance detecting and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14847654

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14847654

Country of ref document: EP

Kind code of ref document: A1