CN112764696A - Cloud printing server, and intelligent printing method and system of remote printing equipment - Google Patents

Cloud printing server, and intelligent printing method and system of remote printing equipment Download PDF

Info

Publication number
CN112764696A
CN112764696A CN202110100168.XA CN202110100168A CN112764696A CN 112764696 A CN112764696 A CN 112764696A CN 202110100168 A CN202110100168 A CN 202110100168A CN 112764696 A CN112764696 A CN 112764696A
Authority
CN
China
Prior art keywords
printing
remote
equipment
cloud
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
CN202110100168.XA
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.)
Guangzhou Kuaipi Information Technology Co ltd
Original Assignee
Guangzhou Kuaipi Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kuaipi Information Technology Co ltd filed Critical Guangzhou Kuaipi Information Technology Co ltd
Priority to CN202110100168.XA priority Critical patent/CN112764696A/en
Publication of CN112764696A publication Critical patent/CN112764696A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

Landscapes

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

Abstract

The invention provides an intelligent printing method and an intelligent printing system for a cloud printing server and a remote printing device, wherein the method comprises the following steps: establishing connection with remote printing equipment, and receiving and storing the working state reported by the remote printing equipment; receiving a remote printing request of a service device, inquiring and obtaining the working state of the remote printing device; creating a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sending the printing task to the remote printing equipment; and receiving a printing result returned by the remote printing equipment, and sending the printing result to the service equipment. The invention realizes the remote printing of multiple ends, multiple members, cross regions and cross networks only by one terminal device without replacing the printer or changing the network structure, and the cloud printing effect is really used at low cost and high efficiency while the cloud printing is compatible with different printer models.

Description

