CN104506627B - A kind of deskmate dining more plates of personnel method for ordering and system simultaneously - Google Patents

A kind of deskmate dining more plates of personnel method for ordering and system simultaneously Download PDF

Info

Publication number
CN104506627B
CN104506627B CN201410823885.5A CN201410823885A CN104506627B CN 104506627 B CN104506627 B CN 104506627B CN 201410823885 A CN201410823885 A CN 201410823885A CN 104506627 B CN104506627 B CN 104506627B
Authority
CN
China
Prior art keywords
plate
table number
wifi
menu
dishes
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.)
Active
Application number
CN201410823885.5A
Other languages
Chinese (zh)
Other versions
CN104506627A (en
Inventor
余建成
解玉芳
洪志新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaxon Networks Co Ltd
Original Assignee
Xiamen Yaxon Networks Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN201410823885.5A priority Critical patent/CN104506627B/en
Publication of CN104506627A publication Critical patent/CN104506627A/en
Application granted granted Critical
Publication of CN104506627B publication Critical patent/CN104506627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of deskmate dining more plates of personnel method for ordering simultaneously, by a plate by the one wifi hotspot service of creation of practical table number, then the wifi hotspot service is added in other plates, forms the local communication network centered on table number;During ordering dishes increase menu, modification menu, the information for deleting menu and order placement information can between each plate in same local communication network fast multicast, so that same table dining personnel be enable to check and modify mutually operation;After ordering dishes, by selecting to place an order on a wherein plate, data are submitted to background system.The present invention is not necessarily to pass through intranet or internet channel, without passing through background synchronization Cloud Server, synchronize same table course menu of ordering dishes quickly very well, companion is set quickly to see other people situation of ordering dishes, it oneself can also order and place an order simultaneously, solve the problems, such as the more people of a table while ordering dishes.

Description

A kind of deskmate dining more plates of personnel method for ordering and system simultaneously
Technical field
The present invention relates to a kind of method for ordering and systems.
Background technique
Plate, which is ordered, at present is widely used in the management of dining room, facilitates the publication of restaurant menus, updates, what customer ordered Convenience.However current meal ordering system largely only addresses only the function of traditionally on paper menu, functions only as electronic menu Effect.It is experienced without too many substantive raising, simultaneously especially for the multiple guests of same table for what customer side ordered dishes The problem of ordering does not have very good solution, or is ordered dishes using other people, the way that a plate places an order, other people can not be same Step sees the menu put, and places an order on the plate of oneself, modifies menu.
As disclosed in 2013.02.06, the Chinese invention of Publication No. CN102915517A discloses a kind of based on plate electricity The Self-service order system of brain and wireless local area, wherein include: client modules, message processing module of ordering, wireless local area Module.Although the invention solves current treasured of ordering dishes there is still a need for the one-to-one service of waiter, labor intensive is not got rid of The problem of traditional menu mode, but the effect of electronic menu is still functioned only as, it cannot achieve the same time point of the multiple guests of same table Meal.
Summary of the invention
One of the technical problem to be solved in the present invention is to provide a kind of more plates of deskmate dining personnel while the side to order Method, without by intranet or internet channel, without by background synchronization Cloud Server, making same table order dishes process dish List can be synchronized quickly very well, so that companion is quickly seen other people situation of ordering dishes, while oneself can also order down It is single, it solves the problems, such as the more people of a table while ordering dishes.
One of the technical problem to be solved in the present invention is achieved in that a kind of more plates of deskmate dining personnel while ordering Method, it is characterised in that: by a plate by practical table number create a wifi hotspot service, then by other plates be added this Wifi hotspot service forms the local communication network centered on table number;Increase menu during ordering dishes, modification menu, Delete menu information and order placement information can between each plate in same local communication network fast multicast, to make same One table dining personnel can check and modify mutually operation;After ordering dishes, by selecting to place an order on a wherein plate, data are mentioned It is sent to background system.
Further, the method specifically includes following steps:
(1) when waiter opens table, table is carried out out according to table number, if the plate not yet accesses hot spot, but passes through 3G net Network connects Cloud Server, then generates a hotspot name according to rule predetermined, and with the hotspot name and system configuration Password, create a wifi hotspot service, obtain local wifi network card ip, creation is generated with 4 digits of table number coding mapping Port numbers, and udp broadcast listening service is created, and prompt to open table success;If the plate has passed through the local working heat of access Spot net connection Cloud Server works, and the hot spot is effective local hot spot, then with 4 digit ends of table number coding mapping Slogan, directly creation udp broadcast listening service, while the local address wifi network card ip is obtained, and prompt to open table success;
(2) after opening table success, the hotspot name for reporting out table plate to use is to Cloud Server, if foreground is ordered dishes, plate is The hot spot oneself built then reports oneself the machine hotspot name, if it is the work wifi hotspot for using dining room, then reports certainly The work wifi hotspot title that oneself is connected is added the same hot spot of deskmate plate addition for other and emerges multicast services;
(3) when same table guest needs to order together using other plate addition at this time, other at this by waiter The table number to be added is selected on plate, clicks and is added, into next step;
(4) corresponding 4 digit is generated according to the table number mapping chosen and monitors the port numbers serviced, judgement as udp broadcast Network wifi open state, if the wifi has turned on, and the wifi hotspot connected is the hotspot name of corresponding table number, then obtains The local address network interface card dynamic ip is taken, and creates the service of udp broadcast listening with 4 digit port numbers of table number coding mapping, and prompt Desk success is added;If wifi is not yet turned on or not yet connects active block, initializes wifi and reopens wifi, And hotspot name is generated with the table number for the addition chosen, the Dynamic link library wifi hotspot title, password system is preconfigured Password;If the hot spot Dynamic link library for connecting the table number is unsuccessful, the hotspot name which is added table number needs to take from cloud The wifi point title that business device obtains, the plate for connecting and opening table according to hotspot name form same local area network communication network;If Hot spot success is connected, then obtains local network interface card dynamic ip, and the 4 digit port numbers generated using the addition table number, creation udp is wide Monitoring service is broadcast, and prompts that desk success is added;
(5) table is opened if needing to be added there are also other plates, repeatedly step (3) ~ (4);Wifi so by establishing The listening port that connection and table number generate, forms the local communication network centered on table number;When user orders dishes, in menu Before placing an order, menu information is entirely localized in the local communication network of this table, is synchronized merely with the local communication network, When wherein a plate selection places an order, data are submitted to background system by meeting, while issuing lower single synchronization notice information, and notice is together The update of other plates of table is ordered dishes as tapeout state.
Further, the synchronization before menu places an order in the step (5) is specifically:
(51) when one of plate ordered dishes, modify order dishes, delete ordered dishes when, the machine ip for being obtained according to the machine Address forms the LAN broadcast address of xxx.xxx.xxx.255, and the port numbers generated with the table table number, sends the port Increase menu, modification menu, delete menu information broadcast;
(52) udp broadcast listening service of the plate of other same tables due to having been set up the port in advance, then can stand Quarter receives synchronizing information, updates local menu list;If it is have begun order dishes after the plate that is added, then need root After localized network success is added, an initialization is requested to put information request, so that the plate being added will receive menu Latest update information conveniently checks the vegetable that others has selected so that menu is synchronous for holding;To realize synchronization.
The second technical problem to be solved by the present invention, be to provide a kind of more plates of deskmate dining personnel and meanwhile what is ordered be System, without by intranet or internet channel, without by background synchronization Cloud Server, making same table order dishes process dish List can be synchronized quickly very well, so that companion is quickly seen other people situation of ordering dishes, while oneself can also order down It is single, it solves the problems, such as the more people of a table while ordering dishes.
The second technical problem to be solved by the present invention is achieved in that a kind of more plates of deskmate dining personnel while ordering System, by a plate by practical table number creation one wifi hotspot service, the hot spot can be this plate hot spot or It is other wifi hotspots of dining room deployment, then the wifi hotspot service is added in other plates, forms centered on table number Local communication network;Increasing menu, modification menu, the information of deletion menu and order placement information during ordering dishes can be same Fast multicast between each plate in local communication network, so that same table dining personnel be enable to check and modify mutually operation;Point After dish, by selecting to place an order on a wherein plate, data are submitted to background system.
Further, present system specifically includes:
Table module is opened, when opening table for waiter, table is carried out out according to table number, if the plate not yet accesses hot spot, and It is that Cloud Server is connected by 3G network, then generates a hotspot name according to rule predetermined, and with the hotspot name With the password of system configuration, a wifi hotspot service is created, on plate service routine, obtains local wifi network card ip, wound Generation is built with 4 digit port numbers of table number coding mapping, and creates udp broadcast listening service, and prompts to open table success;If should Plate has passed through the local work hot spot networks connection Cloud Server of access and has worked, and the hot spot is this effective underground heat Point then with 4 digit port numbers of table number coding mapping, directly creation udp broadcast listening service, while obtaining local wifi network card The address ip, and prompt to open table success;
Reporting module, after opening table success, the hotspot name for reporting out table plate to use is to Cloud Server, if foreground Plate of ordering dishes is the hot spot oneself built, then reports oneself the machine hotspot name, if it is the work wifi heat for using dining room Point then reports the work wifi hotspot title oneself connected;
Flat sheet mould is added, when needing to order together using other plate addition for same table guest, by waiter The table number to be added is selected on the other plate, is clicked and is added;Then corresponding 4 are generated according to the table number mapping chosen Number monitors service as udp broadcast, judges network wifi open state, if the wifi has turned on, and the wifi heat connected Point is the hotspot name of corresponding table number, then obtains the local address network interface card dynamic ip, and with 4 digit port numbers of table number coding mapping The service of udp broadcast listening is created, and prompts that desk success is added;If wifi is not yet turned on or not yet connects effective net Network then initializes wifi and reopens wifi, and generates hotspot name, Dynamic link library wifi heat with the table number for the addition chosen Point title, the preconfigured password of password system;If the hot spot Dynamic link library for connecting the table number is unsuccessful, need to pass through Table number obtains the hotspot name that the table number is used from Cloud Server and is attached, and produces after successful connection and using the addition table number 4 raw digit port numbers create the service of udp broadcast listening, and prompt that desk success is added;If connecting hot spot success, obtain Local network interface card dynamic ip, and the 4 digit port numbers generated using the addition table number are taken, create the service of udp broadcast listening, and prompt Desk success is added;The listening port so generated by the wifi connection established and table number, forms centered on table number Local communication network;
Synchronization module, when user orders dishes, before menu places an order, menu information is entirely localized at the local communication of this table It in network, is synchronized merely with the local communication network, when wherein a plate selection places an order, data are submitted to backstage by meeting System, while lower single synchronization notice information is issued, notice other plates of deskmate update is ordered dishes as tapeout state.
Further, the synchronization in the synchronization module before menu places an order is specifically:
When one of plate ordered dishes, modify order dishes, delete ordered dishes when, the machine ip for being obtained according to the machine Location forms the LAN broadcast address of xxx.xxx.xxx.255, and the port numbers generated with the table table number, sends the port " dishes ordering information ", " modification is ordered dishes ", " deletion has been ordered dishes " broadcast;The plate of other same tables due to having been set up the end in advance The udp broadcast listening service of mouth, then can receive synchronizing information at once, update local menu list;If it is Start the plate being added after ordering dishes, then after needing according to localized network success is added, an initialization is requested to put information request, from And the plate being added will receive the information of menu latest update, so that menu is synchronous for holding, conveniently check that others orders Vegetable;To realize synchronization.
It orders simultaneously the present invention has the advantage that the deskmate dining more plates of personnel can be achieved in the present invention, makes same table point Dish course menu can be synchronized quickly very well, so that companion is quickly seen other people situation of ordering dishes, while oneself can also It is placed an order with ordering, and title and dynamic acquisition technology, wifi dynamic group net technology, local cast communication is named by wifi hotspot Technology to realize the synchronization of local dishes ordering information, and is not entirely dependent on backstage Cloud Server, compares and passed through using traditional Backstage Cloud Server carries out drawing synchronization, speed faster, delay it is short, availability is stronger.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flow chart of the method for the present invention.
Fig. 2 is present system logical construction block diagram.
Specific embodiment
The invention solves deskmate dining the more plates of personnel simultaneously method for ordering, be by a plate by practical table number A wifi hotspot service is created, then the wifi hotspot service is added in other plates, forms the part centered on table number Communication network;Increase menu, modification menu, the information of deletion menu and order placement information during ordering dishes can be in same offices Fast multicast between each plate in portion's communication network, so that same table dining personnel be enable to check and modify mutually operation;It orders dishes After, by selecting to place an order on a wherein plate, data are submitted to background system.
As shown in Figure 1, the method specifically includes following steps:
(1) when waiter opens table, table is carried out out according to table number, if the plate not yet accesses hot spot, but passes through 3G net Network connects Cloud Server, then generates a hotspot name according to rule predetermined, and with hotspot name (such as hotspot name Naming method: table+ desk title, the desk title are unique in systems) and system configuration password, create one Wifi hotspot service obtains local wifi network card ip, and creation is generated with 4 digit port numbers of table number coding mapping, and creates udp Broadcast listening service, and prompt to open table success;If the plate has passed through the local work hot spot networks connection cloud service of access Device works, and the hot spot is effective local hot spot, then with 4 digit port numbers of table number coding mapping, (port needs to protect Demonstrate,prove the port numbers that different table number mappings generate not repeat, using Hash mapping), directly creation udp broadcast listening service obtains simultaneously The local address wifi network card ip is taken, and prompts to open table success;
(2) after opening table success, the hotspot name for reporting out table plate to use is to Cloud Server, if foreground is ordered dishes, plate is The hot spot oneself built then reports oneself the machine hotspot name, if it is the work wifi hotspot for using dining room, then reports certainly The work wifi hotspot title that oneself is connected;
(3) when same table guest needs to order together using other plate addition at this time, other at this by waiter The table number to be added is selected on plate, clicks and is added, into next step;
(4) corresponding 4 digit is generated according to the table number mapping chosen and monitors the port numbers serviced, judgement as udp broadcast Network wifi open state, if the wifi has turned on, and the wifi hotspot connected is the hotspot name of corresponding table number, then obtains The local address network interface card dynamic ip is taken, and creates the service of udp broadcast listening with 4 digit port numbers of table number coding mapping, and prompt Desk success is added;If wifi is not yet turned on or not yet connects active block, initializes wifi and reopens wifi, And hotspot name is generated with the table number for the addition chosen, the Dynamic link library wifi hotspot title, password system is preconfigured Password;If the hot spot Dynamic link library for connecting the table number is unsuccessful, which needs to obtain the table number from Cloud Server Wifi point title;If connecting hot spot success, local network interface card dynamic ip, and 4 generated using the addition table number are obtained Number port numbers, create the service of udp broadcast listening, and prompt that desk success is added;Being due to table number is uniquely, to lead in systems It crosses using Hash mapping algorithm, to guarantee that the port numbers obtained are also unique.
(5) table is opened if needing to be added there are also other plates, repeatedly step (3) ~ (4);Wifi so by establishing The listening port that connection and table number generate, forms the local communication network centered on table number;When user orders dishes, in menu Before placing an order, menu information is entirely localized in the local communication network of this table, is synchronized merely with the local communication network, When wherein a plate selection places an order, data are submitted to background system by meeting, while issuing lower single synchronization notice information, and notice is together The update of other plates of table is ordered dishes as tapeout state.
The wherein synchronization before menu places an order in the step (5) is specifically:
(51) when one of plate ordered dishes, modify order dishes, delete ordered dishes when, the machine ip for being obtained according to the machine Address forms the LAN broadcast address of xxx.xxx.xxx.255, and the port numbers generated with the table table number, sends the port Increase menu, modification menu, delete menu information broadcast;
(52) udp broadcast listening service of the plate of other same tables due to having been set up the port in advance, then can stand Quarter receives synchronizing information, updates local menu list;If it is have begun order dishes after the plate that is added, then need root After localized network success is added, an initialization is requested to put information request, so that the plate being added will receive menu Latest update information conveniently checks the vegetable that others has selected so that menu is synchronous for holding;To realize synchronization.
Message synchronization process receives different desks, different types of menu information more new command in order to ensure that can identify, Message format definition need to be carried out to the udp broadcasting instructions of sending.Message format is as follows:
The system that the more plates of deskmate that the present invention wants dining personnel are ordered simultaneously, synchronizes the process of ordering dishes without passing through in enterprise Portion's net or internet channel, without by background synchronization Cloud Server, alloing same table order dishes course menu very well quickly It is synchronous, so that companion is quickly seen other people situation of ordering dishes, while oneself can also order and place an order, solves the more people of a table The problem of quick response of ordering dishes simultaneously.
The system that the deskmate dining more plates of personnel of the invention are ordered simultaneously, creates one by practical table number by a plate Wifi hotspot service, then the wifi hotspot service is added in other plates, form the local communication network centered on table number; Increasing menu, modification menu, the information of deletion menu and order placement information during ordering dishes can be in same local communication network In each plate between fast multicast, so that same table dining personnel be enable to check and modify mutually operation;After ordering dishes, by it In select to place an order on a plate, data are submitted to background system.
Present system specifically includes:
Table module is opened, when opening table for waiter, table is carried out out according to table number, if the plate not yet accesses hot spot, and It is that Cloud Server is connected by 3G network, then generates a hotspot name according to rule predetermined, and with the hotspot name With the password of system configuration, a wifi hotspot service is created, on plate service routine, obtains local wifi network card ip, wound Generation is built with 4 digit port numbers of table number coding mapping, and creates udp broadcast listening service, and prompts to open table success;If should Plate has passed through the local work hot spot networks connection Cloud Server of access and has worked, and the hot spot is this effective underground heat Point then with 4 digit port numbers of table number coding mapping, directly creation udp broadcast listening service, while obtaining local wifi network card The address ip, and prompt to open table success;
Reporting module, after opening table success, the hotspot name for reporting out table plate to use is to Cloud Server, if foreground Plate of ordering dishes is the hot spot oneself built, then reports oneself the machine hotspot name, if it is the work wifi heat for using dining room Point then reports the work wifi hotspot title oneself connected;
Flat sheet mould is added, when needing to order together using other plate addition for same table guest, by waiter The table number to be added is selected on the other plate, is clicked and is added;Then corresponding 4 are generated according to the table number mapping chosen Number monitors the port numbers of service as udp broadcast, judges network wifi open state, if the wifi has turned on, and connects Wifi hotspot be corresponding table number hotspot name, then obtain the local address network interface card dynamic ip, and with 4 of table number coding mapping Number port numbers create the service of udp broadcast listening, and prompt that desk success is added;If wifi is not yet turned on or not yet connects Active block then initializes wifi and reopens wifi, and generates hotspot name with the table number for the addition chosen, and Dynamic link library should Wifi hotspot title, the preconfigured password of password system;If the hot spot Dynamic link library for connecting the table number is unsuccessful, need The hotspot name that the table number is used is obtained from Cloud Server by table number to be attached, after successful connection and utilize the addition The 4 digit port numbers that table number generates create the service of udp broadcast listening, and prompt that desk success is added;If connect hot spot at Function then obtains local network interface card dynamic ip, and the 4 digit port numbers generated using the addition table number, creation udp broadcast listening clothes Business, and prompt that desk success is added;The listening port so generated by the wifi connection established and table number, forms with table number Centered on local communication network;
Synchronization module, when user orders dishes, before menu places an order, menu information is entirely localized at the local communication of this table It in network, is synchronized merely with the local communication network, when wherein a plate selection places an order, data are submitted to backstage by meeting System, while lower single synchronization notice information is issued, notice other plates of deskmate update is ordered dishes as tapeout state.
Further, the synchronization in the synchronization module before menu places an order is specifically:
When one of plate ordered dishes, modify order dishes, delete ordered dishes when, the machine ip for being obtained according to the machine Location forms the LAN broadcast address of xxx.xxx.xxx.255, and the port numbers generated with the table table number, sends the port " dishes ordering information ", " modification is ordered dishes ", " deletion has been ordered dishes " broadcast;The plate of other same tables due to having been set up the end in advance The udp broadcast listening service of mouth, then can receive synchronizing information at once, update local menu list;If it is Start the plate being added after ordering dishes, then after needing according to localized network success is added, an initialization is requested to put information request, from And the plate being added will receive the information of menu latest update, so that menu is synchronous for holding, conveniently check that others orders Vegetable;To realize synchronization.
As previously described: the present invention can be achieved the deskmate dining more plates of personnel and order simultaneously, and same table is made to order dishes course menu It can quickly synchronize very well, so that companion is quickly seen other people situation of ordering dishes, while oneself can also order and place an order, And title and dynamic acquisition technology, wifi dynamic group net technology, local cast communication technology, to realize are named by wifi hotspot The synchronization of local dishes ordering information, and it is not entirely dependent on backstage Cloud Server, it compares using traditional by backstage cloud service Device carries out drawing synchronization, speed faster, delay it is short, availability is stronger.
Although specific embodiments of the present invention have been described above, those familiar with the art should be managed Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is familiar with this The technical staff in field should be covered of the invention according to modification and variation equivalent made by spirit of the invention In scope of the claimed protection.

Claims (4)

1. a kind of deskmate dining more plates of personnel while method for ordering, it is characterised in that: created by a plate by practical table number A wifi hotspot service is built, then the wifi hotspot service is added in other plates, the part formd centered on table number is logical Communication network;Increase menu, modification menu, the information of deletion menu and order placement information during ordering dishes can be in same parts Fast multicast between each plate in communication network, so that same table dining personnel be enable to check and modify mutually operation;It has ordered dishes Data are submitted to background system by selecting to place an order on a wherein plate by Bi Hou;
Specifically comprise the following steps:
(1) when waiter opens table, table is carried out out according to table number, if the plate not yet accesses hot spot, but is connected by 3G network Cloud Server is connect, then generates a hotspot name according to rule predetermined, and with the close of the hotspot name and system configuration Code creates a wifi hotspot service, obtains local wifi network card ip, and creation is generated with 4 digit ports of table number coding mapping Number, and udp broadcast listening service is created, and prompt to open table success;If the plate has passed through the local work hot spot net of access Network connection Cloud Server works, and the hot spot is effective local hot spot, then with 4 digit ports of table number coding mapping Number, directly creation udp broadcast listening service, while the local address wifi network card ip is obtained, and prompt to open table success;
(2) after opening table success, the hotspot name for reporting out table plate to use is to Cloud Server, if foreground is ordered dishes, plate is oneself The hot spot built then reports oneself the machine hotspot name, if it is the work wifi hotspot for using dining room, then reports oneself institute The work wifi hotspot title of connection;
(3) when same table guest needs to order together using other plate addition at this time, by waiter in the other plate The upper selection table number to be added is clicked and is added, into next step;
(4) corresponding 4 digit is generated according to the table number mapping chosen and monitors the port numbers serviced as udp broadcast, judge network Wifi open state, if the wifi has turned on, and the wifi hotspot connected is the hotspot name of corresponding table number, then obtains this The ground address network interface card dynamic ip, and the service of udp broadcast listening is created with 4 digit port numbers of table number coding mapping, and prompt to be added Desk success;If wifi is not yet turned on or not yet connects active block, initializes wifi and reopen wifi, be used in combination The table number for the addition chosen generates hotspot name, the Dynamic link library wifi hotspot title, the preconfigured password of password system; If the hot spot Dynamic link library for connecting the table number is unsuccessful, it is that the wifi obtained from Cloud Server calls the roll which, which is added table number, Claim, needs to obtain the hotspot name that the table number is used from Cloud Server by table number;If connecting hot spot success, this is obtained Ground network interface card dynamic ip, and the 4 digit port numbers generated using the addition table number, create the service of udp broadcast listening, and prompt to be added Desk success;
(5) table is opened if needing to be added there are also other plates, repeatedly step (3) ~ (4);Wifi connection so by establishing The listening port generated with table number, forms the local communication network centered on table number;When user orders dishes, place an order in menu Before, menu information is entirely localized in the local communication network of this table, is synchronized merely with the local communication network, when it In the selection of plate place an order, data can be submitted to background system, while issuing lower single synchronization notice information, notice deskmate its He orders dishes as tapeout state in plate update.
2. a kind of deskmate dining more plates of personnel according to claim 1 while method for ordering, it is characterised in that: described The synchronization before menu places an order in step (5) is specifically:
(51) when one of plate ordered dishes, modify order dishes, delete ordered dishes when, the machine ip for being obtained according to the machine Location forms the LAN broadcast address of xxx.xxx.xxx.255, and the port signal communication generated with table table number mapping, sends The port increases menu, modification menu, the information broadcast for deleting menu;
(52) udp broadcast listening service of the plate of other same tables due to having been set up the port in advance, then can connect at once Synchronizing information is received, local menu list is updated;If it is have begun order dishes after the plate that is added, then need according to plus After entering localized network success, an initialization is requested to put information request, so as to will receive menu newest for the plate of addition More new information conveniently checks the vegetable that others has selected so that menu is synchronous for holding;To realize synchronization.
3. a kind of system that the deskmate dining more plates of personnel are ordered simultaneously, it is characterised in that: created by a plate by practical table number A wifi hotspot service is built, then the wifi hotspot service is added in other plates, the part formd centered on table number is logical Communication network;Increasing menu, modification menu, the information for deleting menu and order placement information during ordering dishes can be logical in same part Fast multicast between each plate in communication network, so that same table dining personnel be enable to check and modify mutually operation;It orders dishes and finishes Afterwards, by selecting to place an order on a wherein plate, data are submitted to background system;
It specifically includes:
Table module is opened, when opening table for waiter, table is carried out out according to table number, if the plate not yet accesses hot spot, but it is logical 3G network connection Cloud Server is crossed, then generates a hotspot name according to rule predetermined, and with the hotspot name and be The password under unified central planning set creates a wifi hotspot service, on plate service routine, obtains local wifi network card ip, creation life At with 4 digit port numbers of table number coding mapping, and udp broadcast listening service is created, and prompts to open table success;If the plate It connects Cloud Server by the local work hot spot networks of access to work, and the hot spot is effective local hot spot, then With 4 digit port numbers of table number coding mapping, the service of udp broadcast listening is directly created, while with obtaining local wifi network card ip Location, and prompt to open table success;
Reporting module, after opening table success, the hotspot name for reporting out table plate to use is to Cloud Server, if foreground is ordered dishes Plate is the hot spot oneself built, then reports oneself the machine hotspot name, if it is the work wifi hotspot for using dining room, then Report the work wifi hotspot title oneself connected;
Flat sheet mould is added, when needing to order together using other plate addition for same table guest, by waiter at this The table number to be added is selected on other plate, is clicked and is added;Then corresponding 4 digit is generated according to the table number mapping chosen to make The port numbers that service is monitored for udp broadcast, judge network wifi open state, if the wifi has turned on, and connect Wifi hotspot is the hotspot name of corresponding table number, then obtains the local address network interface card dynamic ip, and with 4 digits of table number coding mapping Port numbers create the service of udp broadcast listening, and prompt that desk success is added;If wifi is not yet turned on or has not yet connected Network is imitated, then initializes wifi and reopens wifi, and generate hotspot name with the table number for the addition chosen, Dynamic link library should Wifi hotspot title, the preconfigured password of password system;If the hot spot Dynamic link library for connecting the table number is unsuccessful, need The hotspot name that the table number is used is obtained from Cloud Server by table number to be attached, after successful connection and utilize the addition The 4 digit port numbers that table number generates create the service of udp broadcast listening, and prompt that desk success is added;If connect hot spot at Function then obtains local network interface card dynamic ip, and the 4 digit port numbers generated using the addition table number, creation udp broadcast listening clothes Business, and prompt that desk success is added;The listening port so generated by the wifi connection established and table number, forms with table number Centered on local communication network;
Synchronization module, when user orders dishes, before menu places an order, menu information is entirely localized at the local communication network of this table In, it is synchronized merely with the local communication network, when wherein a plate selection places an order, data can be submitted to backstage is System, while lower single synchronization notice information is issued, notice other plates of deskmate update is ordered dishes as tapeout state.
4. the system that a kind of deskmate dining more plates of personnel according to claim 3 are ordered simultaneously, it is characterised in that: described Synchronization in synchronization module before menu places an order is specifically:
When one of plate ordered dishes, modify order dishes, delete ordered dishes when, according to the address the machine ip that the machine obtains, shape At the LAN broadcast address of xxx.xxx.xxx.255, and the port numbers generated with the table table number, send " ordering dishes for the port Information ", " modification is ordered dishes ", " deletion has been ordered dishes " broadcast;
Udp broadcast listening service of the plate of other same tables due to having been set up the port in advance, then can receive at once Synchronizing information updates local menu list;If it is have begun order dishes after the plate that is added, then need according to addition office After the success of portion's network, an initialization is requested to put information request, so that the plate being added will receive menu latest update Information conveniently checks the vegetable that others has selected so that menu is synchronous for holding;To realize synchronization.
CN201410823885.5A 2014-12-26 2014-12-26 A kind of deskmate dining more plates of personnel method for ordering and system simultaneously Active CN104506627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410823885.5A CN104506627B (en) 2014-12-26 2014-12-26 A kind of deskmate dining more plates of personnel method for ordering and system simultaneously

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410823885.5A CN104506627B (en) 2014-12-26 2014-12-26 A kind of deskmate dining more plates of personnel method for ordering and system simultaneously

Publications (2)

Publication Number Publication Date
CN104506627A CN104506627A (en) 2015-04-08
CN104506627B true CN104506627B (en) 2019-07-02

Family

ID=52948342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410823885.5A Active CN104506627B (en) 2014-12-26 2014-12-26 A kind of deskmate dining more plates of personnel method for ordering and system simultaneously

Country Status (1)

Country Link
CN (1) CN104506627B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844553A (en) * 2016-03-26 2016-08-10 深圳市金立通信设备有限公司 Food order processing method and sever
CN106296482B (en) * 2016-08-04 2019-10-08 珠海优特智厨科技有限公司 A kind of desktop terminal
CN111523971A (en) * 2016-08-19 2020-08-11 北京三快在线科技有限公司 Purchasing operation sharing method and device
CN109087399B (en) * 2018-07-17 2024-03-01 上海游七网络科技有限公司 Method for rapidly synchronizing AR space coordinate system through positioning map
CN109447852A (en) * 2018-11-14 2019-03-08 浙江口碑网络技术有限公司 The treating method and apparatus and storage medium and electronic device for information of ordering

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540026A (en) * 2008-03-18 2009-09-23 杭州燧人信息技术有限公司 Internet-based catering and amusement management system and electronic menu and ordering method thereof
CN102156807A (en) * 2011-03-29 2011-08-17 丁卓 Electronic ordering system and electronic ordering method using same
CN102333086A (en) * 2011-09-22 2012-01-25 惠州Tcl移动通信有限公司 Self-service ordering system based on mobile terminals and realization method thereof
CN103312804A (en) * 2013-06-17 2013-09-18 华为技术有限公司 Screen sharing method, associated equipment and communication system
CN103366319A (en) * 2013-04-15 2013-10-23 东南大学 Restaurant electronic ordering method
CN103413256A (en) * 2013-08-16 2013-11-27 苏州客凯易科技有限公司 Electronic dish ordering system
CN103985046A (en) * 2014-04-18 2014-08-13 谭君 Intelligent terminal synergetic food ordering system and method based on two-dimension codes and NFC labels
CN104063819A (en) * 2013-06-10 2014-09-24 广州市沃希信息科技有限公司 Advance dish ordering method based on two-dimension codes, mobile terminal and server
CN104240160A (en) * 2013-06-13 2014-12-24 厦门动网网络科技有限公司 Cloud ordering system and ordering method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8635645B2 (en) * 2008-09-30 2014-01-21 Qualcomm Incorporated Apparatus and methods of providing and receiving venue level transmissions and services

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540026A (en) * 2008-03-18 2009-09-23 杭州燧人信息技术有限公司 Internet-based catering and amusement management system and electronic menu and ordering method thereof
CN102156807A (en) * 2011-03-29 2011-08-17 丁卓 Electronic ordering system and electronic ordering method using same
CN102333086A (en) * 2011-09-22 2012-01-25 惠州Tcl移动通信有限公司 Self-service ordering system based on mobile terminals and realization method thereof
CN103366319A (en) * 2013-04-15 2013-10-23 东南大学 Restaurant electronic ordering method
CN104063819A (en) * 2013-06-10 2014-09-24 广州市沃希信息科技有限公司 Advance dish ordering method based on two-dimension codes, mobile terminal and server
CN104240160A (en) * 2013-06-13 2014-12-24 厦门动网网络科技有限公司 Cloud ordering system and ordering method thereof
CN103312804A (en) * 2013-06-17 2013-09-18 华为技术有限公司 Screen sharing method, associated equipment and communication system
CN103413256A (en) * 2013-08-16 2013-11-27 苏州客凯易科技有限公司 Electronic dish ordering system
CN103985046A (en) * 2014-04-18 2014-08-13 谭君 Intelligent terminal synergetic food ordering system and method based on two-dimension codes and NFC labels

Also Published As

Publication number Publication date
CN104506627A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN104506627B (en) A kind of deskmate dining more plates of personnel method for ordering and system simultaneously
CN102882758B (en) Method, network side equipment and the data center apparatus of virtual private cloud access network
US9191378B2 (en) Communication apparatus and communication method
CN103078969B (en) A kind of mac address information notifying method and equipment
CN106060900A (en) Method and apparatus for controlling access to network slicing, terminal small cell and SDN controller
US9973399B2 (en) IPV6 address tracing method, apparatus, and system
CN102638470B (en) WIFI (wireless fidelity) internet surfing filtering method
CN102665216B (en) User authentication method for extensible and distributed wireless local area network (WLAN)
CN105025044A (en) Device control method and device control system
CN102075339A (en) VPN management platform, and implementation method and system for VPN service
CN106713084A (en) multi-gateway system of Internet of Things
CN106713039A (en) Method and device for identifying Ethernet ports and router
CN104539558A (en) Capacity-expansible IP telephone exchange blade mechanism frame and automatic capacity expansion method
CN105635335B (en) Social resources cut-in method, apparatus and system
CN108390774A (en) A kind of wide area network network-building method and system based on software definition
CN109218782B (en) Interactive television service opening method, device and system
CN103327008A (en) HTTP reorienting method and HTTP reorienting device
CN106302850B (en) A kind of authority's DNS method for optimizing configuration and device
CN104468543B (en) The access method and device of a kind of lan device
EP3744051A1 (en) Virtual tenant for multiple dwelling unit
CN105610669A (en) Address distribution method and device for Supervlan flattened network
CN106656566B (en) Third-party data source authentication network-accessing management method based on LDAP protocol
CN105119934A (en) Deployment method of virtual private network branch, headquarter equipment and branch equipment
CN104639520B (en) Online address style autocontrol method, system and radius server
CN104994071B (en) The backup method and device of broadband remote access server equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant