WO2021147507A1 - Seal printing method, apparatus, electronic device, and storage medium - Google Patents

Seal printing method, apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2021147507A1
WO2021147507A1 PCT/CN2020/131950 CN2020131950W WO2021147507A1 WO 2021147507 A1 WO2021147507 A1 WO 2021147507A1 CN 2020131950 W CN2020131950 W CN 2020131950W WO 2021147507 A1 WO2021147507 A1 WO 2021147507A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
preset
files
seal
printed
Prior art date
Application number
PCT/CN2020/131950
Other languages
French (fr)
Chinese (zh)
Inventor
黄玉琴
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021147507A1 publication Critical patent/WO2021147507A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • 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/1244Job translation or job parsing, e.g. page banding
    • G06F3/1248Job translation or job parsing, e.g. page banding by printer language recognition, e.g. PDL, PCL, PDF
    • 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/1255Settings incompatibility, e.g. constraints, user requirements vs. device capabilities

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to a seal printing method, device, electronic equipment, and storage medium.
  • the first aspect of the present application provides a seal printing method, and the seal printing method includes:
  • a second aspect of the present application provides an electronic device including a processor and a memory, and the processor is configured to execute computer-readable instructions stored in the memory to implement the following steps:
  • a third aspect of the present application provides a computer-readable storage medium having at least one computer-readable instruction stored thereon, and the at least one computer-readable instruction is executed by a processor to implement the following steps:
  • a fourth aspect of the present application provides a seal printing device, which includes:
  • a receiving module configured to receive a seal printing instruction, wherein the seal printing instruction carries a file to be printed;
  • a conversion module configured to convert the format of the file to be printed to obtain a target file if the file format of the file to be printed is inconsistent with the preset file format
  • a cutting module configured to perform double-page cutting on the target file if the file size of the target file is greater than a preset file size threshold to obtain multiple cut files;
  • the printing module is configured to perform seal printing on the multiple cut files if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold to obtain a seal file.
  • Fig. 1 is a flowchart of a preferred embodiment of a seal printing method disclosed in the present application.
  • Fig. 2 is a functional block diagram of a preferred embodiment of a seal printing device disclosed in the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the seal printing method according to the present application.
  • the seal printing method of the embodiment of the present application is applied to an electronic device, and can also be applied to a hardware environment composed of an electronic device and a server connected to the electronic device via a network, and is executed by the server and the electronic device.
  • Networks include, but are not limited to: wide area networks, metropolitan area networks, or local area networks.
  • the server may refer to a computer system that can provide services to other devices (such as electronic devices) in the network. If a personal computer can provide File Transfer Protocol (FTP) service externally, it can also be called a server. In a narrow sense, the server refers to certain high-performance computers that can provide services to the outside world through the network. Compared with ordinary personal computers, they have higher requirements in terms of stability, security, and performance. Therefore, in the CPU , Chipset, memory, disk system, network and other hardware are different from ordinary personal computers.
  • FTP File Transfer Protocol
  • the electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions.
  • Its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (ASIC), and a field programmable gate. Array (FPGA), digital processor (DSP), embedded device, etc.
  • the electronic equipment may also include network equipment and/or user equipment.
  • the network device includes, but is not limited to, a single network device, a server group composed of multiple network devices, or a cloud composed of a large number of hosts or network devices based on Cloud Computing, where cloud computing is distributed computing One type, a super virtual computer composed of a group of loosely coupled computer sets.
  • the user equipment includes, but is not limited to, any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, and a personal digital device. Assistant PDA, etc.
  • FIG. 1 is a flowchart of a preferred embodiment of a seal printing method disclosed in the present application. Among them, according to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the execution subject of the seal printing method may be an electronic device.
  • the file to be printed may be an electronic file waiting for seal printing.
  • the user after logging in to the seal system, the user can directly upload the file to be printed and input a seal printing instruction for the file to be printed, and the electronic device can receive the seal printing instruction.
  • the preset file format may be a portable document format (Portable Document Format, PDF), which is an electronic file format that has nothing to do with the operating system platform, that is, the portable document format can be used across platforms, and the portable document format You can encapsulate text, font, format, color, and graphics and images independent of equipment and resolution in one file.
  • Portable document format files can also contain electronic information such as hypertext links, sounds and dynamic images, support special long files, and have high integration and safety and reliability.
  • the format conversion of the file to be printed to obtain the target file includes:
  • the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
  • each page of the file to be printed may be converted into a file picture, and the file pictures may be numbered according to the original page order to obtain the file picture carrying the page number. Finally, according to the order of page numbers, these file pictures are spliced into the target file.
  • the method further includes:
  • the picture direction conversion instruction perform direction conversion on all the document pictures to obtain a vertical/horizontal document picture
  • the performing splicing processing of the preset file format on all the file pictures according to the page number, and obtaining the target file includes:
  • the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
  • the size of the electronic file that needs to be printed with a seal may be limited to prevent system errors.
  • a file size threshold (the preset file size threshold, such as 3M) can be set in advance. For the target file, it can be judged whether the file size of the target file is greater than the preset file size threshold. The file size is less than or equal to the preset file size threshold, and it is determined that the target file meets the file size requirements for seal printing, and the target file can be directly stamped; if the file size of the target file is greater than the preset file size threshold, It is determined that the file size of the target file does not meet the file size requirement for seal printing, and the target file needs to be cut to obtain a file that meets the file size requirement for seal printing.
  • the performing double-page cutting on the target file to obtain multiple cutting files includes:
  • the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
  • the target file whose file size is larger than the preset file size threshold may be cut according to the double-page number of even-numbered pages (such as 2, 4, 6, ...) to obtain multiple cuts. document.
  • the advantage of this is that it can prevent the cut file from being unable to print the seam seal.
  • the seam seal may be a seal placed at the place where the documents are handed over in order to ensure the integrity and completeness of the customs-supervised goods retention documents and to verify the relevant documents, that is, the seal is printed at the junction of the two pages.
  • the multiple cut files are all less than or equal to the preset file size threshold, it is determined that the multiple cut files meet the file size requirements for seal printing, and the multiple cut files can be checked. Print each cut file to obtain the seal file.
  • the method further includes:
  • the file size of the re-cut file is less than the preset file size threshold, performing seal printing on the printable file and the re-cut file to obtain a seal file.
  • the file size of the multiple cut files may be larger than the preset file Determining a file with a size threshold as a file to be processed, and determining a file of the plurality of cut files whose file size is less than or equal to the preset file size threshold as a printable file, and re-cutting the file to be processed, Obtain a re-cut file, and if the file size of the re-cut file is less than the preset file size threshold, perform seal printing on the printable file and the re-cut file to obtain a seal file.
  • the method further includes:
  • a search mail can be created, and the multiple cut files can be added to the search In the mail, the search mail is sent to a preset terminal, waiting for the user to check or input an instruction to proceed to the next step.
  • the method also includes:
  • the seal printing event may be recorded and saved, such as recording related log information of the seal printing instruction and related log information of the seal file.
  • the above-mentioned seal file may also be stored in a node of a blockchain.
  • Fig. 2 is a functional block diagram of a preferred embodiment of a seal printing device disclosed in the present application.
  • the seal printing device 20 can be operated in an electronic device.
  • the seal printing device 20 may include multiple functional modules composed of program code segments.
  • the program code of each program segment in the seal printing device 20 may be stored in a memory and executed by at least one processor to execute part or all of the steps in the seal printing method described in FIG. 1.
  • the seal printing device 20 can be divided into multiple functional modules according to the functions it performs.
  • the functional modules may include: a receiving module 201, a conversion module 202, a cutting module 203, and a printing module 204.
  • the module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
  • the receiving module 201 is configured to receive a seal printing instruction, where the seal printing instruction carries a file to be printed.
  • the file to be printed may be an electronic file waiting for seal printing.
  • the user after logging in to the seal system, the user can directly upload the file to be printed and input a seal printing instruction for the file to be printed, and the electronic device can receive the seal printing instruction.
  • the conversion module 202 is configured to perform format conversion on the file to be printed if the file format of the file to be printed is inconsistent with the preset file format to obtain a target file.
  • the preset file format may be a portable document format (Portable Document Format, PDF), which is an electronic file format that has nothing to do with the operating system platform, that is, the portable document format can be used across platforms, and the portable document format You can encapsulate text, font, format, color, and graphics and images independent of equipment and resolution in one file.
  • Portable document format files can also contain electronic information such as hypertext links, sounds and dynamic images, support special long files, and have high integration and safety and reliability.
  • the cutting module 203 is configured to perform double-page cutting on the target file if the file size of the target file is greater than a preset file size threshold to obtain multiple cut files.
  • the size of the electronic file that needs to be printed with a seal may be limited to prevent system errors.
  • a file size threshold (the preset file size threshold, such as 3M) can be set in advance. For the target file, it can be judged whether the file size of the target file is greater than the preset file size threshold. The file size is less than or equal to the preset file size threshold, and it is determined that the target file meets the file size requirements for seal printing, and the target file can be directly stamped; if the file size of the target file is greater than the preset file size threshold, It is determined that the file size of the target file does not meet the file size requirement for seal printing, and the target file needs to be cut to obtain a file that meets the file size requirement for seal printing.
  • the printing module 204 is configured to, if the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, perform seal printing on the multiple cutting files to obtain a seal file.
  • the multiple cut files are all less than or equal to the preset file size threshold, it is determined that the multiple cut files meet the file size requirements for seal printing, and the multiple cut files can be checked. Print each cut file to obtain the seal file.
  • the cutting module 203 performs double-page cutting on the target document, and the specific method for obtaining multiple cut documents is as follows:
  • the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
  • the target file whose file size is larger than the preset file size threshold may be cut according to the double-page number of even-numbered pages (such as 2, 4, 6, ...) to obtain multiple cuts. document.
  • the advantage of this is that it can prevent the cut file from being unable to print the seam seal.
  • the seam seal may be a seal placed at the place where the documents are handed over in order to ensure the integrity and completeness of the customs-supervised goods retention documents and to verify the relevant documents, that is, the seal is printed at the junction of the two pages.
  • the seal printing device 20 further includes:
  • the determining module is used for the cutting module 203, if the file size of the target file is greater than the preset file size threshold, double-page cutting the target file, and after obtaining multiple cut files, if the file size of the multiple cut files is The file size unevenness is less than or equal to the preset file size threshold, the file to be processed whose file size is greater than the preset file size threshold is determined from the plurality of cut files, and the file is determined from the plurality of cut files Printable files whose size is less than or equal to the preset file size threshold;
  • the cutting module 203 is also used to re-cut the document to be processed to obtain a re-cut document;
  • the printing module 204 is further configured to perform seal printing on the printable file and the re-cut file if the file size of the re-cut file is less than the preset file size threshold to obtain a seal file.
  • the file size of the multiple cut files may be larger than the preset file Determining a file with a size threshold as a file to be processed, and determining a file of the plurality of cut files whose file size is less than or equal to the preset file size threshold as a printable file, and re-cutting the file to be processed, Obtain a re-cut file, and if the file size of the re-cut file is less than the preset file size threshold, perform seal printing on the printable file and the re-cut file to obtain a seal file.
  • the conversion module 202 performs format conversion on the file to be printed, and the specific method for obtaining the target file is as follows:
  • the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
  • each page of the file to be printed may be converted into a file picture, and the file pictures may be numbered according to the original page order to obtain the file picture carrying the page number. Finally, according to the order of page numbers, these file pictures are spliced into the target file.
  • the receiving module 201 is further configured to receive a picture direction conversion instruction after the conversion module 202 converts each page of the file to be printed into a file picture carrying a page number , Wherein the conversion direction indicated by the picture direction conversion instruction is vertical or horizontal;
  • the conversion module 202 performs direction conversion on all the file pictures according to the picture direction conversion instruction to obtain vertical/horizontal file pictures;
  • the conversion module 202 performs the splicing processing of the preset file format on all the file pictures according to the page number, and the specific method for obtaining the target file is as follows:
  • the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
  • the seal printing device 20 further includes:
  • the first generating module is configured to generate a query email according to the multiple cut files if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold;
  • the sending module is used to send the search mail to a preset terminal.
  • a search mail can be created, and the multiple cut files can be added to the search In the mail, the search mail is sent to a preset terminal, waiting for the user to check or input an instruction to proceed to the next step.
  • the seal printing device 20 further includes:
  • the second generation module is used for the printing module 204, if the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, perform seal printing on the multiple cutting files, and after obtaining the seal file, Generating a print record according to the seal printing instruction and the seal file;
  • the storage module is used to store the printing records.
  • the seal printing event may be recorded and saved, such as recording related log information of the seal printing instruction and related log information of the seal file.
  • seal printing device 20 when a seal printing command is received, artificial intelligence technology can be used to automatically verify the file format and size of the file to be printed carried by the seal printing command, and the file format can be performed Conversion and file cutting ensure that the file can be printed normally.
  • the double-page cutting method is used to ensure that the cut file can be compatible with more seal printing methods, avoiding printing failures caused by file errors, and further improving the efficiency of seal printing .
  • the above-mentioned seal file may also be stored in a node of a blockchain.
  • FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the seal printing method according to the present application.
  • the electronic device 3 includes a memory 31, at least one processor 32, a computer program 33 stored in the memory 31 and running on the at least one processor 32, and at least one communication bus 34.
  • FIG. 3 is only an example of the electronic device 3, and does not constitute a limitation on the electronic device 3. It may include more or less components than those shown in the figure, or a combination. Certain components, or different components, for example, the electronic device 3 may also include input and output devices, network access devices, and so on.
  • the electronic device 3 also includes, but is not limited to, any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, etc.
  • Personal digital assistants Personal Digital Assistant, PDA
  • game consoles interactive network television (Internet Protocol Television, IPTV), smart wearable devices, etc.
  • the network where the electronic device 3 is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.
  • the at least one processor 32 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (ASICs). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, transistor logic devices, discrete hardware components, etc.
  • the processor 32 can be a microprocessor or the processor 32 can also be any conventional processor, etc.
  • the processor 32 is the control center of the electronic device 3, and connects the entire electronic device 3 by using various interfaces and lines. Parts.
  • the computer program 33 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 31 and called and executed by the processor 32 to complete the application .
  • the one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 3.
  • the computer program can be divided into a receiving module 201, a conversion module 202, a cutting module 203, and a printing module 204.
  • the memory 31 may be used to store the computer program 33 and/or modules/units.
  • the processor 32 runs or executes the computer programs and/or modules/units stored in the memory 31 and calls the computer programs and/or modules/units stored in the memory 31.
  • the data in 31 realizes various functions of the electronic device 3.
  • the memory 31 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data and the like created in accordance with the use of the electronic device 3 are stored.
  • the memory 31 may include volatile and/or non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, and a flash memory.
  • SMC Smart Media Card
  • SD Secure Digital
  • flash memory At least one magnetic disk storage device, flash memory device, etc.
  • the memory 31 in the electronic device 3 stores multiple instructions to implement a seal printing method, and the processor 32 can execute the multiple instructions to implement:
  • the integrated module/unit of the electronic device 3 may be stored in a computer-readable storage medium, which may be non-easy.
  • a volatile storage medium can also be a volatile storage medium.
  • the present application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments.
  • the computer program code may be in the form of source code, object code, executable file, or some intermediate forms, etc.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random access memory, etc.
  • the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store Data created by the use of nodes, etc.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.

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)
  • Computer Security & Cryptography (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The present application relates to the technical field of artificial intelligence, and can be applied to the field of smart government affairs, thereby promoting the construction of smart cities. The present application provides a seal printing method, apparatus, electronic device, and storage medium, said method comprising: receiving a seal printing instruction, said seal printing instruction carrying a file to be printed; if the file format of the file to be printed is inconsistent with a preset file format, then performing format conversion of the file to be printed to obtain a target file; if the file size of the target file is greater than a preset file size threshold, then performing double-page cutting of the target file to obtain a plurality of cut files; if the file size of each of the plurality of cut files is less than or equal to the preset file size threshold, then performing seal printing on the plurality of cut files to obtain a seal file. The present application improves the efficiency of seal printing. In addition, the present application also relates to blockchain technology; the seal file may be stored in the blockchain.

Description

印章打印方法、装置、电子设备及存储介质Seal printing method, device, electronic equipment and storage medium
本申请要求于2020年07月28日提交中国专利局,申请号为202010740649.2,发明名称为“印章打印方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 28, 2020, the application number is 202010740649.2, and the invention title is "Seal printing method, device, electronic equipment and storage medium", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种印章打印方法、装置、电子设备及存储介质。This application relates to the field of artificial intelligence technology, and in particular to a seal printing method, device, electronic equipment, and storage medium.
背景技术Background technique
目前,用户可以使用印章系统进行印章打印,但在实践中发现,发明人意识到,用户需要提前准备好符合打印要求的文件,如果发现待打印的文件的文件格式不符合要求时,需要花费较多的时间去其他相关系统进行处理。At present, users can use the seal system for seal printing, but in practice, the inventor realized that users need to prepare documents that meet the printing requirements in advance. If the file format of the document to be printed does not meet the requirements, it will cost more. More time to go to other related systems for processing.
因此,如何提高印章打印效率是一个需要解决的技术问题。Therefore, how to improve the efficiency of seal printing is a technical problem that needs to be resolved.
发明内容Summary of the invention
鉴于以上内容,有必要提供一种印章打印方法、装置、电子设备及存储介质,能够提高印章打印的效率。In view of the above, it is necessary to provide a seal printing method, device, electronic device, and storage medium, which can improve the efficiency of seal printing.
本申请的第一方面提供一种印章打印方法,所述印章打印方法包括:The first aspect of the present application provides a seal printing method, and the seal printing method includes:
接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
本申请的第二方面提供一种电子设备,所述电子设备包括处理器和存储器,所述处理器用于执行所述存储器中存储的计算机可读指令以实现以下步骤:A second aspect of the present application provides an electronic device including a processor and a memory, and the processor is configured to execute computer-readable instructions stored in the memory to implement the following steps:
接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获 得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
本申请的第三方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行以实现以下步骤:A third aspect of the present application provides a computer-readable storage medium having at least one computer-readable instruction stored thereon, and the at least one computer-readable instruction is executed by a processor to implement the following steps:
接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
本申请的第四方面提供一种印章打印装置,所述印章打印装置包括:A fourth aspect of the present application provides a seal printing device, which includes:
接收模块,用于接收印章打印指令,其中,所述印章打印指令携带有待打印文件;A receiving module, configured to receive a seal printing instruction, wherein the seal printing instruction carries a file to be printed;
转换模块,用于若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;A conversion module, configured to convert the format of the file to be printed to obtain a target file if the file format of the file to be printed is inconsistent with the preset file format;
切割模块,用于若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;A cutting module, configured to perform double-page cutting on the target file if the file size of the target file is greater than a preset file size threshold to obtain multiple cut files;
打印模块,用于若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。The printing module is configured to perform seal printing on the multiple cut files if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold to obtain a seal file.
由以上技术方案,本申请中,当接收到印章打印指令时,可以通过人工智能技术,自动验证所述印章打印指令所携带的待打印文件的文件格式以及大小,并可以进行文件格式转换以及文件切割,确保文件可以被正常打印,同时,使用双页切割的方式,确定切割后的文件能够兼容更多的印章打印方式,避免文件报错导致的打印失败,进一步提高了印章打印的效率。Based on the above technical solutions, in this application, when a seal printing command is received, artificial intelligence technology can be used to automatically verify the file format and size of the file to be printed carried by the seal printing command, and file format conversion and file format conversion can be performed. Cutting to ensure that the document can be printed normally. At the same time, the double-page cutting method is used to ensure that the cut document can be compatible with more stamp printing methods, avoiding printing failures caused by document errors, and further improving the efficiency of stamp printing.
附图说明Description of the drawings
图1是本申请公开的一种印章打印方法的较佳实施例的流程图。Fig. 1 is a flowchart of a preferred embodiment of a seal printing method disclosed in the present application.
图2是本申请公开的一种印章打印装置的较佳实施例的功能模块图。Fig. 2 is a functional block diagram of a preferred embodiment of a seal printing device disclosed in the present application.
图3是本申请实现印章打印方法的较佳实施例的电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the seal printing method according to the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terms used in the specification of the application herein are only for the purpose of describing specific embodiments, and are not intended to limit the application.
本申请实施例的印章打印方法应用在电子设备中,也可以应用在电子设备和通过网络与所述电子设备进行连接的服务器所构成的硬件环境中,由服务器和电子设备共同执行。网络包括但不限于:广域网、城域网或局域网。The seal printing method of the embodiment of the present application is applied to an electronic device, and can also be applied to a hardware environment composed of an electronic device and a server connected to the electronic device via a network, and is executed by the server and the electronic device. Networks include, but are not limited to: wide area networks, metropolitan area networks, or local area networks.
其中,服务器可以是指能对网络中其它设备(如电子设备)提供服务的计算机系统。如果一个个人电脑能够对外提供文件传输协议(File Transfer Protocol,简称FTP)服务,也可以叫服务器。从狭义范围上讲,服务器专指某些高性能计算机,能通过网络,对外提供服务,其相对于普通的个人电脑来说,稳定性、安全性、性能等方面都要求更高,因此在CPU、芯片组、内存、磁盘系统、网络等硬件和普通的个人电脑有所不同。Among them, the server may refer to a computer system that can provide services to other devices (such as electronic devices) in the network. If a personal computer can provide File Transfer Protocol (FTP) service externally, it can also be called a server. In a narrow sense, the server refers to certain high-performance computers that can provide services to the outside world through the network. Compared with ordinary personal computers, they have higher requirements in terms of stability, security, and performance. Therefore, in the CPU , Chipset, memory, disk system, network and other hardware are different from ordinary personal computers.
所述电子设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、现场可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。所述电子设备还可包括网络设备和/或用户设备。其中,所述网络设备包括但不限于单个网络设备、多个网络设备组成的服务器组或基于云计算(Cloud Computing)的由大量主机或网络设备构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。所述用户设备包括但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理PDA等。The electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (ASIC), and a field programmable gate. Array (FPGA), digital processor (DSP), embedded device, etc. The electronic equipment may also include network equipment and/or user equipment. Wherein, the network device includes, but is not limited to, a single network device, a server group composed of multiple network devices, or a cloud composed of a large number of hosts or network devices based on Cloud Computing, where cloud computing is distributed computing One type, a super virtual computer composed of a group of loosely coupled computer sets. The user equipment includes, but is not limited to, any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, and a personal digital device. Assistant PDA, etc.
请参见图1,图1是本申请公开的一种印章打印方法的较佳实施例的流程图。其中,根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。其中,所述印章打印方法的执行主体可以是电子设备。Please refer to FIG. 1. FIG. 1 is a flowchart of a preferred embodiment of a seal printing method disclosed in the present application. Among them, according to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted. Wherein, the execution subject of the seal printing method may be an electronic device.
S11、接收印章打印指令,其中,所述印章打印指令携带有待打印文件。S11. Receive a seal printing instruction, where the seal printing instruction carries a file to be printed.
其中,所述待打印文件可以是等待进行印章打印的电子文件。Wherein, the file to be printed may be an electronic file waiting for seal printing.
本申请实施例中,当用户登录印章系统后,可以直接上传待打印文件,并输入针对所述待打印文件的印章打印指令,电子设备可以接收所述印章打印指令。In the embodiment of the present application, after logging in to the seal system, the user can directly upload the file to be printed and input a seal printing instruction for the file to be printed, and the electronic device can receive the seal printing instruction.
S12、若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件。S12. If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file.
其中,所述预设文件格式可以是便携式文档格式(Portable Document Format,PDF),便携式文档格式是一种与操作系统平台无关的电子文件格式,即,便携式文档格式可以跨平台使用,便携式文档格式可以将文字、字型、格式、颜色及独立于设备和分辨率的图形图像等封装在一个文件中。便携式文档格式文件还可以包含超文本链接、声音和动态影像等电子信息,支持特长文件,集成度和安全可靠性都较高。Wherein, the preset file format may be a portable document format (Portable Document Format, PDF), which is an electronic file format that has nothing to do with the operating system platform, that is, the portable document format can be used across platforms, and the portable document format You can encapsulate text, font, format, color, and graphics and images independent of equipment and resolution in one file. Portable document format files can also contain electronic information such as hypertext links, sounds and dynamic images, support special long files, and have high integration and safety and reliability.
本申请实施例中,可以判断所述待打印文件的文件格式与预设文件格式是否不一致,若所述待打印文件的文件格式与预设文件格式一致,确定所述待打印文件符合进行印章打印的 文件格式要求;若所述待打印文件的文件格式与预设文件格式不一致,确定所述待打印文件不符合进行印章打印的文件格式要求。In this embodiment of the application, it can be determined whether the file format of the file to be printed is inconsistent with the preset file format, and if the file format of the file to be printed is consistent with the preset file format, it is determined that the file to be printed meets the requirements for seal printing. If the file format of the file to be printed is inconsistent with the preset file format, it is determined that the file to be printed does not meet the file format requirements for seal printing.
具体的,所述对所述待打印文件进行格式转换,获得目标文件包括:Specifically, the format conversion of the file to be printed to obtain the target file includes:
将所述待打印文件的每个页面均转换为携带有页面编号的文件图片;Converting each page of the document to be printed into a document picture carrying a page number;
根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
在该可选的实施方式中,可以将所述待打印文件的每个页面转换为文件图片,并按照原来的页面顺序对这些文件图片进行编号,获得携带有页面编号的文件图片。最后,按照页面编号的顺序,将这些文件图片拼接成所述目标文件。In this optional implementation manner, each page of the file to be printed may be converted into a file picture, and the file pictures may be numbered according to the original page order to obtain the file picture carrying the page number. Finally, according to the order of page numbers, these file pictures are spliced into the target file.
作为一种可选的实施方式,所述将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,所述方法还包括:As an optional implementation manner, after converting each page of the document to be printed into a document picture carrying a page number, the method further includes:
接收图片方向转换指令,其中,所述图片方向转换指令所指示的转换方向为纵向或横向;Receiving a picture direction conversion instruction, wherein the conversion direction indicated by the picture direction conversion instruction is vertical or horizontal;
根据所述图片方向转换指令,对所有所述文件图片进行方向转换,获得纵向/横向文件图片;According to the picture direction conversion instruction, perform direction conversion on all the document pictures to obtain a vertical/horizontal document picture;
所述根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件包括:The performing splicing processing of the preset file format on all the file pictures according to the page number, and obtaining the target file includes:
根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
在该可选的实施方式中,在将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,可以选择将所述文件图片进行纵向转换,获得纵向图片,或者选择将所述文件图片进行横向转换,获得横向图片。最后,再根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。In this alternative embodiment, after each page of the file to be printed is converted into a file picture carrying a page number, you can choose to convert the file picture vertically to obtain a vertical picture, or choose to The document picture is converted horizontally to obtain a horizontal picture. Finally, according to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
S13、若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件。S13. If the file size of the target file is greater than the preset file size threshold, perform double-page cutting on the target file to obtain multiple cut files.
本申请实施例中,可以对需要进行印章打印的电子文件有大小的限制,以防止系统出错。可以预先设置一个文件大小阈值(所述预设文件大小阈值,比如3M),对所述目标文件,可以先判断所述目标文件的文件大小是否大于预设文件大小阈值,若所述目标文件的文件大小小于或等于预设文件大小阈值,确定所述目标文件符合印章打印的文件大小要求,可以直接对所述目标文件进行印章打印;若所述目标文件的文件大小大于预设文件大小阈值,确定所述目标文件的文件大小不符合印章打印的文件大小要求,需要对所述目标文件进行文件切割,以获得符合印章打印的文件大小要求的文件。In the embodiment of the present application, the size of the electronic file that needs to be printed with a seal may be limited to prevent system errors. A file size threshold (the preset file size threshold, such as 3M) can be set in advance. For the target file, it can be judged whether the file size of the target file is greater than the preset file size threshold. The file size is less than or equal to the preset file size threshold, and it is determined that the target file meets the file size requirements for seal printing, and the target file can be directly stamped; if the file size of the target file is greater than the preset file size threshold, It is determined that the file size of the target file does not meet the file size requirement for seal printing, and the target file needs to be cut to obtain a file that meets the file size requirement for seal printing.
具体的,所述对所述目标文件进行双页切割,获得多个切割文件包括:Specifically, the performing double-page cutting on the target file to obtain multiple cutting files includes:
获取预设偶数页,以及获取所述目标文件的总页数;Obtaining a preset even-numbered page, and obtaining the total number of pages of the target file;
在所述总页数的页数范围内,根据所述预设偶数页,对所述目标文件进行切割,获得多个所述切割文件。Within the range of the total number of pages, the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
在该可选的实施方式中,可以将文件大小大于预设文件大小阈值的所述目标文件按照偶 数页(比如2、4、6……)的双页数进行切割,获得多个所述切割文件。这样做的好处是可以避免切割后的文件无法进行骑缝章打印的工作。In this optional implementation manner, the target file whose file size is larger than the preset file size threshold may be cut according to the double-page number of even-numbered pages (such as 2, 4, 6, ...) to obtain multiple cuts. document. The advantage of this is that it can prevent the cut file from being unable to print the seam seal.
其中,所述骑缝章可以是为了保证海关监管货物留存单据的完整齐全以及核对有关单证,在单据交接处所加盖的印章,即在两张页面的交界处进行印章打印。Wherein, the seam seal may be a seal placed at the place where the documents are handed over in order to ensure the integrity and completeness of the customs-supervised goods retention documents and to verify the relevant documents, that is, the seal is printed at the junction of the two pages.
S14、若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。S14. If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
本申请实施例中,若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,确定所述多个切割文件均符合进行印章打印的文件大小要求,可以对所述多个切割文件进行印章打印,获得印章文件。In this embodiment of the application, if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, it is determined that the multiple cut files meet the file size requirements for seal printing, and the multiple cut files can be checked. Print each cut file to obtain the seal file.
作为一种可选的实施方式,所述若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件之后,所述方法还包括:As an optional implementation manner, if the file size of the target file is greater than a preset file size threshold, performing double-page cutting on the target file to obtain multiple cut files, the method further includes:
若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,从所述多个切割文件中确定文件大小大于所述预设文件大小阈值的待处理文件,以及从所述多个切割文件中确定文件大小小于或等于所述预设文件大小阈值的可打印文件;If the file sizes of the multiple cut files are less than or equal to the preset file size threshold, determine from the multiple cut files to-be-processed files whose file size is greater than the preset file size threshold; and Determining a printable file whose file size is less than or equal to the preset file size threshold among the plurality of cutting files;
对所述待处理文件进行重新切割,获得重新切割文件;Re-cutting the file to be processed to obtain a re-cutting file;
若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。If the file size of the re-cut file is less than the preset file size threshold, performing seal printing on the printable file and the re-cut file to obtain a seal file.
在该可选的实施例中,若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,可以将所述多个切割文件中的文件大小大于所述预设文件大小阈值的文件确定为待处理文件,以及将所述多个切割文件中的文件大小小于或等于所述预设文件大小阈值的文件确定为可打印文件,对所述待处理文件进行重新切割,获得重新切割文件,若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。In this optional embodiment, if the file sizes of the multiple cut files are not all less than or equal to the preset file size threshold, the file size of the multiple cut files may be larger than the preset file Determining a file with a size threshold as a file to be processed, and determining a file of the plurality of cut files whose file size is less than or equal to the preset file size threshold as a printable file, and re-cutting the file to be processed, Obtain a re-cut file, and if the file size of the re-cut file is less than the preset file size threshold, perform seal printing on the printable file and the re-cut file to obtain a seal file.
作为一种可选的实施方式,所述方法还包括:As an optional implementation manner, the method further includes:
若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,根据所述多个切割文件,生成查询邮件;If the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, generate a query email according to the multiple cut files;
将所述查阅邮件发送至预设终端。Send the review mail to a preset terminal.
在该可选的实施方式中,若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,可以创建一个查阅邮件,并将所述多个切割文件添加至所述查阅邮件中,将所述查阅邮件发送至预设终端,等待用户进行检查或者输入进行下一步的指令。In this optional implementation, if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, a search mail can be created, and the multiple cut files can be added to the search In the mail, the search mail is sent to a preset terminal, waiting for the user to check or input an instruction to proceed to the next step.
作为一种可选的实施方式,所述若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件之后,所述方法还包括:As an optional implementation manner, if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, seal printing is performed on the multiple cut files, and after the seal files are obtained, The method also includes:
根据所述印章打印指令以及所述印章文件,生成打印记录;Generating a print record according to the seal printing instruction and the seal file;
存储所述打印记录。Store the print record.
在该可选的实施方式中,可以对印章打印的事件进行记录并保存,比如记录所述印章打印指令的相关日志信息以及所述印章文件的相关日志信息。In this optional implementation manner, the seal printing event may be recorded and saved, such as recording related log information of the seal printing instruction and related log information of the seal file.
需要强调的是,为进一步保证上述印章文件的私密和安全性,上述印章文件还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned seal file, the above-mentioned seal file may also be stored in a node of a blockchain.
在图1所描述的方法流程中,当接收到印章打印指令时,可以通过人工智能技术,自动验证所述印章打印指令所携带的待打印文件的文件格式以及大小,并可以进行文件格式转换以及文件切割,确保文件可以被正常打印,同时,使用双页切割的方式,确定切割后的文件能够兼容更多的印章打印方式,避免文件报错导致的打印失败,进一步提高了印章打印的效率。In the method flow described in Figure 1, when a seal printing instruction is received, artificial intelligence technology can be used to automatically verify the file format and size of the file to be printed carried by the seal printing instruction, and file format conversion and File cutting ensures that the file can be printed normally. At the same time, the double-page cutting method is used to ensure that the cut file can be compatible with more seal printing methods, avoiding printing failures caused by file errors, and further improving the efficiency of seal printing.
图2是本申请公开的一种印章打印装置的较佳实施例的功能模块图。Fig. 2 is a functional block diagram of a preferred embodiment of a seal printing device disclosed in the present application.
请参见图2,所述印章打印装置20可运行于电子设备中。所述印章打印装置20可以包括多个由程序代码段所组成的功能模块。所述印章打印装置20中的各个程序段的程序代码可以存储于存储器中,并由至少一个处理器所执行,以执行图1所描述的印章打印方法中的部分或全部步骤。Please refer to FIG. 2, the seal printing device 20 can be operated in an electronic device. The seal printing device 20 may include multiple functional modules composed of program code segments. The program code of each program segment in the seal printing device 20 may be stored in a memory and executed by at least one processor to execute part or all of the steps in the seal printing method described in FIG. 1.
本实施例中,所述印章打印装置20根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:接收模块201、转换模块202、切割模块203及打印模块204。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机程序段,其存储在存储器中。In this embodiment, the seal printing device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a receiving module 201, a conversion module 202, a cutting module 203, and a printing module 204. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
接收模块201,用于接收印章打印指令,其中,所述印章打印指令携带有待打印文件。The receiving module 201 is configured to receive a seal printing instruction, where the seal printing instruction carries a file to be printed.
其中,所述待打印文件可以是等待进行印章打印的电子文件。Wherein, the file to be printed may be an electronic file waiting for seal printing.
本申请实施例中,当用户登录印章系统后,可以直接上传待打印文件,并输入针对所述待打印文件的印章打印指令,电子设备可以接收所述印章打印指令。In the embodiment of the present application, after logging in to the seal system, the user can directly upload the file to be printed and input a seal printing instruction for the file to be printed, and the electronic device can receive the seal printing instruction.
转换模块202,用于若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件。The conversion module 202 is configured to perform format conversion on the file to be printed if the file format of the file to be printed is inconsistent with the preset file format to obtain a target file.
其中,所述预设文件格式可以是便携式文档格式(Portable Document Format,PDF),便携式文档格式是一种与操作系统平台无关的电子文件格式,即,便携式文档格式可以跨平台使用,便携式文档格式可以将文字、字型、格式、颜色及独立于设备和分辨率的图形图像等封装在一个文件中。便携式文档格式文件还可以包含超文本链接、声音和动态影像等电子信息,支持特长文件,集成度和安全可靠性都较高。Wherein, the preset file format may be a portable document format (Portable Document Format, PDF), which is an electronic file format that has nothing to do with the operating system platform, that is, the portable document format can be used across platforms, and the portable document format You can encapsulate text, font, format, color, and graphics and images independent of equipment and resolution in one file. Portable document format files can also contain electronic information such as hypertext links, sounds and dynamic images, support special long files, and have high integration and safety and reliability.
本申请实施例中,可以判断所述待打印文件的文件格式与预设文件格式是否不一致,若所述待打印文件的文件格式与预设文件格式一致,确定所述待打印文件符合进行印章打印的文件格式要求;若所述待打印文件的文件格式与预设文件格式不一致,确定所述待打印文件不符合进行印章打印的文件格式要求。In this embodiment of the application, it can be determined whether the file format of the file to be printed is inconsistent with the preset file format, and if the file format of the file to be printed is consistent with the preset file format, it is determined that the file to be printed meets the requirements for seal printing. If the file format of the file to be printed is inconsistent with the preset file format, it is determined that the file to be printed does not meet the file format requirements for seal printing.
切割模块203,用于若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件。The cutting module 203 is configured to perform double-page cutting on the target file if the file size of the target file is greater than a preset file size threshold to obtain multiple cut files.
本申请实施例中,可以对需要进行印章打印的电子文件有大小的限制,以防止系统出错。可以预先设置一个文件大小阈值(所述预设文件大小阈值,比如3M),对所述目标文件,可以先判断所述目标文件的文件大小是否大于预设文件大小阈值,若所述目标文件的文件大小 小于或等于预设文件大小阈值,确定所述目标文件符合印章打印的文件大小要求,可以直接对所述目标文件进行印章打印;若所述目标文件的文件大小大于预设文件大小阈值,确定所述目标文件的文件大小不符合印章打印的文件大小要求,需要对所述目标文件进行文件切割,以获得符合印章打印的文件大小要求的文件。In the embodiment of the present application, the size of the electronic file that needs to be printed with a seal may be limited to prevent system errors. A file size threshold (the preset file size threshold, such as 3M) can be set in advance. For the target file, it can be judged whether the file size of the target file is greater than the preset file size threshold. The file size is less than or equal to the preset file size threshold, and it is determined that the target file meets the file size requirements for seal printing, and the target file can be directly stamped; if the file size of the target file is greater than the preset file size threshold, It is determined that the file size of the target file does not meet the file size requirement for seal printing, and the target file needs to be cut to obtain a file that meets the file size requirement for seal printing.
打印模块204,用于若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。The printing module 204 is configured to, if the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, perform seal printing on the multiple cutting files to obtain a seal file.
本申请实施例中,若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,确定所述多个切割文件均符合进行印章打印的文件大小要求,可以对所述多个切割文件进行印章打印,获得印章文件。In this embodiment of the application, if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, it is determined that the multiple cut files meet the file size requirements for seal printing, and the multiple cut files can be checked. Print each cut file to obtain the seal file.
作为一种可选的实施方式,所述切割模块203对所述目标文件进行双页切割,获得多个切割文件的方式具体为:As an optional implementation manner, the cutting module 203 performs double-page cutting on the target document, and the specific method for obtaining multiple cut documents is as follows:
获取预设偶数页,以及获取所述目标文件的总页数;Obtaining a preset even-numbered page, and obtaining the total number of pages of the target file;
在所述总页数的页数范围内,根据所述预设偶数页,对所述目标文件进行切割,获得多个所述切割文件。Within the range of the total number of pages, the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
在该可选的实施方式中,可以将文件大小大于预设文件大小阈值的所述目标文件按照偶数页(比如2、4、6……)的双页数进行切割,获得多个所述切割文件。这样做的好处是可以避免切割后的文件无法进行骑缝章打印的工作。In this optional implementation manner, the target file whose file size is larger than the preset file size threshold may be cut according to the double-page number of even-numbered pages (such as 2, 4, 6, ...) to obtain multiple cuts. document. The advantage of this is that it can prevent the cut file from being unable to print the seam seal.
其中,所述骑缝章可以是为了保证海关监管货物留存单据的完整齐全以及核对有关单证,在单据交接处所加盖的印章,即在两张页面的交界处进行印章打印。Wherein, the seam seal may be a seal placed at the place where the documents are handed over in order to ensure the integrity and completeness of the customs-supervised goods retention documents and to verify the relevant documents, that is, the seal is printed at the junction of the two pages.
作为一种可选的实施方式,所述印章打印装置20还包括:As an optional implementation manner, the seal printing device 20 further includes:
确定模块,用于所述切割模块203若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件之后,若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,从所述多个切割文件中确定文件大小大于所述预设文件大小阈值的待处理文件,以及从所述多个切割文件中确定文件大小小于或等于所述预设文件大小阈值的可打印文件;The determining module is used for the cutting module 203, if the file size of the target file is greater than the preset file size threshold, double-page cutting the target file, and after obtaining multiple cut files, if the file size of the multiple cut files is The file size unevenness is less than or equal to the preset file size threshold, the file to be processed whose file size is greater than the preset file size threshold is determined from the plurality of cut files, and the file is determined from the plurality of cut files Printable files whose size is less than or equal to the preset file size threshold;
所述切割模块203,还用于对所述待处理文件进行重新切割,获得重新切割文件;The cutting module 203 is also used to re-cut the document to be processed to obtain a re-cut document;
所述打印模块204,还用于若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。The printing module 204 is further configured to perform seal printing on the printable file and the re-cut file if the file size of the re-cut file is less than the preset file size threshold to obtain a seal file.
在该可选的实施例中,若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,可以将所述多个切割文件中的文件大小大于所述预设文件大小阈值的文件确定为待处理文件,以及将所述多个切割文件中的文件大小小于或等于所述预设文件大小阈值的文件确定为可打印文件,对所述待处理文件进行重新切割,获得重新切割文件,若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。In this optional embodiment, if the file sizes of the multiple cut files are not all less than or equal to the preset file size threshold, the file size of the multiple cut files may be larger than the preset file Determining a file with a size threshold as a file to be processed, and determining a file of the plurality of cut files whose file size is less than or equal to the preset file size threshold as a printable file, and re-cutting the file to be processed, Obtain a re-cut file, and if the file size of the re-cut file is less than the preset file size threshold, perform seal printing on the printable file and the re-cut file to obtain a seal file.
作为一种可选的实施方式,所述转换模块202对所述待打印文件进行格式转换,获得目标文件的方式具体为:As an optional implementation manner, the conversion module 202 performs format conversion on the file to be printed, and the specific method for obtaining the target file is as follows:
将所述待打印文件的每个页面均转换为携带有页面编号的文件图片;Converting each page of the document to be printed into a document picture carrying a page number;
根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
在该可选的实施方式中,可以将所述待打印文件的每个页面转换为文件图片,并按照原来的页面顺序对这些文件图片进行编号,获得携带有页面编号的文件图片。最后,按照页面编号的顺序,将这些文件图片拼接成所述目标文件。In this optional implementation manner, each page of the file to be printed may be converted into a file picture, and the file pictures may be numbered according to the original page order to obtain the file picture carrying the page number. Finally, according to the order of page numbers, these file pictures are spliced into the target file.
作为一种可选的实施方式,所述接收模块201,还用于所述转换模块202将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,接收图片方向转换指令,其中,所述图片方向转换指令所指示的转换方向为纵向或横向;As an optional implementation manner, the receiving module 201 is further configured to receive a picture direction conversion instruction after the conversion module 202 converts each page of the file to be printed into a file picture carrying a page number , Wherein the conversion direction indicated by the picture direction conversion instruction is vertical or horizontal;
所述转换模块202根据所述图片方向转换指令,对所有所述文件图片进行方向转换,获得纵向/横向文件图片;The conversion module 202 performs direction conversion on all the file pictures according to the picture direction conversion instruction to obtain vertical/horizontal file pictures;
所述转换模块202根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件的方式具体为:The conversion module 202 performs the splicing processing of the preset file format on all the file pictures according to the page number, and the specific method for obtaining the target file is as follows:
根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
在该可选的实施方式中,在将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,可以选择将所述文件图片进行纵向转换,获得纵向图片,或者选择将所述文件图片进行横向转换,获得横向图片。最后,再根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。In this alternative embodiment, after each page of the file to be printed is converted into a file picture carrying a page number, you can choose to convert the file picture vertically to obtain a vertical picture, or choose to The document picture is converted horizontally to obtain a horizontal picture. Finally, according to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
作为一种可选的实施方式,所述印章打印装置20还包括:As an optional implementation manner, the seal printing device 20 further includes:
第一生成模块,用于若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,根据所述多个切割文件,生成查询邮件;The first generating module is configured to generate a query email according to the multiple cut files if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold;
发送模块,用于将所述查阅邮件发送至预设终端。The sending module is used to send the search mail to a preset terminal.
在该可选的实施方式中,若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,可以创建一个查阅邮件,并将所述多个切割文件添加至所述查阅邮件中,将所述查阅邮件发送至预设终端,等待用户进行检查或者输入进行下一步的指令。In this optional embodiment, if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, a search mail can be created, and the multiple cut files can be added to the search In the mail, the search mail is sent to a preset terminal, waiting for the user to check or input an instruction to proceed to the next step.
作为一种可选的实施方式,所述印章打印装置20还包括:As an optional implementation manner, the seal printing device 20 further includes:
第二生成模块,用于所述打印模块204若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件之后,根据所述印章打印指令以及所述印章文件,生成打印记录;The second generation module is used for the printing module 204, if the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, perform seal printing on the multiple cutting files, and after obtaining the seal file, Generating a print record according to the seal printing instruction and the seal file;
存储模块,用于存储所述打印记录。The storage module is used to store the printing records.
在该可选的实施方式中,可以对印章打印的事件进行记录并保存,比如记录所述印章打印指令的相关日志信息以及所述印章文件的相关日志信息。In this optional implementation manner, the seal printing event may be recorded and saved, such as recording related log information of the seal printing instruction and related log information of the seal file.
在图2所描述的印章打印装置20中,当接收到印章打印指令时,可以通过人工智能技术,自动验证所述印章打印指令所携带的待打印文件的文件格式以及大小,并可以进行文件格式转换以及文件切割,确保文件可以被正常打印,同时,使用双页切割的方式,确定切割 后的文件能够兼容更多的印章打印方式,避免文件报错导致的打印失败,进一步提高了印章打印的效率。In the seal printing device 20 described in FIG. 2, when a seal printing command is received, artificial intelligence technology can be used to automatically verify the file format and size of the file to be printed carried by the seal printing command, and the file format can be performed Conversion and file cutting ensure that the file can be printed normally. At the same time, the double-page cutting method is used to ensure that the cut file can be compatible with more seal printing methods, avoiding printing failures caused by file errors, and further improving the efficiency of seal printing .
需要强调的是,为进一步保证上述印章文件的私密和安全性,上述印章文件还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned seal file, the above-mentioned seal file may also be stored in a node of a blockchain.
如图3所示,图3是本申请实现印章打印方法的较佳实施例的电子设备的结构示意图。所述电子设备3包括存储器31、至少一个处理器32、存储在所述存储器31中并可在所述至少一个处理器32上运行的计算机程序33及至少一条通讯总线34。As shown in FIG. 3, FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the seal printing method according to the present application. The electronic device 3 includes a memory 31, at least one processor 32, a computer program 33 stored in the memory 31 and running on the at least one processor 32, and at least one communication bus 34.
本领域技术人员可以理解,图3所示的示意图仅仅是所述电子设备3的示例,并不构成对所述电子设备3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备3还可以包括输入输出设备、网络接入设备等。Those skilled in the art can understand that the schematic diagram shown in FIG. 3 is only an example of the electronic device 3, and does not constitute a limitation on the electronic device 3. It may include more or less components than those shown in the figure, or a combination. Certain components, or different components, for example, the electronic device 3 may also include input and output devices, network access devices, and so on.
所述电子设备3还包括但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。所述电子设备3所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。The electronic device 3 also includes, but is not limited to, any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, etc. Personal digital assistants (Personal Digital Assistant, PDA), game consoles, interactive network television (Internet Protocol Television, IPTV), smart wearable devices, etc. The network where the electronic device 3 is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.
所述至少一个处理器32可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、分立硬件组件等。该处理器32可以是微处理器或者该处理器32也可以是任何常规的处理器等,所述处理器32是所述电子设备3的控制中心,利用各种接口和线路连接整个电子设备3的各个部分。The at least one processor 32 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (ASICs). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, transistor logic devices, discrete hardware components, etc. The processor 32 can be a microprocessor or the processor 32 can also be any conventional processor, etc. The processor 32 is the control center of the electronic device 3, and connects the entire electronic device 3 by using various interfaces and lines. Parts.
所述计算机程序33可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器31中,并由所述处理器32调用及执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机程序在所述电子设备3中的执行过程。例如,所述计算机程序可以被分割成接收模块201、转换模块202、切割模块203和打印模块204。The computer program 33 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 31 and called and executed by the processor 32 to complete the application . The one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 3. For example, the computer program can be divided into a receiving module 201, a conversion module 202, a cutting module 203, and a printing module 204.
所述存储器31可用于存储所述计算机程序33和/或模块/单元,所述处理器32通过运行或执行存储在所述存储器31内的计算机程序和/或模块/单元,以及调用存储在存储器31内的数据,实现所述电子设备3的各种功能。所述存储器31可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备3的使用所创建的数据等。此外,存储器31可以包括易失性及/或非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件等。The memory 31 may be used to store the computer program 33 and/or modules/units. The processor 32 runs or executes the computer programs and/or modules/units stored in the memory 31 and calls the computer programs and/or modules/units stored in the memory 31. The data in 31 realizes various functions of the electronic device 3. The memory 31 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data and the like created in accordance with the use of the electronic device 3 are stored. In addition, the memory 31 may include volatile and/or non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, and a flash memory. Card (Flash Card), at least one magnetic disk storage device, flash memory device, etc.
结合图1,所述电子设备3中的所述存储器31存储多个指令以实现一种印章打印方法,所述处理器32可执行所述多个指令从而实现:With reference to FIG. 1, the memory 31 in the electronic device 3 stores multiple instructions to implement a seal printing method, and the processor 32 can execute the multiple instructions to implement:
接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
具体地,所述处理器32对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above-mentioned instructions by the processor 32, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG.
在图3所描述的电子设备3中,当接收到印章打印指令时,可以通过人工智能技术,自动验证所述印章打印指令所携带的待打印文件的文件格式以及大小,并可以进行文件格式转换以及文件切割,确保文件可以被正常打印,同时,使用双页切割的方式,确定切割后的文件能够兼容更多的印章打印方式,避免文件报错导致的打印失败,进一步提高了印章打印的效率。In the electronic device 3 described in FIG. 3, when a seal printing command is received, artificial intelligence technology can be used to automatically verify the file format and size of the file to be printed carried by the seal printing command, and file format conversion can be performed And file cutting to ensure that the file can be printed normally. At the same time, the double-page cutting method is used to ensure that the cut file can be compatible with more seal printing methods, avoiding printing failures caused by file errors, and further improving the efficiency of seal printing.
所述电子设备3集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中,所述计算机可读存储介质可以是非易失性的存储介质,也可以是易失性的存储介质。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器等。If the integrated module/unit of the electronic device 3 is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium, which may be non-easy. A volatile storage medium can also be a volatile storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments. Wherein, the computer program code may be in the form of source code, object code, executable file, or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random access memory, etc.
进一步地,所述计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store Data created by the use of nodes, etc.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元 上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。本申请中所述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一、第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the present application is not limited to the details of the foregoing exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any associated diagram marks in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in this application can also be implemented by one unit or device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Make modifications or equivalent replacements without departing from the spirit and scope of the technical solution of the present application.

Claims (20)

  1. 一种印章打印方法,其中,所述印章打印方法包括:A method for printing a seal, wherein the method for printing a seal includes:
    接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
    若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
    若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
    若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
  2. 根据权利要求1所述的印章打印方法,其中,所述对所述目标文件进行双页切割,获得多个切割文件包括:The method for printing a seal according to claim 1, wherein the performing double-page cutting on the target document to obtain a plurality of cut documents comprises:
    获取预设偶数页,以及获取所述目标文件的总页数;Obtaining a preset even-numbered page, and obtaining the total number of pages of the target file;
    在所述总页数的页数范围内,根据所述预设偶数页,对所述目标文件进行切割,获得多个所述切割文件。Within the range of the total number of pages, the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
  3. 根据权利要求1所述的印章打印方法,其中,所述若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件之后,所述印章打印方法还包括:The method for printing a seal according to claim 1, wherein if the file size of the target file is greater than a preset file size threshold, double-page cutting is performed on the target file, and after a plurality of cut files are obtained, the seal Printing methods also include:
    若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,从所述多个切割文件中确定文件大小大于所述预设文件大小阈值的待处理文件,以及从所述多个切割文件中确定文件大小小于或等于所述预设文件大小阈值的可打印文件;If the file sizes of the multiple cut files are less than or equal to the preset file size threshold, determine from the multiple cut files to-be-processed files whose file size is greater than the preset file size threshold; and Determining a printable file whose file size is less than or equal to the preset file size threshold among the plurality of cutting files;
    对所述待处理文件进行重新切割,获得重新切割文件;Re-cutting the file to be processed to obtain a re-cutting file;
    若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。If the file size of the re-cut file is less than the preset file size threshold, performing seal printing on the printable file and the re-cut file to obtain a seal file.
  4. 根据权利要求1所述的印章打印方法,其中,所述对所述待打印文件进行格式转换,获得目标文件包括:The seal printing method according to claim 1, wherein the format conversion of the file to be printed to obtain the target file comprises:
    将所述待打印文件的每个页面均转换为携带有页面编号的文件图片;Converting each page of the document to be printed into a document picture carrying a page number;
    根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
  5. 根据权利要求4所述的印章打印方法,其中,所述将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,所述印章打印方法还包括:4. The seal printing method according to claim 4, wherein after converting each page of the document to be printed into a document picture carrying a page number, the seal printing method further comprises:
    接收图片方向转换指令,其中,所述图片方向转换指令所指示的转换方向为纵向或横向;Receiving a picture direction conversion instruction, wherein the conversion direction indicated by the picture direction conversion instruction is vertical or horizontal;
    根据所述图片方向转换指令,对所有所述文件图片进行方向转换,获得纵向/横向文件图片;According to the picture direction conversion instruction, perform direction conversion on all the document pictures to obtain a vertical/horizontal document picture;
    所述根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理, 获得所述目标文件包括:The performing splicing processing of the preset file format on all the file pictures according to the page number to obtain the target file includes:
    根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
  6. 根据权利要求1至5中任一项所述的印章打印方法,其中,所述印章打印方法还包括:The seal printing method according to any one of claims 1 to 5, wherein the seal printing method further comprises:
    若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,根据所述多个切割文件,生成查询邮件;If the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, generate a query email according to the multiple cut files;
    将所述查阅邮件发送至预设终端。Send the review mail to a preset terminal.
  7. 根据权利要求1至5中任一项所述的印章打印方法,其中,所述若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件之后,所述印章打印方法还包括:The seal printing method according to any one of claims 1 to 5, wherein if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, the multiple cut files are After performing seal printing and obtaining the seal file, the seal printing method further includes:
    根据所述印章打印指令以及所述印章文件,生成打印记录;Generating a print record according to the seal printing instruction and the seal file;
    存储所述打印记录。Store the print record.
  8. 一种印章打印装置,其中,所述印章打印装置包括:A seal printing device, wherein the seal printing device includes:
    接收模块,用于接收印章打印指令,其中,所述印章打印指令携带有待打印文件;A receiving module, configured to receive a seal printing instruction, wherein the seal printing instruction carries a file to be printed;
    转换模块,用于若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;A conversion module, configured to convert the format of the file to be printed to obtain a target file if the file format of the file to be printed is inconsistent with the preset file format;
    切割模块,用于若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;A cutting module, configured to perform double-page cutting on the target file if the file size of the target file is greater than a preset file size threshold to obtain multiple cut files;
    打印模块,用于若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。The printing module is configured to perform seal printing on the multiple cut files if the file sizes of the multiple cut files are all less than or equal to the preset file size threshold to obtain a seal file.
  9. 一种电子设备,其中,所述电子设备包括处理器和存储器,所述处理器用于执行存储器中存储的至少一个计算机可读指令以实现以下步骤:An electronic device, wherein the electronic device includes a processor and a memory, and the processor is configured to execute at least one computer-readable instruction stored in the memory to implement the following steps:
    接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
    若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
    若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
    若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
  10. 根据权利要求9所述的电子设备,其中,在所述对所述目标文件进行双页切割,获得多个切割文件时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:9. The electronic device according to claim 9, wherein, when the target file is cut into two pages to obtain a plurality of cut files, the processor executes the at least one computer-readable instruction to implement the following steps:
    获取预设偶数页,以及获取所述目标文件的总页数;Obtaining a preset even-numbered page, and obtaining the total number of pages of the target file;
    在所述总页数的页数范围内,根据所述预设偶数页,对所述目标文件进行切割,获得多个所述切割文件。Within the range of the total number of pages, the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
  11. 根据权利要求9所述的电子设备,其中,在所述若所述目标文件的文件大小大于预 设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件之后,所述处理器执行所述至少一个计算机可读指令还用以实现以下步骤:9. The electronic device according to claim 9, wherein, after the target file has a file size greater than a preset file size threshold, double-page cutting is performed on the target file to obtain a plurality of cut files, the processing The execution of the at least one computer-readable instruction by the device is also used to implement the following steps:
    若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,从所述多个切割文件中确定文件大小大于所述预设文件大小阈值的待处理文件,以及从所述多个切割文件中确定文件大小小于或等于所述预设文件大小阈值的可打印文件;If the file sizes of the multiple cut files are less than or equal to the preset file size threshold, determine from the multiple cut files to-be-processed files whose file size is greater than the preset file size threshold; and Determining a printable file whose file size is less than or equal to the preset file size threshold among the plurality of cutting files;
    对所述待处理文件进行重新切割,获得重新切割文件;Re-cutting the file to be processed to obtain a re-cutting file;
    若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。If the file size of the re-cut file is less than the preset file size threshold, performing seal printing on the printable file and the re-cut file to obtain a seal file.
  12. 根据权利要求9所述的电子设备,其中,在所述对所述待打印文件进行格式转换,获得目标文件时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:The electronic device according to claim 9, wherein, when the format conversion of the file to be printed is performed to obtain the target file, the processor executes the at least one computer-readable instruction to implement the following steps:
    将所述待打印文件的每个页面均转换为携带有页面编号的文件图片;Converting each page of the document to be printed into a document picture carrying a page number;
    根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
  13. 根据权利要求12所述的电子设备,其中,在所述将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,所述处理器执行所述至少一个计算机可读指令还用以实现以下步骤:The electronic device according to claim 12, wherein, after said converting each page of the document to be printed into a document picture carrying a page number, the processor executes the at least one computer-readable instruction It is also used to implement the following steps:
    接收图片方向转换指令,其中,所述图片方向转换指令所指示的转换方向为纵向或横向;Receiving a picture direction conversion instruction, wherein the conversion direction indicated by the picture direction conversion instruction is vertical or horizontal;
    根据所述图片方向转换指令,对所有所述文件图片进行方向转换,获得纵向/横向文件图片;According to the picture direction conversion instruction, perform direction conversion on all the document pictures to obtain a vertical/horizontal document picture;
    所述根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件包括:The performing splicing processing of the preset file format on all the file pictures according to the page number, and obtaining the target file includes:
    根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
  14. 根据权利要求9至13中任一项所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令还用以实现以下步骤:The electronic device according to any one of claims 9 to 13, wherein the execution of the at least one computer-readable instruction by the processor is further configured to implement the following steps:
    若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,根据所述多个切割文件,生成查询邮件;If the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, generate a query email according to the multiple cut files;
    将所述查阅邮件发送至预设终端。Send the review mail to a preset terminal.
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer-readable instruction, and when the at least one computer-readable instruction is executed by a processor, the following steps are implemented:
    接收印章打印指令,其中,所述印章打印指令携带有待打印文件;Receiving a seal printing instruction, where the seal printing instruction carries a file to be printed;
    若所述待打印文件的文件格式与预设文件格式不一致,对所述待打印文件进行格式转换,获得目标文件;If the file format of the file to be printed is inconsistent with the preset file format, perform format conversion on the file to be printed to obtain a target file;
    若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件;If the file size of the target file is greater than the preset file size threshold, double-page cutting is performed on the target file to obtain multiple cut files;
    若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,对所述多个切割文件进行印章打印,获得印章文件。If the file sizes of the multiple cutting files are all less than or equal to the preset file size threshold, performing seal printing on the multiple cutting files to obtain a seal file.
  16. 根据权利要求15所述的存储介质,其中,在所述对所述目标文件进行双页切割,获得多个切割文件时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:15. The storage medium according to claim 15, wherein when the target file is cut into two pages to obtain multiple cut files, the at least one computer readable instruction is executed by a processor to implement the following steps:
    获取预设偶数页,以及获取所述目标文件的总页数;Obtaining a preset even-numbered page, and obtaining the total number of pages of the target file;
    在所述总页数的页数范围内,根据所述预设偶数页,对所述目标文件进行切割,获得多个所述切割文件。Within the range of the total number of pages, the target file is cut according to the preset even-numbered pages to obtain a plurality of the cut files.
  17. 根据权利要求15所述的存储介质,其中,在所述若所述目标文件的文件大小大于预设文件大小阈值,对所述目标文件进行双页切割,获得多个切割文件之后,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:The storage medium according to claim 15, wherein, after the target file is double-page cut to obtain multiple cut files if the file size of the target file is greater than a preset file size threshold, the at least A computer readable instruction executed by the processor is also used to implement the following steps:
    若所述多个切割文件的文件大小不均小于或等于所述预设文件大小阈值,从所述多个切割文件中确定文件大小大于所述预设文件大小阈值的待处理文件,以及从所述多个切割文件中确定文件大小小于或等于所述预设文件大小阈值的可打印文件;If the file sizes of the multiple cut files are less than or equal to the preset file size threshold, determine from the multiple cut files to-be-processed files whose file size is greater than the preset file size threshold; and Determining a printable file whose file size is less than or equal to the preset file size threshold among the plurality of cutting files;
    对所述待处理文件进行重新切割,获得重新切割文件;Re-cutting the file to be processed to obtain a re-cutting file;
    若所述重新切割文件的文件大小均小于所述预设文件大小阈值,对所述可打印文件以及所述重新切割文件进行印章打印,获得印章文件。If the file size of the re-cut file is less than the preset file size threshold, performing seal printing on the printable file and the re-cut file to obtain a seal file.
  18. 根据权利要求15所述的存储介质,其中,在所述对所述待打印文件进行格式转换,获得目标文件时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:The storage medium according to claim 15, wherein, when the format conversion of the file to be printed is performed to obtain the target file, the at least one computer readable instruction is executed by a processor to implement the following steps:
    将所述待打印文件的每个页面均转换为携带有页面编号的文件图片;Converting each page of the document to be printed into a document picture carrying a page number;
    根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the splicing process of the preset file format is performed on all the file pictures to obtain the target file.
  19. 根据权利要求18所述的存储介质,其中,在所述将所述待打印文件的每个页面均转换为携带有页面编号的文件图片之后,所述至少一个计算机可读指令被处理器执行时还用以实现以下步骤:The storage medium according to claim 18, wherein, after the at least one computer-readable instruction is executed by the processor after each page of the to-be-printed file is converted into a file picture carrying a page number It is also used to implement the following steps:
    接收图片方向转换指令,其中,所述图片方向转换指令所指示的转换方向为纵向或横向;Receiving a picture direction conversion instruction, wherein the conversion direction indicated by the picture direction conversion instruction is vertical or horizontal;
    根据所述图片方向转换指令,对所有所述文件图片进行方向转换,获得纵向/横向文件图片;According to the picture direction conversion instruction, perform direction conversion on all the document pictures to obtain a vertical/horizontal document picture;
    所述根据所述页面编号,对所有所述文件图片进行所述预设文件格式的拼接处理,获得所述目标文件包括:The performing splicing processing of the preset file format on all the file pictures according to the page number, and obtaining the target file includes:
    根据所述页面编号,对所述纵向/横向文件图片进行所述预设文件格式的拼接处理,获得所述目标文件。According to the page number, the vertical/horizontal file picture is spliced in the preset file format to obtain the target file.
  20. 根据权利要求15至19中任一项所述的存储介质,其中,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:The storage medium according to any one of claims 15 to 19, wherein the at least one computer readable instruction is executed by the processor to further implement the following steps:
    若所述多个切割文件的文件大小均小于或等于所述预设文件大小阈值,根据所述多个切割文件,生成查询邮件;If the file sizes of the multiple cut files are all less than or equal to the preset file size threshold, generate a query email according to the multiple cut files;
    将所述查阅邮件发送至预设终端。Send the review mail to a preset terminal.
PCT/CN2020/131950 2020-07-28 2020-11-26 Seal printing method, apparatus, electronic device, and storage medium WO2021147507A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010740649.2 2020-07-28
CN202010740649.2A CN111880752B (en) 2020-07-28 2020-07-28 Seal printing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021147507A1 true WO2021147507A1 (en) 2021-07-29

Family

ID=73200356

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131950 WO2021147507A1 (en) 2020-07-28 2020-11-26 Seal printing method, apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111880752B (en)
WO (1) WO2021147507A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113657072A (en) * 2021-07-30 2021-11-16 杭州承章科技有限公司 Method and system for stamping odd-even pages of file
CN115447303A (en) * 2022-09-09 2022-12-09 中国农业银行股份有限公司 Printing method, device and equipment of anti-counterfeiting seal and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880752B (en) * 2020-07-28 2022-12-23 平安科技(深圳)有限公司 Seal printing method and device, electronic equipment and storage medium
CN113655973B (en) * 2021-07-16 2023-12-26 深圳价值在线信息科技股份有限公司 Page segmentation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463555A (en) * 2013-09-25 2015-03-25 天津书生投资有限公司 Method for achieving electronic seal
CN104834490A (en) * 2015-05-08 2015-08-12 昆山百润科技有限公司 Electronic seal based printing control system and method
CN109829269A (en) * 2018-12-26 2019-05-31 平安科技(深圳)有限公司 Method, apparatus and system based on E-seal authenticating electronic documents
CN111880752A (en) * 2020-07-28 2020-11-03 平安科技(深圳)有限公司 Seal printing method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6746095B2 (en) * 2016-03-24 2020-08-26 富士ゼロックス株式会社 Print control device and program
CN110134343A (en) * 2018-02-09 2019-08-16 南京信安宝信息科技有限公司 The method that cloud prints big document printing speed
US10725712B2 (en) * 2018-11-21 2020-07-28 Kyocera Document Solutions Inc. System for printing a document using a printer driver based on page size value
CN110134350B (en) * 2019-05-23 2022-08-23 宜春宜联科技有限公司 Print file segmentation and transmission method
CN110221792A (en) * 2019-06-14 2019-09-10 宜春宜联科技有限公司 File to be printed format conversion method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463555A (en) * 2013-09-25 2015-03-25 天津书生投资有限公司 Method for achieving electronic seal
CN104834490A (en) * 2015-05-08 2015-08-12 昆山百润科技有限公司 Electronic seal based printing control system and method
CN109829269A (en) * 2018-12-26 2019-05-31 平安科技(深圳)有限公司 Method, apparatus and system based on E-seal authenticating electronic documents
CN111880752A (en) * 2020-07-28 2020-11-03 平安科技(深圳)有限公司 Seal printing method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113657072A (en) * 2021-07-30 2021-11-16 杭州承章科技有限公司 Method and system for stamping odd-even pages of file
CN115447303A (en) * 2022-09-09 2022-12-09 中国农业银行股份有限公司 Printing method, device and equipment of anti-counterfeiting seal and storage medium

Also Published As

Publication number Publication date
CN111880752A (en) 2020-11-03
CN111880752B (en) 2022-12-23

Similar Documents

Publication Publication Date Title
WO2021147507A1 (en) Seal printing method, apparatus, electronic device, and storage medium
US11704384B2 (en) Secure document sharing
US10437907B2 (en) Link expansion service
CN109783781B (en) Image recognition-based policy entry method and related device
CN107025252B (en) Method, system, and program for enabling real-time availability of published documents
US10984206B2 (en) Data storing and sharing using two-dimensional codes
CN111797351A (en) Page data management method and device, electronic equipment and medium
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
CN112001159A (en) Document generation method and device, electronic equipment and storage medium
CN115687655A (en) PDF document-based knowledge graph construction method, system, equipment and storage medium
CN114844792A (en) Dynamic monitoring method, device, equipment and storage medium based on LUA language
CN111832018A (en) Virus detection method, virus detection device, computer device and storage medium
JP2003006556A (en) Slip processor, slip data input device, slip input/output system, slip definition information preparation device, program and program recording medium
CN112784566A (en) Document generation method, device, equipment and storage medium
JP2007328750A (en) Compound document preparing method and registering method to blog
CN111857883B (en) Page data checking method and device, electronic equipment and storage medium
CN115150392A (en) Remote file copying method, system, computing equipment and storage medium
CN109522211B (en) Interface parameter transmission method and device, electronic equipment and storage medium
TWI742429B (en) System for displaying signature message of portable document format file in web page and method thereof
CN111368231A (en) Method and device for testing heterogeneous redundant architecture website
WO2020047736A1 (en) Method and system for verifying integrity of website backend picture resource
US11875102B2 (en) Automatic font selection
CN115328381B (en) Page pushing method, device and server
US20220253467A1 (en) Method, device and program product for generating configuration information of storage system
US20220292255A1 (en) Method and System For Processing Electronic Documents

Legal Events

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

Ref document number: 20915226

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20915226

Country of ref document: EP

Kind code of ref document: A1