Cloud printing server, and intelligent printing method and system of remote printing equipment
Technical Field
The invention relates to the field of network printing, in particular to an intelligent printing method and an intelligent printing system for a cloud printing server and a remote printing device.
Background
Most of traditional network printers adopt a local area network sharing printing technology of Bluetooth and WiFi, the effect of sharing printers in the local area network is achieved, and great convenience is provided for users of the local area network. With the rapid development of internet technology, the problems that the printing efficiency is affected due to the fact that the local area network shared printing is interrupted due to long distance because of the connection of bluetooth and WiFi, the printing transmission is unstable, remote printing at different places cannot be supported, and the like, can not meet the requirements of users gradually, and the remote printing mode across areas and networks gradually becomes the urgent requirements of people, such as shop order opening and warehouse printing; printing an outgoing receipt; a branch store, across regions, across network sharing of printers, etc. Subsequently, a cloud printing system which takes a cloud-aware printer as a carrier and a cloud server for receiving and managing cloud printing tasks is produced, and is welcomed because the cloud printing system not only realizes remote high-efficiency printing in different places, but also ensures more stable data transmission. However, the existing cloud-aware printers that the cloud printing depends on are small in number and high in cost, and the cloud printing service is experienced in a mode that old printers are abandoned by purchasing new cloud-aware printers, so that the cost is not high enough, and unnecessary waste is caused.
Therefore, it is significant to research how to realize multi-terminal, multi-member, cross-network, and cross-region remote printing without discarding the existing printer and maintaining the existing network structure, so as to use the cloud printing function with low cost and high efficiency, and enjoy the convenience of cloud printing.
Disclosure of Invention
The invention aims to realize the effects of realizing multi-terminal, multi-member, cross-network and cross-region remote printing by only one terminal device without replacing a printer or changing a network structure, and really using cloud printing with low cost and high efficiency and enjoying convenience of cloud printing while being compatible with different printer models.
In order to achieve the above object, it is necessary to provide a cloud print server, an intelligent printing method of a remote printing device, and a system thereof.
In a first aspect, an embodiment of the present invention provides an intelligent printing method for a cloud print server, where the method includes the following steps:
establishing connection with remote printing equipment, and receiving and storing the working state reported by the remote printing equipment;
receiving a remote printing request of a service device, inquiring and obtaining a working state reported by the remote printing device;
creating a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sending the printing task to the remote printing equipment;
and receiving a printing result fed back by the remote printing equipment, and sending the printing result to the service equipment.
Further, the step of receiving a remote printing request from a service device, querying and obtaining the operating status of the remote printing device includes:
searching the bound remote printing equipment according to the enterprise information corresponding to the remote printing request;
and searching the working state reported by the remote printing equipment and judging whether the time for reporting the working state exceeds a preset time, if so, actively acquiring the working state of the remote printing equipment.
Further, the step of creating a print job according to the working status reported by the remote printing device and the remote printing request includes:
when the working state reported by the remote printing equipment is a normal state and the number of the printing tasks of the remote printing equipment is less than a specific numerical value, allocating a task ID and creating the printing tasks;
and when the working state reported by the remote printing equipment is a normal state and the number of the printing tasks of the remote printing equipment is equal to a specific numerical value, or when the working state reported by the remote printing equipment is an abnormal state, rejecting the remote printing request and giving an abnormal prompt.
Further, the step of sending the print job to the remote printing device includes:
and detecting whether a print task receiving response of the remote printing equipment is received or not in real time, and if not, judging that the print task fails to be sent.
In a second aspect, an embodiment of the present invention provides an intelligent printing method for a remote printing device, where the method includes the following steps:
establishing connection with a cloud printing server, and reporting a working state;
receiving a printing task sent by the cloud printing server; the print job is created by the cloud print server according to the remote print request received from the business device and the working state;
sending a printing instruction to a printer according to the printing task;
and receiving a printing result fed back by the printer, and sending the printing result to a cloud printing server so that the cloud printing server feeds back the printing result to the service equipment.
Further, the step of receiving the print job sent by the cloud print server includes:
and sending the receiving response of the print task to the cloud print server so that the cloud print server detects whether the print task fails to be sent in real time.
In a third aspect, an embodiment of the present invention provides an intelligent printing method, where the method includes:
the method comprises the steps that connection between a cloud print server and remote printing equipment is established in advance, and the working state of the remote printing equipment is reported to the cloud print server;
sending a remote printing request to the cloud printing server through service equipment, and inquiring the working state reported by the remote printing equipment through the cloud printing server;
the cloud printing server creates a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sends the printing task to the remote printing equipment;
sending a printing instruction to a printer by the remote printing equipment according to the printing task;
and receiving the printing result fed back by the printer by the remote printing equipment, sending the printing result to the cloud printing server, and feeding back the printing result to the service equipment by the cloud printing server.
In a fourth aspect, an embodiment of the present invention provides an intelligent printing system of a cloud print server, where the system includes:
the first communication module is used for establishing connection with the remote printing equipment, and receiving and storing the working state reported by the remote printing equipment;
the first request module is used for receiving a remote printing request of the service equipment, inquiring and obtaining the working state reported by the remote printing equipment;
the first task module is used for creating a printing task according to the working state and a remote printing request and sending the printing task to the remote printing equipment;
and the first result module is used for receiving the printing result fed back by the remote printing equipment and sending the printing result to the service equipment.
In a fifth aspect, an embodiment of the present invention provides an intelligent printing system of a remote printing device, where the system includes:
the second communication module is used for establishing connection with the cloud printing server and reporting the working state;
the second request module is used for receiving the printing task sent by the cloud printing server; the print job is created by the cloud print server according to the remote print request received from the business device and the working state;
the second task module is used for sending a printing instruction to a printer according to the printing task;
and the second result module is used for receiving the printing result fed back by the printer and sending the printing result to the cloud printing server so that the cloud printing server feeds back the printing result to the service equipment.
In a sixth aspect, an embodiment of the present invention provides an intelligent printing system, including:
the communication connection module is used for pre-establishing the connection between the cloud printing server and the remote printing equipment and reporting the working state of the remote printing equipment to the cloud printing server;
the request processing module is used for sending a remote printing request to the cloud printing server through service equipment and inquiring the working state reported by the remote printing equipment through the cloud printing server;
the task creating module is used for creating a printing task by the cloud printing server according to the working state reported by the remote printing equipment and the remote printing request and sending the printing task to the remote printing equipment;
the printing execution module is used for sending a printing instruction to a printer by the remote printing equipment according to the printing task;
and the result feedback module is used for receiving the printing result fed back by the printer by the remote printing equipment, sending the printing result to the cloud printing server and feeding back the printing result to the service equipment by the cloud printing server.
According to the method, the remote printing request of the business equipment is received and managed through the cloud printing server, and the newly created remote printing task is issued to the remote printing equipment which is connected with the cloud printing server and is bound with the printer to complete the intelligent cloud printing of the printing. Compared with the prior art, the method has the advantages that in the actual remote printing application, the remote printing of multiple ends, multiple members, cross-network and cross-region can be completed only by one terminal device without replacing the printer or changing the network structure, and the effects of cloud printing and convenience in cloud printing are really used at low cost and high efficiency while different printer models are compatible.
Drawings
Fig. 1 is a schematic view of an application scenario of an intelligent printing method of a cloud print server and a remote printing device in an embodiment of the present invention;
fig. 2 is a schematic flowchart of an intelligent printing method of a cloud print server according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a business device corresponding to step S12 in FIG. 2 sending a remote print request;
FIG. 4 is a schematic flow chart illustrating the step S12 of FIG. 2 of finding the operating status of the remote printing device based on the remote print request;
FIG. 5 is a schematic flow chart illustrating step S13 of FIG. 2 for creating a print job based on the operating status of the remote printing device;
FIG. 6 is a flow chart illustrating a method for intelligent printing by a remote printing device in an embodiment of the present invention;
FIG. 7 is a schematic diagram of a remote printing device turning on a remote printing device switch in an embodiment of the present invention;
FIG. 8 is a schematic flow chart of an intelligent printing method in an embodiment of the invention;
fig. 9 is a schematic structural diagram of an intelligent printing system of a cloud print server in an embodiment of the present invention;
FIG. 10 is a schematic diagram of an intelligent printing system of a remote printing device in an embodiment of the invention;
fig. 11 is a schematic structural diagram of an intelligent printing system in an embodiment of the present invention.
Detailed Description
In order to make the purpose, technical solution and advantages of the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments, and it is obvious that the embodiments described below are part of the embodiments of the present invention, and are used for illustrating the present invention only, but not for limiting the scope of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The cloud printing server and the intelligent printing method of the remote printing equipment provided by the invention can be applied to a remote printing scene shown in figure 1. The service device and the remote printing device may be, but are not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and are all multiple, and the cloud print server may be implemented by an independent server or a server cluster formed by multiple servers. The cloud printing server can maintain the working state reported by the remote printing equipment at regular time, receive and manage the remote printing request of the service equipment, judge whether to create a new remote printing task according to the working state of the remote printing equipment, and send the newly created remote printing task to the remote printing equipment which is connected with the cloud printing server and is bound with the printer to complete printing.
In one embodiment, as shown in fig. 2, there is provided an intelligent printing method of a cloud print server, the method including the steps of:
s11, establishing connection with a remote printing device, and receiving and storing the working state reported by the remote printing device;
the remote printing equipment is associated with enterprises and corresponds to one another, namely one enterprise corresponds to one remote printing equipment, and the mapping relation is stored in an enterprise-remote printing equipment mapping relation table on the cloud printing server and used for searching the remote printing equipment needing to issue the remote printing task when receiving the remote printing request. The cloud printing server and the remote printing equipment can establish communication connection through a TCP (transmission control protocol), a UDP (user datagram protocol) or an HTTP (hyper text transport protocol) protocol and are used for receiving the working state reported by the remote printing equipment and subsequent remote printing task issuing operation. After receiving the working state reported by the remote printing equipment, the working state and the storage time in the working state table of the printing equipment are updated, and the method is used for subsequently receiving the remote printing request to judge whether to create the printing task for use. In the embodiment, the communication connection mode between the cloud print server and the remote printing device preferably adopts TCP connection to ensure reliable transmission of data, so that the stability of remote printing is ensured.
S12, receiving a remote printing request of a service device, inquiring and obtaining a working state reported by the remote printing device;
as shown in fig. 3(a) - (b), a remote printing request is transmitted on a fast batch APP of the service device through a TCP, UDP, or HTTP protocol, where the remote printing request includes enterprise information and a document or document to be printed. After receiving the remote print request, the cloud print server searches for a working state of the corresponding remote printing device according to the content of the remote print request, as shown in fig. 4, where the step S12 of receiving the remote print request of the service device, querying and obtaining the working state reported by the remote printing device includes:
s121, searching the bound remote printing equipment according to the enterprise information corresponding to the remote printing request;
the enterprise information may be an enterprise account or other similar information that may be used to identify and distinguish different enterprises. And when receiving the remote printing request, the cloud printing server searches the corresponding remote printing equipment in the enterprise-remote printing equipment mapping relation table according to the carried enterprise information for issuing a subsequent printing task.
S122, searching the working state reported by the remote printing equipment and judging whether the time for reporting the working state exceeds the preset time, if so, actively acquiring the working state of the remote printing equipment.
The working state of the remote printing device is maintained in a working state table of the remote printing device of the cloud printing server, and after the corresponding working state record is found by the remote printing device, whether the difference value between the storage time in the working state record and the receiving time of the remote printing request exceeds a preset time length is judged, wherein the preset time length can be set according to an actual situation, and the preset time length in the embodiment is set to be 1 minute. If the time does not exceed 1 minute, the working state can be directly used as the working state of the current remote printing device, that is, when the record in the working state table is in a normal state, the current remote printing device is considered to be capable of receiving the remote printing task, and when the record in the working state table is in an abnormal state, the current remote printing device is considered to be abnormal and the remote printing task cannot be distributed. On the contrary, if the time exceeds 1 minute, the working state of the remote printing device stored on the cloud printing server is considered to be overtime and cannot represent the real working state of the current remote printing device, at this time, the cloud printing server needs to actively send a working state request to the remote printing device, the working state fed back by the remote printing device is used as the working state of the current remote device, and if the working state fed back by the remote printing device cannot be received, an abnormal prompt 'connection interruption between the cloud printing server and the remote printing device' is given. According to the embodiment, the overtime detection and active state acquisition mechanism for the working state of the remote printing equipment effectively guarantees the real-time performance of the working state of the remote printing equipment, and further improves the processing efficiency of the remote printing request.
S13, creating a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sending the printing task to the remote printing equipment;
the working state reported by the remote equipment comprises a normal state and an abnormal state. The cloud print server may determine whether the remote print request can create the print job according to the queried working state and the print job amount that the remote device has already taken over currently, and refuse the remote print request when determining that the print job cannot be created, and give an exception prompt, as shown in fig. 5, the step of creating the print job according to the working state and the remote print request reported by the remote print device includes:
s131, when the working state reported by the remote printing equipment is a normal state and the number of the printing tasks of the remote printing equipment is less than a specific numerical value, allocating a task ID and creating the printing tasks;
the number of the print tasks is used for counting the number of the print tasks carried by the remote printing equipment by the cloud printing server, when the cloud printing server detects that the working state of the remote printing equipment is a normal state, namely the print tasks can be accepted in principle, the problem of queuing of the print tasks of the remote printing equipment is further considered, a specific numerical value is set as an upper queuing limit, and whether the number of the print tasks of the current remote printing equipment reaches the upper queuing limit needs to be considered. It should be noted that in this embodiment, the specific value of the upper limit of the number of print jobs corresponding to each remote printing device is 20, and the specific value can be adjusted according to actual situations. When the remote printing equipment can continue to bear the printing task, the task ID is distributed and the printing task is created according to the remote printing request, the remote printing request of the service equipment is converted into a corresponding printing instruction, the corresponding printing instruction is stored as a file and is uploaded to an OSS (object Storage service), and a downloading URL is generated for subsequent printing use. In the embodiment, the print file is stored by using an object with high reliability, high availability and high performance of OSS, and the number of print tasks corresponding to the remote printing equipment is updated after the task creation is completed for detecting the subsequent created task, so that the processing efficiency of the remote print request is well ensured.
S132, when the working state reported by the remote printing equipment is a normal state and the number of the printing tasks of the remote printing equipment is equal to a specific numerical value, or when the working state reported by the remote printing equipment is an abnormal state, rejecting the remote printing request and giving an abnormal prompt.
In the method, because the number of the printing tasks which can be carried by the remote printing equipment is considered, even if the current working state of the remote printing equipment is a normal state, after the task amount exceeds a preset specific numerical value, the remote printing request can be rejected in order to avoid overlong queuing of the service equipment, and meanwhile, corresponding abnormal prompts are given, namely that the current remote printing tasks exceed 20, the task sending fails, and the task sending is required to be retried later.
When the working state reported by the inquired remote printing equipment is an abnormal state, the remote printing request can be directly rejected, and a corresponding abnormal scene is given to give a corresponding abnormal prompt, if a printer is not set, the Bluetooth is not started in Bluetooth printing, wifi printing is not connected with wifi, and the like.
The problem that printing data transmission is failed and unknown easily occurs in the remote printing process, unnecessary time waste of a remote printing user at a service equipment end is caused, a monitoring mechanism is provided for judging whether data transmission issued by a printing task is successful or not, namely, after the cloud printing server sends the created printing task to the remote printing equipment, the state of the printing task is marked to be pushed, whether a printing task receiving response of the remote printing equipment is received or not is detected in real time, if the printing task receiving response is not received, the printing task sending failure is judged, and an abnormal prompt 'printing data transmission failure, connection or interruption' is displayed on the service equipment.
In the embodiment, the cloud print server gives a corresponding abnormal prompt when rejecting the remote print request, so that a service equipment end user can know the problem of abnormal printing in time, user experience is greatly improved, and the working efficiency is improved to a certain extent.
And S14, receiving the printing result fed back by the remote printing equipment, and sending the printing result to the service equipment.
The printing result comprises successful printing, failure in connecting the printer, failure in finding the configured printer, request for reconfiguring the printer, failure in generating printing data, overtime failure of system detection and the like, and the remote printing equipment feeds back the actual printing result to the cloud printing server for displaying on the service equipment, so that a user of the service equipment can check and judge whether to reprint the printing result, and smooth completion of a printing task is ensured.
In the embodiment, the cloud print server receives and maintains the working state of the remote printing equipment, and searches the corresponding remote printing equipment according to the remote printing request after receiving the remote printing request of the service equipment, creating a printing task according to the working state reported by the remote printing equipment and sending the printing task to the remote printing equipment to execute printing, and the received printing result or the abnormal prompt of creating the printing task is sent to the service equipment for the service equipment to check and process, so that the cloud printing server uniformly receives and manages the remote printing request of the service equipment, the method and the device have the advantages that safe and reliable printing file storage and reasonable and effective task distribution are provided, the reliability of multi-terminal, multi-member, cross-region and cross-network remote printing is guaranteed, the perception of a local printer to cloud service is avoided, the remote printing efficiency is improved, and meanwhile the user experience is improved.
In one embodiment, as shown in fig. 6, there is provided an intelligent printing method of a remote printing apparatus, the method comprising the steps of:
s21, establishing connection with a cloud print server, and reporting a working state;
when the remote printing device is in communication connection with the cloud printing server, the remote printing device is controlled by setting a remote printing switch on the remote printing device, that is, the remote printing switch on the remote printing device is turned on to receive the remote printing task, and the remote printing task cannot be received when the remote printing switch on the remote printing device is turned off, as shown in fig. 7.
After the remote printing device starts the remote printing switch, the timing task is started to detect whether the device is normally connected to the network or not, and the detection result is used as the working state and reported to the cloud printing server through a TCP (transmission control protocol), a UDP (user datagram protocol) or an HTTP (hyper text transport protocol). In addition, the remote printing equipment actively reports the working state at regular time, detects the networking state again when receiving a working state request actively issued by the cloud printing server, and reports a detection result as the latest working state to the cloud printing server for use, thereby providing powerful guarantee for reliable transmission of printing task data.
S22, receiving a printing task sent by the cloud printing server; the print job is created by the cloud print server according to the remote print request received from the business device and the working state;
after the cloud printing server receives a remote printing request sent by the business equipment, the printing task is created after the working state is available and the printing task of the remote printing equipment does not exceed a specific value according to enterprise information carried by the remote printing request. After receiving the print task sent by the cloud print server, the remote printing device sends a receiving response of the print task to the cloud print server, so that the cloud print server detects whether the print task is failed to be sent.
S23, sending a printing instruction to a printer according to the printing task;
the printing instruction is generated when the number of the tasks to be printed is 0, namely the current printer does not have the printing tasks, the printing data is downloaded to the cloud printing server through wget according to the ID of the printing tasks, the printer is connected, the printing data is sent to a 9100 printing port through nc, and printing is initiated. If the number of the tasks to be printed is not 0, namely the current tasks are printed, adding the printing tasks of the new catcher into a printing task queue, subsequently executing the printing tasks according to a first-in first-out principle, downloading printing data to a cloud printing server through wget according to the ID of the printing tasks to generate a printing instruction when the printing tasks are executed, connecting a printer, sending the printing instruction to a 9100 printing port through nc, and initiating printing. The size of the print job queue of the remote printing apparatus can be set according to the actual situation, and is set to 20 in the present embodiment. It should be noted that when the downloading of the print data fails, the connection of the printer fails, or the sending of the print data fails, there are corresponding abnormal prompts, such as "failure to generate print data", "failure to connect the printer", "failure to find a configured printer, please reconfigure the printer", "failure to transmit the print data, connection or interruption", or "failure to detect timeout by the system", and the like, and the print result of the print failure is fed back to the cloud print server.
And S24, receiving the printing result fed back by the printer, and sending the printing result to a cloud printing server so that the cloud printing server feeds back the printing result to the service equipment.
The remote printing equipment sends the printing result fed back by the printer to the cloud printing server, and the cloud server sends the printing result to the service equipment to display and inform a user whether printing is successful or not, so that the user can decide whether reprinting is needed or not.
In the embodiment, the remote printing equipment controls whether to receive the printing tasks sent by the cloud printing server in communication connection with the remote printing switch, reports the working state monitored in real time to the cloud printing server for receiving the remote printing request of the service equipment and judging whether to create the tasks for use, acquires printing data from the cloud printing server according to the task ID after receiving the printing tasks, generates a printing instruction and sends the printing instruction to the binding printer, and sends the printing result fed back by the printer or the abnormity of the executed printing task to the cloud printing server for checking and processing to the service equipment, so that the method realizes that the local printing tasks are uniformly managed by one remote printing equipment, realizes multi-terminal, multi-member, cross-region and cross-network remote printing, improves the remote printing efficiency, and effectively avoids the perception and adaptation of the printer to the cloud printing server, the printer is perfectly compatible with different printer models, and the remote printing cost is further reduced.
In one embodiment, as shown in fig. 8, there is provided an intelligent printing method, the method comprising the steps of:
s31, pre-establishing the connection between the cloud print server and the remote print equipment, and reporting the working state of the remote print equipment to the cloud print server;
the communication connection between the cloud printing server and the remote printing equipment is controlled through a remote printing switch on the remote printing equipment, after the remote printing switch is turned on, the remote printing equipment can be connected with the cloud printing server through a TCP (transmission control protocol), a UDP (user datagram protocol) or an HTTP (hyper text transport protocol) protocol, and reliable guarantee is provided for the following remote equipment to report the working state and receive a printing task, and the cloud printing server to receive the state report of the remote printing equipment and send data transmission such as the printing task. The remote printing equipment corresponds to companies one by one, namely one company corresponds to one remote printing equipment, and the working state reported by each remote printing equipment is obtained by periodically detecting the networking state of the remote printing equipment by starting a timing task, and comprises a normal state and an abnormal state.
S32, sending a remote printing request to the cloud printing server through service equipment, and inquiring the working state reported by the remote printing equipment through the cloud printing server;
the service equipment is terminal equipment held by a remote printing user, the remote printing user logs in a fast batch APP through the service equipment, a remote printing request can be sent to the cloud printing server by clicking remote printing on a page to be printed, when the cloud printing server receives the remote printing request, the remote printing equipment executing the printing request can be searched according to enterprise information carried in the printing request, then the working state corresponding to the remote printing equipment is searched, whether the stored working state is available or not is judged, if the storage time of the working state reported by the remote equipment and the receiving time of the remote printing request exceed a preset time length, the working state is considered to be unavailable due to overtime, and the working state request needs to be sent actively to acquire the working state of the remote printing equipment.
S33, the cloud printing server creates a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sends the printing task to the remote printing equipment;
the cloud printing server establishes the printing tasks according to whether the working state reported by the remote printing equipment is normal or not and whether the current printing task number exceeds a specific numerical value or not, when the working state reported by the remote printing equipment is normal and the printing task number of the remote printing equipment is less than the specific numerical value, the cloud printing server can allocate the task ID, establish the printing tasks, update the printing task number of the remote printing equipment and send the printing tasks to the remote printing equipment for processing; when the working state reported by the remote printing equipment is a normal state but the number of the printing tasks of the remote printing equipment is equal to a specific numerical value, or when the working state is an abnormal state, rejecting the remote printing request and giving an abnormal prompt, if the number of the current remote printing tasks exceeds 20, the task fails to be sent, and the task needs to be retried later, a printer is not set, the Bluetooth is not started in Bluetooth printing, wifi printing is not connected with wifi, and the like. After the print job is created, the cloud print server converts a remote print request of the service device into a corresponding print instruction, stores the print instruction as a file, uploads the file to an OSS (object Storage service), generates a download URL, sends the newly created print job to the corresponding remote print device, detects whether a print job receiving response of the remote print device is received in real time, judges that the print job sending fails if the print job receiving response is not received, and gives an abnormal prompt that 'print data transmission fails, connection or is interrupted'.
S34, sending a printing instruction to a printer by the remote printing equipment according to the printing task;
after receiving the print task, the remote printing device sends a response of receiving the print task to the cloud print server in time, judges whether the number of the tasks to be printed is 0, if the current printer does not have the print task, downloads print data to the cloud print server through wget according to the ID of the print task, connects the printer, sends the print data to the 9100 print port through nc, and initiates printing. If the number of the tasks to be printed is not 0, namely the current tasks are printed, adding the printing tasks of the new catcher into a printing task queue, subsequently executing the printing tasks according to a first-in first-out principle, downloading printing data to a cloud printing server through wget according to the ID of the printing tasks to generate a printing instruction when the printing tasks are executed, connecting a printer, sending the printing instruction to a 9100 printing port through nc, and initiating printing. The size of the print job queue of the remote printing apparatus can be set according to the actual situation, and is set to 20 in the present embodiment. It should be noted that when the downloading of the print data fails, the connection of the printer fails, or the sending of the print data fails, there are corresponding abnormal prompts, such as "failure to generate print data", "failure to connect the printer", "failure to find a configured printer, please reconfigure the printer", "failure to transmit the print data, connection or interruption", or "failure to detect timeout by the system", and the like, and the print result of the print failure is fed back to the cloud print server.
And S35, the remote printing device receives the printing result fed back by the printer, sends the printing result to the cloud printing server, and feeds back the printing result to the service device.
The printing result depends on the printing state returned by the printer after the printing task is executed and the condition that the remote printing equipment executes the printing task, the printing result of the remote printing equipment is sent to the cloud printing server, and the cloud server sends the printing result to the service equipment to display and inform a user whether printing is successful or not, so that the user can decide whether reprinting is needed or not.
In this embodiment, through the mutual cooperation of the cloud print server and the remote printing device, the remote printing request of the business device is uniformly received and managed by the cloud print server, the safe and reliable storage of the print file is realized, the print task is reasonably and effectively distributed to the remote printing device which binds the printer and uniformly manages the local print task for processing, the reliability and the efficiency of the remote printing across the network are ensured, multiple members, the cross-region and the cross-network are ensured, the perception and the adaptation of the local printer to the cloud service are avoided, the remote printing cost is reduced, and meanwhile, the user experience is also improved.
It should be noted that the intelligent printing method of the cloud print server, the intelligent printing method of the remote printing device, and the intelligent printing method including the cloud print server and the remote printing device described above describe the same technical solutions, which can be referred to each other. Further, although the respective steps in the above-described flowcharts are sequentially displayed as indicated by arrows, the steps are not necessarily sequentially executed in the order indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise.
In one embodiment, as shown in fig. 9, there is provided an intelligent printing system of a cloud print server, the system including:
the first communication module 11 is configured to establish a connection with a remote printing device, and receive and store a working state reported by the remote printing device;
the first request module 12 is configured to receive a remote printing request of a service device, query and obtain a working state reported by the remote printing device;
a first task module 13, configured to create a print job according to the working status and a remote print request, and send the print job to the remote printing device;
and the first result module 14 is configured to receive a print result fed back by the remote printing device, and send the print result to the service device.
In one embodiment, as shown in fig. 10, there is provided an intelligent printing system of a remote printing device, the system comprising:
the second communication module 21 is used for establishing connection with the cloud print server and reporting a working state;
a second request module 22, configured to receive a print job sent by the cloud print server; the print job is created by the cloud print server according to the remote print request received from the business device and the working state;
the second task module 23 is configured to send a print instruction to a printer according to the print task;
and a second result module 24, configured to receive a print result fed back by the printer, and send the print result to a cloud print server, so that the cloud print server feeds back the print result to the service device.
In one embodiment, as shown in fig. 11, there is provided an intelligent printing system, the system comprising:
the communication connection module 31 is used for establishing the connection between the cloud print server and the remote printing device in advance, and reporting the working state of the remote printing device to the cloud print server;
a request processing module 32, configured to send a remote print request to the cloud print server through a service device, and query, through the cloud print server, a working state reported by the remote print device;
the task creating module 33 is configured to create, by the cloud print server, a print task according to the working state reported by the remote printing device and the remote printing request, and send the print task to the remote printing device;
a print execution module 34, configured to send a print instruction to a printer by the remote printing device according to the print job;
a result feedback module 35, configured to receive, by the remote printing device, the print result fed back by the printer, send the print result to the cloud print server, and feed back, by the cloud print server, the print result to the service device.
For specific limitations of the intelligent printing system of the cloud print server and the remote printing device, reference may be made to the above limitations of the intelligent printing method of the cloud print server and the remote printing device, which are not described herein again. All or part of each module in the intelligent printing system of the cloud printing server and the remote printing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In summary, the embodiment of the invention provides an intelligent printing method and system for a cloud print server and a remote printing device, the intelligent printing method of the cloud printing server and the remote printing equipment establishes the communication connection between the cloud printing server and the remote printing equipment in advance, the remote printing equipment reports the real-time monitoring networking state to the cloud printing server for maintenance, and inquiring the working state reported by the remote printing equipment when the cloud printing server receives the remote printing request sent by the service equipment, and then creating a printing task and sending the printing task to the remote printing equipment, generating printing data by the remote printing equipment and sending the printing data to the local printer to complete printing, sending a printing result to the cloud printing server by the remote printing equipment, the system is used for responding to the remote printing request of the service equipment, and the user of the service equipment can check and decide whether to reprint. When the method is applied to actual remote printing, safe, reliable and efficient printing of multiple ends, multiple members, cross-region and cross-network can be completed only by one terminal device without replacing a printer or changing a network structure, perception and adaptation of traditional printers to cloud services are avoided while different printer models are compatible, low-cost and efficient cloud printing services are really provided, and user experience is improved.
The embodiments in this specification are described in a progressive manner, and all the same or similar parts of the embodiments are directly referred to each other, and each embodiment is described with emphasis on differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. It should be noted that, the technical features of the embodiments may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express some preferred embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, various modifications and substitutions can be made without departing from the technical principle of the present invention, and these should be construed as the protection scope of the present application. Therefore, the protection scope of the present patent shall be subject to the protection scope of the claims.

