A method and system for identifying the time of document creation based on color card correction technology

Through the method based on color card correction technology, the problem of insufficient identification accuracy of document production time in the prior art is solved, and the accurate identification of the production time of different documents is achieved, and the inspection accuracy is improved.

CN118961614BActive Publication Date: 2025-02-11GUANGDONG NANTIAN JUDICIAL APPRAISAL FIRM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411420628.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-02-11
Estimated Expiration
2044-10-12

AI Technical Summary

Technical Problem

The prior art is difficult to improve accuracy in the identification of document production time, especially due to the accuracy influence caused by the paper material, ink color and equipment differences of different documents.

Method used

Using a method based on color card correction technology, the image data of the file to be detected is obtained, the special color card is selected for correction, the paper background difference value and the color card difference value are calculated, and the ink trace data is corrected, and the file is finally made by correcting the difference value. The order of time.

Benefits of technology

Without destroying the files to be detected, accurate identification of the production time of different files is achieved, inspection accuracy is improved, and insufficient accuracy caused by differences in equipment and materials in the prior art are overcome.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118961614B_ABST
    Figure CN118961614B_ABST
Patent Text Reader

Abstract

The present application discloses a method and system for identifying the time when a document is made based on color card correction technology, which relates to the field of judicial identification. The method includes: selecting a special color card according to a first document to be detected and a second document to be detected to obtain a first color card and a second color card; calculating a paper background difference value according to paper background data of the first document to be detected and the second document to be detected; calculating a color card difference value according to the color card data of the first color card and the second color card; correcting the ink data of the first document to be detected based on the color card difference value to obtain first correction data; correcting the ink data of the second document to be detected based on the color card difference value and the paper background difference value to obtain second correction data; when the correction difference value is less than the first threshold value plus the second threshold value, the time when the second document to be detected is made is later than the time when the first document to be detected is made. The present application can accurately identify the order of the time when different documents are made without destroying the documents to be detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of judicial identification technology, and in particular to a method and system for identifying the time when a document is made based on color card correction technology. Background Art

[0002] The identification of the time when a document was created is a technical problem in the field of judicial appraisal of documents. Currently, due to differences in paper materials, ink colors, equipment, etc. of different documents, there is no better way to improve the accuracy of the identification and inspection of the time when a document was created, and judicial appraisal of documents still faces certain challenges.

[0003] The existing methods for identifying the time when a document was made are generally divided into physical methods and chemical methods. These methods usually use the physical or chemical reaction principles of different inks, and then use specific instruments and equipment to test the time when the document was made. Chemical methods require the destruction of the sample, and it is impossible to re-test the same part, and the test accuracy is greatly affected by the chemical composition of the material. Physical methods can achieve multiple tests, but physical methods are generally affected by the accuracy caused by the background of the sample and the differences in the test equipment itself, and cannot improve the test accuracy. Summary of the invention

[0004] The purpose of this application is to provide a method and system for identifying the time when documents were made based on color card correction technology, which can accurately identify the order of when different documents were made without destroying the documents to be detected.

[0005] To achieve the above objectives, this application provides the following solutions.

[0006] In a first aspect, the present application provides a method for identifying the time when a document is made based on a color card correction technology, and the method for identifying the time when a document is made based on a color card correction technology comprises: respectively obtaining image data of a first document to be detected and a second document to be detected; the image data at least comprises: ink data and paper background data; selecting a special color card according to the first document to be detected and the second document to be detected, obtaining a first color card and a second color card; the special color card at least comprises: a red color card and a black color card; the first color card is a color card corresponding to the first document to be detected; the second color card is a color card corresponding to the second document to be detected; respectively obtaining color card data of the first color card and the second color card; and selecting a special color card according to the first document to be detected and the second document to be detected. According to the paper background data of the first color card and the second color card, a paper background difference value is calculated; according to the color card data of the first color card and the second color card, a color card difference value is calculated; based on the color card difference value, the ink data of the first file to be detected is corrected to obtain first correction data; based on the color card difference value and the paper background difference value, the ink data of the second file to be detected is corrected to obtain second correction data; according to the first correction data and the second correction data, a correction difference value is calculated; when the correction difference value is less than the first threshold value plus the second threshold value, the production time of the second file to be detected is later than the production time of the first file to be detected; the first threshold value is greater than the second threshold value.

[0007] Optionally, the file production time identification method based on color card correction technology also includes: when the correction difference value is greater than or equal to a second threshold and less than or equal to a third threshold, the production time of the first file to be detected and the second file to be detected are similar; the third threshold is greater than the second threshold; when the correction difference value is greater than the first threshold plus the third threshold, the production time of the second file to be detected is earlier than the production time of the first file to be detected.

[0008] Optionally, the first threshold is greater than or equal to 0; the second threshold is less than 0; and the third threshold is greater than 0.

[0009] Optionally, a special color card is selected according to the first file to be detected and the second file to be detected to obtain a first color card and a second color card, specifically including: selecting a color card with a color similar to the ink color of the first file to be detected from the special color cards as the first color card; selecting a color card with a color similar to the ink color of the second file to be detected from the special color cards as the second color card.

[0010] Optionally, the calculation formula of the paper background difference value is as follows.

[0011] .

[0012] In the formula, is the paper background difference value, is the paper background data of the second document to be detected, is the paper background data of the first document to be detected.

[0013] Optionally, the calculation formula of the color card difference value is as follows.

[0014] .

[0015] In the formula, is the color card difference value, is the color card data of the second color card, is the color card data of the first color card.

[0016] Optionally, a calculation formula for the first correction data is as follows.

[0017] .

[0018] In the formula, is the first correction data, is the ink data of the first file to be detected, is the color card difference value, is the correction factor.

[0019] Optionally, a calculation formula for the second correction data is as follows.

[0020] .

[0021] In the formula, is the second correction data, is the ink data of the second file to be detected, is the color card difference value, is the paper background difference value, , , are the correction coefficients respectively.

[0022] Optionally, the calculation formula of the correction difference value is as follows.

[0023] .

[0024] In the formula, To correct the difference, is the first correction data, is the second correction data.

[0025] In a second aspect, the present application also provides a computer system, comprising: 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 method for identifying the file production time based on the color card correction technology.

[0026] According to the specific embodiments provided in this application, this application discloses the following technical effects.

[0027] In addition to considering the differences in ink and paper background between different files, this application also introduces a special color card as a supplementary factor, selects the corresponding color card according to different files, and then uses the differences between different color cards to correct the ink data of different files. In addition, this application also fully considers the differences in paper background between different files. Before calculating the ink differences between different files, the ink data of one file is corrected using the color card difference, and then the paper background difference and the color card difference are used to jointly correct the ink data of another file. Finally, the order of the time when different files were made is determined by the difference in the corrected ink data, thereby achieving accurate identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0029] Figure 1 A flowchart of a method for identifying the time at which a file is made based on color card correction technology provided in an embodiment of the present application.

[0030] Figure 2 This is a diagram of the internal structure of a computer system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0032] The purpose of this application is to provide a method and system for identifying the time at which files are made based on color card correction technology, which can accurately identify the order in which different files are made.

[0033] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0034] Example 1

[0035] This embodiment provides a method for identifying the time when a file is made based on color card correction technology. Figure 1 As shown, the method for identifying the time when a file was made based on the color card correction technology is as follows.

[0036] Step S1: respectively obtaining image data of a first document to be detected and a second document to be detected; the image data at least includes: ink data and paper background data.

[0037] In this embodiment, a scanner or a camera is used to scan the first file to be detected and the second file to be detected respectively to obtain image data corresponding to each file, and then a computer is used to extract features of the image data of different files to obtain ink data and paper background data in the image (that is, data in the image data other than the ink data).

[0038] Step S2: Select a dedicated color card according to the first file to be detected and the second file to be detected to obtain a first color card and a second color card; the dedicated color card includes at least: a red color card and a black color card; the first color card is the color card corresponding to the first file to be detected; the second color card is the color card corresponding to the second file to be detected.

[0039] In this embodiment, the special color card is a paper color card, and the color of the special color card can be other colors such as blue, purple, etc. in addition to the conventional red and black.

[0040] In this embodiment, step S2 is specifically as follows.

[0041] A color card that is close to the ink color of the first document to be detected (belonging to the same color system) is selected from the special color cards as the first color card.

[0042] A color card that is close to the ink color of the second document to be detected (belonging to the same color system) is selected from the special color cards as the second color card.

[0043] In one example, it is determined whether the ink color in the first file to be detected is red; if so, the first color card is determined as a red color card; if not, the first color card is determined as a black color card; it is determined whether the ink color in the second file to be detected is red; if so, the second color card is determined as a red color card; if not, the second color card is determined as a black color card.

[0044] Step S3: respectively obtaining the color card data of the first color card and the second color card.

[0045] In this embodiment, a scanner or a camera is used to scan the first color card and the second color card respectively. Since the paper color card is pure color, the scanned image data does not need to be feature extracted and can be directly used as color card data.

[0046] Furthermore, the first color card and the second color card obtained in the above step 2 can both be red color cards, can both be black color cards, or can be one red color card and one black color card. Although there may be a situation where the two color cards have the same color, since the two color cards are not scanned together, but are scanned separately and in multiple times, their scanning results are bound to be different.

[0047] Step S4: Calculate the paper background difference value according to the paper background data of the first document to be detected and the second document to be detected.

[0048] The calculation formula of the paper background difference value is as follows.

[0049] .

[0050] In the formula, is the paper background difference value, is the paper background data of the second document to be detected, is the paper background data of the first document to be detected.

[0051] Step S5: Calculate the color card difference value according to the color card data of the first color card and the second color card.

[0052] The calculation formula of the color card difference value is as follows.

[0053] .

[0054] In the formula, is the color card difference value, is the color card data of the second color card, is the color card data of the first color card.

[0055] Step S6: Correcting the ink data of the first document to be detected based on the color card difference value to obtain first corrected data.

[0056] The calculation formula of the first correction data is as follows.

[0057] .

[0058] In the formula, is the first correction data, is the ink data of the first file to be detected, is the correction factor, and .

[0059] By observing the calculation formula of the first correction data, it is not difficult to find that step S6 is to use the same scanning device to scan the color card twice to obtain the data difference, and the correction coefficient determined by experiment , correct and adjust the ink data of the first file to be detected.

[0060] Step S7: Correct the ink data of the second document to be detected based on the color card difference value and the paper background difference value to obtain second corrected data.

[0061] The calculation formula of the second correction data is as follows.

[0062] .

[0063] In the formula, is the second correction data, is the ink data of the second file to be detected, , is also the correction factor, and .

[0064] By observing the calculation formula of the second correction data, it is not difficult to find that in step S7, in addition to the data difference obtained by scanning the color card twice with the same scanning device, and the correction coefficient determined by the experiment In addition to correcting and adjusting the ink data of the second document to be detected, it is also necessary to use the paper background difference values ​​of different documents and the correction coefficient determined by experiment. , Make further corrections.

[0065] Step S8: Calculate a correction difference value according to the first correction data and the second correction data.

[0066] The calculation formula of the correction difference value is as follows.

[0067] .

[0068] In the formula, After the two calibrations in step S6 and step S7, the ink quantification, background quantification and color card quantification of different files are basically completed, and finally only the difference value of the two calibration data needs to be calculated to determine the final value of the ink.

[0069] Step S9: When the correction difference value is less than the first threshold value plus the second threshold value, the production time of the second to-be-detected file is later than the production time of the first to-be-detected file.

[0070] In this embodiment, the thresholds used for comparison with the correction difference value include a first threshold e 1. Second threshold e 2 and the third threshold e 3. Among them, the first threshold e 1( e 1≥0) can be called the judgment threshold. e 2 ( e 2<0) ande 3 ( e 3>0) are respectively called the deviation values ​​of the minimum threshold and the maximum threshold, and the specific data of these thresholds are obtained through continuous experiments. Further, when the correction difference value is greater than or equal to the second threshold and less than or equal to the third threshold, the production time of the first file to be detected and the second file to be detected is similar (or the same, for example, it can be determined that they were produced on the same day, but the specific time of the day is uncertain); when the correction difference value is greater than the first threshold plus the third threshold, the production time of the second file to be detected is earlier than the production time of the first file to be detected.

[0071] Based on the above analysis, the file creation time identification method based on color card correction technology provided in this embodiment also takes into account the data differences generated by different devices scanning files, the data differences generated by the same device scanning files different times, and the data differences generated by the same ink on different color papers, and adjusts them in a data correction manner (mainly reflected in the calculation of the above formula), so that the order of creation time of different files can be accurately identified.

