WO2021109909A1 - Printer use method, computer device, cloud desktop printing system, and storage medium - Google Patents

Printer use method, computer device, cloud desktop printing system, and storage medium Download PDF

Info

Publication number
WO2021109909A1
WO2021109909A1 PCT/CN2020/131373 CN2020131373W WO2021109909A1 WO 2021109909 A1 WO2021109909 A1 WO 2021109909A1 CN 2020131373 W CN2020131373 W CN 2020131373W WO 2021109909 A1 WO2021109909 A1 WO 2021109909A1
Authority
WO
WIPO (PCT)
Prior art keywords
printer
virtual
task
agent
job
Prior art date
Application number
PCT/CN2020/131373
Other languages
French (fr)
Chinese (zh)
Inventor
修文飞
陈红领
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021109909A1 publication Critical patent/WO2021109909A1/en

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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1296Printer job scheduling or printer resource handling

Definitions

  • This application relates to the field of cloud communications, and in particular to a method for using printers, computer equipment, cloud desktop printing systems, and storage media.
  • the printer usage method, computer equipment, cloud desktop printing system, and storage medium mainly solve the technical problem: In the existing cloud desktop printing solution, the printer is redirected to the cloud desktop, resulting in a thin client The problem that the ordinary terminal device on the side cannot use the printer.
  • an embodiment of the present application provides a printer usage method, which is applied to the printer agent on the client side, including: the printer agent searches for printers on the local network; the printer agent reports the printer search results to the virtual desktop in the cloud desktop Printer, the printer search result is used to indicate the information of the searched printer; the printer agent receives the job task issued by the virtual printer based on the printer search result, and the job task includes the task performer instruction; the printer agent selects the task performer instruction from the local network The indicated printer executes the job task.
  • the embodiment of the present application also provides a printer usage method, which is applied to a virtual printer in a cloud desktop.
  • the printer usage method includes: the virtual printer receives a printer search result reported by a client-side printer agent, and the printer search result is used to indicate that the printer agent is in Information of printers searched in its local network; virtual printers generate job tasks based on job requirements and printer search results, and the job tasks include instructions from the task performer; virtual printers deliver job tasks to printer agents.
  • An embodiment of the present application also provides a computer device, which includes a processor, a memory, and a communication bus; the communication bus is used to implement connection and communication between the processor and the memory; the processor is used to execute one or more The program is used to implement the steps of the first printer using method; or, the processor is used to execute one or more programs stored in the memory to implement the steps of the second printer using method.
  • the embodiment of the application also provides a cloud desktop printing system, including a management platform, N printer agents, and N virtual printers.
  • the printer agents and virtual printers form a one-to-one correspondence communication connection, and the management platform communicates with each virtual printer.
  • N is greater than or equal to 2;
  • the printer agent can implement the above-mentioned first printer usage method;
  • the virtual printer can implement the above-mentioned second printer usage method;
  • the management platform is used to receive the printer search results reported by the virtual printer, according to the deployment of the client where the printer agent is located
  • the area and the printer deployment location in the printer search results are the printer instructions obtained after processing the printer search results, and send the printer instructions to the virtual printer.
  • the printer instructions can indicate the printers that are actually available to the printer agent.
  • the embodiment of the present application also provides a storage medium that stores at least one of a first printer use program and a second printer use program.
  • the first printer use program can be executed by one or more processors to realize the foregoing The steps of the first printer using method; the second printer using program can be executed by one or more processors to implement the steps of the second printer using method.
  • FIG. 1 is a schematic diagram of using a printer in a cloud desktop system in the related technology shown in Embodiment 1 of this application;
  • FIG. 3 is a schematic diagram of the cloud desktop printing system provided in Embodiment 1 of the application.
  • FIG. 5 is a flow chart of an interaction between the management platform and the virtual printer provided in the first embodiment of the application
  • FIG. 6 is a flowchart of another interaction between the management platform and the virtual printer provided in the first embodiment of the application;
  • FIG. 7 is a schematic diagram of using a printer in the cloud desktop system provided in the second embodiment of the application.
  • FIG. 8 is an interactive flowchart of the printer using method provided in the second embodiment of this application.
  • FIG. 9 is a schematic diagram of a hardware structure of a computer device provided in Embodiment 3 of this application.
  • Computer virtualization technology mainly includes server virtualization, application virtualization, and desktop virtualization.
  • technologies such as network virtualization and graphics card virtualization are developing rapidly, and physical devices will all support virtualization technology to realize IAAS (Infrastructure as a Service) and realize true cloud computing.
  • IAAS Infrastructure as a Service
  • Desktop virtualization technology is currently the fastest growing and most promising technology.
  • Desktop virtualization technology (Desktop virtualization, or Virtual Desktop Infrastructure) is a server-based computing model, which borrows the traditional thin client model, and can host and manage all desktop virtual machines in the data center. At the same time, users You can get a complete PC experience. Simply put, desktop virtualization is a technology that supports enterprise-level remote dynamic access to desktop systems and unified hosting of data centers, allowing users to access cloud desktop systems on the network through any device, at any place, and at any time.
  • the enterprise office organization can remotely use the cloud desktop platform for cloud desktop office through the Internet or private network.
  • the local printer of the enterprise organization can be connected to the thin client, and the general solution of the cloud desktop peripherals, such as redirection technology , Redirect the printer connected to the thin client to the cloud desktop side, so that users can use the printer on the cloud desktop.
  • FIG. 1 showing a schematic diagram of the use of the printer.
  • the first printer 11 may be any one of a USB interface, a serial port or a parallel port printer, which is connected to the thin client 12 (the connection relationship between the two is shown by a solid line in FIG. 1),
  • the thin client 12 corresponds to the cloud desktop 13 on the cloud platform side, and there is a communication connection between the two.
  • a PC 14 and a second printer 15 also exist in the network where the thin client 12 is located.
  • the first printer 11 can be redirected to the cloud desktop 13 side through the redirection technology, so that users of the cloud desktop 13, that is, users who work on the cloud desktop 13 through the thin client 12 can use the first printer 11. However, because the first printer 11 is redirected to the cloud desktop 13 side, the PC 14 can no longer use the first printer 11.
  • the second printer 15 can be a network printer, and the PC 14 on the same network as the second printer 15 can use the printer, but since the network printer 15 is not redirected to the cloud desktop 13 side, it is not on the same network as the cloud desktop 13, Therefore, the user of the cloud desktop 13 cannot use the second printer 15.
  • S202 The printer agent searches for printers in the local network.
  • the printer agent is deployed on the client side, which has a one-to-one correspondence with the virtual printers deployed in the cloud desktop, and can communicate with each other.
  • the printer agent can search for printers in its local network and collect information about the printers it can access.
  • the process of the printer agent searching for printers can be to search for the search results after logging in to the cloud desktop, or to log in to the cloud desktop after searching for the search results, or even in the process of searching for the printer. Search while logging in.
  • the printer in this embodiment may be a device that only supports a printing function, or a device that supports functions including a printing function but also supports functions such as copying and scanning.
  • the type of printer is not strictly limited in this embodiment.
  • the printers searched by the printer agent may include USB port printers, serial port printers, and parallel port printers, and may also include network printers, shared printers, and so on.
  • S204 The printer agent reports the printer search result to the virtual printer in the cloud desktop.
  • the printer search results may include identification information of each printer (for example, the name of the printer or the hardware identification, etc.) that the printer agent has searched in the local network.
  • the printer search results may further include the deployment locations of the searched printers.
  • the printer search results may include the type of each printer, for example, identifying whether each printer belongs to a local printer connected to a printer agent, a network printer, or a shared printer.
  • the printer search results may also include the brand and model of each printer. There is no doubt that the information contained in the printer search results can also be one or a combination of the above.
  • S206 The virtual printer generates a job task based on the job requirement and the printer search result.
  • the virtual printer After the virtual printer receives the printer search results reported by the printer agent, it can learn which printers are on the printer agent side. Therefore, when the cloud desktop user has job requirements, the virtual printer can be based on the user's job requirements and the printer reported by the printer agent
  • the search results generate job tasks.
  • the job requirements mentioned here may include at least one of printing requirements, copying requirements, and scanning requirements.
  • the job tasks also include at least one of printing tasks, copying tasks, and scanning tasks.
  • the user will also indicate the details of the requirement in the job requirement. For example, assuming that the user’s current job task is a printing task, it will not only indicate to the virtual printer that the requirement is a printing requirement, but also instruct printing.
  • the object the number of copies to be printed, the printing method (such as whether to print on both sides, and the way to turn pages when printing on both sides), etc.
  • the virtual printer after the virtual printer receives the job request issued by the user, it can automatically select a job executor for the user's current job task based on the printer information it knows from the printer search results
  • the user of the cloud desktop does not need to know the situation of the printer on the agent side, and the virtual printer does not need to present the printer information in the printer search result to the user.
  • the virtual printer automatically selects the task performer for the user's job requirements, and the task performer executes the job After the task, the user can easily find out which printer is used to complete the task.
  • the virtual printer automatically selects the task performer, the user does not know which printer is helping him to achieve the job task. Therefore, it is very important for the user. inconvenient.
  • the virtual printer can inform the cloud desktop user of the task performer after the task performer is selected, so that the user can know which printer is currently helping him achieve his job requirements.
  • users can also learn where the printer is deployed, and even the brand model.
  • the virtual printer after the virtual printer receives the printer search result reported by the printer agent side, it can present the printer information in the printer search result to the user. For example, in some examples of this embodiment, after the user starts the virtual printer from the cloud desktop, the virtual printer can display the printer information in the printer search results, so that the user can understand the printer information, and then choose the most convenient one. The printer performs job tasks. Therefore, in these examples, the user will not only issue his printing requirements to the virtual printer, but also indicate the task performer he has selected to the virtual printer.
  • the virtual printer After the virtual printer generates a job task based on the user's job requirements and printer search results, it can deliver the job task to the printer agent.
  • the interaction between the virtual printer and the printer agent is actually the interaction between the cloud desktop and the printer agent, and the information interaction between the two can be based on the remote desktop transfer protocol achieve.
  • the printer agent selects the task performer from the local network and instructs the instructed printer to perform the job task.
  • the printer agent After the printer agent receives the job task issued by the virtual printer, it can obtain the task performer's instruction from the job task.
  • the task performer's instruction is used to instruct the printer to perform the job task. Therefore, the printer agent can get from the local network Select the task performer to instruct the corresponding printer to perform the job task.
  • a virtual printer is deployed on the cloud desktop side and a printer proxy is set on the client side to form a cloud desktop printing system.
  • the cloud desktop printing system 3 includes The virtual printer 31 and the printer agent 32.
  • the virtual printer 31 receives the printer search results reported by the printer agent 32, understands the printer deployment situation on the client side based on the printer search results, and then generates and issues job tasks according to the job requirements of the cloud desktop user;
  • the agent 32 searches the printer information on the client side and reports it to the virtual printer 31 on the cloud desktop side, and receives the job task issued by the cloud desktop side.
  • the printer job task is realized in the case of being directed to the cloud desktop side.
  • the cloud-based desktop printing system 3 can expand the usage scenarios of printers, improve printer utilization, optimize resource allocation, and reduce system costs.
  • the cloud desktop printing system may also include a management platform, and the management platform may manage virtual printers on each cloud desktop. Therefore, in some examples of this embodiment, referring to FIG. 4, the cloud desktop printing system 4 includes a management platform 40, N virtual printers 41, and N printer agents 42, and N is greater than or equal to 2.
  • the virtual printer 41 and the printer agent 42 form a pair, and each pair of virtual printers and the printer agent form a one-to-one communication connection, and each virtual printer 41 is in communication connection with the management platform 40 to receive the management of the management platform 40.
  • the management platform 40 manages the printer search results reported by the printer agent 42. Please refer to an interaction flowchart between the management platform 40 and the virtual printer 41 shown in FIG. 5 below.
  • the virtual printer after the virtual printer receives the printer search result reported by the printer agent, it can report the printer search result to the management platform, so that the management platform also knows the printer device deployment status on the printer agent side.
  • S504 The management platform processes the printer search result according to the deployment area of the client and the printer deployment location in the printer search result to obtain printer indication information.
  • the printer search results include not only the identification information of each printer, but also the deployment location of each printer.
  • the management platform can determine the physical properties of each printer searched by the printer agent. position.
  • the management platform can obtain the deployment area of each client, based on the deployment area of the client and the deployment location of each printer, the management platform can determine the distance between the client and each printer (or the distance between the client and the printer from the location of the client). Difficulty), and then filter based on distance, the management platform can determine the actual printers available to the client. Then the management platform can generate printer indication information based on the printers actually available on the client, and use the printer indication information to indicate to the corresponding virtual printer the printers actually available to the printer agent.
  • the management platform can directly delete printers that are actually unavailable by the printer agent from the printer search results, and only keep the printers that are actually available, so as to obtain printer instructions. Therefore, in these examples, the printer The instructions are actually a shortened version of the printer search results.
  • the management platform determines which printers in the printer search results are actually available to the client and which are actually unavailable to the client. It can mark each printer to generate printer instructions, for example, In this example, the printer instruction information still includes the information of all printers in the printer search results, but some of the printers are marked as "unavailable".
  • S506 The management platform sends the printer instruction information to the virtual printer.
  • the management platform After the management platform generates printer instructions, it can send the printer display to the corresponding virtual printer (that is, the virtual printer that reports the printer search results). After receiving the printer instructions, the virtual printer can display the printer instructions to the user for The user can refer to it when selecting the task performer.
  • the process of selecting the task performer is completed by the virtual printer itself. In these examples, the virtual printer does not need to display the printer instructions after receiving the printer instructions. For the user, it is used when selecting the corresponding task performer for the user's job requirements.
  • the management platform mainly manages the availability of the printers corresponding to each virtual printer, but in some other examples, the management platform can also manage other affairs. For example, after the virtual printer generates the job task, it can report the job task to the management platform. In some examples, the virtual printer reports job tasks to the management platform only for the purpose of allowing the management platform to record the job tasks. Therefore, in these examples, the virtual printer can generate the job task before sending it to the printer agent. Report the job task to the management platform, or first send the job task to the printer agent and then report the job task to the management platform. In some other examples, the virtual printer performs job task issuance and report simultaneously.
  • the management platform can record the printing content involved in the printing task, for example, it can treat The printed content is archived.
  • the printer agent can upload the copied content or scanned content as the job result to the virtual printer after completing the job task, and the virtual printer can receive feedback from the printer agent After the result of the operation, upload the result of the operation to the management platform for archiving.
  • the timing of the virtual printer reporting job tasks to the management platform can be arbitrary. This is mainly because the management platform only records the job tasks or records the print content.
  • the management The platform can also review the job tasks, please refer to a flow chart shown in FIG. 6.
  • S602 The virtual printer reports the job task to the management platform.
  • S604 The management platform reviews the job task based on at least one of the user authority and the printer authority.
  • S606 The management platform feeds back a job instruction to the virtual printer based on the audit result.
  • the management platform can review job tasks based on user permissions and whether users have corresponding job permissions; or because different printers have different confidentiality Therefore, when processing confidential documents, each printer has different permissions.
  • the management platform can review the current job tasks based on the printer permissions and determine whether the corresponding task performer is qualified to perform the corresponding task. If the judgment result (that is, the audit result) is yes, the permission instruction can be fed back to the virtual printer as the job instruction, and if the judgment result is no, the prohibition instruction can be fed back to the virtual printer as the job instruction.
  • the virtual printer will continue to deliver job tasks to the printer agent on the client side only after receiving a positive permission instruction. Otherwise, the virtual printer can refuse to continue to perform job tasks. For example, it can report user permissions on the cloud desktop. Insufficient prompt message or information about insufficient printer authority.
  • the printer usage method provided in this embodiment does not need to use redirection technology to redirect the printer on the client side to the cloud desktop side. Therefore, the local ordinary PC on the client side can use these printers, and at the same time, because the cloud desktop side can also
  • the use of printers is realized based on the cooperation of printer agents and virtual printers, and the printers used are not limited to the local printers on the client side, but also include network printers, shared printers, etc., thus avoiding repeated deployment of printers, reducing printing costs, and benefiting Realization of optimal allocation of resources.
  • a management platform can be set up for management.
  • it can better manage printer resources, count and archive job tasks, and benefit the physical organization of the organization. Maintenance of asset and information security.
  • the first printer 77 can be any one of a USB interface, a serial port, or a parallel port printer, and it is connected to the thin client 72.
  • a PC 74 and a second printer in the network where the thin client 72 is located.
  • the second printer 75 is a shared printer or a network printer.
  • the client 72 corresponds to the cloud desktop 73 on the cloud platform side, and there is a communication connection between the two.
  • a printer agent is deployed on the client 72, and a virtual printer is deployed on the cloud desktop 73.
  • a management platform 76 for managing virtual printers is also deployed on the cloud platform side.
  • S804 The printer agent searches for printers accessible by itself in the local network.
  • Printers searched by the printer proxy include network printers, shared printers, and printers directly connected to the client.
  • the printer agent can search for the first printer 77 and the second printer 75, and it can include the information of both printers in the search result.
  • S810 The management platform processes the printer search result, and generates printer instruction information.
  • S812 The management platform sends the printer instruction information to the virtual printer.
  • the virtual printer displays printer instruction information when the user has a printing demand.
  • the virtual printer generates a printing task based on the printing requirements of the user and the task performer selected by the user.
  • S820 The management platform records the printing task, archives the printing content, and reviews whether the printing task can be executed.
  • the management platform not only records the printing tasks, archives the printing content, but also audits the printing tasks, but in some other examples of this embodiment, the management platform may only perform part of the management. Practice.
  • S822 The management platform feeds back the permission instruction to the virtual printer.
  • the management platform has passed the review of the print task, so it can feed back the permission instruction to the virtual printer.
  • the management platform fails to pass the review of the print task, it can feed back the prohibition instruction to the virtual printer.
  • the virtual printer After receiving the prohibition instruction, the virtual printer can close the print task, and send a prompt to the user, prompting the user the reason for the closing of the print task.
  • S824 The virtual printer issues the printing task to the printer agent according to the permission instruction.
  • the printer agent selects the corresponding printer from the local network to execute the printing task.
  • the cloud desktop side can obtain the information of the first printer and the second printer, and when the cloud desktop user has a printing demand, the first printer and the second printer can be obtained from the first printer and the second printer as needed. Select the device that executes the printing task in, so that the cloud desktop user can use the first printer and the second printer without redirecting the printer.
  • the PC can not only use the second printer, but also the first printer. Therefore, the printer use solution provided by this embodiment can effectively utilize existing printers to provide services to users without increasing hardware costs, allowing users to be more versatile, flexible, and more flexible when performing print jobs. The right to choose enhances the user experience.
  • This embodiment provides a storage medium that can store one or more computer programs that can be read, compiled, and executed by one or more processors.
  • the computer-readable storage medium At least one of the first printer usage program and the second printer usage program may be stored, and the first printer usage program can be executed by one or more processors to implement any of the printer usage methods described in the foregoing embodiments.
  • the second printer using program can be used by one or more processors to execute the virtual printer side process of any one of the printer using methods introduced in the foregoing embodiments.
  • the computer device 90 includes a processor 91, a memory 92, and a communication bus 93 for connecting the processor 91 and the memory 92, where the memory 92 may be the aforementioned storage
  • the printer uses the storage medium of the program.
  • the processor 91 can read the first printer usage program, compile and execute the process on the printer agent side to implement the printer usage method introduced in the foregoing embodiment.
  • the computer device 90 is the client in the cloud desktop system. , On which the printer agent is deployed.
  • the processor 91 may search for printers in the local network, and then report the printer search result to the virtual printer in the cloud desktop, where the printer search result is used to indicate the information of the searched printer. Subsequently, the processor 91 may receive the job task issued by the virtual printer based on the printer search result, and select the printer indicated by the job executor from the local network to perform the job task.
  • the processor 91 can read the second printer usage program, compile and execute the process for implementing the virtual printer side of the printer usage method introduced in the foregoing embodiment.
  • the computer device 90 can be a server, which provides a cloud desktop system The cloud desktop in, the printer agent is deployed on it.
  • the processor 91 receives the printer search result reported by the client-side printer agent, where the printer search result is used to indicate the printer information that the printer agent has searched for in its local network. Subsequently, the processor 91 generates a job task based on the job requirement and the printer search result, the job task includes the instruction of the task performer, and sends the job task to the printer agent.
  • the printer search result includes the location of the printer searched for.
  • the processor 91 may also report the printer search result to the management platform, and then receive management.
  • the printer instruction information obtained after the platform processes the printer search results according to the deployment area of the client and the deployment location of the printer.
  • the printer instruction information can indicate the printers that are actually available to the printer agent.
  • the processor 91 can display the printer instruction information sent by the management platform to the user for the user to select the task performer of the job task.
  • the processor 91 may also report the job task to the management platform.
  • the processor 91 after the processor 91 reports the job task to the management platform, it can receive a permission instruction issued by the management platform for the job task based on the user authority and/or printer authority.
  • the permission instruction signifies that the processor 91 is allowed to download to the printer agent.
  • the job task is issued. Therefore, the processor 91 can deliver the job task generated by the processor 91 to the printer agent.
  • the job tasks supported by the printer searched by the printer agent include at least one of a printing task, a copying task, and a scanning task.
  • the printer agent in the local network is searched for printers, and then the printer search results are reported to the cloud desktop
  • the printer search results can indicate the printer information that the printer agent has searched in its local network
  • the printer search results reported by the printer agent can enable the cloud desktop side to learn about the printing device information on the printer agent side.
  • the user has demand, he receives the job task issued based on the search results of the printer, and sends the job task to the printer agent.
  • the printer agent In the job task, the printer agent is instructed by the task executor to indicate the printer that executes the job task, and the printer agent will Select the indicated printer in the local network and execute the job task. Based on the computer device and printer usage solution provided in this embodiment, there is no need to redirect printers on the printer proxy side to the cloud desktop side. Therefore, the printer proxy side, that is, the ordinary terminal devices on the client side can continue to use these printer devices. At the same time, the cloud desktop side can learn about the printer information on the printer agent side based on the printer search results reported by the printer agent. When there is a job requirement, the printer agent can be used as an "agent" to act as an agent to perform the job tasks of the cloud desktop user.
  • the computer-readable medium may include computer storage Medium (or non-transitory medium) and communication medium (or temporary medium).
  • computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
  • Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. . Therefore, this application is not limited to any specific combination of hardware and software.

