Summary of the invention
For above-mentioned technical matters; the present invention each provides control method and the system of two kinds of digitizing menu consumption rights; it can according to the purchase information of digitizing menu; the order data that generation records digitizing menu consumption rights and the consumption associated with it are encoded; the rights of using of digital control menu are carried out by the consumption rights judged with consume in the order data that is associated of encoding; the copyright protection measure of digitizing menu can be optimized, prevent digitizing menu from being used without permission.
The present invention is achieved through the following technical solutions:
The invention provides a kind of control method of digitizing menu consumption rights, comprise the steps:
According to the purchase information of digitizing menu, server generates the order data recording digitizing menu consumption rights, and the consumption be associated with order data is encoded, and server stores has the incidence relation of order data and consumption coding;
Kitchen main frame is provided with available consumption rights cache module and has used consumption rights cache module, kitchen main frame obtains the consumption coding of digitizing menu, according to the incidence relation of order data in server and consumption coding, consume consumption rights downloaded stored in the order data of encoding and being associated extremely available consumption rights cache module by with described; Meanwhile, the culinary art control data of kitchen main frame also digitizing menu described in downloaded stored;
When the culinary art control data that cooking apparatus calls digitizing menu in the main frame of kitchen is cooked, kitchen main frame judges whether available consumption rights cache module exists the consumption coding of respective digital menu;
If exist, the culinary art control data that cooking apparatus can call described digitizing menu is cooked; Cooking apparatus often calls the culinary art control data of a digitizing menu, and the consumption coding of described digitizing menu in available consumption rights cache module moves to by kitchen main frame to be used in consumption rights cache module;
If do not exist, cooking apparatus cannot call the culinary art control data of described digitizing menu.
Alternatively, different types of digitizing menu, corresponding consumption coding is not identical; The quantity of consumption coding is consistent with the quantity purchase of digitizing menu.
Alternatively, digitizing menu, for convenience of the digitizing menu of dish product, arranges based on facilitating the deal of dish product the quantity information consuming coding.
Alternatively, the first authorization information is comprised in described consumption coding, the second authorization information is comprised in described order data, described first authorization information and described second authorization information match, by verifying the matching of described first authorization information and described second authorization information, verify the true and false of described consumption coding.
Alternatively, cooking apparatus often calls the culinary art control data of a digitizing menu, and kitchen main frame generates the consumption record information of a described digitizing menu, by network delivery to server; Server, according to described consumption record information, upgrades the consumption information of described digitizing menu.
The present invention also provides a kind of control system adopting the digitizing menu consumption rights of above-mentioned digitizing menu right management method, wherein, described Rights Management System comprises server, kitchen main frame and cooking apparatus, described server is connected with described kitchen host communication, and described kitchen main frame is connected with described cooking apparatus communication;
Described server comprises Ordering Module, and described Ordering Module, according to the purchase information of the digitizing menu obtained, generates the order data recording digitizing menu consumption rights, and the consumption that generation is associated with described order data is encoded;
Described cooking apparatus is for calling and performing the culinary art control data of the digitizing menu in the main frame of described kitchen;
Described kitchen main frame comprises consumption rights processing module and event processing module, wherein, described consumption rights processing module comprises available consumption rights cache module and has used consumption rights cache module, described kitchen main frame obtains the consumption coding of digitizing menu, consumption rights downloaded stored in the order data of encoding and being associated is consumed to available consumption rights cache module by with described, and the culinary art control data of digitizing menu corresponding to downloaded stored;
Described event processing module judges whether the digitizing menu that described cooking apparatus calls exists consumption coding at available consumption rights cache module, if there is consumption coding, authorize the rights of using that described cooking apparatus calls the culinary art control data of described digitizing menu; And described cooking apparatus often calls the culinary art control data of a digitizing menu, the consumption coding of described digitizing menu in available consumption rights cache module moves to by described event processing module to be used in consumption rights cache module; If there is not consumption coding, described cooking apparatus cannot call the culinary art control data of described digitizing menu.
Alternatively, described kitchen main frame also comprises consumption and to put on record module, described consumption puts module on record when described cooking apparatus often calls the culinary art control data of a digitizing menu, generate the consumption record information of a described digitizing menu, and by described consumption record information by network delivery to server.
Alternatively, described Servers installed has filing database, for receiving the consumption record information that described kitchen main frame transmits, and according to described consumption record information, upgrades the consumption information of described digitizing menu.
Alternatively, described kitchen main frame also comprises authentication module, and described authentication module, by the described matching of consuming the first authorization information in coding and the second authorization information in described order data of checking, verifies the true and false of consumption coding.
Alternatively, described kitchen main frame is provided with human-computer interaction module, and for obtaining the consumption coding of digitizing menu, or described kitchen main frame obtains the consumption coding of digitizing menu by communication module access services device.
The present invention also provides a kind of control method of digitizing menu consumption rights, comprises the steps:
According to the purchase information of digitizing menu, server generates the order data recording digitizing menu consumption rights, and the consumption be associated with order data is encoded; Wherein, comprise the permission consumption number of times of described digitizing menu in the described consumption rights in described order data, described permission consumption number of times is identical with the quantity purchase of described digitizing menu;
Cooking apparatus obtains the consumption coding of the digitizing menu that will cook, and described consumption coding is passed to server;
Server is encoded according to described consumption, obtains and consumes the order data of encoding and being associated with described, judges whether the permission consumption number of times in described order data is zero; If the permission consumption number of times in described order data is non-vanishing, server obtains the digitizing menu corresponding with described order data, described digitizing menu is resolved to culinary art control data, and described culinary art control data is sent to described cooking apparatus;
Cooking apparatus stores the culinary art control data of described digitizing menu, and according to described culinary art control data dish-cooking;
After each cooking operation completes, the culinary art control data of the described digitizing menu in described cooking apparatus is written into encipheror; Meanwhile, the permission in the described order data corresponding with described digitizing menu is consumed number of times and is reduced once, and again preserves amendment result to order data;
If the permission consumption number of times in described order data is zero, cooking apparatus does not possess the authority performing corresponding digitizing menu.
Alternatively, server judges whether the permission consumption number of times in amended order data is zero, if be zero, server sends the order of removing culinary art control data to described cooking apparatus.
Alternatively, digitizing menu, for convenience of the digitizing menu of dish product, arranges based on facilitating the deal of dish product the quantity information allowing consumption number information in order data.
Alternatively, described permission consumption number of times be repeatedly time, when server gets described consumption coding again, judge that whether the cooking apparatus performing corresponding digitizing menu is consistent with the last time, if consistent, server sends data decryption to described cooking apparatus, and by the culinary art control data deciphering be stored on cooking apparatus, described cooking apparatus gets the rights of using of the culinary art control data performing described digitizing menu.
Based on the management method of above-mentioned digitizing menu consumption rights, the present invention provides again a kind of control system of digitizing menu consumption rights, and wherein, described Rights Management System comprises server and cooking apparatus, and described server is connected with described cooking apparatus communication;
Described server comprises order database, menu data storehouse and central processing module; Wherein, described order database stores order data, and described order data comprises permission consumption number of times, menu information and the record information of digitizing menu; The digitizing menu be associated with described order database Chinese food spectrum information is stored in described menu data storehouse; Described central processing module, according to the purchase information of the digitizing menu got, generates the order data recording digitizing menu consumption rights, stored in order database, also generates the consumption be associated with described order data simultaneously and encodes;
The consumption of the digitizing menu that will cook coding is passed to server by cooking apparatus, for obtaining and performing the rights of using of the culinary art control data of digitizing menu in described server;
When described server gets the consumption coding of cooking apparatus transmission, according to described consumption coding, obtain in described order database and consume the order data of encoding and being associated with described, judge whether the permission consumption number of times in described order data is zero; If the permission consumption number of times in described order data is non-vanishing, server is according to the menu information in described order data, the digitizing menu corresponding with described order data is searched from described menu data storehouse, described digitizing menu is resolved to culinary art control data, and described culinary art control data is sent to described cooking apparatus;
After each cooking operation completes, the culinary art control data of the described digitizing menu in described cooking apparatus is written into encipheror; The consumption information of central processing module to described digitizing menu is put on record process, writes in the record information of order data by result of putting on record; According to record information, the permission consumption number of times of processor amendment order data, deducts the consumption number of times consumed, amendment result is saved in order data.
Alternatively, the 3rd authorization information is comprised in described consumption coding, the 4th authorization information is comprised in described order data, described 3rd authorization information and described 4th authorization information match, by verifying the matching of described 3rd authorization information and described 4th authorization information, verify the true and false of described consumption coding.
Alternatively, if the permission consumption number of times in described order data is repeatedly, and the execution of the culinary art control data of described digitizing menu all completes on same cooking apparatus, from described cooking apparatus second time obtains consumption coding, server sends data decryption to described cooking apparatus, by the culinary art control data deciphering be stored on cooking apparatus, described cooking apparatus gets the rights of using of the culinary art control data performing described digitizing menu.
Alternatively, the central processing module of described server judges that the permission consumption number of times in order data is zero, sends the order of removing the culinary art control data be stored on cooking apparatus to cooking apparatus.
Beneficial effect of the present invention:
The control method of digitizing menu consumption rights proposed by the invention, can according to the purchase information of digitizing menu, the order data that generation records digitizing menu consumption rights and the consumption associated with it are encoded, consumption rights is stored in available consumption rights cache module, by judging that digitizing menu is in the rights of using can carrying out digital control menu with the consumption coding that whether there is correspondence in consumption rights cache module, the copyright safety of digitizing menu can be improved, prevent digitizing menu from being used arbitrarily without permission.
The control method of digitizing menu consumption rights proposed by the invention; can according to the purchase information of digitizing menu; the order data that generation records digitizing menu consumption rights and the consumption associated with it are encoded; and in consumption rights, be provided with the permission identical with digitizing menu quantity purchase consume number of times; the rights of using that number of times carrys out digital control menu are consumed by the permission judged with consume in the order data that is associated of encoding; the copyright protection of digitizing menu can be strengthened, prevent digitizing menu from being used arbitrarily without permission.
Embodiment
By following embodiment, the present invention is described in detail in the present invention.But it will be understood by a person skilled in the art that, following embodiment is not limiting the scope of the invention, any improvement of making on basis of the present invention and change, all within protection scope of the present invention.
Below in conjunction with drawings and Examples, the invention will be further described.
With reference to shown in accompanying drawing 1, be the schematic flow sheet of digitizing menu consumption rights first control method of the present invention, during specific implementation, adopt following steps:
S10, according to the purchase information of digitizing menu, server generates the order data recording digitizing menu consumption rights, and the consumption be associated with order data is encoded, and server stores has the incidence relation of order data and consumption coding.
Particularly, in server, be provided with menu data storehouse, in this menu data storehouse, store the digitizing menu corresponding to various dish.User is by the digitizing menu required for server lookup and buy, and buy digitizing menu deal can be a or many parts.
Server gets user for after the purchase information of digitizing menu, can according to this purchase information, generate order data corresponding to digitizing menu with this, wherein, the consumption rights information of this digitizing menu is recorded in order data, by this consumption rights information, can characterizing consumer for the concrete rights of using of this digital menu.Generally, the purchase deal information of digitizing menu can be comprised in consumption rights information, by the purchase deal information of this digitizing menu can characterizing consumer for the concrete rights of using of digitizing menu, such as, in consumption rights information, recording user is 5 parts for the purchase deal information of a certain digitizing menu, then user only has the rights of using of this digitizing menu 5 times.In addition, can also comprise in order data some buy the menu information of digitizing menu, as the information such as title, the style of cooking, taste of digitizing menu, user fully can be understood bought digitizing menu by these information, and can this menu information be passed through, find digitizing menu corresponding in menu data storehouse; Especially, the consumption information of digitizing menu can also be comprised in order data, the i.e. actual use information of digitizing menu, this consumption information can dynamically update according to the actual service condition of digitizing menu, is convenient to the actual service condition of user to bought digitizing menu and understands.
Server, while generating order data according to the purchase information of digitizing menu, also generates the consumption be associated with this order data and encodes, and store this incidence relation.Wherein, a consumption rights of the corresponding digitizing menu of each consumption coding, generally, generate consumption coding quantity consistent with the quantity purchase of digitizing menu, such as user have purchased the digitizing menu of 5 portions of a certain dish, then can generate 5 consumption codings, these 5 consumption codings can be identical, also can not be identical.The present invention preferably, for the digitizing menu of identical type, can adopt identical consumption coding, for different types of digitizing menu, can adopt different consumption codings respectively.Such as, buy 5 portions of fish-flavoured shredded pork dish and generate 5 identical consumption coding yxrs002, buy 2 portions of stirfried bean curd in hot sauce dish and generate 2 identical consumption codings 30225005, and dish fish-flavoured shredded pork and stirfried bean curd in hot sauce belong to different types of dish, the consumption coding corresponding to it is then not identical.
Particularly, the consumption coding generated is character code, encoding of graphs or the electronic tag that can be described by machine language.More specifically, character code can be digital coding, such as 0103468749, and also can be a kind of pure alphabetic coding, such as hongshaoqiezi, or the hybrid coding of numeral and letter, such as Menu7623500127.Encoding of graphs can be one-dimensional bar code or two-dimensional matrix code, or consumption coding can also show as electronic tag, as RFID etc.Preferably, one-dimensional bar code or two-dimensional matrix code can be adopted to characterize consumption coding, because bar code or square matrix code have certain function of keeping secret and exchange feature easy to use.
Particularly, the buyer of digitizing menu can be just-plainfolk, also can be manufacturer; Such as, when digitizing menu of the present invention is for convenience of the digitizing menu of dish product, its buyer can for convenience of Cai Sheng manufacturer, facilitate Cai Sheng manufacturer by buying digitizing menu, the rights of using information of digitizing menu being placed in facilitates on dish product, and user facilitates dish product just can get the rights of using facilitating the digitizing menu corresponding to dish product with this by buying.
S11, kitchen main frame is provided with available consumption rights cache module and has used consumption rights cache module, kitchen main frame obtains the consumption coding of digitizing menu, according to the incidence relation of order data in server and consumption coding, by the consumption rights downloaded stored extremely available consumption rights cache module of encode in the order data that is associated with this consumption; Meanwhile, the culinary art control data of kitchen main frame also this digitizing menu of downloaded stored.
Particularly, in the present invention, kitchen main frame is as the control center in whole kitchen, be provided with available consumption rights cache module and used consumption rights cache module, wherein, store not by the consumption rights of digitizing menu used in available consumption rights cache module, with storing in consumption rights cache module by the consumption rights of digitizing menu used.
After kitchen main frame gets the consumption coding of digitizing menu, this consumption code communication is passed to server, owing to storing the incidence relation of order data and consumption coding in server, therefore, can go out according to consumption coding lookup the order data be associated of encoding with this consumption, and in order data, store the consumption rights information of this digitizing menu; Server sends to kitchen main frame by with the encode consumption rights of the digitizing menu be associated of this consumption, and kitchen main frame is downloaded to available consumption rights cache module and stores.Simultaneously, server is according to the menu information of encoding in the order data that is associated with this consumption, find digitizing menu corresponding in menu data storehouse, resolved to culinary art control data, kitchen main frame is downloaded and is stored the culinary art control data of this digitizing menu.
During concrete enforcement, the form that kitchen main frame obtains consumption coding has multiple, as can human-computer interaction module be had, consumption coding is obtained from the input of human-computer interaction module by user, or also can have communication module, obtain to consume by the communication of communication module and other equipment or server and encode.
S12, when the culinary art control data that cooking apparatus calls digitizing menu in the main frame of kitchen is cooked, kitchen main frame judges whether available consumption rights cache module exists the consumption coding of respective digital menu.
In the present invention, cooking apparatus refers to can according to the automatic/semi-automatic making dish of the culinary art control data of digitizing menu, the kitchen cooking equipment realizing cooking process, as comprised the cooking apparatus such as intelligent electric cooker, intelligent frying pan, intelligent stove and accessory, intelligent proportioning machine, intelligent machine for stir-frying dishes, intelligent vegetable cut-up machine.It should be noted that cooking process proposed by the invention had both comprised the normal cooking fried process of dish, also comprise the set-up procedure before cooking fried and the epilog after cooking fried, also comprise the control procedure of other kitchen cooking equipments relevant to cooking process.
Kitchen main frame, as the control center in kitchen, can judge and control the rights of using of the digitizing menu that each cooking apparatus will be cooked.Namely when the culinary art control data that cooking apparatus calls the digitizing menu stored in the main frame of kitchen is cooked, after kitchen main frame gets the recalls information of cooking apparatus, judge whether the digitizing menu that this cooking apparatus will be cooked exists corresponding consumption coding at available consumption rights cache module, judges whether this cooking apparatus has the authority performing this digitizing menu with this.
S13, if exist, the culinary art control data that cooking apparatus can call this digitizing menu is cooked; Cooking apparatus often calls the culinary art control data of a digitizing menu, and the consumption coding of this digitizing menu in available consumption rights cache module moves to and use in consumption rights cache module by kitchen main frame.
Particularly, if kitchen main frame determines the consumption coding that available consumption rights cache module exists respective digital menu, then cooking apparatus has this digitizing menu can be used to carry out the authority of cooking, and the culinary art control data that also namely cooking apparatus can call this digitizing menu is cooked.Such as, user have purchased the digitizing menu of 2 portions of dish fish-flavoured shredded pork, have corresponding with fish-flavoured shredded pork consumption rights 2 in the available consumption rights cache module of then kitchen main frame to consume and encode, when cooking apparatus intelligent machine for stir-frying dishes is for dish-cooking fish-flavoured shredded pork, send recalls information to kitchen main frame, kitchen main frame determines fish-flavoured shredded pork in available consumption rights cache module, there is corresponding consumption coding, then authorize cooking apparatus intelligent machine for stir-frying dishes and use this digitizing menu to carry out the authority of cooking.
Particularly, cooking apparatus is often cooked once, namely cooking apparatus often calls the culinary art control data of a digitizing menu, trigger the consumption event of 1 digitizing menu, the consumption coding of this digitizing menu in available consumption rights cache module moves to and uses in consumption rights cache module by kitchen main frame.Such as, user have purchased the digitizing menu of 2 portions of dish fish-flavoured shredded pork, then there are the rights of using of this digitizing menu 2 times, there are 2 consumption corresponding with fish-flavoured shredded pork in the available consumption rights cache module of then kitchen main frame to encode, if this road dish is by culinary art 1 time, then 1 of this road dish consumption coding just moves to from available consumption rights cache module and uses consumption rights cache module by kitchen main frame, then with the consumption coding only surplus 1 of consumption rights cache module Zhong Gai road dish, Ji Gai road digitizing menu is surplus rights of using once only.
If available consumption rights cache module does not exist the consumption coding of respective digital menu, namely as shown in step S15, then cooking apparatus does not have the rights of using of this digitizing menu, and the culinary art control data cannot calling this road digitizing menu is cooked.Such as, user have purchased the digitizing menu of 2 portions of dish fish-flavoured shredded pork, if used this digitizing menu to cook 2 times, then 2 the consumption codings of this digitizing menu in available consumption rights cache module will be moved into and use consumption rights cache module, then there is not the consumption coding of this digitizing menu at available consumption rights cache module, then cannot re-use this digitizing menu and cook; Or and for example user does not buy a certain digitizing menu, then there is not the consumption coding of respective digital menu at available consumption rights cache module, then user also cannot use this digitizing menu to cook.By this control of authority mode, can control the consumption rights of digitizing menu in due order, control mode flexibility and reliability, and effectively can prevent digitizing menu usurp phenomenon.
The present invention preferably, after step s 13, also comprises step S14, and namely cooking apparatus often calls the culinary art control data of a digitizing menu, and kitchen main frame generates the consumption record information of a Tiao Gai road digitizing menu, by network delivery to server; Server, according to this consumption record information, upgrades the consumption information of this digitizing menu.
Particularly, consumption record information can comprise the menu information of digitizing menu, comprise as menu title, the style of cooking, taste etc., the use information of digitizing menu can also be comprised in consumption record information, comprise as this road dish cooking time, culinary art time the facility information, culinary art number of times etc. that use.Kitchen main frame by generate consumption record information by network delivery to server, server can according to this consumption record information, upgrade the consumption information in the order data of digitizing menu, user can view the dynamic use information of bought digitizing menu by server.Such as user have purchased the digitizing menu of 5 portions of dish fish-flavoured shredded pork, when this digitizing menu is not by use, available access times inside consumption information are 5 times, when user cooked 2 Ci Gai road dish by cooking apparatus, available access times in consumption information will be updated to 3 times, and user can also check the use information of 2 digitizing menus of having cooked by consumption information simultaneously.
Preferably, when the consumption record information of the digitizing menu that kitchen main frame generates mostly is many, according to the sequencing of rise time, consumption record information lines up message queue, is stored on the main frame of kitchen; When network ready, kitchen main frame will consume record information upload server successively.
Preferably, server often receives 1 consumption record information, successfully points out to kitchen main frame transmission and reception, and this consumption record information deleted by kitchen main frame, then transmits next consumption record information to server in order.
Preferably, if kitchen main frame sends 1 consumption record information to server, but the reception not receiving server transmission is successfully pointed out, kitchen main frame can not delete this consumption record information, also can not send next consumption record information to server simultaneously, until the reception receiving server is successfully pointed out, just next consumption record information can be sent further.
Preferably, digitizing menu proposed by the invention is for convenience of the digitizing menu of dish product, and can based on the quantity information facilitating the deal of dish product to arrange consumption coding, namely being arranged at every part, to facilitate the consumption of dish product to encode can be one or more, facilitates the deal of dish product different and different according to bought.Such as user have purchased 5 parts and facilitates dish product, then there are 5 rights of using facilitating the digitizing menu corresponding to dish product with this, then dish product can arrange 5 consumption codings, to represent 5 rights of using facilitating the digitizing menu corresponding to dish product with this facilitating.
Preferably, in order to ensure the correctness of consuming coding use, correctly judge the true or false of consuming coding, the present invention comprises the first authorization information in consumption coding, the second authorization information is comprised in order data, and this first authorization information and the second authorization information match, the matching of checking first authorization information and the second authorization information can be passed through, the true and false of verification consumption coding.During concrete enforcement, multiple implementation can be had, such as the first authorization information can be the data that consumption coding obtains through computing, second authorization information also can be the data that consumption coding obtains through computing, as be through MD5 algorithm data calculating, if the first authorization information and the second authorization information match, so this consumption coding is correct consumption coding, and the digitizing menu of encoding corresponding with this consumption can be used; If inconsistent, this consumption coding can be considered to code violation, is pirate coding or by illegally tampered if possible, therefore, can not be performed with this consumption corresponding digital menu of encoding.
Preferably, in order to strengthen the safety in utilization of consumption coding, can also be encrypted consumption coding.During concrete enforcement, the implementation of encryption has multiple, as passed through encryption device encrypts, is the data that other are not easy to identify by consumption coding encrypting, during use, obtains consumption coding by decryption device reduction from the data of encryption; Or such as facilitate the consumption on dish product to encode, can be encrypted by modes such as ink coverings, the mode that can cover by striking off ink during use reads; Or also can be the combination of above-mentioned two kinds of modes.
First control method of digitizing menu consumption rights proposed by the invention, can control the consumption rights of digitizing menu, based on the first control method of this digitizing menu consumption rights, the invention allows for a kind of control system of digitizing menu consumption rights, with reference to shown in accompanying drawing 2, first control system of digitizing menu consumption rights of the present invention forms primarily of server, kitchen main frame and cooking apparatus, wherein, server is connected with kitchen host communication, and kitchen main frame is connected with cooking apparatus communication.
Particularly, server comprises Ordering Module, and this Ordering Module, according to the purchase information of the digitizing menu obtained, can generate the order data recording digitizing menu consumption rights, and the consumption that generation is associated with this order data is encoded.Meanwhile, server also comprises menu data storehouse, stores the digitizing menu corresponding to various dish in menu data storehouse.
Particularly, in the present invention, kitchen main frame is as the control center in whole kitchen, comprise consumption rights processing module and event processing module, wherein, consumption rights processing module comprises available consumption rights cache module and has used consumption rights cache module, stores not by the consumption rights of digitizing menu used in available consumption rights cache module, with storing in consumption rights cache module by the consumption rights of digitizing menu used.
Particularly, after kitchen main frame gets the consumption coding of digitizing menu, this consumption code communication is passed to server, according to the incidence relation of the order data stored in server and consumption coding, store being downloaded to available consumption rights cache module with this consumption consumption rights information of encoding in the order data that is associated.Simultaneously, server is according to the menu information of encoding in the order data that is associated with this consumption, find digitizing menu corresponding in menu data storehouse, resolved to culinary art control data, kitchen main frame is downloaded and is stored the culinary art control data of this digitizing menu.
Particularly, event processing module judges whether the digitizing menu that cooking apparatus calls exists consumption coding at available consumption rights cache module, if there is consumption coding, authorizes the rights of using of the culinary art control data that cooking apparatus calls this digitizing menu; And cooking apparatus often calls the culinary art control data of a digitizing menu, the consumption coding of this digitizing menu in available consumption rights cache module moves to by event processing module to be used in consumption rights cache module; If there is not consumption coding, cooking apparatus cannot call the culinary art control data of this digitizing menu.
During concrete enforcement, the form that kitchen main frame obtains consumption coding has multiple, as can human-computer interaction module be had, consumption coding is obtained from the input of human-computer interaction module by user, or also can have communication module, obtain to consume by the communication of communication module and other equipment or server and encode.
More specifically, human-computer interaction module has multiple way of realization, such as this human-computer interaction module can be reading code module, show as first-class in code reader, bar-code scanner, shooting, consumption coding can be read by scanning, corresponding consumption coding, it preferably shows as encoding of graphs, also can be character code; Or this human-computer interaction module also can be key-press module, performance, can by key-press input consumption coding as keyboard, mouse, touch-screen and dummy keyboard etc., and corresponding consumption coding is generally character code; Or this human-computer interaction module can also be voice input module, performance is as microphone, by identifying that the phonetic entry of user obtains consumption coding, corresponding menu data information is also generally character code, it should be noted that, when obtaining consumption coding by phonetic entry, generally also should comprise a corresponding speech recognition and processing module, the sound signal that user inputs can be converted to corresponding input information.
More specifically, when kitchen main frame is provided with communication module, kitchen main frame can be connected with other equipment or server communication by this communication module, obtains consumption coding.Such as can by communicating to connect with user mobile phone or flat board, communication obtains consumption coding, or also can communicate to connect with the webserver, communicates and obtains consumption coding.The communication mode that communication module can adopt is divided into wired and wireless two kinds.Wire communication can be one or more in the Conventional communication means such as Ethernet, RS232, RS485, CAN, Profibus, unibus; Can also be power carrier, particularly based on the power carrier communication technology of Homeplug technology.Wireless telecommunications comprise in Wifi, bluetooth, ZigBee, infrared, the means of communication such as WiMax, GPRS, 3G, LTE one or more.Communication module can adopt the form of communication chip to realize in specific implementation process, such as, chip DM9161A can be adopted to realize Ethernet wire communication, adopts chip CC2520 to realize ZigBee radio communication.
Particularly, the mode that kitchen main frame obtains consumption coding can be active or passive, and under active obtaining mode, kitchen main frame can other equipment of automatic addressing or server, namely kitchen main frame active communication can connect other equipment or server, obtains consumption coding; Under passive obtain manner, consumption coding can be inputted by user by human-computer interaction module, receive by kitchen main frame is passive.
Preferably, kitchen main frame also comprises consumption and to put on record module, this consumption puts module on record when cooking apparatus often calls the culinary art control data of a digitizing menu, generates the consumption record information of this digitizing menu, and by this consumption record information by network delivery to server.Servers installed has filing database, for receiving the consumption record information that kitchen main frame transmits, and according to consumption record information, upgrades the consumption information of digitizing menu.
Preferably, kitchen main frame also comprises authentication module, and comprise the first authorization information in consumption coding, the second authorization information is comprised in order data, this first authorization information and the second authorization information match, authentication module consumes the matching of the first authorization information in coding and the second authorization information in order data by checking, the true and false of verification consumption coding.
Preferably, kitchen main frame can the only independent control center as kitchen, also can combine with cooking apparatus, then kitchen main frame is while as whole kitchen control center, also has the function performing cooking process concurrently.
The invention allows for a kind of second control method of digitizing menu consumption rights, with reference to shown in accompanying drawing 3, is the schematic flow sheet of this digitizing menu consumption rights second control method, adopts following steps during specific implementation:
S30, according to the purchase information of digitizing menu, server generates the order data recording digitizing menu consumption rights, and the consumption be associated with order data is encoded; Wherein, comprise the permission consumption number of times of this digitizing menu in the consumption rights in order data, this permission consumption number of times is identical with the quantity purchase of digitizing menu.
Particularly, in server, be provided with menu data storehouse, in this menu data storehouse, store the digitizing menu corresponding to various dish.User is by the digitizing menu required for server lookup and buy, and buy digitizing menu deal can be a or many parts.Server gets user for after the purchase information of digitizing menu, can according to this purchase information, generate order data corresponding to digitizing menu with this, wherein, the consumption rights information of this digitizing menu is recorded in order data, by this consumption rights information, can characterizing consumer for the concrete rights of using of this digital menu.
With the first control method difference be, in this second control method, comprise the permission identical with digitizing menu quantity purchase in consumption rights in order data and consume number of times, by allowing consumption number of times characterizing consumer for the concrete rights of using of digitizing menu.Such as user buys 5 parts of a certain digitizing menus, then it is 5 that number of times is consumed in the permission in corresponding with this digitizing menu order data, shows that user has the rights of using to this digitizing menu 5 times.In like manner, can also comprise in order data some buy the menu information of digitizing menu, consumption information etc., are convenient to user and understand this digitizing menu and service condition thereof.
Server is while generating order data according to the purchase information of digitizing menu, and also generate the consumption be associated with this order data and encode, and store this incidence relation, namely consumption coding also correspond to the consumption rights of digitizing menu.With the first control method difference be, in this second control method, it can be multiple that number of times is consumed in the permission of consuming in the order data associated by encoding with, then the present invention preferably, for the digitizing menu of identical type, only can produce a consumption coding, for different types of digitizing menu, different consumption codings can be adopted respectively.Such as, user buys 5 portions of fish-flavoured shredded pork dish and generates 1 consumption coding yxrs002, consumes number of times be set to 5 with this consumption permission of encoding in the order data that is associated; Buy 2 portions of stirfried bean curd in hot sauce dish and generate 1 consumption codings 30225005, consume number of times with this consumption permission of encoding in the order data that is associated and be set to 2; And dish fish-flavoured shredded pork and stirfried bean curd in hot sauce belong to different types of dish, the consumption coding corresponding to it is then not identical.
In like manner, the consumption coding generated is character code, encoding of graphs or the electronic tag that can be described by machine language.
S31, cooking apparatus obtains the consumption coding of the digitizing menu that will cook, and this consumption coding is passed to server.
In the present invention, cooking apparatus refers to and according to the automatic/semi-automatic making dish of the culinary art control data of digitizing menu, can realize the kitchen cooking equipment of cooking process.Cooking apparatus, when for certain road dish of culinary art, must have the rights of using of digitizing menu corresponding to this road dish, can cook.Therefore, in the present invention, cooking apparatus needs the consumption coding obtaining the digitizing menu that will cook, this consumption coding is passed to server, judge whether the digitizing menu corresponding to this consumption coding has rights of using by server, thus judge whether to authorize to cooking apparatus the rights of using performing this digitizing menu.
S32, server, according to consumption coding, obtains and encode the order data be associated with this consumption, and the permission that judgement is stated in order data consumes whether number of times is zero.
After server gets the consumption coding that cooking apparatus transmits, according to the incidence relation that wherein stored order data and consumption are encoded, find out the order data be associated of encoding with this consumption, in order data, store the consumption rights information of this digitizing menu, namely allow consumption number of times.Further, server judges whether this permission consumption number of times is zero, judges whether this cooking apparatus has the authority performing this digitizing menu with this.
S33, if the permission consumption number of times in order data is non-vanishing, server obtains the digitizing menu corresponding with this order data, this digitizing menu is resolved to culinary art control data, and culinary art control data is sent to cooking apparatus.
If the permission consumption number of times in order data is non-vanishing, then show that cooking apparatus has the authority using this digitizing menu, then server is according to the menu information of encoding in the order data that is associated with this consumption, get corresponding digitizing menu, this digitizing menu is resolved to culinary art control data and send to cooking apparatus.
S34, cooking apparatus stores the culinary art control data of digitizing menu, and according to this culinary art control data dish-cooking.
Particularly, cooking apparatus reception server sends over culinary art control data, and downloaded stored is in local storer, and can carry out the automatic/semi-automatic of dish according to this culinary art control data and cook.
S35, after each cooking operation completes, the culinary art control data of the digitizing menu in cooking apparatus is written into encipheror; Meanwhile, the permission in the order data corresponding with this digitizing menu is consumed number of times and is reduced once, and again preserves amendment result to order data.
After cooking apparatus culinary art once completes, the culinary art control data being stored to the digitizing menu in cooking apparatus is written into encipheror, cooking apparatus can not re-use the culinary art control data of this digitizing menu before next time authorizes, unless again obtained the authorization, just can reuse.
Simultaneously, cooking apparatus is often cooked once, server also uses information to put on record process to the consumption of this digitizing menu, result of putting on record is write in the record information of order data, this consumption record information can comprise the menu information of digitizing menu, the use information of digitizing menu can also be comprised, comprise as this road dish cooking time, culinary art time the facility information, the culinary art number of times etc. that use.Server can according to this consumption record information, consumption information in the order data of digitizing menu is upgraded, number of times is consumed in the permission revised in the order data corresponding with this digitizing menu, it is made to reduce once, and again preserving amendment result to order data, user can view the dynamic use information of bought digitizing menu by server.Such as, user have purchased the digitizing menu of 5 portions of dish fish-flavoured shredded pork, produce a consumption coding, consuming number of times with this consumption permission of encoding in the order data that is associated is 5 times, after cooking apparatus culinary art once completes, server revises the permission consumption number of times in this order data, makes it subtract 1, then allow consumption number of times to become 4 times.Server is according to the consumption information of digitizing menu, and the consumption rights in real-time update order data, makes user easily by checking order data, just can understand the consumption use information of the digitizing menu bought.
If the permission consumption number of times in order data is zero, namely as shown in step S36, the metering of digitizing menu is consumed unsuccessfully, then cooking apparatus does not have the rights of using of this digitizing menu, and the culinary art control data of this road digitizing menu cannot be used to cook.
Preferably, server judges whether the permission consumption number of times in amended order data is zero, if be zero, server sends the order of removing culinary art control data to cooking apparatus in the present invention.Particularly; server is according to the cooking information of cooking apparatus; the permission consumption number of times in order data can be dynamically updated; determine a certain digitizing menu permission consumption number of times be zero time; can give an order to cooking apparatus; remove the culinary art control data stored in cooking apparatus, effectively can protect the culinary art control data of digitizing menu.
Preferably, digitizing menu, for convenience of the digitizing menu of dish product, can arrange based on facilitating the deal of dish product the quantity information allowing consumption number information in order data.Namely being arranged at every part, to facilitate the permission of dish product to consume number of times can be one or more, facilitates the deal of dish product different and different according to bought.
Preferably, in order to strengthen the safety in utilization of consumption coding, can also be encrypted consumption coding.During concrete enforcement, the implementation of encryption has multiple, as passed through encryption device encrypts, is the data that other are not easy to identify by consumption coding encrypting, during use, obtains consumption coding by decryption device reduction from the data of encryption; Or such as facilitate the consumption on dish product to encode, can be encrypted by modes such as ink coverings, the mode that can cover by striking off ink during use reads; Or also can be the combination of above-mentioned two kinds of modes.
The present invention preferably, when allow consumption number of times be repeatedly time, when server gets consumption coding again, judge that whether the cooking apparatus performing corresponding digitizing menu is consistent with the last time, if consistent, server sends data decryption to this cooking apparatus, and by the culinary art control data deciphering be stored on cooking apparatus, cooking apparatus gets the rights of using of the culinary art control data performing this digitizing menu.Below for a specific embodiment, suppose that the metering consumption of digitizing menu comprises the M time metering consumption and the N time metering consumption, wherein, 1≤M < N, M and N is integer; In the N time metering consumption, as shown in Figure 4, comprise the steps:
S40, cooking apparatus obtains metering consumption coding for the N time, is passed to server.
Cooking apparatus, before culinary art each time, all needs the consumption of acquisition coding to pass to server, judges whether the digitizing menu corresponding to this consumption coding has rights of using by server.In like manner, before the N time culinary art, also the consumption coding obtained the N time passes to server, judges whether the digitizing menu corresponding to this consumption coding has rights of using by server, thus judges whether to authorize to cooking apparatus the rights of using performing this digitizing menu.
S41, in order database, the record information in server lookup order data, judges that the cooking apparatus that uses is consumed in the N time metering and the whether same cooking apparatus of the cooking apparatus used is consumed in the M time metering.
After server gets the consumption coding that cooking apparatus passes over for the N time, can by the record information of this digitizing menu of inquiry, judge that the cooking apparatus that uses is consumed in the N time metering and the whether same cooking apparatus of the cooking apparatus used is consumed in the M time metering, thus according to this judged result, different metering authorizations is adopted to digitizing menu, as being decrypted mandate to the culinary art control data of cooking apparatus, or parsing transmission culinary art control data is authorized to cooking apparatus again.
S42, if the cooking apparatus that uses and the M time metering are consumed in the N time metering, to consume the cooking apparatus used be same cooking apparatus, and server sends decryption command to cooking apparatus, by the culinary art control data deciphering be stored on cooking apparatus.
When determining the N time metering and consuming the cooking apparatus that uses and the M time metering to consume the cooking apparatus used be same cooking apparatus, server can resolve the digitizing menu sent corresponding to this consumption coding again, but decryption command can be sent directly to cooking apparatus, by the culinary art control data deciphering be stored on cooking apparatus, mode of operation simple and flexible.
S43, cooking apparatus cooks corresponding dish according to culinary art control data.
Particularly, cooking apparatus can according to storage in its memory, the dish-cooking that decrypted culinary art control data is automatic/semi-automatic.
S44, after dish is cooked, is stored in cooking apparatus and cooks control data by encryption again; Server consumes to the N time metering of digitizing menu process of putting on record, writes in the record information of order data by result of putting on record; According to record information, the permission consumption number of times of processor amendment order data, deducts the consumption number of times consumed, amendment result is saved in order data.
After cooking apparatus has been cooked for the N time, the culinary art control data being stored to the digitizing menu in cooking apparatus is written into encipheror again, cooking apparatus can not re-use the culinary art control data of this digitizing menu before next time authorizes, unless again obtained the authorization, just can reuse.
Simultaneously, server to be put on record process to the N time metering of this digitizing menu consumption use information, result of putting on record is write in the record information of order data, this record information can comprise the menu information of digitizing menu, comprise as menu title, the style of cooking, taste etc., the use information of digitizing menu can also be comprised, comprise as this road dish cooking time, culinary art time use facility information, allow consumption number of times, use consumption number of times etc.Server is according to this record information, and the permission consumption number of times of amendment order data, deducts the consumption number of times consumed, amendment result be saved in order data.
Preferably, after step S44, also comprise step S45: server judges whether amended permission consumption number of times is zero, if be zero, server sends the order of removing the culinary art control data be stored on cooking apparatus to cooking apparatus.
Based on the second control method of digitizing menu consumption rights proposed by the invention, the invention allows for the control system of another kind of digitizing menu consumption rights, with reference to shown in accompanying drawing 5, second control system of digitizing menu consumption rights of the present invention is primarily of server and cooking apparatus composition, wherein, server is connected with cooking apparatus communication.
Particularly, server comprises order database, menu data storehouse and central processing module; Wherein, order database stores order data, and this order data comprises permission consumption number of times, menu information and the record information of digitizing menu; The digitizing menu information be associated with this order database Chinese food spectrum information is stored in menu data storehouse; Central processing module, according to the purchase information of the digitizing menu got, generates the order data recording digitizing menu consumption rights, stored in order database, also generates the consumption be associated with this order data simultaneously and encodes.
Particularly, cooking apparatus refers to can according to the automatic/semi-automatic making dish of the culinary art control data of digitizing menu, realize the kitchen cooking equipment of cooking process, comprise communication module and memory module, wherein, communication module is used for being connected with server communication, and memory module is used for the culinary art control data of the digitizing menu that storage server sends over.Cooking apparatus obtains the consumption coding of the digitizing menu that will cook, and is passed to server, for obtaining and performing the rights of using of the culinary art control data of digitizing menu in server.
During concrete enforcement, the form that cooking apparatus obtains consumption coding has multiple, as can human-computer interaction module be had, consumption coding is obtained from the input of human-computer interaction module by user, or also can have communication module, obtain to consume by the communication of communication module and other equipment or server and encode.
Particularly, the mode that cooking apparatus obtains consumption coding can be initiatively or passive, and under active obtaining mode, cooking apparatus can other equipment of automatic addressing or server, and active obtaining consumption is encoded; Under passive obtain manner, consumption coding can be inputted by user by human-computer interaction module, receive by cooking apparatus is passive.
When server gets the consumption coding that cooking apparatus transmits, encode according to this consumption, obtain in order database and to encode the order data be associated with this consumption, judge that the permission in this order data consumes whether number of times is zero; If the permission consumption number of times in order data is non-vanishing, server is according to the menu information in order data, from menu data storehouse, search the digitizing menu corresponding with this order data, digitizing menu is resolved to culinary art control data, and this culinary art control data is sent to cooking apparatus.
After each cooking operation completes, the culinary art control data of the digitizing menu in cooking apparatus is written into encipheror; The consumption information of central processing module to this digitizing menu of server is put on record process, writes in the record information of order data by result of putting on record; According to record information, the permission consumption number of times of processor amendment order data, deducts the consumption number of times consumed, amendment result is saved in order data.
Preferably, comprise the 3rd authorization information in consumption coding, comprise the 4th authorization information in order data, the 3rd authorization information and the 4th authorization information match, by verifying the matching of the 3rd authorization information and the 4th authorization information, and the true and false of verification consumption coding.
Preferably, if the permission consumption number of times in order data is repeatedly, and the execution of the culinary art control data of digitizing menu all completes on same cooking apparatus, from this cooking apparatus second time obtains consumption coding, server sends data decryption to this cooking apparatus, by the culinary art control data deciphering be stored on cooking apparatus, this cooking apparatus gets the rights of using of the culinary art control data of combine digital menu.
Preferably; the central processing module of server judges that the permission consumption number of times in order data is zero; send the order of removing the culinary art control data be stored on cooking apparatus to cooking apparatus, can effectively protect the culinary art control data of digitizing menu.