Claims (10)

1. An intelligent printing method of a cloud print server is characterized by comprising the following steps:
establishing connection with remote printing equipment, and receiving and storing the working state reported by the remote printing equipment;
receiving a remote printing request of a service device, inquiring and obtaining a working state reported by the remote printing device;
creating a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sending the printing task to the remote printing equipment;
and receiving a printing result fed back by the remote printing equipment, and sending the printing result to the service equipment.
2. The intelligent printing method according to claim 1, wherein the step of receiving a remote printing request from a service device, querying and obtaining the operating status of the remote printing device comprises:
searching the bound remote printing equipment according to the enterprise information corresponding to the remote printing request;
and searching the working state reported by the remote printing equipment and judging whether the time for reporting the working state exceeds a preset time, if so, actively acquiring the working state of the remote printing equipment.
3. The intelligent printing method according to claim 1, wherein the step of creating a print job based on the operating status reported by the remote printing device and the remote print request comprises:
when the working state reported by the remote printing equipment is a normal state and the number of the printing tasks of the remote printing equipment is less than a specific numerical value, allocating a task ID and creating the printing tasks;
and when the working state reported by the remote printing equipment is a normal state and the number of the printing tasks of the remote printing equipment is equal to a specific numerical value, or when the working state reported by the remote printing equipment is an abnormal state, rejecting the remote printing request and giving an abnormal prompt.
4. The intelligent printing method of claim 1, wherein the step of sending the print job to the remote printing device comprises:
and detecting whether a print task receiving response of the remote printing equipment is received or not in real time, and if not, judging that the print task fails to be sent.
5. An intelligent printing method for a remote printing device, the method comprising the steps of:
establishing connection with a cloud printing server, and reporting a working state;
receiving a printing task sent by the cloud printing server; the print job is created by the cloud print server according to the remote print request received from the business device and the working state;
sending a printing instruction to a printer according to the printing task;
and receiving a printing result fed back by the printer, and sending the printing result to a cloud printing server so that the cloud printing server feeds back the printing result to the service equipment.
6. The intelligent printing method according to claim 5, wherein the step of receiving the print job sent by the cloud print server comprises:
and sending the receiving response of the print task to the cloud print server so that the cloud print server detects whether the print task fails to be sent in real time.
7. An intelligent printing method, the method comprising:
the method comprises the steps that connection between a cloud print server and remote printing equipment is established in advance, and the working state of the remote printing equipment is reported to the cloud print server;
sending a remote printing request to the cloud printing server through service equipment, and inquiring the working state reported by the remote printing equipment through the cloud printing server;
the cloud printing server creates a printing task according to the working state reported by the remote printing equipment and the remote printing request, and sends the printing task to the remote printing equipment;
sending a printing instruction to a printer by the remote printing equipment according to the printing task;
and receiving the printing result fed back by the printer by the remote printing equipment, sending the printing result to the cloud printing server, and feeding back the printing result to the service equipment by the cloud printing server.
8. An intelligent printing system of a cloud print server, the system comprising:
the first communication module is used for establishing connection with the remote printing equipment, and receiving and storing the working state reported by the remote printing equipment;
the first request module is used for receiving a remote printing request of the service equipment, inquiring and obtaining the working state reported by the remote printing equipment;
the first task module is used for creating a printing task according to the working state and a remote printing request and sending the printing task to the remote printing equipment;
and the first result module is used for receiving the printing result fed back by the remote printing equipment and sending the printing result to the service equipment.
9. An intelligent printing system of a remote printing device, the system comprising:
the second communication module is used for establishing connection with the cloud printing server and reporting the working state;
the second request module is used for receiving the printing task sent by the cloud printing server; the print job is created by the cloud print server according to the remote print request received from the business device and the working state;
the second task module is used for sending a printing instruction to a printer according to the printing task;
and the second result module is used for receiving the printing result fed back by the printer and sending the printing result to the cloud printing server so that the cloud printing server feeds back the printing result to the service equipment.
10. An intelligent printing system, the system comprising:
the communication connection module is used for pre-establishing the connection between the cloud printing server and the remote printing equipment and reporting the working state of the remote printing equipment to the cloud printing server;
the request processing module is used for sending a remote printing request to the cloud printing server through service equipment and inquiring the working state reported by the remote printing equipment through the cloud printing server;
the task creating module is used for creating a printing task by the cloud printing server according to the working state reported by the remote printing equipment and the remote printing request and sending the printing task to the remote printing equipment;
the printing execution module is used for sending a printing instruction to a printer by the remote printing equipment according to the printing task;
and the result feedback module is used for receiving the printing result fed back by the printer by the remote printing equipment, sending the printing result to the cloud printing server and feeding back the printing result to the service equipment by the cloud printing server.
CN202110100168.XA 2021-01-22 2021-01-22 Cloud printing server, and intelligent printing method and system of remote printing equipment Pending CN112764696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110100168.XA CN112764696A (en) 2021-01-22 2021-01-22 Cloud printing server, and intelligent printing method and system of remote printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110100168.XA CN112764696A (en) 2021-01-22 2021-01-22 Cloud printing server, and intelligent printing method and system of remote printing equipment

