CPC G06F 3/1206 (2013.01) [G06F 3/1231 (2013.01); G06F 3/1248 (2013.01); H04L 67/51 (2022.05); H04N 1/00244 (2013.01); G06F 3/1288 (2013.01); G06F 3/1292 (2013.01)] | 20 Claims |
1. A cloud printing method comprising:
in response to a click on a file in an application program of a client terminal to execute printing, receiving, by a cloud server, a print request sent by the client terminal;
generating, by the cloud server, a print job and a uniform resource locator (URL) of the print job based on the print request; and
starting, by the cloud server, a print microservice and publishing a print task to a message queuing telemetry transport (MQTT) microservice according to the print job;
wherein:
after a printer is connected to the cloud server, the printer is configured to send a print subscription request to the cloud server;
the MQTT microservice is configured to send the print task with the URL of the print job to the printer; and
the printer is further configured to download the print job from the cloud server based on the URL of the print job and print the print job.
|