Intelligent Ordering System Development documentary 2-overall system structure and Business Process

Source: Internet
Author: User

1 Please see here http://blog.csdn.net/jason0539/article/details/20854329

 

I didn't write this before I wrote it. I just finished it a few days ago with a sense of novelty, and I didn't write anything else. I have finished it a few days ago. Today I need to write a document, after writing the document, I posted the part I wrote here. It was a bit cool and I had a word.

In fact, the overall process is described. The entire system is divided into four parts:

Car, mobile phone, cashier, kitchen.

The server writes two items and the cashier processes the phone connection, including Menu update and order processing,

The kitchen is used to handle the connection of the food delivery car. It is mainly used to send the table number to the car and send the meal to the designated table number.

Android is used for mobile phones, not to mention,

The Arduino of a vehicle is a module by module. You can connect the node program to process the data of each serial port.

 

Client: the app developed by ghost on Android platform. The main function is to connect to the WiFi signal of the restaurant after the app is opened in the restaurant, and query the menu by enabling a socket on the backend server, if this is the first time you open the menu, you will download all the menus. Otherwise, you will check whether the menu is updated. If the menu is updated, you will download the latest menu and store it in the application database, easy to view offline. in the application, you can select a key dish, fill in your table number, and then submit the order to send the order to the server.

 

Cashier: You can add, delete, modify, and query menus at the cashier. after the client application is opened, the client automatically connects to the cashier's server. The server starts a thread to process the client's requests. The server makes a response based on the client's request instructions, send a menu to the client or receive order orders from the client. The client's order request is stored by the server in the MySQL database at the backend. the cashier's visual interface accesses data through interaction between JDBC and the database, then it is displayed on the cashier's visual interface. when the customer comes to pay the bill, the cashier can query the information of the corresponding table number in the database to obtain the order information, including the clicked menu and total price. After clicking the checkout button, delete the order information from the database.

 

Kitchen Background: The kitchen and cashier are connected to the same database. Different from the cashier, the kitchen only queries the order information, and then the cook Cooks cook food based on the order information. the wifi module is installed on the car, and you are automatically connected to the server in the kitchen. After the order is completed, the kitchen staff send the food delivery command to the car through the food delivery button, and the car receives the command to the kitchen, deliver the dishes to the dining table where the guests are located. after the command is sent successfully at the same time, the corresponding order in the database will be deleted, and the order list will be refreshed by yourself. The cook continues to make the next order.

 

Car: It is charged at a designated place. After receiving the food delivery instruction from the kitchen, it is a table number ). There are black tracks and RFID tags on the ground in the restaurant. The black tracks are used to track the car and do not run around. RFID cards contain the number of the table. The car first enters the kitchen to pack the food to be sent, and then follows the tracking line on the floor. If it reads the RFID card with the specified table number, it turns to the dining table, then return to the charging location. And then repeat the above process.

 

At the time of writing this article, I suddenly found out why I want to write the word "smart" does not reflect intelligence at all. However, no matter what industry, I need to stick a side with the word "smart", smart furniture, smart water heaters, smart ones, smart ones, do not know exactly where intelligence is. Most of them are able to take their own initiative, far from smart ones.

 

If there is no accident, I will not write anything next to it. I have been working on this project, and most of my work is repetitive, I have little knowledge about principles such as data structures and algorithms, and I feel a little confused. I will write less code to keep my hands open and read more books, I plan to read think in Java, Android Kernel Analysis, deep understanding of Java virtual machine, data structure and algorithm analysis (Java language description), and then make other plans.

Looking for a job is under great pressure.

 

Jason0539

Weibo: http://weibo.com/2553717707

Blog: http://blog.csdn.net/jason0539 (reprinted please explain the source)

 

Intelligent Ordering System Development documentary 2-overall system structure and Business Process

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.