CN107889083A - A kind of meal ordering system and its method for routing - Google Patents

A kind of meal ordering system and its method for routing Download PDF

Info

Publication number
CN107889083A
CN107889083A CN201711082038.8A CN201711082038A CN107889083A CN 107889083 A CN107889083 A CN 107889083A CN 201711082038 A CN201711082038 A CN 201711082038A CN 107889083 A CN107889083 A CN 107889083A
Authority
CN
China
Prior art keywords
node
network
ordering
terminal
router
Prior art date
Application number
CN201711082038.8A
Other languages
Chinese (zh)
Inventor
王智文
李陟
Original Assignee
广西科技大学
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 广西科技大学 filed Critical 广西科技大学
Priority to CN201711082038.8A priority Critical patent/CN107889083A/en
Publication of CN107889083A publication Critical patent/CN107889083A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Abstract

The invention discloses a kind of meal ordering system and its method for routing, meal ordering system includes coordinator node;At least one router node, communicated with the telegon by ZigBee-network;At least one terminal of ordering, is communicated with the router by ZigBee-network;At least one report dish terminal, is communicated with the router by ZigBee-network;The coordinator node, router node, terminal of ordering, report dish terminal form umbrella network, and the summit of the umbrella network is the coordinator node, and the router node, terminal of ordering, report dish terminal are set along the umbrella network wire side.The simple system of the present invention easily manipulates, and has saved labor cost.

Description

A kind of meal ordering system and its method for routing

Technical field

The present invention relates to the communications field, particularly a kind of meal ordering system and its method for routing.

Background technology

Instantly food management system main flow is still touch-screen+server mode.In such a mode, Self-service order system Data upload and download is to pass through wired network.In the terminal of the food management system of the type, it is formed mainly is touched by multiple Based on control screen, and its master server and LAN communicate, and using touch screen, inquiry can be provided for client, is ordered etc. and be self-service Function, dining terminate after can self-clearing.But in this mode, its weak point, it is mainly reflected in three following sides Face:(1) touch screen volume is big, and cost is big;(2) touch screen terminal quantity deficiency, if customer is relatively more, just occur that customer arranges The situation of the touch screen to be used such as team so that clearing are crowded, it is also possible to cause customer to have dinner mood variation even influence customer just After the meal to the satisfaction in restaurant;(3) touch screen and server are by the way of wired connection, and installation and wiring problems faced are very It is more, it is impossible to convenient use.There is a kind of meal ordering system by being wirelessly transferred in present food and drink, it is also desirable to specific equipment, touch Control screen and server, will also arrange special service person.When client needs to make a reservation, there is assistant director to be waited upon on side, if this Part can not meet that client is typically to order, and is ordered compared to traditional, no special feature of ordering of such a pattern, in people Need to improve in work clothes business.

The content of the invention

The technical problems to be solved by the invention are, in view of the shortcomings of the prior art, providing a kind of meal ordering system and its route Method, labour cost is reduced, save labor cost.

In order to solve the above technical problems, the technical solution adopted in the present invention is:A kind of meal ordering system, including:

Coordinator node;

At least one router node, communicated with the telegon by ZigBee-network;

At least one terminal of ordering, is communicated with the router by ZigBee-network;

At least one report dish terminal, is communicated with the router by ZigBee-network;

The coordinator node, router node, terminal of ordering, report dish terminal form umbrella network, the umbrella network Summit is the coordinator node, and the router node, terminal of ordering, report dish terminal are set along the umbrella network wire side.

The meal ordering system of the present invention also includes host computer, the terminal of ordering, report dish terminal by ZigBee-network and The host computer communication.

The router node of the present invention is multiple, and multiple router nodes surround the coordinator node cloth Put.It is easy to cover whole dining room region.

Each router node terminal or reports dish terminal to communicate with least one described order.

Correspondingly, present invention also offers a kind of method for routing of meal ordering system, it comprises the following steps:

1) coordinator node starts first, and is in standby mode;

2) after forming a ZigBee-network based on coordinator node itself, router node starts, and search is existing Network, and send route requests and be grouped into the network, the information transfer in being grouped to the route requests is controlled, the road By device node after completing to receive packet, examined in time to destination node, judge whether the destination node is router Node, if so, then forwarding the route requests to be grouped;When destination node is descendant's node of the coordinator node, then give The surroundings nodes of the coordinator node forward the routing packets request, if the destination node is not router node or association Descendant's node of device node is adjusted, then stops sending route requests packet;After the address distribution of the network node, relaying is formed Routing node, retain in a network;

