CN111414139A - Online remote printing method and device, computer equipment and storage medium - Google Patents

Online remote printing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111414139A
CN111414139A CN202010093029.4A CN202010093029A CN111414139A CN 111414139 A CN111414139 A CN 111414139A CN 202010093029 A CN202010093029 A CN 202010093029A CN 111414139 A CN111414139 A CN 111414139A
Authority
CN
China
Prior art keywords
printing
printed
information
task
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010093029.4A
Other languages
Chinese (zh)
Inventor
谢鸿锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Deeking Cloud Computing Co ltd
Original Assignee
Kingdee Deeking Cloud Computing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Deeking Cloud Computing Co ltd filed Critical Kingdee Deeking Cloud Computing Co ltd
Priority to CN202010093029.4A priority Critical patent/CN111414139A/en
Publication of CN111414139A publication Critical patent/CN111414139A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1217Improving printing performance achieving reduced idle time at the output device or increased asset utilization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • G06F3/1263Job scheduling, e.g. queuing, determine appropriate device based on job priority, e.g. re-arranging the order of jobs, e.g. the printing sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

Landscapes

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

Abstract

The application relates to an online remote printing method, an online remote printing device, computer equipment and a storage medium. The method comprises the following steps: acquiring a remote printing task, creating a corresponding message according to the remote printing task, and sending the message to a message queue; acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed; calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task; acquiring printing task information of a plurality of printing devices; matching corresponding target printing equipment according to the time consumed by the printing task and the printing task information; and sending the information to be printed to the target printing equipment for printing. By adopting the method, the timeliness of the online remote printing can be improved.

Description