Publications (1)

Publication Number Publication Date
CN112764696A true CN112764696A (en) 2021-05-07

Family

ID=75707265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110100168.XA Pending CN112764696A (en) 2021-01-22 2021-01-22 Cloud printing server, and intelligent printing method and system of remote printing equipment

Country Status (1)

Country Link
CN (1) CN112764696A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113053857A (en) * 2020-03-26 2021-06-29 台湾积体电路制造股份有限公司 Semiconductor structure and forming method thereof
CN113312014A (en) * 2021-06-04 2021-08-27 上海汉图科技有限公司 Printing method and device
CN114281278A (en) * 2021-12-28 2022-04-05 苏州博瑞凯德信息技术有限公司 Cloud printing method and device, storage medium and electronic equipment
CN115167792A (en) * 2022-09-02 2022-10-11 深圳市智能派科技有限公司 3D printer control method, device and system based on Internet of things

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897500A (en) * 2020-07-06 2020-11-06 南京功夫豆信息科技有限公司 Cloud printing method and equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897500A (en) * 2020-07-06 2020-11-06 南京功夫豆信息科技有限公司 Cloud printing method and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PINEAPPLE没有萝: "时代云打印解决方案", 《知乎》 *
李春泉等, 西安电子科技大学出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113053857A (en) * 2020-03-26 2021-06-29 台湾积体电路制造股份有限公司 Semiconductor structure and forming method thereof
CN113312014A (en) * 2021-06-04 2021-08-27 上海汉图科技有限公司 Printing method and device
CN113312014B (en) * 2021-06-04 2024-03-22 上海汉图科技有限公司 Printing method and device
CN114281278A (en) * 2021-12-28 2022-04-05 苏州博瑞凯德信息技术有限公司 Cloud printing method and device, storage medium and electronic equipment
CN114281278B (en) * 2021-12-28 2023-06-23 苏州博瑞凯德信息技术有限公司 Cloud printing method and device, storage medium and electronic equipment
CN115167792A (en) * 2022-09-02 2022-10-11 深圳市智能派科技有限公司 3D printer control method, device and system based on Internet of things

