Prevent the lottery tickets machine that utilizes the extrapolation input equipment to operate
Technical field
The present invention relates to a kind of lottery tickets machine, especially relate to a kind of lottery tickets machine of utilizing the extrapolation input equipment to operate of preventing.
Background technology
Lottery ticket is raised social public purse as country, subsidizes the important channel of the work for the public good development such as physical culture, welfare, education, and the development course in nearly ten years has been arranged in China.In recent years, Chinese Lottery Market is flourish, the release one after another lottery ticket of various playing methods of all parts of the country, and China's issue of lottery volume hits new peak continuously.To calendar year 2001, lottery ticket sales reaches 26,000,000,000, and national lottery fan's number has risen to more than 3,000 ten thousand, and this numeral is also increasing progressively in the speed with annual 30%.The development of China's lottery ticket cause is less than 20 years, but the effect that lottery ticket is brought into play in China's economic and social development is increasing.By by 2004, raise more than 300 hundred million yuan of public welfare funds by the accumulative total of issuing welfare lottery tickets, be mainly used in social and welfare services and other utility of subsidizing the elderly, disabled person, orphan and helping poor crowd.Raise more than 300 hundred million yuan of public welfare funds by the distribution sports lottery ticket, be mainly used in the body building plan of people of whole country, the plan of winning honour in Olympics, set up making arrangements for of teenager's after-school activities place, 2008 Olympic Games etc. and other utility.
Lottery ticket equipment need to have highly reliable data security, to prevent that data are stolen and revise, in existing lottery tickets machine product, the lottery tickets machine electronic lock only is keypad lock, its function is the press key locking with the sports lottery ticket keyboard special, the user can pin keyboard when needs leave in short-term, makes other people can't unauthorized operation.But this management method has obvious leak, namely lottery tickets machine have a USB interface the equipment input interface still can use, other people extrapolating universal keyboard or use the mode of touch-screen to operate lottery tickets machine, keypad lock can't really play a role.
Be that the utility model patent of ZL 200720176891.1 discloses a kind of Mobile lottery ticket machine such as the patent No., comprise a control mainboard, be integrated with central processing unit on the described control mainboard, serial ports controller, usb hub, network interface, LCD interface and power module, the USB interface of described usb hub is connected with the USB device, described power module is connected with external power supply and battery, described serial ports controller is connected with bluetooth module by serial ports, CDMA and output printing device, and described LCD interface comprises touch-screen and LCD screen.Mobile lottery ticket machine with said structure, other people can or use the mode of touch-screen to operate lottery tickets machine by USB interface extrapolation universal keyboard, have hidden trouble in handling safety.
Summary of the invention
Purpose of the present invention overcomes deficiency of the prior art exactly, provide a kind of handling safety reliable, can prevent in real time the lottery tickets machine that utilizes the extrapolation input equipment to operate.
For solving the problems of the prior art, the present invention prevents the lottery tickets machine that utilizes the extrapolation input equipment to operate, comprise master controller, the usb interface module that is connected with described master controller and the USB interface drive control module that is arranged in the described master controller, also comprise the switching value input/output interface module that is connected with described master controller and the electrical lock apparatus that is connected with described switching value input/output interface module and the electron key that matches with described electrical lock apparatus, also be provided with in the described master controller to judge the unlatching of described electrical lock apparatus or the level signal judge module of lock-out state according to the level signal that described switching value input/output interface module receives.
Further, described electrical lock apparatus is the switch lock with on-off function.
Further, the external input equipment of described usb interface module, described input equipment comprise one of touch-screen, mouse, keyboard or its combination in any.
The present invention prevents the lottery tickets machine that utilizes the extrapolation input equipment to operate, setting can be by the electrical lock apparatus of Host Detection, and cooperate the USB interface drive control module, can prevent effectively in real time that lottery tickets machine from carrying out unauthorized operation by the extrapolation input equipment, guaranteed the security of lottery tickets machine data.
Description of drawings
Fig. 1 is the structural representation that the present invention prevents from utilizing the lottery tickets machine that the extrapolation input equipment operates.
Embodiment
The present invention will be further described in detail below in conjunction with accompanying drawing.
As shown in Figure 1, the present invention prevents the lottery tickets machine 1 that utilizes the extrapolation input equipment to operate, comprise master controller 11, the usb interface module 12 that is connected with master controller 11 respectively and switching value input/output interface module 13, also comprise the electrical lock apparatus 14 that is connected with switching value input/output interface module 13 and the electron key 15 that matches with electrical lock apparatus 14, be provided with USB interface drive control module 111 and level signal judge module 112 in the described master controller 11, usb interface module 12 external input equipments 2.
In the present embodiment, described electrical lock apparatus 14 is for having the switch lock of on-off function, is used with user's electron key 15.
In the present embodiment, described level signal judge module 112 level signal that is used for sending according to the electrical lock apparatus 14 that switching value input/output interface module 13 receives is judged unlatching or the lock-out state of electrical lock apparatus 14.
In the present embodiment, described USB interface drive control module 111 is that unlatching or the lock-out state of the electrical lock apparatus 14 judged according to level signal judge module 112 sends connection or the disabled status that usb interface module 12 is controlled in instruction.
In the present embodiment, described usb interface module 12 external input equipments 2 are one of touch-screen, mouse, keyboard or its combination in any.
The present invention prevents from utilizing the course of work of the lottery tickets machine that the extrapolation input equipment operates to be: the state of master controller 11 Real-Time Monitoring electrical lock apparatus 14, electrical lock apparatus 14 is opening under normal circumstances, the input equipment 2 of usb interface module 12 extrapolations is in on-state, when the user uses electron key 15 that electrical lock apparatus 14 is set to lock-out state, switching value input/output interface module 13 receives the level signal that electrical lock apparatus 14 sends, 112 pairs of level signals of the level signal judge module of master controller 11 are judged, during level signal when judging as electrical lock apparatus 14 lock-out state, send this information to USB interface drive control module 111, USB interface drive control module 111 sending controling instructions are to usb interface module 12, the input equipment 2 of putting usb interface module 12 extrapolations is in disabled status, the present invention's this moment prevents that the lottery tickets machine that utilizes the extrapolation input equipment to operate from no longer accepting from keyboard, mouse, the input message of the extrapolation input equipments 2 such as touch-screen, lottery tickets machine will really be in can't mode of operation, guaranteed that lottery tickets machine leaves Shi Buhui by other people malicious operation the user, when the user returns when using electron key 15 that electrical lock apparatus 14 is set to opening again, switching value input/output interface module 13 receives the level signal that electrical lock apparatus 14 sends, 112 pairs of level signals of the level signal judge module of master controller 11 are judged, during level signal when judging as electrical lock apparatus 14 opening, send this information to USB interface drive control module 111, the input equipment 2 that USB interface drive control module 111 sending controling instructions are put usb interface module 12 extrapolations again to usb interface module 12 is in on-state, and the present invention prevents that the lottery tickets machine that utilizes the extrapolation input equipment to operate from returning to normal operating condition again.
In a word, what embodiments of the invention were announced is its better embodiment, but is not limited to this.Those of ordinary skill in the art understands spirit of the present invention very easily according to above-described embodiment, and makes different amplifications and variation, but only otherwise break away from spirit of the present invention, all within protection scope of the present invention.