CN110032346A - Food and drink printer print out task processing method and processing device - Google Patents

Food and drink printer print out task processing method and processing device Download PDF

Info

Publication number
CN110032346A
CN110032346A CN201910223317.4A CN201910223317A CN110032346A CN 110032346 A CN110032346 A CN 110032346A CN 201910223317 A CN201910223317 A CN 201910223317A CN 110032346 A CN110032346 A CN 110032346A
Authority
CN
China
Prior art keywords
out task
print out
drink
food
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910223317.4A
Other languages
Chinese (zh)
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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201910223317.4A priority Critical patent/CN110032346A/en
Publication of CN110032346A publication Critical patent/CN110032346A/en
Pending legal-status Critical Current

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/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • 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/1237Print job management
    • G06F3/124Parallel printing or parallel ripping
    • 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/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • 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/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a kind of food and drink printer print out task processing method and processing device, method is implemented in the merchant client that connection is established with food and drink printer comprising: it is operated according to the addition of food and drink printer, establishes corresponding print out task queue for it;The print request of at least one business operation triggering is received, at least one corresponding print out task is intercepted;The attribute information for the food and drink printer for including at least one print out task is obtained, and at least one print out task is inserted by corresponding print out task queue according to the attribute information of food and drink printer;It will be sent to corresponding food and drink printer, so that food and drink printer is sequentially completed print out task according to print out task queue.To solve food and drink printer when executing print out task, print out task can not be carried out to control the problems such as caused printed tickets are chaotic.

Description

