CN112214185A - Printing method and device - Google Patents

Printing method and device Download PDF

Info

Publication number
CN112214185A
CN112214185A CN202011192927.1A CN202011192927A CN112214185A CN 112214185 A CN112214185 A CN 112214185A CN 202011192927 A CN202011192927 A CN 202011192927A CN 112214185 A CN112214185 A CN 112214185A
Authority
CN
China
Prior art keywords
printer
printing
resource
request
server
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
CN202011192927.1A
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.)
Shanghai Hannto Technology Inc
Original Assignee
Shanghai Hannto Technology Inc
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 Shanghai Hannto Technology Inc filed Critical Shanghai Hannto Technology Inc
Priority to CN202011192927.1A priority Critical patent/CN112214185A/en
Publication of CN112214185A publication Critical patent/CN112214185A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources 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/1296Printer job scheduling or printer resource handling

Landscapes

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

Abstract

The application provides a printing method and a printing device. The printing method provided by the application is applied to a printing server, wherein the binding relationship between a resource account of a user and a printer is pre-stored in the printing server, and the method comprises the following steps: receiving a printing request sent by a resource server; the printing request carries address information of a first resource account and a printing object; searching a printer corresponding to the first resource account in the binding relationship; acquiring a printing object based on the address information; sending the printing object to the printer to instruct the printer to print the printing object. The printing method and the printing device can print the resources provided by the resource server quickly and conveniently, and can improve user experience.

Description

