CN110244918A - Printer control method, device and printer - Google Patents

Printer control method, device and printer Download PDF

Info

Publication number
CN110244918A
CN110244918A CN201910513771.3A CN201910513771A CN110244918A CN 110244918 A CN110244918 A CN 110244918A CN 201910513771 A CN201910513771 A CN 201910513771A CN 110244918 A CN110244918 A CN 110244918A
Authority
CN
China
Prior art keywords
printer
print
time
surplus
current
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
CN201910513771.3A
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.)
Yichun Yilian Technology Co Ltd
Original Assignee
Yichun Yilian 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 Yichun Yilian Technology Co Ltd filed Critical Yichun Yilian Technology Co Ltd
Priority to CN201910513771.3A priority Critical patent/CN110244918A/en
Publication of CN110244918A publication Critical patent/CN110244918A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0014Coin-freed apparatus for hiring articles; Coin-freed facilities or services for vending, access and use of specific services not covered anywhere else in G07F17/00
    • G07F17/0021Access to services on a time-basis
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/26Coin-freed apparatus for hiring articles; Coin-freed facilities or services for printing, stamping, franking, typing or teleprinting apparatus
    • G07F17/266Coin-freed apparatus for hiring articles; Coin-freed facilities or services for printing, stamping, franking, typing or teleprinting apparatus for the use of a photocopier or printing device

Landscapes

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

Abstract

The present invention relates to a kind of printer control method, device and printers, the print request sent by receiving user;According to the current number surplus prestored and the expired time prestored, the type information carried to print request is analyzed, and obtains analysis result;If analyzing result indicates that time margin abundance and number surplus are sufficient, according to type information, controls printer and the content of current print object is printed.Using technical solution of the present invention, it can be while controlling user's number of prints, also the print time of user is controlled, it can be avoided user and occupy printer for a long time in the case where only buying a small amount of number, to improve printer lease number and number of applications, the waste to printer resource is reduced.

Description

