Realize the method for wireless points list by wifi
[technical field]
The present invention relates to the communications field, particularly a kind of method that realizes the wireless points list by wifi.
[background technology]
The application of wireless network communication technique not only is confined to allow the handheld device access network, and more application can also be arranged, and one of them application can realize Long-distance Control exactly.
At present, in KTV box place, requesting song and the single operation of drinks point all concentrate on the station of ordering songs.When the user needs requesting song, drinks point list or service request, must the station of ordering songs free time such as grade the operation that just can want, just there is such problem in this: one, when the people is many, drinks point list or request service also will be lined up, and can not in time finish a single operation; Two, which station of ordering songs must be gone to and where remove to order drinks at, is subject to the constraint of distance;
The continuous popularization of using along with radio network technique and with the rise of the handheld device of wifi function the present invention proposes and utilizes radio function, realizes the single function of wireless points, makes drinks point in the box monotropic and service request is more convenient.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of and realizes the method for wireless points list by wifi, and it has solved the at any time problem of the single and proposition service request of drinks point of user.
The present invention is achieved in that
Method by wifi realization wireless points list comprises the steps:
Step 10, support the wifi function handheld device by wifi from the server download menu;
Step 20, consumer send point single request by handheld device to server according to described menu; Comprise menu data in described single request;
After step 30, described server are received described single request, resolve described single request, and carry out corresponding operation according to a content of single request.
Further, described menu data is the drinks name of an article, the single umber of point and some single port flavor;
Described step 30 is specially: after described server is received described single request, resolve described single request, and the menu data in the single request of this point inserted in the database of described server, send the request of product by network service to the product system simultaneously, described product request comprises described menu data;
Also comprise after the described step 30:
After the request of product is received by step 40, described product system, carry out the operation of producing, thereby realized by the wifi wireless points single.
Further, described menu data is service order; Described step 30 is specially: after described server is received described single request, resolve described single request, and carry out corresponding operation.
Further, described service order comprises the query requests agreement, the described query requests agreement of described server parses, and Query Result is back to handheld device; The content of described query requests agreement comprises that box puts discounting and favor information that single details or KTV place are released.
Further, described step 10 is specially: at first, the handheld device of support wifi function is set up physical communication by wifi with wireless router and is connected, and access to LAN, secondly, described server also accesses described local area network (LAN), described handheld device be connected server and set up network service socket and connect, then handheld device from the server download menu, guarantees being consistent on menu on the handheld device and the server by wifi.
Further, described handheld device be connected server and set up network service socket by the IP address of server and connect.
Further, described step 20 is specially: the consumer sends point single request by handheld device to server according to described menu, and described handheld device is to connect to server by socket to send the single request of point, comprises menu data in described single request.
Further, described step 40 is specially: described product system also sets up network service socket with described server and is connected, and the request of real-time listening server, in case listened to the request of product, after then receiving the request of product, and carry out the operation of producing, thereby realized by the wifi wireless points single.
Further, described handheld device comprises mobile phone, panel computer, notebook, the net book of supporting the wifi function.
The present invention has following advantage: utilize wifi to realize the long-range drinks point list of handheld device and remote service request, allow the consumer in ktv box place, break away from the constraint of distance, can utilize handheld device just can carry out drinks point list and request service in any corner, more convenient.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is schematic flow sheet of the present invention.
Fig. 2 is the present device connection diagram.
Fig. 3 is the schematic flow sheet of the present invention as an example of IPAD example.
[embodiment]
See also Fig. 1 and Fig. 2, the method by wifi realizes the wireless points list comprises the steps:
Step 10, support the wifi function handheld device by wifi from the server download menu; Described handheld device comprises mobile phone, panel computer, notebook, the net book of supporting the wifi function;
Step 20, consumer send point single request by handheld device to server according to described menu; Comprise menu data in described single request; Described menu data comprises the drinks name of an article, puts single umber, puts single port flavor and service order;
After step 30, described server are received described single request, resolve described single request, and carry out corresponding operation according to a content of single request;
When described menu data is the drinks name of an article, puts single umber, some single port when flavor,
Described step 30 is specially: after described server is received described single request, resolve described single request, and the menu data in the single request of this point inserted in the database of described server, send the request of product by network service to the product system simultaneously, described product request comprises described menu data;
Also comprise after the described step 30:
After the request of product is received by step 40, described product system, carry out the operation of producing, thereby realized by the wifi wireless points single.Described product system also sets up network service socket with described server and is connected, and the request of real-time listening server, in case listened to the request of product, then receive the request of product after, and carry out the operation of producing, thereby realized by the wifi wireless points single.
When described menu data is service order,
Described step 30 is specially: after described server is received described single request, resolve described single request, and carry out corresponding operation.
When described service order is the query requests agreement, the described query requests agreement of described server parses, and Query Result is back to handheld device; The content of described query requests agreement comprises that box puts discounting and favor information that single details or KTV place are released.
See also Fig. 3, existing take IPAD as example illustrates implementation procedure of the present invention, described IPAD is for supporting the handheld device of wifi function.
Described step 10 is specially: at first, IPAD sets up physical communication by wifi with wireless router and is connected, and access to LAN, secondly, described server also accesses described local area network (LAN), described IPAD be connected server and set up network service socket and connect, then IPAD from the server download menu, guarantees being consistent on menu on the IPAD and the server by wifi; Described IPAD be connected server and set up network service socket by the IP address of server and connect;
Described step 20 is specially: the consumer sends point single request by IPAD to server according to described menu, and described IPAD connects to server by socket to send the single request of point, comprises menu data in described single request;
After step 30, described server are received described single request, resolve described single request;
If the drinks name of an article, put single umber, some single port flavor, then the menu data that this point is single in asking is inserted in the database of described server, like this can keeping records, for handheld device provides query manipulation; Send the request of product by network service to the product system simultaneously, described product request comprises described menu data;
Described step 40 is specially: described product system also sets up network service socket with described server and is connected, and the request of real-time listening server, in case listened to the request of product, after then reception is produced and is asked, and carry out the operation of producing, thereby realized by the wifi wireless points single.
If service order, then the service order content is carried out corresponding operation more; When service order is the query requests agreement, server is back to IPAD with the Query Result of query requests agreement; The content of described query requests agreement is discounting and the favor information that box is put single details or the release of KTV place.
The present invention has following advantage: utilize wifi to realize the long-range drinks point list of IPAD and remote service request, allow the consumer in ktv box place, break away from the constraint of distance, can utilize IPAD just can carry out drinks point list and request service in any corner, more convenient.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.