CN102043903A - Repeated order detection method and system for electronic menu - Google Patents
Repeated order detection method and system for electronic menu Download PDFInfo
- Publication number
- CN102043903A CN102043903A CN2010106027620A CN201010602762A CN102043903A CN 102043903 A CN102043903 A CN 102043903A CN 2010106027620 A CN2010106027620 A CN 2010106027620A CN 201010602762 A CN201010602762 A CN 201010602762A CN 102043903 A CN102043903 A CN 102043903A
- Authority
- CN
- China
- Prior art keywords
- record
- dishes
- identification code
- server
- machine
- 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
Abstract
The invention discloses a repeated order detection method and a repeated order detection system for an electronic menu. The method comprises the following steps that: a, when finishing an order record, an order machine automatically generates an identification code corresponding to the order record, wherein the identification code corresponding to the order record is unique; b, when uploading the order record to a server, the order machine submits the identification code corresponding to the uploaded order record to the server simultaneously; c, when the order machine sends an order record search request to the server, the server sends the order record and the identification code corresponding to the order record to the order machine, and the order machine stores the order record and the identification code corresponding to the order record which are sent by the server in an order list; and d, when generating an order record to be submitted, the order machine automatically detects whether the identification code corresponding to the order record to be submitted exists in the order list or not, if so, the order machine deletes the order record, and otherwise, the order machine uploads the order record to the server. Therefore, the repeated order is avoided.
Description
Technical field
The present invention relates to electronic applications, relate in particular to a kind of electronic cookbook and repeat a single detection method and a system.
Background technology
Electronic cookbook also is electronic menu or electric order dishes machine, and it is undoubtedly the product of the tool revolution of catering trade, and this is a electronic product that is enough to substitute traditional menu.
Electronic cookbook is compared with the menu of traditional printing, and advantage is:
The first, it can in case changed the vegetable price, not change the cook as traditional menu, and menu must be printed again, the waste printing cost;
The second, it can be not easy to wear as traditional menu yet, in use needs to change continually, wastes time and energy.
China's utility application number is: " 200820169027.3 ", name is called: disclose a kind of computer radio dining place ordering system in the patent application document of " computer radio dining place ordering system ", be made up of electric order dishes device, main frame receptacle, server, HUB, PC, printer server, printer; The electric order dishes device is communicated by letter with the main frame receptacle with wireless mode, and main frame receptacle Connection Service device, server are by HUB and PC, and printer server connects, and printer server connects printer.
Though that this formula order dishes system has is easy to operate, reduce the paper consumptive material, strengthen the efficient of serving, reduce advantage labour intensity and that reduce cost, in this electronic cookbook system,, may cause data-bag lost owing to network or system problem.In this case, when operation is ordered dishes in the dish ordering machine execution, server may occur and receive the request of dish ordering machine, carried out the operation of ordering dishes, but when feeding back to dish ordering machine, data-bag lost, dish ordering machine do not receive the packet of server feedback, think and submit failure to, will cause when resubmiting and repeat a list.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of electronic cookbook and repeats a single detection method and a system, can overcome defective of the prior art, promptly can prevent to repeat a list.Further, when dish ordering machine after single failure, keeps original single-row table of point, if successfully be submitted to server inquiring menu, then should put a single-row table and from treat a little single-row table, delete.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of electronic cookbook to repeat a single detection method, may further comprise the steps:
A. dish ordering machine is whenever finished the record of ordering dishes, then generate automatically one with the described corresponding identification code of record of ordering dishes, described each bar is ordered dishes and write down pairing identification code all is unique;
B. dish ordering machine is uploaded and is ordered dishes when recording server, and the pairing identification code of record of ordering dishes that will upload is simultaneously submitted to server;
C. when dish ordering machine when server sends the unirecord request of query point, server sends to dish ordering machine to order dishes record and pairing identification code thereof, dish ordering machine is write down by ordering dishes of sending of server and pairing identification code is stored in a little single-row table;
Whether d. wait to submit to when ordering dishes record when dish ordering machine generates, to detect automatically and wait to submit to the pairing identification code of record of ordering dishes Already in to put in the single-row table, if exist then will record deletion be ordered dishes, the record of if there is no then will waiting to order dishes uploads onto the server.
Wherein, when described dish ordering machine is many, every dish ordering machine serial number, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.
Wherein, when described dish ordering machine and server communication, dish ordering machine is set up the network connection and is transmitted data by switch-to-server.
Wherein, described each bar order dishes the record pairing identification code be serial number, bar code number or encrypted code.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of electronic cookbook to repeat a single detection system, comprise with lower module:
The identification code generation module: dish ordering machine is whenever finished the record of ordering dishes, then generate automatically one with the described corresponding identification code of record of ordering dishes, described each bar is ordered dishes and write down pairing identification code all is unique;
Last transmission module: the record of ordering dishes that dish ordering machine produces is uploaded onto the server, and the pairing identification code of record of ordering dishes that will upload simultaneously is uploaded to server simultaneously;
Download module: when dish ordering machine when server sends the unirecord request of query point, will order dishes write down and pairing identification code from downloaded to dish ordering machine;
Memory module: will from downloaded order dishes the record and pairing identification code be stored in a little single-row table;
Detect judge module: when the dish ordering machine generation treats that record is ordered dishes in submission, automatically detect and wait to submit to the pairing identification code of record of ordering dishes whether Already in to put in the single-row table, if exist then will record deletion be ordered dishes, the record of if there is no then will waiting to order dishes uploads onto the server.
Wherein, described dish ordering machine is many, and described dish ordering machine is all set up communication with server and is connected; Every dish ordering machine serial number in described many dish ordering machines, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.
Wherein, electronic cookbook repeats a single detection system and also comprises switch, and described switch is connected between dish ordering machine and the server, is used for when dish ordering machine and server communication, with dish ordering machine and group of server establishing network and transmit data.
Wherein, described each bar order dishes the record pairing identification code be serial number, bar code number or encrypted code.
The invention has the beneficial effects as follows: the electronic cookbook system that is different from prior art runs into the defective that repeats a list through regular meeting; the present invention produces an identification code simultaneously when the record of ordering dishes produces; whether utilize identification code to inquire about this record of ordering dishes Already in puts in the single-row table; if exist then will record deletion be ordered dishes; the record of if there is no then will waiting to order dishes uploads onto the server, and so just can overcome the problem that repeats a list.
Description of drawings
Fig. 1 is the process flow diagram that electronic cookbook of the present invention repeats a single detection method embodiment;
Fig. 2 is the structural drawing that electronic cookbook of the present invention repeats a single detection system embodiment.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, realized purpose and effect, give explanation below in conjunction with embodiment and conjunction with figs. are detailed.
See also Fig. 1, electronic cookbook of the present invention repeats a single detection method, may further comprise the steps:
A. dish ordering machine is whenever finished the record of ordering dishes, then generate automatically one with the described corresponding identification code of record of ordering dishes, described each bar is ordered dishes and write down pairing identification code all is unique;
B. dish ordering machine is uploaded and is ordered dishes when recording server, and the pairing identification code of record of ordering dishes that will upload is simultaneously submitted to server;
C. when dish ordering machine when server sends the unirecord request of query point, server sends to dish ordering machine to order dishes record and pairing identification code thereof, dish ordering machine is write down by ordering dishes of sending of server and pairing identification code is stored in a little single-row table;
Whether d. wait to submit to when ordering dishes record when dish ordering machine generates, to detect automatically and wait to submit to the pairing identification code of record of ordering dishes Already in to put in the single-row table, if exist then will record deletion be ordered dishes, the record of if there is no then will waiting to order dishes uploads onto the server.
In one embodiment, when described dish ordering machine is many, every dish ordering machine serial number, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.Dish ordering machine can be one, also can be for more than two.When dish ordering machine was one, the platform dish ordering machine was finished the identification code difference that generates when ordering dishes record; When dish ordering machine is many, every dish ordering machine serial number, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.
In one embodiment, when described dish ordering machine and server communication, dish ordering machine is set up the network connection and is transmitted data by switch-to-server.The directly communication of dish ordering machine and server also can be adopted switch-to-server to connect and transmits data; Certainly only is the change of communication aspect, for example utilizes the communication modes of router switching or the like, all should think to be equal to replacement of the present invention.
In one embodiment, described each bar order dishes the record pairing identification code be serial number, bar code number or encrypted code.Identification code also can have other code element of unique identification for other, and the above-mentioned serial number of mentioning, bar code number and encrypted code also are not used in the protection domain that limits identification code.
See also Fig. 2, electronic cookbook of the present invention repeats a single detection system, comprises with lower module:
Identification code generation module 10: dish ordering machine 1 is whenever finished the record of ordering dishes, then generate automatically one with the described corresponding identification code of record of ordering dishes, described each bar is ordered dishes and write down pairing identification code all is unique;
Last transmission module 11: the record of ordering dishes that dish ordering machine 1 produces is uploaded onto the server 3, and the pairing identification code of record of ordering dishes that will upload simultaneously is uploaded to server 3 simultaneously;
Download module 12: when dish ordering machine 1 when server 3 sends the unirecord request of query point, will order dishes and write down and pairing identification code is downloaded to dish ordering machine 1 from server 3;
Memory module 13: will be stored in a little single-row table from order dishes record and the pairing identification code thereof that server 3 is downloaded;
Detect judge module 14: when dish ordering machine 1 generation treats that record is ordered dishes in submission, automatically detect and wait to submit to the pairing identification code of record of ordering dishes whether Already in to put in the single-row table, if exist then will record deletion be ordered dishes, the record of if there is no then will waiting to order dishes uploads onto the server 3.
In one embodiment, described dish ordering machine is many, and described dish ordering machine is all set up communication with server 3 and is connected; Every dish ordering machine serial number in described many dish ordering machines, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.When dish ordering machine was one, the platform dish ordering machine was finished the identification code difference that generates when ordering dishes record; When dish ordering machine is many, every dish ordering machine serial number, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.
In one embodiment, electronic cookbook repeats a single detection system and also comprises switch 2, and described switch 2 is connected between dish ordering machine 1 and the server 3, is used at dish ordering machine 1 during with server 3 communications, with dish ordering machine 1 and server 3 building networks and transmit data.Dish ordering machine 1 and directly communication of server 3 also can adopt switch 2 and server 3 to connect and transmit data; Certainly only is the change of communication aspect, for example utilizes the communication modes of router switching or the like, all should think to be equal to replacement of the present invention.
In one embodiment, described each bar order dishes the record pairing identification code be serial number, bar code number or encrypted code.Identification code also can have other code element of unique identification for other, and the above-mentioned serial number of mentioning, bar code number and encrypted code also are not used in the protection domain that limits identification code.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (8)
1. an electronic cookbook repeats a single detection method, it is characterized in that, may further comprise the steps:
A. dish ordering machine is whenever finished the record of ordering dishes, then generate automatically one with the described corresponding identification code of record of ordering dishes, described each bar is ordered dishes and write down pairing identification code all is unique;
B. dish ordering machine is uploaded and is ordered dishes when recording server, and the pairing identification code of record of ordering dishes that will upload is simultaneously submitted to server;
C. when dish ordering machine when server sends the unirecord request of query point, server sends to dish ordering machine to order dishes record and pairing identification code thereof, dish ordering machine is write down by ordering dishes of sending of server and pairing identification code is stored in a little single-row table;
Whether d. wait to submit to when ordering dishes record when dish ordering machine generates, to detect automatically and wait to submit to the pairing identification code of record of ordering dishes Already in to put in the single-row table, if exist then will record deletion be ordered dishes, the record of if there is no then will waiting to order dishes uploads onto the server.
2. electronic cookbook according to claim 1 repeats a single detection method, it is characterized in that: when described dish ordering machine is many, every dish ordering machine serial number, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.
3. electronic cookbook according to claim 2 repeats a single detection method, it is characterized in that: when described dish ordering machine and server communication, dish ordering machine is set up the network connection and is transmitted data by switch-to-server.
4. repeat a single detection method according to described each the electronic cookbook of claim 1~3, it is characterized in that: described each bar pairing identification code of record of ordering dishes is serial number, bar code number or encrypted code.
5. an electronic cookbook repeats a single detection system, it is characterized in that, comprises with lower module:
The identification code generation module: dish ordering machine is whenever finished the record of ordering dishes, then generate automatically one with the described corresponding identification code of record of ordering dishes, described each bar is ordered dishes and write down pairing identification code all is unique;
Last transmission module: the record of ordering dishes that dish ordering machine produces is uploaded onto the server, and the pairing identification code of record of ordering dishes that will upload simultaneously is uploaded to server simultaneously;
Download module: when dish ordering machine when server sends the unirecord request of query point, will order dishes write down and pairing identification code from downloaded to dish ordering machine;
Memory module: will from downloaded order dishes the record and pairing identification code be stored in a little single-row table;
Detect judge module: when the dish ordering machine generation treats that record is ordered dishes in submission, automatically detect and wait to submit to the pairing identification code of record of ordering dishes whether Already in to put in the single-row table, if exist then will record deletion be ordered dishes, the record of if there is no then will waiting to order dishes uploads onto the server.
6. electronic cookbook according to claim 5 repeats a single detection system, it is characterized in that: described dish ordering machine is many, and described dish ordering machine is all set up communication with server and is connected; Every dish ordering machine serial number in described many dish ordering machines, and every dish ordering machine to finish the identification code that generates when ordering dishes record all inequality.
7. electronic cookbook according to claim 6 repeats a single detection system, it is characterized in that: also comprise switch, described switch is connected between dish ordering machine and the server, is used for when dish ordering machine and server communication, with dish ordering machine and group of server establishing network and transmit data.
8. repeat a single detection system according to each described electronic cookbook of claim 5~7, it is characterized in that: described each bar is ordered dishes and write down pairing identification code is serial number, bar code number or encrypted code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106027620A CN102043903A (en) | 2010-12-23 | 2010-12-23 | Repeated order detection method and system for electronic menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106027620A CN102043903A (en) | 2010-12-23 | 2010-12-23 | Repeated order detection method and system for electronic menu |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102043903A true CN102043903A (en) | 2011-05-04 |
Family
ID=43910037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106027620A Pending CN102043903A (en) | 2010-12-23 | 2010-12-23 | Repeated order detection method and system for electronic menu |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102043903A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455604A (en) * | 2013-09-03 | 2013-12-18 | 北京京东尚科信息技术有限公司 | Method and device for preventing repeated data processing |
CN109408761A (en) * | 2018-10-16 | 2019-03-01 | 翟红鹰 | A kind of filter method of repetitive requests, system, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101097566A (en) * | 2006-06-28 | 2008-01-02 | 上海石川科技有限公司 | Computer processing system used for managing food of dining hall kitchen |
CN101141476A (en) * | 2007-10-09 | 2008-03-12 | 创新科存储技术(深圳)有限公司 | File storing, downloading method and device |
CN101158954A (en) * | 2007-11-07 | 2008-04-09 | 上海爱数软件有限公司 | Method for recognizing repeat data in computer storage |
CN101771552A (en) * | 2009-01-04 | 2010-07-07 | 英业达股份有限公司 | Device, system and method for reducing repeated downloading of images through identification codes |
CN101888499A (en) * | 2009-05-15 | 2010-11-17 | 康佳集团股份有限公司 | Method for ordering dishes by using television, television, server and dish ordering system |
-
2010
- 2010-12-23 CN CN2010106027620A patent/CN102043903A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101097566A (en) * | 2006-06-28 | 2008-01-02 | 上海石川科技有限公司 | Computer processing system used for managing food of dining hall kitchen |
CN101141476A (en) * | 2007-10-09 | 2008-03-12 | 创新科存储技术(深圳)有限公司 | File storing, downloading method and device |
CN101158954A (en) * | 2007-11-07 | 2008-04-09 | 上海爱数软件有限公司 | Method for recognizing repeat data in computer storage |
CN101771552A (en) * | 2009-01-04 | 2010-07-07 | 英业达股份有限公司 | Device, system and method for reducing repeated downloading of images through identification codes |
CN101888499A (en) * | 2009-05-15 | 2010-11-17 | 康佳集团股份有限公司 | Method for ordering dishes by using television, television, server and dish ordering system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455604A (en) * | 2013-09-03 | 2013-12-18 | 北京京东尚科信息技术有限公司 | Method and device for preventing repeated data processing |
CN109408761A (en) * | 2018-10-16 | 2019-03-01 | 翟红鹰 | A kind of filter method of repetitive requests, system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103399530B (en) | Method, system and control platform and control terminal that intelligent appliance is uniformly controlled | |
CN100462977C (en) | Capture server, distribution server, method and system for generating webpage capture | |
CN107920005A (en) | A kind of intelligent terminal quickly networking installation and debugging system and method for work | |
CN102802059B (en) | The method of configuration machine top box, Apparatus and system | |
CN202634464U (en) | Realization device of intelligent household unified platform based on UPnP (universal plug-n-play) protocols | |
CN102694804A (en) | Realization method and device for intelligent home unified platform on basis of UPnP protocol | |
CN104391664A (en) | Self-service print system for realizing cross-segment communication between printer and print server | |
CN102223378B (en) | File synchronization method and system | |
CN101599921B (en) | Enterprise instant communication system and file transfer method thereof | |
CN106878131A (en) | A kind of data transmission method of PROFIBUS couplers and PROFIBUS | |
CN102043903A (en) | Repeated order detection method and system for electronic menu | |
CN102148702B (en) | Method for managing network by utilizing network configuration protocol | |
CN104468703A (en) | Communication method and system for distributed small power source and upper computer | |
CN101938383B (en) | On-line monitoring method and system of user account with multiple services as well as monitoring service system | |
CN103198375A (en) | Machining workshop electronic workticket information interactive system and method based on Android platform | |
CN102869032A (en) | Device and method for monitoring and alarming power supply of base station | |
CN201910071U (en) | E-commerce system based on 3G ( the 3rd generation telecommunication) network | |
CN105630434A (en) | Synergetic printing method and device | |
CN1761211A (en) | Method and system for managing and controlling network device of supporting wireless mobile communication | |
CN204392575U (en) | A kind of intelligent apparatus being applied to logistics transmission note | |
CN204517839U (en) | A kind of repair and maintenance system for TV and Radio Service's transmitter | |
CN100388280C (en) | Hyperlink automatic redirecting and management system and method | |
CN106933761A (en) | Collecting method and the conversion equipment using the method gathered data | |
CN102546629B (en) | File transmission system and method | |
CN105389284B (en) | Electric power industry power trade multinode information intelligent transfer device and its application method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110504 |