ÕªÒª£º½éÉÜRFIDÖмä¼þµÄ¸ÅÄ»ùÓÚϵÁиßƵ¶ÁдÆ÷µÄÆóÒµ¼¶¾ÖÓòÍøµÄ´®¿ÚºÍTCP/IPÁ½ÖÖͨÐŽӿÚÐÒé¸ñʽ£¬Í¨¹ý½¨Á¢µ×²ãÊý¾ÝͨÐŽӿÚ×é¼þ¡¢É豸ÍøÂç½Ó¿Ú×é¼þ¡¢É豸²ÎÊý½Ó¿Ú×é¼þ¡¢¶Ô±êÇ©¶Áд²Ù×÷½Ó¿Ú×é¼þºÍÊý¾Ý¿â½Ó¿Ú×é¼þ5¸ö½Ó¿Ú×é¼þ£¬Ìá³öÒ»ÖÖ¶ÔRFIDÖмä¼þ½øÐбê×¼»¯µÄ˼·£»²¢ÊµÏÖÁ˶ÔRFIDÖмä¼þµÄ±ê×¼»¯£¬ÎªRFIDÖмä¼þÓ¦ÓÃϵͳµÄ¿ª·¢´òÏÂÁË»ù´¡¡£
Ä¿Ç°£¬Ãæ¶Ô¸÷ʽ¸÷ÑùRFID£¨Radio Frequency Identification£©µÄÓ¦Óã¬ÆóÒµÓдý½â¾öµÄÊ×ÒªÎÊÌâÊÇÈçºÎ½«ÏÖÓеÄϵͳÓë²»¶Ï¸üеÄRFID¶ÁдÆ÷Á¬½Ó¡£Õâ¸öÎÊÌâµÄ±¾ÖʾÍÊÇÆóÒµµÄÓ¦ÓÃϵͳÓëÓ²¼þ½Ó¿ÚµÄÎÊÌâ¡£Òò´Ë£¬Í¨Í¸ÐÔ¾ÍÊÇÕû¸öÓ¦ÓõĹؼü¡£ÕýȷץȡÊý¾Ý¡¢È·±£Êý¾Ý¶ÁÈ¡µÄ¿É¿¿ÐÔ£¬ÒÔ¼°ÓÐЧµØ½«Êý¾Ý´«Ë͵½ºó¶Ëϵͳ¶¼ÊDZØÐ뿼ÂǵÄÎÊÌâ¡£
´«Í³Ó¦ÓóÌÐòÓëÓ¦ÓóÌÐòÖ®¼äµÄÊý¾Ýͨ͸ÊÇͨ¹ýÖмä¼þ¼Ü¹¹ÊµÏֵģ¬²¢·¢Õ¹³ö¸÷ÖÖ·þÎñÆ÷Ó¦ÓÃÈí¼þ£¬Òò´Ë£¬Öмä¼þµÄ¼Ü¹¹½â¾ö·½°¸¾Í³ÉΪÁËRFIDÓ¦ÓÃÖÐÒ»ÏΪÖØÒªµÄºËÐļ¼Êõ¡£±¾ÎÄÌÖÂ۵ľÍÊÇRFIDÖмä¼þ±ê×¼»¯µÄÒ»¸ö½â¾ö·½°¸¡£
1¡¡RFID¼°Öмä¼þ¸ÅÊö
1.1¡¡RFID¸ÅÊö
RFID¼¼ÊõµÄ»ù±¾¹¤×÷ÔÀíÊÇ£º±êÇ©½øÈë´Å³¡ºó£¬½ÓÊÕ¶ÁдÆ÷·¢³öµÄÉäƵÐźţ¬Æ¾½è¸ÐÓ¦µçÁ÷Ëù»ñµÃµÄÄÜÁ¿·¢Ëͳö´æ´¢ÔÚоƬÖеIJúÆ·ÐÅÏ¢(passive tag£¬ÎÞÔ´±êÇ©»ò±»¶¯±êÇ©)£¬»òÕßÖ÷¶¯·¢ËÍijһƵÂʵÄÐźÅ(active tag£¬ÓÐÔ´±êÇ©»òÖ÷¶¯±êÇ©)£»¶ÁдÆ÷¶ÁÈ¡ÐÅÏ¢²¢½âÂëºó£¬ËÍÖÁÖÐÑëÐÅϢϵͳ½øÐÐÓйØÊý¾Ý´¦Àí¡£
1.2¡¡Öмä¼þ¸ÅÊö
Öмä¼þÊǽéÓÚÓ¦ÓÃϵͳºÍϵͳÈí¼þÖ®¼äµÄÒ»ÀàÈí¼þ£¬ËüʹÓÃϵͳÈí¼þËùÌṩµÄ»ù´¡·þÎñ£¬ÏνÓÍøÂçÉÏÓ¦ÓÃϵͳµÄ¸÷¸ö²¿·Ö»ò²»Í¬µÄÓ¦Óã¬ÒÔ´ïµ½×ÊÔ´¹²Ïí¡¢¹¦Äܹ²ÏíµÄÄ¿µÄ¡£ÔÚ¾ßÌåʵÏÖÉÏ£¬Öмä¼þÊÇÒ»¸öÓÃAPI£¨Application Programming Interface£©¶¨ÒåµÄÈí¼þ²ã£¬¾ßÓÐÇ¿´óµÄͨÐÅÄÜÁ¦ºÍÁ¼ºÃµÄ¿ÉÀ©Õ¹ÐÔ¡£
Ä¿Ç°£¬Õë¶Ô²»Í¬µÄÓ¦Óã¬Ó¿ÏÖ³öÁ˸÷¾ßÌØÉ«µÄÖмä¼þ²úÆ·¡£¸ù¾ÝÔÚϵͳÖÐËùÆðµÄ×÷ÓúͲÉÓõļ¼Êõ²»Í¬£¬Öмä¼þ´óÖ·ÖΪÒÔϼ¸ÖÖ£º
¢Ù Êý¾Ý·ÃÎÊÖмä¼þ(Data Access Middleware£¬DAM)£º ËùÓÐÖмä¼þÖÐÓ¦ÓÃ×î¹ã·º¡¢¼¼Êõ×î³ÉÊìµÄÒ»ÖÖ¡£
¢Ú Ô¶³Ì¹ý³Ìµ÷ÓÃÖмä¼þ(Remote Procedure Call£¬RPC)£º ÔÚ¿Í»§/·þÎñÆ÷¼ÆËã·½Ã棬±ÈÊý¾Ý·ÃÎÊÖмä¼þÓÖÂõ½øÁËÒ»²½¡£
¢Û ÃæÏòÏûÏ¢µÄÖмä¼þ(MessageOriented Middleware£¬MOM)£º ÊÊÓÃÓÚÐèÒªÔÚ¶à¸ö½ø³ÌÖ®¼ä½øÐпɿ¿µÄÊý¾Ý´«µÝµÄ·Ö²¼Ê½»·¾³£¬ÊÇÖмä¼þÖÐΩһ²»¿ÉȱÉٵģ¬Ò²ÊÇÏúÊÛ¶î×î´óµÄÖмä¼þ²úÆ·¡£
Ä¿Ç°Á÷ÐеÄMOMÖмä¼þ²úÆ·ÓÐIBMµÄMQSeriesºÍBEAµÄMessageQµÈ¡£
2¡¡RFIDÖмä¼þ±ê×¼»¯µÄÉè¼Æ˼Ïë
2.1¡¡RFIDÖмä¼þ
RFIDÖмä¼þÊÇÒ»ÖÖÃæÏòÏûÏ¢µÄÖмä¼þ¡£ÆäÖÐÐÅÏ¢£¨information£©ÊÇÒÔÏûÏ¢£¨message£©µÄÐÎʽ£¬²ÉÓÃÒì²½£¨asynchronous£©µÄ·½Ê½´ÓÒ»¸ö³ÌÐò´«Ë͵½ÁíÒ»¸ö»ò¶à¸ö³ÌÐò£¬´«ËÍÕß²»±ØµÈ´ý»ØÓ¦¡£ËüµÄ×÷ÓÃÖ÷ÒªÌåÏÖÔÚ3¸ö·½Ã棺
¢Ù ¿ØÖÆRFID¶ÁдÉ豸°´ÕÕÔ¤¶¨µÄ·½Ê½¹¤×÷£¬±£Ö¤²»Í¬¶ÁдÉ豸֮¼äÅäºÏе÷£»
¢Ú °´ÕÕÒ»¶¨¹æÔò¹ýÂËÊý¾Ý£¬É¸³ý¾ø´ó²¿·ÖÈßÓàÊý¾Ý£¬½«ÕæÕýÓÐЧµÄÊý¾Ý´«Ë͸øºǫ́ÐÅϢϵͳ£»
¢Û ±£Ö¤¶ÁдÆ÷ºÍÆóÒµ¼¶·Ö²¼Ê½Ó¦ÓÃϵͳƽ̨֮¼äµÄ¿É¿¿Í¨ÐÅ¡£
RFIDÖмä¼þ°çÑÝRFID±êÇ©ºÍÓ¦ÓóÌÐòÖ®¼äµÄÖнé½ÇÉ«¡£ÔÚÓ¦ÓóÌÐò¶ËʹÓÃÖмä¼þËùÌṩµÄÒ»×éͨÓõÄÓ¦ÓóÌÐò½Ó¿Ú£¨API£©¾ÍÄÜÁ¬½Óµ½RFID¶ÁдÆ÷£¬´Ó¶ø¶ÁÈ¡RFID±êÇ©Êý¾Ý¡£ÕâÑùÒ»À´£¬¼´Ê¹´æ´¢RFID±êÇ©Ç鱨µÄÊý¾Ý¿âÈí¼þ»òÕߺó¶ËÓ¦ÓóÌÐòÔö¼Ó£¬»ò¸ÄÓÉÆäËûÈí¼þÈ¡´ú£¬»ò¶ÁдRFID¶ÁдÆ÷ÖÖÀàÔö¼ÓµÈÇé¿ö·¢Éú£¬Ó¦Óö˲»ÐèÐÞ¸ÄÒ²ÄÜ´¦Àí£¬±ÜÃâ¶à¶Ô¶àÁ¬½ÓµÄά»¤¸´ÔÓÐÔÎÊÌâ¡£
2.2¡¡RFIDÖмä¼þ±ê×¼»¯µÄ»ù±¾Éè¼Æ˼Ïë
Õë¶Ô¶ÁдÆ÷ÔÚ¸÷ÖÖÓ¦ÓÃÈí¼þÖеÄÓ¦Ó㬶ÔRFID¶ÁдÆ÷ͨÐÅÖ¸Áî¡¢×é¼þ·â×°ÐÎʽºÍSDK·½Ê½½øÐÐÁ˱ê×¼»¯£¬ÐγÉRFID±ê×¼×é¼þ¡£RFID±ê×¼×é¼þÊÇÁ¬½Ó±êÇ©¶ÁдÆ÷¡¢¿ØÖÆÆ÷ºÍÆóÒµÓ¦ÓóÌÐòÖ®¼äµÄ±ê×¼»¯Èí¼þ½Ó¿Ú³ÌÐò¼¯ºÏ¡£Ëü¾ßÓзֲ¼Ê½½á¹¹£¬ÒÔ²ã´Î»¯×éÖ¯¡¢¹ÜÀíÊý¾ÝÁ÷£¬´Ó¶øÓÐЧÔö¼ÓÁËÈí¼þµÄ¿ÉÖØÓÃÐÔ£¬¼ò»¯ÁËÉÏλ»úÓ¦ÓÃÈí¼þµÄ¿ª·¢£¬Ìá¸ßÁËÓ¦ÓÃÈí¼þµÄ¿É¿¿ÐÔºÍÎȶ¨ÐÔ¡£
±¾ÎÄÖÐËùÒªÉè¼ÆµÄÖмä¼þÐèÒª°üÀ¨ÈçϹ¦ÄÜ£ºÌṩRS232/485´®¿ÚͨÐŽӿÚ×é¼þ¡¢TCP/IP¡¢UDPÍøÂçͨÐŽӿÚ×é¼þ£¬ËÑË÷¶ÁдÆ÷¡¢ÅäÖöÁдÆ÷²ÎÊý½Ó¿Ú£¬¶ÁÈ¡¡¢ÉèÖñêÇ©Êý¾Ý½Ó¿ÚÒÔ¼°¶ÔÊý¾Ý¿â²Ù×÷¡£¸ÃÖмä¼þµÄ¼Ü¹¹Èçͼ1Ëùʾ¡£
ͼ1¡¡RFIDÖмä¼þµÄ¼Ü¹¹Í¼
3¡¡¸ßƵ¹¤Òµ¶ÁдÆ÷ϵÁÐ
±¾ÏµÍ³ÖÐËùʹÓõĶÁдÆ÷ÊÇÉîÛÚÆÕŵÂ깫˾µÄ¸ßƵ¹¤Òµ¶ÁдÆ÷ϵÁУ¬°üº¬PRR8160¡¢PRR8152ºÍPRR8032 ÈýÖÖ¶ÁдÆ÷¡£ËüÃǿɶԷûºÏISO/IEC15693±ê×¼µÄµç×Ó±êÇ©½øÐÐÊý¾ÝµÄ¶Á/д²Ù×÷£»¾ßÓÐRS232¡¢RS485¡¢TCP/IP¶àÖÖͨÐÅ·½Ê½£»¿Éͬʱ¶Ô¶à¸öÊý¾Ý¿é½øÐжÁ/д²Ù×÷£»¾ßÓм̵çÆ÷Êä³ö¡¢Íâ½ÓÏÔʾÆÁ¹¦ÄܺͷÀ³åײ¶Áд¹¦ÄÜ£»²ÉÓÃABS¹¤³Ì²ÄÁÏÍâ¿Ç£¬¿ÉÓ¦ÓÃÓÚÐèÒª·ÀË®¡¢·À³¾¡¢·ÀÓÍÎÛ¡¢·À¸¯Ê´µÈ¸÷ÖÖ¶ñÁÓ¹¤×÷»·¾³ÖС£ÏÂÃæ¼òµ¥½éÉÜÕ⼸ÖÖRFID¶ÁдÆ÷£¬Öصã½éÉÜPRR8160¶ÁдÆ÷¡£
3.1¡¡PRR8160¶ÁдÆ÷
PRR8160ÊÇÒ»¿îÓ¦ÓÃÓÚ¹¤ÒµÁ÷Ë®ÏßÉÏ£¬½øÐÐÊý¾Ý²É¼¯¡¢Á÷Ë®Ïß¿ØÖÆ¡¢¸ú×Ù¹ÜÀíµÄ¿É±à³ÌÖÇÄÜÊý¾ÝÖն˻ú¡£Ëü¾ßÓÐTCP¡¢UDP¡¢RS232¶àÖÖͨÐÅ·½Ê½£»¾ßÓм«Ç¿µÄÏÖ³¡±à³Ì¹¦ÄÜ£¬ÊÊÓ¦ÐÔ¼«Ç¿¡£Æäϵͳ²ÉÓÃÁ½¼¶ÁªÍø½á¹¹£¬²ÉÓÃUDPÐÒé½øÐÐͨÐÅ£¬¼´¹ÜÀíÖ÷»úͨ¹ý·ÃÎÊÉú²úÊý¾ÝÊäÈëÖն˻úËùÔÚµÄIPµØÖ·£¬¶ÔÖն˻ú½øÐÐÊý¾Ý·ÃÎʺͲÎÊýÉèÖá£É豸¹¤×÷״̬²ÉÓÃÁª»ú¹¤×÷·½Ê½£º É豸½«µÃµ½µÄÓû§µÄÍêÕû²Ù×÷¼Ç¼±£´æÔÚRAMÄÚ,²¢Ö÷¶¯ÉÏ´«µ½¹ÜÀíÖ÷»ú¡£Èç¹ûÉ豸ûÓнÓÊÕµ½ÉÏλ»úµÄÕýÈ··µ»ØÏìÓ¦£¨³¬Ê±Ê±¼ä£Î¿ÉÓÉÓû§¶¨Ò壩£¬ÔòÉ豸½«ÔÙ´ÎÉÏ´«£¬Ö±ÖÁ³É¹¦ÎªÖ¹£»Ò»µ©É豸µÃµ½Óû§µÄеÄÍêÕû²Ù×÷¼Ç¼£¬ÔòÔÓеÄRAM¼Ç¼½«±»×ªÒƵ½FlashÄÚ´æ´¢¡£¹¤×÷ʱÈôÍøÂç¶Ï¿ª£¬Öն˻ú¿ÉÒÔ×Ô¶¯´æ´¢¹¤×÷µÄ¼Ç¼£»µ±ÍøÂçÁ¬½ÓÕý³£ºó£¬×Ô¶¯ÉÏ´«Êý¾Ý¡£
É豸֧³ÖARP¡¢ICPM£¨ping£©¡¢IP¡¢UDPÍøÂçͨÐÅÐÒ飬Êý¾Ý´«Ê䷽ʽĬÈϲÉÓÃUDPÐÒ飬²»Ö§³ÖÊý¾Ý°ü·Ö×é²Ù×÷¡£Êý¾Ý±àÂ뷽ʽ²ÉÓÃHEXµÄÊý¾Ý¸ñʽ²Ù×÷£¬ËùÓÐͨÐÅÊý¾Ý²ÉÓÓÒÔÌ«ÍøCRCУÑé”·½Ê½£¬¼´²ÉÓñ¨Í·—±¨Î²ËùÓеÄÐÒéÊý¾Ý°´Ê®Áù½øÖÆ×öÀÛ¼Ó£¬¶Ô256È¡Ä£ºóµÄÊ®Áù½øÖÆÊý×÷ΪУÑéλÉϵÄÊý¾Ý¡£ÆäÖУ¬UDP²ã¼ÓµÄУÑéλ³ÆΪ“UDPУÑ锣¬Ó¦ÓÃÊý¾Ý²ãÔòÔټӓУÑéºÍ”λ¡£Ó¦ÓÃÊý¾Ý²ãµÄͨÐÅÐÒé¸ñʽÈçÏ£º
ÆäÖУºÊý¾Ý³¤¶ÈΪÓÐЧÊý¾Ý±¨Îĵij¤¶È£»Ð£ÑéºÍΪÕû¸öÊý¾Ý±¨ÎĵÄУÑéλ¡£ÓÐЧÊý¾Ý²¿·ÖµÄ±¨ÎĸñʽΪ£º
ÀàÐͱàºÅ|Êý¾Ý|……|ÀàÐͱàºÅ|Êý¾Ý
Öն˻ú¼ì²âµ½µÄ´ò°üÊý¾Ý¸ñʽΪ£º
´ò°üÊý¾Ý¸ñʽ =‘#’+²½Öè1¼ì²â½á¹û + # +¹¦ÄܺŠ+ÐͲÙ×÷ÀàÐͺŠ+‘#’ +²½Öè2¼ì²â½á¹û+ # +¹¦ÄܺÅ+²Ù×÷ÀàÐͺŠ+…… +‘#’+²½ÖèN¼ì²â½á¹û +¹¦ÄܺŠ+²Ù×÷ÀàÐͺő#’
ÿ¸ö¼ì²â²½ÖèÖеļì²â½á¹ûÖ®¼äÓÑ#’ºÅ¼ä¸ô¡£
3.2¡¡PRR8032¼°PRR8152¶ÁдÆ÷
PRR8032ÊÇÒ»¿î¾ßÓÐרÀûÍâ¹ÛÉè¼ÆµÄ±íÃæǶÈëʽ¶à¹¦ÄÜÖоàÀë¶ÁдÆ÷¡£Æä¶Áд¾àÀë×î´óΪ23 cm£¬¾ßÓзÀ³åײµç×Ó±êÇ©¶Áд¹¦ÄÜ£¬¿Éͬʱ¶Ô10Õŵç×Ó±êÇ©µÄ¶à¸öÊý¾Ý¿é½øÐвÙ×÷¡£
PRR8152·ûºÏISO15693±ê×¼µÄ¸ßƵ¹¤Òµ¶ÁдÉ豸£¬¿ÉÑ¡RS232¡¢RS485ÒÔ¼°TCP/IPͨПñʽ£¬ÊÊÓÃÓÚÐèÒª·ÀË®¡¢·À³¾¡¢·ÀÓÍÎÛ¡¢·À¸¯Ê´µÈ¸÷ÖÖ¶ñÁÓ¹¤×÷»·¾³¡£
4¡¡Èí¼þÉè¼ÆÓëʵÏÖ
4.1¡¡Èí¼þÉè¼Æ
RFIDÖмä¼þ±ê×¼»¯»®·ÖΪ5²¿·Ö£º µ×²ãÊý¾ÝͨÐŽӿÚ×é¼þ¡¢É豸ÍøÂç½Ó¿Ú×é¼þ¡¢É豸²ÎÊý½Ó¿Ú×é¼þ¡¢¶Ô±êÇ©¶Áд²Ù×÷½Ó¿Ú×é¼þºÍÊý¾Ý¿â½Ó¿Ú×é¼þ¡£¸÷½Ó¿Ú×é¼þ¼ÈÏà¶Ô¶ÀÁ¢£¬ÓÖÃÜÇÐÁªÏµ¡£ÆäÖУ¬±¾Öмä¼þµÄ²Ù×÷±êÇ©ÊÇ·ûºÏISO/IEC 15693ÐÒéµÄµç×Ó±êÇ©¡£
µ×²ãÊý¾ÝͨÐŽӿÚ×é¼þ£º ¸ºÔðÊý¾ÝͨÐŵÄÁ´Â·²ãºÍÎïÀí²ã£¬ÊǶÁдÆ÷ÓëÓ¦ÓÃÈí¼þͨÐŵÄÎïÀí»ù´¡£»ÔÚÓ¦ÓÃÂß¼ÉÏ£¬ÓëÓ¦ÓÃͨÐÅÐÒéÎ޹ء£ËùÒÔ£¬µ×²ãÊý¾ÝͨÐÅÓ¦¶ÀÁ¢Éè¼ÆÏà¶Ô¹Ì¶¨µÄ½Ó¿Ú£¬Óë¸ß²ãÓ¦Ó÷ÖÀë¡£
É豸ÍøÂç½Ó¿Ú×é¼þ£º Ϊ¿Í»§ÌṩÁ¬½ÓͨÐÅÁ´Â·ÉϵÄRFID¶ÁдÆ÷ÐÅÏ¢¡£
É豸²ÎÊý½Ó¿Ú×é¼þ£º Ìṩ¸ü¸Ä¶ÁдÆ÷¹¤×÷²ÎÊýµÄ½Ó¿Ú£¬ÊµÏÖÉ豸¹ÜÀí¹¦ÄÜ¡£
¶Ô±êÇ©¶Áд²Ù×÷½Ó¿Ú×é¼þ£ºÎª¶ÁдÆ÷ʵʱ¹¤×÷ʱÌṩÓë¼ÆËã»úͨÐŵĽӿڣ¬Á½ÕßÔÚÓû§ºÍʹÓù¦ÄÜÉÏÏà¶Ô¶ÔÁ¢£¬Ò²¿É¶ÀÁ¢Éè¼Æ¡£
Êý¾Ý¿â½Ó¿Ú×é¼þ£º ʵÏÖ¶Ôºǫ́Êý¾Ý¿âµÄ²Ù×÷£¬ÎªRFIDÖмä¼þµÄ¿ª·¢Èí¼þÌṩ±ê×¼µÄº¯Êý½Ó¿Ú¡£
°´ÕÕÄ£¿éµÄÓ¦Óòã´ÎºÍÓ¦ÓöÔÏóµÄ²»Í¬¶ÀÁ¢½øÐÐÉè¼Æ£¬¼È½µµÍÁËϵͳµÄ¸´ÔÓÐÔ£¬Í¬Ê±ÓÖÄÜÌá¸ßϵͳµÄÎȶ¨ÐÔºÍÖØÓÃÐÔ¡£
4.2¡¡Èí¼þʵÏÖ
Èí¼þÉè¼ÆÔÚWindows»·¾³Ï£¬ÀûÓÃVisual C++ 6.0¿ª·¢RFIDÖмä¼þ£¬ÊµÏÖ¶ÁдÆ÷Óë¼ÆËã»úÖ®¼äµÄÆóÒµ¾ÖÓòÍøµÄͨÐÅ£»ºǫ́Êý¾Ý¿âÑ¡ÓÃSQL Server 2000£¬½Ó¿Úº¯Êý×îºó±»·â×°³ÉdllÎļþ¡£
DLLIMPORTLONG OpenConnect(int nComType,char*Param)//´ò¿ªÒ»¸öͨÐÅÁ¬½Ó
DLLIMPORTLONG CloseConnect(long hHandle)//¹Ø±ÕͨÐÅÁ¬½Ó
DLLIMPORTLONG WriteConnect(long hHandle,
BYTE *byBuffer, int nSize, const char *strToIP = NULL, int nToPort = 0,BOOL bBroadcast = FALSE)//´ÓͨÐÅÁ¬½Ó·¢ËÍÊý¾Ý
DLLIMPORTLONG ReadConnect(long hHandle,
BYTE *byBuffer,int nSize, char * chIpFrom = NULL,
int *nPortFrom = NULL)//´ÓͨÐÅÁ¬½Ó¶ÁÈ¡½ÓÊÕµ½µÄÊý¾Ý
long DetectAllDevice(int &iDevCnt, char *chData)//Õì²âÍøÂçÖÐËùÓлùÓÚTCPIPÏàÁ¬½ÓµÄÉ豸(»òÕßTCP/IPRS485ת»»Æ÷)£¬·µ»ØÍøÂçÖÐÍøÂçÉ豸µÄÍøÂçÅäÖÃÐÅÏ¢
DLLEXPORT SetDeviceParameters(char* strDevMacAddr, char *strNewMacAddr,char *strDevIP, char *strSubnet, char *strGateWay,char *strRemoteIP, int remotePort,
int localPort,long baudRate, BYTE bParity, BYTE bProtocol)//ÉèÖÃÉ豸ÍøÂçÅäÖÃÐÅÏ¢
BOOL CPrr8152Deal::ReadMultiBlocks(long hConnect, BYTE byAddr, BYTE byMode, char *chUID, BYTE byBeginBlock, BYTE byBlocks, BYTE &byDB_N, BYTE &byDB_Size, char *chData, BYTE byDataFormat)//¶ÁÈ¡±êÇ©µÄ¶à¸öÊý¾Ý¿é
BOOL CPrr8152Deal::WriteMultiBlocks(long hConnect, BYTE byAddr, BYTE byMode, char *chUID, BYTE byBeginBlock,BYTE byBlocks, BYTE byDBSize, char *chWriteData, BYTE byDataFormat)//д±êÇ©µÄ¶à¸öÊý¾Ý¿é
5¡¡½áÂÛ
RFIDÖмä¼þ±ê×¼»¯Íê³ÉÁ˶ԵײãÊý¾ÝͨÐŽӿÚ×é¼þ¡¢É豸ÍøÂç½Ó¿Ú×é¼þ¡¢É豸²ÎÊý½Ó¿Ú×é¼þ¡¢¶Ô±êÇ©¶Áд²Ù×÷½Ó¿Ú×é¼þ¡¢Êý¾Ý¿â½Ó¿Ú×é¼þ5¸ö½Ó¿Ú×é¼þµÄ±ê×¼»¯£¬ÎªµÚÈý·½µÄÆóÒµ¼¶Èí¼þÓ¦ÓÃÌṩÁË»ù´¡¡£¸ÃRFIDÖмä¼þÔÚÉϺ£ÉúÖíÊÕ¹º¹ÜÀíϵͳºÍÉîÛÚÆÕŵÂ깫˾Éú²úÖƳɹÜÀíϵͳÖÐÒѾµÃµ½ÁËÓ¦Ó㬲¢È¡µÃÁËÁ¼ºÃµÄÊг¡Ð§¹û¡£
²Î¿¼ÎÄÏ×
[1] ÍõÓÀºì£¬ÍõÖ¾¼á£¬°¬Æ¼. »ùÓÚÖмä¼þ¼¼ÊõµÄÉ豸¹ÜÀíϵͳµÄÉè¼ÆÓëʵÏÖ[J]. ¼ÆËã»úÓ¦ÓÃÓëÈí¼þ£¬2006(4)£º6668.
[2] ÁõÀö»ª£¬¶ÌìÁÙ. »ùÓÚÒÔÌ«Íø½Ó¿ÚµÄRFIDÖмä¼þÈí¼þÉè¼Æ[J]. µ¥Æ¬»úÓëǶÈëʽϵͳӦÓã¬2006(7): 1012.
[3] ÕÔ»Ô£¬Ò¶×ÓÇà. Visual C++ϵͳ¿ª·¢ÊµÀý¾«´â[M]. ±±¾©£ºÈËÃñÓʵç³ö°æÉ磬2005.
[4] ³ÂÀö»ª. RFIDÖмä¼þÉè¼ÆÓë¹Ø¼ü¼¼ÊõµÄÑо¿[D]. ÄÏÄþ: ¹ãÎ÷´óѧ£¬2006.
·¶Îıø(¸±½ÌÊÚ¡¢²©Ê¿£©£¬Ö÷ÒªÑо¿·½ÏòΪÖмä¼þ¼°ÎïÁ÷ϵͳ¡£
×÷Õߣº·¶Îıø ²ÜÏþ¹â ³ÂÑà ²ÜСÁá À´Ô´£º¡¶µ¥Æ¬»úÓëǶÈëʽϵͳӦÓá·