Food and drink printer print out task processing method and processing device
Technical field
The present invention relates to software fields, and in particular to a kind of food and drink printer print out task processing method and processing device.
Background technique
Food and drink printer is to be suitable for the printer of catering industry, the food and drink printer as used in food and drink shops, generally Head is smaller, cheap, and printing function is relatively simple.It can generally be printed such as point single vote evidence, rear kitchen bill, bill bill Deng.Food and drink printer is after receiving print out task, and directly the print data of print out task is printed based on the received for meeting, no Other can be carried out to print out task such as to store, arrange processing.
Since food and drink printer cannot store the print data that print out task includes in food and drink printer, so working as When it receives multiple concurrent print out task simultaneously, beaten since the task data of multiple print out task can be sent to simultaneously food and drink Print machine, food and drink printer do not have the ability screened to task data, judge whether same print out task, can will receive To print data directly print.When the print data of different print out task is sent simultaneously to food and drink printer, food and drink is beaten The bill that print machine prints can include the print data of different print out task, cause the bill of printing chaotic.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the food and drink printer print out task processing method and processing device of problem.
According to an aspect of the invention, there is provided a kind of food and drink printer print out task processing method, method are implemented in The merchant client of connection is established with food and drink printer comprising:
It is operated according to the addition of food and drink printer, establishes corresponding print out task queue for it;
The print request of at least one business operation triggering is received, at least one corresponding print out task is intercepted;
The attribute information for the food and drink printer for including at least one print out task is obtained, and according to the category of food and drink printer Property information at least one print out task is inserted into corresponding print out task queue;
Print out task queue is sent to corresponding food and drink printer, for food and drink printer according to print out task queue according to Secondary completion print out task.
Optionally, it is operated according to the addition of food and drink printer, establishing corresponding print out task queue for it further comprises:
Obtain the attribute information of food and drink printer;
Judged whether that corresponding print out task queue has been established according to the attribute information of food and drink printer;
If it is not, then establishing corresponding print out task queue for it.
Optionally, the print request of at least one business operation triggering is received, at least one corresponding print out task is intercepted Further comprise:
Multiple concurrent print requests of at least one business operation triggering are received, corresponding multiple concurrent printings is intercepted and appoints Business;
The attribute information for the food and drink printer for including at least one print out task is obtained, and according to the category of food and drink printer Property information at least one print out task be inserted into corresponding print out task queue further comprise:
The attribute information for the food and drink printer for including in multiple concurrent print out task is obtained, and according to food and drink printer Attribute information determines corresponding print out task queue;
If the corresponding print out task queue of multiple concurrent print out task is same print out task queue, according to it is multiple simultaneously The task attribute information of the print out task of hair, which is ranked up, is sequentially inserted into print out task queue.
Optionally, multiple concurrent print requests include the single print request of point, rear kitchen print request, checkout print request and/ Or take out print request.
Optionally, the attribute information of food and drink printer includes that IP address, the address Mac, food and drink printer ID and/or food and drink are beaten Yin Ji supplier ID.
According to another aspect of the present invention, a kind of food and drink printer print out task processing unit is provided, device is implemented in The merchant client of connection is established with food and drink printer comprising:
Queue module is established, suitable for operating according to the addition of food and drink printer, establishes corresponding print out task queue for it;
Blocking module, suitable for receive at least one business operation triggering print request, intercept it is corresponding at least one beat Print task;
It is inserted into module, suitable for obtaining the attribute information for the food and drink printer for including at least one print out task, and according to At least one print out task is inserted into corresponding print out task queue by the attribute information of food and drink printer;
Sending module, suitable for print out task queue is sent to corresponding food and drink printer, for food and drink printer according to Print out task queue is sequentially completed print out task.
Optionally, Queue module is established to be further adapted for:
Obtain the attribute information of food and drink printer;
Judged whether that corresponding print out task queue has been established according to the attribute information of food and drink printer;
If it is not, then establishing corresponding print out task queue for it.
Optionally, blocking module is further adapted for:
Multiple concurrent print requests of at least one business operation triggering are received, corresponding multiple concurrent printings is intercepted and appoints Business;
Insertion module is further adapted for:
The attribute information for the food and drink printer for including in multiple concurrent print out task is obtained, and according to food and drink printer Attribute information determines corresponding print out task queue;
If the corresponding print out task queue of multiple concurrent print out task is same print out task queue, according to it is multiple simultaneously The task attribute information of the print out task of hair, which is ranked up, is sequentially inserted into print out task queue.
Optionally, multiple concurrent print requests include the single print request of point, rear kitchen print request, checkout print request and/ Or take out print request.
Optionally, the attribute information of food and drink printer includes that IP address, the address Mac, food and drink printer ID and/or food and drink are beaten Yin Ji supplier ID.
According to another aspect of the invention, provide a kind of electronic equipment, comprising: processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory makes the above-mentioned food and drink printer of processor execution for storing an at least executable instruction, executable instruction Print the corresponding operation of task processing method.
In accordance with a further aspect of the present invention, a kind of computer storage medium is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor execute such as the corresponding operation of above-mentioned food and drink printer print out task processing method.
The food and drink printer print out task processing method and processing device provided according to the present invention, according to the addition of food and drink printer Operation, establishes corresponding print out task queue for it;The print request of at least one business operation triggering is received, is intercepted corresponding At least one print out task;The attribute information for the food and drink printer for including at least one print out task is obtained, and according to food and drink At least one print out task is inserted into corresponding print out task queue by the attribute information of printer;Corresponding food and drink will be sent to beat Print machine, so that food and drink printer is sequentially completed print out task according to print out task queue.It is being held to solve food and drink printer When row print out task, print out task can not be carried out to control the problems such as caused printed tickets are chaotic.Further, printing is appointed Business insertion print out task queue may be implemented orderly to handle multiple concurrent print out task, and guarantee is sent to food and drink printing The accurate printing to print out task may be implemented in the print out task queue of machine.And based on the present invention, can be printed by a food and drink Machine completes multiple print out task of former multiple food and drink printers, and the cost for configuring multiple food and drink printers is reduced for businessman.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of food and drink printer print out task processing method according to an embodiment of the invention;
Fig. 2 shows the functional block diagrams of food and drink printer print out task processing unit according to an embodiment of the invention;
Fig. 3 shows the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow chart of food and drink printer print out task processing method according to an embodiment of the invention.Such as Shown in Fig. 1, food and drink printer print out task processing method specifically comprises the following steps:
Step S101 operates according to the addition of food and drink printer, establishes corresponding print out task queue for it.
In the present embodiment, food and drink printer is that printer used in bill printing is provided for catering industry, can be beaten Print such as needs to print corresponding single vote according to, rear kitchen bill according to user's point list business, needs to beat according to user's business of checking Print corresponding bill bill, according to outer attraction list business need to print it is corresponding after kitchen bill, take out single vote according to etc., the above difference After different print data caused by business is sent to food and drink printer, food and drink printer prints correspondence according to print data Bill.For food and drink printer used in catering industry, received by print out task generally by with food and drink printer The merchant client for establishing connection is sent, and merchant client such as pos machine, businessman can operate merchant client and complete point Dan Ye It is engaged in, business of checking etc., or user's operation user client is received by merchant client and the behaviour such as carries out a list, check, take out The data generated after work complete the single business of point, business of checking, takeout service etc..
Merchant client can trigger print request according to each business operation in the prior art, and print out task is directly transmitted Printed to food and drink printer, without being managed to each print out task, cause food and drink printer receive it is multiple When the print data of print out task, the bill of printing is chaotic.Merchant client can be first according to food and drink printer in the present embodiment Addition operation establishes a corresponding print out task queue for food and drink printer.Print out task queue can be first in first out team Column, the sequence for facilitating food and drink printer to be inserted into according to print out task successively print.
It is it specifically, being operated according to the addition of food and drink printer when establishing print out task queue for food and drink printer Establish corresponding print out task queue.The addition operation of food and drink printer is added according to the printing demand of each business, such as The single business of point needs to print corresponding single vote evidence, it may be desirable to add the food and drink printer (foreground of corresponding print point single vote evidence Food and drink printer) and printing after the standby rear kitchen bill singly needed in kitchen food and drink printer (rear kitchen food and drink printer).Foreground food and drink Printer and rear kitchen food and drink printer refer to the function of realizing required for food and drink printer, are not specific to specific food and drink printer The same food and drink printer can be used in entity, in practical applications, foreground food and drink printer and rear kitchen food and drink printer, can also To use different food and drink printers.It is that food and drink printer establishes print out task queue and refers to food and drink for entity in the present embodiment Printer establishes print out task queue, when foreground food and drink printer and after kitchen food and drink printer be different entities food and drink printer When, when adding foreground food and drink printer or rear kitchen food and drink printer, respectively it establishes corresponding print out task queue;Work as foreground When food and drink printer and rear kitchen food and drink printer are the food and drink printer of same entity, then when adding any food and drink printer, Need to judge whether to be that the food and drink printer of the entity establishes print out task queue, if not having, establishes print out task Queue, if it has been established that if food and drink printer and established print out task queue bound.Herein, judging food and drink printing When whether machine has built up print out task queue, need first to obtain the attribute information of food and drink printer, such as the IP of food and drink printer The food and drink printer attributes such as address, the address Mac, food and drink printer ID, food and drink printer supplier ID.According to food and drink printer Attribute information can determine specific food and drink printer.When establishing one-to-one print out task queue for food and drink printer, root It is established according to the attribute information of food and drink printer, has ensured the corresponding relationship between print out task queue and food and drink printer.Adding When snack drinks printer, the attribute information of food and drink printer can be first obtained, can be sentenced according to the attribute information of food and drink printer It is disconnected that corresponding print out task queue whether has been established, if it is not, then corresponding print out task queue is established for it, if so, being not necessarily to Resettle print out task queue.
Step S102 receives the print request of at least one business operation triggering, intercepts at least one corresponding printing and appoints Business.
It is corresponding to the print request after the print request that merchant client receives the triggering of at least one business operation Print out task is intercepted, and avoids that print out task is directly sent to printed tickets confusion problem caused by food and drink printer.
Further, the print request of at least one business operation triggering received is specially multiple concurrent print requests, It such as puts single print request, rear kitchen print request, checkout print request, take out print request.When different user is using respective When user client carries out single business operation simultaneously, multiple concurrent point list print requests can be triggered and the printing of rear kitchen is asked It asks;Alternatively, user B is carried out using user client while user A has carried out a little single business operation using user client Business operation of checking can trigger parallel point list print request and print request of checking;Alternatively, receiving takeout service operation While the take-away print request of triggering, also receive merchant client by user carry out it is that single business operation triggers and Capable point list print request and print request etc. of checking;The parallel print request of above each business operation triggering, can make quotient All there is corresponding parallel print out task in family's client, to these, parallel print out task is intercepted.
Step S103 obtains the attribute information for the food and drink printer for including at least one print out task, and according to food and drink At least one print out task is inserted into corresponding print out task queue by the attribute information of printer.
After intercepting at least one print out task, the attribute for the food and drink printer for including at least one print out task is obtained Information.The attribute information of corresponding food and drink printer can be arranged when generating in each print out task.Such as put single business operation triggering When print request, it is food and drink printer A, the IP address of food and drink printer that the print out task of generation, which can be specified by food and drink printer ID, It is printed for the food and drink printer of XX.XX.X.XXX.It, can be with after the attribute information for getting food and drink printer in print out task Corresponding print out task queue is determined according to the attribute information of food and drink printer, facilitates and print out task is inserted into corresponding printing times Business queue.Further, for multiple concurrent print out task, if it belongs to same print out task queue, in insertion print out task When queue, it can be ranked up according to the task attribute information of multiple concurrent print out task, be sequentially inserted into print out task queue.Appoint Business attribute information includes the priority such as print out task, and the corresponding print out task priority of print request of checking is higher than point singles' print Corresponding print out task is requested, then the corresponding print out task of the print request that will check first is inserted into print out task queue, then will point list The corresponding print out task of print request is inserted into print out task queue.The above are for example, according to performance when being embodied Setting, herein without limitation.
Print out task queue is sent to corresponding food and drink printer, so that food and drink printer is according to printing by step S104 Task queue is sequentially completed print out task.
Print out task queue is sent to corresponding food and drink printer, food and drink printer can according to print out task queue according to Secondary to receive each print out task, each respective print data of print out task is independent each other, and food and drink printer can be successively Each print out task is completed, printing chaotic problem will not be occurred by having ensured when food and drink printer prints each print out task.
Further, it is based on the present embodiment, businessman can reduce the food and drink printer number being arranged in shops, can use Multiple print out task are inserted into print out task queue by the print out task queue of the present embodiment, by a food and drink printer according to The printing to multiple print out task is completed in print out task queue.
The food and drink printer print out task processing method provided according to the present invention is operated according to the addition of food and drink printer, Corresponding print out task queue is established for it;The print request of at least one business operation triggering is received, interception is corresponding at least One print out task;The attribute information for the food and drink printer for including at least one print out task is obtained, and is printed according to food and drink At least one print out task is inserted into corresponding print out task queue by the attribute information of machine;Corresponding food and drink printing will be sent to Machine, so that food and drink printer is sequentially completed print out task according to print out task queue.It is being executed to solve food and drink printer When print out task, print out task can not be carried out to control the problems such as caused printed tickets are chaotic.Further, by print out task Insertion print out task queue may be implemented orderly to handle multiple concurrent print out task, and guarantee is sent to food and drink printer Print out task queue the accurate printing to print out task may be implemented.It, can be by a food and drink printer and based on the present invention It completes multiple print out task of former multiple food and drink printers, the cost for configuring multiple food and drink printers is reduced for businessman.
Fig. 2 shows the functional block diagrams of food and drink printer print out task processing unit according to an embodiment of the invention. As shown in Fig. 2, food and drink printer print out task processing unit includes following module, wherein device is implemented in and food and drink printer Establish the merchant client of connection:
It establishes Queue module 210 to be suitable for: being operated according to the addition of food and drink printer, establish corresponding print out task team for it Column.
Blocking module 220 is suitable for: receive at least one business operation triggering print request, intercept it is corresponding at least one Print out task.
Insertion module 230 is suitable for: obtaining the attribute information for the food and drink printer for including at least one print out task, and root At least one print out task is inserted into corresponding print out task queue according to the attribute information of food and drink printer.
Sending module 240 is suitable for: print out task queue being sent to corresponding food and drink printer, so that food and drink printer is pressed Print out task is sequentially completed according to print out task queue.
Optionally, it establishes Queue module 210 to be further adapted for: obtaining the attribute information of food and drink printer;It is beaten according to food and drink The attribute information of print machine judges whether that corresponding print out task queue has been established;If it is not, then establishing corresponding print out task for it Queue.
Optionally, blocking module 220 is further adapted for: the multiple concurrently printings for receiving the triggering of at least one business operation are asked It asks, intercepts corresponding multiple concurrent print out task;
Insertion module 230 is further adapted for: obtaining the attribute for the food and drink printer for including in multiple concurrent print out task Information, and corresponding print out task queue is determined according to the attribute information of food and drink printer;If multiple concurrent print out task pair When the print out task queue answered is same print out task queue, carried out according to the task attribute information of multiple concurrent print out task Sequence is sequentially inserted into print out task queue.
Corresponding description in the description reference method embodiment of above each module, details are not described herein.
Present invention also provides a kind of nonvolatile computer storage media, the computer storage medium is stored at least The food and drink printer print out task in above-mentioned any means embodiment can be performed in one executable instruction, the computer executable instructions Processing method.
Fig. 3 shows the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention, and the present invention is specifically real Example is applied not limit the specific implementation of electronic equipment.
As shown in figure 3, the electronic equipment may include: processor (processor) 302, communication interface (Communications Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:
Processor 302, communication interface 304 and memory 306 complete mutual communication by communication bus 308.
Communication interface 304, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 302 can specifically execute above-mentioned food and drink printer print out task processing method for executing program 310 Correlation step in embodiment.
Specifically, program 310 may include program code, which includes computer operation instruction.
Processor 302 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 executes the food and drink printer in above-mentioned any means embodiment Print out task processing method.The specific implementation of each step may refer to above-mentioned food and drink printer print out task processing in program 310 Corresponding description in corresponding steps and unit in embodiment, this will not be repeated here.Those skilled in the art can be clearly Recognize, for convenience and simplicity of description, the equipment of foregoing description and the specific work process of module, preceding method can be referred to Corresponding process description in embodiment, details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize food and drink printer print out task processing according to an embodiment of the present invention The some or all functions of some or all components in device.The present invention is also implemented as being retouched here for executing The some or all device or device programs (for example, computer program and computer program product) for the method stated. It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or with it is any its He provides form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of food and drink printer print out task processing method, wherein the method, which is implemented in, establishes connection with food and drink printer Merchant client comprising:
It is operated according to the addition of food and drink printer, establishes corresponding print out task queue for it;
The print request of at least one business operation triggering is received, at least one corresponding print out task is intercepted;
The attribute information for the food and drink printer for including at least one described print out task is obtained, and according to the category of food and drink printer Property information at least one print out task is inserted into corresponding print out task queue;
The print out task queue is sent to corresponding food and drink printer, so that food and drink printer is according to the print out task team Column are sequentially completed print out task.
2. it is described to be operated according to the addition of food and drink printer according to the method described in claim 1, wherein, it establishes and corresponds to for it Print out task queue further comprise:
Obtain the attribute information of food and drink printer;
Judged whether that corresponding print out task queue has been established according to the attribute information of the food and drink printer;
If it is not, then establishing corresponding print out task queue for it.
3. method according to claim 1 or 2, wherein the print request for receiving the triggering of at least one business operation, Intercepting at least one corresponding print out task further comprises:
Multiple concurrent print requests of at least one business operation triggering are received, corresponding multiple concurrent print out task are intercepted;
The attribute information for the food and drink printer for including at least one print out task described in the acquisition, and according to food and drink printer Attribute information at least one print out task be inserted into corresponding print out task queue further comprise:
The attribute information for the food and drink printer for including in multiple concurrent print out task is obtained, and according to the attribute of food and drink printer Information determines corresponding print out task queue;
If the corresponding print out task queue of multiple concurrent print out task is same print out task queue, according to multiple concurrent The task attribute information of print out task, which is ranked up, is sequentially inserted into print out task queue.
4. according to the method described in claim 3, wherein, the multiple concurrent print request includes point single print request, rear kitchen Print request, checkout print request and/or take-away print request.
5. method according to any of claims 1-4, wherein the attribute information of the food and drink printer includes IP Location, the address Mac, food and drink printer ID and/or food and drink printer supplier ID.
6. a kind of food and drink printer print out task processing unit, wherein described device, which is implemented in, establishes connection with food and drink printer Merchant client comprising:
Queue module is established, suitable for operating according to the addition of food and drink printer, establishes corresponding print out task queue for it;
Blocking module intercepts at least one corresponding printing and appoints suitable for receiving the print request of at least one business operation triggering Business;
It is inserted into module, suitable for the attribute information for the food and drink printer for including at least one described print out task of acquisition, and according to At least one print out task is inserted into corresponding print out task queue by the attribute information of food and drink printer;
Sending module, suitable for the print out task queue is sent to corresponding food and drink printer, for food and drink printer according to The print out task queue is sequentially completed print out task.
7. device according to claim 6, wherein the Queue module of establishing is further adapted for:
Obtain the attribute information of food and drink printer;
Judged whether that corresponding print out task queue has been established according to the attribute information of the food and drink printer;
If it is not, then establishing corresponding print out task queue for it.
8. device according to claim 6 or 7, wherein the blocking module is further adapted for:
Multiple concurrent print requests of at least one business operation triggering are received, corresponding multiple concurrent print out task are intercepted;
The insertion module is further adapted for:
The attribute information for the food and drink printer for including in multiple concurrent print out task is obtained, and according to the attribute of food and drink printer Information determines corresponding print out task queue;
If the corresponding print out task queue of multiple concurrent print out task is same print out task queue, according to multiple concurrent The task attribute information of print out task, which is ranked up, is sequentially inserted into print out task queue.
9. a kind of electronic equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of food and drink printer print out task processing method described in any one of 1-5.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute the corresponding operation of food and drink printer print out task processing method according to any one of claims 1 to 5.
CN201910223317.4A 2019-03-22 2019-03-22 Food and drink printer print out task processing method and processing device Pending CN110032346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910223317.4A CN110032346A (en) 2019-03-22 2019-03-22 Food and drink printer print out task processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910223317.4A CN110032346A (en) 2019-03-22 2019-03-22 Food and drink printer print out task processing method and processing device

Publications (1)

Publication Number Publication Date
CN110032346A true CN110032346A (en) 2019-07-19

Family

ID=67236485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910223317.4A Pending CN110032346A (en) 2019-03-22 2019-03-22 Food and drink printer print out task processing method and processing device

Country Status (1)

Country Link
CN (1) CN110032346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865776A (en) * 2019-09-30 2020-03-06 浙江口碑网络技术有限公司 Bill printing method and device
CN112035075A (en) * 2020-08-07 2020-12-04 深圳市艾密特供应链管理有限公司 Logistics surface single-double printing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR9814773A (en) * 1998-01-21 2001-10-23 Electronics For Imaging Inc Task token printer designation system
US20120212771A1 (en) * 2011-02-23 2012-08-23 Joan Stagaman Goddard Resolution of conflicts between print jobs and printers in a print shop environment
CN106406781A (en) * 2016-11-18 2017-02-15 北京红马科技有限公司 Ticket printing method for reducing paper dependence
CN106528011A (en) * 2016-11-14 2017-03-22 北京红马科技有限公司 Method, system and equipment capable of simultaneously supporting printing of various types of ticket paper
CN106951198A (en) * 2017-03-03 2017-07-14 华中科技大学 A kind of mobile cloud Method of printing and system
CN108021342A (en) * 2017-12-27 2018-05-11 金蝶软件(中国)有限公司 A kind of data-printing method, system and relevant apparatus based on cloud server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR9814773A (en) * 1998-01-21 2001-10-23 Electronics For Imaging Inc Task token printer designation system
US20120212771A1 (en) * 2011-02-23 2012-08-23 Joan Stagaman Goddard Resolution of conflicts between print jobs and printers in a print shop environment
CN106528011A (en) * 2016-11-14 2017-03-22 北京红马科技有限公司 Method, system and equipment capable of simultaneously supporting printing of various types of ticket paper
CN106406781A (en) * 2016-11-18 2017-02-15 北京红马科技有限公司 Ticket printing method for reducing paper dependence
CN106951198A (en) * 2017-03-03 2017-07-14 华中科技大学 A kind of mobile cloud Method of printing and system
CN108021342A (en) * 2017-12-27 2018-05-11 金蝶软件(中国)有限公司 A kind of data-printing method, system and relevant apparatus based on cloud server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865776A (en) * 2019-09-30 2020-03-06 浙江口碑网络技术有限公司 Bill printing method and device
CN110865776B (en) * 2019-09-30 2023-07-04 浙江口碑网络技术有限公司 Bill printing method and device
CN112035075A (en) * 2020-08-07 2020-12-04 深圳市艾密特供应链管理有限公司 Logistics surface single-double printing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110399106A (en) Print control program, the apparatus and system of bill printer
EP3251048B1 (en) Executing an operation over file repositories located in different authentication domains using a representational state transfer (rest)-compliant client
JP2882687B2 (en) Method and system for automatically generating efficient test cases for systems with interacting elements
CN105303423A (en) Patent information interaction method, patent information interaction device and terminal
CN110032346A (en) Food and drink printer print out task processing method and processing device
CN108769083A (en) Login method, apparatus and system based on distributed server
US9778886B2 (en) Error handling for print workflows
CN109815057A (en) A kind of data back up method and mobile terminal
JP6776869B2 (en) server
US10536606B2 (en) Server system and non-transitory computer-readable medium storing computer-readable instructions for server system
CN110135940A (en) Kitchen order display device and method afterwards
CN110493251A (en) A kind of data processing method, device, electronic equipment and storage medium
CN109800063A (en) Business method for parallel processing, device, server, storage medium
CN110210586A (en) The binding method of car-mounted terminal and vehicle, device and calculating equipment
CN110197398A (en) The information processing method and device of electronic ticket
US20070226738A1 (en) Enabling a Designer to Specify Workflows to Process Various Results of Execution of Transactions
CN110365517A (en) Data processing method, device, storage medium and computer equipment
CN108089972A (en) interface test method and device
US20140146965A1 (en) Method to verify that a user has made an external copy of a cryptographic key
CN108874523A (en) A kind of programmed method based on the AI and promise of children education control asynchronous function sequence
US8539496B1 (en) Method and apparatus for configuring network systems implementing diverse platforms to perform business tasks
CN105100031B (en) A kind of methods, devices and systems that batch addition is trusted
CN107220818A (en) online payment method and device
CN106209732A (en) A kind of offer method and device of identifying code
CN110223051A (en) Method of payment, device, equipment, system and storage medium

Legal Events

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

Application publication date: 20190719

RJ01 Rejection of invention patent application after publication