3) the peripherad network of terminal of ordering sends the request for establishing route, when time that can only receive a router node When multiple, this router node is just and coordinator node is built into routing relation, and data of ordering are sent to coordinator node, host computer To ordering, data are analyzed, and then analysis result is dealt into report dish terminal.

Compared with prior art, the advantageous effect of present invention is that:Using the meal ordering system of the present invention, user makes a reservation It is simple and easy, order is submitted without waiter, user orders ends, and just one key of energy gives upper computer end order transmission;ZigBee The wireless transmission function of technology is very outstanding, and communication protocol is also quite ripe, it can be ensured that the safety of information transfer and reliable; ZigBee can accurately check whether information is complete;The simple system of the present invention easily manipulates, and has saved labor cost, and simply Easily manipulation.

Brief description of the drawings

Fig. 1 is meal ordering system Node distribution situation of the present invention;

Fig. 2 is telegon of the present invention and via node initialization flowchart;

Fig. 3 is telegon workflow diagram of the present invention;

Fig. 4 is the hand-held terminal works flow chart of ordering of the present invention.

Embodiment

Meal ordering system of the present invention mainly has:Host computer, wireless handheld are ordered terminal, kitchen report dish terminal and relay router Four kinds of hardware devices.It is all a type of node that these four hardware devices are every kind of in the topological structure of route network, due to Different equipment each plays different functions in the operation of meal ordering system, so the function needed for different types of node Also it is not near identical.Such as maincenter-telegon of whole network needs to distribute network address for each equipment at work, together When also need to carry out the arrangements of data, be that data send and received a point of maximum flow in whole network, so the node Full-function device (FFD) should be selected.Wireless handheld machine for ordering dishes is taken an examination due to being limited by the energy content of battery is limited in design Consider the factors such as power saving, its node application type is used as using function device (RFD) is simplified.Table 1 is corresponding for the hardware of four types Routing node device type.

The routing hardware node type of table 1 designs

Meal ordering system of the present invention according to the distribution situation of wireless terminal in dining room as shown in figure 1, can substantially obtain dining room The topological structure of routing nodes.

The present invention take AODVjr algorithms and Cluster_Tree routing algorithms strong point and and with it, effective constraint route transmission What RREQ was grouped in flow floods, and control itself can not communicate caused by because energy expenditure is excessive, network splits and the network longevity The appearance for the problems such as life is reduced.Therefore present invention uses tree network, overall structure is umbrella, and umbrella top is coordinator node, Umbrella cover is each child node downwards.It is designed to complete the information collected for sensor node, is connected and transmitted by wireless network To telegon and telegon the control terminal node opening imformation collection of control message and information transmission.For Cluster_Tree The utilization of routing algorithm, its stage be sensor node data bag to telegon, and for AODVjr utilization, its stage is association Adjust device node to terminal node, this stage characteristic be low in energy consumption.In addition, the information during AODVjr algorithms can be grouped to RREQ passes Defeated to be controlled, the child node on telegon, it timely can give core after completing to receive its packet to destination node Real, whether it is child node, forwarded so as to judge, however, when destination node is its descendant's node, should give week Enclose node and forward its packet, if do not performed, it, which is grouped, just terminates forwarding.

The actual conditions and work requirements ordered by analyzing in dining room, meal ordering system work of the present invention can be divided into as follows 3 stages.

(1) startup of coordinator node

It can be seen from ZigBee algorithms, when a certain node with routing function --- when RN+ nodes start, the node meeting Whether the ZigBee-network of already present same frequency range is had around automatic search, if in the presence of this node, which is sent, asks in net Network, after the permission of network coordinator and address distribution, turn into the node of the RN+ types in an existing network;If should Node searches for the ZigBee-network less than same frequency range within a period of time, then it is transformed into a telegon automatically, sets up certainly Oneself ZigBee-network, and wait the addition of other nodes.

In the present system, the coordinator node ordered starts first, because other networks are not present in surrounding, so the node Automatically coordinator node is promoted as, and is in standby mode.

(2) addition of via node

