Source tracing information processing methods, devices, image forming equipment and media

By segmenting the traceability area and generating a traceability information chain in the image forming device, the problem of mutual interference of traceability information after multiple operations is solved, and the complete recording and safe use of information are realized.

CN116340906BActive Publication Date: 2026-01-30BEIJING PANTUM INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211651648.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2026-01-30
Estimated Expiration
2042-12-21

AI Technical Summary

Technical Problem

Existing image forming equipment can cause interference or overlap between traceability information after multiple processing of a file, which can affect information security.

Method used

By acquiring the image of the target file and segmenting the traceability region, the traceability information in the historical traceability images is identified and extracted, a traceability information chain is generated, and the current traceability image is generated based on the operation information, thus avoiding interference or overlap between traceability information.

Benefits of technology

Ensure that all traceability information can be effectively utilized, guarantee information security, and avoid mutual interference or overlap of traceability information after multiple operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116340906B_ABST
    Figure CN116340906B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, image forming device, and medium for processing traceability information. The method includes acquiring a first file image of a target file; segmenting the first file image to obtain a traceability region; when the traceability region contains historical traceability images, extracting N traceability information from the historical traceability images; generating a traceability information chain, which includes N traceability information and N+1 traceability information; generating a current traceability image based on the traceability information chain, which includes N+1 sequentially arranged image blocks; and outputting a second file image of the target file, with the current traceability image also output within the traceability region of the second file image. This technical solution regenerates and prints the traceability images generated according to the traceability information chain sequentially within the traceability region, avoiding interference or overlap between traceability information after multiple processing steps, ensuring that all traceability information can be identified, and thus guaranteeing information security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image forming technology, and in particular to a traceability information processing method, apparatus, image forming device, and medium. Background Technology

[0002] With increasing demands for information security, people are placing greater emphasis on the traceability of documents. Currently, document traceability is generally achieved in two ways. One is by creating visible watermarks or other patterns on the document. The other is by creating hidden marks such as dots, lines, or blocks on the document. Existing technology allows image-forming devices to create these hidden marks on output documents.

[0003] However, the inventors of this application discovered in their research that existing image forming devices create a hidden mark on the document during each image forming operation. For the same document, after undergoing multiple operations such as printing and copying, the hidden marks from the multiple operations will overlap or interfere with each other, which ultimately leads to the inability to effectively utilize traceability information and affects information security to a certain extent. Summary of the Invention

[0004] The embodiments of the present invention provide a method, apparatus, image forming device and medium for processing traceability information, which can avoid mutual interference or overlap between traceability information after multiple processing of a document, so that all traceability information can be used, thereby ensuring information security.

[0005] In a first aspect, this application provides a method for processing traceability information, applied to an image forming device, the method comprising:

[0006] Obtain the first file image of the target file, and perform image segmentation on the first file image to obtain the source region;

[0007] When the source tracing area is identified to contain historical source tracing images, N source tracing information is extracted from the historical source tracing images, where N≥1;

[0008] Based on the operation information of the target file and the N traceability information, a traceability information chain is generated, which includes N traceability information and N+1 traceability information.

[0009] The current traceability image is generated based on the traceability information chain. The current traceability image includes N+1 image blocks arranged in sequence, and each image block is used to record a corresponding traceability information.

[0010] Output a second file image of the target file, wherein the source region of the second file image includes the current source image.

[0011] In conjunction with the first aspect, in one feasible implementation, the target file includes a tracing region and a working region, the working region being used to record the file content of the target file, and the tracing region being used to record the tracing image of the target file; after obtaining the first file image of the target file and performing image segmentation on the first file image to obtain the tracing region, the method further includes:

[0012] Determine the relative positional relationship between the work area and the traceability area in the first file image, wherein the traceability area is located above, below, to the left or to the right of the work area.

[0013] In conjunction with the first aspect, in one feasible implementation, before outputting the second file image of the target file, the method further includes:

[0014] Based on the size of the current traceability image and the relative positional relationship, adjust the relative size of the work area and the traceability area in the second file image.

[0015] In conjunction with the first aspect, in one feasible implementation, the step of generating the current source tracing image based on the source tracing information chain includes:

[0016] Each piece of traceability information in the traceability information chain is encrypted, and a current traceability image is generated based on the encrypted traceability information; wherein the historical traceability image and the current traceability image are each selected from at least one of graphics, barcodes, images, or QR codes.

[0017] In conjunction with the first aspect, in one feasible implementation, the step of outputting the second file image of the target file and outputting the current source image in the source region of the second file image includes:

[0018] In the tracing region of the second file image, image blocks from the current tracing image are output sequentially according to a preset offset, such that the image blocks are arranged at equal intervals, wherein the image blocks have the same size; or