Printer control method, device and printer
Technical field
The present invention relates to printing technique fields, and in particular to a kind of printer control method, device and printer.
Background technique
Printer is one of output equipment of computer, for computer disposal result to be printed upon associated media.Greatly Most enterprises are required to using printer, but since purchase printer price is more expensive, most of enterprise can select lease to print Machine.
Nowadays, the charge for leasing printer is usually to calculate according to number of prints, by buying number of prints lease Printer, but printer controls the use of printer only by number of prints, before number of prints has used, Printer will leased in manpower always, such as someone only buys 10,000 numbers, but used 5 years, only controlled printed sheet in this way Several methods can make that the number of printer lease is less, number of applications is less, cause the waste of printer resource.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of printer control method, device and printer, it is existing to solve There is the problem of number of printer lease in technology is less, number of applications is less, causes the waste of printer resource.
In order to achieve the above object, the present invention adopts the following technical scheme:
A kind of printer control method, comprising:
The print request that user sends is received, the print request carries the type information of current print object;
According to the current number surplus prestored and the expired time prestored, the type information is analyzed, is divided Analyse result;
If the analysis result indicates that time margin abundance and number surplus are sufficient, according to the type information, control is beaten Print machine prints the content of the current print object.
Further, in method described above, the type information includes: target print time and target print Number;
Accordingly, the current number surplus that the basis prestores and the expired time prestored carry out the type information Analysis obtains analysis result, comprising:
Judge whether the target print number is greater than the current number surplus, obtains the first judging result as number Analyze result;
Judge whether the target print time is more than the expired time, obtains the second judging result as time analysis As a result;
If the number analysis result indicates that the target print number is less than or equal to the current number surplus, and institute Stating time analysis result indicates that the target print time is less than the expired time, determines more than time margin abundance and number Amount is sufficient to be used as the analysis result;
If the number analysis result indicates that the target print number is greater than the current number surplus, and/or, it is described Time analysis result indicates that the target print time is more than the expired time, determines more than time margin deficiency and/or number Amount is insufficient to be used as the analysis result.
Further, described according to the type information in method described above, it controls printer and currently beats described After the content of print object is printed, further includes:
The current number surplus and the target print number are subjected to subtraction calculations, printed next time before Number surplus;
Number surplus before the printing next time is stored.
Further, method described above, further includes:
If the analysis result indicates that time margin is insufficient and/or number surplus is insufficient, printing prompting message is generated;
Export the printing prompting message.
Further, method described above, further includes:
Count the printer has used number with duration and the printer;
According to it is described used duration and it is described used number, calculate print frequency;
When the used time is long is greater than preset duration, judge whether the print frequency is located at outside predeterminated frequency range;
If so, output frequency prompting message.
Further, described according to the type information in method described above, it controls printer and currently beats described Before the content of print object is printed, further includes:
Whether detection history print object and the current print object are consistent;
If consistent, the prompt information of duplicate printing is sent;
Receive the feedback information for the prompt information that user sends;
Judge that the feedback information indicates whether confirmation printing;
Accordingly, described according to the type information, it controls printer and the content of the current print object is beaten Print, comprising:
If the feedback information indicates confirmation printing, according to the type information, printer is controlled to the current printing The content of object is printed.
Further, method described above, further includes:
The printer is detected with the presence or absence of printing abnormal phenomenon;
If it exists, the statistical information of the corresponding anomalous event of the printing abnormal phenomenon is obtained;
According to the statistical information, the number surplus before the expired time and/or the printing next time is adjusted It is whole;
Wherein, the statistical information of the anomalous event include the anomalous event paper number and/or the abnormal thing The duration of part.
The present invention also provides a kind of printer control devices, comprising:
Receiving module, for receiving the print request of user's transmission, the print request carries beating for current print object Official seal breath;
Analysis module, for according to the current number surplus that prestores and the expired time prestored, to the type information into Row analysis obtains analysis result;
Control module is beaten if indicating that time margin abundance and number surplus are sufficient for the analysis result according to described Official seal breath, control printer print the content of the current print object.
Further, device described above, further includes:
Computing module obtains down for the current number surplus and the target print number to be carried out subtraction calculations Number surplus before primary printing;
Memory module, for storing the number surplus before the printing next time.
The present invention also provides a kind of printers, comprising: processor, and the memory being connected with the processor;
For the memory for storing computer program, the computer program is at least used to execute the printer Control method;
The processor is for calling and executing the computer program in the memory.
Printer control method, device and printer of the invention, the print request sent by receiving user, according to pre- The current number surplus deposited and the expired time prestored, the type information carried to print request are analyzed, are obtained more than the time After the sufficient analysis result with number surplus abundance of amount, just printer can be controlled to current print object according to type information Content printed, realize control user's number of prints while, also the print time of user is controlled.Using this The technical solution of invention can be avoided user and occupy printer for a long time in the case where only buying a small amount of number, beat to improve Print machine leases number and number of applications, reduces the waste to printer resource.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of printer control method embodiment one of the invention;
Fig. 2 is the flow chart of printer control method embodiment two of the invention;
Fig. 3 is the flow chart of printer control method embodiment three of the invention;
Fig. 4 is the structural schematic diagram of printer control device embodiment one of the invention;
Fig. 5 is the structural schematic diagram of printer control device embodiment two of the invention;
Fig. 6 is the structural schematic diagram of printer embodiment of the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, technical solution of the present invention will be carried out below Detailed description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art are obtained all without making creative work Other embodiment belongs to the range that the present invention is protected.
Fig. 1 is the flow chart of printer control method embodiment one of the invention.As shown in Figure 1, the printing of the present embodiment Machine control method can specifically include following steps:
S101, the print request that user sends is received;
The print request that the printer control method of the present embodiment, first reception user are sent, wherein print request carries The type information of current print object, which includes target print time and target print number.
S102, the current number surplus that basis prestores and the expired time prestored, the type information that print request is carried It is analyzed, obtains analysis result;
Through the above steps, after the print request for obtaining carrying type information, current number surplus according to the pre-stored data And expired time, type information is analyzed, obtains analysis result, wherein pre-stored current number surplus is upper one The number surplus being calculated after secondary printing, pre-stored expired time are that the duration supplemented with money according to user is counted with the time is supplemented with money Obtain, and the expired time is stored in the memory of server or printer local, this method be by interface from Server obtains or directly from local acquisition.
Specifically, it can be determined that whether the target print number in type information is greater than current number surplus, to obtain First judging result analyzes result as number;When whether the target print time that can also judge in type information is more than expired Between, to obtain the second judging result as time analysis result;It, can after obtaining number analysis result and time analysis result To analyze result and time analysis as a result, obtaining final analysis result based on number.For example, if number analysis result indicates Target print number is less than or equal to current number surplus, and time analysis result indicates the target print time when being less than expired Between, it is determined that time margin abundance and number surplus abundance are as analysis result;If number, which analyzes result, indicates target print Number is greater than current number surplus, and/or, time analysis result indicates that the current print time is more than expired time, it is determined that when Between surplus it is insufficient and/or number surplus deficiency is as analysis result.
If S103, analysis result indicate that time margin is sufficient and number surplus is sufficient, according to type information, printer is controlled The content of current print object is printed.
Through the above steps, after obtaining analysis result, if analysis result indicates that time margin abundance and number surplus are filled Foot controls printer and prints to the content of current print object then according to type information.
The printer control method of the present embodiment, the print request sent by receiving user, works as toe-out according to what is prestored Number surplus and the expired time prestored, the type information carried to print request are analyzed, and are obtained time margin abundance and are opened After the analysis result of number surplus abundance, just it can control printer according to type information and the content of current print object is carried out Printing also controls the print time of user, while realizing control user's number of prints so as to avoid user Occupy printer for a long time in the case where only buying a small amount of number, to improve printer lease number and number of applications, reduces Waste to printer resource.
Fig. 2 is the flow chart of printer control method embodiment two of the invention, as shown in Fig. 2, the printing of the present embodiment On the basis of machine control method is the embodiment described in Fig. 1, further technical solution of the present invention is retouched in further detail It states.
As shown in Fig. 2, the printer control method of the present embodiment can specifically include following steps:
S201, the print request that user sends is received;
The implementation procedure of the step is identical as the implementation procedure of S101 shown in FIG. 1, and details are not described herein again.
S202, the current number surplus that basis prestores and the expired time prestored, the type information that print request is carried It is analyzed, obtains analysis result;
The implementation procedure of the step is identical as the implementation procedure of S102 shown in FIG. 1, and details are not described herein again.
S203, discriminatory analysis result indicate whether that time margin is sufficient and number surplus is sufficient, if so, executing step S204, if it is not, executing step S209;
Through the above steps, after obtaining analysis result, which is judged, judges that it was indicated whether more than the time Amount is sufficient and number surplus is sufficient, if so, step S204 is executed, if it is not, executing step S209.
Whether S204, detection history print object and current print object are consistent;If so, step S205 is executed, if it is not, holding Row step S208;
Through the above steps, if it is determined that after analysis result indicates that time margin abundance and number surplus are sufficient, detection is gone through Whether history print object is consistent with current print object, if history print object is consistent with current print object, executes step Rapid S205;If history print object and current print object are inconsistent, S208 is thened follow the steps.Wherein, detection history prints Object and current print object whether unanimously include both detections whether identification number consistent and/or the corresponding printing of the two in Whether consistent hold.It is whether consistent with current print object by detection history print object, it can be printed to avoid user in repeating Hold, wastes paper.
S205, the prompt information for sending duplicate printing;
Through the above steps, if detecting that history print object is consistent with current print object, duplicate printing is generated Prompt information, and the prompt information is sent to user, prompts to have printed before the current print object of user, and allow use Family chooses whether confirmation printing.
S206, the feedback information for prompt information that user sends is received;
Through the above steps, it after the prompt information for sending duplicate printing, can determine the need for repeating by user Printing, and corresponding feedback information is fed back, in this way, can receive the feedback letter for the prompt information of user's transmission Breath, wherein feedback information can indicate confirmation printing, can also indicate to stop printing.
S207, judge that feedback information indicates whether confirmation printing;If so, step S208 is executed, if it is not, executing step S201;
Through the above steps, after the feedback information for receiving user's transmission, which is judged, determines that it is No expression confirmation printing thens follow the steps S208 if the feedback information indicates confirmation printing, otherwise, executes step S201, after Continuous retrieval receives the print request that user sends.
S208, according to type information, control printer and the content of current print object printed;
Through the above steps, it if feedback information indicates confirmation printing, or detects history print object and currently beats It is inconsistent to print object, then according to the type information of current print object, controls printer and the content of current print object is carried out Printing.
S209, printing prompting message is generated;
By step S203, analysis result is judged, determines that analysis result does not indicate time margin abundance and number After surplus is sufficient, i.e., analysis result indicates that time margin is insufficient and/or number surplus is insufficient, then generates printing prompting message, with It reminds user's current time surplus insufficient and/or number surplus deficiency, user is asked to supplement with money in time.
In addition, even if when not having print out task, the present embodiment to the current number surplus prestored and can also be prestored expired Time is judged, if current number surplus is less than default number surplus, and/or, between current time and expired time When being spaced duration and being less than preset time surplus, also produce and export prompting message, remind the current number surplus of user and/or Time margin is inadequate, so that user supplements with money in time.It wherein presets number surplus and preset time surplus is pre-set remaining Numerical quantity, in the present embodiment, default number surplus can be set to 100, and preset time surplus can be set to 7 days, in this way, When number is opened less than 100 or the time was less than 7 days, user can be reminded to supplement with money.
S210, output printing prompting message;
Through the above steps, after generating printing prompting message, which is exported, so that user checks, and Processing in time.
S211, current number surplus and target print number are subjected to subtraction calculations, the number printed next time before Surplus;
Through the above steps, it is current by what is prestored after control printer prints the content of current print object Target print number in number surplus and type information carries out subtraction calculations, thus more than the number printed next time before Amount, when being printed next time, using the number surplus as the current number surplus printed next time.
S212, the number surplus print next time before is stored;
Through the above steps, it after the number surplus printed next time before, is stored, can store to local, It can store to server.When being printed next time, which is the current number surplus prestored.
S213, statistics printer have used number with duration and printer;
The present embodiment can count printer used duration and printer used number, wherein having used duration can root Time and current time when supplementing with money according to user calculate to obtain, and according to the number that user supplements with money and can work as toe-out with number Number surplus is calculated.
S214, basis have used duration and have used number, calculate print frequency;
Through the above steps, obtain having used duration and with after number, can by with number divided by with the time come Calculate print frequency.
S215, when used time is long be greater than preset duration when, judge whether print frequency is located at outside predeterminated frequency range;If It is to execute step S216, if it is not, executing step S217;
Through the above steps, after obtaining print frequency, if the used time is long greater than preset duration, judge that print frequency is It is no to be located at outside predeterminated frequency range, if print frequency is located at outside predeterminated frequency range, execute step S216;If print frequency It is not located at outside predeterminated frequency range, i.e., print frequency is located within the scope of predeterminated frequency, executes step S217.Wherein, preset duration It is not limited, the present embodiment is preferably the half for the duration that user supplements with money, when user is more than to supplement the one of duration with money using printer After half, start to remind user according to the print frequency of calculating, in order to avoid what supplementing with money because print frequency is lower, occurred in user It can not be finished in duration and supplement number with money or do not reach expired time also, supplement the case where number has been used up with money.
In the present embodiment, can first according to use duration and with number calculating print frequency, then judge be with duration It is no to be greater than preset duration, after determining that used time length is greater than preset duration, then judge whether print frequency is located at predeterminated frequency range Outside;Can also first judge whether be greater than preset duration with duration, after determining that used time length is greater than preset duration, according to the used time It grows and calculates print frequency with number, then judge whether print frequency is located at outside predeterminated frequency range.
S216, output frequency prompting message;
Through the above steps, if it is determined that print frequency is located at outside predeterminated frequency range, then output frequency prompting message, In, if print frequency is less than the minimum value of predeterminated frequency range, illustrate that print frequency is lower, may be used in the duration supplemented with money When complete, the number supplemented with money is also not run out, and needs to remind user that print frequency is lower, and the number supplemented with money in the duration supplemented with money may nothing Method is finished, and user can be improved print frequency or continue to supplement printing duration with money, to guarantee that supplementing number with money is finished;If printing frequency Rate is greater than the maximum value of predeterminated frequency range, then illustrates that print frequency is higher, may supplement with money when the duration supplemented with money is also not run out Number just used up, need to remind user that print frequency is higher, the number supplemented with money in the duration supplemented with money may not enough, user Print frequency can be reduced or continue to supplement number of prints with money, have paper available to guarantee to supplement with money in duration.
S217, end.
Through the above steps, if it is determined that print frequency is located within the scope of predeterminated frequency, then ends task.It is beaten next time After the printing of print machine, that continues to count printer with duration and has used number.
What the present embodiment did not limited step S211-S212 and step S213-S217 executes sequence, can first carry out step S211-S212, then execute step S213-S217;Step S213-S217 can also be first carried out, then executes step S211-S212.
The printer control method of the present embodiment, the print request sent by receiving user, works as toe-out according to what is prestored Number surplus and the expired time prestored, the type information carried to print request are analyzed, and are obtained time margin abundance and are opened After the analysis result of number surplus abundance, whether detection history print object is consistent with current print object, only unanimously just can be with It according to type information, controls printer and the content of current print object is printed, realize control user's number of prints Meanwhile also the print time of user is controlled, so as to avoid user long-term in the case where only buying a small amount of number Occupy printer, to improve printer lease number and number of applications, reduces the waste to printer resource.If history is beaten It prints object and current print object is inconsistent, it is also necessary to send the prompt information of duplicate printing, only receive user's confirmation and beat The feedback information of print just can control printer and print to the content of current print object according to type information, so as to To avoid because of the case where duplicate printing causes paper waste.In the present embodiment, if obtained analysis result indicated more than the time Amount is insufficient and/or number surplus is insufficient, also produces and exports printing prompting message;Print frequency is located at predeterminated frequency range Outside, simultaneously output frequency prompting message is also produced, user is carried out by the printing prompting message and frequency prompting message of output It reminds, treatment measures can be taken for corresponding situation in time by being able to use family.
In practical applications, since printer is likely to occur failure, such as ink abnormal, paper jam failure out of ink, in this way User prints under unknown situation, will cause the paper waste of user, in the case that maintenance personnel repairs printer, uses Family is not to be available printer for a period of time, in this way, user can be made to shorten using the time of printer, so that user be caused to damage It loses.Therefore, in order to solve the above-mentioned technical problem, the present invention also provides following technical schemes.
Fig. 3 is the flow chart of printer control method embodiment three of the invention, as shown in figure 3, the printing of the present embodiment Machine control method can specifically include following steps:
S301, detection printer are with the presence or absence of printing abnormal phenomenon;If so, step S302 is executed, if it is not, continuing to execute step Rapid S301;
The present embodiment can detecte printer with the presence or absence of printing abnormal phenomenon, if there is beating when printer prints Abnormal phenomenon is printed, S302 is thened follow the steps;Abnormal phenomenon is printed if it does not exist, then whether continues to test in print procedure printer In the presence of printing abnormal phenomenon.Wherein, printing abnormal phenomenon include printer break down, the content that prints due to ink too It is more or unintelligible etc. very little.
S302, the statistical information for obtaining the corresponding anomalous event of printing abnormal phenomenon;
Through the above steps, after determining that printer has printing abnormal phenomenon, it is corresponding to need to obtain the printing abnormal phenomenon Anomalous event statistical information.Wherein, statistical information includes the paper number of the anomalous event and/or holding for the anomalous event Continuous duration.For example, anomalous event be due to ink too much cause print content it is unintelligible, then statistical information be because ink too much in Hold unsharp paper number;Anomalous event is printer failure, then statistical information is the duration of printer failure, I.e. from printer time of fault inception to the duration being spaced the printer troubleshooting good time.
S303, according to statistical information, the number surplus print to expired time and/or next time before is adjusted.
Through the above steps, it after obtaining statistical information, according to the statistical information, prints to expired time and/or next time Preceding number surplus is adjusted.For example, if anomalous event is to cause printing content unintelligible too much due to ink, statistics letter Breath is then to need to the number surplus print next time before because of the unsharp paper number of the too many content of ink plus corresponding paper Open number;If anomalous event is that printer breaks down, statistical information is the duration of printer failure, then needs pair Expired time extends corresponding duration.
The problem of due to the abnormal phenomenon such as Ink Problems and printer failure being printer rather than customer problem, due to Paper caused by above-mentioned abnormal phenomenon and waste of time, can scheme through this embodiment certain benefit is carried out to user It repays, can be avoided the duration and the unnecessary waste of number appearance that user supplements with money.
In order to more comprehensively, correspond to printer control method provided in an embodiment of the present invention, present invention also provides printings Machine control device.
Fig. 4 is the structural schematic diagram of printer control device embodiment one of the invention, as shown in figure 4, the present embodiment Printer control device includes receiving module 101, analysis module 102 and control module 103.
Receiving module 101, for receiving the print request of user's transmission, print request carries the printing of current print object Information;
Analysis module 102, for being carried out to type information according to the current number surplus prestored and the expired time prestored Analysis obtains analysis result;
Wherein, type information includes target print time and target print number.Analysis module 102 is specifically used for: judgement Whether target print number is greater than current number surplus, obtains the first judging result as number and analyzes result;Judge that target is beaten It prints whether the time is more than expired time, obtains the second judging result as time analysis result;If number, which analyzes result, indicates mesh It marks number of prints and is less than or equal to current number surplus, and time analysis result indicates the target print time when being less than expired Between, determine time margin abundance and number surplus abundance as the analysis result;If number, which analyzes result, indicates target print Number is greater than current number surplus, and/or, time analysis result indicates that the target print time is more than expired time, determines the time Surplus is insufficient and/or number surplus deficiency is as the analysis result.
Control module 103 is believed if indicating that time margin abundance and number surplus are sufficient for analyzing result according to printing Breath, control printer print the content of current print object.
The printer control device of the present embodiment, receiving module 101 receive the print request that user sends, analysis module 102, according to the current number surplus prestored and the expired time prestored, analyze type information, obtain time margin abundance After the analysis result of number surplus abundance, control module 103 just can control printer to current printing according to type information The content of object is printed, and while realizing control user's number of prints, is also controlled the print time of user, from And can be avoided user and occupy printer for a long time in the case where only buying a small amount of number, thus improve printer lease number and Number of applications reduces the waste to printer resource.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is the structural schematic diagram of printer control device embodiment two of the invention.As shown in figure 5, the present embodiment It further include generation module 104 and output module 105 on the basis of printer control device embodiment described in Fig. 4.
Generation module 104, if indicating that time margin is insufficient and/or number surplus is insufficient for analyzing result, generation is beaten Print prompting message;
Output module 105, for exporting printing prompting message.
Further, the printer control device of the present embodiment further includes detection module 106, sending module 107 and judgement Module 108.
Detection module 106, it is whether consistent for detection history print object and current print object;
Sending module 107 sends the prompt letter of duplicate printing if consistent with current print object for history print object Breath;
Receiving module 101 is also used to receive the feedback information for prompt information of user's transmission;
Judgment module 108, for judging that feedback information indicates whether confirmation printing;
Accordingly, control module 103, if being specifically used for feedback information indicates confirmation printing, according to type information, control is beaten Print machine prints the content of current print object.
Further, the printer control device of the present embodiment further includes computing module 109 and memory module 110.
Computing module 109 is beaten next time for current number surplus and target print number to be carried out subtraction calculations Number surplus before print;
Memory module 110, for storing the number surplus print next time before.
Further, the printer control device of the present embodiment further includes statistical module 111.
Statistical module 111 has used number with duration and printer for count printer;
Computing module 109 is also used to calculate print frequency according to having used duration and having used number;
Judgment module 108 is also used to judge whether print frequency is located at default frequency when used time length is greater than preset duration Outside rate range;
Output module 105 is located at outside predeterminated frequency range, output frequency prompting message if being also used to print frequency.
Further, the printer control device of the present embodiment further includes obtaining module 112 and adjustment module 113.
Detection module 106 is also used to detect printer with the presence or absence of printing abnormal phenomenon;
Module 112 is obtained, if there is printing abnormal phenomenon for printer, obtains the corresponding abnormal thing of printing abnormal phenomenon The statistical information of part;
Wherein, the statistical information of anomalous event includes the paper number of anomalous event and/or the duration of anomalous event.
Adjust module 113, for according to statistical information, number surplus print to expired time and/or next time before into Row adjustment.
The printer control device of the present embodiment according to the current number surplus prestored and is prestored by analysis module 102 Expired time, the type information carried to print request analyzes, and obtains time margin abundance and number surplus is sufficient After analyzing result, whether 106 detection history print object of detection module and current print object are consistent, only consistent control module 103 just can control printer and print to the content of current print object according to type information, realize control user and beat While printed sheet number, also the print time of user is controlled, so as to avoid user in the feelings for only buying a small amount of number Occupy printer under condition for a long time, to improve printer lease number and number of applications, reduces the waste to printer resource.Such as Fruit history print object and current print object are inconsistent, it is also necessary to which sending module 107 sends the prompt information of duplicate printing, only There is receiving module 101 to receive the feedback information that user confirms printing, control module 103 can just be controlled according to type information Printer prints the content of current print object, so as to avoid because duplicate printing causes the feelings of paper waste Condition.In the present embodiment, if obtained analysis result indicates that time margin is insufficient and/or number surplus is insufficient, output module 105 Printing prompting message can be exported;Print frequency is located at outside predeterminated frequency range, and the also exportable frequency of output module 105 reminds letter Breath, reminds user by the printing prompting message and frequency prompting message of output, being able to use family can be directed in time Corresponding situation takes treatment measures.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
In order to more comprehensively, correspond to printer control method provided in an embodiment of the present invention, present invention also provides printings Machine.
Fig. 6 is the structural schematic diagram of printer embodiment of the invention.As shown in fig. 6, the printer of the present embodiment includes Processor 21 and memory 22.
Processor 21 is connected with memory 22, and for storing computer program, which at least uses memory 22 In the printer control method for executing above-described embodiment;
Processor 21, for calling and executing the computer program in memory 22.
The printer of the present embodiment is called by processor 21 and executes the above-mentioned printer control stored in memory 22 Method, so that the print request sent by receiving user, right according to the current number surplus prestored and the expired time prestored The type information that print request carries is analyzed, and obtains the analysis of time margin abundance and number surplus abundance as a result, just may be used It according to type information, controls printer and the content of current print object is printed, realize control user's number of prints Meanwhile also the print time of user is controlled, so as to avoid user long-term in the case where only buying a small amount of number Occupy printer, to improve printer lease number and number of applications, reduces the waste to printer resource.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, described program can store in a kind of computer readable storage medium In, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (10)

1. a kind of printer control method characterized by comprising
The print request that user sends is received, the print request carries the type information of current print object;
According to the current number surplus prestored and the expired time prestored, the type information is analyzed, obtains analysis knot Fruit;
If the analysis result indicates that time margin abundance and number surplus are sufficient, according to the type information, printer is controlled The content of the current print object is printed.
2. the method according to claim 1, wherein the type information includes: target print time and target Number of prints;
Accordingly, the current number surplus that the basis prestores and the expired time prestored, analyze the type information, Obtain analysis result, comprising:
Judge whether the target print number is greater than the current number surplus, obtains the first judging result and analyzed as number As a result;
Judge whether the target print time is more than the expired time, obtains the second judging result as time analysis knot Fruit;
If number analysis result indicates the target print number and is less than or equal to the current number surplus, and it is described when Between analysis result indicate that target print time is less than the expired time, determine that time margin abundance and number surplus are filled Foot is used as the analysis result;
If the number analysis result indicates that the target print number is greater than the current number surplus, and/or, the time Analyzing result indicates that the target print time is more than the expired time, determines time margin deficiency and/or number surplus not Foot is used as the analysis result.
3. according to the method described in claim 2, control printer is to institute it is characterized in that, described according to the type information State current print object content printed after, further includes:
By the current number surplus and target print number progress subtraction calculations, more than the number printed next time before Amount;
Number surplus before the printing next time is stored.
4. according to the method described in claim 2, it is characterized by further comprising:
If the analysis result indicates that time margin is insufficient and/or number surplus is insufficient, printing prompting message is generated;
Export the printing prompting message.
5. the method according to claim 1, wherein further include:
Count the printer has used number with duration and the printer;
According to it is described used duration and it is described used number, calculate print frequency;
When the used time is long is greater than preset duration, judge whether the print frequency is located at outside predeterminated frequency range;
If so, output frequency prompting message.
6. control printer is to institute the method according to claim 1, wherein described according to the type information State current print object content printed before, further includes:
Whether detection history print object and the current print object are consistent;
If consistent, the prompt information of duplicate printing is sent;
Receive the feedback information for the prompt information that user sends;
Judge that the feedback information indicates whether confirmation printing;
Accordingly, described according to the type information, it controls printer and the content of the current print object is printed, wrap It includes:
If the feedback information indicates confirmation printing, according to the type information, printer is controlled to the current print object Content printed.
7. the method according to claim 1, wherein further include:
The printer is detected with the presence or absence of printing abnormal phenomenon;
If it exists, the statistical information of the corresponding anomalous event of the printing abnormal phenomenon is obtained;
According to the statistical information, the number surplus before the expired time and/or the printing next time is adjusted;
Wherein, the statistical information of the anomalous event include the anomalous event paper number and/or the anomalous event Duration.
8. a kind of printer control device characterized by comprising
Receiving module, for receiving the print request of user's transmission, the print request carries the printing letter of current print object Breath;
Analysis module, for dividing the type information according to the current number surplus prestored and the expired time prestored Analysis obtains analysis result;
Control module is believed if indicating that time margin abundance and number surplus are sufficient for the analysis result according to the printing Breath, control printer print the content of the current print object.
9. device according to claim 8, which is characterized in that further include:
Computing module obtains next time for the current number surplus and the target print number to be carried out subtraction calculations Number surplus before printing;
Memory module, for storing the number surplus before the printing next time.
10. a kind of printer characterized by comprising processor, and the memory being connected with the processor;
The memory is at least used for perform claim and requires any one of 1-7 for storing computer program, the computer program The control method of the printer;
The processor is for calling and executing the computer program in the memory.
CN201910513771.3A 2019-06-14 2019-06-14 Printer control method, device and printer Pending CN110244918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910513771.3A CN110244918A (en) 2019-06-14 2019-06-14 Printer control method, device and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910513771.3A CN110244918A (en) 2019-06-14 2019-06-14 Printer control method, device and printer