Via node, its type are RN+ classes, and it is route that it, which is acted on, after coordinator node startup, and form one and are based on After the ZigBee-network of its own, after via node starts, existing network can be searched for, and sends and asks in this network, via After the distribution of its address of node, transistroute node can be formed, is retained in a network, the overlay area of the network is just expanded Greatly, efficiently solve network range it is narrower when can not cover the weak point in whole dining room.

(3) order link

Send and establish after customer chooses vegetable waiter by equipment point list into dining room, in the peripherad network of machine for ordering dishes The request of route, when that can only receive the reply of via node, this node is just and telegon is built into routing relation, orders Data have been sent to telegon, and computer program is analyzed information, information is then dealt into kitchen specifically prepared for a meal and set In standby.Such as customer have selected pork braised in brown sauce and cake in certain is ordered, then waiter inputs the sequence of the vegetable in machine for ordering dishes Number, by via node, the information of ordering of customer is sent to telegon, by the analysis for program of ordering, respectively by rear Canton style roast pork The cook that kitchen is sent to cake prepares for a meal node and pastry chef prepares for a meal node, and is preparing for a meal in terminal by display or printing Machine is shown.If handheld terminal machine for ordering dishes is in new number public coverage of multiple via nodes, now machine for ordering dishes meeting Multiple requests that network are received, machine for ordering dishes node is after first RREP is received, tissue and the route networking, while abandon it immediately The RREP of his routing node.The relay router that working method can be chosen as far as possible closely in this sets up section as its route Point.

Claims (5)

  1. A kind of 1. meal ordering system, it is characterised in that including:
    Coordinator node;
    At least one router node, communicated with the telegon by ZigBee-network;
    At least one terminal of ordering, is communicated with the router by ZigBee-network;
    At least one report dish terminal, is communicated with the router by ZigBee-network;
    The coordinator node, router node, terminal of ordering, report dish terminal form umbrella network, the summit of the umbrella network For the coordinator node, the router node, terminal of ordering, report dish terminal are set along the umbrella network wire side.
  2. 2. meal ordering system according to claim 1, it is characterised in that also whole including host computer, the terminal of ordering, report dish End is communicated by ZigBee-network with the host computer.
  3. 3. meal ordering system according to claim 1, it is characterised in that the router node is multiple, and multiple described Router node is arranged around the coordinator node.
  4. 4. meal ordering system according to claim 3, it is characterised in that each router node with it is at least one described Terminal of ordering or the terminal communication of report dish.
  5. 5. the method for routing of one of a kind of Claims 1 to 4 meal ordering system, it is characterised in that comprise the following steps:
    1) coordinator node starts first, and is in standby mode;
    2) after forming a ZigBee-network based on coordinator node itself, router node starts, and searches for existing network, And send route requests and be grouped into the network, the information transfer in being grouped to the route requests is controlled, the router Node is examined to destination node after completing to receive packet, judges whether the destination node is router node in time, If so, the route requests are then forwarded to be grouped;When destination node is descendant's node of the coordinator node, then to the association The surroundings nodes of device node are adjusted to forward the routing packets request, if the destination node is not router node or telegon section Descendant's node of point, then stop sending route requests packet;After the address distribution of the network node, transistroute section is formed Point, is retained in a network;
    3) the peripherad network of terminal of ordering sends the request for establishing route, when the reply that can only receive a router node When, this router node is just and coordinator node is built into routing relation, and data of ordering are sent to coordinator node, host computer pair Data of ordering are analyzed, and then analysis result is dealt into report dish terminal.
CN201711082038.8A 2017-11-07 2017-11-07 A kind of meal ordering system and its method for routing CN107889083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711082038.8A CN107889083A (en) 2017-11-07 2017-11-07 A kind of meal ordering system and its method for routing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711082038.8A CN107889083A (en) 2017-11-07 2017-11-07 A kind of meal ordering system and its method for routing

Publications (1)

Publication Number Publication Date
CN107889083A true CN107889083A (en) 2018-04-06

Family

ID=61779124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711082038.8A CN107889083A (en) 2017-11-07 2017-11-07 A kind of meal ordering system and its method for routing

Country Status (1)