[0019] Output multiple image blocks from the current source image in the source region of the second file image in an integrated manner.

[0020] In conjunction with the first aspect, in one feasible implementation, the method further includes:

[0021] When it is detected that the traceability area does not contain historical traceability images, the first traceability information is generated based on the operation information of the target file; the current traceability image is generated based on the first traceability information; the second file image of the target file is output, and the current traceability image is output at a preset starting position in the traceability area of ​​the second file image.

[0022] In conjunction with the first aspect, in one feasible implementation, the method further includes:

[0023] The source regions of the current source image and the second file image are combined, and the combined second file image is output.

[0024] Secondly, this application provides a traceability information processing device, the device comprising:

[0025] The image segmentation unit is used to acquire the first file image of the target file and perform image segmentation on the first file image to obtain the source region;

[0026] The identification and extraction unit is used to extract N times of source tracing information from the historical source tracing image when the source tracing area is identified to contain a historical source tracing image, where N≥1;

[0027] The traceability information generation unit is used to generate a traceability information chain based on the operation information of the target file and the N traceability information, wherein the traceability information chain includes N traceability information and N+1 traceability information;

[0028] The source tracing image generation unit is used to generate a current source tracing image based on the source tracing information chain. The current source tracing image includes N+1 image blocks arranged in sequence, and each image block is used to record a corresponding source tracing information.

[0029] The output unit is used to output a second file image of the target file, wherein the source region of the second file image includes the current source image.

[0030] Thirdly, this application provides a computer-readable storage medium, the storage medium including a stored program, which, when the program is executed, controls the device where the storage medium is located to perform the traceability information processing method described in the first aspect.

[0031] Fourthly, this application provides an image forming apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the traceability information processing method described in the first aspect above.

[0032] The traceability information processing method provided in this application acquires a first file image of the target file during image forming operations in an image forming device, performs image segmentation on the first file image to obtain a traceability region, identifies historical traceability images in the traceability region and extracts N traceability information, generates a traceability information chain based on operation information and N traceability information, records all operation records of the target file completely through the traceability information chain, generates the current traceability image according to the traceability information chain, and outputs the current traceability image in the traceability region of the second file image. This avoids mutual interference or overlap between traceability information after multiple operations on the file, ensuring that all traceability information can be identified and thus guaranteeing information security. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a flowchart illustrating a traceability information processing method provided in an embodiment of this application;

[0035] Figure 2 This is a flowchart illustrating a source tracing information processing method provided in another embodiment of this application;

[0036] Figure 3 yes Figure 2 A schematic diagram illustrating the effect of traceability information in the embodiment;

[0037] Figure 4 This is a flowchart illustrating a source tracing information processing method provided in another embodiment of this application;

[0038] Figure 5 This is a functional block diagram of a traceability information processing device provided in an embodiment of this application;

[0039] Figure 6 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0040] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0041] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0042] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0043] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0044] It should be understood that although the terms first, second, third, etc., may be used to describe terminals in the embodiments of the present invention, these terminals should not be limited to these terms. These terms are only used to distinguish terminals from each other. For example, without departing from the scope of the embodiments of the present invention, a first terminal may also be referred to as a second terminal, and similarly, a second terminal may also be referred to as a first terminal.

[0045] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."

[0046] See Figure 1 This provides a method for processing traceability information.

[0047] The source tracing information processing method in this application embodiment includes:

[0048] S11, Obtain the first file image of the target file, and perform image segmentation on the first file image to obtain the source region;

[0049] S12, when it is recognized that the source tracing area contains historical source tracing images, extract N source tracing information from the historical source tracing images, where N≥1;

[0050] S13, Based on the operation information of the target file and the N traceability information, generate a traceability information chain, the traceability information chain including N traceability information and N+1 traceability information;

[0051] S14, Generate a current traceability image based on the traceability information chain. The current traceability image includes N+1 image blocks arranged in sequence, and each image block is used to record a corresponding traceability information.

[0052] S15, output the second file image of the target file, wherein the source region of the second file image includes the current source image.

[0053] The traceability information processing method provided in this application embodiment acquires a first file image of the target file when the image forming device performs an image forming operation, and performs image segmentation on the first file image to obtain a traceability region. Then, it identifies historical traceability images in the traceability region and extracts N traceability information. Based on the operation information and the N traceability information, it generates a traceability information chain. The traceability information chain completely records all operation records of the target file. Then, it generates the current traceability image according to the traceability information chain and outputs the current traceability image in the traceability region of the second file image. This can avoid mutual interference or overlap between traceability information after multiple operations on the file, so that all traceability information can be identified, thereby ensuring information security.

