CN103246720A - Mobile terminal based restaurant recommending and ordering method - Google Patents
Mobile terminal based restaurant recommending and ordering method Download PDFInfo
- Publication number
- CN103246720A CN103246720A CN2013101564613A CN201310156461A CN103246720A CN 103246720 A CN103246720 A CN 103246720A CN 2013101564613 A CN2013101564613 A CN 2013101564613A CN 201310156461 A CN201310156461 A CN 201310156461A CN 103246720 A CN103246720 A CN 103246720A
- Authority
- CN
- China
- Prior art keywords
- dining room
- user
- information
- portable terminal
- server end
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a mobile terminal based restaurant recommending and ordering method. By matching of a restaurant side, a mobile terminal and a server side, integration of information of most restaurants is realized, and according to user demands, nearest restaurants can be pushed for user selection. Meanwhile, users can select one of the restaurants to order and reserve tables, and dining and ordering efficiency is improved remarkably.
Description
Technical field
The invention belongs to the mobile Internet field, relate to a kind of dining room based on portable terminal and recommend and the method for ordering.
Background technology
In the age of rhythm of life quickening nowadays, very big variation has taken place in people's life style, and these variations are embodied in every aspects such as clothing, food, lodging and transportion--basic necessities of life.Wherein have a meal is the topic that people comparatively are concerned about always, now people's mode of selecting to have dinner has a variety ofly, makes a reservation and makes house calls, and phone or note be predetermined dining room in advance, and these methods have the merits and demerits of himself.There are following two problems in the existing movement software of ordering dishes: existing movement is ordered dishes the software great majority just at particular restaurant, be the software that each dining room exploitation belongs to this dining room, this software can only be checked in a dining room, operations such as reservation, so just brought the complicacy of selecting to the user, be that the user need install different software for each dining room, this has increased user's burden undoubtedly.In addition, most software can invocation map and the dining room is shown, but the user also needs to find one's position on the map, and seeks nearest dining room, like this at the time loss that has also increased the user virtually.
Summary of the invention
The object of the present invention is to provide a kind of dining room based on portable terminal to recommend and the method for ordering.
For achieving the above object, the present invention has adopted following technical scheme:
Portable terminal is according to carrying the real-time position information that GPS obtains the user, and portable terminal sends user's real-time position information to server end simultaneously;
The user's that the server end mobile terminal receive sends real-time position information, the dining room positional information of storing in the database with described real-time position information and server end is compared then, select alternative dining room according to user's real time position and the distance of position, dining room then, and according to user's selection the dining room information in alternative dining room is returned to portable terminal and check for the user, real-time menu information, dining table seat that dining room information is included in the dining room that server end safeguards use information and user's order validity information;
Alternative dining room is presented on the portable terminal with the map label form or with the form of tabulating, the dining room information that the user selects, checks alternative dining room by portable terminal, simultaneously, portable terminal generates corresponding order according to user's selection, then order is sent to server end, order comprises the request of ordering dishes and subscribing dining table and seat;
Each dining room managerial personnel safeguards dining room information by the JSP page of dining room end and feeds back to server end, maintenance comprises revises the dining room essential information, add, delete and modification menu information, and upgrade dining table and seat use status information according to order status.
The user's that the server end mobile terminal receive is sent real-time position information, then described real-time position information is resolved to the latitude and longitude coordinates value, the dining room latitude and longitude coordinates value that exists in described latitude and longitude coordinates value and the database is compared, select the nearer a series of dining rooms of distance users then as alternative dining room.
Portable terminal sends registration and logging request to server end, and whether successful the result who returns according to server end registered or login information then, and after the user logined success, portable terminal was to server end transmission user's real-time position information.
The dining room positional information that portable terminal returns according to user's real-time position information and server end obtains the latitude and longitude coordinates information in user and dining room, positional information with user and dining room is labeled on the map then, when receiving the user that portable terminal sends, server end checks the request of corresponding dining room information, server end is according to user's the corresponding HQL language retrieval of required parameter utilization database, the data encapsulation that will retrieve from database becomes the data of JSON form then, data with the JSON form send to portable terminal with response user request mode then, portable terminal obtains the dining room information that the user need check by the data of resolving the JSON form, and the form of dining room information with tabulation shown.
The user checks alternative dining room information by portable terminal, and the menu in each alternative dining room and vacant dining table seat information, select one of them alternative dining room to have dinner then, portable terminal generates order and sends to server end, order comprises Customs Assigned Number, dining room numbering and order rise time, server end deposits corresponding data in the database in after receiving order, simultaneously server end is opened the thread that another one is used for timing, from order generate surpass setting-up time and user do not go to the dining room then server end automatically this order be set to disarmed state.
The user at first sends order by portable terminal to server end, then when browsing menu by portable terminal, whether click the menu tabulation and select dish to be joined in the order, send data to server end then, server end deposits data in user's order Verbose Listing in; The user selects whether to subscribe dining table and seat when browsing the vacant dining table in dining room and seat, and sends data to server end, and server end deposits user's reservation dining table and the information at seat in the order Verbose Listing in.
The Http agreement of using portable terminal realizes portable terminal to the communication of server end, by portable terminal resolve the user operation, translate into the Http request, server end is asked interception by Struts2, and carries out corresponding business.
Server end is being obtained mandate back, dining room by database preservation dining room information, and each dining room is by JSP page management and maintenance information separately.
Compared with prior art, the present invention has following beneficial technical effects:
Recommend in dining room based on portable terminal of the present invention and the method for ordering is that recommend and meal ordering system in a kind of dining room based on portable terminal, its by portable terminal, dining room end and finish cooperating of server end push to the user around dining room information recently, the user selects the dining room to order dishes, subscribe the function that the dining room data are safeguarded in dining table seat and dining room.
The present invention uses to cooperate by portable terminal application and service device end and realizes the using integral function, takes the pattern of terminal request server end response; Portable terminal is as the bridge that connects data in user and the server, main being responsible for and user's interworking, and the data that server returns are shown; Server end is used the main deal with data of being responsible for, and the request of response portable terminal is retrieved and read-write operation database, and the needed data of feedback portable terminal.
The invention provides based on the dining room of portable terminal and recommend and the method for ordering, portable terminal can be finished ordering dishes and dining table seat-reservation function of user simultaneously by sending the information that the dining room could be obtained and show to request to server.Portable terminal calls the real time position that GPS obtains the user, for dining room information around the propelling movement of server provides the longitude and latitude position data.After having obtained the nearest dining room information of server push, terminal marks dining room information and customer location come out on map simultaneously intuitively, can help the user full out to make a choice.Portable terminal can carry out user registration, land and revise customer service such as user profile, and with mutual these information of server end.
The invention provides based on the dining room of portable terminal and recommend and the method for ordering, the dining room end sends the multidate information that request is revised the dining room essential information and upgraded the dining room by the JSP page to server.
Recommend and the method for ordering in dining room based on portable terminal provided by the invention, the server end polymerization most dining room information, comprise the dining room essential information, menu information and vacant dining table seat information etc., according to user's real-time position information that portable terminal sends, system pushes nearest dining room from the trend user and selects for the user.The backstage of server end unlatching simultaneously service processes monitors the order validity that the user generates, if order exceeds effective time limit and then order is denoted as inefficacy.User's essential information in the server end maintenance management, and functions such as user's Login Register and modification are finished in the request of response portable terminal.
User of the present invention obtains current location information and sends the peripheral nearer dining room of request inquiry information by the internet to server by the GPS technology, orders dishes and dining table seat-reservation function based on finishing alternately of portable terminal and server at last.
The present invention has overcome the problem that prior art exists, and by the information in a lot of dining rooms is carried out polymerization, has comprised essential information, menu information and vacant dining table and the seat information in each dining room.The user only needs portable terminal just can finish reservation function for most of dining room; System call GPS function is obtained user's real time position, and pushes apart from its nearest dining room to the user according to this, shows at map simultaneously, has improved the efficient of having dinner, making a reservation significantly.
Description of drawings
Fig. 1 is workflow diagram of the present invention.
Fig. 2 is structure collectivity synoptic diagram of the present invention.
Fig. 3 is that portable terminal is used synoptic diagram.
Fig. 4 is server end application function structure and request responding process figure.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing, and the explanation of the invention is not limited.
Recommend and the method for ordering in a kind of dining room based on portable terminal, may further comprise the steps:
Provide the service of ordering based on the GPS technology and by wireless network to portable terminal, portable terminal is according to carrying the real-time position information that GPS obtains the user, and portable terminal sends user's real-time position information to server end simultaneously;
The user's that the server end mobile terminal receive sends real-time position information, the dining room positional information of storing in the database with described real-time position information and server end is compared then, select alternative dining room according to user's real time position and the distance of position, dining room then, and according to user's selection the dining room information in alternative dining room is returned to portable terminal and check for the user, real-time menu information, dining table seat that dining room information is included in the dining room that server end safeguards use information and user's order validity information;
The map function that portable terminal calls Android is presented at alternative dining room on the portable terminal with visual map label form or with the form of tabulating, give the user with impression intuitively, the dining room information that the user selects, checks alternative dining room by portable terminal, simultaneously, portable terminal generates corresponding order according to user's selection, then order is sent to server end, finish the reservation function, order comprises the request of ordering dishes and subscribing dining table and seat;
Each dining room managerial personnel safeguards dining room information by the JSP page of dining room end and feeds back to server end, maintenance comprises revises the dining room essential information, add, delete and modification menu information, and upgrade dining table and seat use status information according to order status.
The user's that the server end mobile terminal receive is sent real-time position information, then described real-time position information is resolved to the latitude and longitude coordinates value, the dining room latitude and longitude coordinates value that exists in described latitude and longitude coordinates value and the database is compared, select nearer (in 1 kilometer range around the customer-centric) a series of dining rooms of distance users then as alternative dining room.
Portable terminal sends registration and logging request to server end, and whether successful the result who returns according to server end registered or login information then, thereby continues next step action.After the user logined success, portable terminal simultaneously, after the user logins success, can be revised personal information by portable terminal to server end transmission user's real-time position information, carries out user's order management a series of operations such as (checking, delete order);
At server end for the account management of portable terminal be:
Portable terminal sends registration or log-in request to server end, and the operation of customer service is carried out in the request that the server-side processes portable terminal sends, and user profile is kept at database, judges and response that return action runs succeeded or fails; Can select whether to revise personal information and send the request of modification for the user who has logined, the modification request that the server-side processes portable terminal is sent, and return and whether revise successful response.
Comprise following database table in the database of server end:
User message table, preservation user's basic account information comprises user name, password, contact method etc.
The dining room Basic Information Table is preserved all dining room essential informations, comprises the dining room title, address, dining room, the recommended information in dining room latitude and longitude coordinates information and dining room etc.
Dining room menu sorted table has been preserved the menu classified information in each dining room, dining room numbering (external key) under comprising, specific name.
The restaurant menus table has been preserved the detailed name of the dish information in each dining room, menu classifying and numbering (external key) under comprising, and name of the dish, the dish price, dish is described.
Dining room dining table information table has been preserved the dining table operating position in each dining room, dining room numbering (external key) under comprising, and the dining table numbering, dining table uses state, dining table galleryful.
Seat, dining room information table, the operating position of having preserved the corresponding seat of dining table in each dining room, dining table numbering (external key) under comprising, the seat uses state.
User's order table has been preserved user's order essential information, comprises O/No., the order rise time, and affiliated dining room numbering (external key), whether order is effective.
The order Verbose Listing has been preserved the detailed resource that the user corresponds respectively to each order, comprises the numbering of ordering, quantity, dining table numbering, seat numbering etc.
The response of data that portable terminal reception server end returns, and on map explicit user and dining room on every side:
In order to give the user positional information impression intuitively, the dining room positional information that portable terminal returns according to user's real-time position information and server end obtains the latitude and longitude coordinates information in user and dining room, the Google maps that calls the Android system then uses, and by the Overlay(overlayer) technology is labeled in the positional information in user and dining room on the map, when receiving the user that portable terminal sends, server end checks the request of corresponding dining room information, dining room information for example, the vacant status information in dining table seat in the menu information in dining room and dining room etc., server end is according to user's the corresponding HQL language retrieval of required parameter utilization database, the data encapsulation that will retrieve from database becomes the data of JSON form then, data with the JSON form send to portable terminal with response user request mode then, portable terminal obtains the dining room information that the user need check by the data of resolving the JSON form, the information of namely in database, retrieving, and with these dining room information with the tabulation form show.
The generation of portable terminal order:
The user checks alternative dining room information by portable terminal, and the menu in each alternative dining room and vacant dining table seat information, select one of them alternative dining room to have dinner then, portable terminal at first ejects dialog box and confirms whether the user selects this alternative dining room, after obtaining user's affirmation, portable terminal generates order and sends to server end then, order comprises Customs Assigned Number, dining room numbering and order rise time, server end deposits corresponding data in user's order table of database in after receiving order, server end is opened backstage Service simultaneously, namely start the thread that another one is used for timing, namely when generating, order picks up counting, generate to surpass one hour and the user does not go to the dining room from order, then server end automatically this order be set to disarmed state (this action is to be finished automatically by the thread of server inside, and server can be opened the state that a thread is used for timing and revises user's order validity constantly after the user generates order).
Ordering dishes and the reservation function at dining table seat of portable terminal:
The user at first sends order by portable terminal to server end, then when browsing menu by portable terminal, whether the option in the tabulation of click menu namely can eject the dialog box prompting and select this dish to be joined in the order, the umber that input simultaneously needs, click ACK button then and send data to server end, server receives request, and data are deposited in user's order Verbose Listing; Similarly the user selects the step at dining table and seat, the user selects whether to subscribe dining table and seat when browsing the vacant dining table in dining room and seat, and to server end transmission data, server end deposits user's reservation dining table and the information at seat in the order Verbose Listing in.
Portable terminal sends request and uses the Http agreement to realize portable terminal to the communication of server end, by portable terminal resolve the user operation, translate into the Http request, server end is asked interception by Struts2, and carries out corresponding business; Partly use the HQL statement to carry out the user by the example of searching of user name for user service data.
Described portable terminal and User Interface comprise user's login interface, user's register interface, and interface of main menu, information inspection interface, dining room, the restaurant service menu interface, the dining room menu is checked the interface, the vacant dining table vacant scats in dining room is checked interface etc.
User's log-in interface, by inputing user name and password login system, there is registration button at this interface to the user simultaneously at this interface, clicks registration button and then enters register interface.The click button that quits a program then quits a program.
User's register interface, the user finishes registering functional at this interface, inputs user name, password and repeat password, contact methods etc. get up these data encapsulation and are sent to server, server deposits user data table in after data are handled, and namely finishes user's registering functional.
Interface of main menu, the user namely enters interface of main menu after logining success, finishes order in the time of can selecting to check on every side the dining room information of same with tabular form and generates and order in advance, subscribes operations such as dining table seat; Also can select to check dining room information on every side with the form of map, obtain impression intuitively; At interface of main menu, the user can revise personal information, the amended information of input in the dialog box that ejects, and request server is finished the retouching operation of personal information.
Information inspection interface, dining room, the dining room information around this interface user can see shows with the form of tabulation, comprises information such as dining room title, address, dining room, clicks the services menu interface that then can enter into each dining room respectively.
The restaurant service menu interface, the user can finish at this interface and check menu, vacant dining table seat information, and order dishes, subscribe actions such as dining table seat.
The dining room menu is checked the interface, and the user can check each dining room menu classification at this interface, and detailed menu information, comprises price, introduces name of the dish etc.
The vacant dining table vacant scats in dining room is checked the interface, and the user can check the real-time dining table in each dining room and the operating position at seat at this interface, can also subscribe vacant dining table and seat simultaneously.Scheduled dining table and seat then will be set up state in using.
The dining room end is for the maintenance of dining room essential information and multidate information:
Server end is being obtained mandate back, dining room by database preservation dining room information, each dining room is by JSP page management and maintenance information separately, comprise and revise the dining room essential information, increase, delete and revise menu information and real-time update dining room dining table and seat and use status information etc.
Embodiment
Recommend and meal ordering system in a kind of dining room based on portable terminal, can push nearer dining room on every side for it according to user's real time position, and the user makes a choice in the middle of these dining rooms and finishes the reservation of ordering dishes with the dining table seat.Be divided into this three part of portable terminal, dining room end and server end and cooperate to reach final effect, portable terminal adopts the Android platform, and the dining room end adopts the JSP web technologies, and what server end adopted is the java web technology of Struts2+Hibernate framework.
Referring to Fig. 1, recommend and meal ordering system in described dining room based on portable terminal, comprises following step:
The dining room end sends request by the JSP webpage to server the data in dining room is safeguarded, the server interception request, and handle request msg respectively, and adopt the HQL language that the dining room database is retrieved, increase and the renewal operation.
Portable terminal sends request by the mode of Http-Post to server, and request comprises Login Register, revises, and checks dining room information, generates order etc.Server end is tackled terminal request equally, and request msg is handled, and returns response and gives portable terminal.
Server end is handled the request of dining room end and portable terminal respectively, finishes the maintenance to dining room information; The checking user registers log-on message, returns corresponding data according to the service request of terminal, has realized pushing dining room information and the user subscribes function to the user; Simultaneously server is also being safeguarded user's order in real time, and placing an order from the user picks up counting, exceed the time delay limit then order be set to disarmed state.
Referring to Fig. 2, the dining room end sends data by the JSP webpage to server and safeguards the information in dining room, comprises dining room essential information (dining room title, address, dining room, dining room introduction and dining room latitude and longitude coordinates etc.); The dining room multidate information comprises (dining room menu information, the operating position at the real-time dining table in dining room and seat).When the menu in dining room changed, the dining room sent request to server, and server receives the dining room data and made amendment in the menu data storehouse.Similarly, the real-time dining table in dining room and seat operating position are sent to server after also being added up by the service staff, and server upgrades corresponding tables of data.
The reciprocal process of server and portable terminal is represented that by Fig. 2 the working method of system can be described as:
For server end, major function can be divided into following components, and 1, the receiving terminal request realizes that user's registration login namely revises the personal information function; 2, receiving terminal user real time position data and compare and push nearer dining room to terminal with dining room position data in the database; 3, after user's order generates, open the backstage service processes and carry out timing, after order exceeds the time delay limit, order status is set for losing efficacy; 4, ordering dishes of mobile terminal receive, the request of subscribing the dining table seat, and request msg deposited in the order Verbose Listing.
For portable terminal, significant feature is to carry out alternately with the user, so its core is various interfaces, mainly comprises following interface for native system, referring to Fig. 3:
The user registers login interface, as its name suggests, can finish the operation that login system and registration become the member by this interface user.
The program interface of main menu, be that the user logins the interface that enters after the success, can get information about the major function of native system this interface user: dining room information and reservation around showing with tabular form, with ground diagram form explicit user and dining room information, user's order management, the userspersonal information revises, and returns master menu.
The interface is checked in the dining room on every side, and this interface is entered by the program master menu, and the form with tabulation in this interface has shown all dining room tabulations that distance users is nearer, comprises the dining room title, information such as address, dining room.
The restaurant service information interface, this interface checks that by the dining room interface enters, the user clicks the information on services interface that namely enters into this dining room behind certain dining room wherein.In this interface the user can see the dining room the service that can provide, comprise the menu inquiry and order dishes, vacant dining table seat inquiry and subscribe, select this dining room and generate order.
Menu inquiry and the interface of ordering dishes, this interface is entered by the restaurant service information interface, and the user can see the menu classification situation in dining room in this interface, clicks one of them classification and then enters into the detailed interface of menu, comprises name of the dish, and price is described etc.The user clicks when browsing detailed menu and a certainly namely can eject dialog box, and whether the prompting user selects this dish, and the user imports behind the umber that this dish will join in user's the order Verbose Listing after the click on submission button, thereby has finished the operation of ordering dishes.
The inquiry of vacant dining table seat and reservation interface, this interface is entered by the restaurant service information interface, and in this interface, the user can see the real-time dining table in dining room and the operating position at seat.Same, the user clicks corresponding seat then can eject dialog box, if this seat is being used or is being scheduled in advance, then can point out this seat of user unavailable at present; If the present free time of this seat then points out the user whether will subscribe this seat, after the user selected to subscribe, server received request, and this seat is joined in user's order Verbose Listing, and the state of revising simultaneously in the seating plan is unavailable.
Except above interface, also has the generative process of user's order, after clicking this dining room of selection in the restaurant service information interface and generating the order option, server then can generate an order for this user, comprised Customs Assigned Number in the order, dining room numbering, order rise time etc.Simultaneously, server is opened the backstage service processes and is picked up counting, user's fail to act order after the order generation exceeds schedule time, and then order status is set to disarmed state, and the reservation resource in user's order Verbose Listing is discharged.
Referring to Fig. 4, server end is mainly used to the deal with data business, so the server end core is user data, dining room data, user's order, the database of user's order Verbose Listing.To introduce the tables of data that uses in the native system in detail below:
User data table, this table record Customs Assigned Number, user name, user cipher, information such as user's contact method.This table significant feature is server authentication user login, and as the contingency table of user's order table.
Dining room master data table, this table record the dining room numbering, dining room title, geographic position, dining room, the latitude and longitude coordinates in dining room, data such as dining room introduction.The dining room numbering is that the major key of this table also is dining room menu information table simultaneously, the external key of dining room dining table seating plan and order table.To be server push the important indicator in nearer dining room to the user to the latitude and longitude coordinates in dining room, and server is according to user's latitude and longitude coordinates value and dining room latitude and longitude coordinates, thereby list the nearer a series of dining rooms of distance users.
Dining room menu sorted table, this table record the menu classification in each dining room, for example the dining room kind that can provide has cold dish, cooking, soup and dessert etc.
Dining room menu Verbose Listing, this is shown related menu sorted table and belongs to wherein a certain class, has recorded name of the dish, price, information such as introduction.
Dining room dining table information table, this table record the information of dining table in each dining room, comprise the dining table numbering, dining room (external key) under the dining table, the dining table galleryful, dining table uses state.
Seat, dining room information table, this table record the seat information in each dining room, comprise seat numbering, dining table numbering (external key) under the seat, the seat uses state.
User's order table, this table comprises Customs Assigned Number, dining room numbering, order rise time, order status.
User's order Verbose Listing, this table comprise affiliated O/No. (external key), name of the dish, umber, dining table numbering, seat numbering.
Below will introduce server in detail based on the main business processing procedure of these tables of data, as shown in Figure 4 according to above-mentioned tables of data:
Server pushes the dining room information process to terminal: at first the user selects the dining room information on every side of checking in the program interface of main menu, terminal is called the real-time position information that the GPS technology obtains the user, send positional information and check request to server, server interception terminal request, the dining room latitude and longitude coordinates of storing in user's real-time latitude and longitude information and the database Chinese Restaurant Basic Information Table is compared, and select nearer a series of dining rooms, and become the JSON data to return to portable terminal the data encapsulation in these dining rooms, terminal has obtained corresponding dining room data message by resolving the JSON data, and the form of these information with tabulation shown.Corresponding is that user and dining room are used and marked out to invocation map with it, the process and the front that obtain nearer dining room data of this function are similar, it is the display packing difference, calling Google Maps uses, and use the OverLay technology according to the latitude and longitude coordinates value in user and dining room, user and the dining room form with symbol is marked out.Can experience to user more intuitive by this display mode, shorten the time that the user selects the dining room.
User's order generative process: after the user has selected a dining room, enter the information on services interface in this dining room, and click the generation order, this order comprises Customs Assigned Number, dining room numbering and place an order time and order status information.Then the user begins to order dishes and subscribes dining table and seat, and this two step can be ordered dishes earlier and also can subscribe the dining table seat earlier in no particular order.When ordering dishes, the user is when browsing the dining room menu, can click a certain in the menu tabulation, then can eject dialog box prompting user imports the umber that needs and confirms whether the user submits selection to, after the user confirms to finish, terminal is sent to server end with user's selection, and server end deposits data in the order Verbose Listing in.With the function of ordering dishes similar be the reservation function at dining table and seat, the user is when the vacant dining table of browsing certain dining room and seat information, whether a certain Xiang Zehui ejection dialog box prompting user who clicks in the tabulation selects this resource, the user sends a request to server after confirming, server receives related data and deposits in the order Verbose Listing.When user's order exceeds the time delay limit and is judged as when invalid, server then can discharge dining table and the seat resource that the user selects again, namely is shown as upstate.
Receive user's request function.Customer service on the terminal is all finished by sending request, should finish three interfaces at least at server end: registration interface, login interface, modification user information interface.When receiving these whens request, the user just the carrying out of response to the operation of database subscriber's meter, realization customer service.What terminal transmission request was used is that the Http-Post agreement realizes mobile phone terminal to the communication of server, by terminal parses user's operation, translates into the Http-Post request, and server end is asked interception by Struts2, and the business of execution response.Revise and it should be noted that when the user disposes that the multi-user searches the problem that can bring rollback database when own example in database is also repeatedly revised the database user table.For the user service data part, can not use the transactional management to submit data to so, must use the HQL code to carry out the user by the example of searching of user name.
Claims (8)
1. recommend and the method for ordering in the dining room based on portable terminal, it is characterized in that, may further comprise the steps:
Portable terminal is according to carrying the real-time position information that GPS obtains the user, and portable terminal sends user's real-time position information to server end simultaneously;
The user's that the server end mobile terminal receive sends real-time position information, the dining room positional information of storing in the database with described real-time position information and server end is compared then, select alternative dining room according to user's real time position and the distance of position, dining room then, and according to user's selection the dining room information in alternative dining room is returned to portable terminal and check for the user, real-time menu information, dining table seat that dining room information is included in the dining room that server end safeguards use information and user's order validity information;
Alternative dining room is presented on the portable terminal with the map label form or with the form of tabulating, the dining room information that the user selects, checks alternative dining room by portable terminal, simultaneously, portable terminal generates corresponding order according to user's selection, then order is sent to server end, order comprises the request of ordering dishes and subscribing dining table and seat;
Each dining room managerial personnel safeguards dining room information by the JSP page of dining room end and feeds back to server end, maintenance comprises revises the dining room essential information, add, delete and modification menu information, and upgrade dining table and seat use status information according to order status.
2. recommend and the method for ordering in a kind of dining room based on portable terminal according to claim 1, it is characterized in that:
The user's that the server end mobile terminal receive is sent real-time position information, then described real-time position information is resolved to the latitude and longitude coordinates value, the dining room latitude and longitude coordinates value that exists in described latitude and longitude coordinates value and the database is compared, select the nearer a series of dining rooms of distance users then as alternative dining room.
3. recommend and the method for ordering in a kind of dining room based on portable terminal according to claim 1, it is characterized in that:
Portable terminal sends registration and logging request to server end, and whether successful the result who returns according to server end registered or login information then, and after the user logined success, portable terminal was to server end transmission user's real-time position information.
4. recommend and the method for ordering in a kind of dining room based on portable terminal according to claim 1, it is characterized in that:
The dining room positional information that portable terminal returns according to user's real-time position information and server end obtains the latitude and longitude coordinates information in user and dining room, positional information with user and dining room is labeled on the map then, when receiving the user that portable terminal sends, server end checks the request of corresponding dining room information, server end is according to user's the corresponding HQL language retrieval of required parameter utilization database, the data encapsulation that will retrieve from database becomes the data of JSON form then, data with the JSON form send to portable terminal with response user request mode then, portable terminal obtains the dining room information that the user need check by the data of resolving the JSON form, and the form of dining room information with tabulation shown.
5. recommend and the method for ordering in a kind of dining room based on portable terminal according to claim 1, it is characterized in that:
The user checks alternative dining room information by portable terminal, and the menu in each alternative dining room and vacant dining table seat information, select one of them alternative dining room to have dinner then, portable terminal generates order and sends to server end, order comprises Customs Assigned Number, dining room numbering and order rise time, server end deposits corresponding data in the database in after receiving order, simultaneously server end is opened the thread that another one is used for timing, from order generate surpass setting-up time and user do not go to the dining room then server end automatically this order be set to disarmed state.
6. recommend and the method for ordering as a kind of dining room based on portable terminal as described in the claim 5, it is characterized in that:
The user at first sends order by portable terminal to server end, then when browsing menu by portable terminal, whether click the menu tabulation and select dish to be joined in the order, send data to server end then, server end deposits data in user's order Verbose Listing in; The user selects whether to subscribe dining table and seat when browsing the vacant dining table in dining room and seat, and sends data to server end, and server end deposits user's reservation dining table and the information at seat in the order Verbose Listing in.
7. recommend and the method for ordering in a kind of dining room based on portable terminal according to claim 1, it is characterized in that: portable terminal uses the Http agreement to realize that portable terminal is to the communication of server end, by portable terminal resolve the user operation, translate into the Http request, server end is asked interception by Struts2, and carries out corresponding professional.
8. recommend and the method for ordering in a kind of dining room based on portable terminal according to claim 1, it is characterized in that:
Server end is being obtained mandate back, dining room by database preservation dining room information, and each dining room is by JSP page management and maintenance information separately.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101564613A CN103246720A (en) | 2013-04-28 | 2013-04-28 | Mobile terminal based restaurant recommending and ordering method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101564613A CN103246720A (en) | 2013-04-28 | 2013-04-28 | Mobile terminal based restaurant recommending and ordering method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103246720A true CN103246720A (en) | 2013-08-14 |
Family
ID=48926240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013101564613A Pending CN103246720A (en) | 2013-04-28 | 2013-04-28 | Mobile terminal based restaurant recommending and ordering method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103246720A (en) |
Cited By (44)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955746A (en) * | 2014-04-03 | 2014-07-30 | 上海邦助信息技术有限公司 | System and method based on restaurant orders and customer management |
CN104462543A (en) * | 2014-12-25 | 2015-03-25 | 西安诺瓦电子科技有限公司 | Positioning method for LED display screen and server |
CN104506583A (en) * | 2014-12-08 | 2015-04-08 | 苏州朗米尔照明科技有限公司 | Service system based on GPS (Global Positioning System) positioning |
CN104732422A (en) * | 2015-02-27 | 2015-06-24 | 湖南大学 | Mobile user tag based personalized food recommendation method |
CN105023051A (en) * | 2015-07-24 | 2015-11-04 | 程强 | Seat reserving method and system for ordering system |
CN105184585A (en) * | 2015-09-18 | 2015-12-23 | 广州十八帮信息科技有限公司 | Method and apparatus for placing an order on the Internet |
CN105303485A (en) * | 2015-11-17 | 2016-02-03 | 贾崇丰 | Automatic system of restaurant |
WO2016029818A1 (en) * | 2014-08-28 | 2016-03-03 | 365 Technologies Holding Limited | Method and system for processing food orders |
CN105787579A (en) * | 2016-05-12 | 2016-07-20 | 重庆佐鸣科技有限公司 | Restaurant reservation system and method |
CN106096515A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of solution lock control method and terminal unit |
CN106251254A (en) * | 2016-06-29 | 2016-12-21 | 信阳农林学院 | Management system is recommended in a kind of tourist attraction dining room |
CN106295821A (en) * | 2016-08-12 | 2017-01-04 | 北京东方车云信息技术有限公司 | One orders car method and system |
CN106570725A (en) * | 2016-11-02 | 2017-04-19 | 北京小度信息科技有限公司 | Service popularization method and device |
CN106910093A (en) * | 2017-03-02 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | The method and device that dining room is recommended |
CN107172153A (en) * | 2017-05-19 | 2017-09-15 | 深圳市乃斯网络科技有限公司 | Network locating method and system based on positioning |
CN107194746A (en) * | 2017-06-20 | 2017-09-22 | 京东方科技集团股份有限公司 | One kind dining recommends method and device |
CN107609954A (en) * | 2017-10-02 | 2018-01-19 | 头等尝网络餐饮管理科技(深圳)有限公司 | Method of ordering, device and computer-readable recording medium based on acquiescence shops |
CN107622456A (en) * | 2017-09-26 | 2018-01-23 | 安徽网网络科技有限公司 | Booking and make a reservation management system and its application method based on mobile terminal |
CN107634854A (en) * | 2017-09-06 | 2018-01-26 | 北京三快在线科技有限公司 | The processing method and processing device of business datum |
CN107682401A (en) * | 2017-09-01 | 2018-02-09 | 深圳市盛路物联通讯技术有限公司 | Information inspection method and relevant device |
CN107977721A (en) * | 2017-11-14 | 2018-05-01 | 深圳市思迅软件股份有限公司 | Order processing method, apparatus, server and readable storage medium storing program for executing |
CN108027905A (en) * | 2015-07-03 | 2018-05-11 | 瑞可利控股有限公司 | Reservation management terminal, reservation management method and reservation management program |
WO2018120759A1 (en) * | 2016-12-31 | 2018-07-05 | 深圳有麦科技有限公司 | Relevant item recommendation method and system thereof |
WO2018136006A1 (en) * | 2017-01-18 | 2018-07-26 | Dining Butler Limited | Method for facilitating management of an establishment, and system and device thereof |
CN108491948A (en) * | 2018-03-23 | 2018-09-04 | 长春光速科技有限公司 | A method of it is had dinner by the reservation of third-party platform quick-searching dining room |
CN108537354A (en) * | 2018-04-08 | 2018-09-14 | 北京辰森世纪科技股份有限公司 | Restaurant order entry method, apparatus and system |
CN108632382A (en) * | 2018-05-14 | 2018-10-09 | 北京金和网络股份有限公司 | The method that user quickly identifies live streaming dining room |
WO2018209689A1 (en) * | 2017-05-19 | 2018-11-22 | 深圳市乃斯网络科技有限公司 | Positioning-based network booking method and system |
CN108921313A (en) * | 2018-06-25 | 2018-11-30 | 珠海格力电器股份有限公司 | Intelligent meal ordering method and device and terminal equipment |
CN109359754A (en) * | 2018-09-25 | 2019-02-19 | 斑马网络技术有限公司 | Dining room booking method, device, system and storage medium |
CN109388756A (en) * | 2018-09-10 | 2019-02-26 | 浙江口碑网络技术有限公司 | Information recommendation method and device |
CN109905836A (en) * | 2014-08-15 | 2019-06-18 | 阿里巴巴集团控股有限公司 | Realize the method, apparatus and router device of O2O Internet service |
CN110471318A (en) * | 2019-06-26 | 2019-11-19 | 康美药业股份有限公司 | A kind of intelligence control system of pharmacy heating cooking stove |
CN110688588A (en) * | 2019-08-20 | 2020-01-14 | 海南太美航空股份有限公司 | Big data-based route searching method, system and terminal |
CN110945540A (en) * | 2017-08-14 | 2020-03-31 | 开利公司 | Desk exchange platform based on environmental preference |
CN111159460A (en) * | 2019-12-31 | 2020-05-15 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
CN111681446A (en) * | 2020-05-25 | 2020-09-18 | 中国科学院长春光学精密机械与物理研究所 | Occupancy display system and method |
CN112184353A (en) * | 2019-07-04 | 2021-01-05 | 北京盈东数据科技有限公司 | Conference recommendation system based on online conference multifunctional fusion comprehensive service platform |
CN112507250A (en) * | 2020-12-07 | 2021-03-16 | 一汽奔腾轿车有限公司 | Design method of vehicle-mounted multifunctional map |
CN113282822A (en) * | 2021-04-29 | 2021-08-20 | 青岛海尔科技有限公司 | Restaurant recommendation method and device and intelligent terminal |
CN113435622A (en) * | 2021-08-26 | 2021-09-24 | 深圳百胜扬工业电子商务平台发展有限公司 | Data reservation method and system |
CN114730447A (en) * | 2020-02-10 | 2022-07-08 | 松下知识产权经营株式会社 | Information providing method |
CN115943415A (en) * | 2021-08-04 | 2023-04-07 | 松下知识产权经营株式会社 | Information providing method |
US12033227B2 (en) | 2021-08-04 | 2024-07-09 | Panasonic Intellectual Property Management Co., Ltd. | Method for providing information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114365A (en) * | 2006-07-28 | 2008-01-30 | 佛山市顺德区顺达电脑厂有限公司 | Ordering device, system and method |
CN102142124A (en) * | 2011-04-23 | 2011-08-03 | 镇江金钛软件有限公司 | Network-based meal ordering system and method |
US20120209730A1 (en) * | 2010-10-06 | 2012-08-16 | Garrett James M | Mobile restaurant ordering system |
CN102737283A (en) * | 2011-04-11 | 2012-10-17 | 镇江金钛软件有限公司 | System for reserving table based on network platform |
CN102855572A (en) * | 2011-07-01 | 2013-01-02 | 北京亚投科技有限责任公司 | Mobile interactive ordering/positioning service system and method |
-
2013
- 2013-04-28 CN CN2013101564613A patent/CN103246720A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114365A (en) * | 2006-07-28 | 2008-01-30 | 佛山市顺德区顺达电脑厂有限公司 | Ordering device, system and method |
US20120209730A1 (en) * | 2010-10-06 | 2012-08-16 | Garrett James M | Mobile restaurant ordering system |
CN102737283A (en) * | 2011-04-11 | 2012-10-17 | 镇江金钛软件有限公司 | System for reserving table based on network platform |
CN102142124A (en) * | 2011-04-23 | 2011-08-03 | 镇江金钛软件有限公司 | Network-based meal ordering system and method |
CN102855572A (en) * | 2011-07-01 | 2013-01-02 | 北京亚投科技有限责任公司 | Mobile interactive ordering/positioning service system and method |
Cited By (53)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955746A (en) * | 2014-04-03 | 2014-07-30 | 上海邦助信息技术有限公司 | System and method based on restaurant orders and customer management |
CN109905836A (en) * | 2014-08-15 | 2019-06-18 | 阿里巴巴集团控股有限公司 | Realize the method, apparatus and router device of O2O Internet service |
US10304119B2 (en) | 2014-08-28 | 2019-05-28 | 365 Technologies Holding Limited | Method and system for processing food orders |
WO2016029818A1 (en) * | 2014-08-28 | 2016-03-03 | 365 Technologies Holding Limited | Method and system for processing food orders |
CN105556562A (en) * | 2014-08-28 | 2016-05-04 | 365科技控股有限公司 | Method and system for processing food orders |
CN104506583A (en) * | 2014-12-08 | 2015-04-08 | 苏州朗米尔照明科技有限公司 | Service system based on GPS (Global Positioning System) positioning |
CN104462543A (en) * | 2014-12-25 | 2015-03-25 | 西安诺瓦电子科技有限公司 | Positioning method for LED display screen and server |
CN104732422A (en) * | 2015-02-27 | 2015-06-24 | 湖南大学 | Mobile user tag based personalized food recommendation method |
CN108027905A (en) * | 2015-07-03 | 2018-05-11 | 瑞可利控股有限公司 | Reservation management terminal, reservation management method and reservation management program |
CN105023051A (en) * | 2015-07-24 | 2015-11-04 | 程强 | Seat reserving method and system for ordering system |
CN105023051B (en) * | 2015-07-24 | 2018-12-14 | 金华观瑞科技有限公司 | Meal ordering system seat preordering method and system |
CN105184585A (en) * | 2015-09-18 | 2015-12-23 | 广州十八帮信息科技有限公司 | Method and apparatus for placing an order on the Internet |
CN105303485A (en) * | 2015-11-17 | 2016-02-03 | 贾崇丰 | Automatic system of restaurant |
CN105787579A (en) * | 2016-05-12 | 2016-07-20 | 重庆佐鸣科技有限公司 | Restaurant reservation system and method |
CN106096515A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of solution lock control method and terminal unit |
CN106251254A (en) * | 2016-06-29 | 2016-12-21 | 信阳农林学院 | Management system is recommended in a kind of tourist attraction dining room |
CN106295821A (en) * | 2016-08-12 | 2017-01-04 | 北京东方车云信息技术有限公司 | One orders car method and system |
CN106570725A (en) * | 2016-11-02 | 2017-04-19 | 北京小度信息科技有限公司 | Service popularization method and device |
WO2018120759A1 (en) * | 2016-12-31 | 2018-07-05 | 深圳有麦科技有限公司 | Relevant item recommendation method and system thereof |
WO2018136006A1 (en) * | 2017-01-18 | 2018-07-26 | Dining Butler Limited | Method for facilitating management of an establishment, and system and device thereof |
CN106910093A (en) * | 2017-03-02 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | The method and device that dining room is recommended |
WO2018209689A1 (en) * | 2017-05-19 | 2018-11-22 | 深圳市乃斯网络科技有限公司 | Positioning-based network booking method and system |
CN107172153A (en) * | 2017-05-19 | 2017-09-15 | 深圳市乃斯网络科技有限公司 | Network locating method and system based on positioning |
CN107194746A (en) * | 2017-06-20 | 2017-09-22 | 京东方科技集团股份有限公司 | One kind dining recommends method and device |
CN110945540A (en) * | 2017-08-14 | 2020-03-31 | 开利公司 | Desk exchange platform based on environmental preference |
CN107682401A (en) * | 2017-09-01 | 2018-02-09 | 深圳市盛路物联通讯技术有限公司 | Information inspection method and relevant device |
CN107634854A (en) * | 2017-09-06 | 2018-01-26 | 北京三快在线科技有限公司 | The processing method and processing device of business datum |
CN107622456A (en) * | 2017-09-26 | 2018-01-23 | 安徽网网络科技有限公司 | Booking and make a reservation management system and its application method based on mobile terminal |
CN107609954A (en) * | 2017-10-02 | 2018-01-19 | 头等尝网络餐饮管理科技(深圳)有限公司 | Method of ordering, device and computer-readable recording medium based on acquiescence shops |
CN107609954B (en) * | 2017-10-02 | 2021-06-25 | 寇晓一 | Food ordering method and device based on default store and computer readable storage medium |
CN107977721A (en) * | 2017-11-14 | 2018-05-01 | 深圳市思迅软件股份有限公司 | Order processing method, apparatus, server and readable storage medium storing program for executing |
CN108491948A (en) * | 2018-03-23 | 2018-09-04 | 长春光速科技有限公司 | A method of it is had dinner by the reservation of third-party platform quick-searching dining room |
CN108537354A (en) * | 2018-04-08 | 2018-09-14 | 北京辰森世纪科技股份有限公司 | Restaurant order entry method, apparatus and system |
CN108632382A (en) * | 2018-05-14 | 2018-10-09 | 北京金和网络股份有限公司 | The method that user quickly identifies live streaming dining room |
CN108632382B (en) * | 2018-05-14 | 2021-02-19 | 北京金和网络股份有限公司 | Method for user to quickly identify live restaurant |
CN108921313A (en) * | 2018-06-25 | 2018-11-30 | 珠海格力电器股份有限公司 | Intelligent meal ordering method and device and terminal equipment |
CN109388756A (en) * | 2018-09-10 | 2019-02-26 | 浙江口碑网络技术有限公司 | Information recommendation method and device |
CN109359754A (en) * | 2018-09-25 | 2019-02-19 | 斑马网络技术有限公司 | Dining room booking method, device, system and storage medium |
CN110471318A (en) * | 2019-06-26 | 2019-11-19 | 康美药业股份有限公司 | A kind of intelligence control system of pharmacy heating cooking stove |
CN110471318B (en) * | 2019-06-26 | 2022-05-10 | 康美药业股份有限公司 | Intelligent control system of pharmacy heating furnace |
CN112184353A (en) * | 2019-07-04 | 2021-01-05 | 北京盈东数据科技有限公司 | Conference recommendation system based on online conference multifunctional fusion comprehensive service platform |
CN110688588A (en) * | 2019-08-20 | 2020-01-14 | 海南太美航空股份有限公司 | Big data-based route searching method, system and terminal |
CN110688588B (en) * | 2019-08-20 | 2023-10-17 | 海南太美航空股份有限公司 | Route searching method, system and terminal based on big data |
CN111159460A (en) * | 2019-12-31 | 2020-05-15 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
CN114730447A (en) * | 2020-02-10 | 2022-07-08 | 松下知识产权经营株式会社 | Information providing method |
US11727465B2 (en) | 2020-02-10 | 2023-08-15 | Panasonic Intellectual Property Management Co., Ltd. | Method for providing information |
CN111681446A (en) * | 2020-05-25 | 2020-09-18 | 中国科学院长春光学精密机械与物理研究所 | Occupancy display system and method |
CN112507250A (en) * | 2020-12-07 | 2021-03-16 | 一汽奔腾轿车有限公司 | Design method of vehicle-mounted multifunctional map |
CN113282822A (en) * | 2021-04-29 | 2021-08-20 | 青岛海尔科技有限公司 | Restaurant recommendation method and device and intelligent terminal |
CN115943415A (en) * | 2021-08-04 | 2023-04-07 | 松下知识产权经营株式会社 | Information providing method |
US12033227B2 (en) | 2021-08-04 | 2024-07-09 | Panasonic Intellectual Property Management Co., Ltd. | Method for providing information |
US12093996B2 (en) | 2021-08-04 | 2024-09-17 | Panasonic Intellectual Property Management Co., Ltd. | Method for providing information |
CN113435622A (en) * | 2021-08-26 | 2021-09-24 | 深圳百胜扬工业电子商务平台发展有限公司 | Data reservation method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103246720A (en) | Mobile terminal based restaurant recommending and ordering method | |
CN112233336B (en) | Cabinet opening control method, user side, computing equipment and computer storage medium | |
US8140561B2 (en) | Service recommendation system and service recommendation method | |
CN100530104C (en) | Scalable architecture for web services | |
US9619830B2 (en) | Method and system to recommend a starter list of applications from an application marketplace to a new electronic device | |
US20160189225A1 (en) | Generating Advertisements Using Functional Clusters | |
CN102142124A (en) | Network-based meal ordering system and method | |
US20180189536A1 (en) | Qr code generation method and system | |
CN106202186A (en) | Service recommendation method based on artificial intelligence and device | |
US20170148117A1 (en) | Method, device, apparatus, and nonvolatile computer storage medium for menu data processing | |
KR20190094579A (en) | Method for online order and delivery management system at stadium or venue | |
CN105530149B (en) | It is a kind of for provide control household appliance scheme method and apparatus | |
CN105162697A (en) | Microblog system and data control method thereof | |
CN109189502A (en) | A kind of message treatment method and relevant device based on instant messaging public platform | |
US20120330914A1 (en) | Server, inter-business enterprise information control method and computer program | |
US20140289832A1 (en) | System, Method, And Apparatus For Using A Virtual Bucket To Transfer Electronic Data | |
KR20160115771A (en) | Scheduled event venue deciding method, and server for implementing the same | |
CN104616218A (en) | Ordering system and ordering method capable of referring to menu of nearby table | |
JP2009122769A (en) | Store management system and store management method | |
CN102103606A (en) | Technology for realizing advanced search of commodities on mobile phone client | |
CN106407480A (en) | Information search method and system | |
CN110609884A (en) | Data control method and device of online game based on geographic position service | |
JP6887153B2 (en) | Shopping support system | |
CN109816887A (en) | A kind of cashing method based on intelligent cabinet, device, equipment and storage medium | |
KR20130045675A (en) | Electric menu system having function of proceding meeting and ordering service method using electric menu |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130814 |