Printing method and device
Technical Field
The present application relates to the field of printing technologies, and in particular, to a printing method and apparatus.
Background
In recent years, with the rapid development of client technology, users often view resources provided by resource servers through various resource clients. For example, a job problem provided by the resource server is viewed by the resource client.
At present, when printing resources provided by a resource server, a user needs to download the resources first and then print the resources, and the operation is complex.
Disclosure of Invention
In view of this, the present application provides a printing method and apparatus to print resources provided by a resource server conveniently and quickly.
A first aspect of the present application provides a printing method, where the method is applied to a print server, where a binding relationship between a resource account of a user and a printer is pre-stored in the print server, and the method includes:
receiving a printing request sent by a resource server; the printing request carries address information of a first resource account and a printing object;
searching a printer corresponding to the first resource account in the binding relationship;
acquiring a printing object based on the address information;
sending the printing object to the printer to instruct the printer to print the printing object.
A second aspect of the present application provides a printing method, which is applied to a resource server, and the method includes:
receiving a subscription request of a user; wherein, a subscription object is appointed in the subscription request;
when the current subscription object is online, sending a printing request to a printing server; and the printing request carries address information of the current subscription object and the resource account number of the user.
A third aspect of the present application provides a printing apparatus, which is applied to a print server, where a binding relationship between a resource account of a user and a printer is pre-stored in the print server, the apparatus includes a receiving module, a searching module, and a processing module, where,
the receiving module is used for receiving a printing request sent by the resource server; the printing request carries address information of a first resource account and a printing object;
the searching module is used for searching the printer corresponding to the first resource account in the binding relationship;
and the processing module is used for acquiring a printing object based on the address information and sending the printing object to the printer so as to instruct the printer to print the printing object.
A fourth aspect of the present application provides a printing apparatus, which is applied to a resource server, the apparatus comprising a receiving module and a sending module, wherein,
the receiving module is used for receiving a subscription request of a user; wherein, a subscription object is appointed in the subscription request;
the sending module sends a printing request to the printing server when the current subscription object is online; the printing request carries address information of the current subscription object and the resource account number of the user.
A fifth aspect of the present application provides a print server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the printing methods provided in the first aspect of the present application when executing the program.
A sixth aspect of the present application provides a resource server, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the printing method according to any one of the second aspects of the present application when executing the program.
According to the printing method and the printing device, the printing request sent by the resource server is received; the printing request carries address information of a first resource account and a printing object, and then a printer corresponding to the first resource account is searched in a pre-stored binding relationship, so that the printing object is obtained based on the address information, and the printing object is sent to the printer to indicate the printer to print the printing object. Therefore, the resources provided by the resource server can be printed quickly and conveniently, and the user experience can be improved.
Drawings
Fig. 1 is a schematic view of an application scenario of a printing method and apparatus provided in the present application;
FIG. 2 is a flowchart of a first embodiment of a printing method provided in the present application;
fig. 3 is a flowchart of a second embodiment of a printing method provided in the present application;
fig. 4 is a flowchart of a third embodiment of a printing method provided in the present application;
FIG. 5 is a flowchart of a fourth embodiment of a printing method provided in the present application;
FIG. 6 is a schematic diagram of a fifth embodiment of a printing method provided by the present application;
FIG. 7 is a flowchart of a sixth embodiment of a printing method provided by the present application;
FIG. 8 is a schematic diagram of an implementation of a printing method shown in an exemplary embodiment of the present application;
FIG. 9 is a schematic structural diagram of a first embodiment of a printing apparatus according to the present application;
fig. 10 is a schematic structural diagram of a second printing apparatus according to the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The application provides a printing method and a printing device, which are used for conveniently and quickly printing resources provided by a resource server.
Fig. 1 is a schematic view of an application scenario of the printing method and apparatus provided in the present application. Referring to fig. 1, the printing method and apparatus provided by the present application may be applied to the printing system shown in fig. 1, and the printing system may include a resource client 1, a resource server 2, a print server 3, and a printer 4.
Specifically, the print server 3 is used to manage the printer 4; the resource server 2 is used for providing and pushing resources and sending a printing request to the printer 4 according to the requirement. For example, a user can view job exercises, theme posters, and the like provided by the resource server 2 through the resource client 1; for another example, the resource server 2 may send a print request or the like to a printer based on a subscription request of a user; the resource client 1 may be an application program installed in a mobile terminal of a user, or may be a web browser installed in a PC. The specific functions of each device will be described in detail below, and will not be described in detail here.
Several specific embodiments are given below to describe the technical solutions of the present application in detail, and these specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flowchart of a first embodiment of a printing method provided in the present application. Referring to fig. 2, the method provided in this embodiment is applied to the print server shown in fig. 1, where a binding relationship between a resource account of a user and a printer is pre-stored in the print server, and the method may include:
s201, receiving a printing request sent by a resource server; the printing request carries address information of a first resource account and a printing object.
It should be noted that the resource account of the user is a resource account allocated to the user by the resource server. The user can obtain the resource account number through registration, and further, the user can browse the resources provided by the resource server through logging in the resource account number. For the procedures of account registration, login, logout, etc., reference may be made to the description in the related art, and details are not described herein.
Specifically, the user can bind the resource account of the user on the resource server with the printer of the user in the print server. Thus, the printer can be instructed to print the resource provided by the resource server, and the specific implementation principle of binding the printer will be described in detail in the following embodiments, which will not be described herein again.
Optionally, in an embodiment, the print request is generated by the resource server based on the user subscription request. In specific implementation, a user can send a subscription request to a resource server through a resource client, and a subscription object is specified in the subscription request. Further, after receiving the subscription request, the resource server may send a print request to the print server after the current subscription object is online.
Of course, in another possible implementation, the print request is forwarded by the resource server to the print server upon receiving the print request from the resource client. In specific implementation, when a user browses resources provided by a resource server through a resource client, a printing operation for the currently displayed resources can be triggered, and further, when the resource client detects the printing operation, a printing request can be generated based on a resource account of the user and address information of the resources (the resources are printing objects), and the printing request is sent to the resource server, so that the resource server forwards the printing request to the printing server.
It should be noted that, in another possible implementation manner, the print request may also come from the resource client. In specific implementation, after generating a print request based on a printing operation of a user, the resource client may obtain a preset print server address (the print server address may be stored on the resource client through user configuration), and then send the generated print request to the print server indicated by the print server address.
Further, the address information may be a uniform resource locator URL.
S202, searching a printer corresponding to the first resource account in a pre-stored binding relationship.
In specific implementation, the binding relationship matched with the first resource account can be searched in the binding relationship, and the printer recorded in the searched binding relationship is determined as the printer corresponding to the first resource account.
S203, acquiring a printing object based on the address information.
The print target can be acquired from the address information based on the address information.
S204, sending the printing object to the printer to instruct the printer to print the printing object.
For example, in an embodiment, the first resource account is zhang, the printer corresponding to zhang, is found to be the printer 1 from the binding relationship between the pre-stored resource account and the printer, and at this time, the print object is sent to the printer 1. Thus, the printer 1 can print the print object after receiving the print object.
It should be noted that, when the first resource account corresponds to a plurality of printers, in an embodiment, the print object may be sent to any printer. In another embodiment, the print object may be sent to a printer that is idle at the current time. In yet another embodiment, the print object may be sent to all printers. In the present embodiment, this is not limited.
In the method provided by the embodiment, a print request sent by a resource server is received; the printing request carries address information of a first resource account and a printing object, and then a printer corresponding to the first resource account is searched in the binding relation, so that the printing object is obtained based on the address information, and the printing object is sent to the printer to indicate the printer to print the printing object. Therefore, the resources provided by the resource server can be printed quickly and conveniently, and the user experience can be improved.
Fig. 3 is a flowchart of a second embodiment of a printing method provided in the present application. On the basis of the foregoing embodiment, if the first resource account corresponds to multiple printers, the sending the print object to the printers may include:
s301, determining a target printer matched with the type of the printing object.
S302, the printing object is sent to the target printer.
Specifically, the print object type includes an image and text. The printer matched with the printing object type can be determined based on the preset matching relation between the printing object type and the printer. The preset matching relationship between the printing object type and the printer is set according to actual needs, and in this embodiment, the matching relationship is not limited. For example, in one embodiment, the printer that matches the image is set to a printer that supports color printing; the printer matching the text is set to a printer supporting black and white printing.
In the method provided by this embodiment, if the first resource account corresponds to multiple printers, when the print object is sent to the printers, the print object is sent to the target printer by determining the target printer matching the print object type. Thus, compared with the method of sending the printing object to all searched printers, the method can save resources. In addition, a proper printer can be selected according to the user requirements, the user requirements can be further met, and the user experience is improved.
Fig. 4 is a flowchart of a third embodiment of a printing method provided in the present application. The embodiment relates to a saving process of the binding relationship. Referring to fig. 4, on the basis of the foregoing embodiment, the method provided in this embodiment, a saving process of the binding relationship may include:
s401, receiving a printer binding request sent by a resource server; and the printer binding request carries a second resource account and a printer identifier.
The printer binding request may be forwarded to the print server by the resource server after receiving the printer binding request sent by the resource client.
Specifically, a binding button is provided on the resource client, the user can trigger a printer binding instruction through the binding button, and the resource client can generate a printer binding request based on the printer binding instruction. For example, in an embodiment, when detecting that a printer binding button is executed to perform a specified operation, the resource client may present a binding page to the user, and the user may input the resource account of the user and a printer identifier of a printer to be bound through the binding page (specifically, the user may obtain the printer identifier through a specification of the printer), and further, when the user clicks a submit button in the binding page, a printer binding instruction is triggered. At this time, the client may generate a printer binding request carrying the resource account and the printer identifier based on the resource account and the printer identifier of the printer to be bound, which are input by the user, and send the printer binding request to the resource server.
Correspondingly, after receiving the printer binding request, the resource server forwards the printer binding request to the print server.
S402, judging whether the printer indicated by the printer identification is the printer managed by the equipment.
Specifically, when a printer is shipped from a factory, a print server managing the printer assigns a printer identifier to the printer, and records the printer identifier assigned to the printer in a management list recorded locally, so as to record the printer managed by the printer through the management list.
In this step, when a printer binding request is received, it may be found whether a printer identifier of a printer to be bound carried by the binding request exists in a management table of a local record, and if so, it is determined that the printer indicated by the printer identifier is a printer managed by the device, otherwise, it is determined that the printer indicated by the printer identifier is not a printer managed by the device.
It should be noted that, when it is determined that the printer indicated by the printer identifier is not the printer managed by the device, a warning message indicating that the binding is failed may be returned to the resource server, and accordingly, the resource server may forward the warning message to the resource client after receiving the warning message.
And S403, if yes, saving the binding relationship between the second resource account and the printer indicated by the printer identifier based on the printer binding request.
Specifically, in an embodiment, the print server may support that one resource account binds to multiple printers, and at this time, when the printer indicated by the printer identifier is determined to be a printer managed by the device, the binding relationship between the second resource account and the printer identifier may be directly stored. Of course, in another embodiment, the print server only supports one resource account to bind one printer, and at this time, when the printer indicated by the printer identifier is determined to be a printer managed by the present device, it may be further determined whether a binding relationship matching the second resource account exists in the binding relationships between the locally stored resource log and the printer, and further, when the binding relationship does not exist, the binding relationship between the second resource account and the printer identifier is stored, and when the binding relationship exists, the found binding relationship may be updated based on the printer identifier.
The method provided by the embodiment provides a method for binding the resource account number allocated to the user by the resource server and the printer of the user. Therefore, the printer can be instructed to print the resources provided by the resource server based on the binding relationship, the user requirements can be met, and the user experience is improved.
Fig. 5 is a flowchart of a fourth embodiment of a printing method provided in the present application. Referring to fig. 5, on the basis of the foregoing embodiment, the method provided in this embodiment, the saving process of the binding relationship may include:
s501, receiving a printer binding request sent by a resource client; the printer binding request carries a third resource account and a printer identifier; and the printer binding request is sent after the resource client side obtains a preset print server address after receiving a printer binding instruction of a user.
Referring to the foregoing description, a binding button is provided on the client through which a user can trigger a printer binding instruction based on which the client can generate a printer binding request.
Further, when detecting that the printer binding button is executed for a specified operation, the client may display a binding page to the user, and the user may input the resource account of the user and the printer identifier of the printer to be bound through the binding page (specifically, the user may obtain the printer identifier through a specification of the printer). After generating the printer binding request, the resource client may send the printer binding request to the print server corresponding to the print server address after acquiring the preset print server address (by user configuration, recording the print server address on the resource client).
And S502, judging whether the printer indicated by the printer identification is the printer managed by the equipment.
And S503, if yes, saving the binding relationship between the third resource account and the printer indicated by the printer identifier based on the printer binding request.
For a specific implementation principle and implementation process of steps S502 and S503, reference may be made to the description in the foregoing embodiments, and details are not described here.
It should be noted that, when it is determined that the printer indicated by the printer identifier is not the printer managed by the present device, a warning message indicating that the binding has failed may be returned to the resource client.
The method provided by the embodiment provides a method for binding the resource account number allocated to the user by the resource server and the printer of the user. Therefore, the printer can be instructed to print the resources provided by the resource server based on the binding relationship, the user requirements can be met, and the user experience is improved.
Fig. 6 is a schematic diagram of a sixth embodiment of a printing method provided in the present application. Referring to fig. 6, on the basis of the foregoing embodiment, the method provided by this embodiment may include:
s601, receiving a unbinding request; wherein the unbinding request carries a fourth resource account.
S602, searching a target binding relationship matched with the fourth resource account from the binding relationship.
And S603, deleting the target binding relationship.
Specifically, when a user wants to release the binding relationship with a certain printer, a unbinding request can be triggered through the resource client. For example, a unbinding button may be provided on the resource client, and when the user clicks the button, the resource client may present a unbinding page to the user, so as to input a resource account of the user through the unbinding page, and further, after detecting a submission operation of the user, the resource client generates a unbinding request based on the resource account for input, and then sends the unbinding request to the print server or the resource server (the resource server forwards the unbinding request to the print server).
In one embodiment, the unbinding request may also carry identification information of the printer to be unbound. For example, upon clicking the unbind button, the client may output an unbind interface to the user, based on which the user may input identification information of the printer to be unbound.
In specific implementation, when the unbinding request also carries identification information of the printer to be unbound, the target binding relationship matched with the fourth resource account and the printer identification can be searched from the binding relationship between the prestored resource account and the printer, and the searched target binding relationship is deleted.
According to the method provided by the embodiment, through the unbinding request, the target binding relationship matched with the fourth resource account carried by the unbinding request is searched from the binding relationship between the resource account and the printer, and the searched target binding relationship is deleted. Therefore, the correct binding relationship can be maintained in the print server, and then the printer bound with the resource account number is indicated to print the resource provided by the resource server, so that the user requirements can be further met, and the user experience is improved.
Fig. 7 is a flowchart of a sixth embodiment of a printing method provided in the present application. Referring to fig. 7, the method is applied to a resource server, and the method may include:
s701, receiving a subscription request of a user; wherein, a subscription object is specified in the subscription request.
Specifically, the subscription request comes from the resource client, and the user can subscribe the object in which the user is interested through the resource client. For example, in one embodiment, the subscription object specified in the subscription request of the user is a primary school grade task problem.
S702, when the current subscription object is online, sending a printing request to a printing server; the printing request carries address information of the current subscription object and the resource account number of the user.
Specifically, after detecting that the current subscription object is online, the resource server can obtain the resource account of the user and the address information of the current subscription object, and then generate a printing request based on the resource account of the user and the address information of the local subscription object, and send the printing request to the printing server, so that the printing server searches for the printer corresponding to the resource account, and obtains the printing object from the address information, and then sends the printing object to the searched printer for printing.
In the method provided by the embodiment, a resource server receives a subscription request of a user by receiving; a subscription object is designated in the subscription request, and a printing request is sent to a printing server when the subscription object is online in the period; the printing request carries address information of the current subscription object and the resource account number of the user. In this way, the resources provided by the resource server can be printed on demand.
A more specific example is given below for a detailed description of the printing method provided in the present application:
fig. 8 is a flowchart of a seventh embodiment of a printing method according to an exemplary embodiment of the present application. Referring to fig. 8, the method provided in this embodiment may include:
s801, the resource client sends a printer binding request to the print server, wherein the printer binding request carries a resource account of a user and a printer identifier of a printer to be bound.
Specifically, in an embodiment, the resource client may provide a binding button, and when the binding button is executed with a specified operation, the resource client may input a binding interface to the user, and the user may input, based on the binding interface, a user account number assigned to the resource client by the resource server and a printer identifier of a printer owned by the resource server to instruct the management server to bind the user account number and the printer identifier.
S802, the printing server receives the printer binding request and judges whether the printer indicated by the printer identification is the printer managed by the equipment.
And S803, when the print server judges that the printer indicated by the printer identifier is the printer managed by the device, storing the binding relationship between the resource account and the printer indicated by the printer identifier.
For a specific implementation principle and implementation process of steps S602 and S603, reference may be made to the description in the foregoing embodiments, and details are not described here.
S804, when detecting the printing operation which is triggered by the user and aims at the target printing object, the resource client acquires the first resource account of the user and the address information of the target printing object.
Specifically, a user can browse resources provided by the resource server through the client, and trigger a printing operation for a target resource (target printing object) while browsing. For example, the client may provide a print button, and the user may click the print button to trigger a print operation for a resource while browsing the resource.
S805, the resource client generates a printing request based on the first resource account and the address information of the target printing object.
S806, the resource client sends the printing request to the printing server.
Specifically, in an embodiment, before generating the print request, it is further required to verify whether the first resource account has the print permission for the target print object. And generating a printing request when the verification result is that the first resource account has the printing authority aiming at the target printing object, otherwise, outputting a reminding message for reminding that the printing authority is not available. In addition, the specific verification process may be:
(1) and the resource client sends a verification request to the resource server, wherein the verification request carries the first resource account and the address information of the target printing object.
(2) And when receiving the verification request, the resource server acquires the authority information of the first resource account, then verifies whether the first resource account has the printing authority aiming at the target printing object based on the authority information, and returns a verification result to the resource client.
For example, in an embodiment, the authority information may include subscription information, which is used to characterize which resources the user subscribes to, and when the target print object is a resource subscribed to by the user, it is determined to have the print authority for the target print object.
S807, the printing server receives the printing request, and searches whether the printer corresponding to the first resource account exists from the binding relationship between the pre-stored resource account and the printer.
And S808, when the printer corresponding to the first resource account is found, the print server acquires a print object from the address information, and sends the print object to the found printer so as to instruct the printer to print the print object.
For a specific implementation principle and implementation process of steps S807 and S808, reference may be made to the description in the foregoing embodiments, and details are not described here.
The method provided by the embodiment can realize the purpose of quickly and conveniently printing the resources provided by the resource server, can meet the user requirements and improve the user experience.
Corresponding to the embodiment of the printing method, the application also provides an embodiment of the printing device.
Fig. 9 is a schematic structural diagram of a first printing apparatus according to an embodiment of the present disclosure. Referring to fig. 9, the apparatus provided in this embodiment is applied to a print server, where a binding relationship between a resource account of a user and a printer is pre-stored in the print server, and the apparatus includes a receiving module 910, a searching module 920, and a processing module 930, where,
the receiving module 910 is configured to receive a print request sent by a resource server; the printing request carries address information of a first resource account and a printing object;
the searching module 920 is configured to search for a printer corresponding to the first resource account in the binding relationship;
the processing module 930 is configured to obtain a print object based on the address information, and send the print object to the printer, so as to instruct the printer to print the print object.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Further, the processing module 930 is specifically configured to, when the first resource account corresponds to multiple printers, determine a target printer that matches a print object type, and send the print object to the target printer.
Further, the processing module 930 is further configured to:
receiving a printer binding request sent by a resource server; the printer binding request carries a second resource account and a printer identifier;
judging whether the printer indicated by the printer identification is the printer managed by the equipment
If yes, saving the binding relationship between the second resource account and the printer identifier based on the printer binding request.
Further, the processing module 930 is further configured to:
receiving a printer binding request sent by a resource client; the printer binding request carries a third resource account and a printer identifier; the printer binding request is sent after the resource client side obtains a preset print server address after receiving a printer binding instruction of a user;
judging whether the printer indicated by the printer identifier is a printer managed by the equipment;
if yes, saving the binding relationship between the third resource account and the printer identifier based on the printer binding request.
Further, the print request is generated by the resource server based on the user subscription request.
Fig. 10 is a structural diagram of a second embodiment of a printing apparatus according to the present application. Referring to fig. 10, the printing apparatus provided in this embodiment is applied to a resource server, and the apparatus includes a receiving module 1001 and a sending module 1002, wherein,
the receiving module 1001 is configured to receive a subscription request of a user; wherein, a subscription object is appointed in the subscription request;
the sending module 1002 is configured to send a print request to the print server when the current subscription object is online; the printing request carries address information of the current subscription object and the resource account number of the user.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 7, and the implementation principle and the technical effect are similar, which are not described herein again.
The present application further provides a print server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of any of the printing methods provided in the first aspect of the present application when executing the program.
The present application further provides a resource server, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of any of the printing methods provided in the second aspect of the present application when executing the program.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A printing method is applied to a print server, wherein a binding relationship between a resource account of a user and a printer is pre-stored in the print server, and the method comprises the following steps:
receiving a printing request sent by a resource server; the printing request carries address information of a first resource account and a printing object;
searching a printer corresponding to the first resource account in the binding relationship;
acquiring a printing object based on the address information;
sending the printing object to the printer to instruct the printer to print the printing object.
2. The method according to claim 1, wherein if the first resource account corresponds to a plurality of printers, the sending the print object to the printers comprises:
determining a target printer matched with the type of the printing object;
and sending the printing object to the target printer.
3. The method of claim 1, wherein the storing of the binding relationship comprises:
receiving a printer binding request sent by a resource server; the printer binding request carries a second resource account and a printer identifier;
judging whether the printer indicated by the printer identification is the printer managed by the equipment
If yes, saving the binding relationship between the second resource account and the printer indicated by the printer identification based on the printer binding request.
4. The method of claim 1, wherein the storing of the binding relationship comprises:
receiving a printer binding request sent by a resource client; the printer binding request carries a third resource account and a printer identifier; the printer binding request is sent after the resource client side obtains a preset print server address after receiving a printer binding instruction of a user;
judging whether the printer indicated by the printer identifier is a printer managed by the equipment;
if yes, saving the binding relationship between the third resource account and the printer indicated by the printer identification based on the printer binding request.
5. The method of claim 1, wherein the print request is generated by a resource server based on a user subscription request.
6. A printing method applied to a resource server, the method comprising:
receiving a subscription request of a user; wherein, a subscription object is appointed in the subscription request;
when the current subscription object is online, sending a printing request to a printing server; and the printing request carries address information of the current subscription object and the resource account number of the user.
7. A printing device is applied to a printing server, a binding relationship between a resource account of a user and a printer is pre-stored in the printing server, the device comprises a receiving module, a searching module and a processing module, wherein,
the receiving module is used for receiving a printing request sent by the resource server; the printing request carries address information of a first resource account and a printing object;
the searching module is used for searching the printer corresponding to the first resource account in the binding relationship;
and the processing module is used for acquiring a printing object based on the address information and sending the printing object to the printer so as to instruct the printer to print the printing object.
8. A printing apparatus, applied to a resource server, the apparatus comprising a receiving module and a transmitting module, wherein,
the receiving module is used for receiving a subscription request of a user; wherein, a subscription object is appointed in the subscription request;
the sending module is used for sending a printing request to the printing server when the current subscription object is online; the printing request carries address information of the current subscription object and the resource account number of the user.
9. A print server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the printing method according to any one of claims 1 to 5 when executing the program.
10. A resource server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of the printing method of claim 6.
CN202011192927.1A 2020-10-30 2020-10-30 Printing method and device Pending CN112214185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011192927.1A CN112214185A (en) 2020-10-30 2020-10-30 Printing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011192927.1A CN112214185A (en) 2020-10-30 2020-10-30 Printing method and device