Online remote printing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an online remote printing method, apparatus, computer device, and storage medium.
Background
With the development of computer technology, the printing of electronic documents is on a trend of rapid development. More and more users can select the contents to be printed from the webpages to be stored in the mobile U disk by browsing the webpages, and then copy the contents to be printed in the U disk to a computer connected with printer equipment to be printed one by one, thereby realizing the purpose of printing different types of manuscripts.
However, in the currently adopted offline printing mode, because the widely used stylus printer has no capability of connecting with the internet, and mobile terminals such as mobile phones and the like do not support the drive of the stylus printer, it is difficult to realize remote real-time printing at different places for some services requiring real-time online order printing, and the printing requirement is difficult to respond in time.
Disclosure of Invention
In view of the above, it is necessary to provide an online remote printing method, apparatus, computer device, and storage medium capable of improving the printing timeliness.
An online remote printing method, the method comprising:
acquiring a remote printing task, creating a corresponding message according to the remote printing task, and sending the message to a message queue;
acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed;
calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task;
acquiring printing task information of a plurality of printing devices;
matching corresponding target printing equipment according to the time consumed by the printing task and the printing task information;
and sending the information to be printed to the target printing equipment for printing.
In one embodiment, the method further comprises:
detecting whether the information to be printed has a priority mark;
and if so, printing the information to be printed according to the priority order.
In one embodiment, before sending the information to be printed to the target printing device for printing, the method further includes:
acquiring an identification string to be printed corresponding to the information to be printed;
sending the identification string to be printed to the target printing device;
and the target printing equipment identifies the identification string to be printed, and pulls the corresponding information to be printed for printing.
In one embodiment, the method further comprises:
acquiring an information sequence to be printed corresponding to the remote printing task, and searching a corresponding printed information sequence in the historical printing information;
matching the information sequence to be printed with the printed information sequence;
if the matching is successful, acquiring corresponding target printing equipment;
and pulling the corresponding information to be printed to print in the target printing equipment.
In one embodiment, after the pulling of the corresponding information to be printed is performed in the target printing device, the method further includes:
inquiring a list to be printed and completed printing information in the target printing equipment to obtain a corresponding printing progress message;
and returning the printing progress message to the corresponding terminal.
An online remote printing device, the device comprising:
the system comprises a creating module, a message queue and a printing module, wherein the creating module is used for acquiring a remote printing task, creating a corresponding message according to the remote printing task and sending the message to the message queue;
the generating module is used for acquiring at least one message from the message queue and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed;
the calculation module is used for calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task;
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring printing task information of a plurality of printing devices;
the matching module is used for matching the corresponding target printing equipment according to the time consumed by the printing task and the printing task information;
and the sending module is used for sending the information to be printed to the target printing equipment for printing.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a remote printing task, creating a corresponding message according to the remote printing task, and sending the message to a message queue;
acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed;
calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task;
acquiring printing task information of a plurality of printing devices;
matching corresponding target printing equipment according to the time consumed by the printing task and the printing task information;
and sending the information to be printed to the target printing equipment for printing.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a remote printing task, creating a corresponding message according to the remote printing task, and sending the message to a message queue;
acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed;
calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task;
acquiring printing task information of a plurality of printing devices;
matching corresponding target printing equipment according to the time consumed by the printing task and the printing task information;
and sending the information to be printed to the target printing equipment for printing.
According to the online remote printing method, the online remote printing device, the computer equipment and the storage medium, the remote printing task is acquired, and the corresponding message is created according to the remote printing task and is sent to the message queue. And acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message, wherein the matching task carries the information to be printed. And calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task. And acquiring the printing task information of the plurality of printing devices, and matching the corresponding target printing devices according to the time consumed by the printing tasks and the printing task information. And sending the information to be printed to the target printing equipment for printing. Compared with the traditional mode of printing under the line, the method obtains the remote printing task in real time, creates the corresponding message and sends the message to the message queue, calculates the printing task amount of the information to be printed in the message queue and obtains the time consumed by the corresponding printing task. And matching the corresponding target printing equipment according to the time consumed by the printing task and the printing task information of the printing equipment, and pulling the corresponding information to be printed for printing. Therefore, when a remote printing service order in different places is needed, the time consumption of the printing task of the information to be printed carried by the remote printing task is prejudged, and the corresponding target printing equipment is matched according to the time sequence, so that the problems that the stylus printer does not have the capability of connecting the internet and mobile terminals such as mobile phones do not support the drive of the stylus printer are solved, remote real-time printing in different places can be realized for services needing to be printed on the order in real time, the printing requirement is timely responded, and the timeliness of the on-line remote printing can be improved.
Drawings
FIG. 1 is a diagram of an application environment of a method for online remote printing in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for online remote printing in one embodiment;
FIG. 3 is a flowchart illustrating the step of detecting whether the information to be printed has a priority flag in one embodiment;
FIG. 4 is a flowchart illustrating the matching process between the information sequence to be printed and the printed information sequence in one embodiment;
FIG. 5 is a block diagram of an online remote printing apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The online remote printing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The server 104 may receive remote print job information transmitted from a different terminal or cloud platform. The server 104 acquires the remote printing tasks sent by the terminal 102, and the server 104 creates corresponding messages according to the remote printing tasks and sends the messages to the message queue. The server 104 acquires at least one message from the message queue, and generates a corresponding matching task according to the acquired message, wherein the matching task carries information to be printed. The server 104 calculates the print job amount of the information to be printed, and obtains the time consumed by the corresponding print job. The server 104 acquires the print task information of the plurality of printing devices, the server 104 matches the corresponding target printing device according to the time consumed by the print task and the print task information, and the server 104 sends the information to be printed to the target printing device for printing. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, an online remote printing method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 202, obtaining a remote printing task, creating a corresponding message according to the remote printing task, and sending the message to a message queue.
The remote printing task can be automatically distributed to the server cluster after the cloud platform receives the task of the client. Or a remote printing task request can be directly sent to the server through the client app, the server receives the remote printing task sent by the client, creates a corresponding message according to the remote printing task, and sends the message to the message queue. The message queue is deployed on a server cloud platform, for example, a golden butterfly smart cloud server cloud platform. The message queue primarily provides for the receipt and transmission of messages, and when facing a large number of remote print jobs, the message queue may peak and valley down the messages. The remote printing task may include order information to be printed, salesman information, client user information, and a corresponding remote printing task identifier.
Step 204, acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed.
And the server cluster acquires at least one message from the message queue and generates a corresponding matching task according to the acquired message. The matching task carries information to be printed and a corresponding remote printing task identifier. The server cluster can acquire one message, generate a corresponding matching task and perform real-time task matching processing, the server cluster can also acquire a plurality of messages at the same time, generate a plurality of corresponding matching tasks according to the plurality of acquired messages, and the matching of the server cluster to the plurality of tasks can be executed concurrently.
And step 206, calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task.
And the server calls a calculation module to calculate the printing task amount of the information to be printed according to the acquired information to be printed carried by the matching task, so as to obtain the time consumed by the corresponding printing task. Specifically, the server identifies the printing type of the information to be printed according to the information to be printed carried by the matching task, and the printing type may include printing in a draft mode and printing in a normal mode. The server calls the calculation module to calculate the printing task amount in the information to be printed according to the printing type of the information to be printed, wherein the printing task amount can include the page number of specific content of the information to be printed, for example, the information to be printed is printed in a normal mode in advance, and the target printing equipment can print 5 pages per minute, so that the corresponding time consumed by the printing task can be obtained by calculating the printing task amount of the information to be printed.
In step 208, print job information for a plurality of printing devices is obtained.
And step 210, matching the corresponding target printing equipment according to the time consumed by the printing task and the printing task information.
And step 212, sending the information to be printed to the target printing device for printing.
The server may acquire print job information of a plurality of different printing devices. The network printing service can be installed in different computers in wired connection with the stylus printing equipment in advance through local services, corresponding printing equipment drivers are installed in each computer at the same time, and the local services can be kept in long connection with the server cloud platform. The server may obtain a plurality of pieces of printing device information maintaining long connection according to the time consumed by the printing task, where the printing device information may include name interface information of the printing device and printing task information corresponding to the printing device. The print job information may in turn include print schedule information and corresponding print job amount information. For example, the server may obtain printing progress information of a plurality of printing devices, and match corresponding target printing devices according to the time consumed by the current printing task and the printing progress information. For example, if the server inquires that the current printing device 020 is in a sleep state, that is, an idle state, the server may send the information to be printed, which takes the longest time for the current print job, to the target printing device for printing. In addition, the server can also acquire corresponding order placing time according to order information in the information to be printed, and the server matches the corresponding target printing equipment according to the order placing time sequence and the printing task information, and sends the information to be printed to the target printing equipment for printing.
In this embodiment, by acquiring the remote print job, a corresponding message is created according to the remote print job and sent to the message queue. And acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message, wherein the matching task carries the information to be printed. And calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task. And acquiring the printing task information of the plurality of printing devices, and matching the corresponding target printing devices according to the time consumed by the printing tasks and the printing task information. And sending the information to be printed to the target printing equipment for printing. Compared with the traditional mode of printing under the line, the method obtains the remote printing task in real time, creates the corresponding message and sends the message to the message queue, calculates the printing task amount of the information to be printed in the message queue and obtains the time consumed by the corresponding printing task. And matching the corresponding target printing equipment according to the time consumed by the printing task and the printing task information, and pulling the corresponding information to be printed for printing. Therefore, when a remote printing service order in different places is needed, the time consumption of the printing task of the information to be printed carried by the remote printing task is prejudged, the corresponding target printing equipment is matched according to the time sequence, the time for waiting for printing is saved, the problem that the stylus printer does not have the capability of being connected with the Internet and mobile terminals such as mobile phones do not support the drive of the stylus printer is solved, remote real-time printing in different places can be realized for services needing to be printed on the order in real time, the printing requirement is timely responded, and the timeliness of the on-line remote printing can be improved.
In one embodiment, as shown in fig. 3, the method further includes a step of detecting whether the information to be printed has a priority flag, specifically including:
step 302, detecting whether the information to be printed has a priority mark.
And 304, if yes, printing the information to be printed according to the priority order.
The server acquires at least one message from the message queue, and generates a corresponding matching task according to the acquired message, wherein the matching task carries the information to be printed. Further, the server detects whether the information to be printed corresponding to the matched task has a priority mark through a configuration tool. The priority flag means that different print information is previously set with different priority information according to the degree of importance, for example: if two remote printing tasks are generated in the service printing information at the same time, the service printing information corresponding to the VIP client may be set as a priority flag having a higher priority order according to the priority information order of the client. And when the server detects that the information to be printed corresponding to the matching task has the priority mark through the configuration tool, the server sends the information to be printed corresponding to the matching task to the target printing equipment according to the priority sequence for printing. And when the server does not detect that the information to be printed corresponding to the matching task has the priority mark through the configuration tool, matching the corresponding target printing equipment with the information to be printed corresponding to the matching task according to the time consumed by the printing task, and sending the information to be printed to the target printing equipment for printing. For example: the method comprises the steps that a server simultaneously obtains a plurality of remote printing tasks, the server detects whether information to be printed corresponding to the remote printing tasks has priority marks or not by using a configuration tool, and the obtained printing priority with the remote printing task number of 01 is 2; while obtaining a print priority of 1 for remote print job number 03. Because the priority of the to-be-printed task with the remote printing task number of 01 is greater than the printing priority of the to-be-printed task with the remote printing task number of 03, when the server detects that the to-be-printed information corresponding to the matched task has the priority mark through the configuration tool, the server sends the to-be-printed information corresponding to the matched task to the target mark printing device for printing according to the priority sequence of 01 and 03.
In the embodiment, the priority marks are set for the different types of service printing information, so that the complex flow of matching tasks for many times is reduced, the server can automatically and quickly switch the information list to be printed when a plurality of remote printing tasks need to be printed simultaneously, the information list to be printed can be ensured to be printed according to the priority sequence of the information to be printed, and the timeliness of remote printing is ensured.
In one embodiment, before sending the information to be printed to the target printing device for printing, the method further comprises: acquiring an identification string to be printed corresponding to information to be printed; sending the identification string to be printed to a target printing device; and the target printing equipment identifies the identification string to be printed, and pulls the corresponding information to be printed for printing.
After the server matches the corresponding target printing device according to the time consumed by the printing task, the server can acquire the identification string to be printed corresponding to the information to be printed. When the identification string to be printed can be requested to be remotely printed through a local service, namely a client through an app, the corresponding mark-remaining printing identification string, namely the identification string to be printed, is randomly generated, and the uniqueness is achieved. Further, the server sends the identification string to be printed to the target printing device, the target printing device identifies the identification string to be printed, and the corresponding information to be printed is pulled and output to the target printing device to be printed by relying on the cloud service request. In addition, all the historical printing record messages and the corresponding printed contents are stored locally, and when the printing needs to be performed again, the corresponding printed contents can be directly acquired from the local for printing. The mark printing identification string is reserved as a clue, transmission is facilitated, the mark printing identification string is connected with a local server, a cloud server and a printing service server, and therefore when remote printing is conducted, the mark printing identification string only needs to be printed and sent to a target printing device to be identified, corresponding content to be printed can be pulled, timeliness of remote printing is effectively improved, and tedious processes and time loss in the transmission process are avoided.
In one embodiment, as shown in fig. 4, the method further includes a step of matching the information sequence to be printed with the printed information sequence, specifically including:
step 402, obtaining the information sequence to be printed corresponding to the remote printing task, and searching the corresponding printed information sequence in the historical printing information.
Step 404, matching the information sequence to be printed with the printed information sequence.
And step 406, if the matching is successful, acquiring the corresponding target printing device.
And step 408, pulling the corresponding information to be printed to print in the target printing device.
After the server acquires the remote printing task, the server acquires an information sequence to be printed corresponding to the remote printing task, and searches a corresponding printed information sequence in the historical printing information. And matching the information sequence to be printed with the printed information sequence, if the matching is successful, acquiring the corresponding target printing equipment, and pulling the corresponding information to be printed to print in the target printing equipment. Specifically, the server obtains the information sequence to be printed corresponding to the remote printing task, for example, the server may perform calculation by using a hash algorithm according to the information to be printed, so as to obtain the information sequence to be printed corresponding to the remote printing task. Among them, a Hash algorithm (Hash) is a Hash function. The hash algorithm is a one-way cryptosystem, i.e. an irreversible mapping from plaintext to ciphertext, only an encryption process and no decryption process. Meanwhile, the hash function can change the input with any length to obtain the output with fixed length. This one-way feature of the hash function and the fixed-length feature of the output data enable it to generate messages or data. Further, the server searches for a corresponding printed information sequence in the historical printing information, the server performs similarity matching on the information sequence to be printed and the printed information sequence, when the similarity reaches a preset threshold value, matching is successful, the server acquires corresponding historical target printing equipment, and pulls the corresponding information to be printed to print in the historical target printing equipment. In the embodiment, the historical printing information corresponding to the information to be printed is searched, and the historical printed information sequence is matched with the information sequence to be printed, so that a complex process of repeatedly matching data acquired from a database can be avoided, the printing can be quickly and accurately performed in the target equipment, and the efficiency of remote printing is effectively improved.
In one embodiment, after pulling the corresponding information to be printed to print in the target printing device, the method further includes: inquiring a list to be printed and completed printing information in target printing equipment to obtain a corresponding printing progress message; and returning the printing progress message to the corresponding terminal.
The server sends the information to be printed to the target printing equipment, after the corresponding information to be printed is pulled to be printed in the target printing equipment, the server can also obtain the corresponding printing progress message by inquiring the list to be printed in the target printing equipment and the finished printing information, and returns the printing progress message to the corresponding terminal. Specifically, the client may query the printing progress of the required information to be printed through logging in the app page, for example, the client initiates a printing progress query request corresponding to a certain remote task through a trigger operation, after receiving the query request sent by the client, the server searches for a corresponding target printing device according to a remote printing identifier corresponding to the query request, and after finding the target printing device corresponding to the remote printing identifier, the server may query a list to be printed and completed printing information in the target printing device to obtain a corresponding printing progress message, and return the printing progress message to the corresponding client. Therefore, when the on-line remote printing task is carried out, the client can inquire the printing progress corresponding to the remote printing task at any time, the state of the remote printing task can be known in real time, and once a printing fault occurs, the report can be carried out, so that the timeliness of remote printing is ensured.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided an online remote printing apparatus including: a creating module 502, a generating module 504, a calculating module 506, an obtaining module 508, a matching module 510, and a sending module 512, wherein:
the creating module 502 is configured to obtain a remote print job, create a corresponding message according to the remote print job, and send the message to a message queue.
A generating module 504, configured to obtain at least one message from the message queue, and generate a corresponding matching task according to the obtained message; the matching task carries information to be printed.
The calculating module 506 is configured to calculate a print job amount of the information to be printed, and obtain time consumed by the corresponding print job.
An obtaining module 508, configured to obtain print job information of a plurality of printing devices.
And the matching module 510 is configured to match the corresponding target printing device according to the time consumed by the print job and the print job information.
And a sending module 512, configured to send the information to be printed to a target printing device for printing.
In one embodiment, the apparatus further comprises: and a detection module.
The detection module is used for detecting whether the information to be printed has the priority mark, and if so, the information to be printed is printed according to the priority sequence.
In one embodiment, the apparatus further comprises: and identifying the module.
The obtaining module 508 is further configured to obtain an identification string to be printed corresponding to the information to be printed. The sending module 512 is further configured to send the identification string to be printed to the target printing device. The identification module is used for identifying the identification string to be printed by the target printing equipment and pulling the corresponding information to be printed for printing.
In one embodiment, the apparatus further comprises: and a searching module.
The searching module is used for acquiring the information sequence to be printed corresponding to the remote printing task and searching the corresponding printed information sequence in the historical printing information. The matching module 510 is further configured to match the information sequence to be printed with the printed information sequence. And if the matching is successful, acquiring the corresponding target printing equipment, and pulling the corresponding information to be printed to print in the target printing equipment.
In one embodiment, the apparatus further comprises: and (5) a query module.
And the query module is used for querying the list to be printed and the completed printing information in the target printing equipment to obtain a corresponding printing progress message and returning the printing progress message to the corresponding terminal.
For specific limitations of the online remote printing apparatus, reference may be made to the above limitations of the online remote printing method, which are not described herein again. The respective modules in the above-described online remote printing apparatus may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing online remote printing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an online remote printing method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the steps of the above-described method embodiments being implemented when the computer program is executed by the processor.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An online remote printing method, the method comprising:
acquiring a remote printing task, creating a corresponding message according to the remote printing task, and sending the message to a message queue;
acquiring at least one message from the message queue, and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed;
calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task;
acquiring printing task information of a plurality of printing devices;
matching corresponding target printing equipment according to the time consumed by the printing task and the printing task information;
and sending the information to be printed to the target printing equipment for printing.
2. The method of claim 1, further comprising:
detecting whether the information to be printed has a priority mark;
and if so, printing the information to be printed according to the priority order.
3. The method of claim 1, wherein prior to sending the information to be printed to the target printing device for printing, the method further comprises:
acquiring an identification string to be printed corresponding to the information to be printed;
sending the identification string to be printed to the target printing device;
and the target printing equipment identifies the identification string to be printed, and pulls the corresponding information to be printed for printing.
4. The method of claim 1, further comprising:
acquiring an information sequence to be printed corresponding to the remote printing task, and searching a corresponding printed information sequence in the historical printing information;
matching the information sequence to be printed with the printed information sequence;
if the matching is successful, acquiring corresponding target printing equipment;
and pulling the corresponding information to be printed to print in the target printing equipment.
5. The method of claim 4, wherein after the pulling the corresponding information to be printed in the target printing device, the method further comprises:
inquiring a list to be printed and completed printing information in the target printing equipment to obtain a corresponding printing progress message;
and returning the printing progress message to the corresponding terminal.
6. An online remote printing apparatus, the apparatus comprising:
the system comprises a creating module, a message queue and a printing module, wherein the creating module is used for acquiring a remote printing task, creating a corresponding message according to the remote printing task and sending the message to the message queue;
the generating module is used for acquiring at least one message from the message queue and generating a corresponding matching task according to the acquired message; the matching task carries information to be printed;
the calculation module is used for calculating the printing task amount of the information to be printed to obtain the time consumed by the corresponding printing task;
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring printing task information of a plurality of printing devices;
the matching module is used for matching the corresponding target printing equipment according to the time consumed by the printing task and the printing task information;
and the sending module is used for sending the information to be printed to the target printing equipment for printing.
7. The online remote printing apparatus according to claim 6, wherein the apparatus further comprises:
the searching module is used for acquiring the information sequence to be printed corresponding to the remote printing task and searching the corresponding printed information sequence in the historical printing information;
the matching module is used for matching the information sequence to be printed with the printed information sequence; and if the matching is successful, acquiring the corresponding target printing equipment, and pulling the corresponding information to be printed to print in the target printing equipment.
8. The online remote printing apparatus according to claim 6, wherein the apparatus further comprises:
and the query module is used for querying the list to be printed and the finished printing information in the target printing equipment to obtain a corresponding printing progress message and returning the printing progress message to a corresponding terminal.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202010093029.4A 2020-02-14 2020-02-14 Online remote printing method and device, computer equipment and storage medium Pending CN111414139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010093029.4A CN111414139A (en) 2020-02-14 2020-02-14 Online remote printing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010093029.4A CN111414139A (en) 2020-02-14 2020-02-14 Online remote printing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111414139A true CN111414139A (en) 2020-07-14

