CN110399106A - Print control program, the apparatus and system of bill printer - Google Patents
Print control program, the apparatus and system of bill printer Download PDFInfo
- Publication number
- CN110399106A CN110399106A CN201910651703.3A CN201910651703A CN110399106A CN 110399106 A CN110399106 A CN 110399106A CN 201910651703 A CN201910651703 A CN 201910651703A CN 110399106 A CN110399106 A CN 110399106A
- Authority
- CN
- China
- Prior art keywords
- printer
- task
- target
- bill
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007639 printing Methods 0.000 claims abstract description 54
- 238000000034 method Methods 0.000 claims description 26
- 238000004891 communication Methods 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 16
- 239000000284 extract Substances 0.000 claims description 5
- 235000013305 food Nutrition 0.000 description 18
- 230000006870 function Effects 0.000 description 13
- 235000012054 meals Nutrition 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 235000013311 vegetables Nutrition 0.000 description 2
- 241001522296 Erithacus rubecula Species 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 230000003245 working effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/126—Job scheduling, e.g. queuing, determine appropriate device
- G06F3/1263—Job scheduling, e.g. queuing, determine appropriate device based on job priority, e.g. re-arranging the order of jobs, e.g. the printing sequence
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 invention discloses a kind of print control programs of bill printer, apparatus and system, are related to electronic information field, comprising: generate print out task according to the business datum received, the bill printer to match with the print out task is determined as target printer;The print out task is added in printer task queue corresponding with the target printer;Print out task is extracted from the corresponding printer task queue of the target printer as goal task, and inquire the print state of the target printer, when the print state of the target printer is available mode, the goal task is issued to the target printer.Which by monitor each printer print state and only state can with when issue print out task can be avoided from source because printer modes extremely caused by printing failure and leakage list phenomenon, to improve the reliability of printer.
Description
Technical field
The present invention relates to electronic information fields, and in particular to a kind of print control program of bill printer, device and is
System.
Background technique
With the development of electronic information, printer has become the office equipment of all kinds of office space indispensabilities.Very much
In industry, need to receive all kinds of bills such as single, checkout by slip printer prints.In a practical situation, printer may be due to
The many reasons such as internal fault, Network Abnormal cause printing to fail, specific to then will lead in the application scenarios of bill printer
Leak single operation.Print out task, number of patent application 200710181574.3 whether have been normally completed in order to monitor printer
Patent application in disclose a kind of switching by paper discharge operation come monitor printer from print state to idle state, thus
The method whether monitor printer has normally completed print out task.
But inventor has found in the implementation of the present invention, aforesaid way in the prior art at least exists as follows
Defect: relatively complicated inefficient in such a way that whether paper discharge operation monitoring printer normally completes print out task, it is necessary to for each
A print out task checks whether bill corresponding to the print out task has successfully drawn a bill one by one.Also, which has stronger
Hysteresis quality may be that user brings irremediable influence because leaking single operation when detecting failed draw a bill.And
And the above method is typically only capable to be applied to single printer, and the scene of multiple printer concurrent workings is also not suitable for.
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 print control program, the apparatus and system of a kind of bill printer of problem.
According to an aspect of the invention, there is provided a kind of print control program of bill printer, comprising:
Print out task is generated according to the business datum received, the bill printer to match with the print out task is true
It is set to target printer;
The print out task is added in printer task queue corresponding with the target printer;
Print out task is extracted from the corresponding printer task queue of the target printer as goal task, and is looked into
The print state for asking the target printer, when the print state of the target printer is available mode, by the target
Mission dispatching is to the target printer.
Optionally, after the print state of the inquiry target printer, further comprise:
When the print state of the target printer is non-available mode, the printing shape of target printer described in poll
The goal task is issued to the target and beaten by state when the print state of the target printer is switched to available mode
Print machine;Alternatively,
When the print state of the target printer is non-available mode, according to the task priority of the goal task
Determine whether for the goal task to be moved to printer task corresponding to the bill printer that print state is available mode
In queue.
Optionally, described that the print out task is added to printer task queue corresponding with the target printer
In include: that the print out task is added to by printer task corresponding with the target printer by queue thread of joining the team
In queue;
The print out task that extracts from the corresponding printer task queue of the target printer is as goal task
It include: to go out team's thread by queue to extract print out task conduct from the corresponding printer task queue of the target printer
Goal task;
Also, the method further includes: by the current state of target printer described in state-detection thread poll,
The print state of the target printer is updated according to polling result.
Optionally, the bill printer is multiple, and each bill printer corresponds respectively to different types of business
Data;The business datum that then basis receives generates print out task, the bill printing that will be matched with the print out task
Machine is determined as target printer
Type of service corresponding to the type of the business datum received described in determination and each bill printer;
The bill printer that the type of type of service and the business datum matches is determined as target printer.
Optionally, before the method executes, further comprise:
It is directed to each bill printer respectively, generates printer task queue corresponding with the bill printer;
According to the attribute information of the bill printer, queue length, the task poll week of the printer task queue are configured
Phase, task priority strategy, and/or retry strategy.
Optionally, the business datum that the basis receives generates print out task, by what is matched with the print out task
Bill printer is determined as target printer and specifically includes:
When the business datum is the corresponding voice and packet data concurrent service data of multiple voice and packet data concurrent services operation, it is directed to each respectively simultaneously
The corresponding voice and packet data concurrent service data of sending service operation generate at least one print out task;
Target printer is determined for each print out task respectively.
Optionally, described to determine that target printer includes: for each print out task respectively
Each print out task is cached into preset buffer queue, respectively for each printing in the buffer queue
Task determines target printer;Alternatively,
Thread, which is distributed, by multiple concurrently executing for tasks determines target printer corresponding to each print out task.
Optionally, the bill printer is food and drink printer, and the food and drink printer further comprises: foreground printing
Machine, and/or rear kitchen printer.
According to another aspect of the present invention, a kind of print control unit of bill printer is provided, comprising:
Task generation module will be with the print out task phase suitable for generating print out task according to the business datum received
Matched bill printer is determined as target printer;
Task adding module is appointed suitable for the print out task is added to printer corresponding with the target printer
It is engaged in queue;
Mission dispatching module, suitable for extracting print out task from the corresponding printer task queue of the target printer
As goal task, and the print state of the target printer is inquired, when the print state of the target printer is available
When state, the goal task is issued to the target printer.
Optionally, the mission dispatching module is further adapted for:
When the print state of the target printer is non-available mode, the printing shape of target printer described in poll
The goal task is issued to the target and beaten by state when the print state of the target printer is switched to available mode
Print machine;Alternatively,
When the print state of the target printer is non-available mode, according to the task priority of the goal task
Determine whether for the goal task to be moved to printer task corresponding to the bill printer that print state is available mode
In queue.
Optionally, the task adding module is particularly adapted to: being added to the print out task by queue thread of joining the team
In printer task queue corresponding with the target printer;
The mission dispatching module is particularly adapted to: going out team's thread from the corresponding printing of the target printer by queue
Print out task is extracted in machine task queue as goal task;
Also, by the current state of target printer described in state-detection thread poll, institute is updated according to polling result
State the print state of target printer.
Optionally, the bill printer is multiple, and each bill printer corresponds respectively to different types of business
Data;Then the task generation module is particularly adapted to:
Type of service corresponding to the type of the business datum received described in determination and each bill printer;
The bill printer that the type of type of service and the business datum matches is determined as target printer.
Optionally, the task generation module is further adapted for:
It is directed to each bill printer respectively, generates printer task queue corresponding with the bill printer;
According to the attribute information of the bill printer, queue length, the task poll week of the printer task queue are configured
Phase, task priority strategy, and/or retry strategy.
Optionally, the task generation module is particularly adapted to:
When the business datum is the corresponding voice and packet data concurrent service data of multiple voice and packet data concurrent services operation, it is directed to each respectively simultaneously
The corresponding voice and packet data concurrent service data of sending service operation generate at least one print out task;
Target printer is determined for each print out task respectively.
Optionally, the task generation module is particularly adapted to:
Each print out task is cached into preset buffer queue, respectively for each printing in the buffer queue
Task determines target printer;Alternatively,
Thread, which is distributed, by multiple concurrently executing for tasks determines target printer corresponding to each print out task.
Optionally, the bill printer is food and drink printer, and the food and drink printer further comprises: foreground printing
Machine, and/or rear kitchen printer.
Another aspect according to the present invention provides a kind of print control unit system of bill printer, including above-mentioned
Bill printer print control unit and multiple bill printers.
According to the present invention in another aspect, providing a kind of electronic equipment, comprising: processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is as above that the executable instruction executes the processor
The corresponding operation of the print control program for the bill printer stated.
According to the present invention in another aspect, provide a kind of computer storage medium, be stored in the storage medium to
A few executable instruction, the print control program that the executable instruction executes processor such as above-mentioned bill printer are corresponding
Operation.
It, can will be with print out task in the print control program, apparatus and system of bill printer provided by the invention
The bill printer to match is determined as target printer, and print out task is added to printing corresponding with target printer
In machine task queue;Correspondingly, print out task is extracted from the corresponding printer task queue of target printer as target
Task, and goal task is only issued to target printer when the print state of target printer is available mode.Thus may be used
See, which can make more printings by way of corresponding printer task queue is arranged for each bill printer
Print out task between machine is not interfere with each other, to be more suitable in the scene of plurality of printers concurrent working.Also, which is logical
Cross the print state for monitoring each printer and only state can with when issue print out task can be avoided from source because printing
The failure of printing caused by machine abnormal state and the single phenomenon of leakage, to improve the reliability of printer.
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 a kind of flow chart of the print control program of bill printer of the offer of the embodiment of the present invention one;
Fig. 2 shows a kind of flow charts of the print control program of bill printer provided by Embodiment 2 of the present invention;
Fig. 3 shows a kind of structure chart of the print control unit of bill printer of the offer of the embodiment of the present invention three;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment of the offer of the embodiment of the present invention five.
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.
Embodiment one
Fig. 1 shows a kind of flow chart of the print control program of bill printer of the offer of the embodiment of the present invention one.Such as
Shown in Fig. 1, this method comprises:
Step S110: print out task is generated according to the business datum received, will be beaten with the bill that print out task matches
Print machine is determined as target printer.
Wherein, the executing subject of the present embodiment can be that background server or businessman's management for receiving business datum are set
Standby, all equipment that can receive business datum can be used as the executing subject of the present embodiment.
In addition, business datum is usually the data generated by business operation.For example, point Dan Ye will be generated by putting single business operation
Business data, payment transaction operation will generate payment transaction data.The specific type and intension of business datum depend on business operation
Type, which is not limited by the present invention.Specifically, it is grasped due to usually requiring to be cooperateed with by multiple bill printers in actual scene
Make the printing to realize all kinds of bills, therefore, in this step, need the type for the business datum that further basis receives,
The bill printer to match with the print out task is selected from multiple bill printers, so that matched bill printer is true
It is set to target printer.
Step S120: the print out task is added in printer task queue corresponding with the target printer.
Specifically, in the present embodiment, it in order to ensure being independent of each other between each bill printer, needs respectively for every
At least one printer task queue corresponding with the bill printer is arranged in a bill printer.Correspondingly, in this step
In, which is added in printer task queue corresponding with the target printer.
Step S130: print out task is extracted from the corresponding printer task queue of target printer and is appointed as target
Business, and the print state of target printer is inquired, it, will be under goal task when the print state of target printer is available mode
It is sent to target printer.
Wherein, printer task queue is usually the queue of first in first out, correspondingly, according in the printer task queue
Each print out task join the team sequence, successively extract each print out task therein as goal task, to realize each beat
The orderly processing of print task.It is, of course, also possible to according to preset strategy, configured for different types of print out task different excellent
First grade, to extract goal task in conjunction with priority.
In addition, in the present embodiment, in order to prevent due to target printer abnormal state can not normally execute print out task
Caused leakage single operation needs to inquire the print state of target printer in advance, also, only in the printing shape of target printer
When state is available mode, goal task is just issued to target printer, so as to prevent from source because of printer modes
Abnormal caused leakage list phenomenon.
It can be seen which is by way of being arranged corresponding printer task queue for each bill printer,
The print out task between plurality of printers can be made not interfere with each other, to be more suitable for the scene of plurality of printers concurrent working
In.Also, which by monitor each printer print state and only state can with when issue print out task can be from
Avoided on source because printer modes extremely caused by printing failure and leak single phenomenon, to improve the reliable of printer
Property.
Embodiment two,
Fig. 2 shows a kind of flow charts of the print control program of bill printer provided by Embodiment 2 of the present invention.This
Bill printer in embodiment is multiple food and drink printers, and so-called food and drink printer, which refers to, provides bill printing for catering industry
Used printer can need to print single vote evidence, rear kitchen bill etc. at corresponding according to user's point list business, according to
The family business of checking needs to print corresponding bill bill, needs to print corresponding rear kitchen bill according to outer attraction list business, takes out
Single vote according to etc..Correspondingly, the food and drink printer in the present embodiment specifically includes: setting collects money, places an order on foreground, for printing
The foreground printer of bill;And rear kitchen, the rear kitchen printer for printing the bill of preparing for a meal after placing an order are set.After in addition,
Kitchen printer can also further be multiple printers for being separately positioned on different rear kitchen functional areas, not of the same race for completing
The bill printing of the food product of class operates.Similarly, foreground printer further can also be separately positioned on different foregrounds to be multiple
The printer of functional area, to complete different types of bill printing operation.Certainly, the present embodiment also can be applied to except food and drink
Except other field, which is not limited by the present invention.As shown in Fig. 2, this method comprises:
Step S200: being directed to each bill printer respectively, generates printer task corresponding with the bill printer
Queue;According to the attribute information of the bill printer, the queue attributes of the printer task queue are configured.
Specifically, printer task corresponding with the bill printer can be generated for each bill printer in advance
Queue.For example, operating according to the addition of food and drink printer, corresponding printer task queue is established for it.Wherein, food and drink prints
The addition operation of machine is added according to the printing demand of each business, is such as put single business and is needed to print corresponding single vote evidence,
It may require that kitchen after the food and drink printer (foreground food and drink printer) for adding corresponding print point single vote evidence and printing is standby singly to need
The food and drink printer (rear kitchen food and drink printer) of kitchen bill afterwards.Alternatively, mesh can also be confirmed as the first time in bill printer
Corresponding printer task queue is generated for it when marking printer, which is not limited by the present invention.
Next, configuring the printer task team of the printer task queue according to the attribute information of the bill printer
The queue attributes of column.Wherein, the queue attributes of the printer task queue of printer task queue include: queue length, task
Polling cycle, task priority strategy, and/or retry strategy etc..Wherein, the attribute information of bill printer includes: printer
IP address, the address Mac, printer ID, printer supplier ID, printing model (such as serial ports, parallel port, network interface), business function
It can (such as foreground point single function, foreground gathering functions, rear kitchen prepare for a meal function), type of service etc..According to each bill printer
Corresponding different attribute informations configure the queue attributes information such as queue length of its printer task queue.For example, queue
Length can be determined according to business function, it is assumed that rear kitchen printer further comprises three and corresponds respectively to different rear kitchen functional areas
The printer in domain, then the length of task queue corresponding to each printer is according to the food product for including in its responsible functional area
Type and frequency of ordering determine.For another example, task polling cycle can also be determined according to business function, as corresponding to payment function
Printer task queue task polling cycle it is smaller, to meet the needs of user's immediate payment.Furthermore it is also possible into one
Step configures the processing strategie of each printer task queue, such as drop policy, degradation strategy or strategy of joining the team again.In short,
Task queue corresponding to each printer can be separately configured according to the attribute information of printer, to be flexibly met each
The business demand of a printer.
In addition, can both be first carried out in advance in this step for the operation that each task queue is configured, it can also be with the period
Property Dynamic Execution, for example, can every preset interval adjust a task queue queue attributes configuration;Alternatively, can also be with
The configuration of the queue attributes of its corresponding task queue is adjusted after adjusting occurs in the function of printer.In short, passing through above-mentioned side
Formula can be realized the mobilism configuration of task queue, so that the printing demand in different business stage be flexibly met.
Step S210: print out task is generated according to the business datum received, will be beaten with the bill that print out task matches
Print machine is determined as target printer.
Inventor has found that the present embodiment is related to multiple bill printers, and is used to touch in the implementation of the present invention
Specified printer can not be selected to carry out if the business operation (such as the single operation of user's point, user's delivery operation etc.) of sending service data
Printing.Therefore, the application scenarios of the present embodiment are different from the printer scene of conventional office space: in conventional office space
In, printer is usually large-scale printer, itself has the sophisticated functions such as queue management, and therefore, user issues printing
Specified printer can be manually selected by the option entrance in printer page before to be printed;However, in the present embodiment
Application scenarios in, bill printer is usually small-sized mini printer, itself does not have the sophisticated functions such as queue management,
Moreover, printer page is not present, therefore each bill printer is complete for a user when user triggers business operation
Unaware, it is based on above-mentioned both sides reason, causes user that can not actively select specified printer when triggering business operation
It is printed.However, needing multiple bills for corresponding respectively to different business function to beat again in the application scenarios of the present embodiment
Therefore the printing that the mutual cooperation of print machine could complete all kinds of bills in the present embodiment, is needed by the executing subject in the present invention
The bill printer to match with print out task is automatically selected according to the business datum received.Wherein, the execution in the present invention
Main body can be the disparate networks equipment of connection is established with bill printer, such as can receiving point single operation, delivery operation it is each
The background server of class business operation, or businessmans' management equipment such as POS machine.
Specifically, corresponding printer is automatically selected according to the type of business datum: determines the business datum received
Type of service corresponding to type and each bill printer;The ticket that the type of type of service and business datum is matched
It is determined as target printer according to printer.When it is implemented, when receiving business datum, firstly, according to the class of business datum
The default printing template that type selection matches with the type, is assembled into printing for the business datum received according to the printing template
Business datum.For example, generally comprising single time in corresponding printing template when the type of business datum is the single type of point
Information, pick-up prompt information etc., correspondingly, added on the basis of business datum according to printing template a little single temporal information, take
Print service data are obtained after meal prompt information.Then, the preconfigured attribute information of each candidate printer is obtained, it will be each
The type of service for including in the attribute information of printer is matched with the type of the business datum received, according to matching result
Select a printer as target printer from multiple candidate printers.Finally, according to the attribute information of target printer
And print service data generate print out task.
In addition, in this step, since many business scenarios are all likely to occur a large amount of concurrent business datums, for example, In
In the scene that multiple users pay with time point list, simultaneously, the executing subject in the present invention will receive simultaneously at same time point
Corresponding multiple voice and packet data concurrent service data are operated by multiple voice and packet data concurrent services.At this time, it may be necessary to be operated respectively for each voice and packet data concurrent service
Corresponding voice and packet data concurrent service data generate at least one print out task, and determine target print for each print out task respectively
Machine.Wherein, the quantity of the print out task generated for the corresponding voice and packet data concurrent service data of voice and packet data concurrent service operation needs basis
Practical business demand determines.For example, can be generated two for the point list business datum corresponding to single business operation and beat
Print task: the first print out task is the task of foreground printer print point list detail, so that foreground is settled accounts according to detail;The
Two print out task are the task that rear kitchen printer prints detail of preparing for a meal, so that rear kitchen is prepared for a meal.It can be seen that in the present embodiment
In corresponding scene, multiple voice and packet data concurrent service operations not only are likely to be received at same time point, moreover, needing further exist for being directed to
Each voice and packet data concurrent service operation generates multiple print out task, also, the quantity of the bill printer in the present embodiment is more, and each
The setting area of bill printer and configuration feature are different.Under this complex scene, need to handle by preset strategy
A large amount of voice and packet data concurrent service operation, to prevent from omitting print out task.When it is implemented, can by the following two kinds implementation extremely
A kind of few realization:
In the first implementation, each print out task of generation is cached into preset buffer queue, respectively needle
Target printer is determined to each print out task in buffer queue.Which can borrow when concurrent a large number of services operates at the same time
Help buffer queue that each print out task is orderly handled, to effectively prevent the loss of print out task.
In the second implementation, thread is distributed by multiple concurrently executing for tasks determine that each print out task institute is right
The target printer answered.For example, when receiving multiple voice and packet data concurrent service data simultaneously, it is concurrently multiple according to the quantity of business datum
Task distributes thread, to realize the concurrent processing of each print out task, to be obviously improved treatment effeciency.
Step S220: the print out task is added in printer task queue corresponding with the target printer.
Specifically, in the present embodiment, there is unique printer object (i.e. printer for each printer setup in advance
Mark), printer task queue corresponding to each printer is identified by printer object.Correspondingly, in this step
In, it is first determined printer object corresponding with target printer, then, it is determined that printing corresponding with the printer object
Machine task queue, to being added to the print out task in printer task queue corresponding with the target printer.
When it is implemented, controlling target print by multi-thread mechanism for the ease of being managed for each printer
Machine.Specifically, it for a bill printer, needs to open three threads and is controlled, respectively queue is joined the team thread, queue
Team's thread and state-detection thread out.Wherein, multiple bill printers can share above three thread, it is furthermore preferred that point
Safety pin is opened above three thread to each bill printer and is controlled.Inventor has found in the implementation of the present invention:
Control accuracy can be obviously improved by opening above three thread for each bill printer, anti-leak-stopping list phenomenon, certainly, In
In others embodiment of the invention, above three thread also can be merged into less thread or be split as more threads, this
Invention does not limit this.Correspondingly, in this step, it the print out task is added to is beaten with target by queue thread of joining the team
In the corresponding printer task queue of print machine.Queue thread of joining the team each is beaten for intercepting for what target printer issued
Print task, and the print out task intercepted is added in printer task queue corresponding with target printer.Thus may be used
See, queue thread of joining the team is responsible for being added according to the print out task intercepted into the corresponding printer task queue of target printer
New print out task.Wherein, when printer task queue is the queue of first in first out, newest print out task is added to team
Arrange end.
Step S230: print out task is extracted from the corresponding printer task queue of target printer and is appointed as target
Business, and the print state of target printer is inquired, it, will be under goal task when the print state of target printer is available mode
It is sent to target printer.
Specifically, team's thread is gone out by queue and extracts printing times from the corresponding printer task queue of target printer
Business is used as goal task.When specific extraction, queuing time can be extracted according to the sequence of first in first out, and print out task is made earlier
For goal task.Alternatively, the weight of each print out task can also be obtained further combined with priority rule, it is higher to extract weight
Print out task, thus priority processing emergency task or vital task.When goal task is issued to target printer, pass through
The printing interface for calling printing SDK to provide, is encapsulated as the print command that printer can identify for goal task to be printed
Mode is issued.
In addition, in the present embodiment, queue goes out team's line in order to avoid causing to leak single phenomenon because target printer is unavailable
Journey inquires the print state of target printer, only when the print state of target printer is available mode, by goal task
It is issued to target printer.When it is implemented, for the ease of inquiring printer modes, the printer object of each bill printer
Internal further maintenance has available mode field, the available mode word for including in the printer object by inquiring target printer
The value of section can quickly determine the current state of target printer.
Further, in the present embodiment, further pass through the current state of state-detection thread polling targets printer,
The print state of target printer is updated according to polling result.Specifically, the corresponding detection interface of state-detection thread dispatching obtains
Take the current state of target printer:, can by include in printer object if the current state got is available mode
Available class value is set to the value of mode field;Conversely, then by the value for the available mode field for including in printer object
It is set to non-available class value.When specific detection, it can be detected according to the printing model of printer, for example, for network interface type
Printer, can be detected by the method for Ping IP address;For another example, for the printer of serial ports type, port can be passed through
Detection method is detected.When it is implemented, state-detection thread can be detected according to preset polling cycle every predetermined period
Printer modes, and judge whether to need the value of more new status field according to testing result.State-detection thread can also
With detection trigger process real-time after receiving abnormal state notification message, in order under abnormality detection immediately to the
One time detected abnormal restoring time point, so that it is guaranteed that the timely recovery of print out task.Wherein, abnormal state notification message can
Go out team's thread when printing abnormal by queue to trigger.Wherein, if the result that detection interface returns is that printer port is occupied,
The state of target printer is set to non-available mode by state-detection thread.Wherein, the occupied producing cause in port may be
Target printer is just occupied by other applications.The problem of can be avoided print out task time-out by this way or abandoning, Du
Single phenomenon is leaked absolutely.
In addition, queue goes out team's thread and passes through following two side when the print state of target printer is non-available mode
At least one of formula is handled, with prevent because printer modes it is unavailable caused by leak single phenomenon:
In the first processing mode, queue goes out the print state of team's thread polling targets printer, works as target printer
Print state when being switched to available mode, goal task is issued to target printer.Alternatively, can also be by state-detection line
Cheng Chixu detects the state of target printer, goes out team's thread to queue when the state that detects is available and sends a notification message, to mention
Show that queue goes out team's thread and issues goal task.Which time-out printing task can be issued when printer is unavailable, and to
Printer revert to it is available after issue print out task again, thus avoided from source because printer extremely caused by leakage list it is existing
As.
In second of processing mode, determines whether for goal task to be moved to according to the task priority of goal task and beat
Print state is in printer task queue corresponding to the bill printer of available mode.Specifically, when the task of goal task
It when priority is higher, needs to inquire the current state of each bill printer, is the bill printing of available mode from current state
The task queue not comprising emergency task or task negligible amounts is selected in printer task queue corresponding to machine, to will appoint
The business higher goal task of priority is inserted into the task queue of selection, to realize mutual between each bill printer
Coordinate.
In summary, in the present embodiment, each bill printer is provided with unique printer object in advance, and
And corresponding printer task queue is associated with by printer object, to ensure the orderly printing of each bill printer.And
And by the further association prints machine state of printer object, so as to issue print out task according to printer modes selection
Proper moment, anti-leak-stopping list phenomenon.It can be seen that since each bill printer possesses individual print queue, thus just
In the length and print out task robin manner that configure each print queue according to business demand mobilism.Also, due to every
Platform printer possesses joining the team, going out the operation such as team and print out task execution for different thread control print queues, it is thus possible to
Guarantee that will not influence other printers when separate unit printer failure normally executes print out task, improves system stability.Also,
The mode provided through the invention provides the print control scheme of complete set, appoints from automatically selecting to printing for printer
The automatic distribution of business can be automatically performed, so that only needing to consider business tine without closing when business side's assembly print data
Printed detail is infused, the operation cost of business side is simplified.
In addition, the implementation in the present embodiment is particularly suitable for scene of ordering.Wherein, ordering is a kind of meal point peak industry
Business scene, consumer orders in client barcode scanning plus dish, checkout, businessman leave consumption certificate, foreground printing in merchant end order
The receipts such as order/check and write off/reimbursement, rear kitchen print the receipts such as vegetable of preparing for a meal.Wherein, merchant end needs the base in traditional cash register software
Plug-in unit of ordering is installed, with function of ordering on Support Line on plinth.Since the bill printer of merchant end is multiple, thereby increases and it is possible to use string
Mouth, parallel port, network interface etc. instruct printing model, and therefore, plug-in unit of ordering may be with traditional cash register software when triggering print out task
The print out task of triggering carries out port and seizes, to cause leakage single.Since the business of ordering is in meal point, lower list quantity can reach moment
To wave crest, rather than the meal point period reaches trough again, thus be a huge test to the stability of printing link, meanwhile, by
Will lead in the diversity of lower single vegetable may need that multiple rear kitchen printers is called to be printed with a order, therefore, right
It also proposed high requirement in the selection of target printer.It can be seen that at least needing to overcome following in business scenario of ordering
Technical problem: first, meal point period can concurrent a large amount of business operation, thus concurrent a large amount of business datum, it is desirable to be able to
A large amount of business datum is received and processed simultaneously, and print out task corresponding to each business datum is quickly distributed to correspondence
Printer task queue in.Second, multiple different printers are corresponded respectively to since each business operation may trigger
Print out task, therefore, it is necessary to select matched target print from multiple bill printers automatically according to the type of business operation
Machine is printed.Technical solution in through the invention can effectively overcome above-mentioned technical problem.Also, the scheme in the present invention
Respectively be directed to each printer distribute task queue and monitoring print state by way of, can be avoided order plug-in unit and its
His application program seizes leakage list phenomenon caused by printer port.
Embodiment three
Fig. 3 shows a kind of structural representation of the print control unit of bill printer of the offer of the embodiment of the present invention three
Figure, the device include:
Task generation module 31 will be with the print out task suitable for generating print out task according to the business datum received
The bill printer to match is determined as target printer;
Task adding module 32, suitable for the print out task is added to printer corresponding with the target printer
In task queue;
Mission dispatching module 33 is suitable for extracting printing from the corresponding printer task queue of the target printer and appoint
Business is used as goal task, and inquires the print state of the target printer, when the print state of the target printer be can
When with state, the goal task is issued to the target printer.
Optionally, the mission dispatching module is further adapted for:
When the print state of the target printer is non-available mode, the printing shape of target printer described in poll
The goal task is issued to the target and beaten by state when the print state of the target printer is switched to available mode
Print machine;Alternatively,
When the print state of the target printer is non-available mode, according to the task priority of the goal task
Determine whether for the goal task to be moved to printer task corresponding to the bill printer that print state is available mode
In queue.
Optionally, the task adding module is particularly adapted to: being added to the print out task by queue thread of joining the team
In printer task queue corresponding with the target printer;
The mission dispatching module is particularly adapted to: going out team's thread from the corresponding printing of the target printer by queue
Print out task is extracted in machine task queue as goal task;
Also, by the current state of target printer described in state-detection thread poll, institute is updated according to polling result
State the print state of target printer.
Optionally, the bill printer is multiple, and each bill printer corresponds respectively to different types of business
Data;Then the task generation module is particularly adapted to:
Type of service corresponding to the type of the business datum received described in determination and each bill printer;
The bill printer that the type of type of service and the business datum matches is determined as target printer.
Optionally, the task generation module is further adapted for:
It is directed to each bill printer respectively, generates printer task queue corresponding with the bill printer;
According to the attribute information of the bill printer, queue length, the task poll week of the printer task queue are configured
Phase, task priority strategy, and/or retry strategy.
Optionally, the task generation module is particularly adapted to:
When the business datum is the corresponding voice and packet data concurrent service data of multiple voice and packet data concurrent services operation, it is directed to each respectively simultaneously
The corresponding voice and packet data concurrent service data of sending service operation generate at least one print out task;
Target printer is determined for each print out task respectively.
Optionally, the task generation module is particularly adapted to:
Each print out task is cached into preset buffer queue, respectively for each printing in the buffer queue
Task determines target printer;Alternatively,
Thread, which is distributed, by multiple concurrently executing for tasks determines target printer corresponding to each print out task.
Optionally, the bill printer is food and drink printer, and the food and drink printer further comprises: foreground printing
Machine, and/or rear kitchen printer.
Concrete operating principle about modules can refer to the description of corresponding steps in embodiment of the method, no longer superfluous herein
It states.
In addition, further embodiment of this invention additionally provides a kind of print control system of bill printer, comprising: above-mentioned
The print control unit of bill printer and multiple bill printers.
Example IV
The embodiment of the present application four provides a kind of nonvolatile computer storage media, the computer storage medium storage
There is an at least executable instruction, which can be performed the bill printer in above-mentioned any means embodiment
Print control program.Executable instruction specifically can be used for so that processor executes corresponding each behaviour in above method embodiment
Make.
Embodiment five
Fig. 4 shows the structural schematic diagram of according to embodiments of the present invention five a kind of electronic equipment, present invention specific implementation
Example does not limit the specific implementation of electronic equipment.
As shown in figure 4, the electronic equipment may include: processor (processor) 402, communication interface
(Communications Interface) 406, memory (memory) 404 and communication bus 408.
Wherein:
Processor 402, communication interface 406 and memory 404 complete mutual communication by communication bus 408.
Communication interface 406, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 402, for executing program 410, the print control program that can specifically execute above-mentioned bill printer is real
Apply the correlation step in example.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 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 404, for storing program 410.Memory 404 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 510 specifically can be used for so that processor 502 executes corresponding each operation in above method embodiment.
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, In
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, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present 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 the following claims, embodiment claimed is appointed
Meaning one of 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 the prize drawing according to an embodiment of the present invention based on voice input information
The some or all functions of some or all components in system.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 print control program of bill printer, comprising:
Print out task is generated according to the business datum received, the bill printer to match with the print out task is determined as
Target printer;
The print out task is added in printer task queue corresponding with the target printer;
Print out task is extracted from the corresponding printer task queue of the target printer as goal task, and inquires institute
The print state for stating target printer, when the print state of the target printer is available mode, by the goal task
It is issued to the target printer.
2. according to the method described in claim 1, wherein, after the print state of the inquiry target printer, into one
Step includes:
When the print state of the target printer is non-available mode, the print state of target printer described in poll, when
When the print state of the target printer is switched to available mode, the goal task is issued to the target printer;
Alternatively,
When the print state of the target printer is non-available mode, determined according to the task priority of the goal task
Whether by the goal task be moved to print state be available mode bill printer corresponding to printer task queue
In.
3. method according to claim 1 or 2, wherein described to be added to the print out task and the target print
It include: to be added to the print out task and the target by queue thread of joining the team in the corresponding printer task queue of machine
In the corresponding printer task queue of printer;
The print out task that extracts from the corresponding printer task queue of the target printer as goal task includes:
Go out team's thread by queue and extracts print out task from the corresponding printer task queue of the target printer as target
Task;
Also, the method further includes: by the current state of target printer described in state-detection thread poll, according to
Polling result updates the print state of the target printer.
4. method according to claim 1 to 3, wherein the bill printer is multiple, and each bill printing
Machine corresponds respectively to different types of business datum;The business datum that then basis receives generates print out task, will be with institute
It states the bill printer that print out task matches and is determined as target printer and include:
Type of service corresponding to the type of the business datum received described in determination and each bill printer;
The bill printer that the type of type of service and the business datum matches is determined as target printer.
5. method according to claim 1 to 4, wherein before the method executes, further comprise:
It is directed to each bill printer respectively, generates printer task queue corresponding with the bill printer;
According to the attribute information of the bill printer, configures the queue length of the printer task queue, task polling cycle, appoints
Business priority policy, and/or retry strategy.
6. -5 any method according to claim 1, wherein the business datum that the basis receives generates printing and appoints
Business, is determined as target printer for the bill printer to match with the print out task and specifically includes:
When the business datum is the corresponding voice and packet data concurrent service data of multiple voice and packet data concurrent services operation, it is directed to each concurrent industry respectively
The corresponding voice and packet data concurrent service data of business operation generate at least one print out task;
Target printer is determined for each print out task respectively.
7. a kind of print control unit of bill printer, comprising:
Task generation module will match suitable for generating print out task according to the business datum received with the print out task
Bill printer be determined as target printer;
Task adding module, suitable for the print out task is added to printer task team corresponding with the target printer
In column;
Mission dispatching module is suitable for extracting print out task conduct from the corresponding printer task queue of the target printer
Goal task, and the print state of the target printer is inquired, when the print state of the target printer is available mode
When, the goal task is issued to the target printer.
8. a kind of print control system of bill printer, comprising: the print control of bill printer as claimed in claim 7
Device and multiple bill printers.
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 the print control program of bill printer described in any one of 1-6.
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 print control program such as bill printer of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910651703.3A CN110399106A (en) | 2019-07-18 | 2019-07-18 | Print control program, the apparatus and system of bill printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910651703.3A CN110399106A (en) | 2019-07-18 | 2019-07-18 | Print control program, the apparatus and system of bill printer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110399106A true CN110399106A (en) | 2019-11-01 |
Family
ID=68324702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910651703.3A Pending CN110399106A (en) | 2019-07-18 | 2019-07-18 | Print control program, the apparatus and system of bill printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110399106A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110865776A (en) * | 2019-09-30 | 2020-03-06 | 浙江口碑网络技术有限公司 | Bill printing method and device |
CN111142813A (en) * | 2019-12-20 | 2020-05-12 | 口碑(上海)信息技术有限公司 | Method and device for detecting connection state of printer |
CN111176589A (en) * | 2019-12-23 | 2020-05-19 | 乐普(北京)医疗器械股份有限公司 | Electrocardiogram data printing method |
CN111324315A (en) * | 2020-02-03 | 2020-06-23 | 拉扎斯网络科技(上海)有限公司 | Printing method and device for business bill |
CN111831237A (en) * | 2020-07-17 | 2020-10-27 | 上海商米科技集团股份有限公司 | Bill additional printing method and system |
CN112181326A (en) * | 2020-09-29 | 2021-01-05 | 上海汉图科技有限公司 | Printing method, device and equipment |
CN112383609A (en) * | 2020-11-10 | 2021-02-19 | 中国平安人寿保险股份有限公司 | Processing method, device and equipment for high-concurrency data and storage medium |
CN112600986A (en) * | 2020-12-08 | 2021-04-02 | 上海商米科技集团股份有限公司 | Cloud printing full-link testing method, system, testing equipment and storage medium |
CN112686600A (en) * | 2020-12-28 | 2021-04-20 | 北京三快在线科技有限公司 | Kitchen list printing terminal control method and device and electronic equipment |
CN113419691A (en) * | 2021-07-01 | 2021-09-21 | 山东白令三维科技有限公司 | 3D printing method and device and 3D printing Internet of things system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1629793A (en) * | 2003-12-10 | 2005-06-22 | 佳能株式会社 | Information processing apparatus, information processing program, print job management method, and recording medium |
CN106354447A (en) * | 2016-08-31 | 2017-01-25 | 东软集团股份有限公司 | Printing control method and device and printing system |
CN106528011A (en) * | 2016-11-14 | 2017-03-22 | 北京红马科技有限公司 | Method, system and equipment capable of simultaneously supporting printing of various types of ticket paper |
CN106610798A (en) * | 2015-10-26 | 2017-05-03 | 山东新北洋信息技术股份有限公司 | Control method, device and system for batch printing of bills |
CN106951198A (en) * | 2017-03-03 | 2017-07-14 | 华中科技大学 | A kind of mobile cloud Method of printing and system |
CN108388408A (en) * | 2018-02-05 | 2018-08-10 | 元镁信息技术服务(上海)有限公司 | A kind of print out task management method and equipment |
-
2019
- 2019-07-18 CN CN201910651703.3A patent/CN110399106A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1629793A (en) * | 2003-12-10 | 2005-06-22 | 佳能株式会社 | Information processing apparatus, information processing program, print job management method, and recording medium |
CN106610798A (en) * | 2015-10-26 | 2017-05-03 | 山东新北洋信息技术股份有限公司 | Control method, device and system for batch printing of bills |
CN106354447A (en) * | 2016-08-31 | 2017-01-25 | 东软集团股份有限公司 | Printing control method and device and printing system |
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 |
CN108388408A (en) * | 2018-02-05 | 2018-08-10 | 元镁信息技术服务(上海)有限公司 | A kind of print out task management method and equipment |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110865776A (en) * | 2019-09-30 | 2020-03-06 | 浙江口碑网络技术有限公司 | Bill printing method and device |
CN111142813A (en) * | 2019-12-20 | 2020-05-12 | 口碑(上海)信息技术有限公司 | Method and device for detecting connection state of printer |
CN111176589B (en) * | 2019-12-23 | 2023-04-07 | 上海乐普云智科技股份有限公司 | Electrocardiogram data printing method |
CN111176589A (en) * | 2019-12-23 | 2020-05-19 | 乐普(北京)医疗器械股份有限公司 | Electrocardiogram data printing method |
CN111324315A (en) * | 2020-02-03 | 2020-06-23 | 拉扎斯网络科技(上海)有限公司 | Printing method and device for business bill |
CN111324315B (en) * | 2020-02-03 | 2024-01-12 | 拉扎斯网络科技(上海)有限公司 | Printing method and device for business bill |
CN111831237A (en) * | 2020-07-17 | 2020-10-27 | 上海商米科技集团股份有限公司 | Bill additional printing method and system |
CN112181326A (en) * | 2020-09-29 | 2021-01-05 | 上海汉图科技有限公司 | Printing method, device and equipment |
CN112383609A (en) * | 2020-11-10 | 2021-02-19 | 中国平安人寿保险股份有限公司 | Processing method, device and equipment for high-concurrency data and storage medium |
CN112383609B (en) * | 2020-11-10 | 2023-07-21 | 中国平安人寿保险股份有限公司 | Processing method, device, equipment and storage medium for high concurrency data |
CN112600986A (en) * | 2020-12-08 | 2021-04-02 | 上海商米科技集团股份有限公司 | Cloud printing full-link testing method, system, testing equipment and storage medium |
CN112686600A (en) * | 2020-12-28 | 2021-04-20 | 北京三快在线科技有限公司 | Kitchen list printing terminal control method and device and electronic equipment |
CN113419691A (en) * | 2021-07-01 | 2021-09-21 | 山东白令三维科技有限公司 | 3D printing method and device and 3D printing Internet of things system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110399106A (en) | Print control program, the apparatus and system of bill printer | |
CN110297766A (en) | Method for testing software and software testing system based on distributed test node cluster | |
US20080072226A1 (en) | Systems, Methods, and Computer Program Products for Transaction Based Load Balancing | |
CN109787830A (en) | Gray scale distribution control method, device, system, electronic equipment and storage medium | |
CN108509392B (en) | Multi-mechanism account checking method, system, computer equipment and storage medium | |
CN110430257A (en) | Information processing method, device, system and readable storage medium storing program for executing | |
CN106126283B (en) | A kind of method, apparatus and system of product allocation | |
CN112446786A (en) | Abnormal transaction processing method and device, electronic equipment and readable storage medium | |
US20190066075A1 (en) | System and method for providing point of sale cloud services | |
US8161100B1 (en) | Self-service provisioning for multi-channel applications | |
US20240095110A1 (en) | Single device independent backend interface to a frontend interface of a microservice | |
CN109995585A (en) | A kind of abnormality eliminating method, equipment and storage medium | |
US8024734B2 (en) | Enabling a designer to specify workflows to process various results of execution of transactions | |
CN110135940A (en) | Kitchen order display device and method afterwards | |
CN110109706A (en) | The system and method for component inventory and compliance are realized in platform | |
US20200322452A1 (en) | Loyalty switch | |
CN110032346A (en) | Food and drink printer print out task processing method and processing device | |
CN116051106B (en) | Abnormal order processing method and device | |
CN107277140A (en) | A kind of distribution method of application programming interfaces, route middleware and operation system | |
CN107220818A (en) | online payment method and device | |
US20230305884A1 (en) | Methods and systems for decentralized blockchain-scheduled container orchestration, repository and code deployment with tokenized tracking | |
CN116166383A (en) | Access method, access system, computing device and computer storage medium | |
CN114371874A (en) | Configuration method, system, device and medium of Internet of things equipment | |
CN108390924A (en) | Order fulfillment method and device | |
CN106462473A (en) | Method and device for implementing a transaction concept in OPC UA by means of a time-out mechanism |
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: 20191101 |
|
RJ01 | Rejection of invention patent application after publication |