Country Link
CN (1) CN107889083A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631392A (en) * 2008-07-17 2010-01-20 上海亿脉网络科技有限公司 Control device and control method for heterogeneous wireless network convergence in gateway device
CN201897884U (en) * 2010-11-25 2011-07-13 山西大学 Intelligent parking lot management device based on ZigBee wireless sensor network
CN202084040U (en) * 2011-05-06 2011-12-21 肖明 Wireless self-service order system based on ARM and Zigbee network
CN102325386A (en) * 2011-05-06 2012-01-18 肖明 Wireless self-service ordering system and method based on ARM (Advanced RISC (Reduction Instruction Set Computer) Machine) and ZigBee network
CN102664962A (en) * 2012-05-11 2012-09-12 山东轻工业学院 Dynamic node identity implementing method and system for wireless measurement and control network based on ZigBee
CN103344994A (en) * 2013-06-07 2013-10-09 中国地质大学(武汉) Distributed transient electromagnetic data acquisition system based on wireless sensor network
CN103442370A (en) * 2013-08-27 2013-12-11 西安嵌牛电子科技有限公司 ZigBee networking system and networking method
CN206196060U (en) * 2016-11-10 2017-05-24 贵州大学 Laboratory environment monitoring system based on zigBee technique

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631392A (en) * 2008-07-17 2010-01-20 上海亿脉网络科技有限公司 Control device and control method for heterogeneous wireless network convergence in gateway device
CN201897884U (en) * 2010-11-25 2011-07-13 山西大学 Intelligent parking lot management device based on ZigBee wireless sensor network
CN202084040U (en) * 2011-05-06 2011-12-21 肖明 Wireless self-service order system based on ARM and Zigbee network
CN102325386A (en) * 2011-05-06 2012-01-18 肖明 Wireless self-service ordering system and method based on ARM (Advanced RISC (Reduction Instruction Set Computer) Machine) and ZigBee network
CN102664962A (en) * 2012-05-11 2012-09-12 山东轻工业学院 Dynamic node identity implementing method and system for wireless measurement and control network based on ZigBee
CN103344994A (en) * 2013-06-07 2013-10-09 中国地质大学(武汉) Distributed transient electromagnetic data acquisition system based on wireless sensor network
CN103442370A (en) * 2013-08-27 2013-12-11 西安嵌牛电子科技有限公司 ZigBee networking system and networking method
CN206196060U (en) * 2016-11-10 2017-05-24 贵州大学 Laboratory environment monitoring system based on zigBee technique

Similar Documents

Publication Publication Date Title
US9693217B2 (en) Method, apparatus, and computer program product for service discovery proxy for wireless communication
US20200244297A1 (en) Wireless Coded Communication (WCC) Devices with Power Harvesting Power Sources
CN103365269B (en) Based on intelligent appliance multi-mode long distance control system and the method for wireless sense network
CN105559753B (en) Portable wireless biometric device is synchronous
CN105917626B (en) The method and apparatus for controlling peripheral equipment by social network-i i-platform
CN103825954B (en) A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
CN104471427B (en) The home network of the consumption device of connection
CN104394044B (en) The method and apparatus of self-defined smart machine scene mode
CN105046935B (en) A kind of bimodulus heterogeneous communication system wireless based on low-voltage power line and micropower
JP5826288B2 (en) Method and apparatus for automatically determining a community of interest based on context information using an ad hoc mesh network
CN106792888B (en) A kind of method for wireless communication networking and device based on information Perception
CN101529809B (en) Distributed storage of routing information in a link state protocol controlled network
CN106574782B (en) Household electrical appliance, mobile computer device and between them data communication method
CN103001887B (en) A kind of link keep-alive method, controller and interchanger
CN104717279A (en) Method and apparatus for service discovery in wireless short-range communication
CN103559636B (en) Restaurant management system based on cloud computing and intelligent analysis
CN105357629A (en) Method and device used for binding mobile terminal with intelligent household electrical appliance
CN104935625B (en) The method and system of service are found in Enterprise SOA (SOA) network
CN103209498B (en) The method of WiFi simulation focus MANET
CN105788206A (en) Electricity information acquisition system based on dual-mode communication and method thereof
CN102300229B (en) Self-organized wireless local area network and realization method thereof
CN101459870B (en) Indoor positioning system based on wireless sensor network and implementing method
CN106537878B (en) Private content distributed network
JP4084987B2 (en) Access point selection device
CN108028859A (en) The topological structure formed by electronics nicotine conveying equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406

RJ01 Rejection of invention patent application after publication