Family

ID=71494237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010093029.4A Pending CN111414139A (en) 2020-02-14 2020-02-14 Online remote printing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111414139A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035075A (en) * 2020-08-07 2020-12-04 深圳市艾密特供应链管理有限公司 Logistics surface single-double printing method, device, equipment and storage medium
CN112181326A (en) * 2020-09-29 2021-01-05 上海汉图科技有限公司 Printing method, device and equipment
CN113419691A (en) * 2021-07-01 2021-09-21 山东白令三维科技有限公司 3D printing method and device and 3D printing Internet of things system
CN114030183A (en) * 2021-11-01 2022-02-11 广州黑格智造信息科技有限公司 3D printing scheduling method and system, electronic equipment and storage medium
CN114138212A (en) * 2021-11-28 2022-03-04 浙江中控技术股份有限公司 Task scheduling method, device, printing system, electronic device and storage medium
CN114281281A (en) * 2021-12-31 2022-04-05 上海汉图科技有限公司 Interaction method and device for printer and intelligent equipment
CN114637479A (en) * 2022-03-23 2022-06-17 平安普惠企业管理有限公司 Document printing method, device, equipment and storage medium based on cloud technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060132405A (en) * 2005-06-18 2006-12-21 삼성전자주식회사 Method and apparatus for providing printing time in network printing device
CN102663523A (en) * 2012-04-28 2012-09-12 南京邮电大学 Method for estimating time by remote printing e-commerce platform
CN110750222A (en) * 2019-09-19 2020-02-04 益萃网络科技(中国)有限公司 Printing method, printing device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060132405A (en) * 2005-06-18 2006-12-21 삼성전자주식회사 Method and apparatus for providing printing time in network printing device
CN102663523A (en) * 2012-04-28 2012-09-12 南京邮电大学 Method for estimating time by remote printing e-commerce platform
CN110750222A (en) * 2019-09-19 2020-02-04 益萃网络科技(中国)有限公司 Printing method, printing device, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035075A (en) * 2020-08-07 2020-12-04 深圳市艾密特供应链管理有限公司 Logistics surface single-double printing method, device, equipment and storage medium
CN112181326A (en) * 2020-09-29 2021-01-05 上海汉图科技有限公司 Printing method, device and equipment
CN113419691A (en) * 2021-07-01 2021-09-21 山东白令三维科技有限公司 3D printing method and device and 3D printing Internet of things system
CN114030183A (en) * 2021-11-01 2022-02-11 广州黑格智造信息科技有限公司 3D printing scheduling method and system, electronic equipment and storage medium
CN114138212A (en) * 2021-11-28 2022-03-04 浙江中控技术股份有限公司 Task scheduling method, device, printing system, electronic device and storage medium
CN114281281A (en) * 2021-12-31 2022-04-05 上海汉图科技有限公司 Interaction method and device for printer and intelligent equipment
CN114637479A (en) * 2022-03-23 2022-06-17 平安普惠企业管理有限公司 Document printing method, device, equipment and storage medium based on cloud technology