Similar Documents

Publication Publication Date Title
CN112764696A (en) Cloud printing server, and intelligent printing method and system of remote printing equipment
WO2021121370A1 (en) Message loss detection method and apparatus for message queue
JP7463544B2 (en) Blockchain message processing method, apparatus, computer device, and computer program
KR100996645B1 (en) Method and apparatus for enabling synchronizing data in different devices having different capabilities
US6993763B2 (en) Technique for scheduling execution of jobs for or by network-connected devices
JP2005530372A5 (en)
CN101854338A (en) Subscriber equipment, subscription management method thereof, and real-time communication method and system
CN105323205A (en) Message pushing processing method, message pushing processing device, pushing server and application server
US20120209977A1 (en) Program Update Management Server And Program Update Management Method
KR101416280B1 (en) Event handling system and method
CN107508916B (en) Server link management method for intelligent robot
CN110753002B (en) Traffic scheduling method and device
CN110442506B (en) Log acquisition method, device, service server, system and storage medium
CN102916987A (en) Data acquisition and management system based on cloud computing framework
CN114553693A (en) Gateway upgrading method and device
CN115004650B (en) Node configuration method, node configuration device, distributed system and computer readable medium
CN112615901B (en) Method for sending user request by client and storage system
CN202268912U (en) Data management system based on cloud computation structure
US11973824B2 (en) Method for data transmission of audio and video in end-to-end system
CN116405547A (en) Message pushing method and device, processor, electronic equipment and storage medium
CN115208905A (en) Device information synchronization method, device, system, electronic device and storage medium
CN113542424A (en) Data processing method, device, equipment and computer program product
JP5200658B2 (en) Server system
CN114201659A (en) Message track transmission query method, device and system
CN113986601B (en) Consumption information query method and device, storage medium and electronic equipment

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: 20210507

RJ01 Rejection of invention patent application after publication