CN114610249A - Data processing method and system - Google Patents
Data processing method and system Download PDFInfo
- Publication number
- CN114610249A CN114610249A CN202210259172.5A CN202210259172A CN114610249A CN 114610249 A CN114610249 A CN 114610249A CN 202210259172 A CN202210259172 A CN 202210259172A CN 114610249 A CN114610249 A CN 114610249A
- Authority
- CN
- China
- Prior art keywords
- data
- printing
- printed
- file
- module
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 50
- 238000007639 printing Methods 0.000 claims abstract description 361
- 238000012545 processing Methods 0.000 claims abstract description 102
- 238000000034 method Methods 0.000 claims description 31
- 230000004044 response Effects 0.000 claims description 12
- 230000008569 process Effects 0.000 description 21
- 238000004590 computer program Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000002360 preparation method Methods 0.000 description 4
- 238000009877 rendering Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1211—Improving printing performance
- G06F3/1215—Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/124—Parallel printing or parallel ripping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
- G06F3/1257—Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1275—Print workflow management, e.g. defining or changing a workflow, cross publishing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1287—Remote printer device, e.g. being remote from client or server via internet
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1289—Remote printer device, e.g. being remote from client or server in server-client-printer device configuration, e.g. the server does not see the printer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The embodiment of the specification provides a data processing method and a data processing system, wherein the data processing method comprises the following steps: receiving a data printing instruction, wherein the data printing instruction carries identification information of data to be printed; acquiring the data to be printed according to the identification information of the data to be printed; determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed; and generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing. Therefore, the problem of low printing efficiency is avoided, and the printing capability of meeting the printing requirement in a high-efficiency and high-frequency printing scene is provided.
Description
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a data processing method.
Background
With the continuous development of internet technology, many service providers providing internet services will send data to be printed to a printer performing data printing completely under the condition that data printing is required, for example, in an online shopping scenario, many merchants will sell goods on an online shopping platform, and after a user purchases goods sold by the merchants on the online shopping platform, the online shopping platform needs to send a goods purchase order to the merchants for printing.
In the prior art, a service side needs to provide internet service and send data to be printed, so that the printing efficiency of the service side is low, and the printing requirement under a high-efficiency and high-frequency printing scene cannot be met.
Disclosure of Invention
In view of this, the embodiments of the present specification provide a data processing method. One or more embodiments of the present specification also relate to a data processing system, a computing device, a computer-readable storage medium, and a computer program to solve the technical problems of the prior art.
According to a first aspect of embodiments herein, there is provided a data processing method including:
receiving a data printing instruction, wherein the data printing instruction carries identification information of data to be printed;
acquiring the data to be printed according to the identification information of the data to be printed;
determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed;
and generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing.
According to a second aspect of embodiments herein, there is provided a data processing system comprising a print processing module and a document printing module, wherein,
the printing processing module is configured to receive a data printing instruction, wherein the data printing instruction carries identification information of data to be printed; acquiring the data to be printed according to the identification information of the data to be printed; determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the printing template to be processed; generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing;
the file printing module is configured to print the file to be printed.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is for storing computer-executable instructions and the processor is for executing the computer-executable instructions, which when executed by the processor implement the steps of the data processing method.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data processing method.
According to a fifth aspect of embodiments herein, there is provided a computer program, wherein the computer program, when executed in a computer, causes the computer to perform the steps of the data processing method.
The data processing method provided by the specification comprises the steps of receiving a data printing instruction, wherein the data printing instruction carries identification information of data to be printed; acquiring the data to be printed according to the identification information of the data to be printed; determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed; and generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing.
Specifically, the data processing method actively acquires the data to be printed under the condition of receiving a data printing instruction, and sends the file to be printed to the file printing module for printing after generating the file to be printed based on the data to be printed and the associated target printing template, so that the problem of low printing efficiency is avoided, and the printing capability meeting the printing requirement in a high-efficiency and high-frequency printing scene is provided.
Drawings
FIG. 1 is a process flow diagram of a data processing system provided in one embodiment of the present description;
FIG. 2 is a flow chart of a data processing method provided by an embodiment of the present specification;
FIG. 3 is a flowchart illustrating a data processing method according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a data processing system, according to one embodiment of the present disclosure;
fig. 5 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
Mounting across a platform: the software can be installed by deploying under operating systems such as mac, windows, linux and the like.
Concurrent printing: the capability of simultaneously driving a plurality of printers to print by the same computer.
Electron frame: the method is a framework for developing a cross-platform desktop application by using the traditional front-end technology (such as Nodejs, Javascript, HTML and CSS). The desktop application refers to a program running on an operating system such as Windows, OSX, Linux, or the like.
WebSocket: is a protocol for full duplex communication over a single TCP connection.
The new market: market activity in a new retail scenario; the novel market operation activity relying on the Internet technology. The main finger line and the on-line activities are integrated with a new retail mode of logistics in a deep mode.
With the continuous development of internet technology, many browsers provide basic printing capability to perform printing operation, but the requirement for high-efficiency and high-frequency printing scenes is far from being met, for example, in the online shopping scenes, the basic printing capability provided by the browsers cannot meet the requirement for high-efficiency and high-frequency printing.
Based on this, the present specification proposes a customized print client, which is dedicated print software; the device has the advantages of large-scale use and strong stability. But has the following disadvantages: the software does not support cross-platform, is limited to use under windows operating systems, and must be equipped with a dedicated printer, and the customized print client does not support the ability to drive multiple printers.
And, this specification has proposed another kind is a WEB print control, this control supports and prints the programming interface, its advantage lies in: the method is simple, strong in stability and capable of self-defining programming; but has the following disadvantages: the system does not support cross-platform use, is limited to use under a windows operating system, has a lower version and does not support the capability of driving a plurality of printers.
Therefore, in order to meet the printing requirement, the embodiment of the present specification provides a data processing method, which can be applied to a print processing module, and the print processing module can be understood as a piece of software (client software) with efficient, high-frequency and controllable operation. The client software realizes the closed loop of bearing Internet services (such as online shopping services) and operating system printing driving software in the web browser, can drive a plurality of printers to print simultaneously, and has the capability of installing and printing in a cross-platform manner.
In particular, in the present specification, a data processing method is provided, and the present specification relates to a data processing system, a computing device, a computer-readable storage medium, and a computer program, which are described in detail one by one in the following embodiments.
FIG. 1 is a flow diagram illustrating a data processing system according to one embodiment of the present disclosure, wherein a system framework of the data processing system is mainly composed of four parts: a web service side, a print client, a server, and a printer. Specifically, the web service side, as an initiator of the whole print job, can send a print request to the client software, where the print request carries a parameter of order data to be printed, and the parameter may be understood as an order number. The client serves as a transfer processing bridge for linking a terminal (on which client software is deployed) and a printer, and after receiving a printing request sent by a web service side, the client can request order data from the server based on an order number carried in the printing request. The server is part of the processing web logic and is capable of sending order data to the client software in response to a request sent by the client software.
After receiving the order data, the client software renders the order data to the client, so that the user perceives that the order data is being printed, and the perceived state can be transmitted back to the web service side (i.e. the web service side).
Then the client software starts to initiate printing logic, acquires the current state of the printer, pushes the printing tasks (processing results) generated by the printing pages to a queue of a printer driver based on the current state, and automatically starts to print and discharge paper once the printer is ready.
The client software of the data processing method provided by the specification is developed by adopting an Electron framework, so that the client software can support installation and deployment of a plurality of operating systems, namely the client software can support the use of the client software under a plurality of operating systems. Secondly, when sending a print job to a printer, the data processing method provided in this specification dynamically pushes the print job to a plurality of available printer queues concurrently, and has a capability of concurrent printing, that is, a computer (terminal) deploying client software can mount a plurality of printers for simultaneous printing. From the aspect of scheme design, a user is allowed to select a plurality of available printers and record the printing states of the printers; under the condition of pushing, the task number of each printer is obtained through command inquiry, and the printing tasks are uniformly distributed to each printer queue by using an algorithm; it is essentially the process of giving it the ability to "load balance", making the printer work with less "load", avoiding causing queue congestion. When the total printing quantity is too large, the client software caches data (files to be printed) locally, and slowly dilutes the printing task quantity in a batch printing or uniform printing mode. The problem that some printer drivers exceed the transition queue and directly block the printer from printing is avoided.
Fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present specification, which specifically includes the following steps.
Step 202: receiving a data printing instruction, wherein the data printing instruction carries identification information of data to be printed.
In practical applications, the data processing method provided in the present specification can be applied to a print processing module that processes a print operation, and the print processing module can be understood as client software that can process the print operation.
Accordingly, the data to be printed can be understood as data that needs to be printed. In the case where the data processing scenario provided in the present specification is applied to different scenarios, the data to be printed is also different. For example, in an online shopping scenario, the data to be printed may understand order data; in a banking scenario, the data to be printed may be understood as a running bank bill or the like. Accordingly, the identification information may be understood as information that uniquely identifies one piece of data to be printed, and the identification information is not particularly limited in the embodiments of the specification; for example, in the case of order data of data to be printed, the identification information may be understood as an order number; in the case of a running bill of banks for which data is to be printed, the identification information can be understood as the serial number of the running bill of banks. Accordingly, the data print instruction can be understood as an instruction instructing the print processing to execute a print operation. In practical applications, the data printing instruction may be an instruction sent by the printing request module to the printing processing module. The print request module may be understood as a mechanism, a platform, or the like that requests the print processing module to perform a printing operation. For example, the print request module may be understood as the web service described above, and the web service may be understood as an online shopping platform, an internet service platform of a bank, or the like.
Specifically, the print processing module can receive a data print instruction instructing it to perform a printing operation, where the data print instruction carries identification information of data to be printed.
The following explains the received data printing instruction by applying a data processing method to a scene of printing order data, wherein the printing processing module is client software, the data to be printed is order data, and the identification information of the data to be printed is an order number. Based on the order, the client software can receive an order printing instruction which instructs the client software to perform printing operation, and the order printing instruction carries an order number of order data.
In practical applications, the data printing instruction may be sent to the printing processing module by the printing request module, so as to instruct the printing processing module to perform a printing operation; in the process that the printing request module sends the data printing instruction to the printing processing module, the printing request module needs to acquire current state information of the printing request module and judges whether to send the data printing instruction to the printing processing module according to the current state information, so that the problem that the printing processing module cannot execute the printing operation aiming at the data to be printed due to the problems of incomplete configuration, incomplete printing, excessive printing count and the like is avoided, and the specific implementation mode is as follows.
The receiving data printing instruction comprises:
receiving a state acquisition request sent by a printing request module;
sending current state information to the print request module in response to the state acquisition request;
and receiving a data printing instruction sent by the printing request module, wherein the data printing instruction is an instruction sent by the printing request module according to the current state information.
The status acquisition request may be understood as a request for acquiring current status information of the print processing module from the print request module, and accordingly, the current status information may be understood as information representing a current operating status of the print processing module. For example, the current state information may be understood as information characterizing whether the client software is installed or not, print progress information of the client software, or the like.
Specifically, the printing request module firstly sends a state acquisition request aiming at the current state information of the printing processing module to the printing processing module in the process of printing the data to be printed; the printing processing module responds to the state acquisition request and sends the current state information of the printing processing module to the printing request module under the condition of receiving the state acquisition request sent by the printing request module; after receiving the current state information of the printing processing module, the printing request module sends a data printing instruction carrying identification information of the data to be printed to the printing processing module under the condition that the printing processing module is judged to be capable of executing printing operation based on the current state information, and the printing processing module receives the data printing instruction sent by the printing request module and executes subsequent printing operation aiming at the data to be printed based on the data printing instruction.
Following the above example, the print request module is a web server. Based on the method, the web server triggers the call logic to send a state acquisition request to the client software, and the client software responds to the state acquisition request and sends the current running state information of the client software to the web server. The web server can detect whether the client has the problems of incomplete printing and the like on the basis of the current running state information, and aims to judge whether the current environment meets printing preparation or not and avoid the situation of printing counting.
The web server sends an order printing instruction carrying an order number to the client software under the condition that the client software is determined to be in accordance with the printing preparation based on the current running state information; the client software can execute printing operation aiming at order data based on the order printing instruction after receiving the order printing instruction sent by the web server.
In practical application, the web server triggers a call logic in the process of printing order data, and checks whether the terminal is provided with client software for executing printing operation, so as to further judge whether the current environment meets the requirement of printing preparation.
Step 204: and acquiring the data to be printed according to the identification information of the data to be printed.
Specifically, after receiving a data printing instruction, the print processing module can acquire the to-be-printed process that needs to execute the printing operation based on the identification information of the to-be-printed data carried in the data printing instruction. Therefore, the problem that the processing efficiency is low because the web server executes the web service and issues the data to the printing processing module is solved, and the printing capability meeting the printing requirement in a high-efficiency and high-frequency printing scene is provided.
In an embodiment provided in this specification, the acquiring of the data to be printed from a data providing module, specifically, the acquiring of the data to be printed according to the identification information of the data to be printed includes:
generating a data acquisition request based on the identification information of the data to be printed, and sending the data acquisition request to a data providing module;
and receiving data to be printed, which is sent by the data providing module in response to the data acquisition request, wherein the data to be printed is the data determined by the data providing module based on the identification information.
The data providing module may be understood as a mechanism, platform, server, device, etc. capable of providing data to be printed, for example, a server in a data processing system. In practical application, after a user completes commodity purchase through a web server, the web server generates order data of commodities purchased by the user, and synchronizes the order data to the server. And subsequently, under the condition that the server receives a data acquisition request of the client software, inquiring order data and sending the order data to the client software to execute printing operation.
Specifically, after receiving a data printing instruction, the printing processing module generates a data acquisition request based on identification information of data to be printed carried in the data printing instruction, and sends the data acquisition request to the data providing module; after receiving the data acquisition request, the data providing module responds to the data acquisition request, acquires identification information carried in the data acquisition request, inquires data to be printed matched with the identification information based on the identification information, and sends the data to be printed to the printing processing module. The printing processing module receives the data to be printed sent by the data providing module and then executes the printing operation on the data to be printed.
According to the above example, after receiving an order printing instruction sent by a web server, client software can generate an order data acquisition request based on an order number carried in the order printing instruction and send the order data acquisition request to the server; under the condition that the server receives the order data acquisition request, responding to the order data acquisition request, inquiring order data matched with the order number from the stored order data based on the order number carried by the order data acquisition request, and sending the order data to client software; after receiving the order data, the client software executes subsequent printing operation on the order data.
In an embodiment provided by the present specification, a print processing module generates a data acquisition request based on identification information of data to be printed, and sends the data acquisition request to a data providing module; the data to be printed sent by the data providing module in response to the data acquisition request can be received, so that the problem of low processing efficiency caused by the fact that a web server side needs to execute web service and issue the data to the printing processing module is solved, and the printing capability meeting the printing requirement in a high-efficiency and high-frequency printing scene is provided.
Further, in an embodiment of this specification, in the process of sending data to be printed to a print processing module by a data providing module, in order to avoid a problem of data leakage, data security is preserved, a data obtaining request sent by the print processing module needs to be verified, and when the data obtaining request passes the verification, the data to be printed is sent to the print processing module, for example, in a bank running bill printing scene, client software deployed on a bank terminal is sent, and after the data obtaining request for the bank running data is sent to a server providing the bank running data, the server verifies the data obtaining request, and verifies whether client software sending the data obtaining request is client software authorized to obtain the bank running data. Under the condition that the verification is passed, the bank flow data is sent to the client software, so that the client software can execute subsequent printing operation, the problem of data leakage is avoided, and the safety of data storage is improved; the specific implementation is as follows.
The acquiring the data to be printed according to the identification information of the data to be printed includes:
acquiring information to be verified and identification information of the data to be printed;
generating a data acquisition request based on the information to be verified and the identification information, and sending the data acquisition request to a data providing module;
and receiving the data to be printed which is determined according to the identification information after the data acquisition request is verified by the data providing module in response to the data acquisition request.
The information to be verified can be understood as information representing whether the printing processing module can acquire the data to be printed, and the subsequent data providing module needs to verify a data acquisition request sent by the printing processing module based on the information to be verified; for example, the information to be authenticated may be understood as account information to which the print processing module is configured, a pass key to which the print processing module is configured, or the like.
Specifically, the print processing module can acquire the configured information to be verified and the identification information of the data to be printed carried in the received data printing instruction; generating a data acquisition request based on the information to be verified and the identification information, and sending the data acquisition request to a data providing module; the data providing module responds to the received data acquisition request and verifies the data acquisition request based on the information to be verified carried in the data acquisition request; after the verification is passed, the data providing module inquires the data to be printed matched with the identification information based on the identification information, and sends the data to be printed to the printing processing module. The printing processing module receives the data to be printed sent by the data providing module and then executes printing operation on the data to be printed.
According to the above example, the information to be verified is account information logged in by client software, based on the account information, after the client software receives an order printing instruction sent by a web server, the client software can obtain account information of the account logged in, generate an order data obtaining request based on an order number carried in the order printing instruction and the account information, and send the order data obtaining request to the server; and under the condition that the server receives the order data acquisition request, verifying whether the account logged in the client software is an authorized account or not based on the account information carried in the order data acquisition request. If yes, acquiring an order number carried by the request based on the order data, inquiring order data matched with the order number from the stored order data, and sending the order data to client software; after receiving the order data, the client software executes subsequent printing operation on the order data. If not, sending an unauthorized notification to the client software to prompt a person using the client to know that the client does not have the authority to acquire order data.
Step 206: and determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed.
In a specific implementation process, in order to ensure the regularity and the uniform format of the printed order data, after the print processing module obtains the data to be printed, the print processing module determines a target printing module for the data to be printed, and then generates a file to be printed with a uniform format based on the data to be printed and the target printing module, so that the regularity of the printed order data is ensured. On this basis, the print template to be processed can be understood as a print template that needs to be adjusted. In practical application, client software provides an original printing template (i.e., a printing template to be processed), but the original printing template cannot meet different personalized requirements, and different merchants need to print the printing template meeting their own requirements in the process of printing orders. Therefore, in order to meet personalized requirements of different merchants, a to-be-processed printing template may be adjusted to obtain a target printing template, and then a to-be-printed file meeting different personalized requirements is generated based on the target printing template, where based on this, in an embodiment of this specification, before determining the target printing template associated with the to-be-printed data, the method further includes:
receiving a template adjusting request aiming at a printing template to be processed, wherein the template adjusting request carries template adjusting information;
and adjusting the printing template to be processed based on the template adjustment information to obtain a target printing template.
The template adjustment request can be understood as a request for adjusting the to-be-processed printing template; accordingly, the template adjustment information may be understood as information for adjusting the print template to be processed. For example, the template adjustment information may be information for modifying, deleting, adding, and the like, a specific template element in the print simulation to be processed. The template elements may be understood as pictures, text display areas, default text, etc. in the print template. Based on this, the template adjustment information may be information for adjusting the position of the picture and/or text display area in the print template to be processed. Or, the template adjustment information may be information for performing modification and deletion operations on default characters in the print template to be processed.
Specifically, after receiving a template adjustment request for a printing template to be processed, the printing processing module responds to the template adjustment request, and adjusts the printing template to be processed based on template adjustment information carried in the template adjustment request, so that a target printing template is obtained, different personalized requirements are met, and the diversity and flexibility of the printing template are ensured.
In an embodiment provided by the present specification, the print processing module may have a plurality of print templates, and when the data to be printed is acquired, a target print template associated with the data to be printed can be selected from the plurality of print templates, so as to meet different personalized requirements; specifically, the determining a target printing template associated with the data to be printed includes:
determining data type information of the data to be printed;
and selecting a target printing template associated with the data to be printed from the printing templates to be selected based on the data type information.
Wherein, the data type information can be understood as information representing the type of the data to be printed; for example, in the case where the data to be printed is order data, the data type information may be an order type; in the case where the data to be printed is the bank flow data, the data type information may be the bank flow type.
Specifically, after acquiring the data to be printed, the print processing module determines data type information of the data to be printed, and selects a target print template associated with the data to be printed from the print templates to be selected based on the data type information. For example, in a case where the data type information is an order type, a print template associated with the order data is selected from a plurality of print templates. In a case where the data type information is a bank flow type, a print template associated with the bank flow data is selected from the plurality of print templates.
Step 208: and generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing.
The file to be printed can be understood as a file which needs to be sent to the file printing module for printing; the file type of the file to be printed may be set according to an actual application scenario, which is not specifically limited in this specification. For example, the file type of the file to be printed may be a Word, PDF, JPG, or the like type.
The document printing module may be understood as a device, e.g. a printer, capable of printing the document to be printed.
Specifically, after the print processing module obtains the data to be printed and the target print template, the data to be printed can be filled into the target print template, so that the file to be printed is obtained, and the file to be printed is sent to the file printing module for printing. In practical application, the printing processing module can send files to be printed to one or more file printing modules in batches, so that the file printing modules can print the files to be printed in batches; or the print processing module can send the file to be printed to the plurality of file printing modules in an equally dividing mode, so that the plurality of printers can print the file to be printed in an evenly distributed mode.
In the embodiment provided by the present specification, the data processing method provided by the present specification allows a user to select a plurality of available printers, records the printing states of the printers, obtains the number of tasks of each printer by querying through a command when pushing a print job (a job of printing a file to be printed), distributes the print job to each printer queue, realizes "load balancing" of the printers, and avoids causing queue congestion. When the total printing quantity of the printer is too large, the client software locally caches data (namely files to be printed), so that the quantity of printing tasks is slowly diluted. The problem that printer drivers exceed a transition queue to cause printer printing blocking is solved, and specifically, in the data processing method provided by the specification, at least two file printing modules are provided;
correspondingly, the sending the file to be printed to a file printing module for printing includes:
acquiring current state information of each file printing module in at least two file printing modules;
determining a target file printing module from the at least two file printing modules based on the current state information;
and sending the file to be printed to the target file printing module for printing.
The current state information may be understood as information representing the current printing state of the document printing module, for example, the current state information may be the number of prints of the printer. Accordingly, in the case where the document printing module is a printer, the target document printing module can be understood as a printer capable of performing a document printing operation among the plurality of printers. In practical application, a plurality of printers may have a part of printers with more printing tasks, resulting in a loaded state; based on the method, the client software can select a printer capable of executing printing operation from a plurality of printers to print, and the problem of printer printing blockage is avoided.
Specifically, the print processing module can acquire current status information of each of at least two file printing modules; and determining a target file printing module capable of executing a printing task from at least two file printing modules based on the current state information, and sending the file to be printed to the target file printing module for printing.
According to the above example, the client software can obtain the current state information of the plurality of printers, select an unloaded printer capable of executing a print job from the plurality of printers based on the current state information of each printer, then start to initiate a print logic, push the print job (a job carrying an order file) generated on the print page of the client into a queue driven by the printer, and automatically start to print and discharge paper once the printer is ready, thereby completing the print job for the order file.
It should be noted that the queue of the pushed print jobs in the printer may return a print status, where the print status may be a value representing whether printing is successful or not, and the client software feeds the print status back to the terminal rendering interface (for example, a terminal screen) when receiving the print status, so as to prompt the user that printing is successful.
In an embodiment of this specification, the sending the file to be printed to the target file printing module for printing includes:
and sending the files to be printed to the target file printing module in batches for printing.
Along the above example, when the client software sends the order file to the printer, the order file can be pushed to a plurality of available printer queues in a dynamic concurrent mode, and the client software has the capability of concurrent printing. In the process of pushing the print tasks in a dynamic concurrent mode, the print tasks can be pushed to a plurality of available printer queues in batches in a batch mode, so that the print tasks can be pushed flexibly, and the problem of printer load is avoided.
Further, in an embodiment provided by this specification, the sending the file to be printed to the target file printing module for printing includes:
and equally distributing the files to be printed to a plurality of target file printing modules so as to print the files by the target file printing modules.
According to the above example, in the process of pushing the print tasks in the dynamic concurrent mode, a plurality of print tasks can be averagely pushed to a plurality of available printers in an equalling mode, so that the print tasks can be pushed flexibly, and the problem of printer load is avoided.
According to the data processing method provided by the specification, under the condition that a data printing instruction is received, data to be printed are actively acquired, and after a file to be printed is generated based on the data to be printed and a related target printing template, the file to be printed is sent to a file printing module for printing, so that the problem of low printing efficiency is avoided, and the printing capability meeting the printing requirement in a high-efficiency and high-frequency printing scene is provided.
The following description further describes the data processing method by taking an application of the data processing method provided in this specification to a data scene of a merchant print order as an example, with reference to fig. 3. Fig. 3 shows a processing procedure flowchart of a data processing method provided in an embodiment of the present specification, and referring to fig. 3, in an online shopping scenario, when a user purchases a commodity sold by a merchant through a web service (e.g., mobile shopping software), the web service needs to send a print instruction for order data to the commodity, so as to instruct the merchant to print the order data, and perform subsequent operations of commodity selling, such as commodity packaging, commodity shipping, and the like, based on the printed order data.
Based on this, in the flow of printing order data, firstly, triggering and calling logic at a web server to obtain the current running state of client software; and checking whether the client is ready or not based on the current running state, if so, continuously checking whether the client works or not, otherwise, prompting that the client is not ready to a merchant, and ending the printing process. Whether the client is ready to check whether the commodity is provided with client software or not is judged; whether the client is working may be to check whether the client software has not finished printing. Note that the client is client software.
And in the process of checking whether the client is in work, if so, indicating that the client software is not printed completely, prompting in work and informing a merchant that the client software is not printed completely. If not, the web service side sends an order printing instruction to the client side. The client receives and processes the order printing instruction.
In practical application, the web server checks whether the client is installed and whether the client has not finished printing, and other basic checks are performed, so as to judge whether the current environment meets printing preparation or not and avoid the situation of printing count. The client in the data processing method provided by the specification is developed based on an open source Electron framework, is independent of a web service side, and has system bottom layer perception capability. Because the framework is suitable for the same technical stack of a web developer, the developer can reasonably switch identities to research and develop, can support installation and deployment of a plurality of operating systems, and supports the use of the client software under the plurality of operating systems.
In addition, the communication between the web and the client is real-time through WebSocket, and the web server sends necessary printing characteristic values, such as order numbers carried in order printing instructions, to the client. Therefore, in the process of processing the order printing instruction by the client, after the client receives the order number, the client immediately displays the received data rendering to the merchant and starts to process the data, generates an order data acquisition request according to the order number, and sends the order data acquisition request to the server.
After receiving the order data acquisition request, the server processes the order data acquisition request; the server side firstly verifies whether the request is authorized, namely whether the request is initiated by an authorized account; if yes, returning a data processing result and order data to the client, wherein the data processing result can be a result that the representation verification is passed.
And after receiving the data processing result, the client determines that the processing is successful (namely, the order data is successfully acquired), and renders the data processing result to the client for display to the user.
If not, determining that the request is illegal, namely the request is not initiated by an authorized account, prompting the merchant by the server side that the request is not authorized, and directly terminating the flow; the method for prompting the merchant of unauthorized use may be that the server returns a data processing result to the client, where the data processing result may be a result indicating that the verification fails.
And after receiving the data processing result, the client determines that the processing fails (namely, the order data acquisition is unsuccessful), and renders the data processing result to the client for display to the user.
That is, in the process of acquiring order data from the server by the client, the server returns data to the client after a series of logical decisions, where the data includes status data of processing success or failure.
After the client side obtains order data, the client side starts to initiate printing logic; firstly, the client side can determine an order data printing template matched with order data; and filling the order data into an order data printing template, thereby obtaining an order file. It should be noted that the order data printing template may be adjusted according to the requirements of different merchants, so as to obtain a printing template meeting the personalized requirements of different merchants.
Secondly, after the client obtains the order file, the client calls a window to print, the order file is displayed to the merchant through the window, and a printing task is generated based on the order file. Then, the client side pushes the print jobs generated by the print pages to the print drive queues of the plurality of printers, and automatically starts printing and discharges the paper once the printers are ready. Meanwhile, the pushed queue has a printing state returned, and the state can be understood as a printing result representing printing success or failure; after receiving the status return, the client feeds back the value (printing result) to a rendering interface of the client (i.e., the client rendering result in fig. 3), so as to prompt the merchant to print successfully.
In the data processing method provided by the present specification, a software development based on cross-platform concurrent drive printing is provided, where the software can be installed in a cross-platform manner, can be applied to windows, mac, and Linux operating systems, and can drive multiple printers to print simultaneously. Therefore, when the software is applied to a new market printing scene, the software can drive a plurality of printers to print simultaneously, and has the capability of cross-platform installation printing. The problem that the printing requirement cannot be met in a high-efficiency and high-frequency scene is further solved.
Corresponding to the above method embodiments, the present specification further provides data processing embodiments, and fig. 4 shows a schematic structural diagram of a data processing system provided in an embodiment of the present specification. As shown in fig. 4, the system includes a print processing module 402 and a document printing module 404, wherein,
the printing processing module 402 is configured to receive a data printing instruction, where the data printing instruction carries identification information of data to be printed; acquiring the data to be printed according to the identification information of the data to be printed; determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed; generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module 404 for printing;
the file printing module 404 is configured to print the file to be printed.
Optionally, the system includes a data providing module, and accordingly, the print processing module 402 is further configured to:
generating a data acquisition request based on the identification information of the data to be printed, and sending the data acquisition request to a data providing module;
and receiving data to be printed, which is sent by the data providing module in response to the data acquisition request, wherein the data to be printed is the data determined by the data providing module based on the identification information.
Optionally, the print processing module 402 is further configured to:
acquiring information to be verified and identification information of the data to be printed;
generating a data acquisition request based on the information to be verified and the identification information, and sending the data acquisition request to a data providing module;
and receiving the data to be printed which is determined according to the identification information after the data acquisition request is verified by the data providing module in response to the data acquisition request.
Optionally, the print processing module 402 is further configured to:
receiving a template adjusting request aiming at a printing template to be processed, wherein the template adjusting request carries template adjusting information;
and adjusting the printing template to be processed based on the template adjustment information to obtain a target printing template.
Optionally, the print processing module 402 is further configured to:
determining data type information of the data to be printed;
and selecting a target printing template associated with the data to be printed from the printing templates to be selected based on the data type information.
Optionally, the system includes a print request module, and accordingly, the print processing module 402 is further configured to:
receiving a state acquisition request sent by a printing request module;
sending current state information to the print request module in response to the state acquisition request;
and receiving a data printing instruction sent by the printing request module, wherein the data printing instruction is an instruction sent by the printing request module according to the current state information.
Optionally, the number of the file printing modules 404 is at least two;
accordingly, the print processing module 402 is further configured to:
acquiring current state information of each file printing module in at least two file printing modules;
determining a target file printing module from the at least two file printing modules based on the current state information;
and sending the file to be printed to the target file printing module for printing.
Optionally, the print processing module 402 is further configured to:
and sending the files to be printed to the target file printing module in batches for printing.
Optionally, the system includes a print request module, and accordingly, the print processing module 402 is further configured to:
and equally distributing the files to be printed to a plurality of target file printing modules so as to print the files by the target file printing modules.
In the data processing system provided by this specification, the print processing module actively acquires data to be printed when receiving a data print instruction, and sends the file to be printed to the file printing module for printing after generating a file to be printed based on the data to be printed and the associated target print template, thereby avoiding the problem of low print efficiency and providing the printing capability that meets the printing requirement in a high-efficiency and high-frequency printing scene.
The above is a schematic scheme of a data processing system of the present embodiment. It should be noted that the technical solution of the data processing system and the technical solution of the data processing method belong to the same concept, and details that are not described in detail in the technical solution of the data processing system can be referred to the description of the technical solution of the data processing method.
FIG. 5 illustrates a block diagram of a computing device 500, provided in accordance with one embodiment of the present specification. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530, and database 550 is used to store data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 500, as well as other components not shown in FIG. 5, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 5 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.
Wherein the processor 520 is configured to execute computer-executable instructions that, when executed by the processor 520, implement the steps of the data processing method described above.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device belongs to the same concept as the technical solution of the data processing method, and for details that are not described in detail in the technical solution of the computing device, reference may be made to the description of the technical solution of the data processing method.
An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which when executed by a processor implement the steps of the data processing method described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the data processing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the data processing method.
An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the data processing method.
The above is an illustrative scheme of a computer program of the present embodiment. It should be noted that the technical solution of the computer program and the technical solution of the data processing method belong to the same concept, and details that are not described in detail in the technical solution of the computer program can be referred to the description of the technical solution of the data processing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the embodiments. The specification is limited only by the claims and their full scope and equivalents.
Claims (12)
1. A method of data processing, comprising:
receiving a data printing instruction, wherein the data printing instruction carries identification information of data to be printed;
acquiring the data to be printed according to the identification information of the data to be printed;
determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed;
and generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing.
2. The data processing method according to claim 1, wherein the acquiring the data to be printed according to the identification information of the data to be printed includes:
generating a data acquisition request based on the identification information of the data to be printed, and sending the data acquisition request to a data providing module;
and receiving data to be printed, which is sent by the data providing module in response to the data acquisition request, wherein the data to be printed is the data determined by the data providing module based on the identification information.
3. The data processing method according to claim 1, wherein the acquiring the data to be printed according to the identification information of the data to be printed includes:
acquiring information to be verified and identification information of the data to be printed;
generating a data acquisition request based on the information to be verified and the identification information, and sending the data acquisition request to a data providing module;
and receiving the data to be printed which is determined according to the identification information after the data acquisition request is verified by the data providing module in response to the data acquisition request.
4. The data processing method of claim 1, prior to determining the target print template associated with the data to be printed, further comprising:
receiving a template adjusting request aiming at a printing template to be processed, wherein the template adjusting request carries template adjusting information;
and adjusting the printing template to be processed based on the template adjustment information to obtain a target printing template.
5. The data processing method of claim 1, the determining a target print template associated with the data to be printed, comprising:
determining data type information of the data to be printed;
and selecting a target printing template associated with the data to be printed from the printing templates to be selected based on the data type information.
6. The data processing method of claim 1, the receiving a data print instruction, comprising:
receiving a state acquisition request sent by a printing request module;
sending current state information to the print request module in response to the state acquisition request;
and receiving a data printing instruction sent by the printing request module, wherein the data printing instruction is an instruction sent by the printing request module according to the current state information.
7. The data processing method according to claim 1, the file printing modules are at least two;
correspondingly, the sending the file to be printed to a file printing module for printing includes:
acquiring current state information of each file printing module in at least two file printing modules;
determining a target file printing module from the at least two file printing modules based on the current state information;
and sending the file to be printed to the target file printing module for printing.
8. The data processing method of claim 7, wherein sending the file to be printed to the target file printing module for printing comprises:
and sending the files to be printed to the target file printing module in batches for printing.
9. The data processing method according to claim 7, wherein the sending the file to be printed to the target file printing module for printing comprises:
and equally distributing the files to be printed to a plurality of target file printing modules so as to print the files by the target file printing modules.
10. A data processing system comprising a print processing module and a document printing module, wherein,
the printing processing module is configured to receive a data printing instruction, wherein the data printing instruction carries identification information of data to be printed; acquiring the data to be printed according to the identification information of the data to be printed; determining a target printing template associated with the data to be printed, wherein the target printing template is obtained by adjusting the data to be printed; generating a file to be printed based on the target printing template and the data to be printed, and sending the file to be printed to a file printing module for printing;
the file printing module is configured to print the file to be printed.
11. A computing device, comprising:
a memory and a processor;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions, which when executed by the processor, implement the steps of the data processing method of any one of claims 1 to 9.
12. A computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the data processing method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210259172.5A CN114610249A (en) | 2022-03-16 | 2022-03-16 | Data processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210259172.5A CN114610249A (en) | 2022-03-16 | 2022-03-16 | Data processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114610249A true CN114610249A (en) | 2022-06-10 |
Family
ID=81862359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210259172.5A Pending CN114610249A (en) | 2022-03-16 | 2022-03-16 | Data processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114610249A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115454363A (en) * | 2022-09-14 | 2022-12-09 | 北京木屋时代科技有限公司 | Instruction implementation method and device, storage medium and electronic device |
CN117608504A (en) * | 2024-01-23 | 2024-02-27 | 南京功夫豆信息科技有限公司 | Intelligent printing method and system combined with user demand analysis |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002304270A (en) * | 2001-04-06 | 2002-10-18 | Canon Inc | Printing system, print management device and method, computer program, and computer readable storage medium |
CN102467356A (en) * | 2010-11-16 | 2012-05-23 | 佳能株式会社 | Print relay system and print relay system control method |
CN110347355A (en) * | 2019-07-08 | 2019-10-18 | 武汉诚信卓远科技发展有限公司 | Cloud Method of printing, equipment and computer readable storage medium |
CN111176590A (en) * | 2019-12-27 | 2020-05-19 | 深圳市微购科技有限公司 | Adaptation-based printing method, device, apparatus and computer-readable storage medium |
-
2022
- 2022-03-16 CN CN202210259172.5A patent/CN114610249A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002304270A (en) * | 2001-04-06 | 2002-10-18 | Canon Inc | Printing system, print management device and method, computer program, and computer readable storage medium |
CN102467356A (en) * | 2010-11-16 | 2012-05-23 | 佳能株式会社 | Print relay system and print relay system control method |
CN110347355A (en) * | 2019-07-08 | 2019-10-18 | 武汉诚信卓远科技发展有限公司 | Cloud Method of printing, equipment and computer readable storage medium |
CN111176590A (en) * | 2019-12-27 | 2020-05-19 | 深圳市微购科技有限公司 | Adaptation-based printing method, device, apparatus and computer-readable storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115454363A (en) * | 2022-09-14 | 2022-12-09 | 北京木屋时代科技有限公司 | Instruction implementation method and device, storage medium and electronic device |
CN117608504A (en) * | 2024-01-23 | 2024-02-27 | 南京功夫豆信息科技有限公司 | Intelligent printing method and system combined with user demand analysis |
CN117608504B (en) * | 2024-01-23 | 2024-03-29 | 南京功夫豆信息科技有限公司 | Intelligent printing method and system combined with user demand analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10346109B2 (en) | Terminal device and printer | |
CN114610249A (en) | Data processing method and system | |
EP2867821B1 (en) | Secure printing in a cloud-based print system | |
JP2009065652A (en) | Document processing apparatus, method and program | |
US11652929B2 (en) | Methods and systems for enabling kiosk mode on a multifunction device | |
US10802779B2 (en) | Print processing system and method having print server converts document data into print data and to store the print data into plural storage servers for printing at image processing apparatus | |
JP2002333961A (en) | Method for using print service | |
CN104253924A (en) | Image forming apparatus, system and control method for printing received print data | |
US8988716B1 (en) | Customized printer identifier with embedded access rights | |
US20190065128A1 (en) | Server apparatus, method of controlling the same, storage medium, and printing kystem | |
CN103139422B (en) | Image processing apparatus and control method thereof | |
US8400260B2 (en) | System and method for securing authorized access by a mobile data device of a document processing device | |
US20080174808A1 (en) | System and method for job submission to an unspecified document processing device | |
JP2007141241A (en) | Document processing system, method and program | |
US11809762B2 (en) | Information processing system and management apparatus | |
US20180232188A1 (en) | Communication system, printing mediation server, and non-transitory computer-readable medium | |
JP2010050966A (en) | System and method for cloning setting of document processor | |
JP2002207581A (en) | Method and system for managing print service | |
CN110175006A (en) | Print the processing method and processing device of source file | |
US11475423B2 (en) | Generation of billing information using job information of content | |
CN112148239B (en) | Setting method and device of printing options, storage medium and computer equipment | |
US12073127B2 (en) | System and method of controlling system | |
US12045529B2 (en) | Device management server and control method thereof | |
CN110990796B (en) | Application processing method and device, application server and storage medium | |
JP2010044754A (en) | System and method for cellphone-based user authentication |
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 |