Similar Documents

Publication Publication Date Title
CN111414139A (en) Online remote printing method and device, computer equipment and storage medium
CN108133008B (en) Method, device, equipment and storage medium for processing service data in database
CN108924250B (en) Service request processing method and device based on block chain and computer equipment
US9888089B2 (en) Client side cache management
CN104202360B (en) The method of accessed web page, device and router
CN111092816A (en) Gateway dynamic routing method, gateway dynamic routing device, computer equipment and storage medium
US20240168982A1 (en) System for routing of requests
CN109040227B (en) Service request response method and device based on block chain and computer equipment
US10645192B2 (en) Identifying content files in a cache using a response-based cache index
CN110750222A (en) Printing method, printing device, computer equipment and storage medium
WO2014071786A1 (en) Method and system for file transmitting
US7395338B2 (en) Information processing apparatus and session management method
CN108965450B (en) Service request response method, device, computer equipment and storage medium
CN114124861A (en) Message group sending method and device, computer equipment and storage medium
US9609068B2 (en) Session management system, session management apparatus, and non-transitory computer readable medium
CN114024972A (en) Long connection communication method, system, device, equipment and storage medium
US10574773B2 (en) Method, device, terminal, server and storage medium of processing network request and response
CN112866339B (en) Data transmission method and device, computer equipment and storage medium
WO2019196225A1 (en) Resource file feedback method and apparatus
EP2845090B1 (en) Transmitting a job to a destination
CN114201701B (en) Method and device for identifying operating environment, storage medium, server and client
US11409831B1 (en) System for determining cached log data associated with cached response data
CN108173892B (en) Cloud mirror image operation method and device
CN109213955A (en) Data processing method and relevant device
CN110888901B (en) System management method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination