The content of the invention
The embodiment of the present invention provides a kind of self-help print method and apparatus, can improve the convenience of mimeograph documents.
A kind of self-help print method, including:
Receive the file to be printed that electronic equipment is uploaded;
The printer for the number of pages that the number of pages for choosing the corresponding available paper of printer is more than the file to be printed is corresponding
Printer identifier;
The corresponding printer identifier of the printer is sent to the electronic equipment;
The selected printer identifier that the electronic equipment is uploaded is received, the corresponding figure of the file to be printed is generated
Identifier, and the graphical identifier is sent to the electronic equipment;
Obtained by the scanning electronic equipment for receiving the corresponding printer upload of the selected printer identifier
Graphical identifier information, the file to be printed according to the graphical identifier acquisition of information, the file to be printed is sent
Give the selected printer identifier corresponding printer printing.
In one of the embodiments, methods described also includes:
If not receiving the scanning institute that the corresponding printer of the selected printer identifier is uploaded in preset time
The graphical identifier information obtained by electronic equipment is stated, the file to be printed is deleted, and it is corresponding in selected printer
The number of pages of the file to be printed is added in the number of pages of available paper.
In one of the embodiments, methods described also includes:
Receive the global position system GPS information that electronic equipment is uploaded;
The corresponding printer identifier of printer in electronic equipment preset range is obtained according to the GPS information;
Obtain the current file to be printed queuing message of the printer in the electronic equipment preset range;
By the printer identifier in the electronic equipment preset range, the corresponding distance of each printer identifier and each printer
Identify corresponding current file to be printed queuing message and be sent to the electronic equipment.
In one of the embodiments, methods described also includes:
Printer identifier and fault cues that the electronic equipment is uploaded are received, is carried according to the printer identifier and failure
Show to the corresponding printer of the printer identifier and send test instruction;
The test sheets picture that the electronic equipment is uploaded is received, the test sheets picture and the test sheets picture that prestores are entered
Row is compared, and judges that the printer whether there is failure according to comparison result.
In one of the embodiments, methods described also includes:
Test instruction is sent to printer;
The test sheets picture that the printer is uploaded is received, the test sheets picture and the test sheets picture prestored are carried out
Compare, judge that the printer whether there is failure according to comparison result.
A kind of self-help print device, including:
Receiving module, the file to be printed for receiving electronic equipment upload;
Module is chosen, for choosing the number of pages of the corresponding available paper of printer more than the number of pages of the file to be printed
The corresponding printer identifier of printer;
Sending module, for the corresponding printer identifier of the printer to be sent into the electronic equipment;
The receiving module is additionally operable to receive the selected printer identifier that the electronic equipment is uploaded;Receive the quilt
Graphical identifier information obtained by the scanning electronic equipment that the corresponding printer of printer identifier chosen is uploaded;
The sending module is additionally operable to generate the corresponding graphical identifier of the file to be printed, and by the pattern identification
Symbol is sent to the electronic equipment;The file to be printed according to the graphical identifier acquisition of information, by the text to be printed
Part is sent to the corresponding printer printing of the selected printer identifier.
In one of the embodiments, described device also includes:
Removing module, if for not receiving the corresponding printer of the selected printer identifier in preset time
Graphical identifier information obtained by the scanning electronic equipment of upload, deletes the file to be printed, and selected
The number of pages of the file to be printed is added in the number of pages of the corresponding available paper of printer.
In one of the embodiments, described device also includes:
The receiving module is additionally operable to receive the global position system GPS information that electronic equipment is uploaded;
Acquisition module, for obtaining the corresponding printing of printer in electronic equipment preset range according to the GPS information
Machine is identified;Obtain the current file to be printed queuing message of the printer in the electronic equipment preset range;
The sending module is additionally operable to the printer identifier in the electronic equipment preset range, each printer identifier pair
The corresponding current file to be printed queuing message of distance and each printer identifier answered is sent to the electronic equipment.
In one of the embodiments, described device also includes:
The receiving module is additionally operable to receive printer identifier and fault cues that the electronic equipment is uploaded;Receive described
The test sheets picture that electronic equipment is uploaded;
The sending module is additionally operable to corresponding to the printer identifier according to the printer identifier and fault cues
Printer sends test instruction;
First comparing module, for the test sheets picture and the test sheets picture that prestores to be compared, according to comparison
Printer described in result judgement whether there is failure.
In one of the embodiments, described device also includes:
The sending module is additionally operable to send test instruction to printer;
The receiving module is additionally operable to receive the test sheets picture that the printer is uploaded;
Second comparing module, for the test sheets picture and the test sheets picture that prestores to be compared, according to comparison
Printer described in result judgement whether there is failure.
Above-mentioned self-help print method and apparatus, after the file to be printed of electronic equipment upload is received, according to for selecting
The printer identifier taken, generates the graphical identifier of file to be printed;Obtained in the scanning electron equipment for receiving printer upload
After the graphical identifier taken, file to be printed is obtained according to graphical identifier information searching, file to be printed is sent to printing
Machine is printed, and saves the time of user's mimeograph documents so that user's mimeograph documents are more convenient.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein,
But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes
Say, without departing from the scope of the invention, the first comparing module can be referred to as the second comparing module, and similarly,
Second comparing module can be referred to as the first comparing module.First comparing module and the second comparing module both comparing module,
But it is not same comparing module.
Fig. 1 is the environment schematic of self-help print method in one embodiment.As shown in figure 1, the application environment includes electricity
Sub- equipment 110, server 120 and printer 130.Electronic equipment 110 is connected by network with server 120, and printer 130 leads to
Network is crossed to be connected with server 120.File to be printed can be uploaded to server 120, server by electronic equipment 110 by network
Optional printer identifier is sent to electronic equipment 110 by 120, then receives the printer mark of the selection of the upload of electronic equipment 110
Know, graphical identifier is sent to electronic equipment 110 by the corresponding graphical identifier of generation file to be printed.Printer 130 is being swept
Retouch graphical identifier on electronic equipment 110 to obtain after graphical identifier information, treated according to graphical identifier acquisition of information is corresponding
Mimeograph documents, are sent to printer 130 by file to be printed and print.Wherein, electronic equipment can be mobile phone, tablet personal computer, vehicle-mounted
Computer, computer or personal digital assistant etc..
Fig. 2 is the flow chart of self-help print method in one embodiment, as shown in Fig. 2 a kind of self-help print method, including
Step S202 to step S210.Wherein:
S202, receives the file to be printed that electronic equipment is uploaded.
S204, the printer for the number of pages that the number of pages for choosing the corresponding available paper of printer is more than file to be printed is corresponding
Printer identifier.
S206, electronic equipment is sent to by the corresponding printer identifier of printer.
S208, receives the selected printer identifier that electronic equipment is uploaded, the corresponding figure mark of generation file to be printed
Know symbol, and graphical identifier is sent to electronic equipment.
S210, receives the figure obtained by the scanning electron equipment that the corresponding printer of selected printer identifier is uploaded
Identifier information, according to graphical identifier acquisition of information file to be printed, file to be printed is sent to selected printer
Identify corresponding printer printing.
Specifically, electronic equipment is held by APP (Application, application program) or webpage client will be to be printed
File upload services device.Wherein, file to be printed can be .txt files .doc files .docx files .pdf files .jpg
The formatted file that file .ppt files .html files or other printers are supported.Server is receiving electronic equipment upload
File to be printed after, choose the printer pair that the number of pages of available paper that printer correspondence gives is more than the number of pages of file to be printed
The printer identifier answered, and the printer identifier of selection is sent to electronic equipment for user's selection.Wherein, printer identifier is
Refer to the character string for unique mark printer, can be the printer network address, the MAC Address of printer or printer numbering
Deng.Electronic equipment is after alternative printer identifier of server transmission is received, by alternative printer identifier
In interface of electronic equipment displaying, then the printer identifier that user chooses is obtained, by selected printer identifier upload server.
Server receives the selected printer identifier of electronic equipment upload, in the selected corresponding available paper page of printer
The number of pages of file to be printed is subtracted in number, and generates the corresponding graphical identifier of file to be printed, the figure of above-mentioned graphical identifier
Shape identifier information includes printer identifier and file to be printed mark.Wherein, graphical identifier can be Quick Response Code, bar code
Deng.File to be printed mark refers to character, numeral or letter for unique mark file to be printed etc..Server is by generation
Graphical identifier is sent to electronic equipment, and the graphical identifier of reception can be stored and shown in electronic equipment display screen by electronic equipment
Show.Wherein, graphical identifier scanning port is carried in printer, printer is set by graphical identifier scanning port scanning electron
The graphical identifier that standby display screen is shown, can obtain the corresponding graphical identifier information of graphical identifier, and by the figure of acquisition
Identifier information upload server.Server receives the graphical identifier information that printer is uploaded, above-mentioned graphical identifier information
Include printer identifier and file to be printed mark.If server recognizes the numbering of current printer and graphical identifier is believed
The numbering of printer is identical in breath, then obtains file to be printed according to file to be printed mark, and file to be printed is sent to
Printer is printed.
Above-mentioned self-help print method, after the file to be printed of electronic equipment upload is received, according to beating for selection
Print machine is identified, and generates the graphical identifier of file to be printed;The figure obtained in the scanning electron equipment for receiving printer upload
After shape identifier, file to be printed is obtained according to graphical identifier information searching, file to be printed is sent to printer printing,
Save the time of user's mimeograph documents so that user's mimeograph documents are more convenient.
In one embodiment, above-mentioned self-help print method also includes:If not received in preset time selected
Graphical identifier information obtained by the scanning electron equipment that the corresponding printer of printer identifier is uploaded, deletes text to be printed
Part, and add in the number of pages of the selected corresponding available paper of printer the number of pages of file to be printed.
Specifically, server, can be by file to be printed storage simultaneously after the file to be printed of electronic equipment upload is received
At the time of recording file to be printed storage.If in default time interval, server is not received by the figure of printer upload
Shape identifier information, that is, judge that user does not remove mimeograph documents in default time interval, then deletes the text to be printed of storage
File to be printed is added in part, and the number of pages of available paper in the corresponding selected printer identifier of the file to be printed
Number of pages.I.e. server is set with the time-write interval to file to be printed, within the above-mentioned time-write interval, if above-mentioned file to be printed is not
Printed, then delete file to be printed, and recover the paper that is taken in the available paper of printer by file to be printed.
Above-mentioned self-help print method, it is used that the time-write interval is set to file to be printed, deleted after file to be printed time-out
The paper taken in file to be printed and release printer by file to be printed, releases the memory space of server, can keep away
Exempt from file to be printed and take available paper in printer for a long time so that the situation of waste of resource.
In one embodiment, above-mentioned self-help print method also includes:Receive the GPS (Global that electronic equipment is uploaded
Positioning System, global positioning system) information;Printing in electronic equipment preset range is obtained according to GPS information
The corresponding printer identifier of machine;Obtain the current file to be printed queuing message of the printer in electronic equipment preset range;Will
Printer identifier, the corresponding distance of each printer identifier and each printer identifier in electronic equipment preset range is corresponding current
File to be printed queuing message is sent to electronic equipment.
Specifically, electronic equipment can upload the GPS location information that electronic equipment works as prelocalization when uploading file to be printed
Or user choose GPS location information, server according to location information of the GPS location information received as electronic equipment,
And the printer identifier in the location information preset range of electronic equipment is chosen, server can also obtain each printer identifier pair
The current file to be printed queuing message answered.Current file to be printed queuing message may include the current text to be printed of each printer
Estimated time of the quantity of part, the number of pages of each file to be printed and each file to be printed etc..Each file to be printed is pre-
The time of estimating refers to the time of intended print this document.Electronic equipment is in the electronic equipment preset range for receiving server transmission
Printer identifier, the corresponding distance of each printer identifier and the corresponding current file to be printed queuing message of each printer identifier
Afterwards, printer identifier can be ranked up according to each printer identifier corresponding distance, can also be according to be printed in each printer
File total estimated time is ranked up to printer identifier.
Above-mentioned self-help print method, when being supplied to the optional printer of user, additionally provides the range information of printer
With current file to be printed information, current file to be printed information in distance and printer of the user according to printer is conducive to close
The selection printer of reason, can avoid user from waiting printing before printer and waste the plenty of time, improve Consumer's Experience.
In one embodiment, above-mentioned self-help print method also includes:Receive electronic equipment upload printer identifier and
Fault cues, test instruction is sent according to printer identifier and fault cues to the corresponding printer of printer identifier;Receive electricity
The test sheets picture that sub- equipment is uploaded, test sheets picture and the test sheets picture that prestores are compared, sentenced according to comparison result
Printer is determined with the presence or absence of failure.
Specifically, if user has found printer failure in mimeograph documents, APP ends in electronic equipment or webpage visitor can be passed through
Family end sends the numbering and fault cues of current printer to server.Server receives the printer mark of electronic equipment upload
When knowing with fault cues, test instruction is sent to the corresponding printer of printer identifier, makes the test sheets of printer print preset.
User is after test sheets picture is shot, by test sheets picture by APP ends in electronic equipment or webpage client upload server,
The test sheets picture received and the test sheets picture that prestores are compared server, if both matching degrees are less than specifying
Value, then judge that printer has failure, server can send failure to the computer terminal where maintenance personal or electronic equipment and carry
Show, remind maintenance personal's printer to there is failure.Server can also increase a certain amount of available paper in the account of active user
Number of pages is opened, the reward of reporting of user printer failure is used as.When electronic equipment uploads file to be printed again, server is in meter
When calculating file to be printed number of pages, available paper number of pages in the account of active user can be deducted, according to the account for deducting active user
File to be printed number of pages after middle available paper number of pages is collected the charges to user.
Above-mentioned self-help print method, encourages the event of reporting of user printer by way of rewarding user's available paper number of pages
Barrier, be conducive to printer to find and repair in time when breaking down, without the artificial printer of investigation one by one whether failure, saving
Human resources.
In one embodiment, above-mentioned self-help print method also includes:Test instruction is sent to printer;Receive printer
The test sheets picture of upload, test sheets picture and the test sheets picture that prestores are compared, and are judged to print according to comparison result
Machine whether there is failure.
Specifically, server can send test to each printer according to certain time interval and instruct, or according to maintenance
The test information that computer terminal or electronic equipment where personnel are sent sends test instruction to each printer.Printer is connecing
The test sheets of print preset after test instruction are received, the camera of printer file outlet can shoot test sheets picture.Work as printing
During machine printing test page, the camera of printer file outlet can shoot test sheets picture, and printer uploads test sheets picture
Server.Server is compared according to the test sheets picture of acquisition and the side view picture that prestores, if both matching degrees are low
In designated value, then judge that printer has failure, server can be sent to the computer terminal where maintenance personal or electronic equipment
Fault cues, remind maintenance personal's printer to there is failure.
Above-mentioned self-help print method, by sending test instruction to printer, receives the test sheets picture that printer is uploaded,
And the test sheets picture of reception and the test sheets picture that prestores are compared, be conducive to timely finding printer failure.
Fig. 3 is the structured flowchart of self-help print device in one embodiment.As shown in figure 3, a kind of self-service in Fig. 2 to realize
The virtual bench of Method of printing and framework, including receiving module 302, selection module 304 and sending module 306, wherein:
Receiving module 302, the file to be printed for receiving electronic equipment upload.
Module 304 is chosen, the page of the file to be printed is more than for choosing the number of pages of the corresponding available paper of printer
The corresponding printer identifier of several printers.
Sending module 306, for the corresponding printer identifier of the printer to be sent into the electronic equipment.
The receiving module 302 is additionally operable to receive the selected printer identifier that the electronic equipment is uploaded.Receive institute
State the graphical identifier information obtained by the scanning electronic equipment that the corresponding printer of selected printer identifier is uploaded.
The sending module 306 is additionally operable to generate the corresponding graphical identifier of the file to be printed, and by the figure
Identifier is sent to the electronic equipment;The file to be printed according to the graphical identifier acquisition of information, waits to beat by described
Printed text part is sent to the corresponding printer printing of the selected printer identifier.
Fig. 4 is the structured flowchart of self-help print device in another embodiment.As shown in figure 4, a kind of self-help print device,
Including receiving module 402, choose module 404, sending module 406 and removing module 408.Wherein:
Removing module 408, if for not receiving the corresponding printer of selected printer identifier in preset time
Graphical identifier information obtained by the scanning electron equipment of upload, deletes file to be printed, and in selected printer pair
The number of pages of file to be printed is added in the number of pages for the available paper answered.
Fig. 5 is the structured flowchart of self-help print device in another embodiment.As shown in figure 5, a kind of self-help print device,
Including receiving module 502, choose module 504, sending module 506 and acquisition module 508.Wherein:
Receiving module 502 is additionally operable to receive the global position system GPS information that electronic equipment is uploaded.
Acquisition module 508, for obtaining the corresponding printer of printer in electronic equipment preset range according to GPS information
Mark;Obtain the current file to be printed queuing message of the printer in electronic equipment preset range.
Sending module 506 is additionally operable to the printer identifier in electronic equipment preset range, each printer identifier is corresponding
Distance and the corresponding current file to be printed queuing message of each printer identifier are sent to electronic equipment.
Fig. 6 is the structured flowchart of self-help print device in another embodiment.As shown in fig. 6, a kind of self-help print device,
Including receiving module 602, choose module 604, the comparing module 608 of sending module 606 and first.Wherein:
Receiving module 602 is additionally operable to receive printer identifier and fault cues that electronic equipment is uploaded;Receive electronic equipment
The test sheets picture of upload.
Sending module 606 is additionally operable to be sent to the corresponding printer of printer identifier according to printer identifier and fault cues
Test instruction.
First comparing module 608, for test sheets picture and the test sheets picture that prestores to be compared, is tied according to comparing
Fruit judges that printer whether there is failure.
Fig. 7 is the structured flowchart of self-help print device in another embodiment.As shown in fig. 7, a kind of self-help print device,
Including receiving module 702, choose module 704, the comparing module 708 of sending module 706 and second.Wherein:
Sending module 706 is additionally operable to send test instruction to printer.
Receiving module 702 is additionally operable to receive the test sheets picture that printer is uploaded.
Second comparing module 708, for test sheets picture and the test sheets picture that prestores to be compared, is tied according to comparing
Fruit judges that printer whether there is failure.
Fig. 8 is self-help print schematic flow sheet in one embodiment.As shown in Figure 8:
S802, electronic equipment uploads file to be printed and GPS information.
S804, server chooses printer, and printer identifier is sent into electronic equipment.Server is according on electronic equipment
The number of pages and GPS information of the file to be printed of biography are selected in electronic equipment certain limit and available paper number of pages is more than to be printed
The printer of the number of pages of file.
S806, electronic equipment uploads selected printer identifier.User can be according to the distance of each printer and each
The file to be printed information of individual printer chooses printer, and by the corresponding printer identifier upload service of the printer chosen
Device.
S808, server generation graphical identifier, electronic equipment is sent to by graphical identifier.Server is receiving electricity
After the selected printer identifier that sub- equipment is uploaded, the corresponding graphical identifier of generation file to be printed, by graphical identifier
It is sent to electronic equipment storage.
Whether S810, server receives the graphical identifier of printer upload in preset time.If it is not, into step
S812, if so, into step S814.
S812, server deletes file to be printed, recovers occupied paper.Server enters after file to be printed is deleted
Enter step S818, increase the paper taken by file to be printed in the corresponding available paper quantity of printer.
S814, server is according to the corresponding file to be printed of graphical identifier information searching received, by text to be printed
Part is sent to printer printing.
S816, if printer has failure, failure is fed back by electronic equipment APP ends or webpage client.
S818, server modification available paper quantity.
Above-mentioned self-help print method, after the file to be printed of electronic equipment upload is received, according to beating for selection
Print machine is identified, and generates the graphical identifier of file to be printed;The figure obtained in the scanning electron equipment for receiving printer upload
After shape identifier, file to be printed is obtained according to graphical identifier information searching, file to be printed is sent to printer printing,
Save the time of user's mimeograph documents so that user's mimeograph documents are more convenient.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.