Summary of the invention
The present invention is the demand in order to adapt to travel at one's own expense, thereby a kind of mobile phone travel information inquiry system based on mobile platform is provided.
Mobile phone travel information inquiry system based on mobile platform, it comprises client, wireless access server, application server system and Database Systems;
Client mainly comprises control module interface module and communication module; The interface signals output of control module or input input or output end with the interface signals of interface module and are connected; The signal of communication output of control module or input input or output end with the signal of communication of communication module and are connected;
Application server system comprises application server and charge system; The fee charging signal output of application server or input input or output end with the fee charging signal of charge system and are connected;
Application server is for receiving the request of user terminal, and according to the charging of described request control charge system, from master database and extending database, transfer corresponding data according to described request, also for the data of transferring are sent to client by wireless access server;
Charge system under the control of application server from User database system reading out data, and calculate corresponding expense, also for described expense is write to customer data base, and send to application server;
Database Systems comprise customer data base, master database and extending database; Customer data base is for storing user's private data, and master database is for storing default system information data, and extending database is used for the system information data that Memory Extension goes out;
Application server is used for from customer data base, master database and extending database reading out data, also for data writing in customer data base, master database and extending database reading out data; Charge system is for writing charge information to customer data base, also for read corresponding user's metering data from customer data base;
Client is connected into the Internet by wireless access server; Wireless access server is by the Internet and application server realizing data communication.
Control module is used for sending control command, and interface module for showing output corresponding information under the control of control module; Communication module is for realizing and the communicating by letter of wireless access server.
Client also comprises memory module, and the storage signal of described memory module inputs or outputs end and is connected with storage signal output or the input of control module.
Client also comprises supplementary module, and the auxiliary signal of described supplementary module inputs or outputs end and is connected with auxiliary signal output or the input of control module; The interface auxiliary control signal output of supplementary module is connected with the interface auxiliary control signal input of interface module.
In client, be built-in with J2ME application program.
Wireless access server is supported Bean technology and JSP/XML technology.
The present invention can fully adapt to travel at one's own expense's demand, can provide comprehensive and effective tourist attractions information for user, makes user formulate the tourism scheme that meets s own situation according to s own situation.
Embodiment
Embodiment one, in conjunction with Fig. 1 to Fig. 3, this embodiment is described, the mobile phone travel information inquiry system based on mobile platform, it comprises client 1, wireless access server 2, application server system 3 and Database Systems 4;
Client 1 comprises control module 11, interface module 12 and communication module 13; The interface signals output of control module 11 or input input or output end with the interface signals of interface module 12 and are connected; The signal of communication output of control module 11 or input input or output end with the signal of communication of communication module 13 and are connected;
Application server system 3 comprises application server 31 and charge system 32; The fee charging signal output of application server 31 or input input or output end with the fee charging signal of charge system 32 and are connected;
Application server 31 is for receiving the request of user terminal, and according to 32 chargings of described request control charge system, from master database 42 and extending database 43, transfer corresponding data according to described request, also for the data of transferring are sent to client 1 by wireless access server 2;
Charge system 32 under the control at application server 31 from User database system 4 reading out datas, and calculate corresponding expense, also for described expense is write to customer data base 41, and send to application server 31;
Database Systems 4 comprise customer data base 41, master database 42 and extending database 43; Customer data base 41 is for storing user's private data, and master database 42 is for storing default system information data, the system information data that extending database 43 goes out for Memory Extension;
Application server 32 is for from customer data base 41, master database 42 and extending database 43 reading out datas, also for data writing in customer data base 41, master database 42 and extending database 43 reading out datas; Charge system 33 is for writing charge information to customer data base 41, also for read corresponding user's metering data from customer data base 41;
Client 1 is connected into the Internet by wireless access server 2; Wireless access server 2 is realized data communication by the Internet and application server 32.
The present invention has adopted Client/Server mode, and therefore whole system can be divided into client (Client) and server (Server) two parts.
Client is in fact one and is programmed in the smart mobile phone software of supporting Mobile GIS.In the time of software startup, can be automatically and server end connect, and enter login interface.When logging in system by user, client software can obtain the current position of user information from GIS module automatically, and reaches server end from client together in same user's log-on message, while providing further service, takes in order to system.User after login can check the sight spot information of on-site position, map and periphery, landmark information and the public service information etc. that online friends provide as required.If user is interested in a certain sight spot or terrestrial reference, can further obtain the data such as its word, picture, audio/video.
Client software can be downloaded voice, the presenting and displaying video asset information at corresponding sight spot according to user position or the position of inquiring about automatic buffer, and the media smoothness when ensureing user's playing stream media, makes network environment be reduced to minimum on the impact of Streaming Media.
User can also comment on or upload picture concerned for other user's references to existing sight spot or terrestrial reference, moreover, user also can independently add it and feel significant location point, and these location points can be uploaded, and is set to terrestrial reference and browses for other users.In addition, system also provides sound prompt function, and in the time that user approaches a certain key position point, client software can carry out voice message to user.
Server end mainly carries out the work of data storage, retrieval and statistics.Carry out the corresponding work of replying mainly for user's demand.Server end has user's business statistics charge system, can carry out charging statistical work according to the application of customer service and download situation.
The present invention is a kind of mobile phone travel at one's own expense navigation system based on mobile GIS.Can be for user provides comprehensive and effective tourist attractions information, make user formulate and to meet the tourism scheme of s own situation according to s own situation, and according to real time information, it is adjusted at any time.Because native system has the function to user location, can play voice message, introduction at specific sight spot, even sight spot commentary, voice messaging is supported multi-lingual simultaneously.
The difference of the mobile phone travel information inquiry system based on mobile platform described in embodiment two, this embodiment and embodiment one is, control module 11 is for sending control command, and interface module 12 for showing output corresponding information under the control of control module; Communication module 13 is for realizing and the communicating by letter of wireless access server 2.
The difference of the mobile phone travel information inquiry system based on mobile platform described in embodiment three, this embodiment and embodiment one or two is, client 1 also comprises memory module 14, and the storage signal of described memory module 14 inputs or outputs end and is connected with storage signal output or the input of control module 11.
The difference of the mobile phone travel information inquiry system based on mobile platform described in embodiment four, this embodiment and embodiment three is, client 1 also comprises supplementary module 15, and the auxiliary signal of described supplementary module 15 inputs or outputs end and is connected with auxiliary signal output or the input of control module 11; The interface auxiliary control signal output of supplementary module 15 is connected with the interface auxiliary control signal input of interface module 12.
The difference of the mobile phone travel information inquiry system based on mobile platform described in embodiment five, this embodiment and embodiment one, two or four is, is built-in with J2ME application program in client 1.
The difference of the mobile phone travel information inquiry system based on mobile platform described in embodiment six, this embodiment and embodiment five is, wireless access server support Bean technology and JSP/XML technology.
System of the present invention function:
User registration, login: use for the first time the user of system need to carry out system registry, all need to carry out user login before using afterwards system at every turn, only have authentication user just can use native system.
Map view: adopt Mobile GIS, download to the vector map file in terminal in utilization, for user shows the cartographic information that need to check, the scalable map of user, and according to the map place, sight spot are searched.Because native system provides a user amount of information very large, user can, according to the needs of oneself, according to classifications such as sight spot, traffic, public service, terrestrial references, show and oneself wish to see information in the mode of the final election of classifying on map.Because system has the function of user comment, the user that therefore user can also view this sight spot or terrestrial reference on map recommends temperature.Key position point voice message: in the time that voice message is opened, system can, according to user's setting, be carried out voice message to key position point.In the time that user approaches a certain key position point, client software can carry out voice message to user, and one side user misses own interested place.Wherein key position point can make sight spot, the terrestrial reference that system provides, and can be also the geographical coordinate that user sets before voluntarily.
Information browing: for interested sight spot, terrestrial reference, the data such as related text that user can directly click by input inquiry or on map and further browse, download system provides, picture, video, comment.User also can comment on sight spot, terrestrial reference, uploads relevant picture.In addition, user can independently add and thinks that valuable location point is as terrestrial reference, and relevant word, picture brief introduction is provided.
Customer data retrieval: this module is positioned at server end, for user's data retrieval, business statistics and billing function (not open to domestic consumer).
System network architecture:
System can be divided into client, application server end and data server end three parts logical construction.Wherein client is that mobile phone, panel computer etc. have the client software on the intelligent hand-held terminal of J2ME platform, and server end is made up of access server and the application data base of supporting JSP, as utilized tomcat to realize this part.Database server can adopt relevant database, realizes the storage work to system sight spot data and subscriber data.The transmission that wherein client and application server end adopt http agreement to carry out XML file by wireless JAVA platform realizes communication connection, and application server end and data server end complete with corresponding JAVA class and database language, as SQL Sever.
From wireless JAVA system platform, application server end can be divided into again Web layer and Business Logic.And the corresponding client layer of client and data server and data Layer.And in 3G one-phase mobile data value-added services network architecture, application server end has been divided into IAD, service capability server and value-added service platform, as shown in the figure.Wherein the user of application server adds up accounting module and separates with service server is own, and independent is value-added service platform.
Client functionality structure:
Client provides friendly log-in interface and operation interface for user, make user easily browse the information such as the sight spot, traffic, public service of location periphery by map, check the sight spot introduction including sound, video, client software can be submitted user position information etc. to from trend system simultaneously.Client software can be divided into 5 parts substantially: interface module, client control module, data memory module, protocol communication module, auxiliary expansion module.Wherein interface module comprise login interface, operation interface, interface be set, information browse interface etc.Because be unique direct user oriented module, therefore require interface design close friend, want convenient operation.Data memory module comprises ephemeral data storage and persistent data storage, the mainly data message of responsible storage user's login position information, operational order, data buffer memory, can user independently select recording user log-on message, for the automatic login of system simultaneously.Client control module is responsible for the coordination of each module and the operation of background program, comprise user's request command send to communication module, according to user sight spot, traffic, information on services etc. need to be presented on map, consumer positioning customer position information is delivered to communication module etc. automatically, initialization and the personal settings of client software are also realized by control module simultaneously.Protocol communication module is mainly responsible for according to corresponding communication protocol, and the Content of Communication between client and server end is encapsulated and decapsulation, and particular content will be set forth in C/S mathematical logic flow chart.Auxiliary expansion module refers to as realizing certain function needs necessary technology module, such as the adjustment of word size, image zooming, Media Stream decoding playing module, GIS module etc.This generic module provides ready-made api interface by manufacturer conventionally, and can increase, upgrade according to the expansion of systemic-function, and therefore unification is classified as auxiliary expansion module.
Server end logical construction:
Server end can carry out authentication login to the user in diverse location by mobile communications network, and sight spot related data is browsed, the information such as traffic, public service of customer location periphery for validated user provides, record the comment information of sharing users to sight spot, representative terrestrial reference etc.
Application server can also comprise one or more remote servers except access server, mainly completes protocol encapsulation, for user provides dynamic web page.Also comprise and use system situation to do business statistics to user simultaneously, and can expand and set up charge system.Business statistics module mainly provides user data retrieval, business statistics and system billing function.System can retrieve this user's personal information, each login position information, accessing database flow etc. according to user's ID from customer data base, and then according to certain rule, user is carried out to charging statistics.
Data server is made up of user profile database, master database and three databases of user's extending database.Wherein user profile database has recorded registered user's basic document data, as user ID, login password, Visitor Logs etc.Wherein each user ID is unique.Master database can be user sight spot, various places and target positional information is typically provided, and its word, picture, multimedia etc. are introduced data, periphery transport information etc.Database comprises the source file address of the geographical position coordinates at sight spot, above-mentioned various data etc.Its source address is stored in the file path of home server, can be also network linking.Master database is just set up at the beginning of whole system is set up, and is upgraded by staff's periodic maintenance.User's extending database is that system user independently adds content and sets up.Its content is except user is to the supplementing of existing sight spot and peripheral information, the evaluation at sight spot etc., also comprises the autonomous landmark locations information of adding of user and the relevant recommended information of target etc. independently.The data structure field master database of user's extending database is consistent, and content is completely independently added, independently evaluated by user, and staff only carries out technical maintenance to it, the in the situation that of violation of principle not, its content is not processed.
System client and server communication mathematical logic flow process (as shown in Figure 4):
(1) process of user login: in the time that user opens software, client software sends and contains user profile and current location information in interior registration, application server is received after user's registration, retrieval user ID and tariff information from customer data base.Be greater than at 0 o'clock if retrieve user ID and tariff information, send login success message to user; If its tariff information is less than or equal at 0 o'clock, send arrearage message; If do not retrieve user, send no user message.Client software logins successfully, supplements with money or register according to the message notifying user that receives, if do not receive always, message points out login failure.In the time that user successfully logins, the information such as the system meeting on-site map of automatic loading user and periphery sight spot, terrestrial reference, public service, traffic.
(2) user browses information process:
After user successfully logins, can realize map view function in client.When user is interested in some sight spots or terrestrial reference, can click or search for by map to enter information browing function.Now user end to server sends the sight spot browse request message containing the positional information at this sight spot, server end is retrieved master database and user's extending database according to its positional information, and sends the basic introduction of this sight spot or terrestrial reference and introduce in detail list (containing multimedia, word, picture etc.) to client.User can further select as required to browse and watch detailed introduction.In the time that user clicks a certain in list, client is browsed solicitation message to application server Transmit message, server is transferred file source address and connects according to its file ID from database, to user's Transmit message link success message, and file is sent to user.If server does not find file ID or do not connect,, to user side Transmit message link failed message, user side software is tackled mutually user and is pointed out.When user receives after file completely, user end to server end send receive success message, server download file ID and add to service time in the association attributes of this user in customer data base.
(3) user uploads information process:
After user successfully logins, can upload and terrestrial reference uploading operation.User only need determine terrestrial reference or comment sight spot are set on map, and server end reads corresponding geographical position, and sends data upload solicitation message to server.Server end is received after message, retrieves master database and user's extending database, its association attributes is added if retrieve this position, sight spot, in user's extending database, adds this terrestrial reference item if do not retrieve.After adding successfully, send and upload success message to user side, and this comment ID and the uplink time that automatically distribute are added in the association attributes of this user in customer data base, otherwise send and upload failed message, client correspondence is to user feedback.