TaximeterCheckSy_省略_onCloudComputing_YunWANGInstitute_省略_fang_Hebei_China.docx
Scientific Research International Conference of China Communication and Technology (ICCCT2010) Taximeter Check System Analysis Based on Cloud Computing Yun WANG Institute of Mathematics and Information Science, Langfang Normal College, Langfang, Hebei, China Email: iyy2006 126.com Abstract: when taximeterl check can be convenient, saving manpower and resources, and to have a taxi meter to share network resources, so proposed and analyzed based on cloud computing taximeter remote check system. The taxi center of taxi check meter resources is defined as “cloud”, it is all a collection of multiple in- formation taxis, and to achieve self-maintenance and management of virtualized computing resources, it is the integrated management of taxi operations across large-scale server clusters, including billing servers, storage servers, wireless broadband resources and more. Collection of these resources can be resources for all of the taxi together by the software automatically manages, without human involvement. This makes the taxi queue without the need to focus on check meter cumbersome details to worry about, to be more focused on their own rental operations, is conducive to innovation and lower costs. By running the Telnet server-side program, so using a client program can access to the taxi from the remote cloud of sharing information. Keywords: Cloud Computing; Telnet; Taximeter I. Introduction Taxis around the now different specifications are installed in the meter, but meter check if concentrated in one place on the regular when they could wait in line, such a waste of resources but also affect the normal operation of a taxi, thus In this paper a cloud computing-based remote school table realization, in order to solve the above problem. Cloud computing refers to the delivery of IT infrastructure and usage patterns that the network in order to demand, and scalable way to get the necessary resources; generalized cloud computing refers to the mode of service delivery and use of that network to on-demand, easy way to obtain the necessary expansion of services. This service can be IT and software, Internet-related, can be any other services, it has a very large scale, virtualization, security and other special effects and reliable. Cloud computing is grid computing, distributed computing, parallel computing, utility computing, network storage, virtualization, load balancing, etc., the traditional development of computer technology and network technology integration products. It aims to network the number of relatively low-cost computing entity into one pow- erful computing capability with the perfect system, and using SaaS, PaaS, IaaS, MSP business models and other advanced computing power of this powerful distribution to end users hands. Cloud Computings a core concept is tiirough continuous improvement “cloud” of processing capacity, thereby reducing the processing burden user terminals, user terminals Zui Zhong Shi Jianhua into a simple input and output devices and demand Xiangshou “cloud” powerful computing processing capacity! Here the taxi meter check resource center is defined as ttcloud,5 which is a collection of all the taxi information, and to achieve self-maintenance and management of virtual computing resources, it is the integrated management of taxi operations across a large server clusters, including billing servers, taxi information query the server, the meter check servers, storage servers, wireless broadband server resources and so on. Collection of these resources can be resources for all of the taxi together by the software automatically manages, without human involvement. This makes the taxi queue without the need to focus on check meter cumbersome details to worry about, to be more focused on their own rental operations, is conducive to innovation and lower costs. By running in the remote Telnet client program, so you can remotely access to the taxi clouds of sharing information. II. The systems overall thinking Figure 1 is general idea of a remote check Taximeter, the clouds of the PC through the cloud computing and comprehensive analysis, can be linked to the network or network cloud on the pc and the cloud protocol with the hardware, In this way the network cloud on the taxi comprehensive analysis of the data processing and computing, to receive from many taxi meter from the integrated information, and then update the data on the clouds, again, another remote terminal to download updated data cloud. The work of the entire system consists of two parts: Telnet to the serial communication protocol conversion between program of personal computer; using a dedicated control line control taximeter system power and I/O input interface circuit; 978-1-935068-52-5 © 2010 SciRes. 94 International Conference of China Communication and Technology (ICCCT2010) Scientific Research 3, Telnet to serial conversion software. Telnet is a basic network application layer protocol, the communication protocol defined by the RFC0854. It is built on top of TCP protocol to transmit data and control information for the agreement. By default, the use of TCP Figure 1. Design of the system port 23. Its original design objective is to establish a net- work-based serial terminal emulation protocol. That's why you can use the Telnet protocol serial data transmission reasons. III. The system hardware design Taxi meter hardware system structure shown in Figure 2. Core board with CPU and a certain capacity of the SDRAM, NORFLASH and auxiliary circuits; board has a 10/100 network interface and to state an external interface, when necessary, convenient way to replace motherboard expansion of peripheral interfaces, to meet the needs of various equipment. Figure 2. Structure diagram of system hardware IV. The system software design and implementation Telnet data transmitted through the original message format to populate the effective TCP data payload area. The control information is preceded by the control com- mand characters IAC turn and mixed mode data transmis- sion in general. This avoids the use of additional protocols like FTP port to send control information necessary to reduce the program's complexity. Telnet to be designed to the serial protocol conversion process is actually a Telnet server. It accepts any of the clouds from the Telnet terminal link request, and then computing network through Telnet protocol to send the data received from the serial port, Telnet same time received the data sent to the serial port. In the Windows operating system, most of the servers are based on Windows NT service components existed in the system, they start after the system has been running in the background, waiting for the trigger event. In the entry function, define a dispatchTable structure, including the service name and service sServiceName the actual main function ServiceMain, and truly finished by StartServiceCtrlDispatcher function and operation of registered services. Once a service component starts, in addition to continuously monitor a port, but also need to re- spond to tiie different services manager requests. Therefore, the actual function of the service design as a child process bridgeThread, the main process by the service to call the child process and the service's main process is designed to respond to the request of service manager. Figure 3 is the child process bridgeThread process. First, use Winsock listen on a specific port. Then, through the news cycle, when the link request is received after the incident, the serial port initialization. After the news cycle on the continued response from the Telnet and serial port write request, the Telnet data sent to the serial port until the receiot of the reauest Winsock broken link. Figure 3. Software flow chart Telnet is received from the client sent the data sent to the serial port, you must scan the data received in the IAC whether the escape character. If so, they must be removed, but also defined, such as control of power and I/O command must be related operations. Conversely, data received from the serial port to send to the Telnet client, you must before alltiie OxFF character to add a OxFF. Here is 95 978-1-935068-52-5 ©2010 SciRes. International Conference of China Communication and Technology (ICCCT2010) Scientific Research the data received from the Telnet code scanning process. Case cloud 一 RD: while(iBytes=ReadSocketData(&(g_lpBridgeCfg- >sockCli- ent),sTcpBufferln, MAXSIZETCPBUFFER)! =-1) iPos=0; iPosComBuffer=0; while(iPos<iBy tes) if(sTcpbufferln=oxff) iPos+; switch(sT cpBufferln) case oxff: sComBufferout=sT cpBufferln; break; handleCmd(sT cpBufferln); else sComBufferout=sT cpBufferln; S etEnevnt (g_hE vent); break; Here?s the main use of Winsock API to complete the Telnet part of the data read; serial port virtual serial port by part into a file, read and write through the file API to complete. III. Conclusion New ideas to use cloud computing, complete taxi meter remote check, saving a lot of manpower and material resources, but also to achieve the corresponding taxi information sharing results. In addition, if the wireless network to increase GPS modules, so that you can borrow at any location of wireless networking capabilities, both to facilitate taxi check meter, but also to facilitate real-time taxi operators, taxi operators to understand the situation, you can also share a taxi customer information. References 1 Huai xin dong,Ji zhan bei,Yu hai tao; taxi meter function to improve the J Standardization; 2007 (06) 2 Che xi long.Based on Computational Intelligence Grid Resource Monitoring and Prediction System D Jilin University, 2009 3 Pan rui,Liu Jun-yong, Guo Xiaoming. For smart grid power systems cloud computing J Sichuan Electric Power Technology, 2009, (SI) 978-1-935068-52-5 © 2010 SciRes. 96