Publications (1)

Publication Number Publication Date
CN112214185A true CN112214185A (en) 2021-01-12

Family

ID=74057792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011192927.1A Pending CN112214185A (en) 2020-10-30 2020-10-30 Printing method and device

Country Status (1)

Country Link
CN (1) CN112214185A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934383A (en) * 2021-09-23 2022-01-14 北京三快在线科技有限公司 Method, device, server and storage medium for binding cloud printer and service
GB2616499A (en) * 2022-01-07 2023-09-13 Zhuhai Pantum Electronics Co Ltd Image forming device-based unbinding control method and image forming device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1967589A (en) * 1999-05-25 2007-05-23 西尔弗布鲁克研究股份有限公司 System for enabling access to information
US7325192B1 (en) * 2000-07-28 2008-01-29 Hewlett-Packard Development Company, L.P. Method of assembling content from content providers
CN107797779A (en) * 2017-10-27 2018-03-13 南京信安宝信息科技有限公司 A kind of cloud Method of printing based on temporary account
CN109918030A (en) * 2019-02-26 2019-06-21 腾讯科技(深圳)有限公司 File printing method and device
CN110275682A (en) * 2018-03-15 2019-09-24 阿里巴巴集团控股有限公司 Cloud Method of printing, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1967589A (en) * 1999-05-25 2007-05-23 西尔弗布鲁克研究股份有限公司 System for enabling access to information
US7325192B1 (en) * 2000-07-28 2008-01-29 Hewlett-Packard Development Company, L.P. Method of assembling content from content providers
CN107797779A (en) * 2017-10-27 2018-03-13 南京信安宝信息科技有限公司 A kind of cloud Method of printing based on temporary account
CN110275682A (en) * 2018-03-15 2019-09-24 阿里巴巴集团控股有限公司 Cloud Method of printing, apparatus and system
CN109918030A (en) * 2019-02-26 2019-06-21 腾讯科技(深圳)有限公司 File printing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934383A (en) * 2021-09-23 2022-01-14 北京三快在线科技有限公司 Method, device, server and storage medium for binding cloud printer and service
CN113934383B (en) * 2021-09-23 2024-01-26 北京三快在线科技有限公司 Method, device, server and storage medium for binding cloud printer and service
GB2616499A (en) * 2022-01-07 2023-09-13 Zhuhai Pantum Electronics Co Ltd Image forming device-based unbinding control method and image forming device

