CN106484343B - Control method and device, the electronic equipment of printer - Google Patents

Control method and device, the electronic equipment of printer Download PDF

Info

Publication number
CN106484343B
CN106484343B CN201610822875.9A CN201610822875A CN106484343B CN 106484343 B CN106484343 B CN 106484343B CN 201610822875 A CN201610822875 A CN 201610822875A CN 106484343 B CN106484343 B CN 106484343B
Authority
CN
China
Prior art keywords
printer
vegetable
mark
print
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610822875.9A
Other languages
Chinese (zh)
Other versions
CN106484343A (en
Inventor
周长浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201610822875.9A priority Critical patent/CN106484343B/en
Publication of CN106484343A publication Critical patent/CN106484343A/en
Application granted granted Critical
Publication of CN106484343B publication Critical patent/CN106484343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1234Errors handling and recovery, e.g. reprinting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1281Multi engine printer devices, e.g. one entity having multiple output engines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application provides a kind of method and device of control printer, electronic equipment, this method comprises: being based on menu information, respectively needs the vegetable printed to identify to the transmission of N platform printer, N is positive integer;The M item printing feedback message that M platform printer is generated for the respective vegetable mark for needing to print is received, M is positive integer, and M≤N;The vegetable for being included based on M item printing feedback message and the menu information identifies, and determines in the N platform printer with the presence or absence of the target printer of no marking print vegetable;When, there are when the target printer, Xiang Suoshu target printer sends the instruction for printing the vegetable mark that the target printer needs to print again in the N platform printer.The technical solution of the application can send to target printer when there are the target printer of no marking print vegetable and print the instruction that the vegetable that the target printer needs to print identifies again, so that printer be avoided the situation of no marking print receipt occur.

Description

Control method and device, the electronic equipment of printer
Technical field
This application involves electronic technology field more particularly to a kind of method and devices for controlling printer, electronic equipment.
Background technique
When user goes to restaurant to have dinner, if user has selected the different classes of vegetable of multiple tracks, client of ordering would generally Multiple receipts are printed according to the classification of vegetable, each receipt, which is distributed to, is responsible for different vegetable cooking areas, for example, by classification The receipt for the vegetable that classification is cold dish is distributed to the kitchen in cold dish area by the cook that Hot dishes area is distributed to for the receipt of the vegetable of Hot dishes Teacher, cook divide the work according to the classification of vegetable, realize the cooking of vegetable.In the process, if printer failure is led Cause some vegetables by no marking, cook can omit the cooking of vegetable due to not taking the receipt of vegetable, when user being caused to wait Between too long, user or meal retreating or the dining duration for extending user reduce user and eat experience.
Summary of the invention
In view of this, the application provides a kind of new technical solution, it can prevent the receipt no marking on menu from printing, it is ensured that dish Product can be cooked normally.
To achieve the above object, it is as follows to provide technical solution by the application:
According to a first aspect of the present application, a kind of method for controlling printer is proposed, comprising:
Based on menu information, the vegetable printed is respectively needed to identify to the transmission of N platform printer, N is positive integer;
The M item printing feedback message that M platform printer is generated for the respective vegetable mark for needing to print is obtained, M is Positive integer, and M≤N;
The vegetable for being included based on M item printing feedback message and the menu information identifies, and determines the N platform printing With the presence or absence of the target printer of no marking print vegetable in machine;
When, there are when the target printer, Xiang Suoshu target printer sends printing again should in the N platform printer The instruction for the vegetable mark that target printer needs to print.
According to a second aspect of the present application, a kind of device for controlling printer is proposed, comprising:
First sending module respectively needs the vegetable printed to identify for being based on menu information to the transmission of N platform printer;
Module is obtained, described respectively needs to print for what first sending module was sent for receiving M platform printer The M item that generates of vegetable mark print feedback message, M is positive integer, and M≤N;
First determining module, M item printing feedback message and the dish for being received based on the acquisition module The vegetable mark that single information is included determines in the N platform printer with the presence or absence of the target printer of no marking print vegetable;
Second sending module, for determining that there are the targets to beat in the N platform printer when first determining module When print machine, Xiang Suoshu target printer sends the instruction for printing the vegetable mark that the target printer needs to print again.
According to the third aspect of the application, a kind of electronic equipment is proposed, the electronic equipment includes:
Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor sends the vegetable mark for respectively needing to print to N platform printer for being based on menu information Know, N is positive integer;Receive the M item printing feedback that the M platform printer is generated for the respective vegetable mark for needing to print Message, M are positive integer, and M≤N;The vegetable for being included based on M item printing feedback message and the menu information identifies, It determines in the N platform printer with the presence or absence of the target printer of no marking print vegetable;When there are the mesh in the N platform printer When marking printer, Xiang Suoshu target printer sends the instruction for printing the vegetable mark that the target printer needs to print again.
By above technical scheme as it can be seen that the application is when there are the target printer of no marking print vegetable, to target printer The instruction for printing the vegetable mark that the target printer needs to print again is sent, so as to avoid printer from no marking print occur The situation of receipt.
Detailed description of the invention
Figure 1A is the flow chart of the method for the control printer of an exemplary embodiment according to the present invention;
Figure 1B is the scene figure of Figure 1A illustrated embodiment being applicable in;
Fig. 2 is the flow chart of the method for control printer in accordance with an alternative illustrative embodiment of the present invention;
Fig. 3 is the flow chart of the method for the control printer of another exemplary embodiment according to the present invention;
Fig. 4 is the flow chart of the method for control printer in accordance with a further exemplary embodiment of the present invention;
Fig. 5 is the structure chart of the device of the control printer of an exemplary embodiment according to the present invention;
Fig. 6 is the structure chart of the device of control printer in accordance with an alternative illustrative embodiment of the present invention
Fig. 7 is the structure chart of the electronic equipment of an exemplary embodiment according to the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
For the application is further described, the following example is provided:
Figure 1A is the flow chart of the method for the control printer of an exemplary embodiment according to the present invention, and Figure 1B is Figure 1A The scene figure of illustrated embodiment being applicable in;The method of the control printer can apply electronic equipment (such as: intelligent hand Machine, tablet computer, POS machine etc.) on, as shown in Figure 1A, include the following steps:
Step 101, it is based on menu information, respectively needs the vegetable printed to identify to the transmission of N platform printer, N is positive integer.
In one embodiment, whole vegetables that menu information can be selected at the restaurant by the same user.Implement one The quantity of at least one printer can be set in example for the practical layout of kitchen area according to restaurant, the application beats N platform The particular number of print machine is with no restrictions.In one embodiment, each printer can print a classification according to presetting Vegetable, for example, for providing the printer of print service for cold dish area, the classification for the vegetable that can be printed is cold dish, for The printer of print service is provided for user, what can be printed is that the currently selected fixed whole vegetables of the user are identified and are somebody's turn to do Vegetable identifies the information such as corresponding price, print time.In one embodiment, vegetable mark can for vegetable it is corresponding number, In the Chinese of vegetable, the English name of vegetable any one or both more than combination.
Step 102, it receives M platform printer and is directed to the M item printing feedback message for respectively needing the vegetable printed mark to generate, M is positive integer, and M≤N.
In one embodiment, printing feedback message can carry the printing content of corresponding printer, print time point with And the mark of the printer, for example, printing content is that vegetable identifies 1001 (1001 are the number of vegetable) and print time point On 01 01st, 2016 12:30, printer are identified as 2001.
Step 103, the vegetable for being included based on M item printing feedback message and menu information identifies, and determines in N platform printer With the presence or absence of the target printer of no marking print vegetable, when, there are when target printer, execution step 104 works as N in N platform printer When target printer being not present in platform printer, this normal print menu information is determined, printing is prompted to complete.
In one embodiment, it can be printed in feedback information and be parsed by each printed from M item in feedback message The content that each printer has printed obtains the vegetable all printed, the vegetable and menu information which has been printed In include whole vegetables be compared, can when whole vegetables that menu information is included are not identical as the vegetable that has printed To determine the target printer for existing and not printing vegetable.
Step 104, when there are when target printer, printing the target again to target printer transmission in N platform printer The instruction for the vegetable mark that printer needs to print.
In an exemplary scene, as shown in Figure 1B, illustrated so that N is 3 and M is 2 as an example, electronic equipment 10 control printers 11, printer 12, printer 13 and printer 14, wherein printer 11 is used to be user (diner) The service of print menu is provided, printer 12 is the printer in the Hot dishes area in kitchen, and printer 13 is in kitchen Cold dish area printer, printer 14 is the printer in hot soup area in kitchen, at this point, printer printer 12, beating Print machine 13 and printer 14 can be considered the N platform printer in the application.User by electronic equipment 10 at the restaurant in put Vegetable includes: stewed fish with brown sauce, cold and dressed with sauce cooking shredded potato, Tomato and egg soup, when electronic equipment 10 is to printer 11, printer 12, printer 13 and after printer 14 sends print command, printer 11 is printed comprising stewed fish with brown sauce, cold and dressed with sauce cooking shredded potato, Tomato and egg soup Receipt, printer 12 are that the cook in Hot dishes area prints the receipt of " stewed fish with brown sauce ", and printer 13 is that cook's printing in cold dish area is " cold and dressed with sauce The receipt of cooking shredded potato ", printer 14 is that the cook in hot soup area prints the receipt of " Tomato and egg soup ", it is possible thereby to make the work in kitchen Make personnel and corresponding vegetable is prepared according to corresponding receipt.Printer 12, printer 13 and printer 14 are after printing Respective printing feedback message can be returned to electronic equipment 10, totally 3 printing feedback messages, for example, if 3 printing feedbacks disappear It is comprising " stewed fish with brown sauce ", " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " in breath, then identical as vegetable included in menu information, it can It determines that printer 12, printer 13 and printer 14 print normally, is printed if printer 12 is not returned to electronic equipment 10 Feedback message, printer 13 and printer 14 have fed back printing feedback message to electronic equipment 10, then the printing of each self feed back In feedback message include " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup ", then with vegetable included in menu information " stewed fish with brown sauce ", " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " be not identical, and printer 12 can be determined as target printer by electronic equipment 10, lays equal stress on The instruction of printing " stewed fish with brown sauce " is newly sent to printer 12, to cook as early as possible after so that the cook for cooking " stewed fish with brown sauce " is seen receipt " stewed fish with brown sauce ".
It will be appreciated by persons skilled in the art that the present embodiment only carries out exemplary theory so that N is 3 and M is 2 as an example Bright, the quantity of target printer is N-M=3-2=1 platform in this case, and the target printer in the application is not limited to one The quantity of platform, target printer is determined by the difference of N and M, or two or more, above-mentioned example scene can not shape The limitation of pairs of the application.
In the present embodiment, when there are the target printer of no marking print vegetable, sending printing again to target printer should The instruction for the vegetable mark that target printer needs to print, so as to avoid printer from the situation of no marking print receipt occur, really It protects cook and cooks vegetable according to receipt in time, avoid period of reservation of number too long, improve the dining experience of user.
Fig. 2 is the flow chart of the method for control printer in accordance with an alternative illustrative embodiment of the present invention;The present embodiment Using the above method provided by the embodiments of the present application, with the dish how to be included based on M item printing feedback message and menu information Product mark is determined whether there is for the target printer of no marking print vegetable and is illustrated in conjunction with Figure 1B, such as Fig. 2 institute Show, includes the following steps:
Step 201, the vegetable mark printed that each printing feedback message in parsing M item printing feedback message carries Know, obtains the vegetable all printed mark.
As shown in Figure 1B, electronic equipment 10 can parse each printing feedback message received, read out The vegetable mark printed, obtains the vegetable all printed mark, for example, the vegetable mark all printed includes " braised in soy sauce Fish ", " cold and dressed with sauce cooking shredded potato " corresponding mark, alternatively, the vegetable mark all printed includes " stewed fish with brown sauce ", " cold and dressed with sauce soil Beans silk ", " Tomato and egg soup " corresponding mark.
Step 202, the vegetable mark all printed is compared with the mark of vegetable included in menu information, really The fixed vegetable mark printed identified whether with vegetable included in menu information it is identical, when the vegetable printed identifies and dish When the mark of vegetable included in single information is not identical, step 203 is executed, when vegetable mark and the institute in menu information printed When the vegetable mark for including is identical, step 207 is executed.
For example, the vegetable mark all printed includes " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " corresponding mark When, the mark of vegetable included in menu information includes that " stewed fish with brown sauce ", " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " are corresponding Mark, the then mark that the two is included be not identical;For another example the vegetable mark all printed includes " stewed fish with brown sauce ", " cold and dressed with sauce soil Beans silk ", " Tomato and egg soup " corresponding mark, the mark of vegetable included in menu information includes " stewed fish with brown sauce ", " cold and dressed with sauce Cooking shredded potato ", " Tomato and egg soup " corresponding mark, the then mark that the two is included are identical.
Step 203, when the vegetable mark and the not identical mark of vegetable included in menu information printed, N is determined There are the target printers of no marking print vegetable in platform printer.
It is corresponding to above-mentioned steps 202, when " stewed fish with brown sauce " corresponding mark is not included in the vegetable mark all printed When, it can determine 12 no marking of printer " stewed fish with brown sauce ".
Step 204, the mark of M platform printer is parsed from M item printing feedback message.
Step 205, mark and the corresponding mark of N platform printer based on M platform printer determine that not sent printing is anti- Present the mark of the printer of message.
It is corresponding to above-mentioned steps 203, for example, the printing that electronic equipment 10 can be sent from printer 13 and printer 14 is anti- The mark of respective printer is parsed in feedback message, electronic equipment 10 can also record current controllable whole printers and (beat Print machine 11, printer 12, printer 13 and printer 14) corresponding mark, wherein printer 11 is due to being for user The printer of printing receipt service, the method flow that can be not involved in the present embodiment are provided.Electronic equipment 10 can analytically go out The mark of printer be compared with current controllable whole corresponding marks of printers, can from printer 12, beat Determine that printer 12 does not send printing feedback message to electronic equipment 10 in print machine 13 and printer 14.
Step 206, the mark of the printer of not sent printing feedback message is determined as to the mark of target printer, process Terminate.
Corresponding to above-mentioned steps 205, the mark of printer 12 can be determined as the mark of target printer by electronic equipment 10 Know.
Step 207, when the vegetable mark printed is identical as vegetable mark included in menu information, N platform is determined There is no the target printer of no marking print vegetable in printer, process terminates.
In one embodiment, when there are the target printer of no marking print vegetable, it may be determined that current menu information is beaten Print is normally, can be printed with the voice prompting whole printer of setting normal.
In the present embodiment, the vegetable all printed is obtained by least one printing feedback message of parsing and is identified, by this The vegetable mark all printed is compared with the mark of vegetable included in menu information, and then not sent printing is fed back The mark of the printer of message is determined as the mark of target printer, can quickly be known to the printer for unusual condition occur Not, the printer of the non-normal print of control prints again in time.
Fig. 3 is the flow chart of the method for the control printer of another exemplary embodiment according to the present invention;The present embodiment Using the above method provided by the embodiments of the present application, how to send the vegetable mark for respectively needing to print to an at least printer It is illustrated for knowledge and in conjunction with Figure 1B, as shown in figure 3, including the following steps:
Step 301, the classification for the vegetable mark that menu information includes is determined.
In one embodiment, when user is ordered by electronic equipment 10, vegetable that electronic equipment 10 selects user into Row real-time grading simultaneously determines classification corresponding to each vegetable, and the classification of vegetable can be by the customized setting in restaurant, for example, will " stewed fish with brown sauce " is set as Hot dishes, sets Hot dishes for " cold and dressed with sauce cooking shredded potato ", sets hot soup for " Tomato and egg soup ".
Step 302, printer corresponding with the classification that vegetable identifies is determined from N platform printer.
Step 303, the vegetable printed is respectively needed to identify to printer corresponding with classification transmission.
In one embodiment, the classification of vegetable mark is associated with printer, for example, when classification is Hot dishes, it is corresponding to beat Print machine is located at Hot dishes area, and when classification is cold dish, corresponding printer is located at cold dish area, when classification is hot soup, corresponding printer Positioned at the region for cooking hot soup, when electronic equipment 10 needs to control printer 12, printer 13 and the printer 14 positioned at kitchen When printing receipt, the classification that can be identified according to vegetable controls corresponding printer and prints, for example, for " stewed fish with brown sauce ", controllably Printer 12 processed prints the receipt of " stewed fish with brown sauce ", for " cold and dressed with sauce cooking shredded potato ", printer 13 can control to print " cold and dressed with sauce cooking shredded potato " Receipt can control printer 14 to print the receipt of " Tomato and egg soup " for " Tomato and egg soup ".
In the present embodiment, corresponding printer is controlled according to the classification of vegetable and prints corresponding receipt, kitchen area can be made The division of labor in domain more detail improves the working efficiency that cook cooks vegetable.
Fig. 4 is the flow chart of the method for control printer in accordance with a further exemplary embodiment of the present invention;The present embodiment Using the above method provided by the embodiments of the present application, how to send the vegetable mark for respectively needing to print to an at least printer It is illustrated for knowledge and in conjunction with Figure 1B, as shown in figure 4, including the following steps:
Step 401, after determining the mark of target printer, disappear to whether target printer transmission abnormal inquiry occurs Breath.
For example, when electronic equipment 10 does not receive the printing feedback message of the transmission of printer 12, it can be by printer 12 send inquiry message, to know the state of printer 12 as early as possible.
Step 402, the confirmation message that target printer is returned according to inquiry message is obtained.
In one embodiment, a status indicator position can be set in confirmation message, indicated by the status indicator position The state of printer.
Step 403, the state of target printer is parsed from confirmation message, if the state of target printer indicates that target is beaten Print machine is in normal print state, executes step 404, if the state of target printer indicates that target printer is in abnormal shape State executes step 406.
For example, parsing 0 from the status indicator position of confirmation message, then it represents that exception occurs in printer, parses 1, then Indicate that printer is normal.
Step 404, whether confirmation target printer has printed the corresponding vegetable mark of the target printer, if the target Printer does not print the corresponding vegetable mark of the target printer, executes step 405, if confirmation target printer has printed the mesh The corresponding vegetable mark of printer is marked, this printing is normal, and printing terminates.
Step 405, it is sent to target printer and prints the instruction that the vegetable that the target printer needs to print identifies again, Then corresponding step in above-described embodiment is executed.
In one embodiment, if printer 12 is in normal operating conditions, printer 12 has not been able to print vegetable in time The reason of to may be printer 12 need the vegetable printed mark to cause since network problem receives not in time, then by again The vegetable mark for needing to print is sent to printer 12, it can be ensured that vegetable is printed in time, it is ensured that cook can cook as soon as possible Vegetable processed.
Step 406, it generates prompting message and pushes the prompting message, process terminates.
In one embodiment, prompting message can be shown on the display screen of electronic equipment 10 in a manner of dialog box, Can by way of voice play cuing message, so as to so that staff can to know that printer occurs as early as possible abnormal, On-call maintenance or replacement printer, it is ensured that the process of the cooking vegetable in kitchen is more smooth.
It, can be with timely learning by sending inquiry message to the printer of not sent printing feedback message in the present embodiment The state of not sent printer can prompt staff to know that printer occurs as early as possible abnormal, tie up in time by prompting message Repair or replace printer.
Fig. 5 is the structure chart of the device of the control printer of an exemplary embodiment according to the present invention;As shown in figure 5, The device of the control printer may include: the first sending module 51, receiving module 52, the transmission of the first determining module 53, second Module 54.Wherein:
First sending module 51 sends the vegetable mark for respectively needing to print to N platform printer for being based on menu information Know, N is positive integer;
Module 52 is obtained, is directed to the dish for respectively needing to print that the first sending module 51 is sent for receiving M platform printer At least one printing feedback message that product mark generates, M is positive integer, and M≤N;
First determining module 53, at least one printing feedback message and menu for being received based on acquisition module 52 are believed Included vegetable mark is ceased, is determined in N platform printer with the presence or absence of the target printer of no marking print vegetable;
Second sending module 54, for determining in N platform printer there are when target printer when the first determining module 53, to Target printer sends the instruction for printing the vegetable mark that the target printer needs to print again.
Fig. 6 is the structure chart of the device of control printer in accordance with an alternative illustrative embodiment of the present invention;Such as Fig. 6 institute Show, on the basis of above-mentioned embodiment illustrated in fig. 5, the first determining module 53 includes:
Analyzing sub-module 531, what each printing feedback message for parsing in M item printing feedback message carried has beaten The vegetable of print identifies, and obtains the vegetable all printed mark;
Comparative sub-module 532, vegetable that the whole for obtaining analyzing sub-module has printed mark in menu information The vegetable mark for being included is compared;
First determines submodule 533, and the comparison result for obtaining when Comparative sub-module 532 indicates the dish all printed When product mark and the not identical mark of vegetable included in menu information, determine that there are the mesh of no marking print vegetable in N platform printer Mark printer;
Second determines submodule 534, and the comparison result for obtaining when Comparative sub-module 532 indicates the dish all printed When product mark is identical as vegetable mark included in menu information, determine that there is no the mesh of no marking print vegetable in N platform printer Mark printer.
In one embodiment, the device for controlling printer may also include that
Parsing module 55, for determining that submodule 533 determines that there are the targets of no marking print vegetable in N platform printer first After printer, the mark of printer of the parsing for sending printing feedback message from M item printing feedback message;
Second determining module 56, the printer for being used to send printing feedback message for being resolved to based on parsing module 55 Mark and the corresponding printer of M platform printer mark, determine it is not sent printing feedback message printer mark;
Third determining module 57, the printer of the not sent printing feedback message for determining the second determining module 56 Mark is determined as the mark of target printer.
In one embodiment, the first sending module 51 can include:
Third determines submodule 511, the classification identified for determining the vegetable that menu information includes;
4th determines submodule 512, determines the determining vegetable of submodule 511 with third for determining from N platform printer The corresponding printer of the classification of mark;
Sending submodule 513, for determining that the printer corresponding with classification that submodule 512 determines is sent respectively to the 4th The vegetable mark for needing to print.
In one embodiment, the device for controlling printer may also include that
Third sending module 58, for determining whether target printer transmission abnormal inquiry occurs to the first determining module 53 Ask message;
Confirmation module 59, for receiving the inquiry that target printer is sent according to third sending module 58 when acquisition module 52 When asking the confirmation message that message returns, if confirmation message indicates that target printer is in normal print state, the target is confirmed Whether printer has printed the corresponding vegetable mark of the target printer;
If confirmation module 59 confirms that target printer does not print the corresponding vegetable mark of the target printer, second sends mould Block 54, which is executed, sends the step of printing the instruction that the vegetable that the target printer needs to print identifies again to target printer;
Prompting message generation module 50, if showing that target printer is in for obtaining the confirmation message table that module 52 is got Abnormality generates prompting message and pushes prompting message.
Corresponding to the method for above-mentioned control printer, the application also proposed shown in Fig. 7 according to the present invention one and show The schematic configuration diagram of the electronic equipment of example property embodiment.Referring to FIG. 7, in hardware view, which includes processor, interior Portion's bus, network interface, memory and nonvolatile memory are also possible that hardware required for other business certainly.Place Reason device forms control from the then operation into memory of corresponding computer program is read in nonvolatile memory on logic level The device of printer processed.Certainly, other than software realization mode, other implementations, such as logic is not precluded in the application Device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each logic Unit is also possible to hardware or logical device.
Wherein, processor sends the vegetable mark for respectively needing to print to an at least printer for being based on menu information Know;It receives an at least printer and is directed at least one printing feedback message for respectively needing the vegetable printed mark to generate;Base It is identified in the vegetable that at least one printing feedback message and menu information are included, determining whether there is in an at least printer The target printer of no marking print vegetable;When there are when target printer, sending weight to target printer in an at least printer Newly print the instruction for the vegetable mark that the target printer needs to print.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (9)

1. a kind of method for controlling printer, which is characterized in that the described method includes:
Based on menu information, the vegetable printed is respectively needed to identify to the transmission of N platform printer, N is positive integer;
It obtaining M platform printer and is directed to the M item printing feedback message for respectively needing the vegetable printed mark to generate, M is positive integer, and M≦N;
The vegetable for being included based on M item printing feedback message and the menu information identifies, and determines in the N platform printer With the presence or absence of the target printer of no marking print vegetable;
When, there are when the target printer, the transmission of Xiang Suoshu target printer prints the target again in the N platform printer The instruction for the vegetable mark that printer needs to print;
The vegetable for being included based on M item printing feedback message and menu information identifies, and determines in the N platform printer With the presence or absence of the target printer of no marking print vegetable, comprising:
The vegetable mark printed that each printing feedback message in the M item printing feedback message carries is parsed, is obtained The vegetable mark all printed;
The vegetable mark that the whole has printed is compared with the mark of vegetable included in menu information;
When the vegetable mark and the not identical mark of vegetable included in the menu information that the whole has printed, institute is determined State in N platform printer there are no marking print vegetable target printer;
When the vegetable mark that the whole has printed is identical as vegetable mark included in the menu information, described in determination There is no the target printers of no marking print vegetable in N platform printer.
2. the method according to claim 1, wherein there are no markings to print dish in the determination N platform printer After the step of target printer of product, the method also includes:
The mark of M platform printer of the parsing for sending printing feedback message from M item printing feedback message;
Mark and the corresponding mark of N platform printer based on the M platform printer determine that the not sent printing is anti- Present the mark of the printer of message;
The mark of the printer of the not sent printing feedback message is determined as to the mark of the target printer.
3. being sent to N platform printer respective the method according to claim 1, wherein described be based on menu information The vegetable mark for needing to print, comprising:
Determine the classification for the vegetable mark that menu information includes;
Printer corresponding with the classification that the vegetable identifies is determined from N platform printer;
The vegetable printed is respectively needed to identify to printer corresponding with classification transmission.
4. the method according to claim 1, wherein described print the mesh to target printer transmission again Before the step of instruction for the vegetable mark that mark printer needs to print, the method also includes:
Whether there is abnormal inquiry message to target printer transmission;
When getting the confirmation message that the target printer is returned according to the inquiry message, if the confirmation message indicates The target printer is in normal print state, and it is corresponding to confirm whether the target printer has printed the target printer Vegetable mark;
If the target printer does not print the corresponding vegetable mark of the target printer, execute described to the target printer Send the step of instruction for printing the vegetable mark that the target printer needs to print again;
If the confirmation message indicates that the target printer be in abnormality, generates prompting message and push and described prompt to disappear Breath.
5. a kind of device for controlling printer, which is characterized in that described device includes:
First sending module respectively needs the vegetable printed to identify, N is positive for being based on menu information to the transmission of N platform printer Integer;
Module is obtained, the respective dish for needing to print sent for receiving M platform printer for first sending module The M item that product mark generates prints feedback message, and M is positive integer, and M≤N;
First determining module, M item printing feedback message and the menu for being received based on the acquisition module are believed Included vegetable mark is ceased, is determined in the N platform printer with the presence or absence of the target printer of no marking print vegetable;
Second sending module, for determining that there are the target printers in the N platform printer when first determining module When, Xiang Suoshu target printer sends the instruction for printing the vegetable mark that the target printer needs to print again;
First determining module includes:
Analyzing sub-module, the printing that each printing feedback message for parsing in the M item printing feedback message carries Vegetable mark, obtain all printed vegetables mark;
Comparative sub-module, vegetable that the whole for obtaining the analyzing sub-module has printed mark in menu information The vegetable mark for being included is compared;
First determines submodule, and the comparison result for obtaining when the Comparative sub-module indicates the vegetable that the whole has printed When mark and the not identical mark of vegetable included in the menu information, determine that there are no markings to print dish in the N platform printer The target printer of product;
Second determines submodule, and the comparison result for obtaining when the Comparative sub-module indicates the vegetable all printed mark When identical as vegetable mark included in the menu information, determine that there is no no marking print vegetables in the N platform printer Target printer.
6. device according to claim 5, which is characterized in that described device further include:
Parsing module, for determining that submodule determines that there are the targets of no marking print vegetable in the N platform printer described first After printer, the mark of printer of the parsing for sending printing feedback message from M item printing feedback message;
Second determining module, for described in being resolved to based on the parsing module for sending the printer for printing feedback message Mark and the corresponding mark of M platform printer, determine it is not sent it is described printing feedback message printer mark;
Third determining module, the printing of the not sent printing feedback message for determining second determining module The mark of machine is determined as the mark of the target printer.
7. device according to claim 5, which is characterized in that first sending module includes:
Third determines submodule, the classification identified for determining the vegetable that the menu information includes;
4th determines submodule, determines the determining vegetable mark of submodule with the third for determining from N platform printer The corresponding printer of the classification of knowledge;
Sending submodule, printer corresponding with the classification transmission for determining that submodule determines to the described 4th respectively need to beat The vegetable of print identifies.
8. device according to claim 5, which is characterized in that described device further include:
Third sending module, for determining whether the target printer transmission abnormal inquiry occurs to first determining module Ask message;
Confirmation module, for receiving the confirmation that the target printer is returned according to the inquiry message when the acquisition module When message, if the confirmation message indicates that the target printer is in normal print state, confirm that the target printer is It is no to have printed the corresponding vegetable mark of the target printer;
If the confirmation module confirms that the target printer does not print the corresponding vegetable of the target printer and identifies, described second Sending module executes described send to the target printer and prints what the vegetable that the target printer needs to print identified again The step of instruction;
Prompting message generation module, if the confirmation message for the acquisition module to be got indicates the target printer In abnormality, generates prompting message and push the prompting message.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is used for processor;For storing the memory of the processor-executable instruction;
Wherein, the processor respectively needs the vegetable printed to identify, N for being based on menu information to the transmission of N platform printer For positive integer;The M item printing feedback message that M platform printer is generated for the respective vegetable mark for needing to print is received, M is Positive integer, and M≤N;The vegetable for being included based on M item printing feedback message and the menu information identifies, and determines the N With the presence or absence of the target printer of no marking print vegetable in platform printer;When there are the target printers in the N platform printer When, Xiang Suoshu target printer sends the instruction for printing the vegetable mark that the target printer needs to print again;
The vegetable for being included based on M item printing feedback message and menu information identifies, and determines in the N platform printer With the presence or absence of the target printer of no marking print vegetable, comprising:
The vegetable mark printed that each printing feedback message in the M item printing feedback message carries is parsed, is obtained The vegetable mark all printed;
The vegetable mark that the whole has printed is compared with the mark of vegetable included in menu information;
When the vegetable mark and the not identical mark of vegetable included in the menu information that the whole has printed, institute is determined State in N platform printer there are no marking print vegetable target printer;
When the vegetable mark that the whole has printed is identical as vegetable mark included in the menu information, described in determination There is no the target printers of no marking print vegetable in N platform printer.
CN201610822875.9A 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer Active CN106484343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610822875.9A CN106484343B (en) 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822875.9A CN106484343B (en) 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer

Publications (2)

Publication Number Publication Date
CN106484343A CN106484343A (en) 2017-03-08
CN106484343B true CN106484343B (en) 2019-09-17

Family

ID=58273791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822875.9A Active CN106484343B (en) 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer

Country Status (1)

Country Link
CN (1) CN106484343B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858132B (en) * 2018-11-22 2023-07-21 安天科技集团股份有限公司 Configuration security detection method and device for printing equipment
CN112686600A (en) * 2020-12-28 2021-04-20 北京三快在线科技有限公司 Kitchen list printing terminal control method and device and electronic equipment
CN115805754B (en) * 2023-02-03 2023-08-15 如皋市中罗印刷机械有限公司 Internet-based intelligent remote control method and system for printer

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396517A (en) * 2001-07-06 2003-02-12 佳能株式会社 Print control device and print control method
EP1959351A2 (en) * 2007-01-17 2008-08-20 Canon Finetech Inc. Print data processing device and recording medium
CN101364167A (en) * 2007-08-06 2009-02-11 山东新北洋信息技术股份有限公司 Printing control method and device
CN101582016A (en) * 2009-05-27 2009-11-18 北京大学 Method and device for printing data
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN102469229A (en) * 2010-11-11 2012-05-23 佳能株式会社 Image forming system, image forming method, server, and image forming apparatus
CN103679586A (en) * 2013-12-31 2014-03-26 牛占峰 Chef management system for use in catering service
CN105005455A (en) * 2015-06-26 2015-10-28 丁四涛 Printing control method and device of intelligent terminal
CN105303715A (en) * 2015-10-30 2016-02-03 深圳泓数科技有限公司 Print media output control method and device for medical self-service terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396517A (en) * 2001-07-06 2003-02-12 佳能株式会社 Print control device and print control method
EP1959351A2 (en) * 2007-01-17 2008-08-20 Canon Finetech Inc. Print data processing device and recording medium
CN101364167A (en) * 2007-08-06 2009-02-11 山东新北洋信息技术股份有限公司 Printing control method and device
CN101582016A (en) * 2009-05-27 2009-11-18 北京大学 Method and device for printing data
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN102469229A (en) * 2010-11-11 2012-05-23 佳能株式会社 Image forming system, image forming method, server, and image forming apparatus
CN103679586A (en) * 2013-12-31 2014-03-26 牛占峰 Chef management system for use in catering service
CN105005455A (en) * 2015-06-26 2015-10-28 丁四涛 Printing control method and device of intelligent terminal
CN105303715A (en) * 2015-10-30 2016-02-03 深圳泓数科技有限公司 Print media output control method and device for medical self-service terminal

Also Published As

Publication number Publication date
CN106484343A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106484343B (en) Control method and device, the electronic equipment of printer
US10177931B2 (en) Method for data communication with a domestic appliance by a mobile computer device, mobile computer device and domestic appliance
AU2012338611B2 (en) Cooking device
CN108447543A (en) Menu method for pushing based on cooking equipment and device
CN104146586A (en) Intelligent cooking device and working method of intelligent cooking device
US20140272816A1 (en) Multi-day meal preparation instruction generation
AU2006292126B2 (en) System for determining type and quantity of food prepared by appliance
US20110313868A1 (en) Order Management Device, Expansion Board, Order Management System Including These, and a Control Method and Program for an Order Management Device
JP2016149019A (en) Order management system, electronic apparatus and program
CN108415308A (en) A kind of reservation cooking control method and device, cooking pot
JP2006079209A (en) Dish ordering terminal device and program
US20170231032A1 (en) Management system
US20210212504A1 (en) Recipe suggestion apparatus, recipe suggestion method, and non-transitory computer readable medium for recipe suggestion
CN108388151A (en) Cooking device control method, device, computer equipment and storage medium
JP2021131690A (en) Order management device, order management system, and program
JP6261639B2 (en) Menu generation system
JP2012238192A (en) Order management system, order management device, order management method, and program
JP6217722B2 (en) Table management apparatus and program
JP2004157813A (en) Kitchen order system
JP6013539B2 (en) Management system, management device, cooking device, and management method
US20210312830A1 (en) Server device, electronic device, and method for controlling output control information for recipe information
TW202403655A (en) Meal ordering and preparation system applied to automatic meal cooking equipment wherein, the meal ordering and preparation system includes front-end equipment and back-end server equipment that generate order information profile, select idle equipment, prepare meals and serve the meals
JP2017072725A (en) Generator, generation method, generation program, and recognition system
US20230289720A1 (en) System and method for dynamically modifying a recipe based on customer actions to a previous recipe
US20200394572A1 (en) Reservation order processing system and reservation order processing method

Legal Events

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