[0054] The method flow S11 to S14 of the above embodiment will be described below in a more detailed embodiment of this application, and its advantages will be explained.

[0055] In one embodiment, the source tracing information processing method includes:

[0056] S11, acquire the first file image of the target file, and perform image segmentation on the first file image to obtain the source region.

[0057] Specifically, the traceability information processing method in this application embodiment is applicable to image forming devices. The image forming device in this application embodiment is a device having at least one image forming function, or a device combining multiple image forming functions. The image forming function can be, but is not limited to, printing, scanning, and copying. That is, the image forming operation in this step can be one of a printing operation, a scanning operation, or a copying operation.

[0058] In this step, the method of acquiring the first image of the target document differs depending on the image forming job. For example, for a scanning job, the image forming device can be a scanner, which acquires the first image of the paper document being scanned through its scanning module. For a printing job, the image forming device can be a printer. The printer receives a print job from another terminal (such as a user's PC terminal). The print job typically carries print data, which is usually described using PDL (Print Detail Language) to describe the pages of the document to be printed. The printer also uses PDL to draw the image of the pages of the document to be printed, thereby acquiring the first image of the target document.

[0059] After acquiring a first file image, the image forming apparatus performs image segmentation to obtain a working region and a tracing region. In this embodiment, the working region is used to record the file content of the target file; the tracing region is used to record the tracing information of the target file. In this application, the tracing region can be any region in the first file image other than the working region.

[0060] In a preferred embodiment of this application, after obtaining the traceability region, the method further includes

[0061] The relative positional relationship between the working area and the traceability area in the first document image is determined. This relative positional relationship can include the orientation of the traceability area relative to the working area, as well as the size relationship between the two areas. Specifically, the traceability area can be located above, below, to the left, or to the right of the working area. For example, the printer may identify the blank area (margin area) below the working area in the first document image as the traceability area; that is, the traceability area is located below the working area.

[0062] S12, when the source tracing area is identified to contain historical source tracing images, extract N source tracing information from the historical source tracing images, where N≥1.

[0063] Specifically, the historical image traceability image is used to record each historical image processing operation of the target document (e.g., printing once in a certain month of a certain year, copying once in a certain month of a certain year, etc.). It should be noted that historical image processing operations refer to image processing operations preceding the current image processing operation, and the device executing the historical image processing operation can be the same as or a different device than the current image processing device. Furthermore, the form of the image processing operation can also change. For example, for an electronic document, it can first be printed to obtain a paper document, and then the paper document can be copied or scanned multiple times. In the historical image processing operation, the first document image may contain traceability information.

[0064] In this embodiment, the source tracing information obtained from historical image formation operations can be recorded in the source tracing area to form historical source tracing images based on the number of historical image formation operations. Each historical source tracing image includes N sequentially arranged image blocks, with each image block recording a corresponding source tracing information instance. Specifically, the first image block records the first source tracing information, the second image block records the second source tracing information, and so on. It should be noted that the first and second image blocks can be set independently, i.e., spaced apart; or they can be integrated, i.e., the two image blocks have no clear boundary line.

[0065] In the embodiments of this application, the historical traceability image can take one of several forms, such as a graphic, barcode, image, or QR code. The traceability information can be used to trace the operational information of historical image formation operations, such as the equipment identifier, time, location, or operator information of the image forming equipment corresponding to the historical image formation operation, etc.

[0066] In this embodiment of the application, historical traceability images can be identified by a preset image recognition algorithm. Taking QR codes as an example, the image recognition algorithm can identify the operation information corresponding to the QR codes in the historical image generation process.

[0067] S13, Based on the operation information of the target file and the Nth traceability information, generate a traceability information chain, the traceability information chain including Nth traceability information and N+1th traceability information.

[0068] Specifically, the image forming equipment generates N+1th traceability information based on the operation information of the file to be image formed. This information can be used to trace the operation information of the current job, including, for example, the type of the image forming equipment, serial number, operator ID, image forming job type, time, and location. The image forming equipment further generates a traceability information chain based on the Nth and N+1th traceability information. This chain clearly records each instance of traceability information, thus avoiding interference or overlap between traceability information from multiple file operations.

[0069] S14. Generate a current traceability image based on the traceability information chain. The current traceability image includes N+1 image blocks arranged in sequence, and each image block is used to record a corresponding traceability information.

[0070] In one embodiment of this application, when the image block in the traceability image is a QR code, the QR code generation software reads each traceability information in the traceability information chain in sequence and generates a corresponding QR code image block. Multiple QR code image blocks are arranged in sequence to form the current traceability image.

[0071] In one embodiment of this application, the step of generating a current traceability image based on the traceability information chain includes: encrypting each traceability information in the traceability information chain, and generating a current traceability image based on the encrypted traceability information. Each current traceability image is selected from at least one of graphics, barcodes, images, or QR codes. It should be noted that the encryption method can be key encryption, asymmetric encryption, symmetric encryption, etc., and is not limited here. Encryption can prevent the traceability information from being directly disclosed. For example, when the traceability information in a historical traceability image is encrypted, the QR code decoding program built into the printer or scanner first reads the encrypted traceability information in the historical traceability image, and then decrypts the encrypted traceability information using the built-in decryption program.

[0072] Understandably, multiple image blocks in the current traceability image can be set as a single unit or set independently. Preferably, when multiple image blocks are set independently, the image blocks are arranged at equal intervals, and each image block has the same size. In this way, the image forming device can quickly calculate the overall size of the entire current traceability image based on the number of image blocks, and the current traceability image can be printed more clearly and aesthetically pleasing on the target file.

[0073] Prior to S15, the method further includes:

[0074] Based on the size and relative position of the current traceability image, the relative size of the work area and the traceability area in the second file image is adjusted. For example, when the relative position is such that the traceability image is below the work area and the size of the traceability image is slightly larger than the blank area below the work area, the work area can be compressed vertically, or the work area can be shrunk as a whole without changing the aspect ratio until the vertical blank area meets the size of the traceability image. Alternatively, the traceability image can be shrunk as a whole without changing the aspect ratio until the vertical length of the traceability image is less than or equal to the blank area. The relative position can be such that the traceability image is above, to the left, or to the right of the work area, and so on. This embodiment does not limit the specific adjustment method; those skilled in the art can determine it as needed.

[0075] This prevents the current trace image from affecting the content of the target file in the printing area, ensuring the clarity of the target file's content.

[0076] S15, output the second file image of the target file, and output the current source image in the source region of the second file image.

[0077] In some implementations, when multiple image blocks in the current traceability image are set independently, S15 includes: sequentially outputting the image blocks in the current traceability image according to a preset offset in the traceability region of the second file image, such that the image blocks are arranged at equal intervals, wherein the image blocks have the same size. It is understood that each image block is printed separately. Since each image block is reprinted, the traceability information recorded in the image block can be kept clear, avoiding problems such as overlapping or interference of traceability information after multiple operations.

[0078] In some implementations, when multiple image blocks in the current traceability image are set as a single unit, S15 includes: outputting the multiple image blocks in the current traceability image that are set as a single unit in the traceability area of ​​the second file image. That is, the entire current traceability image is directly printed out or scanned.

[0079] In some implementations, the traceability area may be located below the work area.

[0080] In one embodiment of this application, the historical traceability image and the current traceability image can take the same form, such as both being QR codes. This facilitates the image forming device using the same algorithm to generate the traceability image and to perform identification and extraction using the same algorithm. Each image block in the historical traceability image and the current traceability image has the same size. When the image forming devices for the two consecutive operations are different, the forms of the historical traceability image and the current traceability image can also be different. For example, the historical traceability image may be a barcode, and the current traceability image may be a QR code. This is only necessary as long as the image forming device has a barcode decoding program and a QR code generation program, and is not limited here.

[0081] In embodiments of this application, the method further includes:

[0082] When it is identified that the traceability area does not contain historical traceability images, the first traceability information is generated based on the operation information of the target file of the image formation operation;

[0083] The current source tracing image is generated based on the first source tracing information;

[0084] Output a second file image of the target file, and output the current source image at a preset starting position in the source region of the second file image. For example, the preset starting position can be the left end or the top end of the source region, etc.

[0085] Furthermore, in some embodiments, the method further includes:

[0086] The source regions of the current source image and the second file image are combined, and the combined second file image is output.

[0087] Understandably, before printing, the current traceability image and the second document image are composited to form a second document image that includes the current traceability image. Then, the image forming device directly prints based on the composited second document image. During the composited second document image process, the relative sizes of the work area and the traceability area in the second document image can be adjusted based on operation information. For example, if borderless printing is specified in the operation information, and the printer engine does not support borderless printing, the size of the work area is appropriately reduced, leaving the traceability area below the work area.

[0088] Below, in two embodiments of this application, printing and copying are used as examples of image forming operations, respectively, for further explanation.

[0089] See Figure 2In another embodiment of this application, a traceability information processing method is provided. The image forming operation in this embodiment is specifically a printing operation. That is, the traceability information processing method is applied to a printer.

[0090] Specifically, the source tracing information processing method includes:

[0091] S21, the printer has received the print job.

[0092] Specifically, the printer can be connected to a user terminal, allowing the user to send print jobs to the printer. Typically, the user specifies the electronic document to be printed on the user terminal; this document can be, but is not limited to, Word or PDF files.

[0093] The user terminal has the printer driver installed. After the user terminal knows the print job task, the printer driver converts the electronic file into print data and sends it to the printer so that the printer can draw the print page and execute the print job based on the drawn print page.

[0094] S22, the printer determines whether traceability is required based on the settings.

[0095] Specifically, in this embodiment, the printer's operating mode can be set. The operating modes include normal mode and traceability mode. In normal mode, the printer directly prints the document after receiving a print job, without adding any traceability information to the printed document. In traceability mode, the printer needs to add traceability information to the printed document.

[0096] In this embodiment of the application, the working mode is set to traceability mode. After confirming the traceability mode, the printer determines that traceability is required.

[0097] S23, after confirming that the printed document needs to be traced, the printer identifies and extracts the Nth traceability information from the historical traceability images, and generates the N+1th traceability information based on equipment information and operator information, and generates a product traceability information chain based on the Nth traceability information and the N+1th traceability information.

[0098] S24, The printer uses the traceability information chain to generate a traceability QR code image.

[0099] S25, the printer generates a CMYK halftone image for the printed page.

[0100] Specifically, the print page is drawn by the printer based on the print data. The printer further generates a CMYK halftone image based on the print page, which contains information from the C (cyan) color channel, M (magenta) color channel, Y (yellow) color channel, and K (black) color channel.

[0101] S26, the printer combines the traceable coded image into the K-channel image.

[0102] In this embodiment, the QR code image for traceability information can be directly synthesized into a monochrome K-channel image, thereby reducing the amount of color data processing. Of course, the QR code image can also be synthesized into other color channels. When the QR code image is synthesized into the K-channel, it also facilitates subsequent black-and-white printing, and the printed traceability information is displayed as a black-and-white QR code.

[0103] S27, the printer prints based on the composite image.

[0104] Specifically, the printed result is as follows: Figure 3 As shown. Specifically, the QR code image generated during the first printout may include the print time, print location, printr, printer identification, etc., as needed. The traceability information of each operation forms a traceability information chain. The traceability information generated by each subsequent operation will be linked to the end of the previous traceability information chain. The QR code image can be a single coded image or a series of image blocks arranged in sequence. Each image block records the traceability information of one operation.

[0105] In other embodiments, S23, after confirming that the printed document needs to be traced, when the printer recognizes that the printed document does not contain a historical traceability image, it can generate the first traceability information based on the device information and operator information, generate the current traceability image based on the first traceability information, and then execute S25 to S27.

[0106] The traceability information processing method in this application embodiment can also be applied to photocopying operations.

[0107] See Figure 4 In another embodiment of this application, a traceability information processing method for photocopying operations is provided.

[0108] The source tracing information processing method in this embodiment includes:

[0109] 401, Receiving photocopying jobs.

[0110] 402. Start scanning to obtain the first file image, and perform image segmentation to obtain the working area and the traceability area.

[0111] 403, Identify whether the traceability area contains historical traceability images.

[0112] If yes, execute steps 404 to 405, then execute steps 408 and 409; if no, execute step 407, then execute steps 408 and 409.

[0113] 404, Identify historical source tracing images and extract N source tracing information from the historical source tracing images.

[0114] 405. Generate the N+1th traceability information based on this copying job, and generate a traceability information chain based on the Nth and N+1th traceability information.

[0115] 406. Generate the current traceability image based on the traceability information chain.

[0116] 407. Generate current source information based on this copying job, and generate current source image based on the current source information; 408. Synthesize a halftone image containing the current source image.

[0117] 409. Perform a copying operation based on the synthesized halftone image.

[0118] Furthermore, the traceability information processing method in this application embodiment can also be applied to other forms of image forming operations, such as scanning, and its principle will not be repeated in detail.

[0119] like Figure 5 As shown, this application embodiment also provides a traceability information processing device, which can be implemented in an image forming device in hardware or software.

[0120] Specifically, the traceability information processing device 500 includes:

[0121] Image segmentation unit 510 is used to acquire a first file image of the target file and perform image segmentation on the first file image to obtain the source region;

[0122] The identification and extraction unit 520 is used to extract N times of source tracing information from the historical source tracing image when the source tracing area is identified to contain a historical source tracing image, where N≥1;

[0123] The traceability information generation unit 530 is used to generate a traceability information chain based on the operation information of the target file and the N traceability information, wherein the traceability information chain includes N traceability information and N+1 traceability information.

[0124] The traceability image generation unit 540 is used to generate a current traceability image based on the traceability information chain. The current traceability image includes N+1 image blocks arranged in sequence, and each image block is used to record a corresponding traceability information.

[0125] The output unit 550 is used to output a second file image of the target file and output the current source image in the source region of the second file image.

[0126] The apparatus described in the above embodiments is illustrated below in a more detailed embodiment of this application, and its advantages are explained.

[0127] The image segmentation unit 510 is used to acquire the first file image of the target file and perform image segmentation on the first file image to obtain the source region.

[0128] Specifically, the traceability information processing device in this application embodiment is applicable to image forming equipment. The image forming device in this application embodiment is a device having at least one image forming function, or a device combining multiple image forming functions. The image forming function can be, but is not limited to, printing, scanning, and copying. That is, an image forming operation can be one of a printing operation, a scanning operation, or a copying operation.

[0129] The method of acquiring the first image of the target document varies depending on the type of image forming job. For example, for a scanning job, the image forming device can be a scanner, which acquires the first image of the paper document being scanned through its scanning module. For a printing job, the image forming device can be a printer, which receives a print job from another terminal (such as a user's PC). The print job typically carries print data, which is usually described using a PDL (Print Detail Language) to represent the pages of the document to be printed. The printer also uses PDL to draw the image of the pages of the document to be printed, thus acquiring the first image of the target document.

[0130] After acquiring a first file image, the image forming apparatus performs image segmentation to obtain a working region and a tracing region. In this embodiment, the working region is used to record the file content of the target file; the tracing region is used to record the tracing information of the target file. In this application, the tracing region can be any region in the first file image other than the working region.

[0131] In a preferred embodiment of this application, the relative positional relationship between the work area and the traceability area can be determined. This relative positional relationship may include the orientation of the traceability area relative to the work area, as well as the size relationship between the traceability area and the work area. Specifically, the traceability area may be located above, below, to the left, or to the right of the work area. For example, the printer may identify the blank area (margin area) below the work area in the first document image as the traceability area, meaning the traceability area is located below the work area.

[0132] The identification and extraction unit 520 is used to extract N times of source tracing information from the historical source tracing image when the source tracing area is identified to contain historical source tracing images, where N≥1.

[0133] Specifically, the historical image traceability image is used to record each historical image processing operation of the target document (e.g., printing once in a certain month of a certain year, copying once in a certain month of a certain year, etc.). It should be noted that historical image processing operations refer to image processing operations preceding the current image processing operation, and the device executing the historical image processing operation can be the same as or a different device than the current image processing device. Furthermore, the form of the image processing operation can also change. For example, for an electronic document, it can first be printed to obtain a paper document, and then the paper document can be copied or scanned multiple times. In the historical image processing operation, the first document image may contain traceability information.

[0134] In this embodiment, the source tracing information obtained from historical image formation operations can be recorded in the source tracing area to form historical source tracing images based on the number of historical image formation operations. Each historical source tracing image includes N sequentially arranged image blocks, with each image block recording a corresponding source tracing information instance. Specifically, the first image block records the first source tracing information, the second image block records the second source tracing information, and so on. It should be noted that the first and second image blocks can be set independently, i.e., spaced apart; or they can be integrated, i.e., the two image blocks have no clear boundary line.

[0135] In the embodiments of this application, the historical traceability image can take one of several forms, such as a graphic, barcode, image, or QR code. The traceability information can be used to trace the operational information of historical image formation operations, such as the equipment identifier, time, location, or operator information of the image forming equipment corresponding to the historical image formation operation, etc.

[0136] In this embodiment of the application, historical traceability images can be identified by a preset image recognition algorithm. Taking QR codes as an example, the image recognition algorithm can identify the operation information corresponding to the QR codes in the historical image generation process.

[0137] The traceability information generation unit 530 is used to generate a traceability information chain based on the operation information of the target file and the N traceability information, wherein the traceability information chain includes N traceability information and N+1 traceability information.

[0138] Specifically, the image forming device generates N+1th traceability information based on the operation information of the target file. This information can be used to trace the operation information of the current job, including, for example, the type of the current image forming device, serial number, operator ID, image forming job type, time, and location. The image forming device further generates a traceability information chain based on the Nth and N+1th traceability information. This chain clearly records each instance of traceability information, thus avoiding interference or overlap between traceability information from multiple job operations on the file.

[0139] The traceability image generation unit 540 is used to generate a current traceability image based on the traceability information chain. The current traceability image includes N+1 image blocks arranged in sequence, and each image block is used to record a corresponding traceability information.

[0140] In one embodiment of this application, when the image block in the traceability image is a QR code, the QR code generation software reads each traceability information in the traceability information chain in sequence and generates a corresponding QR code image block. Multiple QR code image blocks are arranged in sequence to form the current traceability image.

[0141] In one embodiment of this application, the device further includes an encryption unit for encrypting each piece of traceability information in the traceability information chain; then, the traceability image generation unit 540 generates a current traceability image based on the encrypted traceability information. Each current traceability image is selected from at least one of graphics, barcodes, images, or QR codes. It should be noted that the encryption method can be key encryption, asymmetric encryption, symmetric encryption, etc., and is not limited here. Encryption can prevent the traceability information from being directly disclosed. For example, when the traceability information in a historical traceability image is encrypted, the QR code decoding program built into the printer or scanner first reads the encrypted traceability information in the historical traceability image, and then decrypts the encrypted traceability information using the built-in decryption program.

[0142] Understandably, multiple image blocks in the current traceability image can be set as a single unit or set independently. Preferably, when multiple image blocks are set independently, the image blocks are arranged at equal intervals, and each image block has the same size. In this way, the image forming device can quickly calculate the overall size of the entire current traceability image based on the number of image blocks, and the current traceability image can be printed more clearly and aesthetically pleasing on the target file.

[0143] The output unit 550 is used to output a second file image of the target file and output the current source image in the source region of the second file image.

[0144] In some implementations, when multiple image blocks in the current traceability image are set independently, the output unit 550 is used to sequentially output the image blocks in the current traceability image according to a preset offset in the traceability area of ​​the second file image, so that the image blocks are arranged at equal intervals, wherein the image blocks have the same size. Understandably, each image block is printed separately. Since each image block is reprinted, the traceability information recorded in the image block can be kept clear, avoiding problems such as overlapping or interference of traceability information after multiple operations.

[0145] In some implementations, when multiple image blocks in the current traceability image are set as a single unit, the output unit 550 is used to output the multiple image blocks in the current traceability image that are set as a single unit in the traceability area of ​​the second file image. That is, the entire current traceability image is directly printed out or scanned.

[0146] In some implementations, the traceability area may be located below the work area.

[0147] In one embodiment of this application, the historical traceability image and the current traceability image can take the same form, such as both being QR codes. This facilitates the image forming device using the same algorithm to generate the traceability image and to perform identification and extraction using the same algorithm. Each image block in the historical traceability image and the current traceability image has the same size. When the image forming devices for the two consecutive operations are different, the forms of the historical traceability image and the current traceability image can also be different. For example, the historical traceability image may be a barcode, and the current traceability image may be a QR code. This is only necessary as long as the image forming device has a barcode decoding program and a QR code generation program, and is not limited here.

[0148] In the embodiments of this application,

[0149] When it is identified that the traceability area does not contain historical traceability images, the first traceability information is generated based on the operation information of the target file of the image formation operation;

[0150] A current source tracing image is generated based on the first source tracing information; a second file image of the target file is output, and the current source tracing image is output at a preset starting position in the source tracing area of ​​the second file image. For example, the preset starting position can be the left end or the top end of the source tracing area, etc.

[0151] Furthermore, in some embodiments, the method further includes:

[0152] The source regions of the current source image and the second file image are combined, and the combined second file image is output.

[0153] Understandably, before printing, the current traceability image and the second document image are composited to form a second document image that includes the current traceability image. Then, the image forming device directly prints based on the composited second document image. During the composited second document image process, the relative sizes of the work area and the traceability area in the second document image can be adjusted based on operation information. For example, if borderless printing is specified in the operation information, and the printer engine does not support borderless printing, the size of the work area is appropriately reduced, leaving the traceability area below the work area.

[0154] On the other hand, embodiments of this application provide a computer-readable storage medium, the storage medium including a stored program, wherein, when the program is running, it controls the device where the storage medium is located to execute the above-described traceability information processing method.

[0155] On the other hand, embodiments of this application provide a computer device. Figure 6 This is a schematic diagram of a computer device provided in an embodiment of this application. Figure 6 As shown, the computer device 800 of this embodiment includes: a processor 801, a memory 802, and a computer program 803 stored in the memory and executable on the processor 801. When the processor 801 executes the computer program 803, it implements the traceability information processing method in this embodiment. To avoid repetition, these details are not elaborated here. Alternatively, when the computer program is executed by the processor 801, it implements the functions of each model / unit in the traceability information processing device in this embodiment. To avoid repetition, these details are not elaborated here.

[0156] Computer device 800 can be a desktop computer, laptop, handheld computer, cloud server, image forming apparatus, or other computing device. The computer device may include, but is not limited to, a processor 801 and a memory 802. Those skilled in the art will understand that... Figure 6 This is merely an example of computer device 800 and does not constitute a limitation on computer device 800. It may include more or fewer components than shown, or combine certain components, or different components. For example, computer device may also include input / output devices, network access devices, buses, etc.

[0157] The processor 801 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0158] The memory 802 can be an internal storage unit of the computer device 800, such as a hard disk or RAM of the computer device 800. The memory 802 can also be an external storage device of the computer device 800, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the computer device 800. Furthermore, the memory 802 can include both internal and external storage units of the computer device 800. The memory 802 is used to store computer programs and other programs and data required by the computer device. The memory 802 can also be used to temporarily store data that has been output or will be output.

[0159] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0160] In the embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.

[0161] The integrated unit implemented as a software functional unit described above can be stored in a computer-readable storage medium. This software functional unit, stored in a storage medium, includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute the various embodiments of the present invention DD222529I.

[0162] The above method includes some of its steps. The aforementioned storage media include: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0163] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method of processing provenance information, applied to an image forming apparatus, characterized by, The method comprises: obtaining a first file image of a target file, and performing image segmentation on the first file image to obtain a trace area; when it is identified that the trace area contains a historical trace image, extracting N times of trace information in the historical trace image, wherein N≥1, and the historical trace image is used to record each historical image forming operation of the target file; generating a trace information chain based on operation information of the target file and the N times of trace information, wherein the trace information chain comprises the N times of trace information and (N+1)th trace information; generating a current trace image based on the trace information chain, wherein the current trace image comprises N+1 image blocks arranged in sequence, and each image block is used to record corresponding trace information; outputting a second file image of the target file, wherein the trace area of the second file image comprises the current trace image; and outputting the image blocks in the current trace image in the trace area of the second file image in sequence according to a preset offset, so that the image blocks are arranged at equal intervals, wherein the image blocks have the same size; or outputting the plurality of image blocks in the current trace image in an integrated manner in the trace area of the second file image.

2. The method of claim 1, wherein, The target file comprises a trace area and a job area, the job area is used to record file content of the target file, and the trace area is used to record a trace image of the target file. After the step of obtaining the first file image of the target file and performing image segmentation on the first file image to obtain the trace area, the method further comprises: determining a relative position relationship between the job area and the trace area in the first file image, wherein the trace area is located in at least one of the upper, lower, left or right of the job area.