Publications (1)

Publication Number Publication Date
CN110244918A true CN110244918A (en) 2019-09-17

Family

ID=67887027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910513771.3A Pending CN110244918A (en) 2019-06-14 2019-06-14 Printer control method, device and printer

Country Status (1)

Country Link
CN (1) CN110244918A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628392A (en) * 2021-08-19 2021-11-09 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN115674687A (en) * 2022-10-25 2023-02-03 上海复志信息科技股份有限公司 Release film service life detection method and device and photocuring 3D printing equipment
CN116560599A (en) * 2023-07-11 2023-08-08 北京普云特科技有限公司 Intelligent printing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530070A (en) * 2012-07-06 2014-01-22 柯尼卡美能达株式会社 Print servers and print data transmission method
CN106626824A (en) * 2016-11-11 2017-05-10 宜春小马快印科技有限公司 Method and system for controlling number of printed sheets
CN108446079A (en) * 2018-01-25 2018-08-24 宜春小马快印科技有限公司 Internet print method, system, readable storage medium storing program for executing and computer equipment
CN109117101A (en) * 2018-07-18 2019-01-01 宜春小马快印科技有限公司 Internet print method, system, readable storage medium storing program for executing and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530070A (en) * 2012-07-06 2014-01-22 柯尼卡美能达株式会社 Print servers and print data transmission method
CN106626824A (en) * 2016-11-11 2017-05-10 宜春小马快印科技有限公司 Method and system for controlling number of printed sheets
CN108446079A (en) * 2018-01-25 2018-08-24 宜春小马快印科技有限公司 Internet print method, system, readable storage medium storing program for executing and computer equipment
CN109117101A (en) * 2018-07-18 2019-01-01 宜春小马快印科技有限公司 Internet print method, system, readable storage medium storing program for executing and computer equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628392A (en) * 2021-08-19 2021-11-09 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN113628392B (en) * 2021-08-19 2023-08-25 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN115674687A (en) * 2022-10-25 2023-02-03 上海复志信息科技股份有限公司 Release film service life detection method and device and photocuring 3D printing equipment
CN115674687B (en) * 2022-10-25 2024-05-31 上海复志信息科技股份有限公司 Method and device for detecting service life of release film and photocuring 3D printing equipment
CN116560599A (en) * 2023-07-11 2023-08-08 北京普云特科技有限公司 Intelligent printing method
CN116560599B (en) * 2023-07-11 2023-09-22 北京普云特科技有限公司 Intelligent printing method

