The utility model content
The technical problems to be solved in the utility model provides a kind of control main board that is applicable to all-purpose card easy to use.
In order to solve the problems of the technologies described above, the utility model provides a kind of control main board that is applicable to all-purpose card, comprises the communication module, storer, LCD MODULE, IC-card induction module, center processor, the sheet modeling piece that link to each other with power module respectively, extends out module and Keysheet module; Center processor links to each other with communication module, IC-card induction module and sheet modeling piece respectively, sheet modeling piece, extends out module and links to each other successively with Keysheet module, and storer links to each other with sheet modeling piece, LCD MODULE with extend out module and link to each other.
As the improvement that is applicable to the control main board of all-purpose card of the present utility model: clock module links to each other with center processor with power module respectively.
The control main board that is applicable to all-purpose card of the present utility model, center processor (can select single-chip microcomputer for use) are responsible for sending instruction to other module as the control system of mainboard, instruct the work of other module; Communication module is responsible for the communication with outer PC; Sheet modeling piece is mainly used in sheet and selects storer and extend out module and when work, thereby reduces power consumption; Storer has memory function, at the corresponding information of store memory storage IC-card; It is storage medium that storer can adopt jumbo NAND FLASH (flash memory), thereby storage bulk information, extending out module is the expansion of center processor, make center processor give full play to function, improve the utilization rate of resource, extend out module and mainly expanded LCD MODULE and Keysheet module, LCD MODULE mainly is that operation information is informed the user more intuitively, thereby reaches good man-machine interaction; Keysheet module is mainly this control main board external information input etc. is provided, thereby user-friendly; Power module is responsible for the power supply of monoblock control main board, and clock module guarantees the accuracy of equipment temporal information, guarantees that information is more accurate.
The control main board that is applicable to all-purpose card of the present utility model, on a control main board, realized each function support that card system needs, thereby make card system to be used by units such as each enterprise, government bodies, schools more widely, have characteristics such as handled easily, the raising working efficiency of management.
Embodiment
Embodiment 1, a kind of control main board that is applicable to all-purpose card comprise communication module 1, storer 2, LCD MODULE 3, IC-card induction module 4, center processor 5, sheet modeling piece 6, extend out module 7, Keysheet module 8, clock module 9 and power module 10.Center processor 5 is selected single-chip microcomputer for use.
Power module 10 respectively with communication module 1, storer 2, LCD MODULE 3, IC-card induction module 4, center processor 5, sheet modeling piece 6, extend out module 7, Keysheet module 8 and clock module 9 and link to each other, power module 10 is responsible for providing power supply.Clear for drawing, above-mentioned annexation has been done omission in Fig. 1.
Center processor 5 links to each other with clock module 9 with communication module 1, IC-card induction module 4, sheet modeling piece 6 respectively, sheet modeling piece 6 respectively with storer 2 with extend out module 7 and link to each other, extend out module 7 and link to each other with Keysheet module 8 with LCD MODULE 3 respectively.
IC-card induction module 4 can adopt the radio frequency Card Reader chip RC500 of induction, by the instruction control of center processor 5, realizes the operation to IC-card.
During the actual use of the above-mentioned control main board that is applicable to all-purpose card,,, thereby make center processor 5 have corresponding management control function earlier with in the burned single-chip microcomputer of the pairing programmed instruction of different mode of operations according to different actual needs; Power module 10 links to each other with external power source; Communication module 1 links to each other with PC by Serial Port Line, can respond the order that PC sends in the very first time, and is used for the transmission of data between The whole control mainboard and the PC; Display screen links to each other with LCD MODULE 3; Message input device (for example keyboard) links to each other with Keysheet module 8; The course of work is specific as follows:
1, energized, the The whole control mainboard is in the stand-by operation state.When not having IC-card to enter to swipe the card the district, as long as import corresponding card number at message input device, Keysheet module 8 just can be with card number information successively by extending out module 7 and sheet modeling piece 6 is passed to center processor 5, center processor 5 order sheet modeling pieces 6 are transferred the corresponding information of this IC-card in the storer 2 according to card number, and this information is passed to LCD MODULE 3 by extending out module 7, on LCDs, show after the signal Processing of this information via LCD MODULE 3.
2, enter when district of swiping the card as IC-card, IC-card induction module 4 is responsible for this IC-card is made induction, and the IC card numbers information that is read is passed to center processor 5; Center processor 5 order sheet modeling pieces 6 are transferred the corresponding information of this IC-card in the storer 2 according to card number, and this information is passed to LCD MODULE 3 by extending out module 7, on display screen, show after the signal Processing of this information via LCD MODULE 3, be convenient to the user and know corresponding information in real time.
3, the PC order of sending passes to center processor 5 by communication module 1, and 5 pairs of these orders of center processor are handled accordingly.
4, clock module 9 is used to guarantee the accuracy of temporal information, guarantees that information is more accurate.
Because can be, thereby make center processor 5 have corresponding management control function in advance with in the burned single-chip microcomputer of the pairing programmed instruction of different mode of operations; Therefore below respectively with consume/supplement with money, work attendance, gate inhibition, these 4 mode of operations of water control be that example describes.
One, consume/supplement with money:
External power source is with after power module 10 links to each other, and the The whole control mainboard just is in standby mode.Under the order of center processor 5, IC-card induction module 4 is in the state of seeking card always, in case there is IC-card to enter induction zone, IC-card induction module 4 can be read the card number information of IC-card and be delivered to center processor 5, center processor 5 order sheet modeling pieces 6 are transferred the pairing balance amount information of this IC-card according to card number in storer 2, and this balance amount information is passed to LCD MODULE 3 by extending out module 7, this balance amount information shows on display screen through after the signal Processing of LCD MODULE 3, is convenient to the user and knows corresponding balance amount information in real time.
The operation that the operator can carry out corresponding depreciation or supplement with money this IC-card by message input device.The amount of money number of message input device input is by after the signal Processing of Keysheet module 8, more successively through extending out module 7 and sheet modeling piece 6 is passed to center processor 5; Center processor 5 utilizes sheet modeling piece 6 to transfer the pairing balance amount information of this IC-card in storer 2, and center processor 5 is responsible for the amount of money number of input and the remaining sum number in the card are superposeed, thereby draws a new remaining sum.Center processor 5 is passed to sheet modeling piece 6 with this new balance information, and sheet modeling piece 6 is kept at this new balance information in the storer 2 on the one hand, thereby overrides original balance amount information; Sheet modeling piece 6 also finally shows this new balance information after extending out module 7 and LCD MODULE 3 simultaneously successively on display screen, be convenient to the user and know up-to-date balance amount information in real time.
Under the indication of PC (this indication passes to center processor 5 by communication module 1), center processor 5 order sheet modeling pieces 6 are transferred the corresponding information of IC-card in the storer 2, and then above-mentioned information is passed through communication module 1 passback give PC, be convenient to PC and add up accordingly.
Two, work attendance
In storer 2, deposit the card number and the corresponding personal information that need work attendance in advance in, in storer 2, also have the qualified time point of work attendance.
Under the order of center processor 5, IC-card induction module 4 is passed to center processor 5 with the card number information of the IC-card sensed, center processor 5 is transferred the card number of the permission work attendance of preserving in the storer 2 by sheet modeling piece 6, center processor 5 is responsible for the card number of this IC-card is compared with the card number that allows work attendance, if judged result is " belonging to the card number that allows work attendance ", then proceed the whether qualified judgement of following work attendance time; If judged result is " not belonging to the card number that allows work attendance ", then interrupt this work attendance.
When judged result is " belonging to the card number that allows work attendance ", whether qualified the work attendance time of then proceeding of judging content specific as follows:
Center processor 5 is transferred the real-time time of swiping the card from clock module 9, and transfers the qualified time point of preserving in the storer 2 of work attendance by sheet modeling piece 6; Center processor 5 is responsible for 2 times are compared, thereby judges whether this work attendance takes place in official hour point.Center processor 5 is preserved final checking-in result in storer 2 accordingly by sheet modeling piece 6 backs.When final checking-in result was " qualified ", center processor 5 also ordered sheet modeling piece 6 that this checking-in result is passed to LCD MODULE 3 by extending out module 7, finally shows on display screen, was convenient to the user and knew that clearly this work attendance passes through smoothly.
Under the indication of PC (this indication passes to center processor 5 by communication module 1), center processor 5 order sheet modeling pieces 6 are transferred the corresponding work attendance information of IC-card in the storer 2, and then above-mentioned information is passed through communication module 1 passback give PC, be convenient to PC and add up accordingly.
Three, gate inhibition
In storer 2, deposit in advance and allow the card number that opens the door and corresponding personal information, in storer 2, also have the time of opening the door of allowing.Extending out module 7 links to each other with gate inhibition's relay.
Under the order of center processor 5, IC-card induction module 4 passes to center processor 5 with the card number information of the IC-card sensed, center processor 5 is transferred the card number that allowing of preserving in the storer 2 opened the door by sheet modeling piece 6, center processor 5 is responsible for the card number of this IC-card is compared with the card number that allows to open the door, if judged result is " belong to allow open the door card number ", then proceed the following judgement that allows the time of opening the door that whether belongs to; If judged result is " do not belong to allow open the door card number ", then interrupt this gate inhibition's operation.
When judged result is " belong to allow open the door card number ", then proceed judge whether to belong to allows the content of the time of opening the door specific as follows:
Center processor 5 is transferred the real-time time of swiping the card from clock module 9, and transfers the time that allowing of preserving in the storer 2 opened the door; Center processor 5 is responsible for 2 times are compared, thereby judges whether this gate inhibition's operation is to take place in the time of opening the door that allows.Center processor 5 is also preserved final judged result in storer 2 by sheet modeling piece 6 back accordingly, attempts the corresponding information that opens the door and successfully open the door in the time of opening the door that allows in the unallowed time of opening the door thereby note this IC-card.If judged result is " belonging to opening the door the time of permission ", then 6 controls of center processor 5 order sheet modeling pieces extend out module 7 on the one hand relay to be got electric, thereby finish the action of opening the door; On display screen, show corresponding information (comprise card number, the pairing concrete personal information of card number, open the door the time etc.) by LCD MODULE 3 backs on the other hand.
Under the indication of PC (this indication passes to center processor 5 by communication module 1), center processor 5 order sheet modeling pieces 6 are transferred corresponding gate inhibition's information of IC-card in the storer 2, and then above-mentioned information is passed through communication module 1 passback give PC, be convenient to PC and add up accordingly.
Four, water control (promptly swipe the card and control the flowing water valve) by IC-card
In storer 2, deposit the consumption amount of money and the relational expression of water between the time in advance in, extend out module 7 and link to each other with the relay of flowing water valve.
Under the order of center processor 5, IC-card induction module 4 is read the card number information of IC-card and is delivered to center processor 5, center processor 5 order sheet modeling pieces 6 are transferred the pairing balance amount information of this IC-card according to card number in storer 2, and this balance amount information is passed to LCD MODULE 3 by extending out module 7, this balance amount information shows on display screen through after the signal Processing of LCD MODULE 3, is convenient to the user and knows corresponding balance amount information in real time.
The operator can carry out corresponding depreciation operation to this IC-card by message input device.The amount of money number of message input device input is by after the signal Processing of Keysheet module 8, more successively through extending out module 7 and sheet modeling piece 6 is passed to center processor 5; Center processor 5 carries out following 2 work respectively:
1, center processor 5 utilizes sheet modeling piece 6 to transfer the pairing balance amount information of this IC-card in storer 2, and center processor 5 is responsible for the amount of money number of input and the remaining sum number in the card are superposeed, thereby draws a new remaining sum.Center processor 5 is passed to sheet modeling piece 6 with this new balance information, and sheet modeling piece 6 is kept at this new balance information in the storer 2 on the one hand, thereby overrides original balance amount information; Sheet modeling piece 6 also finally shows this new balance information after extending out module 7 and LCD MODULE 3 simultaneously successively on display screen, be convenient to the user and know up-to-date balance amount information in real time.
2, center processor 5 utilizes sheet modeling piece 6 to transfer the consumption amount of money and the relational expression of water between the time in storer 2, and converse according to the depreciation amount of money of message input device input water time of permission, center processor 5 is also transferred the current time from clock module 9, water time and current time that center processor 5 is responsible for allowing superpose, thereby obtain to close the time of flowing water valve, and this time of closing the flowing water valve is kept in the storer 2.
Center processor 5 is transferred preservation in time and the storer 2 every the regular hour (for example 2~3 seconds) from clock module 9 the time of closing the flowing water valve compares; When judge surpassing when closing the time of flowing water valve, 6 controls of center processor 5 order sheet modeling pieces extend out module 7 makes relay electric-loss, thereby closes the flowing water valve.
Under the indication of PC (this indication passes to center processor 5 by communication module 1), center processor 5 order sheet modeling pieces 6 are transferred the corresponding information of IC-card in the storer 2, and then above-mentioned information is passed through communication module 1 passback give PC, be convenient to PC and add up accordingly.
At last, it is also to be noted that what more than enumerate only is a specific embodiment of the present utility model.Obviously, the utility model is not limited to above embodiment, and many distortion can also be arranged.All distortion that those of ordinary skill in the art can directly derive or associate from the disclosed content of the utility model all should be thought protection domain of the present utility model.