3. The method of claim 2, wherein, Before the step of outputting the second file image of the target file, the method further comprises: adjusting the relative size of the job area and the trace area in the second file image according to the size of the current trace image and the relative position relationship.

4. The method of claim 1, wherein, The step of generating the current trace image based on the trace information chain comprises: performing encryption processing on each trace information in the trace information chain, and generating the current trace image based on the encrypted trace information; wherein the historical trace image and the current trace image are each selected from at least one of a graph, a bar code, an image or a two-dimensional code.

5. The method of claim 1, wherein, The method further comprises: when it is identified that the trace area does not contain a historical trace image, generating 1st trace information based on operation information of the target file; generating a current trace image based on the 1st trace information; outputting a second file image of the target file, and outputting the current trace image at a preset starting position in the trace area of the second file image.

6. The method of claim 1, wherein, The method further comprises: synthesizing the current trace image and the trace area of the second file image, and outputting the second file image after the synthesis processing.

7. A provenance information processing apparatus characterized by comprising: The device comprises: An image segmentation unit is configured to acquire a first file image of a target file and perform image segmentation on the first file image to obtain a traceable area; An identification extraction unit is configured to extract N times of traceable information in a historical traceable image when it is identified that the historical traceable image is contained in the traceable area, wherein N is greater than or equal to 1, and the historical traceable image is used to record each historical image forming operation of the target file; A traceable information generation unit is configured to generate a traceable information chain based on operation information of the target file and the N times of traceable information, wherein the traceable information chain comprises the N times of traceable information and (N+1)th traceable information; A traceable image generation unit is configured to generate a current traceable image based on the traceable information chain, wherein the current traceable image comprises N+1 image blocks arranged in sequence, and each image block is used to record corresponding traceable information; An output unit is configured to output a second file image of the target file, wherein a traceable area of the second file image comprises the current traceable image; and the outputting of the second file image of the target file and the traceable area of the second file image comprising the current traceable image specifically comprises: sequentially outputting image blocks in the current traceable image in the traceable area of the second file image according to a preset offset, so that the image blocks are arranged at equal intervals, wherein the image blocks have the same size; or outputting multiple image blocks in the current traceable image arranged integrally in the traceable area of the second file image.

8. A computer-readable storage medium, characterized in that, The storage medium comprises a stored program, and when the program is executed, the device where the storage medium is located is controlled to perform the traceable information processing method in any one of claims 1 to 6.

9. An image forming apparatus characterized by comprising: The device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the traceable information processing method in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method and device for safety control and source-tracing tracking of paper document

    CN107066844A

  • Tracking method for PDF file circulation

    CN112800398A