Abstract

The present application provides a printer use method, a computer device, a cloud desktop printing system, and a storage medium. On the basis of the present printer use method, there is no need to redirect printers on a printer proxy side to the cloud desktop side, such that ordinary terminal devices on the client side can continue to use these printer devices. In addition, the cloud desktop side can learn information of printers on the printer proxy side on the basis of a printer search result reported by a printer proxy, and when there is an operation requirement, the printer proxy is used as a "proxy" to convert an operation task of a cloud desktop user into an operation task of the printer proxy in the same network as the printer, so that the cloud desktop user can also enjoy services provided by printers.

Description

打印机使用方法、计算机设备、云桌面打印系统及存储介质Printer usage method, computer equipment, cloud desktop printing system and storage medium
相关申请的交叉引用Cross-references to related applications
本申请要求享有2019年12月02日提交的名称为“打印机使用方法、计算机设备、打印系统及存储介质”的中国专利申请CN201911215845.1的优先权,其全部内容通过引用并入本申请中。This application claims the priority of the Chinese patent application CN201911215845.1 filed on December 02, 2019 entitled "Printer Usage, Computer Equipment, Printing System and Storage Medium", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及云通信领域,尤其涉及一种打印机使用方法、计算机设备、云桌面打印系统及存储介质。This application relates to the field of cloud communications, and in particular to a method for using printers, computer equipment, cloud desktop printing systems, and storage media.
背景技术Background technique
当企业部署云桌面平台后,企业分支机构通过企业总部的云桌面办公时,若期望在云桌面上使用瘦客户端(Thin Client)侧的打印机,则需要利用云桌面架构下的通用外设解决方案(如USB重定向技术)将打印机重定向到云桌面,但这样就会导致与瘦客户端处于同一网络的本地PC(Personal Computer,个人计算机)无法再使用这些打印机。After the enterprise deploys the cloud desktop platform, when the branch office of the enterprise uses the cloud desktop office of the corporate headquarters, if you want to use the thin client side printer on the cloud desktop, you need to use the general peripherals under the cloud desktop architecture to solve the problem. Solutions (such as USB redirection technology) redirect printers to the cloud desktop, but this will cause local PCs (Personal Computers) that are on the same network as the thin client to no longer use these printers.
发明内容Summary of the invention
本申请实施例所提供的打印机使用方法、计算机设备、云桌面打印系统及存储介质,主要解决的技术问题是:现有的云桌面打印方案中,打印机被重定向到云桌面,导致瘦客户端侧的普通终端设备无法使用打印机的问题。The printer usage method, computer equipment, cloud desktop printing system, and storage medium provided by the embodiments of this application mainly solve the technical problem: In the existing cloud desktop printing solution, the printer is redirected to the cloud desktop, resulting in a thin client The problem that the ordinary terminal device on the side cannot use the printer.
为解决上述技术问题,本申请实施例提供一种打印机使用方法,应用于客户端侧的打印机代理,包括:打印机代理搜索本地网络中的打印机;打印机代理将打印机搜索结果上报给云桌面中的虚拟打印机,打印机搜索结果用于指示搜索到的打印机的信息;打印机代理接收虚拟打印机基于打印机搜索结果下发的作业任务,作业任务中包括任务执行者指示;打印机代理从本地网络中选择任务执行者指示所指示的打印机执行作业任务。In order to solve the above technical problems, an embodiment of the present application provides a printer usage method, which is applied to the printer agent on the client side, including: the printer agent searches for printers on the local network; the printer agent reports the printer search results to the virtual desktop in the cloud desktop Printer, the printer search result is used to indicate the information of the searched printer; the printer agent receives the job task issued by the virtual printer based on the printer search result, and the job task includes the task performer instruction; the printer agent selects the task performer instruction from the local network The indicated printer executes the job task.
本申请实施例还提供一种打印机使用方法,应用于云桌面中的虚拟打印机,该打印机使用方法包括:虚拟打印机接收客户端侧打印机代理上报的打印机搜索结果,打印机搜索结果用于指示打印机代理在其本地网络中搜索到的打印机的信息;虚拟打印机基于作业需求与打印机搜索结果生成作业任务,作业任务中包括任务执行者指示;虚拟打印机将作业任务下发给打印机代理。The embodiment of the present application also provides a printer usage method, which is applied to a virtual printer in a cloud desktop. The printer usage method includes: the virtual printer receives a printer search result reported by a client-side printer agent, and the printer search result is used to indicate that the printer agent is in Information of printers searched in its local network; virtual printers generate job tasks based on job requirements and printer search results, and the job tasks include instructions from the task performer; virtual printers deliver job tasks to printer agents.
本申请实施例还提供一种计算机设备,该计算机设备包括处理器、存储器及通信总线;通信总线用于实现处理器和存储器之间的连接通信;处理器用于执行存储器中存储的一个或者多个程序,以实现上述第一种打印机使用方法的步骤;或,处理器用于执行存储器中存储的一个或者多个程序,以实现上述第二种打印机使用方法的步骤。An embodiment of the present application also provides a computer device, which includes a processor, a memory, and a communication bus; the communication bus is used to implement connection and communication between the processor and the memory; the processor is used to execute one or more The program is used to implement the steps of the first printer using method; or, the processor is used to execute one or more programs stored in the memory to implement the steps of the second printer using method.
本申请实施例还提供一种云桌面打印系统,包括管理平台、N个打印机代理以及N个虚拟打印机,打印机代理与虚拟打印机之间形成一一对应的通信连接,管理平台与各虚拟打印机通信连接,N大于等于2;打印机代理能够实现上述第一种打印机使用方法;虚拟打印机能够实现上述第二种打印机使用方法;管理平台用于接收虚拟打印机上报的打印机搜索结果,根据打印机代理所在客户端的部署区域以及打印机搜索结果中的打印机部署位置对打印机搜索结果进行处理后得到的打印机指示信息,并将打印机指示信息发送给虚拟打印机,打印机指示信息能够指示打印机代理实际可用的打印机。The embodiment of the application also provides a cloud desktop printing system, including a management platform, N printer agents, and N virtual printers. The printer agents and virtual printers form a one-to-one correspondence communication connection, and the management platform communicates with each virtual printer. , N is greater than or equal to 2; the printer agent can implement the above-mentioned first printer usage method; the virtual printer can implement the above-mentioned second printer usage method; the management platform is used to receive the printer search results reported by the virtual printer, according to the deployment of the client where the printer agent is located The area and the printer deployment location in the printer search results are the printer instructions obtained after processing the printer search results, and send the printer instructions to the virtual printer. The printer instructions can indicate the printers that are actually available to the printer agent.
本申请实施例还提供一种存储介质,该存储介质存储有第一打印机使用程序和第二打印机使用程序中的至少一个,第一打印机使用程序可被一个或者多个处理器执行,以实现上述第一种打印机使用方法的步骤;第二打印机使用程序可被一个或者多个处理器执行,以实现上述第二种打印机使用方法的步骤。The embodiment of the present application also provides a storage medium that stores at least one of a first printer use program and a second printer use program. The first printer use program can be executed by one or more processors to realize the foregoing The steps of the first printer using method; the second printer using program can be executed by one or more processors to implement the steps of the second printer using method.
本申请其他特征和相应的有益效果在说明书的后面部分进行阐述说明,且应当理解,至少部分有益效果从本申请说明书中的记载变的显而易见。Other features and corresponding beneficial effects of this application are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects will become apparent from the description in the specification of this application.
附图说明Description of the drawings
图1为本申请实施例一中示出的相关技术中云桌面系统下的一种打印机使用示意图;FIG. 1 is a schematic diagram of using a printer in a cloud desktop system in the related technology shown in Embodiment 1 of this application;
图2为本申请实施例一中提供的打印机使用方法的一种交互流程图;2 is an interactive flowchart of the printer using method provided in Embodiment 1 of this application;
图3为本申请实施例一中提供的云桌面打印系统的一种示意图;3 is a schematic diagram of the cloud desktop printing system provided in Embodiment 1 of the application;
图4为本申请实施例一中提供的云桌面打印系统的另一种示意图;4 is another schematic diagram of the cloud desktop printing system provided in Embodiment 1 of the application;
图5为本申请实施例一中提供的管理平台与虚拟打印机之间的一种交互流程图;FIG. 5 is a flow chart of an interaction between the management platform and the virtual printer provided in the first embodiment of the application;
图6为本申请实施例一中提供的管理平台与虚拟打印机之间的另一种交互流程图;FIG. 6 is a flowchart of another interaction between the management platform and the virtual printer provided in the first embodiment of the application;
图7为本申请实施例二中提供的云桌面系统下的一种打印机使用示意图;FIG. 7 is a schematic diagram of using a printer in the cloud desktop system provided in the second embodiment of the application; FIG.
图8为本申请实施例二中提供的打印机使用方法的一种交互流程图;FIG. 8 is an interactive flowchart of the printer using method provided in the second embodiment of this application;
图9为本申请实施例三中提供的计算机设备的一种硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a computer device provided in Embodiment 3 of this application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,下面通过具体实施方式结合附图对本申请实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the objectives, technical solutions, and advantages of the present application clearer, the embodiments of the present application will be further described in detail below through specific implementations in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application.
实施例一Example one
计算机虚拟化技术主要包括服务器虚拟化、应用虚拟化、桌面虚拟化。目前网络虚拟化,显卡虚拟化等技术都在快速发展,物理设备将都支持虚拟化技术,以实现IAAS(Infrastructure as a Service,基础设施即服务),实现真正意义的云计算。Computer virtualization technology mainly includes server virtualization, application virtualization, and desktop virtualization. At present, technologies such as network virtualization and graphics card virtualization are developing rapidly, and physical devices will all support virtualization technology to realize IAAS (Infrastructure as a Service) and realize true cloud computing.
桌面虚拟化技术是当前发展最快的,也是最具应用前景的技术。桌面虚拟化技术(Desktop virtualization,或Virtual Desktop Infrastructure),是一种基于服务器的计算模型,其借用了传统的瘦客户端模型,可以将所有桌面虚拟机在数据中心进行托管并统一管理,同时用户又能够获得完整PC的使用体验。简单的来说,桌面虚拟化是支持企业级实现桌面系统的远程动态访问与数据中心统一托管的技术,使得用户可以通过任何设备,在任何地点,任何时间访问网络上的云桌面系统。Desktop virtualization technology is currently the fastest growing and most promising technology. Desktop virtualization technology (Desktop virtualization, or Virtual Desktop Infrastructure) is a server-based computing model, which borrows the traditional thin client model, and can host and manage all desktop virtual machines in the data center. At the same time, users You can get a complete PC experience. Simply put, desktop virtualization is a technology that supports enterprise-level remote dynamic access to desktop systems and unified hosting of data centers, allowing users to access cloud desktop systems on the network through any device, at any place, and at any time.
企业统一部署云桌面平台后,企业办公机构通过互联网或专网远程使用云桌面平台进行云桌面办公,企业机构本地的打印机可以连接瘦客户端,通过云桌面外设通用解决方案,如重定向技术,将与瘦客户端连接的打印机重定向到云桌面侧,从而使得用户可以在云桌面上使用到打印机。请参见图1示出的打印机使用的一种示意图。After the enterprise deploys the cloud desktop platform uniformly, the enterprise office organization can remotely use the cloud desktop platform for cloud desktop office through the Internet or private network. The local printer of the enterprise organization can be connected to the thin client, and the general solution of the cloud desktop peripherals, such as redirection technology , Redirect the printer connected to the thin client to the cloud desktop side, so that users can use the printer on the cloud desktop. Please refer to FIG. 1 showing a schematic diagram of the use of the printer.
在图1中,第一打印机11可以是USB接口、串口或者并口打印机中的任意一种,其连接到瘦客户端12上(图1中以实线示出二者之间的连接关系),瘦客户端12与云平台侧的云桌面13对应,二者之间通信连接。在瘦客户端12所在的网络中还存在PC14以及第二打印机15。In FIG. 1, the first printer 11 may be any one of a USB interface, a serial port or a parallel port printer, which is connected to the thin client 12 (the connection relationship between the two is shown by a solid line in FIG. 1), The thin client 12 corresponds to the cloud desktop 13 on the cloud platform side, and there is a communication connection between the two. A PC 14 and a second printer 15 also exist in the network where the thin client 12 is located.
第一打印机11可以通过重定向技术重定向到云桌面13侧,因此,使得云桌面13的用户,也即通过瘦客户端12在云桌面13上办公的用户可以使用第一打印机11。但是,因为第一打印机11被重定向到云桌面13侧,因此,PC 14就不能再使用第一打印机11。The first printer 11 can be redirected to the cloud desktop 13 side through the redirection technology, so that users of the cloud desktop 13, that is, users who work on the cloud desktop 13 through the thin client 12 can use the first printer 11. However, because the first printer 11 is redirected to the cloud desktop 13 side, the PC 14 can no longer use the first printer 11.
第二打印机15可以是网络打印机,与该第二打印机15处于同一网络的PC14可以使用该打印机,但由于网络打印机15没有重定向到云桌面13侧,其与云桌面13没有处于同一网络中,因此,云桌面13的用户无法使用该第二打印机15。The second printer 15 can be a network printer, and the PC 14 on the same network as the second printer 15 can use the printer, but since the network printer 15 is not redirected to the cloud desktop 13 side, it is not on the same network as the cloud desktop 13, Therefore, the user of the cloud desktop 13 cannot use the second printer 15.
为了解决相关云桌面打印方案中为了让云桌面使用客户端侧的打印机而将打印机重定向到云桌面侧之后导致客户端侧普通PC无法使用打印机,以及云桌面无法使用客户端侧 网络打印机的问题,本实施例提供一种打印机使用方法,请参见图2示出的该打印机使用方法的流程图。In order to solve the problem that in the related cloud desktop printing solution, in order to allow the cloud desktop to use the client side printer, the printer is redirected to the cloud desktop side, which causes the client side ordinary PC to be unable to use the printer, and the cloud desktop cannot use the client side network printer. This embodiment provides a method for using a printer, please refer to the flowchart of the method for using the printer shown in FIG. 2.
S202:打印机代理搜索本地网络中的打印机。S202: The printer agent searches for printers in the local network.
在本实施例中,打印机代理部署在客户端侧,其与部署在云桌面中的虚拟打印机一一对应,且可以相互通信。打印机代理可以对其本地网络中的打印机进行搜索,收集其可以访问的打印机的信息。在本实施例的一些示例当中,打印机代理进行打印机搜索的过程可以是在其登录云桌面之后再进行搜索得到搜索结果,也可以是先搜索得到搜索结果之后再登录云桌面,甚至还可以是在登录的同时就进行搜索。In this embodiment, the printer agent is deployed on the client side, which has a one-to-one correspondence with the virtual printers deployed in the cloud desktop, and can communicate with each other. The printer agent can search for printers in its local network and collect information about the printers it can access. In some examples of this embodiment, the process of the printer agent searching for printers can be to search for the search results after logging in to the cloud desktop, or to log in to the cloud desktop after searching for the search results, or even in the process of searching for the printer. Search while logging in.
需要说明的是,本实施例中的打印机可以是仅支持打印功能的设备,也可以是支持包括打印功能,但也支持复印、扫描等功能的设备。对于打印机的类型,本实施例中不进行严格限制,打印机代理搜索的打印机可以包括USB口的打印机、串口打印机、并口打印机,也可以包括网络打印机、共享打印机等。It should be noted that the printer in this embodiment may be a device that only supports a printing function, or a device that supports functions including a printing function but also supports functions such as copying and scanning. The type of printer is not strictly limited in this embodiment. The printers searched by the printer agent may include USB port printers, serial port printers, and parallel port printers, and may also include network printers, shared printers, and so on.
S204:打印机代理将打印机搜索结果上报给云桌面中的虚拟打印机。S204: The printer agent reports the printer search result to the virtual printer in the cloud desktop.
打印机代理搜索完成后,将打印机搜索结果上报给虚拟打印机。虚拟打印机部署在云桌面中,因为物理的打印机并不在云桌面侧,因此,云桌面上的虚拟打印机实际上类似于一个“应用程序”。在打印机搜索结果中可以包括打印机代理在本地网络中搜索到的各个打印机的标识信息(例如,打印机的名称或者是硬件标识等)。在本实施例的一些示例当中,在打印机搜索结果中还可以进一步包括搜索到的各打印机的部署位置。另外一些示例当中,打印机搜索结果中可以包括各打印机的类型,例如标识出各打印机是属于与打印机代理连接的本地打印机,还是网络打印机或者是共享打印机。在本实施例的一些示例当中,打印机搜索结果中也可以包括各打印机的品牌、型号等。毫无疑义的是,打印机搜索结果中所包含的信息也可以是上面一种或几种的组合。After the printer proxy search is completed, report the printer search results to the virtual printer. The virtual printer is deployed in the cloud desktop because the physical printer is not on the cloud desktop side. Therefore, the virtual printer on the cloud desktop is actually similar to an "application". The printer search results may include identification information of each printer (for example, the name of the printer or the hardware identification, etc.) that the printer agent has searched in the local network. In some examples of this embodiment, the printer search results may further include the deployment locations of the searched printers. In other examples, the printer search results may include the type of each printer, for example, identifying whether each printer belongs to a local printer connected to a printer agent, a network printer, or a shared printer. In some examples of this embodiment, the printer search results may also include the brand and model of each printer. There is no doubt that the information contained in the printer search results can also be one or a combination of the above.
S206:虚拟打印机基于作业需求与打印机搜索结果生成作业任务。S206: The virtual printer generates a job task based on the job requirement and the printer search result.
在虚拟打印机接收到打印机代理上报的打印机搜索结果之后,可以了解到打印机代理侧有哪些打印机,因此,当云桌面用户有作业需求的时候,虚拟打印机可以基于用户的作业需求与打印机代理上报的打印机搜索结果生成作业任务。可以理解的是,这里所说的作业需求可以包括打印需求、复印需求以及扫描需求中的至少一种,对应地,作业任务也就包括打印任务、复印任务以及扫描任务中的至少一种。在本实施例的一些示例当中,用户在作业需求中还会指示需求的细节,例如,假定用户当前的作业任务是打印任务,则其不仅会向虚拟打印机指示需求为打印需求,还会指示打印对象、打印的份数、打印的方式(如是否双面打印,以及双面打印时翻页的方式)等。After the virtual printer receives the printer search results reported by the printer agent, it can learn which printers are on the printer agent side. Therefore, when the cloud desktop user has job requirements, the virtual printer can be based on the user's job requirements and the printer reported by the printer agent The search results generate job tasks. It is understandable that the job requirements mentioned here may include at least one of printing requirements, copying requirements, and scanning requirements. Correspondingly, the job tasks also include at least one of printing tasks, copying tasks, and scanning tasks. In some examples of this embodiment, the user will also indicate the details of the requirement in the job requirement. For example, assuming that the user’s current job task is a printing task, it will not only indicate to the virtual printer that the requirement is a printing requirement, but also instruct printing. The object, the number of copies to be printed, the printing method (such as whether to print on both sides, and the way to turn pages when printing on both sides), etc.
在本实施例的一些示例当中,虚拟打印机在接收到用户下发的作业需求之后,可以基于自己从打印机搜索结果中所了解的打印机的信息,自动为用户的此次作业任务选择一个作业执行者,在这种方案当中,云桌面的用户不需要了解打印机代理侧打印机的情况,虚拟打印机也不需要将打印机搜索结果中的打印机信息呈现给用户。In some examples of this embodiment, after the virtual printer receives the job request issued by the user, it can automatically select a job executor for the user's current job task based on the printer information it knows from the printer search results In this solution, the user of the cloud desktop does not need to know the situation of the printer on the agent side, and the virtual printer does not need to present the printer information in the printer search result to the user.
不过,可以理解的是,如果打印机代理侧只有一台打印机或者打印机数目很少,且彼此距离也不是很远,则在虚拟打印机自动为用户的作业需求选择任务执行者,该任务执行者执行作业任务之后,用户可以很容易找到完成自己作业任务的打印机是哪一个。但如果打印机代理侧的打印机非常多,或者彼此距离较远,则当虚拟打印机自动选择了任务执行者之后,用户并不清楚帮助自己实现作业任务的是哪一个打印机,因此,对于用户而言很不方便。在本实施例的一些示例当中,虚拟打印机可以在选择了任务执行者之后再将任务执行者的信息告知给云桌面用户,这样用户就能知道目前帮助自己实现作业需求的打印机是哪一台,在部分示例当中,用户还可以了解到该打印机的部署位置,甚至是品牌型号等。However, it is understandable that if there is only one printer on the printer agent side or the number of printers is small, and the distance between them is not very far, the virtual printer automatically selects the task performer for the user's job requirements, and the task performer executes the job After the task, the user can easily find out which printer is used to complete the task. However, if there are a lot of printers on the printer agent side, or they are far away from each other, when the virtual printer automatically selects the task performer, the user does not know which printer is helping him to achieve the job task. Therefore, it is very important for the user. inconvenient. In some examples of this embodiment, the virtual printer can inform the cloud desktop user of the task performer after the task performer is selected, so that the user can know which printer is currently helping him achieve his job requirements. In some examples, users can also learn where the printer is deployed, and even the brand model.
在本实施例的另外一些示例当中,虚拟打印机接收到打印机代理侧上报的打印机搜索结果之后,可以将打印机搜索结果中打印机的信息呈现给用户。例如,在本实施例的一些示例当中,在用户从云桌面上启动虚拟打印机之后,虚拟打印机可以将打印机搜索结果中的打印机信息显示出来,供用户了解打印机信息,进而自己选择对其最为方便的打印机执行作业任务。所以,在这些示例当中,用户不仅会向虚拟打印机下发自己的打印需求,也会向虚拟打印机指示自己所选择的任务执行者。In some other examples of this embodiment, after the virtual printer receives the printer search result reported by the printer agent side, it can present the printer information in the printer search result to the user. For example, in some examples of this embodiment, after the user starts the virtual printer from the cloud desktop, the virtual printer can display the printer information in the printer search results, so that the user can understand the printer information, and then choose the most convenient one. The printer performs job tasks. Therefore, in these examples, the user will not only issue his printing requirements to the virtual printer, but also indicate the task performer he has selected to the virtual printer.
S208:虚拟打印机将作业任务下发给打印机代理。S208: The virtual printer issues the job task to the printer agent.
虚拟打印机基于用户的作业需求以及打印机搜索结果生成作业任务之后,可以将作业任务下发给打印机代理。在本实施例中,因为虚拟打印机部署在云桌面中,因此,虚拟打印机与打印机代理之间的交互实际上就是云桌面与打印机代理的交互,二者之间的信息交互可以基于远程桌面传输协议实现。After the virtual printer generates a job task based on the user's job requirements and printer search results, it can deliver the job task to the printer agent. In this embodiment, because the virtual printer is deployed in the cloud desktop, the interaction between the virtual printer and the printer agent is actually the interaction between the cloud desktop and the printer agent, and the information interaction between the two can be based on the remote desktop transfer protocol achieve.
S210:打印机代理从本地网络中选择任务执行者指示所指示的打印机执行作业任务。S210: The printer agent selects the task performer from the local network and instructs the instructed printer to perform the job task.
打印机代理在接收到虚拟打印机下发的作业任务之后,可以从作业任务中获取到任务执行者指示,任务执行者指示用于指示执行此次作业任务的打印机,所以,打印机代理可以从本地网络中选择任务执行者指示对应的打印机执行该作业任务。After the printer agent receives the job task issued by the virtual printer, it can obtain the task performer's instruction from the job task. The task performer's instruction is used to instruct the printer to perform the job task. Therefore, the printer agent can get from the local network Select the task performer to instruct the corresponding printer to perform the job task.
本实施例中通过在云桌面侧部署虚拟打印机,在客户端侧设置打印机代理,从而形成云桌面打印系统,请参见图3示出的云桌面打印系统的一种示意图:云桌面打印系统3包括虚拟打印机31以及打印机代理32,虚拟打印机31接收打印机代理32上报的打印机搜索结果,基于打印机搜索结果了解客户端侧的打印机部署情况,随后根据云桌面用户的作 业需求生成并下发作业任务;打印机代理32在客户端侧搜索打印机的信息上报给云桌面侧的虚拟打印机31,并接收云桌面侧下发的作业任务,代理完成任务,从而使得云桌面用户可以在客户端侧的打印机未被重定向到云桌面侧的情况下实现打印机作业任务,这样不仅不需要将客户端侧的本地打印机重定向到云桌面侧,让客户端侧的普通终端设备也可以使用本地打印机,同时,云桌面侧还可以使用到客户端侧的网络打印机等。基于云桌面打印系统3可以扩展打印机的使用场景,提升打印机的利用率,优化资源配置,降低系统成本。In this embodiment, a virtual printer is deployed on the cloud desktop side and a printer proxy is set on the client side to form a cloud desktop printing system. Please refer to a schematic diagram of the cloud desktop printing system shown in Figure 3: the cloud desktop printing system 3 includes The virtual printer 31 and the printer agent 32. The virtual printer 31 receives the printer search results reported by the printer agent 32, understands the printer deployment situation on the client side based on the printer search results, and then generates and issues job tasks according to the job requirements of the cloud desktop user; The agent 32 searches the printer information on the client side and reports it to the virtual printer 31 on the cloud desktop side, and receives the job task issued by the cloud desktop side. The printer job task is realized in the case of being directed to the cloud desktop side. This not only does not need to redirect the local printer on the client side to the cloud desktop side, but also allows ordinary terminal devices on the client side to use local printers. At the same time, the cloud desktop side You can also use network printers on the client side. The cloud-based desktop printing system 3 can expand the usage scenarios of printers, improve printer utilization, optimize resource allocation, and reduce system costs.
在本实施例的另外一些示例当中,云桌面打印系统中还可以包括管理平台,管理平台可以各个云桌面上的虚拟打印机进行管理。所以在本实施例的一些示例当中,请参见图4,云桌面打印系统4中包括管理平台40、N个虚拟打印机41以及N个打印机代理42,N大于等于2。虚拟打印机41与打印机代理42成对,每对虚拟打印机与打印机代理之间形成一一对应的通信连接,各虚拟打印机41又与管理平台40通信连接,接收管理平台40的管理。In some other examples of this embodiment, the cloud desktop printing system may also include a management platform, and the management platform may manage virtual printers on each cloud desktop. Therefore, in some examples of this embodiment, referring to FIG. 4, the cloud desktop printing system 4 includes a management platform 40, N virtual printers 41, and N printer agents 42, and N is greater than or equal to 2. The virtual printer 41 and the printer agent 42 form a pair, and each pair of virtual printers and the printer agent form a one-to-one communication connection, and each virtual printer 41 is in communication connection with the management platform 40 to receive the management of the management platform 40.
在本实施例的一些示例当中,管理平台40会对打印机代理42上报的打印机搜索结果进行管理,下面请参见图5示出的管理平台40与虚拟打印机41之间的一种交互流程图。In some examples of this embodiment, the management platform 40 manages the printer search results reported by the printer agent 42. Please refer to an interaction flowchart between the management platform 40 and the virtual printer 41 shown in FIG. 5 below.
S502:虚拟打印机将打印机搜索结果上报至管理平台。S502: The virtual printer reports the printer search result to the management platform.
在这些示例当中,虚拟打印机在接收到打印机代理上报的打印机搜索结果之后,可以将该打印机搜索结果上报给管理平台,从而管理平台也获知打印机代理侧的打印机设备部署情况。In these examples, after the virtual printer receives the printer search result reported by the printer agent, it can report the printer search result to the management platform, so that the management platform also knows the printer device deployment status on the printer agent side.
S504:管理平台根据客户端的部署区域以及打印机搜索结果中的打印机部署位置对打印机搜索结果进行处理后得到打印机指示信息。S504: The management platform processes the printer search result according to the deployment area of the client and the printer deployment location in the printer search result to obtain printer indication information.
在这些示例当中,打印机搜索结果中不仅包括各打印机的标识信息,还可以包括各打印机的部署位置,管理平台在获取到打印机搜索结果之后,就可以确定出打印机代理所搜索到的各个打印机的物理位置。同时,因为管理平台能够获取到各客户端的部署区域,因此,基于客户端的部署区域以及各打印机的部署位置,管理平台可以确定客户端与各打印机的距离(或者是自客户端所在位置到达打印机的难度),随后基于距离进行筛选,管理平台可以确定出客户端实际可用的打印机。然后管理平台可以基于客户端实际可用的打印机生成打印机指示信息,利用打印机指示信息向对应的虚拟打印机指示打印机代理实际可用的打印机。In these examples, the printer search results include not only the identification information of each printer, but also the deployment location of each printer. After obtaining the printer search results, the management platform can determine the physical properties of each printer searched by the printer agent. position. At the same time, because the management platform can obtain the deployment area of each client, based on the deployment area of the client and the deployment location of each printer, the management platform can determine the distance between the client and each printer (or the distance between the client and the printer from the location of the client). Difficulty), and then filter based on distance, the management platform can determine the actual printers available to the client. Then the management platform can generate printer indication information based on the printers actually available on the client, and use the printer indication information to indicate to the corresponding virtual printer the printers actually available to the printer agent.
在本实施例的一些示例当中,管理平台可以直接将打印机代理实际不能用的打印机从打印机搜索结果中删除,仅保留哪些实际可用的打印机,从而得到打印机指示信息,所以,在这些示例当中,打印机指示信息实际就是打印机搜索结果的删减版。In some examples of this embodiment, the management platform can directly delete printers that are actually unavailable by the printer agent from the printer search results, and only keep the printers that are actually available, so as to obtain printer instructions. Therefore, in these examples, the printer The instructions are actually a shortened version of the printer search results.
在另外一些示例当中,管理平台在确定打印机搜索结果中哪些打印机是客户端实际可用的,哪些是客户端实际不可用的,其可以对各打印机进行标记,从而生成打印机指示信息,例如,在一种示例当中,打印机指示信息中还是包括打印机搜搜结果中全部打印机的信息,不过其中一部分打印机被打上了“不可用”的标识。In other examples, the management platform determines which printers in the printer search results are actually available to the client and which are actually unavailable to the client. It can mark each printer to generate printer instructions, for example, In this example, the printer instruction information still includes the information of all printers in the printer search results, but some of the printers are marked as "unavailable".
S506:管理平台将打印机指示信息发送给虚拟打印机。S506: The management platform sends the printer instruction information to the virtual printer.
管理平台生成打印机指示信息之后,可以将打印机展示发送给对应的虚拟打印机(也即上报打印机搜索结果的虚拟打印机),虚拟打印机接收到打印机指示信息之后,可以将打印机指示信息显示给用户,以供用户选择任务执行者的时候可以参考。当然,根据前面的介绍可知,在一些示例当中,选择任务执行者的过程是由虚拟打印机自己完成的,那么在这些示例当中,虚拟打印机接收到打印机指示信息之后,就可以不用将打印机指示信息展示给用户,而是自己在为用户的作业需求选择对应的任务执行者的时候使用。After the management platform generates printer instructions, it can send the printer display to the corresponding virtual printer (that is, the virtual printer that reports the printer search results). After receiving the printer instructions, the virtual printer can display the printer instructions to the user for The user can refer to it when selecting the task performer. Of course, according to the previous introduction, in some examples, the process of selecting the task performer is completed by the virtual printer itself. In these examples, the virtual printer does not need to display the printer instructions after receiving the printer instructions. For the user, it is used when selecting the corresponding task performer for the user's job requirements.
在上述示例当中,管理平台主要是对各虚拟打印机对应的打印机的可用性进行管理,但在其他一些示例当中,管理平台还可以对其他事务进行管理。例如,虚拟打印机在生成作业任务之后,可以将作业任务上报给管理平台。在部分示例当中,虚拟打印机向管理平台上报作业任务仅仅是为了让管理平台对作业任务进行记录,因此,在这些示例当中,虚拟打印机可以在生成作业任务后,向打印机代理下发作业任务之前就将作业任务上报给管理平台,也可以先将作业任务下发给打印机代理然后再将作业任务上报给管理平台。在另外一些示例当中,虚拟打印机进行作业任务的下发与上报是同步进行的。In the above examples, the management platform mainly manages the availability of the printers corresponding to each virtual printer, but in some other examples, the management platform can also manage other affairs. For example, after the virtual printer generates the job task, it can report the job task to the management platform. In some examples, the virtual printer reports job tasks to the management platform only for the purpose of allowing the management platform to record the job tasks. Therefore, in these examples, the virtual printer can generate the job task before sending it to the printer agent. Report the job task to the management platform, or first send the job task to the printer agent and then report the job task to the management platform. In some other examples, the virtual printer performs job task issuance and report simultaneously.
在本实施例的另外一些示例当中,如果虚拟打印机生成的作业任务是打印任务,则在虚拟打印机将打印任务上报管理平台之后,管理平台可以对打印任务中涉及的打印内容进行记录,例如可以对待打印的内容进行存档。如果作业任务是扫描任务或者是复印任务,则在一些示例当中,打印机代理可以在完成作业任务之后将复印的内容或扫描的内容作为作业结果上传给虚拟打印机,虚拟打印机可以在接收到打印机代理反馈的作业结果之后,再将作业结果上传给管理平台进行存档。In some other examples of this embodiment, if the job task generated by the virtual printer is a printing task, after the virtual printer reports the printing task to the management platform, the management platform can record the printing content involved in the printing task, for example, it can treat The printed content is archived. If the job task is a scan task or a copy task, in some examples, the printer agent can upload the copied content or scanned content as the job result to the virtual printer after completing the job task, and the virtual printer can receive feedback from the printer agent After the result of the operation, upload the result of the operation to the management platform for archiving.
在上述示例当中,虚拟打印机向管理平台上报作业任务的时序可以任意,这主要是因为管理平台仅对作业任务进行记录或者是对打印内容进行记录,但在本实施例的另外一些示例当中,管理平台还可以对作业任务进行审核,请参见图6示出的一种流程图。In the above examples, the timing of the virtual printer reporting job tasks to the management platform can be arbitrary. This is mainly because the management platform only records the job tasks or records the print content. However, in other examples of this embodiment, the management The platform can also review the job tasks, please refer to a flow chart shown in FIG. 6.
S602:虚拟打印机将作业任务上报至管理平台。S602: The virtual printer reports the job task to the management platform.
S604:管理平台基于用户权限和打印机权限中的至少一个对作业任务进行审核。S604: The management platform reviews the job task based on at least one of the user authority and the printer authority.
S606:管理平台基于审核结果向虚拟打印机反馈作业指示。S606: The management platform feeds back a job instruction to the virtual printer based on the audit result.
例如,以企业级管理平台为例,因为企业中各职工有不同的权限,所以管理平台可以基于用户权限对作业任务进行审核,用户是否有对应的作业权限;或者因为不同的打印机具有不同的保密性能,因此,在处理涉密文件的时候,各打印机也有不同的权限,管理平台可以基于打印机的权限对当前的作业任务进行审核,判断对应的任务执行者是否有资格执行对应的任务。如果判断结果(也即审核结果)为是,则可以向虚拟打印机反馈许可指示作为作业指示,如果判断结果为否,则可以向虚拟打印机反馈禁止指示作为作业指示。虚拟打印机只有在接收到表示肯定的许可指示之后才会继续向客户端侧的打印机代理下发作业任务,否则,虚拟打印机可以拒绝继续执行作业任务,例如,其可以在云桌面上用户反馈用户权限不足的提示信息或者是打印机权限不足的信息。For example, take the enterprise-level management platform as an example. Because each employee in the enterprise has different permissions, the management platform can review job tasks based on user permissions and whether users have corresponding job permissions; or because different printers have different confidentiality Therefore, when processing confidential documents, each printer has different permissions. The management platform can review the current job tasks based on the printer permissions and determine whether the corresponding task performer is qualified to perform the corresponding task. If the judgment result (that is, the audit result) is yes, the permission instruction can be fed back to the virtual printer as the job instruction, and if the judgment result is no, the prohibition instruction can be fed back to the virtual printer as the job instruction. The virtual printer will continue to deliver job tasks to the printer agent on the client side only after receiving a positive permission instruction. Otherwise, the virtual printer can refuse to continue to perform job tasks. For example, it can report user permissions on the cloud desktop. Insufficient prompt message or information about insufficient printer authority.
本实施例提供的打印机使用方法,因为无需利用重定向技术将客户端侧的打印机重定向至云桌面侧,因此,客户端侧本地的普通PC可以使用这些打印机,同时,因为云桌面侧也可以基于打印机代理与虚拟打印机的配合实现打印机的使用,并且,使用的打印机不仅限于客户端侧的本地打印机,还包括网络打印机、共享打印机等,因此能够避免重复部署打印机,降低了打印成本,有利于资源优化配置的实现。The printer usage method provided in this embodiment does not need to use redirection technology to redirect the printer on the client side to the cloud desktop side. Therefore, the local ordinary PC on the client side can use these printers, and at the same time, because the cloud desktop side can also The use of printers is realized based on the cooperation of printer agents and virtual printers, and the printers used are not limited to the local printers on the client side, but also include network printers, shared printers, etc., thus avoiding repeated deployment of printers, reducing printing costs, and benefiting Realization of optimal allocation of resources.
而且,针对众多云桌面的众多虚拟打印机,可以设置管理平台来进行管理,这对于企业、政府等机构而言,能够更好地进行打印机资源的管理、作业任务的统计与存档,有利于机构物理资产和信息安全的维护。Moreover, for the many virtual printers of many cloud desktops, a management platform can be set up for management. For enterprises, governments and other institutions, it can better manage printer resources, count and archive job tasks, and benefit the physical organization of the organization. Maintenance of asset and information security.
实施例二Example two
为了使本领域技术人员能够更清楚前述打印机使用方法以及云桌面打印系统的优点与细节,本实施例将结合示例继续对前述云桌面打印方案进行阐述,请参见图7示出的一种打印机使用示意图。In order to enable those skilled in the art to be more clear about the aforementioned printer usage method and the advantages and details of the cloud desktop printing system, this embodiment will continue to describe the aforementioned cloud desktop printing solution with examples. Please refer to the printer usage shown in FIG. 7 Schematic.
在图7中,第一打印机77可以是USB接口、串口或者并口打印机中的任意一种,其连接到瘦客户端72上,在瘦客户端72所在的网络中还存在PC 74以及第二打印机75,第二打印机75为共享打印机或者是网络打印机。客户端72与云平台侧的云桌面73对应,二者之间通信连接。客户端72上部署有打印机代理,而云桌面73上部署有虚拟打印机。在云平台侧还部署有用于对虚拟打印机进行管理的管理平台76。In FIG. 7, the first printer 77 can be any one of a USB interface, a serial port, or a parallel port printer, and it is connected to the thin client 72. There are also a PC 74 and a second printer in the network where the thin client 72 is located. 75. The second printer 75 is a shared printer or a network printer. The client 72 corresponds to the cloud desktop 73 on the cloud platform side, and there is a communication connection between the two. A printer agent is deployed on the client 72, and a virtual printer is deployed on the cloud desktop 73. A management platform 76 for managing virtual printers is also deployed on the cloud platform side.
假定本实施例中用户的作业需求是打印需求,下面结合图8示出的打印机使用方法的一种交互流程图。Assuming that the job requirement of the user in this embodiment is a printing requirement, an interactive flowchart of the printer usage method is shown below in conjunction with FIG. 8.
S802:客户端登录云桌面。S802: The client logs in to the cloud desktop.
S804:打印机代理搜索本地网络中自己可访问的打印机。S804: The printer agent searches for printers accessible by itself in the local network.
打印机代理搜索的打印机包括网络打印机、共享打印机、以及与客户端直连的打印机等。在本实施例中,打印机代理可以搜索到第一打印机77以及第二打印机75,其可以将这两个打印机的信息都包含在搜索结果中。Printers searched by the printer proxy include network printers, shared printers, and printers directly connected to the client. In this embodiment, the printer agent can search for the first printer 77 and the second printer 75, and it can include the information of both printers in the search result.
S806:打印机代理把打印机搜索结果上传给虚拟打印机。S806: The printer agent uploads the printer search result to the virtual printer.
S808:虚拟打印机将打印机搜索结果上传给管理平台。S808: The virtual printer uploads the printer search result to the management platform.
S810:管理平台对打印机搜索结果进行处理,生成打印机指示信息。S810: The management platform processes the printer search result, and generates printer instruction information.
S812:管理平台将打印机指示信息发送给虚拟打印机。S812: The management platform sends the printer instruction information to the virtual printer.
S814:虚拟打印机在用户有打印需求的时候显示打印机指示信息。S814: The virtual printer displays printer instruction information when the user has a printing demand.
S816:虚拟打印机基于用户的打印需求以及用户选择的任务执行者生成打印任务。S816: The virtual printer generates a printing task based on the printing requirements of the user and the task performer selected by the user.
S818:虚拟打印机将打印任务上传给管理平台。S818: The virtual printer uploads the printing task to the management platform.
S820:管理平台对打印任务进行记录,对打印内容进行存档,并审核打印任务是否可以执行。S820: The management platform records the printing task, archives the printing content, and reviews whether the printing task can be executed.
在本实施例中,管理平台既会对打印任务进行记录,对打印内容进行存档,又会对打印任务做审核,但在本实施例的其他一些示例当中,管理平台可以仅执行其中部分的管理实务。In this embodiment, the management platform not only records the printing tasks, archives the printing content, but also audits the printing tasks, but in some other examples of this embodiment, the management platform may only perform part of the management. Practice.
S822:管理平台向虚拟打印机反馈允许指示。S822: The management platform feeds back the permission instruction to the virtual printer.
本实施例中假定管理平台对打印任务的审核通过,因此其可以向虚拟打印机反馈允许指示。但如果管理平台对打印任务的审核没有通过,则其可以向虚拟打印机反馈禁止指示。虚拟打印机接收到禁止指示之后可以关闭打印任务,并向用户发出提示,提示用户打印任务被关闭的原因。In this embodiment, it is assumed that the management platform has passed the review of the print task, so it can feed back the permission instruction to the virtual printer. However, if the management platform fails to pass the review of the print task, it can feed back the prohibition instruction to the virtual printer. After receiving the prohibition instruction, the virtual printer can close the print task, and send a prompt to the user, prompting the user the reason for the closing of the print task.
S824:虚拟打印机根据允许指示将打印任务下发给打印机代理。S824: The virtual printer issues the printing task to the printer agent according to the permission instruction.
S826:打印机代理从本地网络中选择对应的打印机执行打印任务。S826: The printer agent selects the corresponding printer from the local network to execute the printing task.
在本实施例中,通过打印机代理的搜索,可以让云桌面侧获取到第一打印机与第二打印机的信息,并在云桌面用户有打印需求的时候,根据需要从第一打印机与第二打印机中选择执行打印任务的设备,这样,在没有对打印机进行重定向的基础上,就可以让云桌面用户使用到第一打印机与第二打印机。同时,也正因为没有将第一打印机重定向到云桌面侧,因此PC不仅可以使用第二打印机,还可以使用到第一打印机。所以,通过本实施例提供的这种打印机使用方案,在不增加硬件成本的基础上,可以有效利用已有打印机为用户提供服务,让用户在进行打印作业的时候更方面、更灵活、更有选择权,增强了用户体 验。In this embodiment, through the search of the printer agent, the cloud desktop side can obtain the information of the first printer and the second printer, and when the cloud desktop user has a printing demand, the first printer and the second printer can be obtained from the first printer and the second printer as needed. Select the device that executes the printing task in, so that the cloud desktop user can use the first printer and the second printer without redirecting the printer. At the same time, because the first printer is not redirected to the cloud desktop side, the PC can not only use the second printer, but also the first printer. Therefore, the printer use solution provided by this embodiment can effectively utilize existing printers to provide services to users without increasing hardware costs, allowing users to be more versatile, flexible, and more flexible when performing print jobs. The right to choose enhances the user experience.
实施例三Example three
本实施例提供一种存储介质,该存储介质中可以存储有一个或多个可供一个或多个处理器读取、编译并执行的计算机程序,在本实施例中,该计算机可读存储介质可以存储有第一打印机使用程序和第二打印机使用程序中的至少一个,第一打印机使用程序可供一个或多个处理器执行实现前述实施例介绍的任意一种打印机使用方法打印机代理侧的流程;第二打印机使用程序可供一个或多个处理器执行实现前述实施例介绍的任意一种打印机使用方法虚拟打印机侧的流程。This embodiment provides a storage medium that can store one or more computer programs that can be read, compiled, and executed by one or more processors. In this embodiment, the computer-readable storage medium At least one of the first printer usage program and the second printer usage program may be stored, and the first printer usage program can be executed by one or more processors to implement any of the printer usage methods described in the foregoing embodiments. The process on the printer agent side ; The second printer using program can be used by one or more processors to execute the virtual printer side process of any one of the printer using methods introduced in the foregoing embodiments.
本实施例中还提供一种计算机设备,如图9所示:计算机设备90包括处理器91、存储器92以及用于连接处理器91与存储器92的通信总线93,其中存储器92可以为前述存储有打印机使用程序的存储介质。This embodiment also provides a computer device, as shown in FIG. 9: the computer device 90 includes a processor 91, a memory 92, and a communication bus 93 for connecting the processor 91 and the memory 92, where the memory 92 may be the aforementioned storage The printer uses the storage medium of the program.
处理器91可以读取第一打印机使用程序,进行编译并执行实现前述实施例中介绍的打印机使用方法打印机代理侧的流程,在这种情况下,计算机设备90即为云桌面系统中的客户端,其上部署有打印机代理。The processor 91 can read the first printer usage program, compile and execute the process on the printer agent side to implement the printer usage method introduced in the foregoing embodiment. In this case, the computer device 90 is the client in the cloud desktop system. , On which the printer agent is deployed.
处理器91可以搜索本地网络中的打印机,然后将打印机搜索结果上报给云桌面中的虚拟打印机,其中打印机搜索结果用于指示搜索到的打印机的信息。随后,处理器91可以接收虚拟打印机基于打印机搜索结果下发的作业任务,并从本地网络中选择任务执行者指示所指示的打印机执行作业任务。The processor 91 may search for printers in the local network, and then report the printer search result to the virtual printer in the cloud desktop, where the printer search result is used to indicate the information of the searched printer. Subsequently, the processor 91 may receive the job task issued by the virtual printer based on the printer search result, and select the printer indicated by the job executor from the local network to perform the job task.
处理器91可以读取第二打印机使用程序,进行编译并执行实现前述实施例中介绍的打印机使用方法虚拟打印机侧的流程,在这种情况下,计算机设备90可以是服务器,其提供云桌面系统中的云桌面,其上部署有打印机代理。The processor 91 can read the second printer usage program, compile and execute the process for implementing the virtual printer side of the printer usage method introduced in the foregoing embodiment. In this case, the computer device 90 can be a server, which provides a cloud desktop system The cloud desktop in, the printer agent is deployed on it.
处理器91接收客户端侧打印机代理上报的打印机搜索结果,其中,打印机搜索结果用于指示打印机代理在其本地网络中搜索到的打印机的信息。随后处理器91基于作业需求与打印机搜索结果生成作业任务,作业任务中包括任务执行者指示,并将作业任务下发给打印机代理。The processor 91 receives the printer search result reported by the client-side printer agent, where the printer search result is used to indicate the printer information that the printer agent has searched for in its local network. Subsequently, the processor 91 generates a job task based on the job requirement and the printer search result, the job task includes the instruction of the task performer, and sends the job task to the printer agent.
在本实施例的一些示例当中,,打印机搜索结果中包括搜索到的打印机的部署位置,处理器91接收打印机代理上报的打印机搜索结果之后,还可以将打印机搜索结果上报至管理平台,然后接收管理平台根据客户端的部署区域以及打印机的部署位置对打印机搜索结果进行处理后得到的打印机指示信息,打印机指示信息能够指示打印机代理实际可用的打印机。处理器91可以向用户显示管理平台发送的打印机指示信息,供用户选择作业任务的任 务执行者。In some examples of this embodiment, the printer search result includes the location of the printer searched for. After the processor 91 receives the printer search result reported by the printer agent, it may also report the printer search result to the management platform, and then receive management. The printer instruction information obtained after the platform processes the printer search results according to the deployment area of the client and the deployment location of the printer. The printer instruction information can indicate the printers that are actually available to the printer agent. The processor 91 can display the printer instruction information sent by the management platform to the user for the user to select the task performer of the job task.
在本实施例的一些示例当中,处理器91基于作业需求与打印机搜索结果生成作业任务之后,还可以将作业任务上报至管理平台。In some examples of this embodiment, after the processor 91 generates the job task based on the job requirement and the printer search result, it may also report the job task to the management platform.
在一种示例当中,处理器91将作业任务上报至管理平台之后,可以接收管理平台基于用户权限和/或打印机权限针对作业任务下发的许可指示,许可指示表征允许处理器91向打印机代理下发作业任务,因此,处理器91可以将自己生成的作业任务下发给打印机代理。In an example, after the processor 91 reports the job task to the management platform, it can receive a permission instruction issued by the management platform for the job task based on the user authority and/or printer authority. The permission instruction signifies that the processor 91 is allowed to download to the printer agent. The job task is issued. Therefore, the processor 91 can deliver the job task generated by the processor 91 to the printer agent.
在本实施例中,打印机代理所搜索到的打印机所支持的作业任务包括打印任务、复印任务以及扫描任务中的至少一种。In this embodiment, the job tasks supported by the printer searched by the printer agent include at least one of a printing task, a copying task, and a scanning task.
处理器91实现打印技术使用方法的其他细节可以参见前述实施例的介绍,这里不再赘述。For other details of the method of using the printing technology implemented by the processor 91, reference may be made to the introduction of the foregoing embodiment, which will not be repeated here.
本申请的有益效果是:根据本申请实施例提供的打印机使用方法、计算机设备、云桌面打印系统及存储介质,通过打印机代理搜索本地网络中的打印机,然后将打印机搜索结果上报给云桌面中的虚拟打印机,由于打印机搜索结果可以指示打印机代理在其本地网络中搜索到的打印机的信息,因此,基于打印机代理上报的打印机搜索结果可以使得云桌面侧可以了解打印机代理侧的打印设备信息,然后在用户有需求的时候,接收基于打印机搜索结果下发的作业任务,并将作业任务下发给打印机代理,在作业任务中通过任务执行者指示向打印机代理指示执行作业任务的打印机,让打印机代理从本地网络中选择指示的打印机,执行作业任务。基于本实施例提供的计算机设备以及打印机使用方案,不需要将打印机代理侧的打印机重定向到云桌面侧,因此,打印机代理侧,也即客户端侧的普通终端设备可以继续使用这些打印机设备。同时,云桌面侧可以基于打印机代理上报的打印机搜索结果了解到打印机代理侧的打印机的信息,在有作业需求的时候,利用打印机代理作为“代理”,代理作业,从而将云桌面用户的作业任务转换成与打印机处于同一网络中的打印机代理的作业任务,使得云桌面用户也可以享受到打印机提供的服务,扩展了打印机的应用场景,提升了打印机的利用率,在没有增加硬件成本的基础上同时保障了云桌面侧的作业需求与本地普通终端的作业需求,增强了用户体验。The beneficial effects of this application are: according to the printer usage method, computer equipment, cloud desktop printing system and storage medium provided by the embodiments of this application, the printer agent in the local network is searched for printers, and then the printer search results are reported to the cloud desktop For virtual printers, because the printer search results can indicate the printer information that the printer agent has searched in its local network, the printer search results reported by the printer agent can enable the cloud desktop side to learn about the printing device information on the printer agent side. When the user has demand, he receives the job task issued based on the search results of the printer, and sends the job task to the printer agent. In the job task, the printer agent is instructed by the task executor to indicate the printer that executes the job task, and the printer agent will Select the indicated printer in the local network and execute the job task. Based on the computer device and printer usage solution provided in this embodiment, there is no need to redirect printers on the printer proxy side to the cloud desktop side. Therefore, the printer proxy side, that is, the ordinary terminal devices on the client side can continue to use these printer devices. At the same time, the cloud desktop side can learn about the printer information on the printer agent side based on the printer search results reported by the printer agent. When there is a job requirement, the printer agent can be used as an "agent" to act as an agent to perform the job tasks of the cloud desktop user. Converted to the job task of the printer agent in the same network as the printer, so that cloud desktop users can also enjoy the services provided by the printer, expand the application scenarios of the printer, and improve the utilization rate of the printer without increasing the hardware cost. At the same time, the operation requirements of the cloud desktop side and the operation requirements of local ordinary terminals are guaranteed, and the user experience is enhanced.
显然,本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或 者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM,数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。所以,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that all or some of the steps, functional modules/units in the system and the device in the method disclosed above can be implemented as software (which can be implemented by the program code executable by the computing device) , Firmware, hardware and their appropriate combination. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable medium and executed by a computing device. In some cases, the steps shown or described may be executed in a different order than here. The computer-readable medium may include computer storage Medium (or non-transitory medium) and communication medium (or temporary medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media. Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. . Therefore, this application is not limited to any specific combination of hardware and software.
以上内容是结合具体实施方式对本申请实施例所作的进一步详细说明,不能认定本申请的具体实施只局限于这些说明。对于本申请所属技术领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本申请的保护范围。The above content is a further detailed description of the embodiments of the application in combination with the specific implementations, and it cannot be considered that the specific implementations of the application are limited to these descriptions. For those of ordinary skill in the technical field to which this application belongs, a number of simple deductions or substitutions can be made without departing from the concept of this application, which should be regarded as falling within the protection scope of this application.

Claims (10)

  1. 一种打印机使用方法,应用于客户端侧的打印机代理,包括:A printer usage method applied to the printer agent on the client side, including:
    打印机代理搜索本地网络中的打印机;Printer agent searches for printers in the local network;
    所述打印机代理将打印机搜索结果上报给云桌面中的虚拟打印机,所述打印机搜索结果用于指示搜索到的打印机的信息;The printer agent reports the printer search result to the virtual printer in the cloud desktop, and the printer search result is used to indicate the information of the searched printer;
    所述打印机代理接收所述虚拟打印机基于所述打印机搜索结果下发的作业任务,所述作业任务中包括任务执行者指示;Receiving, by the printer agent, a job task issued by the virtual printer based on the printer search result, the job task including a task performer instruction;
    所述打印机代理从本地网络中选择所述任务执行者指示所指示的打印机执行所述作业任务。The printer agent selects the task performer from the local network and instructs the instructed printer to perform the job task.
  2. 如权利要求1所述的打印机使用方法,其中,所述本地网络中的打印机支持的作业任务包括打印任务、复印任务以及扫描任务中的至少一种。8. The printer using method according to claim 1, wherein the job tasks supported by the printer in the local network include at least one of a printing task, a copying task, and a scanning task.
  3. 一种打印机使用方法,应用于云桌面中的虚拟打印机,所述打印机使用方法包括:A printer usage method is applied to a virtual printer in a cloud desktop, and the printer usage method includes:
    虚拟打印机接收客户端侧打印机代理上报的打印机搜索结果,所述打印机搜索结果用于指示所述打印机代理在其本地网络中搜索到的打印机的信息;The virtual printer receives the printer search result reported by the client-side printer agent, where the printer search result is used to indicate the printer information that the printer agent has searched for in its local network;
    所述虚拟打印机基于作业需求与所述打印机搜索结果生成作业任务,所述作业任务中包括任务执行者指示;The virtual printer generates a job task based on the job requirement and the printer search result, and the job task includes an instruction of a task performer;
    所述虚拟打印机将所述作业任务下发给所述打印机代理。The virtual printer delivers the job task to the printer agent.
  4. 如权利要求3所述的打印机使用方法,其中,所述打印机搜索结果中包括搜索到的打印机的部署位置,所述虚拟打印机接收所述打印机代理上报的打印机搜索结果之后,还包括:5. The printer using method according to claim 3, wherein the printer search result includes the deployment location of the searched printer, and after the virtual printer receives the printer search result reported by the printer agent, it further includes:
    所述虚拟打印机将所述打印机搜索结果上报至管理平台;The virtual printer reports the printer search result to the management platform;
    所述虚拟打印机接收所述管理平台根据所述客户端的部署区域以及所述打印机的部署位置对所述打印机搜索结果进行处理后得到的打印机指示信息,所述打印机指示信息能够指示所述打印机代理实际可用的打印机;The virtual printer receives the printer indication information obtained after the management platform processes the printer search result according to the deployment area of the client and the deployment location of the printer, and the printer indication information can indicate that the printer agent actually Available printers;
    所述虚拟打印机显示所述打印机指示信息,供用户选择作业任务的任务执行者。The virtual printer displays the printer instruction information for the user to select the task performer of the job task.
  5. 如权利要求3或4所述的打印机使用方法,其中,所述虚拟打印机基于作业需求与所述打印机搜索结果生成作业任务之后,还包括:The printer using method according to claim 3 or 4, wherein after the virtual printer generates a job task based on job requirements and the printer search result, the method further comprises:
    所述虚拟打印机将所述作业任务上报至管理平台。The virtual printer reports the job task to the management platform.
  6. 如权利要求5所述的打印机使用方法,其中,所述虚拟打印机将所述作业任务上报至管理平台之后,将所述作业任务下发给所述打印机代理之前,还包括:5. The printer using method according to claim 5, wherein after the virtual printer reports the job task to the management platform, before issuing the job task to the printer agent, the method further comprises:
    所述虚拟打印机接收所述管理平台基于用户权限和/或打印机权限针对所述作业任务下发的许可指示,所述许可指示表征允许所述虚拟打印机向所述打印机代理下发所述作业任务。The virtual printer receives a permission instruction issued by the management platform for the job task based on user permissions and/or printer permissions, and the permission instruction indicates that the virtual printer is allowed to issue the job task to the printer agent.
  7. 一种计算机设备,所述计算机设备包括处理器、存储器及通信总线;A computer device, which includes a processor, a memory, and a communication bus;
    所述通信总线用于实现处理器和存储器之间的连接通信;The communication bus is used to realize the connection and communication between the processor and the memory;
    所述处理器用于执行存储器中存储的一个或者多个程序,以实现如权利要求1或2所述的打印机使用方法的步骤;或,所述处理器用于执行所述存储器中存储的一个或者多个程序,以实现如权利要求3-6任一项所述的打印机使用方法的步骤。The processor is configured to execute one or more programs stored in the memory to implement the steps of the printer using method according to claim 1 or 2; or, the processor is configured to execute one or more programs stored in the memory. A program to realize the steps of the printer using method according to any one of claims 3-6.
  8. 一种云桌面打印系统,其中,包括管理平台、N个打印机代理以及N个虚拟打印机,所述打印机代理与虚拟打印机之间形成一一对应的通信连接,所述管理平台与各所述虚拟打印机通信连接,所述N大于等于2;A cloud desktop printing system, which includes a management platform, N printer agents, and N virtual printers. The printer agents and virtual printers form a one-to-one correspondence communication connection. The management platform and each virtual printer For communication connection, the N is greater than or equal to 2;
    所述打印机代理能够实现如权利要求1或2所述的打印机使用方法;The printer agent can implement the printer using method according to claim 1 or 2;
    所述虚拟打印机能够实现如权利要求3-6任一项所述的打印机使用方法;The virtual printer can implement the printer using method according to any one of claims 3-6;
    所述管理平台用于接收所述虚拟打印机上报的打印机搜索结果,根据所述打印机代理所在客户端的部署区域以及所述打印机搜索结果中的打印机部署位置对所述打印机搜索结果进行处理后得到的打印机指示信息,并将所述打印机指示信息发送给所述虚拟打印机,所述打印机指示信息能够指示所述打印机代理实际可用的打印机。The management platform is configured to receive the printer search result reported by the virtual printer, and the printer obtained after processing the printer search result according to the deployment area of the client where the printer agent is located and the printer deployment location in the printer search result And sending the printer instruction information to the virtual printer, where the printer instruction information can indicate the printers that are actually available to the printer agent.
  9. 如权利要求8所述的云桌面打印系统,其中,所述虚拟打印机还用于将所述作业任务上报至所述管理平台;所述管理平台还用于接收所述虚拟打印机上报的所述作业任务,并对所述作业任务进行以下处理中的至少一种:The cloud desktop printing system according to claim 8, wherein the virtual printer is also used to report the job task to the management platform; the management platform is also used to receive the job reported by the virtual printer Task, and perform at least one of the following processes on the job task:
    对所述作业任务进行记录;Record the operation task;
    对所述基于用户权限和/或打印机权限对所述作业任务进行审核,判断是否允许所述虚拟打印机向所述打印机代理下发所述作业任务,并根据判断结果向所述虚拟打印机反馈许可指示或禁止指示;Review the job task based on the user authority and/or printer authority, determine whether the virtual printer is allowed to issue the job task to the printer agent, and feed back a permission instruction to the virtual printer according to the determination result Or prohibit instructions;
    若所述作业任务为打印任务,则记录所述打印任务中的打印内容。If the job task is a printing task, record the printing content in the printing task.
  10. 一种存储介质,其中,所述存储介质存储有第一打印机使用程序和第二打印机使用程序中的至少一个,所述第一打印机使用程序可被一个或者多个处理器执行,以实现如权利要求1或2所述的打印机使用方法的步骤;所述第二打印机使用程序可被一个或者多个处理器执行,以实现如权利要求3-6任一项所述的打印机使用方法的步骤。A storage medium, wherein the storage medium stores at least one of a first printer use program and a second printer use program, and the first printer use program can be executed by one or more processors to realize The steps of the printer using method according to claim 1 or 2; the second printer using program can be executed by one or more processors to realize the steps of the printer using method according to any one of claims 3-6.
PCT/CN2020/131373 2019-12-02 2020-11-25 Printer use method, computer device, cloud desktop printing system, and storage medium WO2021109909A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911215845.1A CN112988084A (en) 2019-12-02 2019-12-02 Printer using method, computer device, printing system and storage medium
CN201911215845.1 2019-12-02

Publications (1)

Publication Number Publication Date
WO2021109909A1 true WO2021109909A1 (en) 2021-06-10

Family

ID=76222230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131373 WO2021109909A1 (en) 2019-12-02 2020-11-25 Printer use method, computer device, cloud desktop printing system, and storage medium

Country Status (2)

Country Link
CN (1) CN112988084A (en)
WO (1) WO2021109909A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090213411A1 (en) * 2008-02-26 2009-08-27 Fukumi Koichi Printing system, printing method, computer, printer and data outputting system
CN105786367A (en) * 2014-12-18 2016-07-20 中兴通讯股份有限公司 Virtual desktop display method and terminal
CN106557288A (en) * 2016-11-15 2017-04-05 华为技术有限公司 A kind of method and device for obtaining print data
CN106878419A (en) * 2017-02-17 2017-06-20 福建升腾资讯有限公司 A kind of efficient Method of printing of desktop cloud based on tunnel and system
CN109783036A (en) * 2017-11-14 2019-05-21 中国电信股份有限公司 Method of printing, system, device and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090213411A1 (en) * 2008-02-26 2009-08-27 Fukumi Koichi Printing system, printing method, computer, printer and data outputting system
CN105786367A (en) * 2014-12-18 2016-07-20 中兴通讯股份有限公司 Virtual desktop display method and terminal
CN106557288A (en) * 2016-11-15 2017-04-05 华为技术有限公司 A kind of method and device for obtaining print data
CN106878419A (en) * 2017-02-17 2017-06-20 福建升腾资讯有限公司 A kind of efficient Method of printing of desktop cloud based on tunnel and system
CN109783036A (en) * 2017-11-14 2019-05-21 中国电信股份有限公司 Method of printing, system, device and computer readable storage medium

Also Published As

Publication number Publication date
CN112988084A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US9853963B2 (en) Authorization server, authentication cooperation system, and storage medium storing program
JP6098169B2 (en) Information processing system, information processing apparatus, program, and authentication method
CA3032883C (en) Technologies for managing application configurations and associated credentials
US20140123240A1 (en) System and service providing apparatus
US20130219458A1 (en) Methods and systems for secure digital content distribution and analytical reporting
US20140258334A1 (en) Information processing apparatus, information processing system and information processing method
KR102267132B1 (en) Distributed data system with document management and access control
US11256815B2 (en) Object storage system with secure object replication
WO2018019262A1 (en) Cloud desktop system, cloud desktop, cloud terminal, and multicast method
US10291620B2 (en) Information processing apparatus, terminal apparatus, program, and information processing system for collaborative use of authentication information between shared services
US10346618B1 (en) Data encryption for virtual workspaces
US20210232542A1 (en) Recommending files for file sharing system
US10986158B2 (en) Cancellation management with respect to a web application
US20140223004A1 (en) Network system and information reporting method
US20190098107A1 (en) Geographic location based user computing asset provisioning in distributed computing systems
WO2018019302A1 (en) Cloud desktop system, cloud terminal and method for applying to join multicast group
US10628581B2 (en) System and method for forced data leakage prevention
US20180270246A1 (en) Information processing system, information processing apparatus, and information processing method
JP2017102813A (en) Information processing system, information processing device, and program
WO2021109909A1 (en) Printer use method, computer device, cloud desktop printing system, and storage medium
US20180332108A1 (en) Orchestrating work across domains and work streams
US10452855B2 (en) Composite document access
US11418484B2 (en) Document management system
CN107077490B (en) Data query job submission management
CN113840013A (en) Document system for hierarchical management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20897212

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20897212

Country of ref document: EP

Kind code of ref document: A1