One donate blood card read-write equipment and method of operating thereof
Technical field
The present invention relates to a kind of electronics based on RFID technology donate blood card read-write equipment and method of operating thereof.
Background technology
For a long time, voluntary blood donation card adopts traditional mode always, unalterable, be that blood donor donates blood when successful, issue a papery voluntary blood donation card, it is to fill in the record of donating blood that this card adopts the mode one of manual record: blood group, name, nationality, identification card number, numbering, work unit, home address, the date of signing in person, donate blood, the amount of donating blood (ml), blood sampling unit etc.; The 2nd, fill in and use blood record: by blood record, blood using amount (whole blood, composition), use blood reason etc.A papery is donated blood to demonstrate,prove and can be filled in six times, just must change the card of donating blood after filling up again.Because be manually to fill in, exist writing disunity lack of standardization.Just send out the card of donating blood as long as donate blood, in blood donor's hand, can hold the card of donating blood to tens cards of donating blood,, and papery donates blood to demonstrate,prove to be not easy to take care of and deposits and carry, once improper storage just there will be and wrinkling mildew and rotly, writing disappears and does not see.
The donate blood appearance of card of electronics brings great convenience to the management of voluntary blood donation, and blood donor's essential information, natural archives, health check-up record, the record of donating blood etc. all can be stored in an electronics and donate blood in card.But, in existing electronics is donated blood the use procedure of card, especially with in blood reimbursement process, due to the equipment that does not have to read and write donate blood card and medical insurance card simultaneously, therefore, give blood donor's the inconvenience of bringing by blood process.
The present invention will provide a kind of equipment and the method for operating thereof that can simultaneously read and write donate blood card and medical insurance card, thus in be convenient to donate blood card and medical insurance card about the information of donating blood with exchange and the synchronous amendment of blood information.
Summary of the invention
The present invention relates to the one card read-write equipment of donating blood, this card read-write equipment of donating blood can be used in simultaneously to be read and write donate blood card and medical insurance card, it is characterized in that, this card read-write equipment of donating blood has:
The medical insurance information of reading in medical insurance card information is read in unit;
The information of donating blood of reading in the card information of donating blood is read in unit;
The first storage unit of storage medical insurance card information;
Store the second storage unit of the card information of donating blood;
Blood takes loan standard database;
The first comparing unit, betides in this card of donating blood for judging according to this card information of donating blood that is stored in the second storage unit whether local this locality surplus of donating blood is zero:
If A. this locality surplus of donating blood is non-vanishing:
The local reimbursement of the first comparing unit output instruction is to the first reimbursement computing unit, this the first reimbursement computing unit calculates and exports and this this locality of donating blood in card allowable blood volume in the corresponding this locality of surplus of donating blood according to the local blood expense loan standard in this this locality reimbursement instruction calls blood expense loan standard database and according to this this locality blood expense loan standard, the allowable blood volume in this this locality is input to the second comparing unit, and whether this second comparing unit is greater than the actual blood using amount of the medical insurance information that is stored in this first storage unit for the allowable blood volume in this this locality relatively:
If a. the allowable blood volume in this this locality is more than or equal to this actual blood using amount, start reimbursement amendment unit, clearance submit an expense account to this actual blood using amount and by the actual blood using amount zero clearing in the first storage unit in this reimbursement amendment unit, and revises this locality in the second storage unit surplus of donating blood;
If b. the allowable blood volume in this this locality is less than actual blood using amount, first start reimbursement amendment unit, this reimbursement amendment unit is limited this actual blood using amount is submitted an expense account with the allowable blood volume in this locality, subsequently the actual blood using amount in the first storage unit is revised as to remaining actual blood using amount after reimbursement, and by the surplus zero clearing of donating blood of this locality in the second storage unit;
Then, this locality in this second storage unit surplus of donating blood is that zero state activates the 3rd comparing unit, the 3rd comparing unit judges according to this card information of donating blood that is stored in the second storage unit whether the strange land that betides strange land in this card of the donating blood surplus of donating blood is zero, if zero, blood takes reimbursement termination, this strange land surplus of donating blood is zero signal activation checkout apparatus, and this checkout apparatus is printed with blood disbursement and sattlement document according to remaining actual blood using amount in this first storage unit
If donate blood in this strange land, surplus is non-vanishing, this strange land non-vanishing signal activation second of surplus of donating blood is submitted an expense account computing unit, this the second reimbursement computing unit calls corresponding strange land blood expense loan standard in blood expense loan standard database according to the strange land information of donating blood being stored in the second storage unit, and calculate and export and this strange land of donating blood in card allowable blood volume in the corresponding strange land of surplus of donating blood according to this strange land blood expense loan standard, the allowable blood volume in this strange land is input to the 4th comparing unit, the 4th comparing unit is used for the relatively allowable blood volume in this strange land and whether is greater than the actual blood using amount of residue that is stored in this first storage unit, if the allowable blood volume in this strange land is greater than the actual blood using amount of this residue, start reimbursement amendment unit, this reimbursement amendment unit is submitted an expense account also subsequently by actual the residue in the first storage unit blood using amount zero clearing the actual blood using amount of this residue, and the strange land of amendment in the second storage unit surplus of donating blood,
If the allowable blood volume in this strange land is less than actual blood using amount, first start reimbursement amendment unit, this reimbursement amendment unit is limited the actual blood using amount of this residue is submitted an expense account with the allowable blood volume in strange land, subsequently actual the residue in the first storage unit blood using amount is revised as to final remaining actual blood using amount after surplus reimbursement is donated blood in strange land, and by the surplus zero clearing of donating blood of the strange land in the second storage unit, then, strange land in this second storage unit surplus of donating blood is zero signal activation checkout apparatus, this checkout apparatus is printed with blood disbursement and sattlement document according to final remaining actual blood using amount in this first storage unit,
If B. the first comparing unit judges that betiding local this locality surplus of donating blood in this card of donating blood is zero, the surplus of donating blood of this locality in this second storage unit is that zero state activates the 3rd comparing unit, the operation steps of this blood donation management device with in b step in above-mentioned A situation, activate the 3rd comparing unit after the identical mode of step carry out;
This card read-write equipment of donating blood also comprises, the amended medical insurance information that is stored in the first storage unit is write to the medical insurance information writing unit of medical insurance card, and the amended information of donating blood that is stored in the second storage unit is write to the information of the donating blood writing unit of the card of donating blood;
More specifically, described in the card of donating blood be a kind of smart card, this smart card comprises a microprocessor chip and an aerial coil being connected with microprocessor;
More specifically, described in the jig of donating blood have memory block, described memory block can be divided into 16 subregions, each subregion has different passwords, and described memory block has multiple subsystems and manages function independently;
More specifically, in multiple subregions of described memory block, the first subregion is realized password access function, and the second subregion is realized the information storage function of donating blood, and the 3rd subregion is realized blood donor's Back ground Information memory function, and the 4th subregion is realized the information searching function of donating blood.
The invention still further relates to a kind of method of operating of the card read-write equipment of donating blood, this card read-write equipment of donating blood can be used in simultaneously to be read and write donate blood card and medical insurance card, it is characterized in that, this card read-write equipment of donating blood has:
The medical insurance information of reading in medical insurance card information is read in unit;
The information of donating blood of reading in the card information of donating blood is read in unit;
The first storage unit of storage medical insurance card information;
Store the second storage unit of the card information of donating blood;
Blood takes loan standard database;
This method of operating of donating blood card read-write equipment comprises:
Start the first comparing unit, this first comparing unit judges and in this card of donating blood, betides whether local this locality surplus of donating blood is zero according to this card information of donating blood that is stored in the second storage unit:
If A. this locality surplus of donating blood is non-vanishing:
The local reimbursement of the first comparing unit output instruction is to the first reimbursement computing unit, this the first reimbursement computing unit calculates and exports and this this locality of donating blood in card allowable blood volume in the corresponding this locality of surplus of donating blood according to the local blood expense loan standard in this this locality reimbursement instruction calls blood expense loan standard database and according to this this locality blood expense loan standard, the allowable blood volume in this this locality is input to the second comparing unit, and whether this second comparing unit is greater than the actual blood using amount of the medical insurance information that is stored in this first storage unit for the allowable blood volume in this this locality relatively:
If a. the allowable blood volume in this this locality is more than or equal to this actual blood using amount, start reimbursement amendment unit, clearance submit an expense account to this actual blood using amount and by the actual blood using amount zero clearing in the first storage unit in this reimbursement amendment unit, and this locality in amendment the second storage unit She that donates blood measures;
If b. the allowable blood volume in this this locality is less than actual blood using amount, first start reimbursement amendment unit, this reimbursement amendment unit is limited this actual blood using amount is submitted an expense account with the allowable blood volume in this locality, subsequently the actual blood using amount in the first storage unit is revised as to remaining actual blood using amount after reimbursement, and by the surplus zero clearing of donating blood of this locality in the second storage unit;
Then, this locality in this second storage unit surplus of donating blood is that zero state activates the 3rd comparing unit, the 3rd comparing unit judges according to this card information of donating blood that is stored in the second storage unit whether the strange land that betides strange land in this card of the donating blood surplus of donating blood is zero, if zero, blood takes reimbursement termination, this strange land surplus of donating blood is zero signal activation checkout apparatus, and this checkout apparatus is printed with blood disbursement and sattlement document according to remaining actual blood using amount in this first storage unit
If donate blood in this strange land, surplus is non-vanishing, this strange land non-vanishing signal activation second of surplus of donating blood is submitted an expense account computing unit, this the second reimbursement computing unit calls corresponding strange land blood expense loan standard in blood expense loan standard database according to the strange land information of donating blood being stored in the second storage unit, and calculate and export and this strange land of donating blood in card allowable blood volume in the corresponding strange land of surplus of donating blood according to this strange land blood expense loan standard, the allowable blood volume in this strange land is input to the 4th comparing unit, the 4th comparing unit is used for the relatively allowable blood volume in this strange land and whether is greater than the actual blood using amount of residue that is stored in this first storage unit, if the allowable blood volume in this strange land is greater than the actual blood using amount of this residue, start reimbursement amendment unit, this reimbursement amendment unit is submitted an expense account also subsequently by actual the residue in the first storage unit blood using amount zero clearing the actual blood using amount of this residue, and the strange land of amendment in the second storage unit surplus of donating blood,
If the allowable blood volume in this strange land is less than actual blood using amount, first start reimbursement amendment unit, this reimbursement amendment unit is limited the actual blood using amount of this residue is submitted an expense account with the allowable blood volume in strange land, subsequently actual the residue in the first storage unit blood using amount is revised as to final remaining actual blood using amount after surplus reimbursement is donated blood in strange land, and by the surplus zero clearing of donating blood of the strange land in the second storage unit, then, strange land in this second storage unit surplus of donating blood is zero signal activation checkout apparatus, this checkout apparatus is printed with blood disbursement and sattlement document according to final remaining actual blood using amount in this first storage unit,
If B. the first comparing unit judges that betiding local this locality surplus of donating blood in this card of donating blood is zero, the surplus of donating blood of this locality in this second storage unit is that zero state activates the 3rd comparing unit, the operation steps of this blood donation management device with in b step in above-mentioned A situation, activate the 3rd comparing unit after the identical mode of step carry out;
This card read-write equipment of donating blood also comprises, the amended medical insurance information that is stored in the first storage unit is write to the medical insurance information writing unit of medical insurance card, and the amended information of donating blood that is stored in the second storage unit is write to the information of the donating blood writing unit of the card of donating blood;
More specifically, described in the card of donating blood be a kind of smart card, this smart card comprises a microprocessor chip and an aerial coil being connected with microprocessor;
More specifically, described in the jig of donating blood have memory block, described memory block can be divided into 16 subregions, each subregion has different passwords, and described memory block has multiple subsystems and manages function independently;
More specifically, in multiple subregions of described memory block, the first subregion is realized password access function, and the second subregion is realized the information storage function of donating blood, and the 3rd subregion is realized blood donor's Back ground Information memory function, and the 4th subregion is realized the information searching function of donating blood.
Brief description of the drawings
The donate blood structural representation of card read-write equipment of accompanying drawing 1 the present invention
Embodiment
What the present invention adopted donates blood card for the intelligence card of donating blood, and this intelligence jig of donating blood has following advantage:
(1) security:
1, the intelligence card of donating blood has encryption function, and data recording is reliable, uses more convenient.In use, must be first by donating blood between smart card and read-write equipment after distinctive two-way key authentication, just can carry out related work, thereby make whole system there is high safety guarantee.So strong security is safe and reliable.
2, intelligence donate blood card by card manufacturer initialization encrypt after, when giving again user and using, user is by IC-card publishing system, again each subscriber card is generated to the private key of own system, so just ensure can not use in this system at the subscriber card of other custom system distribution, ensure the selectivity of system, thereby ensured the safe handling mechanism of system.
3, intelligence recorded the reading in card of donating blood; write and all need corresponding cipher authentication; even in card, all there is different cryptoguard in each district; general protection data security; smart card writes the password of data and the password of sense data can be made as different; good differentiated control mode is provided, has guaranteed security of system.
(2) recordability:
The intelligence card of donating blood not only can be read the data of donating blood in a large number by authorized user, and also can write a large amount of data of donating blood (as: the card numbering of donating blood, user's authority, the basic data of donating blood, the data of donating blood, blood expense reimbursement data etc.) by authorized user, the smart card recorded contents of donating blood can pass through specialized equipment erasable more new record repeatedly.
The donate blood principles and structure feature of card of the intelligence that the present invention adopts is as follows:
One, the ultimate principle of smart card work is: microprocessor chip and an aerial coil being connected with microprocessor.Electromagnetic wave from read write line to smart card that sent out one group of fixed frequency by, has a LC series resonant circuit in card, the frequency of its frequency and read write line transmitting is identical, and under excitation of electromagnetic wave, LC resonant circuit produces resonance like this, thereby makes in electric capacity, there has been electric charge; At the other end of this electric charge, be connected to the electronic pump of an one-way conduction, the electric charge in electric capacity delivered to another capacitor memory storage, in the time that accumulated electric charge reaches 2V, this electric capacity can be used as power supply and provides operating voltage for other circuit, data transmission in card is gone out or accepted to the data of read write line.
Two, the topology layout of smart card is reasonable, is applicable to very much the demand of blood donation management, and its memory block self can be divided into 16 subregions, and each subregion has different passwords, have multiple subsystems manage independently function (such as: the first subregion is realized password access; The second subregion is realized the information of donating blood; The 3rd subregion is realized blood donor's Back ground Information; The 4th subregion is realized the information inquiry etc. of donating blood ...).The indispensable information of donating blood all can be written in this card, and can accomplish complete modular design, even if user will increase function point later, also without connecting up again, only need to increase hardware and software module, this later expansion of upgrading at any time of smart card system of being convenient to donate blood, realizes graceful upgrade, reduces overlapping investment.
Realize the intelligent management of multiple difference in functionality by a card.The a lot of equipment of P Passable on a card, multiple different equipment all hangs on a data line, follows supervisory computer communication by a data line, at same set of blood donation management system software, on same computer, in same database, carry out the message exchange of different pieces of information.The realization functions such as the distribution of card, the information storage of cancelling, report lost property to the authorities, donate blood, the information material of donating blood inquiry, the information of donating blood reimbursement of donating blood.
Three, the structural advantage of smart card:
Because the real meaning of smart card is the advantage that card one line one storehouse structurally just demonstrates following uniqueness:
1. data sharing: the speed of having accelerated exchanges data.
2. retrieval comprehensively: as long as just can be in this storehouse because there being a total data storehouse to provide inquiry field name
Inferior property is found relevant all records and is raised the efficiency to reduce and make mistakes.
3. all-round statistics: need not inquire about one by one again each PC because only having a Database Report to generate in time.
4. any one terminating machine of monitoring and inquiry uses and record case in real time.
5. simple to operate: only to need once secondary step at most to get final product practical function without multiple conversions.
6. reducing equipment investment reduces costs.
In addition because smart card has versatility, compatible still as an example of MFARE card example, its chip can be divided into 16 regions and regional itself safe reliability, independence of area password separately all can be set extensible be again following characteristics:
1. function division territory takies: difference in functionality accounts for respectively zones of different and can encrypt.
2. software is different but can share by subregion: under different software, function still can take respectively zones of different encryption function and can independently use and not interfere with each other.
The khaki of donating blood is exactly a small-sized movable database in fact, can store according to demand and call relevant data message.Can record and provide the situation of change of the information of at every turn donating blood.The same like deposit at bank folding, can check card at any time and refresh deposit record, what just deposit folding was got is plain code information, smart card is electronic information, must can read by display, thereby level security is strong.
The card read-write equipment of donating blood of the present invention has Password Input and comparing unit, in the time that user inputs correct password, can revise accordingly and write operation donate blood card and medical insurance card.
Donate blood and occur in local or other places and will cause the local and remote side loan standard difference of donating blood, therefore, blood expense loan standard database is set and is used for depositing the loan standard of donating blood in local donate blood loan standard and strange land, donate blood surplus while submitting an expense account when adopting this locality, adopt the local loan standard of donating blood, when adopting the surplus of donating blood in other places while submitting an expense account, adopt the strange land loan standard of donating blood, these loan standards can be for example equivalent reimbursement, 2 times of amount reimbursements, 5 times of amount reimbursements etc.
The card read-write equipment of donating blood the present invention relates to, this card read-write equipment of donating blood can be used in simultaneously to be read and write donate blood card and medical insurance card, it is characterized in that, and this card read-write equipment of donating blood has:
The medical insurance information of reading in medical insurance card information is read in unit;
The information of donating blood of reading in the card information of donating blood is read in unit;
The first storage unit of storage medical insurance card information;
Store the second storage unit of the card information of donating blood;
Blood takes loan standard database;
The first comparing unit, betides in this card of donating blood for judging according to this card information of donating blood that is stored in the second storage unit whether local this locality surplus of donating blood is zero:
If A. this locality surplus of donating blood is non-vanishing:
The local reimbursement of the first comparing unit output instruction is to the first reimbursement computing unit, this the first reimbursement computing unit calculates and exports and this this locality of donating blood in card allowable blood volume in the corresponding this locality of surplus of donating blood according to the local blood expense loan standard in this this locality reimbursement instruction calls blood expense loan standard database and according to this this locality blood expense loan standard, the allowable blood volume in this this locality is input to the second comparing unit, and whether this second comparing unit is greater than the actual blood using amount of the medical insurance information that is stored in this first storage unit for the allowable blood volume in this this locality relatively:
If a. the allowable blood volume in this this locality is more than or equal to this actual blood using amount, start reimbursement amendment unit, clearance submit an expense account to this actual blood using amount and by the actual blood using amount zero clearing in the first storage unit in this reimbursement amendment unit, and revises this locality in the second storage unit surplus of donating blood;
If b. the allowable blood volume in this this locality is less than actual blood using amount, first start reimbursement amendment unit, this reimbursement amendment unit is limited this actual blood using amount is submitted an expense account with the allowable blood volume in this locality, subsequently the actual blood using amount in the first storage unit is revised as to remaining actual blood using amount after reimbursement, and by the surplus zero clearing of donating blood of this locality in the second storage unit;
Then, this locality in this second storage unit surplus of donating blood is that zero state activates the 3rd comparing unit, the 3rd comparing unit judges according to this card information of donating blood that is stored in the second storage unit whether the strange land that betides strange land in this card of the donating blood surplus of donating blood is zero, if zero, blood takes reimbursement termination, this strange land surplus of donating blood is zero signal activation checkout apparatus, and this checkout apparatus is printed with blood disbursement and sattlement document according to remaining actual blood using amount in this first storage unit
If donate blood in this strange land, surplus is non-vanishing, this strange land non-vanishing signal activation second of surplus of donating blood is submitted an expense account computing unit, this the second reimbursement computing unit calls corresponding strange land blood expense loan standard in blood expense loan standard database according to the strange land information of donating blood being stored in the second storage unit, and calculate and export and this strange land of donating blood in card allowable blood volume in the corresponding strange land of surplus of donating blood according to this strange land blood expense loan standard, the allowable blood volume in this strange land is input to the 4th comparing unit, the 4th comparing unit is used for the relatively allowable blood volume in this strange land and whether is greater than the actual blood using amount of residue that is stored in this first storage unit, if the allowable blood volume in this strange land is greater than the actual blood using amount of this residue, start reimbursement amendment unit, this reimbursement amendment unit is submitted an expense account also subsequently by actual the residue in the first storage unit blood using amount zero clearing the actual blood using amount of this residue, and the strange land of amendment in the second storage unit surplus of donating blood,
If the allowable blood volume in this strange land is less than actual blood using amount, first start reimbursement amendment unit, this reimbursement amendment unit is limited the actual blood using amount of this residue is submitted an expense account with the allowable blood volume in strange land, subsequently actual the residue in the first storage unit blood using amount is revised as to final remaining actual blood using amount after surplus reimbursement is donated blood in strange land, and by the surplus zero clearing of donating blood of the strange land in the second storage unit, then, strange land in this second storage unit surplus of donating blood is zero signal activation checkout apparatus, this checkout apparatus is printed with blood disbursement and sattlement document according to final remaining actual blood using amount in this first storage unit,
If B. the first comparing unit judges that betiding local this locality surplus of donating blood in this card of donating blood is zero, the surplus of donating blood of this locality in this second storage unit is that zero state activates the 3rd comparing unit, the operation steps of this blood donation management device with in b step in above-mentioned A situation, activate the 3rd comparing unit after the identical mode of step carry out;
This card read-write equipment of donating blood also comprises, the amended medical insurance information that is stored in the first storage unit is write to the medical insurance information writing unit of medical insurance card, and the amended information of donating blood that is stored in the second storage unit is write to the information of the donating blood writing unit of the card of donating blood;
More specifically, described in the card of donating blood be a kind of smart card, this smart card comprises a microprocessor chip and an aerial coil being connected with microprocessor;
More specifically, described in the jig of donating blood have memory block, described memory block can be divided into 16 subregions, each subregion has different passwords, and described memory block has multiple subsystems and manages function independently;
More specifically, in multiple subregions of described memory block, the first subregion is realized password access function, and the second subregion is realized the information storage function of donating blood, and the 3rd subregion is realized blood donor's Back ground Information memory function, and the 4th subregion is realized the information searching function of donating blood.
The present invention is exactly the method for operating that a kind of equipment that can simultaneously read and write donate blood card and medical insurance card and this equipment will be provided, thus in be convenient to donate blood card and medical insurance card the relevant information of donating blood and with the exchange of blood information with synchronously revise.
In conjunction with specific embodiments the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendments that creative work can make or distortion still in protection scope of the present invention.