CN113434100B - Cloud printing method, computing device and storage medium - Google Patents

Cloud printing method, computing device and storage medium Download PDF

Info

Publication number
CN113434100B
CN113434100B CN202110991908.3A CN202110991908A CN113434100B CN 113434100 B CN113434100 B CN 113434100B CN 202110991908 A CN202110991908 A CN 202110991908A CN 113434100 B CN113434100 B CN 113434100B
Authority
CN
China
Prior art keywords
server
client
printing
parameter configuration
screenshot
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.)
Active
Application number
CN202110991908.3A
Other languages
Chinese (zh)
Other versions
CN113434100A (en
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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202110991908.3A priority Critical patent/CN113434100B/en
Publication of CN113434100A publication Critical patent/CN113434100A/en
Application granted granted Critical
Publication of CN113434100B publication Critical patent/CN113434100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • 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/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
    • 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

Abstract

The invention discloses a cloud printing method, a computing device and a storage medium, the method comprises the steps of firstly mapping the content of a printing parameter configuration window area of a server on a configuration interface of a client, responding to the action of simulating parameter configuration in the configuration interface, obtaining simulated action data by the client and sending the simulated action data to the server, executing the action which is the same as the simulated action data by the server in the printing parameter configuration window area, obtaining all configuration parameters by the server when the condition that the client simulates the action of completing parameter configuration is monitored, and sending the configuration parameters and a file to be printed to a printing device so that the printing device can print the file to be printed according to the configuration parameters. It can be known from the above that, in the present invention, the parameter configuration action performed by the user on the client is the same as that performed on the server, so that the print parameters acquired by the server are the same as the parameters set by the client, and the print output product is consistent with the effect expected by the user.

Description

Cloud printing method, computing device and storage medium
Technical Field
The invention relates to the technical field of cloud printing, in particular to a cloud printing method, computing equipment and a storage medium.
Background
A printer is a device that is commonly found in everyday life and office environments and that can output results on a computer onto paper media. Before a printer is used, a printer driver is first installed correctly, and the printer can be configured correctly by the printer driver, and the printer driver is usually provided to a user by a manufacturer that produces the printer. However, printer drivers of printer manufacturers are basically adapted under the windows operating system, and when the windows operating system is used, the printer drivers can be conveniently installed and the printer can be conveniently used. However, for the linux operating system, since a printer driver of the windows operating system provided by a printer manufacturer cannot be directly installed on the linux operating system, the printer cannot be normally used under the linux operating system.
There are two ways in the prior art to solve the above problems. First, the windows printer driver is installed directly under the linux operating system through the wire technology. The wire technology is a compatible layer for realizing windows system functions under a linux operating system, and is equivalent to enabling a windows executable program to normally run on the linux operating system by realizing the windows system functions which are missing on the linux. However, due to the huge number of windows system functions and the closed source of windows codes, the wire technology still has a lot of unrealized functions and problems to be repaired.
The second is a cloud printing scheme, which uses a system comprising a server and a client to realize a printing function together. And a linux operating system is installed on the client, and a windows operating system is installed on a server which is in communication connection with the client. When a user initiates a printing program at a client, the client sends a file to be printed and printing parameters to a server, and printing is started through the printing file and the printing parameters acquired from the client to obtain a printing output product, wherein the printing output product is the printed file. However, in the above scheme, the printing effect of the file and the user configuration cannot be completely consistent, so that the final effect of printing is not in accordance with the user's desire.
Disclosure of Invention
To this end, the present invention provides a cloud printing method in an attempt to solve or at least alleviate the above-presented problems.
According to an aspect of the present invention, there is provided a cloud printing method, performed in a cloud printing system including a client and a server, the client being in communication connection with the server, the server being connected with a printing apparatus, the client having a first operating system installed therein, and the server having a second operating system installed therein, the method including: the client sends a file to be printed to the server; mapping a printing parameter configuration window of a server on a configuration interface of a client; responding to the action of parameter configuration in the configuration interface, and the client acquires action data and sends the action data to the server; the server executes the same action as the action data in the printing parameter configuration window; when the client is monitored to finish parameter configuration, the server sends the configuration parameters and the files to be printed corresponding to all executed actions to the printing device, so that the printing device can print the files to be printed according to the configuration parameters.
Optionally, the step of mapping the print parameter configuration window of the server on the configuration interface of the client includes: the server captures a screenshot of the printing parameter configuration window and sends the screenshot to the client; and the client maps the printing parameter configuration window of the server on the configuration interface according to the screenshot.
Optionally, the step of capturing, by the server, the screenshot of the print parameter configuration window and sending the screenshot to the client includes: acquiring a window handle of a printing parameter configuration window; capturing a screenshot of a printing parameter configuration window area; storing the acquired screenshot and the window handle in an associated manner; and sending the screenshot to the client in real time in a streaming media mode.
Optionally, capturing a screenshot of the printing parameter configuration window area according to a predetermined period, or capturing the screenshot of the printing parameter configuration window area when it is monitored that the content of the printing parameter configuration window area changes.
Optionally, the step of the client mapping the print parameter configuration window of the server on the configuration interface according to the screenshot includes: decoding the screenshot to obtain a decoded screenshot; and combining the decoded screenshots into a video according to the sequence of receiving the screenshots, the original pixel values of the screenshots and the preset frame rate, and displaying the video in a configuration interface.
Optionally, the parameter configuration is performed in the configuration interface through an input device, the input device includes a mouse and a keyboard, and the action data includes coordinates clicked by the mouse and key values of the keyboard.
Optionally, the step of the server executing the same action as the action data in the print parameter configuration window includes executing a mouse operation at a mouse click coordinate of the print parameter configuration window, and/or triggering a keyboard key corresponding to a key value in the print parameter configuration window corresponding to the window handle.
Optionally, the preset frame rate is 30-60 f/s.
Optionally, the first operating system is a linux operating system, and the second operating system is a windows operating system.
According to another aspect of the present invention, there is provided a cloud printing method performed in a client, the client being communicatively connected to a server, the server being connected to a printing apparatus, the method including: sending a file to be printed to a server; mapping a printing parameter configuration window of the server on a configuration interface; and when the server monitors that the client completes parameter configuration, sending configuration parameters and files to be printed corresponding to all executed actions to the printing device so that the printing device can print the files to be printed according to the configuration parameters.
According to still another aspect of the present invention, there is provided a cloud printing method performed in a server which is connected in communication with a client and to which a printing apparatus is connected, the method including: receiving a file to be printed sent by a client; receiving action data sent by a client, wherein the action data is data corresponding to an action for parameter configuration in a configuration interface of the client; executing the same action as the action data on the printing parameter configuration window; when a first event is monitored, sending the configuration parameters and the files to be printed corresponding to all executed actions to the printing device, so that the printing device can print the files to be printed according to the configuration parameters, wherein the first event is an event that the client finishes parameter configuration.
According to another aspect of the invention, a cloud printing system is provided, which comprises a client and a server, wherein the client is in communication connection with the server, and the server is connected with a printing device; the client is suitable for sending a file to be printed to the server, mapping a printing parameter configuration window of the server on a configuration interface, responding to an action of performing parameter configuration in the configuration interface, and obtaining action data and sending the action data to the server; and the server is suitable for executing the action which is the same as the action data in the printing parameter configuration window, and when the condition that the client completes parameter configuration is monitored, the server is also suitable for sending the configuration parameters and the files to be printed, which correspond to all executed actions, to the printing device so that the printing device can print the files to be printed according to the configuration parameters. According to an aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the technical scheme, the cloud printing method includes the steps that a printing parameter configuration window of a server is mapped on a configuration interface of a client, a response is made to a parameter configuration action in the configuration interface, the client acquires action data and sends the action data to the server, the server executes an action which is the same as the action data in the area of the printing parameter configuration window, when the fact that the client completes the parameter configuration action is monitored, the server acquires all configuration parameters of the client, and sends the configuration parameters and a file to be printed to a printing device, so that the printing device can print the file to be printed according to the configuration parameters. As can be seen from the above, according to the present invention, by mapping the parameter configuration interface of the server to the configuration interface of the client, and mapping the parameter configuration operation performed by the user on the client to the server at the same time, even if the client does not have a print driver installed therein, the parameter configuration performed by the user on the client can be realized as if it were on the server, so that the print parameters acquired by the server are the same as the parameters set by the client, that is, the print parameters acquired by the server are complete, so that the print output product is consistent with the effect desired by the user.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a cloud printing system 100 according to one embodiment of the invention;
FIG. 2 shows a block diagram of a computing device 200, according to one embodiment of the invention;
FIG. 3 shows a flow diagram of a cloud printing method 300 according to one embodiment of the invention;
FIG. 4 shows a schematic diagram of a print parameter configuration window of a server according to one embodiment of the invention; and
fig. 5 illustrates an interaction diagram of a cloud printing method according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
A printer is a device that is commonly used in everyday life and office environments and can output results, such as documents, pictures, etc., on a computer onto a paper medium. Before a printer is used, a printer driver is first installed correctly. The printer driver is a necessary program for enabling the printer to work normally, that is, a necessary program for correctly recognizing a document to be printed of a computer and converting the document into a printout product, and the printer can be correctly configured by the printer driver, and the printer driver is generally provided to a user by a manufacturer who manufactures the printer. However, printer drivers of printer manufacturers are basically adapted under the windows operating system, and when the windows operating system is used, the printer drivers can be conveniently installed and the printer can be conveniently used. However, for the linux operating system, since a printer driver of the windows operating system provided by a printer manufacturer cannot be directly installed on the linux operating system, the printer cannot be normally used under the linux operating system.
There are two ways in the prior art to solve the above problems. First, the windows printer driver is installed directly under the linux operating system through the wire technology. The wire technology is a compatible layer for realizing windows system functions under a linux operating system, and is equivalent to enabling a windows executable program to normally run on the linux operating system by realizing the windows system functions which are missing on the linux. However, due to the huge number of windows system functions and the code closed source of windows, the wire technology still has a lot of unrealized functions and problems to be repaired.
The second is a cloud print scheme, in which a system including a server and a client is used to implement a print function. And a linux operating system is installed on the client, and a windows operating system is installed on a server which is in communication connection with the client. When a user initiates a printing program at a client, the client sends a file to be printed and printing parameters to a server, the server is provided with a driver corresponding to a printer, and the server starts printing through the printing file and the printing parameters acquired from the client to obtain the printing file. However, since some of the printing parameters of the windows printer are private and cannot be transferred and configured by other programs, the printing parameters sent by the client to the server are incomplete, that is, the private parameters are not included, printing is performed according to the received printing parameters and the private parameters of the default settings at this time, although the file can be normally printed, since all default parameters may be different from the parameters set by the user, the printing effect of the file and the user configuration cannot be completely consistent, for example, special color ink configuration, binding settings, and the like, and the final effect of printing is inconsistent with the user's expectations.
In order to solve the above problem, the present invention firstly provides a cloud printing system, and fig. 1 shows a schematic diagram of a cloud printing system 100 according to an embodiment of the present invention, as shown in fig. 1, the cloud printing system 100 includes a client 110 and a server 120, the server 120 is in communication connection with the client 110, and the server 120 is also in communication connection with a printing apparatus 130, for example, through a network connection in a wired or wireless manner.
In one embodiment, a first operating system is installed in the client 110, a second operating system is installed in the server 120, and the first operating system and the second operating system may be the same or different, for example, both the first operating system and the second operating system may be windows operating systems, or the first operating system is a linux operating system and the second operating system is a windows operating system. And the second operating system of the server 120 has the print driver corresponding to the printing apparatus 130 installed therein, while the first operating system of the client 110 does not have to have the print driver installed therein, that is, the server 130 can print a file by calling the printing apparatus 130. The printing apparatus 130 may be an apparatus having a printing function, but the present invention is not limited thereto, such as a printer. The file to be printed sent by the client 110 is stored in a storage device of the server 120 locally or in communication connection therewith.
In one implementation, the storage device communicatively connected to the server 120 may be a database, further, the database may be a relational database, such as MYSQL, SqlServer, ACCESS, etc., and the database of the storage device may be a local database residing in the server 120, or may be a distributed database, such as Hbase, etc., located at a plurality of geographic locations; the storage device may also be a cache, such as a redis cache, or the like, and in any case, the storage device is used for storing the file to be printed sent by the client 110. The invention does not limit the specific deployment and configuration conditions of the storage device.
In one implementation, clients 110 and server 120 may be implemented as computing devices. Computing device 200 may be implemented as a server, e.g., an application server, a Web server, etc.; but may also be implemented as a desktop computer, a notebook computer, a processor chip, a tablet computer, etc., but is not limited thereto. FIG. 2 shows a block diagram of a computing device 200, according to one embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a digital information processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 206 may include an operating system 220, one or more applications 222, and program data 224. In some implementations, the application 222 can be arranged to operate with program data 224 on an operating system.
Computing device 200 also includes storage device 232, storage device 232 including removable storage 236 and non-removable storage 238, each of removable storage 236 and non-removable storage 238 being connected to storage interface bus 234. In the present invention, the data related to each event occurring during the execution of the program and the time information indicating the occurrence of each event may be stored in the storage device 232, and the operating system 220 is adapted to manage the storage device 232. The storage device 232 may be a magnetic disk.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The exemplary output device 242 includes an image processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to facilitate communications with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 200 may be implemented as a server, such as a file server, a database server, an application server, a WEB server, etc., or as part of a small-form factor portable (or mobile) electronic device, such as a cellular telephone, a Personal Digital Assistant (PDA), a personal media player device, a wireless WEB-browsing device, a personal headset device, an application-specific device, or a hybrid device that include any of the above functions. Computing device 200 may also be implemented as a personal computer including both desktop and notebook computer configurations.
FIG. 3 shows a flow diagram of a cloud printing method 300 according to one embodiment of the invention. The method 300 is suitable for being executed in the cloud printing system 100, and the cloud printing method 300 includes steps S310 to S350. Before step S310 is executed, in response to an operation of triggering a print interface by a user, the client 110 enters a configuration interface, acquires a file to be printed, sends the file to be printed and a notification message for opening a print parameter configuration window to the server 120, and the server 120 stores the file to be printed in a local storage device or a storage device in communication connection with the local storage device and opens the print parameter configuration window.
The print parameter configuration window may be configured with print parameters including margins (upper, lower, left, and right margins), size (e.g., a 4), paper source (e.g., default paper cassette, paper cassette 1, auto-selection, etc.), color (black and white, color), single-sided (single-sided, double-sided), and print direction (lateral, longitudinal), which are not listed here. Print parameter configuration window fig. 4 is a diagram illustrating a print parameter configuration window of a server according to an embodiment of the present invention, and fig. 4 is a diagram illustrating the print parameter configuration window.
After the print parameter configuration window is opened, the server 120 obtains a window handle of the print parameter configuration window, and captures a screenshot of the print parameter configuration window area, for example, the screenshot of the print parameter configuration window area may be captured according to a predetermined period, or the screenshot of the print parameter configuration window area is captured when it is monitored that the content of the print parameter configuration window area changes. And storing the acquired screenshot and the window handle in a local or communication-connected storage device in an associated manner, and finally sending the screenshot to the client 110 in real time in a streaming media manner. After receiving the screenshot, the client 110 executes step S310 to map a print parameter configuration window of the server on a configuration interface of the client. Specifically, after receiving the screenshot, the client 110 decodes the screenshot to obtain a decoded screenshot, and combines the decoded screenshot into a video according to the screenshot receiving sequence, the screenshot original pixel value, and the preset frame rate, and displays the video in the configuration interface. At this time, the video content displayed on the configuration interface of the client 110 is the content of the print parameter configuration window of the server 120.
It should be noted that, if the server 120 captures the screenshot of the printing parameter configuration window area only when it is monitored that the content of the printing parameter configuration window area changes, and sends the screenshot to the client 110, when the content of the printing parameter configuration window area does not change, the client 110 combines the latest decoded screenshots into a video, that is, the current content of the printing parameter configuration window of the server 120 is continuously displayed on the display interface of the client 110 until the content of the printing parameter configuration window area changes.
The predetermined period may be set according to an actual application scenario, which is not limited in the present invention, for example, the predetermined period may be 100 milliseconds, that is, the server 120 captures a screenshot of the print parameter configuration window area every 100 milliseconds, and sends the screenshot to the client 110. Streaming media is a system in which a series of media data (usually pictures) is compressed and then distributed and transmitted over a network. The preset frame rate may be set according to an actual application scenario, which is not limited in the present invention, for example, the preset frame rate may be between 30 and 60f/s, and further, the frame rate may be 30 f/s.
Then, S320 is executed, and in response to the action of simulating parameter configuration in the configuration interface, the client acquires action data and sends the action data to the server 120. In one embodiment, a user performs a parameter configuration action on video content displayed by the client 110 configuration interface through an input device. The input device includes a mouse and a keyboard, and the action data includes coordinates clicked by the mouse and key values of the keyboard, which is equivalent to that the print parameters can be configured in the print parameter configuration window of the server 120 at the client 110.
Assuming that the video content displayed on the configuration interface of the client 110 is the print parameter configuration window content of the server 120 shown in fig. 4, after the user triggers the dual-sided printing interface on the video content displayed on the configuration interface of the client 110 through the mouse, a menu bar is displayed, where the menu bar includes single-sided printing and dual-sided printing, and at this time, the client 110 obtains a coordinate clicked by the mouse and sends the coordinate to the server 120.
After the client 110 sends the action data to the server 120, step S330 is executed, and the server executes the same action as the action data in the print parameter configuration window. In one embodiment, the server 120 executes the same action as the action data in the print parameter configuration window according to the action data by calling the window interface, that is, the user can implement the print parameter configuration operation at the client side.
Step S330 is described in detail by taking as an example that the video content displayed on the configuration interface of the client 110 is the print parameter configuration window content of the server 120 shown in fig. 4, and the user triggers the duplex print interface on the video content displayed on the configuration interface of the client 110 through a mouse. The server 120 triggers the operation of the duplex printing interface by the mouse of the server 120 in the print parameter configuration window of the server 120 by calling the window interface according to the mouse coordinate of the duplex printing interface triggered by the mouse of the client 110 by the user, so that the parameter configuration operation of the server 120 is actually the same as the operation of the virtual parameter configuration of the user at the client 110.
It is noted that the action that the server 120 captures a screenshot of the print parameter configuration window area and sends to the client 110 is always performed during the process that the server 120 performs the same action as the action data in the print parameter configuration window. Since the operation of parameter configuration is executed, the content of the print parameter configuration window area changes, and the action of capturing the screenshot of the print parameter configuration window area is executed all the time, the server can capture the screenshot of the print parameter configuration window area whose content has changed, and send the screenshot to the client 110 in real time.
The steps S310 to S330 are repeatedly executed until the user completes the action of configuring the parameter in the video content of the display interface of the client 110, for example, the user triggers the action of completing the interface in the video content of the display interface of the client 110. In response to the user executing the action of completing the parameter configuration in the video content of the display interface of the client 110, the client 110 sends a notification message of completing the parameter configuration action to the server 120, at this time, the server 120 obtains all the configuration parameters corresponding to the executed action, and executes step S340 to send all the configuration parameters corresponding to the executed action and the file to be printed to the printing device 130.
Since the print driver corresponding to the printing device 130 is installed in the second operating system of the server 120, after the server 120 sends the print parameters and the file to be printed to the printing device 130, the printing device 130 may execute step S350, and the printing device prints the file to be printed according to the configuration parameters, so as to obtain a print output product consistent with the user' S assumption.
Based on the above, according to the cloud printing method provided by the invention, the parameter configuration interface of the server is mapped to the configuration interface of the client, and the simulation parameter configuration operation performed by the user on the client is simultaneously mapped on the server, so that even if the client does not install the print driver, the parameter configuration performed by the user on the client can be the same as that performed on the server, and thus the print parameters acquired by the server are the same as the parameters set by the client, that is, the print parameters acquired by the server are complete, so that the print output product is consistent with the effect expected by the user.
In order to more clearly illustrate the working process of the cloud printing method, the following provides a complete interactive process of the cloud printing method. Fig. 5 illustrates an interaction diagram of a cloud printing method according to an embodiment of the present invention. The cloud printing method includes steps S501 to S514.
First, in response to an operation of triggering a print interface by a user, in step S501, the client 110 enters a configuration interface and acquires a file to be printed, and in step S502, sends the file to be printed and a notification message for opening a print parameter configuration window to the server 120. Subsequently, in step S503, the server 120 stores the file to be printed in a storage device locally or communicatively connected thereto, and opens a print parameter configuration window.
After the print parameter configuration window is opened, step S504 is executed, the server 120 captures the screenshot in the print parameter configuration window area, and in step S505, the acquired screenshot and the window handle of the print parameter configuration window are stored in a local or communicatively connected storage device in an associated manner, and then step S506 is executed, and the screenshot is sent to the client 110 in real time. After receiving the screenshot, the client 110 executes step S507 to decode the screenshot to obtain a decoded screenshot, and then the client 110 executes step S508 to combine the decoded screenshot into a video according to the sequence of receiving the screenshot, the original pixel value of the screenshot and the preset frame rate, and display the video in the configuration interface.
The client 110 responds to the action of the user configuring the parameters in the configuration interface, executes S509, acquires action data, and sends the action data to the server 120. The server 120 then executes step S510, and executes the same action as the action data in the print parameter configuration window.
And repeatedly executing the steps S504 to S510 until the user completes the parameter configuration in the video content of the display interface of the client 110, executing the step S511, sending a notification message for completing the parameter configuration to the server 120 by the client 110, executing the step S512 by the server 120 at this time, acquiring the configuration parameters corresponding to all executed actions, continuing to execute the step S513, sending the configuration parameters and the file to be printed to the printing device 130, and finally executing the step S514 by the printing device 130, and printing the file to be printed according to the configuration parameters, thereby obtaining a print output product consistent with the assumption of the user.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the cloud printing method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (9)

1. A cloud printing method is executed in a cloud printing system, the cloud printing system comprises a client and a server, the client is in communication connection with the server, the server is connected with a printing device, a first operating system is installed in the client, a second operating system is installed in the server, and the method comprises the following steps:
the client sends a file to be printed to the server;
the server captures a screenshot of a printing parameter configuration window and sends the screenshot to the client;
the client maps a printing parameter configuration window of the server on a configuration interface according to the screenshot;
responding to the action of parameter configuration in the configuration interface, and the client acquires action data and sends the action data to the server;
the server executes the same action as the action data in the printing parameter configuration window;
when the client is monitored to finish parameter configuration, the server sends configuration parameters corresponding to all executed actions and the file to be printed to the printing device, so that the printing device can print the file to be printed according to the configuration parameters.
2. The method of claim 1, wherein the server captures a screenshot of a print parameter configuration window, the step of sending to the client comprising:
acquiring a window handle of the printing parameter configuration window;
capturing a screenshot of the printing parameter configuration window area;
storing the acquired screenshot and the window handle in an associated manner;
and sending the screenshot to the client in real time in a streaming media mode.
3. The method of claim 2, wherein the screenshot of the print parameter configuration window area is captured at a predetermined period or when a change in the content of the print parameter configuration window area is monitored.
4. The method of claim 1, wherein the step of mapping, by the client, a print parameter configuration window of the server on a configuration interface according to the screenshot comprises:
decoding the screenshot to obtain the decoded screenshot;
and combining the decoded screenshots into a video according to the sequence of receiving the screenshots, the original pixel values of the screenshots and a preset frame rate, and displaying the video in the configuration interface.
5. A cloud printing method executed in a client communicatively connected to a server to which a printing device is connected, the method comprising:
sending a file to be printed to the server;
receiving a screenshot of a captured printing parameter configuration window sent by the server;
mapping a printing parameter configuration window of the server on a configuration interface according to the screenshot;
responding to the action of performing parameter configuration in the configuration interface, acquiring action data, sending the action data to the server, so that the server executes the action identical to the action data in the printing parameter configuration window, and sending the configuration parameters corresponding to all executed actions and the file to be printed to the printing device when the server monitors that the client completes parameter configuration, so that the printing device can print the file to be printed according to the configuration parameters.
6. A cloud printing method executed in a server that is communicatively connected with a client, the server being connected with a printing device, the method comprising:
receiving a file to be printed sent by the client;
capturing a screenshot of a printing parameter configuration window, and sending the screenshot to the client;
receiving action data sent by the client, wherein the action data is data corresponding to an action for performing parameter configuration in a configuration interface of the client;
executing the same action as the action data on a printing parameter configuration window;
when a first event is monitored, sending the configuration parameters corresponding to all executed actions and the file to be printed to the printing device so that the printing device can print the file to be printed according to the configuration parameters, wherein the first event is an event that the client side completes parameter configuration.
7. A cloud printing system comprises a client and a server, wherein the client is in communication connection with the server, and the server is connected with a printing device;
the client is suitable for sending a file to be printed to the server, responding to an action of parameter configuration in the configuration interface, acquiring action data and sending the action data to the server;
the server is suitable for executing the action which is the same as the action data in the printing parameter configuration window, capturing the screenshot of the printing parameter configuration window, sending the screenshot to the client, and sending the configuration parameters corresponding to all executed actions and the file to be printed to the printing device when the client is monitored to finish parameter configuration so that the printing device can print the file to be printed according to the configuration parameters;
and the client is also suitable for mapping a printing parameter configuration window of the server on a configuration interface according to the screenshot.
8. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-6.
9. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-6.
CN202110991908.3A 2021-08-27 2021-08-27 Cloud printing method, computing device and storage medium Active CN113434100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110991908.3A CN113434100B (en) 2021-08-27 2021-08-27 Cloud printing method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110991908.3A CN113434100B (en) 2021-08-27 2021-08-27 Cloud printing method, computing device and storage medium

Publications (2)

Publication Number Publication Date
CN113434100A CN113434100A (en) 2021-09-24
CN113434100B true CN113434100B (en) 2021-12-07

Family

ID=77798170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110991908.3A Active CN113434100B (en) 2021-08-27 2021-08-27 Cloud printing method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN113434100B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900603B (en) * 2021-12-10 2022-04-01 统信软件技术有限公司 Analog printing method, computing device and storage medium
CN114185499B (en) * 2021-12-13 2022-09-30 上海麦色医疗科技有限公司 Printer sharing system based on unstructured data analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1537298A (en) * 2001-03-21 2004-10-13 Ƥ����˹ϵͳ��˾ System and method for printing over networks via print server
CN111098613A (en) * 2019-10-31 2020-05-05 珠海奔图电子有限公司 Image forming control method, system, terminal and image forming apparatus
CN112035074A (en) * 2019-06-04 2020-12-04 中兴通讯股份有限公司 Printing implementation method, device and system and storage medium
CN112486437A (en) * 2020-12-18 2021-03-12 武汉点石互动网络科技有限公司 Method for printing in Web application by cross-platform and cross-browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110062937A (en) * 2009-12-04 2011-06-10 삼성전자주식회사 Server connected to image forming apparatus and client, client, and remote installing method for driver thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1537298A (en) * 2001-03-21 2004-10-13 Ƥ����˹ϵͳ��˾ System and method for printing over networks via print server
CN112035074A (en) * 2019-06-04 2020-12-04 中兴通讯股份有限公司 Printing implementation method, device and system and storage medium
CN111098613A (en) * 2019-10-31 2020-05-05 珠海奔图电子有限公司 Image forming control method, system, terminal and image forming apparatus
CN112486437A (en) * 2020-12-18 2021-03-12 武汉点石互动网络科技有限公司 Method for printing in Web application by cross-platform and cross-browser

Also Published As

Publication number Publication date
CN113434100A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN113434100B (en) Cloud printing method, computing device and storage medium
US9479674B2 (en) Display apparatus, method of controlling operations of the same, and network system
JP4640289B2 (en) Shared image display program, information terminal device
JP2016021223A (en) Program, information processing device, and information processing system
US20140108940A1 (en) Method and system of remote communication over a network
CN103970828B (en) Network system and method for reporting information
CN109683841B (en) Control display method and computing device in multi-display environment
CN112685055A (en) Cluster construction method and device
CN108769094A (en) Acquisition method, device, PC equipment and the mobile terminal of user information
WO2015112612A1 (en) System and method for implementing screen capture
CN113885758A (en) Virtual screen generation method, computing device and storage medium
US10573090B2 (en) Non-transitory computer-readable storage medium, display control method, and display control apparatus
US20170024169A1 (en) Printing to a paper-like device
CN113158167A (en) Verification code implementation method, electronic device and computer-readable storage medium
JP6292064B2 (en) Print processing program, print processing method, and information processing apparatus
JP2020048082A (en) Information processing device and program
JP6394947B2 (en) Code noise removing device, operation method of code noise removing device, and program to be executed by the device
JP2015153404A (en) Program, information processor, information processing method, and information processing system
JP6221543B2 (en) Program, information processing apparatus, information processing system, and image processing system
JP5804430B2 (en) Book information processing apparatus, book information processing method, and program
CN110795046B (en) Document printing method and device, computer storage medium and terminal
JP2008289166A (en) System and method for generating document from multiple image overlays
JP7318401B2 (en) Cooperative processor, method and program
CN110807301B (en) Method and device for editing document, computer storage medium and terminal
CN107526716B (en) Mail display method and device

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
GR01 Patent grant
GR01 Patent grant