CN113360100B - Data printing method and printing management system - Google Patents

Data printing method and printing management system Download PDF

Info

Publication number
CN113360100B
CN113360100B CN202010151792.8A CN202010151792A CN113360100B CN 113360100 B CN113360100 B CN 113360100B CN 202010151792 A CN202010151792 A CN 202010151792A CN 113360100 B CN113360100 B CN 113360100B
Authority
CN
China
Prior art keywords
printing
template
print
data
responsible person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010151792.8A
Other languages
Chinese (zh)
Other versions
CN113360100A (en
Inventor
周仑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202010151792.8A priority Critical patent/CN113360100B/en
Publication of CN113360100A publication Critical patent/CN113360100A/en
Application granted granted Critical
Publication of CN113360100B publication Critical patent/CN113360100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

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 invention discloses a data printing method and a printing management system, and relates to the technical field of computers. One embodiment of the method comprises the following steps: configuring a service system and recording at least one printing template corresponding to the service system; acquiring print job data from a print request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; a print document is generated for the print request based on the print data and the print template. The implementation mode can solve the problem that printing requirements of different business systems are changeable under different business scenes, reduces development and operation costs in aspects of manpower, time and the like, and improves maintainability of the business systems.

Description

Data printing method and printing management system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data printing method and a print management system.
Background
Data printing is an extremely important operation link in many industries, and through data printing, correct data can be printed on paper according to an accurate pattern to serve as a certificate or a reserved file and the like. In the business of logistics management warehouse, transportation, distribution and the like, a plurality of different information management systems are involved, and the systems generally have the scene that different merchants dynamically adjust printing patterns according to different business types (such as a packing list, an out-of-warehouse list, a package label and the like) to print paper.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
different business systems have changeable printing requirements under different business scenes, a large amount of labor and time cost can be consumed in a development link, and the maintainability of the business systems is poor.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a data printing method and a printing management system, which can solve the problem that printing requirements of different business systems are changeable under different business scenes, reduce development and operation costs in aspects of manpower, time and the like, and improve maintainability of the business systems.
To achieve the above object, according to one aspect of an embodiment of the present invention, there is provided a data printing method.
The data printing method of the embodiment of the invention comprises the following steps:
configuring a service system and recording at least one printing template corresponding to the service system;
acquiring print job data from a print request; the print job data comprises a service system number, a print template number, a template version number and print data;
acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number;
And generating a print document for the print request based on the print data and a print template corresponding to the print request.
Optionally, configuring a service system, and recording at least one printing template corresponding to the service system, including:
configuring a service system based on the service system number and member information; the member information comprises a system responsible person, a system member and a right limit thereof;
responding to the definition operation of the system responsible person or the system member, and recording a data model and a data acquisition mode of the service system defined by the system responsible person or the system member;
recording a printing template created by a system responsible person or a system member, and setting a service system number, a printing template number, a template version number, a data model and a locking state of the printing template; establishing a binding relation between the printing template and the printer;
responding to the starting operation of the printing client, and updating a local file system of the printing client; the local file system is used for storing the printing template.
Optionally, recording a print template created by the system responsible person or the system member, and setting a service system number, a print template number, a template version number, a data model and a locking state of the print template, including:
Authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer for the system responsible person or the system member after passing the authentication;
responding to the editing operation of the system responsible person or the system member, acquiring a blank template and a selected data model which are newly built in the template designer by the system responsible person or the system member, and extracting a printing layout and a printing style from the edited blank template;
responding to preview operation of the system responsible person or the system member, and previewing and displaying the edited blank template based on the data model, the printing layout and the printing style;
responding to the save operation of the system responsible person or the system member, storing the edited blank template as a printing template, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the edited blank template.
Optionally, recording a print template created by the system responsible person or the system member, and setting a service system number, a print template number, a template version number, a data model and a locking state of the print template, and then further including:
Authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer for the system responsible person or the system member after passing the authentication;
locking a target printing template in the template designer in response to a modification operation of the system principal or the system member;
extracting a modified layout and a modified style from the modified target printing template in response to an editing operation of the system responsible person or the system member;
responding to the preview operation of the system responsible person or the system member, and previewing and displaying the modified target printing template based on the modified layout and the modified style;
responding to the save operation of the system responsible person or the system member, and updating the target printing template and the template version number and locking state thereof based on the modified layout and the modified style preview; or, newly adding a printing template based on the modified layout and the modified style, and setting a service system number, a printing template number, a template version number and a locking state of the printing template; or temporarily storing the modified target printing template.
Optionally, the print job data further includes an output mode; and
acquiring print job data from a print request, comprising:
monitoring a printing interface of the printing client;
receiving a printing request sent by the service system through the printing interface;
and acquiring a service system number, a printing template number, a template version number, printing data and an output mode from the printing request.
Optionally, obtaining the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number includes:
inquiring the service system number, the printing template number and the template version number in a local file system of the printing client;
if the corresponding printing template exists, acquiring the printing template corresponding to the printing request from the local file system;
and if the corresponding printing template does not exist, requesting the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number.
Optionally, generating a print document for the print request based on the print data and a print template corresponding to the print request includes:
Analyzing the printing template to obtain a printing style and a printing canvas;
placing the print data in the print canvas according to the print style to generate a print document;
outputting the printed document to a printer or outputting the printed document as a local file based on the output mode; and
and feeding back a printing result to the service system.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a print management system.
The printing management system of the embodiment of the invention comprises a service platform, a template designer and a printing client, wherein:
the service platform is used for configuring a service system; recording at least one printing template corresponding to the business system; invoking the template designer;
the template designer is used for receiving the editing of the printing template by a system responsible person or a system member;
the printing client is used for receiving a printing request and acquiring a service system number, a printing template number, a template version number and printing data from the printing request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; and generating a print document for the print request based on the print data and a print template corresponding to the print request.
Optionally, the service platform is further configured to:
configuring a service system based on the service system number and member information; the member information comprises a system responsible person, a system member and a right limit thereof;
responding to the definition operation of the system responsible person or the system member, and recording a data model and a data acquisition mode of the service system defined by the system responsible person or the system member;
authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer for the system responsible person or the system member after passing the authentication;
recording a printing template created by a system responsible person or a system member, and setting a service system number, a printing template number, a template version number, a data model and a locking state of the printing template; establishing a binding relation between the printing template and the printer;
responding to the starting operation of the printing client, and updating a local file system of the printing client; the local file system is used for storing the printing template.
Optionally, the template designer is further configured to:
Responding to the editing operation of the system responsible person or the system member, acquiring a blank template and a selected data model which are newly built by the system responsible person or the system member, and extracting a printing layout and a printing style from the edited blank template;
responding to preview operation of the system responsible person or the system member, and previewing and displaying the edited blank template based on the data model, the printing layout and the printing style;
responding to the save operation of the system responsible person or the system member, storing the edited blank template as a printing template, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the edited blank template.
Optionally, the template designer is further configured to:
locking the target printing template in response to the modification operation of the system responsible person or the system member;
extracting a modified layout and a modified style from the modified target printing template in response to an editing operation of the system responsible person or the system member;
responding to the preview operation of the system responsible person or the system member, and previewing and displaying the modified target printing template based on the modified layout and the modified style;
Responding to the save operation of the system responsible person or the system member, and updating the target printing template and the template version number and locking state thereof based on the modified layout and the modified style preview; or, newly adding a printing template based on the modified layout and the modified style, and setting a service system number, a printing template number, a template version number and a locking state of the printing template; or temporarily storing the modified target printing template.
Optionally, the print client is further configured to:
monitoring a printing interface of the printing client;
receiving a printing request sent by the service system through the printing interface;
and acquiring a service system number, a printing template number, a template version number, printing data and an output mode from the printing request.
Optionally, the print client is further configured to:
inquiring the service system number, the printing template number and the template version number in a local file system of the printing client;
if the corresponding printing template exists, acquiring the printing template corresponding to the printing request from the local file system;
and if the corresponding printing template does not exist, requesting the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number.
Optionally, the print client is further configured to:
analyzing the printing template to obtain a printing style and a printing canvas;
placing the print data in the print canvas according to the print style to generate a print document;
outputting the printed document to a printer or outputting the printed document as a local file based on the output mode; and
and feeding back a printing result to the service system.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided an electronic device for data printing.
The electronic equipment for printing data comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the data printing method according to the embodiment of the invention.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of an embodiment of the present invention has stored thereon a computer program which, when executed by a processor, implements a data printing method of an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: because the service system is configured, and at least one printing template corresponding to the service system is recorded; acquiring print job data from a print request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; the technical means of generating the print file for the print request based on the print data and the print template overcomes the technical problems that different business systems have changeable print demands under different business scenes, a large amount of labor and time cost are consumed in a development link, and the maintainability of the business systems is poor, so that the technical effects of solving the problem that the different business systems have changeable print demands under different business scenes, reducing development and operation costs in the aspects of labor and time and the like and improving the maintainability of the business systems are achieved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of main steps of a data printing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of pseudo code of a print data model class of a data printing method according to one referenceable embodiment of the invention;
FIG. 3 is a schematic diagram of a business system access procedure of a data printing method according to one referenceable embodiment of the present invention;
FIG. 4 is a schematic diagram of a print template editing process of a data printing method according to one referenceable embodiment of the present invention;
FIG. 5 is a schematic diagram of a printer configuration and job printing process of a data printing method according to one referenceable embodiment of the present invention;
FIG. 6 is a schematic diagram of the main modules of a print management system according to an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 8 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments of the present invention and the technical features in the embodiments may be combined with each other without collision.
In the business of logistics management warehouse, transportation, distribution and the like, a plurality of different business systems are involved, and the business systems have the common scene of dynamically adjusting printing patterns according to different business types and different merchants to print paper. The current solution is as follows:
for different business scenes, different printing style processing programs need to be developed, and if different merchants have different printing style requirements, corresponding printing functions need to be developed.
However, the above scheme has the following main problems:
1. the development cost is high, each different business needs to independently develop a specific function, and the same business also needs to develop an independent function for a specific merchant;
2. not flexible enough, when the printing requirement changes, the printing logic needs to be modified to adapt;
3. the maintainability is poor, and when the business scene is complex and the printing logic is complex, the system becomes unable to be maintained.
Therefore, the data printing method of the embodiment of the invention provides a universal print job life cycle management method, solves the problem that printing requirements of different business systems are changeable under different business scenes, reduces the overall development cost and improves the maintainability of the business systems.
Fig. 1 is a schematic diagram of main steps of a data printing method according to an embodiment of the present invention. As shown in fig. 1, the data printing method according to the embodiment of the present invention mainly includes the following steps:
step S101: and configuring a service system and recording at least one printing template corresponding to the service system.
The data printing method of the embodiment of the invention performs unified printing management on the service systems, and provides printing service for each service system by using a service platform such as a printing management system, namely the data printing method of the embodiment of the invention can be applied to the service platform such as the printing management system, and can respectively perform targeted configuration on each service system at the service platform so that each service system has a corresponding printing template. In addition, under the scene of accessing a plurality of service systems, data isolation is carried out according to the service systems, data such as a data model and a printing template are stored under the corresponding service systems, and only system responsible persons and system members of the service systems can access the corresponding data, so that the service systems are not affected by each other.
In the embodiment of the present invention, step S101 may be implemented by: configuring a service system based on the service system number and member information; responding to the definition operation of a system responsible person or a system member, and recording a data model of a service system defined by the system responsible person or the system member and a data acquisition mode; recording a printing template created by a system responsible person or a system member, and setting a service system number, a printing template number, a template version number, a data model and a locking state of the printing template; establishing a binding relation between the printing template and the printer; and in response to the starting operation of the printing client, updating the local file system of the printing client.
For each business system, the service platform can be provided with printing related configuration such as operators, data sources, printing templates and the like. The system comprises a system principal, a system member and the like, wherein the system principal and the system member and the like can edit a data source and a printing template, and can give corresponding rights to the system principal and the system member according to the requirements of a business system, for example, the system member can execute editing operations, or the system principal can add the system member, and the system principal can also transfer the system to other members as the principal and the like; the data source refers to: the system responsible person or system member defines in the service platform for the service system, the data model used by the service system (i.e. the structure of the print job data) and the way of the print client obtaining the data from the service system; the system principal and system members can add or modify print templates for business systems. It should be noted that, each print template is configured with at least one print client or one file output format, such as PDF, word or Excel.
The printing client side obtains data from the service system in two modes, namely: push-type: the business system submits the organized data to the printing client; pulling type: the print client accesses the service system to acquire print data through a data acquisition interface defined in the data source. In addition, when the print client is started, the service platform can check whether a new version exists between the service platform and the print template stored by the print client, and if so, the service platform downloads a local file system of the print client for updating, wherein the local file system is used for storing the print template.
In the embodiment of the invention, the steps of recording the printing template created by the system responsible person or the system member and setting the service system number, the printing template number, the template version number, the data model and the locking state of the printing template can be realized by the following modes: authenticating a system responsible person or a system member based on member information of a service system, and calling a template designer for the system responsible person or the system member after passing the authentication; responding to the editing operation of a system responsible person or a system member, acquiring a blank template and a selected data model which are newly built in a template designer by the system responsible person or the system member, and extracting a printing layout and a printing style from the edited blank template; responding to preview operation of a system responsible person or a system member, and previewing, displaying and editing the blank template based on the data model, the printing layout and the printing style; responding to the save operation of a system responsible person or a system member, storing the edited blank template as a printing template, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the edited blank template.
The service platform can determine the service system to which the system responsible person or the system member belongs by using the member information, the system responsible person or the system member can edit the printing template for the service system to which the system responsible person or the system member belongs, the printing template can be imported, created or modified, and the like, for creating or modifying the printing template, the printing template can be specifically realized in a template designer called by the service platform for the system responsible person or the system member, the template designer can comprise, but is not limited to, design tools such as a PC client or a web online designer, and the like, and the printing template can be previewed and temporarily saved in the editing process.
Meanwhile, the service platform supports version management, after each time of modifying the printing template, the modification is synchronized to the service platform by submitting the printing template, the template version number is increased when the printing template is submitted, and the service platform can also be set to be unmodified once the current version is submitted.
In the embodiment of the invention, after the created printing template, the method can further comprise the following steps: authenticating a system responsible person or a system member based on member information of a service system, and calling a template designer for the system responsible person or the system member after passing the authentication; locking the target printing template in the template designer in response to a modification operation of a system responsible person or a system member; responding to the editing operation of a system responsible person or a system member, and extracting a modified layout and a modified style from the modified target printing template; responding to the preview operation of a system responsible person or a system member, and previewing and displaying a modified target printing template based on the modified layout and the modified style; responding to the save operation of a system responsible person or a system member, and previewing and updating the target printing template and the template version number and locking state thereof based on the modified layout and the modified style; or, newly adding a printing template based on the modified layout and the modified style, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the modified target printing template.
For the existing printing template, the system responsible person or system member can update or modify the printing template, and the printing template can be previewed and temporarily stored in the editing process. It should be noted that before updating or modifying, the printing template to be operated (i.e. the target printing template) may be locked, if the locking is successful, the printing template may be updated or modified, otherwise, the subsequent operation cannot be performed, i.e. the mutually exclusive modification rule is supported, the system tries to lock the target printing template before each modification, the locking is successful, and if other users are already modifying, the locking is failed. The scene of locking failure, the local printing template is read-only and can not be modified, so that the problem of mutual coverage data loss caused by that a plurality of users modify the printing template simultaneously is avoided.
Step S102: print job data is acquired from the print request.
Print job data may include a business system number, a print template number, a template version number, print data, and output mode. When the service system has a printing requirement, only the printing template information (namely the service system number, the printing template number and the template version number) used, the specific content of printing (namely printing data) and what kind of printing result is (the printing document is output to a printer or is output as a local file) are carried in the printing request sent to the service platform, and no special printing function is required to be independently developed.
In the embodiment of the present invention, step S102 may be implemented by: monitoring the printing interface; receiving a printing request sent by a service system through a printing interface; and acquiring the service system number, the printing template number, the template version number, the printing data and the output mode from the printing request.
The printing client of the service platform can provide printing interfaces for all service systems, the printing requests of the service systems can be sent to the printing interfaces, the printing client can monitor the printing interfaces, receive the printing requests in time and analyze the printing requests to obtain printing job data.
Step S103: and obtaining a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number.
After obtaining the print job data, the print client can obtain the print template according to the requirement of the service system, i.e. the system number, the print template number and the template version number provided by the service system can be positioned to a specific print template.
In the embodiment of the present invention, step S103 may be implemented by: inquiring the service system number, the printing template number and the template version number in a local file system of the printing client; if the corresponding printing template exists, the printing template corresponding to the printing request is acquired from the local file system; and if the corresponding printing template does not exist, requesting the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number.
Because the local file system such as the local cache of the printing client can store some used printing templates, after receiving a printing request, the corresponding printing templates can be queried from the local file system, if yes, the printing templates in the local file system are directly used for subsequent rendering and other operations, and if no, the corresponding printing templates are queried from the service platform. In addition, the printing client can support the coexistence of multiple versions of the printing template, so that the gray release of the printing template is realized.
Step S104: a print document is generated for the print request based on the print data and the print template.
The print client may render print data based on the print template, etc., to generate a print document of the print request.
In the embodiment of the present invention, step S104 may be implemented by: analyzing the printing template to obtain a printing style and a printing canvas; placing the print data in a print canvas according to a print style to generate a print document; outputting the printed document to a printer or as a local file based on the output mode; and feeding back a printing result.
After the print template is determined, the print client analyzes the print template to obtain a print style and a print canvas, places print data in the print canvas according to the print style to generate a print document, outputs the print document to a printer for printing according to an output mode designated by a print request, outputs the print document as a local file for a user, and finally feeds back a print result to a service system so that the service system knows whether printing is successful or not.
It should be noted that, the service system may be an internet-based delivery service system, providing an order service related to instant delivery and responsible for a merchant, and the generated printed document may be various types of tickets corresponding to the order service, such as a receipt for a customer, an express bill for a delivery person, or a receipt for a chef.
According to the data printing method of the embodiment of the invention, as the configuration service system is adopted, at least one printing template corresponding to the service system is recorded; acquiring print job data from a print request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; the technical means of generating the print file for the print request based on the print data and the print template overcomes the technical problems that different business systems have changeable print demands under different business scenes, a large amount of labor and time cost are consumed in a development link, and the maintainability of the business systems is poor, so that the technical effects of solving the problem that the different business systems have changeable print demands under different business scenes, reducing development and operation costs in the aspects of labor and time and the like and improving the maintainability of the business systems are achieved.
In order to further explain the technical idea of the invention, the technical scheme of the invention is described with specific application scenarios.
In logistics management warehouse, transportation and distribution business, a plurality of business systems have similar functions of printing documents, labels and files according to business data. If each system independently develops a printing function according to specific requirements, the problems of repeated functions, high development cost and poor maintainability are brought.
The data printing method of the embodiment of the invention divides the whole life cycle into four stages of system access, template design, printer configuration and job printing, each stage is provided with a preset expansion mechanism to take over the dynamic printing function of each system, solves the problem of changeable printing requirements of different business systems under different business scenes, reduces the overall development cost and improves the maintainability of the business systems.
By accessing the printing management system, the service system does not need to independently realize all relevant printing functions, and only needs to organize service data according to the API provided by the printing management system, so that the rendering and printing work of the complex printing job can be completed. The development and operation cost is greatly saved, and the maintainability of the service system is improved.
The data printing method of the embodiment of the invention can divide the life cycle of the printing job into 4 stages, namely a system access stage, a template design stage, a printing client configuration stage and a job printing stage.
In the system access stage, different service systems can be registered to the print management system through configuration so as to dynamically configure templates and analyze print job data in subsequent flows, in particular:
step one: the system is accessed to the system, a system responsible person of the service system needs to provide service system numbers, member information and the like to register in the service platform, wherein the system responsible person can add system members and can also assign other system members as responsible persons. The metadata such as the printing template, the data model and the like among different business systems are isolated and have no influence on each other. In addition, the service platform provides a plurality of identity authentication modes, and only the authenticated system responsible person and system member can log in the system to perform template creation, editing, release and printing operation;
step two: after the system responsible person or member logs in the system through identity authentication, a data source can be created. The data source defines the mode of the service platform for obtaining the printing data in the service system and the printing data structure, namely the printing data model. Different traffic types of the traffic system may create different data sources. The service platform can import the data model basic initial structure from the service system and edit the data model basic initial structure in the process of creating the data source. In the data source definition process, the data providing mode can be selected to be push type or pull type. Wherein pull requires the business system to provide data access modes such as database connection, HTTP request address, file path, etc. The configuration is different, the job printing stage is determined, and the data acquisition mode of the printing client side is determined. The pseudo code of the print data model class is shown in fig. 2, and the description of the data model and the print template related metadata is shown in table 1.
TABLE 1
/>
/>
In the template design stage, a system responsible person or a system member configured on the service platform can be used as a template author, and the template author can design a printing template through a printing template designer after logging on the service platform, specifically:
step one: when a template author logs in, the service platform can determine the service system to which the template author belongs according to the identity information of the template author;
step two: the template author may create a new print template, at which point a data model may be selected via the template creation wizard, and the print style may begin with a blank template or may reference an existing print template. The printing template comprises a system, a template number, a template version number (default initial state version number is 0), a data model, sample data, metadata information such as locking state and the like and a printing style;
step three: the template author can place the fields in the data model on the specific positions of the blank templates, edit the control definition field printing patterns in the blank templates, preview the printing effect at any time in the editing process, store the editing result in the form of a temporary storage printing template file, store the temporary storage printing template file in the PC of the template editor or in the server, and open the file at any time for editing before submitting;
Step four: after editing, the template author can submit the edited blank template to the service platform, and once the service platform is submitted, an independent version number is generated for the template (i.e. the printing template), the content cannot be modified, and the submitted template (i.e. the printing template) can be used for printing;
step five: the template author can open a printing template file temporarily stored in the local part of the template designer PC, or open a printing template which is released already;
step six: after the published printing template is opened, the printing template is in a read-only state, all contents can not be modified, a template locking request (namely, a target printing template is locked) is submitted to a printing server by using an editing function, if the template is not locked by other authors, the locking is successful, and the current author can modify the template; otherwise, the locking fails, the printing template still keeps a read-only state, and the user who is editing the template at present is returned;
step seven: after the author edits, submitting the change to a service platform through a submitting template, and automatically increasing the template version and automatically unlocking the template state once the submitting is successful;
in addition, the system responsible person can force the template in the editing process to be unlocked on the service platform, and the editing right is transferred to other system members.
Print client configuration phase:
step one: the service system member can start the printing client at the PC where the printer is located as a printing operator, and the identity and the affiliated service system are determined through login.
Step two: and the printing operator configures the binding relation between the printing template and the printer under the current service system through the printing client.
Step three: the printing client generates a system service, performs silent execution in a system background, starts a monitoring service, and receives a printing request from a business system as an API.
When the print client starts up, it is checked whether the print template in which the printer has been configured has a new version, and if so, it is automatically downloaded to the local file system.
In the job printing stage, the business system submits a print job to a print client for printing, specifically:
step one: the business system needs to organize print job data, and comprises information such as business system numbers, print template numbers, template version numbers, print data, output modes and the like;
step two: the business system submits the print job to the print client via an API (application program interface provided by the print client, e.g., rpc service remote call or HTTP request);
Step three: the print client determines a print template and a version thereof according to the print job information, if the print template number or version number described in the print job exists in the local file system, the local file is directly used as a template for subsequent rendering operation, otherwise, the service platform is requested to provide a corresponding print template, and if the corresponding print template is still not found, the service system returns a print error;
step three: the print client starts a print rendering engine, analyzes a print template, places print data in a specific position of a print canvas in a specific style, and generates a final print result document;
step four: the print client determines to output the print result document to a printer or a local file such as PDF, word, excel and the like according to the output mode in the print job;
step five: the printing client feeds back the successful or failed printing state to the service system.
As a preferred implementation manner, as shown in fig. 3, a service system access procedure of the data printing method according to the embodiment of the present invention is as follows:
the service system responsible person fills in access information, such as a data source, a data model, an access mode and the like, in the printing metadata management service (namely a service platform);
If the business system provides an automatic data model synchronization mechanism, a SchemaService service can be registered;
when business system information is stored in the printing metadata management service, automatically calling a method for acquiring an entity field from a schema service of a business system, and acquiring (GetSchema) entity and field information (namely a data model) from a source system (namely the business system);
after the printing metadata management service obtains entity field information, merging (createFullDM) with the existing data model and entity field in the current system, so as to ensure that the data model in the printing metadata management service is consistent with the source system;
the system responsible person can also edit a data model (EditFull DM) at the print metadata management service;
after the data model is modified, the modification is needed to be validated through publishing (publishing), and the changed entities and fields in the data model can be used in a subsequent template designer;
when the data model changes in the source system, the schema service of the business system can be recalled through a synchronization (Sync) operation to acquire the data model structure.
The template editing process involves two system roles and three components in the system, where:
Roles:
the source system can send print jobs to the print client;
template author: according to a data model created by a system responsible person, designing a printing pattern through a template designer;
printing system components:
the template designer: according to the entity and field definition in the data model, designing the display style of the printing content;
printing service: managing a data model, printing metadata of a template (namely a service platform);
and (3) a printing client: and finishing the print rendering work according to the print job sent by the service system.
As a preferred implementation manner, as shown in fig. 4, the print template editing process of the data printing method according to the embodiment of the present invention is as follows:
the template author creates (Create) blank templates through a template designer, in the process, a user is required to select a data model (ChooseDataSource) used in the blank templates, and the template designer obtains entity field information in the (GetDataSource) data model according to the selection of the user and creates (CreateDataModel) blank templates;
the template author edits (edit template) the blank template which is already created, and the personalized requirements of the printing content are realized through the operations of placing controls, binding to entities/fields and the like;
The template author can also PreView (PreView) the printing effect at any time through a template designer in the process of editing the blank template;
after the template author edits, the template is printed to a printing service by submitting (submit);
if the source system registers the metadata synchronization service in the system access process, the printing service will notify the source system of the printing template information created by the template author through the service,
the above is the process of template creation and editing,
when the source system needs to execute the print job, submitting (SendPrintJob) the print job (i.e., the print request) to the print client according to the print template number, the template version number and the print data;
the print client obtains (GetTemplate) a corresponding version of a print template and an entity field Schema defined by a data model through a print service, thereby performing a rendering (Render) print operation.
The printer configuration and job printing process involves two participants and three system modules, where:
participants:
the printer: a user operating the business system to execute the print job;
service system: the system is in butt joint with the printing client and is responsible for receiving the operation of a printer and sending a printing job;
and a system module:
Print engine manager: the method is used for setting the printing mode of the printing job, and a printer can be selected or the rendering result can be saved to a file;
and (3) a printing client: receiving a print job from a business system, rendering and printing a system component according to a print configuration;
printing service: a system component (i.e., a service platform) that stores print templates and data model metadata.
As a preferred implementation, as shown in fig. 5, the printer configuration and job printing process of the data printing method according to the embodiment of the present invention is as follows:
when a printer uses a printing client for the first time, a printing template to be used and a printing mode are required to be configured in a printing engine manager, and at the moment, the printing engine manager can acquire available printers in a current system and provide choices for a user;
the printer operation business system sends (SendPrint) a print job (i.e., a print request) to the print client, the print job including a print template number, a template version number, print data, and the like;
the print client sends a request to the print service, queries (GetTemplate) the print template and a data model corresponding to the print template according to the print template number and the template version number, and executes rendering (Render) operation according to the metadata;
If the service system needs to PreView and then decides whether to print, a PreView (PreView) request can be sent to a printing client, and the printing client can generate a picture or a PDF file and the like as a result and return to the service system for self-display;
after the above print jobs are completed, the print client collects the print execution time, and the information such as the success/failure status of execution and the reason is sent as a print log (i.e., print result) to a print service (SendPrintLog) for statistical analysis of the client execution status.
Fig. 6 is a schematic diagram of main modules of the print management system according to the embodiment of the present invention.
As shown in fig. 6, a print management system 600 of an embodiment of the present invention includes: a service platform 601, a template designer 602, and a print client 603.
Wherein, the liquid crystal display device comprises a liquid crystal display device,
the service platform 601 is configured to configure a service system; recording at least one printing template corresponding to the business system; invoking the template designer 602;
the template designer 602 is configured to receive edits of the print template by a system principal or a system member;
the print client 603 is configured to receive a print request, and obtain a service system number, a print template number, a template version number, and print data from the print request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; and generating a print document for the print request based on the print data and a print template corresponding to the print request.
In an embodiment of the present invention, the service platform 601 may also be used to:
configuring a service system based on the service system number and member information; the member information comprises a system responsible person, a system member and a right limit thereof;
responding to the definition operation of the system responsible person or the system member, and recording a data model and a data acquisition mode of the service system defined by the system responsible person or the system member;
authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer 602 for the system responsible person or the system member after passing the authentication;
recording a printing template created by a system responsible person or a system member, and setting a service system number, a printing template number, a template version number, a data model and a locking state of the printing template; establishing a binding relation between the printing template and the printer;
updating a local file system of the print client 603 in response to a start operation of the print client 603; the local file system is used for storing the printing template.
In an embodiment of the present invention, the template designer 602 may also be configured to:
Responding to the editing operation of the system responsible person or the system member, acquiring a blank template and a selected data model which are newly built by the system responsible person or the system member, and extracting a printing layout and a printing style from the edited blank template;
responding to preview operation of the system responsible person or the system member, and previewing and displaying the edited blank template based on the data model, the printing layout and the printing style;
responding to the save operation of the system responsible person or the system member, storing the edited blank template as a printing template, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the edited blank template.
In an embodiment of the present invention, the template designer 602 may also be configured to:
locking the target printing template in response to the modification operation of the system responsible person or the system member;
extracting a modified layout and a modified style from the modified target printing template in response to an editing operation of the system responsible person or the system member;
responding to the preview operation of the system responsible person or the system member, and previewing and displaying the modified target printing template based on the modified layout and the modified style;
Responding to the save operation of the system responsible person or the system member, and updating the target printing template and the template version number and locking state thereof based on the modified layout and the modified style preview; or, newly adding a printing template based on the modified layout and the modified style, and setting a service system number, a printing template number, a template version number and a locking state of the printing template; or temporarily storing the modified target printing template.
In an embodiment of the present invention, the print client 603 may further be configured to:
monitoring a printing interface of the printing client 603;
receiving a printing request sent by the service system through the printing interface;
and acquiring a service system number, a printing template number, a template version number, printing data and an output mode from the printing request.
In an embodiment of the present invention, the print client 603 may further be configured to:
querying the service system number, the printing template number and the template version number in a local file system of the printing client 603;
if the corresponding printing template exists, acquiring the printing template corresponding to the printing request from the local file system;
And if the corresponding printing template does not exist, requesting the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number.
In an embodiment of the present invention, the print client 603 may further be configured to:
analyzing the printing template to obtain a printing style and a printing canvas;
placing the print data in the print canvas according to the print style to generate a print document;
outputting the printed document to a printer or outputting the printed document as a local file based on the output mode; and
and feeding back a printing result to the service system.
The print management system according to the embodiment of the invention can be seen in that the service system is configured and at least one print template corresponding to the service system is recorded; acquiring print job data from a print request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; the technical means of generating the print file for the print request based on the print data and the print template overcomes the technical problems that different business systems have changeable print demands under different business scenes, a large amount of labor and time cost are consumed in a development link, and the maintainability of the business systems is poor, so that the technical effects of solving the problem that the different business systems have changeable print demands under different business scenes, reducing development and operation costs in the aspects of labor and time and the like and improving the maintainability of the business systems are achieved.
Fig. 7 illustrates an exemplary system architecture 700 to which the data printing method of embodiments of the present invention may be applied.
As shown in fig. 7, a system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 705 via the network 704 using the terminal devices 701, 702, 703 to receive or send messages or the like. Various communication client applications can be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be terminal devices held by a merchant, and installed with merchant-side clients. The terminal device may establish a communication connection with the printing device to control the printing device to print tickets including, but not limited to, smartphones, tablet computers, laptop and desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server providing support for shopping-type websites browsed by the user using the terminal devices 701, 702, 703. The background management server can analyze and other processing on the received data such as the product information inquiry request and the like, and feed back processing results (such as target push information and product information) to the terminal equipment.
It should be noted that, the data printing method provided by the embodiment of the present invention is generally executed by the server 705.
It should be understood that the number of terminal devices, networks and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, there is illustrated a schematic diagram of a computer system 800 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 801.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a service platform, a template designer, and a print client.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: step S101: configuring a service system and recording at least one printing template corresponding to the service system; step S102: acquiring print job data from a print request; step S103: acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; step S104: a print document is generated for the print request based on the print data and the print template.
According to the technical scheme of the embodiment of the invention, the service system is configured, and at least one printing template corresponding to the service system is recorded; acquiring print job data from a print request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; the technical means of generating the print file for the print request based on the print data and the print template overcomes the technical problems that different business systems have changeable print demands under different business scenes, a large amount of labor and time cost are consumed in a development link, and the maintainability of the business systems is poor, so that the technical effects of solving the problem that the different business systems have changeable print demands under different business scenes, reducing development and operation costs in the aspects of labor and time and the like and improving the maintainability of the business systems are achieved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (12)

1. A data printing method, comprising:
configuring a service system and recording at least one printing template corresponding to the service system;
acquiring print job data from a print request; the print job data comprises a service system number, a print template number, a template version number and print data;
acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; the method specifically comprises the following steps: inquiring the service system number, the printing template number and the template version number in a local file system of a printing client; if the corresponding printing template exists, acquiring the printing template corresponding to the printing request from the local file system; if the corresponding printing template does not exist, requesting the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number;
Generating a print document for the print request based on the print data and a print template corresponding to the print request; the method specifically comprises the following steps: analyzing the printing template to obtain a printing style and a printing canvas; placing the print data in the print canvas according to the print style to generate a print document; outputting the print document to a printer or as a local file based on an output mode included in the print job data; and feeding back a printing result to the service system.
2. The data printing method according to claim 1, wherein configuring a service system and recording at least one printing template corresponding to the service system, comprises:
configuring a service system based on the service system number and member information; the member information comprises a system responsible person, a system member and a right limit thereof;
responding to the definition operation of the system responsible person or the system member, and recording a data model and a data acquisition mode of the service system defined by the system responsible person or the system member;
recording a printing template created by a system responsible person or a system member, and setting a service system number, a printing template number, a template version number, a data model and a locking state of the printing template; establishing a binding relation between the printing template and the printer;
Responding to the starting operation of the printing client, and updating a local file system of the printing client; the local file system is used for storing the printing template.
3. The data printing method according to claim 2, wherein recording the print template created by the system principal or the system member and setting the service system number, the print template number, the template version number, the data model, and the lock state of the print template, comprises:
authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer for the system responsible person or the system member after passing the authentication;
responding to the editing operation of the system responsible person or the system member, acquiring a blank template and a selected data model which are newly built in the template designer by the system responsible person or the system member, and extracting a printing layout and a printing style from the edited blank template;
responding to preview operation of the system responsible person or the system member, and previewing and displaying the edited blank template based on the data model, the printing layout and the printing style;
Responding to the save operation of the system responsible person or the system member, storing the edited blank template as a printing template, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the edited blank template.
4. The data printing method according to claim 2, wherein a print template created by the system principal or the system member is recorded, and a service system number, a print template number, a template version number, a data model, and a lock state of the print template are set, and further comprising:
authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer for the system responsible person or the system member after passing the authentication;
locking a target printing template in the template designer in response to a modification operation of the system principal or the system member;
extracting a modified layout and a modified style from the modified target printing template in response to an editing operation of the system responsible person or the system member;
responding to the preview operation of the system responsible person or the system member, and previewing and displaying the modified target printing template based on the modified layout and the modified style;
Responding to the save operation of the system responsible person or the system member, and updating the target printing template and the template version number and locking state thereof based on the modified layout and the modified style preview; or, newly adding a printing template based on the modified layout and the modified style, and setting a service system number, a printing template number, a template version number and a locking state of the printing template; or temporarily storing the modified target printing template.
5. The data printing method according to claim 2, wherein acquiring print job data from a print request comprises:
monitoring a printing interface of the printing client;
receiving a printing request sent by the service system through the printing interface;
and acquiring a service system number, a printing template number, a template version number, printing data and an output mode from the printing request.
6. A print management system comprising a service platform, a template designer, and a print client, wherein:
the service platform is used for configuring a service system; recording at least one printing template corresponding to the business system; invoking the template designer;
The template designer is used for receiving the editing of the printing template by a system responsible person or a system member;
the printing client is used for receiving a printing request and acquiring a service system number, a printing template number, a template version number and printing data from the printing request; acquiring a printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; the method specifically comprises the following steps: inquiring the service system number, the printing template number and the template version number in a local file system of the printing client; if the corresponding printing template exists, acquiring the printing template corresponding to the printing request from the local file system; if the corresponding printing template does not exist, requesting the printing template corresponding to the printing request according to the service system number, the printing template number and the template version number; generating a print document for the print request based on the print data and a print template corresponding to the print request; the method specifically comprises the following steps: analyzing the printing template to obtain a printing style and a printing canvas; placing the print data in the print canvas according to the print style to generate a print document; outputting the print document to a printer or as a local file based on an output mode included in the print job data; and feeding back a printing result to the service system.
7. The print management system of claim 6, wherein the service platform is further configured to:
configuring a service system based on the service system number and member information; the member information comprises a system responsible person, a system member and a right limit thereof;
responding to the definition operation of the system responsible person or the system member, and recording a data model and a data acquisition mode of the service system defined by the system responsible person or the system member;
authenticating the system responsible person or the system member based on the member information of the service system, and calling a template designer for the system responsible person or the system member after passing the authentication;
recording a printing template created by a system responsible person or a system member, and setting a service system number, a printing template number, a template version number, a data model and a locking state of the printing template; establishing a binding relation between the printing template and the printer;
responding to the starting operation of the printing client, and updating a local file system of the printing client; the local file system is used for storing the printing template.
8. The print management system of claim 7, wherein the template designer is further configured to:
responding to the editing operation of the system responsible person or the system member, acquiring a blank template and a selected data model which are newly built by the system responsible person or the system member, and extracting a printing layout and a printing style from the edited blank template;
responding to preview operation of the system responsible person or the system member, and previewing and displaying the edited blank template based on the data model, the printing layout and the printing style;
responding to the save operation of the system responsible person or the system member, storing the edited blank template as a printing template, and setting the service system number, the printing template number, the template version number and the locking state of the printing template; or temporarily storing the edited blank template.
9. The print management system of claim 7, wherein the template designer is further configured to:
locking the target printing template in response to the modification operation of the system responsible person or the system member;
extracting a modified layout and a modified style from the modified target printing template in response to an editing operation of the system responsible person or the system member;
Responding to the preview operation of the system responsible person or the system member, and previewing and displaying the modified target printing template based on the modified layout and the modified style;
responding to the save operation of the system responsible person or the system member, and updating the target printing template and the template version number and locking state thereof based on the modified layout and the modified style preview; or, newly adding a printing template based on the modified layout and the modified style, and setting a service system number, a printing template number, a template version number and a locking state of the printing template; or temporarily storing the modified target printing template.
10. The print management system of claim 7, wherein the print client is further configured to:
monitoring a printing interface of the printing client;
receiving a printing request sent by the service system through the printing interface;
and acquiring a service system number, a printing template number, a template version number, printing data and an output mode from the printing request.
11. An electronic device for printing data, comprising:
one or more processors;
Storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the data printing method of any of claims 1-5.
12. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the data printing method according to any of claims 1-5.
CN202010151792.8A 2020-03-06 2020-03-06 Data printing method and printing management system Active CN113360100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010151792.8A CN113360100B (en) 2020-03-06 2020-03-06 Data printing method and printing management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010151792.8A CN113360100B (en) 2020-03-06 2020-03-06 Data printing method and printing management system

Publications (2)

Publication Number Publication Date
CN113360100A CN113360100A (en) 2021-09-07
CN113360100B true CN113360100B (en) 2023-09-01

Family

ID=77524135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010151792.8A Active CN113360100B (en) 2020-03-06 2020-03-06 Data printing method and printing management system

Country Status (1)

Country Link
CN (1) CN113360100B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026338B (en) * 2019-11-14 2023-10-03 用友网络科技股份有限公司 Printing method, printing device and storage medium based on editable template
CN115454363A (en) * 2022-09-14 2022-12-09 北京木屋时代科技有限公司 Instruction implementation method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278731A (en) * 2001-03-15 2002-09-27 Tohoku Ricoh Co Ltd Printing support system and printing system
CN108319435A (en) * 2018-01-24 2018-07-24 北京三快在线科技有限公司 Method of printing, device and the electronic equipment of bill
CN109254739A (en) * 2018-08-23 2019-01-22 北京京东尚科信息技术有限公司 file printing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278731A (en) * 2001-03-15 2002-09-27 Tohoku Ricoh Co Ltd Printing support system and printing system
CN108319435A (en) * 2018-01-24 2018-07-24 北京三快在线科技有限公司 Method of printing, device and the electronic equipment of bill
CN109254739A (en) * 2018-08-23 2019-01-22 北京京东尚科信息技术有限公司 file printing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Fabrication of Micro-lens Arrays Based on Ink-jet Printing and Photolithographic Hole Templates for Integral Imaging 3-D Display;Yuyan Peng等;《Journal of Display Technology》;全文 *

Also Published As

Publication number Publication date
CN113360100A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US10331422B1 (en) System and method for generating API devlopment code for integrating platforms
CN113360100B (en) Data printing method and printing management system
CN107870814B (en) Method and apparatus for content management batching
CN111752561B (en) Block development method, block sharing method, page building method and page building system
KR101086620B1 (en) Smart office system and server for managing the sames and method for managing the sames
CN107918638A (en) Information processor, document display method, file display system and medium
US20220245588A1 (en) Providing a binary data file to a client application using a document model
US20070168868A1 (en) Method and system for integrating calculation and presentation technologies
US11782822B2 (en) Templates for content spaces in a content management system
US8448183B2 (en) Presentation layer application integration
CN113434098B (en) Printing function realization method, device, electronic equipment, system and storage medium
JP2007179209A (en) Recording/management method of business processes or documents
CN112926294A (en) Template file generation method and device
CN114327306A (en) Cloud printing method, equipment and medium based on PaaS cloud printing service
CN114817794A (en) Webpage content control method, device, equipment and medium
JP3818396B2 (en) Printing system, print server, and information providing method thereof
US10083313B2 (en) Remote modification of a document database by a mobile telephone device
US11922116B2 (en) Annotations in a content model of a content management system
US20230325584A1 (en) Method for annotations in a content model of a content management system
US20230325585A1 (en) System for annotations in a content model of a content management system
JP7060788B2 (en) Information processing equipment, information processing equipment control methods, and computer programs
US20220201145A1 (en) Providing application configuration file for backward compatible application
CN110019030B (en) Method and device for dividing file
WO2023198725A1 (en) Model of a content management system
AU2012250286B2 (en) Presentation Layer Application Integration

Legal Events

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