Õª Òª Ëæ×ÅInternetµÄѸËÙ·¢Õ¹ºÍÓû§ÊýÁ¿µÄ¼±¾çÔö¼Ó£¬»¥ÁªÍø¶ÔÓÚÆóÒµºÍÊÂÒµµ¥Î»µÄÔËÓªºÍ·¢Õ¹ÈÕÒæÖØÒª£¬ÍøÉϽ»Ò×Ò²Öð½¥±»ÈËÃÇÈÏ¿É£¬²¢³ÉΪδÀ´½»Ò׵ķ¢Õ¹·½Ïò¡£ÔÚÕâÖÖÇé¿öÏ£¬ºÜ¶àÔÓеÄC/SģʽµÄϵͳҲÖð²½ÏòB/Sģʽ¿¿Â££¬Ìú·¿Í³µÊÛƱϵͳҲ²»ÀýÍâ¡£ Ìú·¿Í³µÊÛƱϵͳÊÇÌú·ÂÃÓηþÎñÐÅϢϵͳµÄÒ»¸öÖØÒª×é³É²¿·Ö£¬ÎªÂÿÍÌṩÓÅÖʱã½ÝµÄ·þÎñ¡£ÎªÁËÌá¸ßÌú·¿ÍÔ˵ÄÊÛƱЧÂÊ£¬·á¸»Ìú·¿ÍÔ˵ÄÓªÏúÊֶΣ¬»ð³µÕ¾ÊÛƱ×ÜÕ¾µÄÏÂÊô´úÊÛµã¿ÉÒÔͨ¹ý¹«ÓõĻ¥ÁªÍø×ÊÔ´£¬ÊµÏÖÍøÉϵÄÊÛƱ£¬²éѯ¼°¹ÜÀí¹¤×÷¡£±¾ÂÛÎÄΧÈÆÈçºÎʵÏÖ»ùÓÚB/S½á¹¹µÄ¿ÍƱϵͳչ¿ªÌÖÂÛ£¬Í¨¹ý¶ÔÏÖÓÐC/S½á¹¹µÄÊÛƱϵͳÓëB/S½á¹¹µÄÓÅȱµã½øÐÐ±È½Ï £¬¸ø³ö»ùÓÚB/S½á¹¹ÊÛƱϵͳµÄ¾ßÌå½â¾ö·½°¸£º²éѯ£¬ÂòƱ£¬¶©Æ±£¬ÍËƱ£¬ÐÂÎŹÜÀí£¬Óû§¹ÜÀíµÈÁù´óÄ£¿é£¬²¢Ñо¿B/S½á¹¹ÔÚÍøÂçÖÐÃæÁٵݲȫÎÊÌâ¼°Ìá³öÏàÓ¦µÄ½â¾ö·½°¸¡£ÔÚÈí¼þµÄ½á¹¹Éè¼ÆÖвàÖØÊÛƱϵͳÖ÷Òª¹¦ÄܵÄÉè¼ÆÓëʵÏÖ¡£±¾ÂÛÎĵÄÑо¿ÄÚÈÝ»¹Éæ¼°ÏÖÓпͳµÊÛƱϵͳÖг£ÓõÄËã·¨Éè¼Æ£¬¶ÔÈçºÎ½«B/S½á¹¹µÄÊÛƱϵͳÓ복Ʊ´òÓ¡»úÁ¬½ÓÆðÀ´Ò²×öÁ˼òÒª½éÉÜ¡£ ±¾ÂÛÎĹØÓÚ¿ÍƱϵͳµÄÑо¿·ÖΪÒÔϼ¸¸öÕÂ½Ú :µÚÒ»Õ£ºÐ÷ÂÛ£»µÚ¶þÕ£ºB/SģʽÓ뿪·¢Æ½Ì¨½éÉÜ£»µÚÈýÕ£ºÐèÇó·ÖÎö£»µÚËÄÕ£ºÏµÍ³×ÜÌåÉè¼ÆÓëÊý¾Ý¿âÉè¼Æ£»µÚÎåÕ£ºÏµÍ³µÄ¾ßÌåʵÏÖϸ½Ú£»µÚÁùÕ£º½áÂÛÓëÕ¹Íû¡£
¹Ø¼ü´Ê£º B/S½á¹¹ £»Ìú·¿ÍƱ £».net¼¼Êõ
Abstract With the development of Internet and the increasing of users, Internet now plays a very impartant part in the growing of a companies. Trades through net is accepted ,and perhaps to be a direction of furture trade. In the situation more and more C/S structure tend to be B/S structures,including the selling tickets system of train. The selling tickets system of train plays a very important part in junketing,it provides a good service to customers.It is of importance of researching new ticket sell system.In order to enhance the efficince of train transportion,and enrich the means of it,the substitution station of trainstation can take advantage of network to sell tickets.This paper give a solution of tickets selling through comparing the C/S structure with the B/S structure.It also researches the problems of safe which B/S structure faces.It features the main function of the system.This paper also researches the common arithmetics of the sell system which is now using .And also it gives a brief introduction of how to connect this system with printer. This paper have 6 parts. The chapter 1: introduction something about tickets system of train ;The chapter 2:the introduction of b/s structure;The chapter 3: request analyze; The chapter 4: the collectivity design of system;The chapter 5:introduction the details of design;The chapter 6: conclusion and expectation.
key words B/S structure; Railway Ticketing; .Net technology
Ŀ ¼
Õª Òª IV ABSTRACT V µÚ1Õ Ð÷ÂÛ 1 1.1Ìú·ÐÅÏ¢»¯µÄÏÖ×´¼°Ä¿±ê 1 1.2»ùÓÚB/S½á¹¹µÄ¿Í³µÊÛƱϵͳ 1 1.3ÎÄÕ¸ÅÒª 2 µÚ2Õ B/SģʽºÍ¿ª·¢Æ½Ì¨ 3 2.1 B/Sģʽ½éÉÜ 3 2.1.1 B/SģʽµÄ¸ÅÄî 3 2.1.2 B/SģʽÓëC/Sģʽ¶Ô±È 3 2.2 ¿ª·¢¹¤¾ß½éÉÜ 4 2.2.1 .NETµÄÌصã 4 2.2.2 ASP.NET 5 2.2.3 SQLServer2000½éÉÜ 5 µÚ3Õ ÐèÇó·ÖÎö 7 3.1¹¦ÄÜÐèÇó 7 3.1.1 ²éѯ¹¦ÄÜÐèÇó 7 3.1.2 ÊÛƱ¹¦ÄÜÐèÇó 7 3.1.3 ÍËƱ¹¦ÄÜÐèÇó 7 3.1.4 ¶©Æ±¹¦ÄÜÐèÇó 7 3.1.5 ÐÂÎŹ¦ÄÜÐèÇó 8 3.1.6 ÁôÑÔ¹¦ÄÜÐèÇó 8 3.1.7 Óû§¹ÜÀí¹¦ÄÜÐèÇó 8 3.1.8 ×¢²á¹¦ÄÜÐèÇó 8 3.2 ÐÔÄÜÐèÇó 8 3.2.1 ϵͳµÄ׼ȷÐԺͼ°Ê±ÐÔ 9 3.2.2 ϵͳµÄ¿ª·ÅÐԺͿÉÀ©Õ¹ÐÔ 9 3.2.3 ϵͳµÄÒ×ÓÃÐÔºÍÒ×ά»¤ÐÔ 9 3.2.4 ϵͳµÄÏìÓ¦ËÙ¶È 9 3.3 Êý¾ÝÐèÇó 9 3.3.1 Êý¾Ý¼ÈëºÍ´¦ÀíµÄ׼ȷÐÔ 9 3.3.2 Êý¾ÝµÄÒ»ÖÂÐÔºÍÍêÕûÐÔ 10 3.3.3 Êý¾ÝµÄ¹²ÏíÓë¶ÀÁ¢ÐÔ 10 µÚ4Õ ϵͳÉè¼Æ 11 4.1ϵͳ×ÜÌåÉè¼Æ 11 4.1.1 Éè¼ÆÄ¿±ê 11 4.1.2 Éè¼ÆÔÔò 11 4.1.3 ¹¦ÄÜÉè¼Æ 11 4.2 ϵͳ¹¦ÄÜÄ£¿éÉè¼Æ 12 4.2.1 ×¢²áÄ£¿é 12 4.2.2 µÇ¼ģ¿é 12 4.2.3 ÊÛƱģ¿é 12 4.2.4 ¶©Æ±Ä£¿é 12 4.2.5 ÍËƱģ¿é 12 4.2.6 ²éѯģ¿é 13 4.2.7 ¸öÈË×ÊÁÏÄ£¿é 13 4.2.8 ÐÂÎÅÔĶÁÄ£¿é 13 4.2.9 ÁôÑÔ°åÄ£¿é 13 4.2.10 ¹ÜÀíÓû§Ä£¿é 13 4.2.11 ¸üгµ´ÎÄ£¿é 13 4.2.12 ²éѯʣÓàƱģ¿é 14 4.2.13 ÐÂÎŹÜÀíÄ£¿é 14 4.2.14 ÁôÑÔ¹ÜÀíÄ£¿é 14 4.2.15 ÏúÊÛͳ¼ÆÄ£¿é 14 4.3 Êý¾Ý¿âÉè¼Æ 14 4.3.1 user±í£¨Óû§±í£© 14 4.3.2 ticketsinf±í(³µ´ÎÏêϸÐÅÏ¢±í) 15 4.3.3 putongliechejiage±í£¨ÆÕͨÁгµ¼Û¸ñ±í£© 15 4.3.4 putongliechewopujiage±í£¨ÆÕͨÁгµÎÔÆ̼۸ñ±í£© 16 4.3.5 kongtiaoliechejiage±í£¨¿Õµ÷Áгµ¼Û¸ñ±í£© 16 4.3.6 kongtiaoliechewopujiage±í£¨¿Õµ÷ÁгµÎÔÆ̼۸ñ±í£© 17 4.3.7 dingpiao±í(¶©Æ±¼Í¼±í) 17 4.3.8 liuyan±í(ÁôÑÔÐÅÏ¢±í) 18 4.3.9 xinwen±í(ÐÂÎÅÐÅÏ¢±í) 18 4.3.10 ¿Í³µÊÛƱϵͳE-Rͼ 19 µÚ5Õ ϵͳʵÏÖ 20 5.1µÇ½ģ¿é 21 5.1.1ʵÏÖÔÀí 21 5.1.2¹Ø¼ü´úÂë 21 5.2×¢²áÄ£¿é 23 5.2.1ʵÏÖÔÀí 23 5.2.2 Button_queding_Clickʼþ£¨Ìύʼþ£© 23 5.2.3×¢²áÄ£¿é½çÃæ 24 5.3ϵͳÖ÷½çÃæ 24 5.4ÊÛƱģ¿é 25 5.4.1ʵÏÖÔÀí 25 5.4.2°ó¶¨³µ´Î´úÂë 26 5.4.3 ¼Û¸ñ¼ÆËãÔÀí¼°´úÂë 26 5.4.4ÊÛƱģ¿é½çÃæ 29 5.5¶©Æ±Ä£¿é 30 5.6ÍËƱģ¿é 31 5.6.1ÍËƱ·½Ê½ 31 5.6.2Í˶©·½Ê½ 31 5.7²éѯģ¿é 32 5.7.1²éѯģ¿é¹Ø¼ü´úÂë 33 5.7.2²éѯģ¿éÖ÷Ìå½çÃæ 36 5.8¸öÈË×ÊÁÏÄ£¿é 36 5.9Õ¾ÄÚÐÂÎÅÄ£¿é 36 5.10Òâ¼û·´À¡Ä£¿é 37 5.11Óû§¹ÜÀíÄ£¿é 38 5.12¹ÜÀíÓû§Ä£¿é 38 5.13²éѯʣÓàƱģ¿é 40 5.14¸üгµ´ÎÄ£¿é 41 5.15ÐÂÎŹÜÀíÄ£¿é 42 5.16ÁôÑÔ¹ÜÀíÄ£¿é 43 5.17ÏúÊÛͳ¼ÆÄ£¿é 44 ½áÂÛ 46 ÖÂл 48 ²Î¿¼ÎÄÏ× 49
µÚ1Õ Ð÷ÂÛ 1.1Ìú·ÐÅÏ¢»¯µÄÏÖ×´¼°Ä¿±ê ÓÃÐÅÏ¢»¯Íƶ¯¹¤Òµ»¯£¬ÓÃÐÅÏ¢¼¼Êõ¸ÄÔ촫ͳ²úÒµ£¬ÕâÊÇÎÒ¹úÆÈÇÐÒªÍê³ÉµÄÒ»ÏîÕ½ÂÔÐÔÈÎÎñ¡£×÷Ϊ¹¤ÒµÎÄÃ÷µÄ²úÎÌú·£¬ÈçºÎ½èÖúÐÅÏ¢¼¼ÊõµÄ°ïÖú£¬ÊµÏÖ¹ÜÀí·½Ê½£¬ÔËÓª×éÖ¯£¬·þÎñ±ê×¼µÄÏÖ´ú»¯£¬ÕâÊÇ°ÚÔÚÎÒ¹úÌú·¹¤×÷ÕßÃæÇ°µÄÖØ´ó¿ÎÌâ¡£ Ìú·ÐÅÏ¢»¯ÊÇÌú·ÏÖ´ú»¯µÄÖØÒª±êÖ¾£¬Æä¸ù±¾Ä¿µÄÊǽ«ÐÅÏ¢¼¼ÊõÓ¦Óõ½Ìú·Éú²ú¾ÓªÓë¹ÜÀí¾ö²ßµÈ¸÷Ïî»î¶¯ÖУ¬¸ÄÔ촫ͳ²úÒµ£¬Ìá¸ßÌú·Éú²úÂÊ£¬Ìá¸ßÊг¡¾ºÕùÁ¦£¬Ìá¸ßÌú·ÔËÓª¾¼ÃЧÒæ¡£ ÎÒ¹úÌú·ÐÅϢϵͳµÄ½¨ÉèÒѾȡµÃÁ˽ϴóµÄ³É¼¨¡£µ½Ä¿Ç°ÎªÖ¹£¬ÎÒ¹úÌú·ÏȺóÑÐÖÆÁËÐí¶àÏȽøµÄÒµÎñϵͳ£¬ÈçÃæÏòÔËÓª¹ÜÀíºÍÌá¸ß·þÎñˮƽµÄÌú·ÔËÊä¹ÜÀíÐÅϢϵͳ£¨TMIS£©£¬µ÷¶ÈÖ¸»Ó¹ÜÀíÐÅϢϵͳ£¨DMIS£©,È«¹ú¿ÍƱ·¢ÊÛºÍÔ¤¶©ÏµÍ³£¨TRS£©µÈµÈ£¬ÕâЩϵͳµÄ½¨Á¢ÎªÌú·ÐÅÏ¢»¯µÄ½¨Éèµì¶¨ÁËÒ»¶¨µÄ»ù´¡¡£Í¨ÐÅÍøÂ罨ÉèÒѾÐγɴ«ÊäÍø£¬½»»»Íø£¬Êý¾ÝͨÐÅÍøÈý¸ö»ù´¡Íø£¬ÏÖÓеĹ⴫ÊäͨµÀ´ïµ½3.3Íò¹«ÀÕâλÌú·ÔËÊäÐÅϢϵͳµÄ½øÒ»²½ÍêÉÆÓë¸Ä½øÌṩÁËÓÐÁ¦Ö§³Å¡£ Ìú·ÐÅÏ¢»¯½¨ÉèÄ¿Ç°Ö÷Òª¼¯ÖÐÔÚ¸ãºÃÌú·ÔËÊäÉú²ú¹ÜÀíÉÏ£¬¼Ó¿ì¼ÆËã»úµ÷¶Èϵͳ½¨É裬ÍêÉÆ¿ÍƱ·¢ÊÛÓëÔ¤¶©ÏµÍ³£¬¸ãºÃ¸÷µØÐÅϢϵͳµÄ½áºÏ£¬ÊµÏÖ×ÊÔ´ÓÐЧÀûÓã¬ÐÅÏ¢¹²Ïí¡£Æä×ÜÌåÄ¿±êÊÇ£ºÐγɾßÓйú¼ÊˮƽµÄÌú·ÐÅÏ¢»¯»ù´¡Í¨ÐÅƽ̨£¬ÊµÏÖ¸÷²¿ÃŸ÷ϵͳ֮¼äµÄÐÅÏ¢Êý¾Ý¹²Ïí£¬»¥Áª»¥Í¨£»½¨³É³µ£¬»ú£¬¹¤£¬µç£¬Á¾¸÷²¿Ãŵ÷¶È¿ØÖÆ£¬°²È«Éú²ú£¬ÔËÊäÖ¸»ÓµÄÏÖ´ú»¯±£ÕÏÌåϵ¡£ÎªÌú·ÔËÊä¸÷²¿ÃÅÌṩËùÐèµÄ¹ÜÀíÐÅÏ¢×ÊÔ´ºÍÇ¿ÓÐÁ¦µÄ¾ö²ßÖ§³Ö¡£Í¨¹ýÏÖ´ú¿Í»õÓªÏúÊֶκ͵ç×ÓÉÌÎñÊֶΣ¬´ø¶¯Ìú·ÔËÊ侼÷¢Õ¹£¬´ó·ù¶ÈÌá¸ßÔËÊäЧÒæ¡£½¨Á¢½¨È«ÓëÐÅÏ¢»¯ÏàÊÊÓ¦µÄ¹ÜÀíÌåÖÆ¡£ÎÒ¹úÄ¿Ç°µÄÌú·ÐÅÏ¢»¯×ÜÌå³Ì¶È¾Ó¹úÄÚÁìÏÈ£¬¹ú¼ÊÏȽøˮƽ¡£
|