[0072] In addition, based on the method for identifying the time of making a document based on the color card correction technology provided in this embodiment, the first document to be detected and the second document to be detected can be scanned multiple times to obtain multiple , by taking the average value, the specific generation time of different files to be detected can be further estimated.

[0073] Example 2

[0074] This embodiment provides a computer system, which may be a server or a terminal, and its internal structure diagram may be as follows: Figure 2 As shown. The computer system includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer system is used to provide computing and control capabilities. The memory of the computer system includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer system is used to store video tag processing data. The input / output interface of the computer system is used to exchange information between the processor and an external device. The communication interface of the computer system is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for identifying the time of file production based on color card correction technology is implemented.

[0075] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer system to which the solution of the present application is applied. The specific computer system may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0077] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0078] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0079] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A method for identifying the time when a document is made based on color card correction technology, characterized in that: The method for identifying the time when a file is made based on the color card correction technology comprises: Respectively acquiring image data of a first document to be detected and a second document to be detected; the image data at least includes: ink data and paper background data; Selecting a dedicated color card according to the first file to be detected and the second file to be detected to obtain a first color card and a second color card, specifically comprising: selecting a color card with a color close to the ink color of the first file to be detected from the dedicated color cards as the first color card; selecting a color card with a color close to the ink color of the second file to be detected from the dedicated color cards as the second color card; the dedicated color cards at least include: a red color card and a black color card; the first color card is a color card corresponding to the first file to be detected; the second color card is a color card corresponding to the second file to be detected; Respectively obtaining color card data of the first color card and the second color card; Calculating a paper background difference value according to the paper background data of the first to-be-detected document and the second to-be-detected document; Calculating a color card difference value according to the color card data of the first color card and the second color card; Correcting the ink data of the first to-be-detected file based on the color card difference value to obtain first corrected data; Correcting the ink data of the second to-be-detected file based on the color card difference value and the paper background difference value to obtain second correction data; Calculating a correction difference value according to the first correction data and the second correction data; When the correction difference value is less than the first threshold value plus the second threshold value, the production time of the second to-be-detected file is later than the production time of the first to-be-detected file; the first threshold value is greater than the second threshold value; When the correction difference value is greater than or equal to the second threshold value and less than or equal to the third threshold value, the first to-be-detected file and the second to-be-detected file are produced at similar times; and the third threshold value is greater than the second threshold value; When the correction difference value is greater than the first threshold value plus the third threshold value, the production time of the second to-be-detected file is earlier than the production time of the first to-be-detected file.

2. The method for identifying the time when a document is made based on color card correction technology according to claim 1, characterized in that: The first threshold is greater than or equal to 0; the second threshold is less than 0; and the third threshold is greater than 0.

3. The method for identifying the time when a document is made based on color card correction technology according to claim 1, characterized in that: The calculation formula of the paper background difference value is: ; In the formula, is the paper background difference value, is the paper background data of the second document to be detected, is the paper background data of the first document to be detected.

4. The method for identifying the time when a document is made based on color card correction technology according to claim 1, characterized in that: The calculation formula of the color card difference value is: ; In the formula, is the color card difference value, is the color card data of the second color card, is the color card data of the first color card.

5. The method for identifying the time when a document is made based on color card correction technology according to claim 1, characterized in that: The calculation formula of the first correction data is: ; In the formula, is the first correction data, is the ink data of the first file to be detected, is the color card difference value, is the correction factor.

6. The method for identifying the time when a document is made based on color card correction technology according to claim 1, characterized in that: The calculation formula of the second correction data is: ; In the formula, is the second correction data, is the ink data of the second file to be detected, is the color card difference value, is the paper background difference value, , , are the correction coefficients respectively.

7. The method for identifying the time when a document is made based on color card correction technology according to claim 1, characterized in that: The calculation formula of the correction difference value is: ; In the formula, To correct the difference, is the first correction data, is the second correction data.

8. A computer system comprising: 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 method for identifying the production time of a file based on color card correction technology as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and computer system for checking file-making time by computer

    CN101532964A

  • Method and system for detecting types of file writings

    CN105277498A