Similar Documents

Publication Publication Date Title
CN110244918A (en) Printer control method, device and printer
US6782345B1 (en) Systems and methods for diagnosing electronic systems
CN103150237B (en) Based on the part replacement of fault
US8291264B2 (en) Method and system for failure prediction with an agent
EP1109395B1 (en) Systems and methods for automated image quality based diagnostics and remediation of document processing systems
CN107390056B (en) Detect the method and system of charging pile
US7181651B2 (en) Detecting and correcting a failure sequence in a computer system before a failure occurs
CN107368892A (en) Model training method and device based on machine learning
US20190204815A1 (en) Operation state monitoring apparatus, learning data generation apparatus, method and program
US20210056235A1 (en) Method for identity verification, consumable box and storage medium
EP2073123A1 (en) Method and system for monitoring a service oriented architecture
CN106408791A (en) Monitoring method and system for self-service terminal state
CN111127180A (en) System and method for intelligently auditing financial documents
CN106411636B (en) Monitoring method, system and the monitoring server of self-aided terminal state
CN108944095A (en) Printing device heartbeat inspecting method, apparatus, mobile terminal and storage medium
CN116975938B (en) Sensor data processing method in product manufacturing process
CN111104289B (en) System and method for checking efficiency of GPU (graphics processing Unit) cluster
US20230244754A1 (en) Automatic anomaly thresholding for machine learning
CN113326011B (en) Network-based printing end control method and system and readable storage medium
CN113635671A (en) Intelligent ink presetting method and system
CN110196700A (en) Processing method, the device and system of printer print amount
CN110333831A (en) A kind of end print paper uses method for early warning, device, terminal and storage medium
CN109918301A (en) Debugging log stage division based on whitley platform under a kind of server management system
JP4968469B2 (en) Printing unit diagnostic device
CN111104284B (en) Service health detection method and device, computer equipment 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: 20190917

RJ01 Rejection of invention patent application after publication