ÕªÒª
ÔÚÏÖ´úÉÌÒµÉç»áÖУ¬ÈËÃǵľ¼Ã»î¶¯ÈÕÒæÔö¶à£¬Æ䷽ʽҲ³ÊÏÖ³ö¶àÑù»¯¡£È˵ÄÒ¡¢Ê³¡¢×¡¡¢Ðж¼Ëæ×ÅÐÅÏ¢¼¼ÊõµÄ·¢Õ¹¶ø²»¶ÏµØ¸ïС£ÏÖÈç½ñ£¬ÍøÉϵIJÍÒûÔ¤¶¨ÒÔ¼°µç»°ÀàµÄ²ÍÒûÔ¤¶¨·þÎñÒÑÊܵ½¹ã´óÏû·ÑÕߵĽÓÊܺÍÈÏͬ¡£Í¬Ê±£¬²ÍÒûÔ¤¶¨ÏµÍ³µÄÑз¢Ò²Ëæ×ŲÍÒûÔ¤¶©ÐÐÒµµÄ·¢Õ¹£¬Æ书ÄÜÔ½À´Ô½Ç¿´ó£¬²Ù×÷Ò²¸ü¼Ó±ãÀû£¬¸ü¼ÓÈËÐÔ»¯¡£¶þάÂë¼¼Êõ×÷ΪһÖÖ³ÉÊìµÄÐÅÏ¢¼¼Êõ£¬ÒѾ¹ã·ºÓÃÓÚ¸÷¸öÁìÓò¡£¶ø»ùÓÚ¶þάÂë¼¼ÊõµÄ²ÍÒûÔ¤¶¨ÏµÍ³µÄÑз¢¶Ô²ÍÒûÔ¤¶¨ÐÐÒµÓÐ×ÅÖØÒªÒâÒåºÍÓ°Ïì¡£
Ëæ×ÅÐÅÏ¢¼¼ÊõµÄ²»¶Ï¸üУ¬ÌرðÊÇ07Äê¹È¸è¹«Ë¾ÍƳöÁËAndroid¿ª·ÅÔ´Â룬ÈÃAndroid²Ù×÷ϵͳ³ÉΪÁËÒƶ¯Æ½Ì¨µÄ³è¶ù£¬±¾ÏµÍ³Ö÷Òª·ÖÎöÁËÖÐСÐͲÍÒûµê¹ÜÀíÓë·¢Õ¹µÄÏÖ×´ËùÃæÁÙµÄÎÊÌ⣬·¢ÏÖ´«Í³µÄ·þÎñģʽÒѾ²»ÄÜÊÊÓ¦Êг¡·¢Õ¹µÄÐèÇ󣬷½±ã¡¢¿ì½Ý¡¢¸öÐÔ»¯µÄÍøÉ϶©²Í·þÎñÕýÔÚ½øÈëÈËÃǵÄÉú»î¡£Õë¶ÔÕâÀàÎÊÌ⣬½áºÏµ±´ú¿Æ¼¼·¢Õ¹µÄгɹû£¬±¾ÎĹ¹Ë¼¹æ»®ÁËÒ»Ì×»ùÓÚ¶þάÂëµÄ¶©²Íϵͳ¿Í»§¶Ë¡£
±¾Éè¼ÆÊÇÒ»¸ö»ùÓÚAndroidÊÖ»úµÄÍøÉ϶©²Íϵͳ£¬²ÉÓÃC/Sģʽ£¬ÆÊÎöÁË»ùÓÚ¶þάÂëʶ±ðϵͳµÄÂß¼¼°¹¦ÄÜ»®·Ö£¬²¢Í¨¹ý¶Ô¿ìËÙÏìÓ¦¾ØÕóÂ루QR Code£©Éú³ÉºÍʶ±ð¼¼Êõ£¬Í¨¹ýÖÇÄÜÊÖ»úÉãÏñͷʶ±ð¶þάÌõÐÎÂëµÄÐÅÏ¢,ÄÜΪ¿Í»§ÌṩÍøÉÏÑ¡Ôñä¯ÀÀ²ËÆ·½éÉÜ£¬µã²Ë¶©²Í·þÎñ£¬²¢Îª¹ÜÀíÔ±Ìṩһ¸ö·þÎñƽ̨ʵÏÖÓû§ÐÅÏ¢Óë¹Ë¿Í¶©µ¥µÄ¹ÜÀí£¬´Ó¶øÌá¸ßÁË·þÎñµÄÖÊÁ¿£¬±¾ÎÄ´ÓϵͳÐèÇó¡¢ÏµÍ³Êµ¼Ê¡¢´úÂëʵÏÖ¼¸¸ö·½Ãæ½éÉÜÁËÕû¸öÈí¼þµÄ¿ª·¢¹ý³Ì£¬Õâ¸öϵͳ²ÉÓÃJAVA¡¢mysqlÊý¾Ý¿â,²¢ÀûÓÃMyEclipse¡¢TOMCAT¡¢Android SDK¡¢ADT¡¢AVD¡¢DDMSµÈ¿ª·¢»·¾³»òÕß¿ª·¢¹¤¾ß¡£
¹Ø¼ü´Ê
MyEclipse£»Java£»¶þάÂ룻ÉãÏñÍ·£»mysql
Abstract
In the modern commercial society, people's economic activities is increasing, its ways also presents the diversification. People's food, clothing, shelter, line with the development of information technology and constant innovation. Nowadays, online restaurant reservation and telephone class dining reservations have been broad consumer acceptance and identity. At the same time, the restaurant reservation system's research and development and with the development of the catering book industry, its function is more and more strong, operation more convenient, more human. Qr code technology as a kind of mature information technology, has been widely used in various fields. And based on the qr code technology scheduled restaurant reservation system's research and development of catering industry has important significance and influence.
Along with the continuous renewal of information technology, especially 07 years Google the company launched the Android open source, let the Android operating system has become the darling of the mobile platform, this system is mainly analyzed the present situation of the management and development of small and medium-sized restaurants facing problems, found that the traditional service pattern already can not adapt to the requirement of market development, the convenient, quick, personalized online reservation services is entering people's life. For this kind of problem, combined with the new achievements in the development of contemporary science and technology, in this paper, conception of planning a set of client reservation system based on qr code.
This design is a based on Android phones online reservation system, using C/S mode, analyzes the logic and function of the QR Code identification system based on, and through the Code quick response matrix QR Code generation and recognition technology, through the smartphone camera recognition of two-dimensional bar Code information, can provide customers with online choose browse items, order reservation service, and provide a service platform for the administrator user information and customer order management, so as to improve the quality of the service, this article from the system requirements, system practice, Code implements several aspects of the entire software development process is introduced, this system USES JAVA, SQL Server database, and use of MyEclipse, TOMCAT, the Android SDK, ADT, AVD, DDMS development environment or development tools.
Key words
MyEclipse; Java; QR code; Camera; mysql
Ŀ¼
ÕªÒª I
Abstract II
Ç°ÑÔ 1
Ò»¡¢ ÏîÄ¿Ä¿µÄºÍÖ÷ÒªÄÚÈÝ 2
£¨Ò»£© ÏîÄ¿Ä¿µÄ 2
£¨¶þ£©Ö÷ÒªÄÚÈÝ 2
¶þ¡¢ÏµÍ³ÀíÂÛÓë¼¼Êõ 3
£¨Ò»£© Android 3
1. Android¼ò½é 3
2. AndroidÌØÐÔ 3
3. Android»ù±¾¿ò¼Ü 4
4. AndroidϵͳµÄËÄ´ó×é¼þ 4
£¨¶þ£© Java 5
£¨Èý£© SQL Server 2005ºÍSQLiteÊý¾Ý¿â 6
£¨ËÄ£© C/Sģʽ 6
1. C/S¼Ü¹¹Èí¼þµÄÓÅÊÆ 7
2. C/S¼Ü¹¹Èí¼þµÄÁÓÊÆ 8
£¨Î壩 ¶þάÂë 8
1. QRÂë 9
Èý¡¢ÏµÍ³·ÖÎöÓëÉè¼Æ 10
£¨Ò»£©¹¦ÄÜÐèÇó 10
1. ÐèÇó½çÃæ 10
2. ÐèÇóʵÏÖ¹¦ÄÜ 10
£¨¶þ£©Ä£¿é½á¹¹ÓëÁ÷³Ì 11
1. ¿Í»§¶Ë 11
2. ·þÎñÆ÷¶Ë 12
3. Êý¾Ý¿âÉè¼Æ 13
4. ϵͳ½á¹¹ 18
5. Ö´ÐиÅÄî 19
£¨Èý£©¶þάÂë¿ò¼ÜÉè¼Æ 20
1. ϵͳ¿ò¼ÜÉè¼Æ 20
2. ¶þάÂëµÄÉú³ÉÉè¼Æ 21
2. ¶þάÂëµÄʶ±ðÉè¼Æ 21
ËÄ¡¢ÏµÍ³ÊµÏÖ 22
£¨Ò»£© Android»·¾³´î½¨ 22
£¨¶þ£©¿Í»§¶Ë 24
1. ϵͳµÇ¼ 24
2. ϵͳע²á 26
3.Ö÷½çÃæ 27
4. ɨÃè¶þάÂë 28
5. Éú³É¶þάÂë 29
6. »ñÈ¡¾ÆµêÁбí 32
£¨Èý£© ·þÎñÆ÷¶Ë 34
1. ϵͳµÇ¼ 34
2. ¶©µ¥¹ÜÀí 35
½áÂÛ 37
ÖÂл 38
²Î¿¼ÎÄÏ× 39
Ç°ÑÔ
°éËæ×ÅÎÒ¹úÊг¡¾¼ÃµÄ¸ß¶È·¢Õ¹£¬ÆóÒµÔ½À´Ô½ÒÀÀµÓÚÊг¡ºÍ¿Í»§£¬ÕâÖÖÒÀÀµ¹ØϵÒѾ¿ªÊ¼Öð²½ÌáÉýµ½¹ØºõÆóÒµÉú´æµÄ¸ß¶È¡£ÈçºÎ»ñµÃ¸ü¶à¿ÍÁ÷Á¿£¬ÈçºÎͨ¹ýСµÄ´ú¼Û¶øʹÉ̼һñµÃ¸ü´óµÄÖªÃû¶È£¬ÕâÊÇʹÆóÒµµÃÒÔÉú´æ¡¢·¢Õ¹¡¢×³´óµÄ¹Ø¼ü¡£ÄêÏúÊÛ¹ýÒÚµÄÖÚ¶àµç×ÓÉÌÎñ°¸ÀýÈÃÈËÃÇ¿´µ½Á˸ü¶àµÄÉÌ»ú¡£ÓëÓ¦Óó¡¾°Ï൱ÓÐÏÞµÄPC£¨¸öÈ˵çÄÔ£©Ïà±È£¬¾ß±¸±ãЯÊôÐÔµÄÊÖ»ú¸øÁ˵çÉÌÃǸü´óµÄÏëÏó¿Õ¼ä¡£Òƶ¯µç×ÓÉÌÎñÓɴ˲úÉúÁË¡£Òƶ¯µç×ÓÉÌÎñ¾ÍÊÇÀûÓÃÊÖ»ú¡¢PDA¼°ÕÆÉϵçÄÔµÈÎÞÏßÖն˽øÐеÄB2B¡¢B2C»òC2CµÄµç×ÓÉÌÎñ¡£Ëü½«ÒòÌØÍø¡¢Òƶ¯Í¨Ðż¼Êõ¡¢¶Ì¾àÀëͨÐż¼Êõ¼°ÆäËüÐÅÏ¢´¦Àí¼¼ÊõÍêÃÀµÄ½áºÏ£¬Ê¹ÈËÃÇ¿ÉÒÔÔÚÈκÎʱ¼ä¡¢Èκεصã½øÐи÷ÖÖÉÌó»î¶¯£¬ÊµÏÖËæʱËæµØ¡¢ÏßÉÏÏßÏµĹºÎïÓë½»Òס¢ÔÚÏßµç×ÓÖ§¸¶ÒÔ¼°¸÷ÖÖ½»Ò׻¡¢ÉÌÎñ»î¶¯¡¢½ðÈڻºÍÏà¹ØµÄ×ۺϷþÎñ»î¶¯µÈ¡£
Ëæ×Å 3G µÄ¹ã·ºÓ¦ÓÃÒÔ¼°¸ßËÙÊý¾Ý´«ÊäÄÜÁ¦µÄÔöÇ¿£¬Î´À´Òƶ¯Êг¡µÄºËÐľºÕùµã½«ÊÇ»ùÓÚÊý¾ÝÒµÎñ´¦ÀíµÄÓ¦ÓÃÔöÖµÊг¡¡£µ«ÊÇÊÖ»úÓû§¼ÇÒä´óÁ¿Òƶ¯»¥ÁªÍøÍøÖ·£¬Ôö¼ÓÁËÓû§·ÃÎʵijɱ¾£»ÁíÍ⣬Óû§Òƶ¯Öնˣ¨Ö÷ÒªÊÇÖÇÄÜÊÖ»ú£©ÉÏÊäÈëÏàÓ¦µØÖ·£¬Ò²Ê®·Ö²»±ã½Ý¡£Í¨¹ý¶þάÂëÀ´´æ´¢Òƶ¯»¥ÁªÍøÍøÖ·£¬»ùÓÚ¶þάÂëµÄʶ±ð½âÂë´¦Àí£¬¿ª·¢³ö¶þάÂëʶ±ðϵͳÊǶÔÏÖÓÐÒƶ¯ÖÕ¶ËÍøÂç·ÃÎÊϵͳ¾ßÓзǷ²µÄÒâÒ壬¶ÔÏÖÓÐÖÇÄÜÖÕ¶ËÉ豸µÄä¯ÀÀÆ÷ÊÇÒ»ÖÖ±ØÒªµÄ²¹³ä¡£
¶øAndroid²Ù×÷ϵͳƾ½è×Å×Ô¼º¿ª·ÅµÄƽ̨ÔÊÐíÈκÎÒƶ¯Öն˳§É̼ÓÈëµ½AndroidÁªÃËÖУ¬´Ó¶øʹµÃÔ½À´Ô½¶àµÄÓû§ÇãÏòÓÚÑ¡Ôñ²Ù×÷ϵͳΪAndroidµÄÊÖ»úÆ·ÅÆ¡£Ñ¡ÔñÉè¼Æ»ùÓÚAndroidƽ̨µÄÈí¼þ£¬ºÁÎÞÒÉÎÊÄܸ²¸Ç¸ü¶àµÄȺÖÚ£¬²ÍÒûÒµÔÚµç×ÓÉÌÎñÖл¹´¦ÓÚÐγɵijõÆÚ£¬´«Í³µÄ²ÍÒûÒµÖУ¬´ó¶¼ÊÇÒÔʵ¼ÊÃÅÃæÐÎʽÀ´½øÐÐÐû´«ºÍ½»Á÷¡£×÷ΪÍøÂçÆÕ¼°»¯µÄÉç»á£¬Õ⻹ȱÉÙÁËһЩ¸üΪÏÖ´ú»¯µÄÔªËØ¡£²ÍÒûÒµÊÇÒ»¸ö¸öÐÔ»¯¡¢¶àÑù»¯µÄ·þÎñÒµ£¬¶øµç×ÓÉÌÎñÔò×îÄÜÌåÏÖ¸öÐÔ»¯¡¢¶àÑù»¯·þÎñµÄ·½Ê½¡£¶øÇÒÏÖÔڴ󲿷ֵç×ÓÉÌÎñ¶¼ÌåÏÖΪÏò´óÆóÒµ·þÎñ£¬½áºÏ²ÍÒûÕâ¸öÐÐÒµµÄÌص㣬×îÖÕ»¹·¢Õ¹ÎªÍ¬Ð¡ÇøСµê·þÎñµÄģʽ¡£ÒÔ×îÌùÇеķ½Ê½£¬×îÁé±ãµÄ·þÎñ½øÈë¸ö¸öÍøÂçÉçÇø£¬½øÈëÈËÃǵÄÉú»î¡£