Similar Documents

Publication Publication Date Title
KR101249185B1 (en) Print system, print server, and control method thereof
US8773698B2 (en) Printing control server and printing system
US8547575B2 (en) Printer discovery within a web page
US11108879B2 (en) Transfer server and controlling method
US8896857B2 (en) Content receipt via email addresses
CN112214185A (en) Printing method and device
US10878055B2 (en) Web server
US20180213095A1 (en) Information processing system, information processing apparatus, and client terminal
KR20200130163A (en) Image forming apparatus, control method, and storage medium
US9058144B2 (en) Image transmission system facilitating address registration
JP6331686B2 (en) Information processing system, information processing method, and program
JP2023004573A (en) Program, system, control method, and server system
US9098217B2 (en) Causing an action to occur in response to scanned data
US8355170B2 (en) Methods and systems to provide scan services to an image forming device
US11262956B2 (en) Communication system, server system, and terminal apparatus
US7752305B2 (en) System and method for descriptor-based discovery of network document processing devices
US11169757B2 (en) Print server system providing functions related to printing
JP2014179909A (en) Image formation device, network system, method and program
JP5249477B2 (en) Printer, system, control method therefor, and program
JP2008070939A (en) Distribution system
JP5935384B2 (en) Printing apparatus management apparatus, printing apparatus management system, and program
US20220329658A1 (en) Method, information processing apparatus, and storage medium
JP2010072672A (en) Software development environment introduction system
WO2023183024A1 (en) Universal print driver with queue management
JP5314907B2 (en) Information processing system and information processing apparatus

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