Seal control machine seal and archived file management and control method
By conducting high -precision scanning and comparison on the file seal on the printed control machine, extracting and verifying the seal information, the traditional seal technology cannot effectively verify whether the seal is imitated, and realize the legality and operating compliance of the file. Assure.
Patent Information
- Application Number
- CN202411396328.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-08
AI Technical Summary
Traditional seal technology cannot effectively verify whether the stamp is imitated, making it difficult to determine the legality of the document.
The sidebar area and seal area of the document seal are scanned and compared with high precision through the printing control machine, and the unique seal information is extracted and verified, combined with database verification to ensure the authenticity and uniqueness of the seal.
Effectively prevent the imitation of the seal, ensure the legality and operating compliance of the file, and improve the security and legitimacy verification of the file stamp.
Smart Images

Figure CN119360408A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a method for controlling seals and archived documents of a printing control machine. Background Art
[0002] Printing control machine (printing control machine) is an automated device dedicated to managing and controlling the printing process, and is widely used in commercial printing, label printing and packaging industries. It can realize automatic monitoring and adjustment of printing materials to ensure the stability and consistency of printing quality. Printing control machines usually have functions such as color control, layout adjustment, pressure adjustment and tension control. Through precise sensors and feedback systems, they optimize printing processes, reduce errors and improve production efficiency.
[0003] In various documents, stamping is widely used as a means to confirm the legitimacy and authority of documents, especially in the fields of law, finance, administration, etc. The purpose of stamping is to represent the confirmation and responsibility of a certain unit, department or individual for the content of the document through the pattern and content of the stamp. However, traditional stamping technology has a series of problems, especially the inability to effectively verify whether the stamp has been counterfeited, and thus the inability to determine the legitimacy of the document. However, the printing control machine can also be used to monitor and calibrate the image or text quality during the printing process in real time. Through high-precision scanning sensors, the printing control machine can scan key parameters such as color, alignment, pattern details, etc. of the printed product, and compare and analyze them with preset standards. Therefore, a method is needed to control the operational compliance of seals and documents through the printing control machine. Summary of the invention
[0004] The present application provides a method for controlling seals and archived documents of a printing control machine, which can control the operational compliance of seals and documents through a printing control machine.
[0005] In a first aspect of the present application, a method for controlling a seal and archived documents of a printing control machine is provided, the method comprising:
[0006] Get the file to be archived input by the target object;
[0007] Based on the scanning of the document to be archived, identifying the document seal and the document signature of the document to be archived;
[0008] Extracting the first seal information from the sidebar area of the document seal, and extracting the second seal information from the seal surface area of the document seal;
[0009] If it is determined that there is a mapping relationship between the first seal information and the second seal information, determining the user corresponding to the document seal based on the first seal information or the second seal information;
[0010] If it is determined that the user and the signer corresponding to the document signature are the same person, based on the identity information of the target object, the scanned copy of the document to be archived is stored in the archived document management area corresponding to the identity information.
[0011] Optionally, extracting the first seal information from the sidebar area of the document seal specifically includes:
[0012] extracting the sidebar region from the document stamp;
[0013] Extracting a first dark pattern from the sidebar area;
[0014] Perform feature matching on the first dark pattern to determine a pre-stored dark pattern in a preset database that is identical to the first dark pattern;
[0015] Determining the dark pattern type of the pre-stored dark pattern;
[0016] Retrieving a first dark pattern spacing corresponding to the dark pattern type;
[0017] measuring an actual dark-line spacing of the first dark lines;
[0018] Determining whether a difference between the first dark pattern spacing and the actual dark pattern spacing is less than a preset threshold;
[0019] If it is determined that the difference between the first dark pattern spacing and the actual dark pattern spacing is smaller than a preset threshold, the pre-stored dark pattern is determined to be the first seal information.
[0020] Optionally, after extracting the first dark pattern from the sidebar area, the method further includes:
[0021] Extracting a second dark pattern from the sidebar area, wherein the first dark pattern and the second dark pattern are any two dark patterns among a plurality of dark patterns set in the sidebar area;
[0022] Determine a first dark pattern type and a first dark pattern spacing of the first dark pattern, and determine a second dark pattern type and a second dark pattern spacing of the second dark pattern;
[0023] Determining whether the first dark pattern type is the same as the second dark pattern type, and whether the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold;
[0024] If it is determined that the first dark pattern type is the same as the second dark pattern type, and the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold, it is determined whether there is a pre-stored dark pattern in the preset database that is the same as the first dark pattern.
[0025] Optionally, the extracting the first seal information from the sidebar area of the document seal specifically includes:
[0026] extracting the sidebar region from the document stamp;
[0027] Extracting a first dark pattern from the sidebar area;
[0028] Determine relative position information of the first dark pattern relative to the second seal information, wherein the relative position information includes a relative distance and a relative angle;
[0029] Retrieving preset position information of a preset dark pattern corresponding to the second seal information from a preset database, wherein the preset position information includes a preset relative position and a preset relative angle of the preset dark pattern relative to the second seal information;
[0030] If it is determined that the relative distance is the same as the preset relative distance, and the relative angle is the same as the preset relative angle, then the preset dark pattern is determined to be the first seal information.
[0031] Optionally, the extracting the second seal information from the seal surface area of the document seal specifically includes:
[0032] Extracting the seal surface area from the document seal;
[0033] Extracting a preset logo area from the printed surface area, wherein the preset logo area includes a preset logo pattern;
[0034] Performing text recognition on the preset identification pattern to obtain a preset identification code;
[0035] Determining whether there is a pre-stored identification code identical to the pre-set identification code among the multiple pre-stored identification codes included in the pre-set database;
[0036] If it is determined whether there is a pre-stored identification code identical to the preset identification code among the plurality of pre-stored identification codes, the preset identification code is determined to be the second seal information.
[0037] Optionally, based on the identity information of the target object, storing the scanned copy of the file to be archived in an archive file management area corresponding to the identity information specifically includes:
[0038] Identify the file type of the file to be archived;
[0039] Determine a first file storage area corresponding to the file type;
[0040] Determining whether the first file storage area includes a file storage area corresponding to the identity information;
[0041] If it is determined that the first file storage area includes the file storage area corresponding to the identity information, then determining a second file storage area corresponding to the identity information in the first file storage area;
[0042] Determine the second file storage area as the archive file management area.
[0043] Optionally, before storing the scanned copy of the file to be archived in the archive file management area corresponding to the identity information based on the identity information of the target object, the method further includes:
[0044] Identify the file type of the file to be archived;
[0045] Determining whether the target object has the file processing authority corresponding to the file type according to the identity information;
[0046] If it is determined that the target object has the file processing authority, the storage location of the file to be archived is determined.
[0047] In a second aspect of the present application, a device for controlling seals and archived files of a printing control machine is provided, the device comprising an acquisition module, an identification module, an extraction module, a judgment module and an archive module, wherein:
[0048] The acquisition module is used to acquire the file to be archived input by the target object;
[0049] The identification module is used to identify the file seal and the file signature of the file to be archived based on scanning the file to be archived;
[0050] The extraction module is used to extract the first seal information from the sidebar area of the document seal and extract the second seal information from the seal surface area of the document seal;
[0051] The judging module is configured to determine the user corresponding to the document seal based on the first seal information or the second seal information if it is judged that there is a mapping relationship between the first seal information and the second seal information;
[0052] The archiving module is used to store the scanned copy of the to-be-archived file into the archived file management area corresponding to the identity information based on the identity information of the target object if it is determined that the user and the signer corresponding to the file signature are the same person.
[0053] Optionally, the extraction module is used to extract the sidebar area from the document seal;
[0054] The extraction module is used to extract the first dark pattern from the sidebar area;
[0055] The recognition module is used to perform feature matching on the first dark pattern to determine a pre-stored dark pattern in a preset database that is identical to the first dark pattern;
[0056] The judging module is used to determine the dark pattern type of the pre-stored dark pattern;
[0057] The acquisition module is used to retrieve a first dark pattern spacing corresponding to the dark pattern type;
[0058] The acquisition module is used to measure the actual dark fringe spacing of the first dark fringe;
[0059] The judging module is used to judge whether the difference between the first dark line spacing and the actual dark line spacing is less than a preset threshold;
[0060] The judgment module is used to determine that the pre-stored dark pattern is the first seal information if it is determined that the difference between the first dark pattern spacing and the actual dark pattern spacing is less than a preset threshold.
[0061] Optionally, the extraction module is used to extract a second dark pattern from the sidebar area, wherein the first dark pattern and the second dark pattern are any two dark patterns among a plurality of dark patterns set in the sidebar area;
[0062] The judging module is used to determine a first dark pattern type and a first dark pattern spacing of the first dark pattern, and to determine a second dark pattern type and a second dark pattern spacing of the second dark pattern;
[0063] The judging module is used to judge whether the first dark pattern type is the same as the second dark pattern type, and whether the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold;
[0064] The judgment module is used to judge whether there is a pre-stored dark pattern that is the same as the first dark pattern in the preset database if it is determined that the first dark pattern type is the same as the second dark pattern type and the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold.
[0065] Optionally, the extraction module is used to extract the sidebar area from the document seal;
[0066] The extraction module is used to extract the first dark pattern from the sidebar area;
[0067] The judgment module is used to determine the relative position information of the first dark pattern relative to the second seal information, wherein the relative position information includes a relative distance and a relative angle;
[0068] The acquisition module is used to retrieve preset position information of the preset dark pattern corresponding to the second seal information from a preset database, wherein the preset position information includes a preset relative position and a preset relative angle of the preset dark pattern relative to the second seal information;
[0069] The judgment module is used to determine that the preset dark pattern is the first seal information if it is determined that the relative distance is the same as the preset relative distance and the relative angle is the same as the preset relative angle.
[0070] Optionally, the extraction module is used to extract the seal surface area from the document seal;
[0071] The extraction module is used to extract a preset logo area from the printed surface area, wherein the preset logo area includes a preset logo pattern;
[0072] The recognition module is used to perform text recognition on the preset identification pattern to obtain a preset identification code;
[0073] The judging module is used to judge whether there is a pre-stored identification code identical to the preset identification code among the multiple pre-stored identification codes included in the preset database;
[0074] The judging module is used to determine whether there is a pre-stored identification code identical to the preset identification code among a plurality of pre-stored identification codes, and then determine that the preset identification code is the second seal information.
[0075] Optionally, the identification module is used to identify the file type of the file to be archived;
[0076] The determination module is used to determine the first file storage area corresponding to the file type;
[0077] The judging module is used to judge whether the first file storage area contains the file storage area corresponding to the identity information;
[0078] The archiving module is configured to determine, if it is determined that the first file storage area includes a file storage area corresponding to the identity information, a second file storage area corresponding to the identity information in the first file storage area;
[0079] The archive module is used to determine the second file storage area as the archive file management area.
[0080] Optionally, the identification module is used to identify the file type of the file to be archived;
[0081] The judgment module is used to determine whether the target object has the file processing authority corresponding to the file type according to the identity information;
[0082] The archiving module is used to determine the storage location of the file to be archived if it is determined that the target object has the file processing authority.
[0083] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.
[0084] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.
[0085] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0086] 1. This application can effectively verify whether the seal has been counterfeited and determine the legitimacy of the document, because it extracts and compares the unique seal information (such as dark patterns, identification codes) from the sidebar area and the seal surface area of the document seal, and verifies it through the preset seal information in the database, thereby identifying the counterfeit seal. By judging the consistency between the seal information and the identity of the signer, the authenticity of the document and the compliance of the operation are ensured. In addition, the printing control machine monitors the authenticity of the document seal and signature in real time through high-precision scanning and automated comparison, effectively preventing forgery, and can archive scans of legal documents to ensure compliance with the document's operating procedures.
[0087] 2. This application ensures the uniqueness and anti-counterfeiting of the seal by accurately extracting, matching and verifying the dark patterns in the sidebar area of the seal. By comparing the characteristics, types and spacing of the dark patterns, it is possible to effectively detect whether there is forgery. By matching with the pre-stored dark patterns in the preset database and judging the deviation between the actual dark patterns and the preset dark patterns, the authenticity of the seal information is ensured, thereby improving the security and legality verification of document stamping and preventing the seal from being counterfeited.
[0088] 3. This application extracts a preset identification pattern from the printed area of the document seal and performs text recognition, converts it into a preset identification code, and compares it with the pre-stored identification code in the database. It can accurately verify the authenticity and uniqueness of the seal printed area to ensure that the seal has not been tampered with or counterfeited. If the same pre-stored identification code is matched, the seal information is determined to be valid, thereby improving the anti-counterfeiting ability of the document seal, while simplifying the automated process of seal verification to ensure the legality and compliance of the document. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] Figure 1It is a flow chart of a method for controlling a seal and archived files of a printing control machine disclosed in an embodiment of the present application;
[0090] Figure 2 is a schematic diagram of a first seal information disclosed in an embodiment of the present application;
[0091] Figure 3 is a schematic diagram of a second seal information disclosed in an embodiment of the present application;
[0092] Figure 4 It is a module schematic diagram of a seal and archived file control device for a printing control machine disclosed in an embodiment of the present application;
[0093] Figure 5 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0094] Explanation of the accompanying drawings: 401, acquisition module; 402, identification module; 403, extraction module; 404, judgment module; 405, archiving module; 501, processor; 502, communication bus; 503, user interface; 504, network interface; 505, memory. DETAILED DESCRIPTION
[0095] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0096] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0097] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0098] Printing control machines are automated equipment widely used in the commercial and packaging industries. They have functions such as color control and layout adjustment, and use sensors to optimize printing processes and improve efficiency. Stamping is a means of confirming the legitimacy of documents and is often used in the legal, financial and administrative fields, but traditional seal technology cannot effectively prevent fraudulent use. To solve this problem, printing control machines can also monitor and calibrate printing quality in real time to achieve compliance control of seal and document operations.
[0099] This embodiment discloses a method for controlling the seal and archived files of a printing control machine, referring to Figure 1 , including the following steps S110-S150:
[0100] S110, obtaining the file to be archived input by the target object.
[0101] The embodiment of the present application discloses a method for controlling the seal and archived files of a printing control machine, which is applied to the control system of the printing control machine. The control system of the printing control machine is an automated system integrating multiple sensors, actuators and feedback mechanisms, and is dedicated to monitoring and adjusting key parameters in the printing process. The system can collect information such as the color, alignment, pressure and tension of the printed material in real time, and automatically adjust and optimize by comparing the preset standard parameters to ensure the stability and consistency of the printing quality.
[0102] When the target object needs to archive the document to be archived, it first needs to obtain verification of the document to be archived by the printing control machine. The target object inputs the document to be archived into the printing control machine. The document to be archived can be a scanned copy of a paper document or an electronic document. After scanning, the printing control machine can identify whether the seal of the document is forged, whether the user of the seal is the same person as the signer of the document, and then determine the compliance of the document to be archived.
[0103] S120, based on scanning the file to be archived, identifying the file seal and the file signature of the file to be archived.
[0104] First, the printer needs to scan the files to be archived with high precision to obtain clear electronic images to ensure that the subsequent recognition process can proceed smoothly. During the scanning process, image enhancement technology is used to improve the quality of the scanned documents, remove noise, adjust brightness and contrast, and ensure clear images.
[0105] After obtaining the electronic image of the document, the image needs to be processed and analyzed to locate the areas of the seal and signature. Use edge detection algorithms (such as Canny edge detection) to identify different areas in the document and distinguish between seals, signatures, and text areas. Seals are usually circular, square, or in a specific geometric shape. Shape detection algorithms (such as Hough circle transform or geometric template matching) can be used to quickly identify the boundaries of the seal. Signatures are generally located in specific text areas (such as the end of a file). OCR (optical character recognition) can be used to distinguish text areas from handwritten signatures. Finally, deep learning-based image segmentation algorithms (such as convolutional neural networks (CNNs)) can be used to further accurately segment the seal and signature areas, ensuring that only the target area is processed without interfering with other content.
[0106] S130, extracting the first seal information from the sidebar area of the document seal, and extracting the second seal information from the seal surface area of the document seal.
[0107] In a possible implementation, extracting the first seal information from the sidebar area of the document seal specifically includes: extracting the sidebar area from the document seal; extracting the first dark pattern area from the sidebar area, the first dark pattern area including the first dark pattern; performing feature matching on the first dark pattern to determine a pre-stored dark pattern in a preset database that is the same as the first dark pattern; determining the dark pattern type of the pre-stored dark pattern; retrieving the first dark pattern spacing corresponding to the dark pattern type; measuring the actual dark pattern spacing of the first dark pattern; determining whether the difference between the first dark pattern spacing and the actual dark pattern spacing is less than a preset threshold; if it is determined that the difference between the first dark pattern spacing and the actual dark pattern spacing is less than the preset threshold, determining that the pre-stored dark pattern is the first seal information.
[0108] Specifically, in order to carry out seal anti-counterfeiting, refer to Figure 2 By setting multiple dark lines that are difficult to distinguish with the naked eye in the seal sidebar area, it can correspond to different users, for example, different numbers of dark lines with different spacings can be used to distinguish different seals. The shape of the dark lines can be straight lines, dotted lines or folds, or various plane shapes, or text symbols. When a seal is set with multiple dark lines, the spacing between the dark lines can be the same or different, and the number of dark lines can also be freely set.
[0109] After acquiring the document scanned image, you first need to locate the document seal and extract its sidebar area. Convert the seal image to a grayscale image to reduce the complexity of processing. Use an adaptive threshold algorithm (such as the Otsu algorithm) to convert the grayscale image into a black and white binary image to highlight the outline and content of the document seal. Also use an edge detection algorithm (such as Canny edge detection) to identify the outline of the document seal. The sidebars of most seals have specific geometric shapes (such as circles and squares). Shape detection algorithms (such as Hough circle transform and Hough line transform) can be used to determine the outer edges of the seal and extract the sidebar area. Use a deep learning-based image segmentation algorithm (such as a convolutional neural network CNN) to accurately extract the sidebar area of the seal. You can use a pre-trained model, or customize the model based on the shape of common seals to ensure that only the sidebar part of the target is extracted.
[0110] After extracting the border area of the document seal, the next step is to identify and extract the dark patterns in the area, and apply filtering technology (such as Gaussian filtering or median filtering) to remove noise and make the dark patterns more obvious. Use an algorithm based on texture analysis (such as Gabor filter or local binary pattern LBP) to detect and extract the texture features of the dark pattern area. By adjusting the image contrast, the difference between the dark pattern and the surrounding background is improved, making the dark pattern area more obvious. Based on the extracted texture features, a clustering algorithm (such as K-Means clustering or superpixel segmentation) is applied to divide the seal border area, and the part containing the dark pattern is identified as the first dark pattern area.
[0111] Once the first dark pattern area is extracted from the sidebar area, the next step is to perform feature matching on the dark pattern with the pre-stored dark patterns in the database. Specifically, edge detection is performed on the dark pattern area again to identify the shape, outline and internal details of the dark pattern, and a feature point detection algorithm (such as SIFT or SURF) is used to extract the key feature points in the dark pattern. The extracted dark pattern features are matched with the dark pattern features in the preset database. The database should store dark pattern features of different pre-stored seals. These pre-stored seals are seals that have been registered by a unit or company, and each pre-stored seal corresponds to a different user. Use algorithms such as Euclidean distance and cosine similarity to measure the similarity between the extracted dark pattern features and the pre-stored dark patterns in the database, and select the features that are closest to the dark patterns.
[0112] After finding the pre-stored dark pattern matching the first dark pattern feature in the database, the type of the dark pattern will be identified, and the next step is to retrieve the spacing parameters associated with the dark pattern type. Based on the features of the pre-stored dark pattern, the category of the dark pattern is automatically identified, such as the unit name, number, anti-counterfeiting mark, etc. The dark pattern type is usually associated with a specific pattern and structure, so each type of dark pattern has a unique feature set. Each dark pattern type is usually related to specific geometric parameters, and the spacing of the dark pattern is one of the key parameters. By looking up the record of the dark pattern type in the database, the pre-stored standard dark pattern spacing is retrieved.
[0113] Next, it is necessary to measure the actual dark pattern spacing of the first dark pattern extracted from the document seal, and use the image measurement algorithm to calculate the spacing of the dark patterns. Specifically, the edges or lines between the dark patterns can be detected, and the adjacent spacing of the dark patterns can be calculated using a geometric measurement formula. The physical distance between the dark patterns is accurately measured using a feature point positioning algorithm (such as Hough transform or feature point distance calculation). Then, the pre-stored dark pattern spacing is compared with the measured actual dark pattern spacing to determine the difference between the two. The preset threshold can be configured according to actual needs. For example, the allowable error range of the dark pattern spacing may be several pixels. If the difference is less than the preset threshold, it is determined that the actual dark pattern spacing is consistent with the pre-stored dark pattern spacing, indicating that the dark pattern matching is successful. If it is determined that the difference in the dark pattern spacing is within an acceptable range, it is determined that the pre-stored dark pattern matches the extracted dark pattern, and the pre-stored dark pattern is regarded as the first seal information.
[0114] In a possible implementation, after extracting the first dark pattern from the sidebar area, the method further includes: extracting the second dark pattern from the sidebar area; determining a first dark pattern type and a first dark pattern spacing of the first dark pattern, and determining a second dark pattern type and a second dark pattern spacing of the second dark pattern; determining whether the first dark pattern type is the same as the second dark pattern type, and whether the difference between the first dark pattern spacing and the second dark pattern spacing is less than a preset threshold; if it is determined that the first dark pattern type is the same as the second dark pattern type, and the difference between the first dark pattern spacing and the second dark pattern spacing is less than a preset threshold, determining whether there is a pre-stored dark pattern in the preset database that is the same as the first dark pattern.
[0115] Specifically, due to the operation of the seal user, the dark patterns on the document may not be displayed, and thus cannot be recognized by the printing control machine. Therefore, by setting multiple identical dark patterns, the recognition accuracy is improved. First, when extracting multiple dark patterns in the seal sidebar area, take any two of the multiple dark patterns as an example. The first dark pattern and the second dark pattern need to be extracted in sequence. The first and second dark patterns can be located respectively through the detected dark pattern area. Each dark pattern can be individually identified by its relative position or structural features, and each dark pattern is cropped, and its coordinates or relative position are saved for subsequent feature extraction and comparison.
[0116] Next, it is necessary to determine the type and geometric spacing of each extracted dark pattern, perform feature extraction on the image of the dark pattern, and use a feature point detection algorithm (such as SIFT, SURF, or ORB) to identify the key feature points in the dark pattern. Match the extracted features with the preset feature database, and determine the types of the first and second dark patterns (such as different unit logos, numbering types, or anti-counterfeiting features, etc.) through patterns, structures, or other feature information. Use a geometry-based image measurement algorithm to calculate the actual spacing of the dark pattern interior or adjacent structures by analyzing the feature points or lines in the dark pattern. The measurement can be converted into physical units (such as millimeters) through pixel distance. Measure the geometric spacing of the first and second dark patterns separately, record the feature distance of each dark pattern, and store it for subsequent comparison.
[0117] After obtaining the type and spacing of the first dark pattern and the second dark pattern, it is necessary to compare them to determine whether the type and spacing of the two meet the preset conditions, and compare the types of the first dark pattern and the second dark pattern to determine whether they are of the same type, for example, whether they are both of the broken line type. Compare the difference between the first dark pattern spacing and the second dark pattern spacing, and use the absolute value difference formula to calculate the difference in spacing between the two. If the difference is less than the preset threshold range, the dark pattern spacing is considered to be consistent, which indicates that the geometric features of the two dark patterns are consistent within a reasonable range. If it is determined that the first dark pattern type is the same as the second dark pattern type, and the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold, it is determined whether there is a pre-stored dark pattern in the preset database that is the same as the first dark pattern.
[0118] In one possible implementation, extracting the second seal information from the seal surface area of the document seal specifically includes: extracting the seal surface area from the document seal; extracting a preset identification area from the seal surface area, the preset identification area including a preset identification pattern; performing text recognition on the preset identification pattern to obtain a preset identification code; determining whether there is a pre-stored identification code identical to the preset identification among multiple pre-stored identification codes contained in a preset database; if it is determined whether there is a pre-stored identification code identical to the preset identification among multiple pre-stored identification codes, then determining that the preset identification code is the second seal information.
[0119] Specifically, in order to further prevent the seal from counterfeiting, refer to Figure 3 By setting an identification code in the printing area, each seal has a unique registered identification code, thereby preventing outsiders from forging the seal. The anti-counterfeiting code can be a pure digital combination, a pure letter combination, or an alphanumeric combination. And the identification code is bound to the user of the seal, one user corresponds to one seal and one identification code.
[0120] Use image segmentation technology (such as GrabCut or K-Means clustering) to segment the seal surface area and separate the area containing the logo pattern from other areas. Extract the preset logo area from the seal surface area, which usually contains the name of the unit, organization, individual or other patterns and text with identification function. According to the design rules or structural characteristics of the seal (for example, the unit name or number is usually located at a specific position on the seal surface), locate the logo area through a preset template or machine learning model. If the logo area is not fixed, feature extraction algorithms (such as Harris corner detection, SURF or SIFT) can be used to identify possible text or logo locations. After determining the location of the logo area, crop the area and extract the area containing the logo pattern as input for further processing.
[0121] The pattern in the logo area usually contains recognizable text or symbols, which constitute the preset identification code. Next, optical character recognition (OCR) technology is used to extract the text in the logo pattern. The image of the logo area is further processed, including denoising, sharpening, adjusting contrast, etc., to make the text part clearer. The optical character recognition algorithm is used to recognize the text information in the image. The recognized text is the preset identification code. The extracted text data is saved as the preset identification code for subsequent database matching.
[0122] Once the preset identification code is extracted, it will be matched with multiple pre-stored identification codes in the database to verify the legitimacy and authenticity of the seal. The database stores the pre-stored identification code information of various seal users, and each identification code corresponds to the seal of a specific unit, organization or individual. A string comparison algorithm is used to match the extracted preset identification code with the pre-stored identification code in the database. When the preset identification code matches the pre-stored identification code in the database, the identification code is confirmed to be valid and used as the second seal information.
[0123] In a possible implementation, extracting the first seal information from the sidebar area of the document seal specifically also includes: extracting the sidebar area from the document seal; extracting the first dark pattern from the sidebar area; determining the relative position information of the first dark pattern relative to the second seal information, the relative position information including the relative distance and the relative angle; retrieving the preset position information of the preset dark pattern corresponding to the second seal information in a preset database, the preset position information including the preset relative position and the preset relative angle of the preset dark pattern relative to the second seal information; if it is determined that the relative distance is the same as the preset relative distance, and the relative angle is the same as the preset relative angle, then the preset dark pattern is determined to be the first seal information.
[0124] Specifically, the combination of the first seal information (dark pattern) and the second seal information (identification code) can be used for further seal anti-counterfeiting, that is, in different document seals, the first seal information and the second seal information are set at different relative positions, and the two have different relative directions and relative distances. When registering a seal, this position information is stored in a preset database.
[0125] Once the edge of the seal is located, the border area of the seal is extracted through image processing algorithms (such as morphological operations). This area is usually a circle around the seal, which is used to place anti-counterfeiting dark patterns. After extracting the border area, the next step is to extract the dark pattern. Through high-precision image processing algorithms (such as texture analysis or pattern matching), the dark pattern area in the border is identified. Use specific image segmentation methods (such as threshold segmentation or morphological analysis) to extract the specific shape and characteristic pattern of the dark pattern.
[0126] After extracting the first dark pattern, it is necessary to determine its relative position information relative to the second seal information. The distance between the center position of the first dark pattern and the center position of the identification code area is calculated through a geometric algorithm. The relative angle between the first dark pattern and the second seal information is calculated, usually using the angle representation in the polar coordinate system. The relative angle can be obtained by the angle calculation formula between two points. The relative position information between the dark pattern and the printing surface area of each seal will be pre-stored in the database. Therefore, the next step is to retrieve the preset position information associated with the second seal information (i.e., the identification information of the printing surface area) from the database. By querying the database, the preset dark pattern corresponding to the seal and the pre-stored relative distance and relative angle information of the dark pattern relative to the printing surface area are obtained. This information usually includes a preset relative distance (the distance from the center of the printing surface to the center of the dark pattern) and a relative angle (the azimuth angle from the center of the printing surface to the dark pattern), i.e., the geometric feature information of the seal.
[0127] Compare the relative distance of the extracted first dark pattern with the preset relative distance in the database. If the difference is within the preset tolerance range, it is determined to be a distance match. Similarly, compare the actual relative angle with the preset relative angle. If the angle difference between the two is within the preset range (for example, ±1°), the angle is considered to match. If the distance and angle in the previous step are within the allowable error range, it can be determined that the extracted dark pattern is the same as the preset dark pattern information in the database. At this time, it can be determined that the dark pattern is legal, and the first seal information corresponding to the dark pattern has been verified. In addition, after multiple verifications, the user of the seal and the legitimacy of the seal can be further confirmed, thereby completing the entire document seal authentication process.
[0128] S130: If it is determined that there is a mapping relationship between the first seal information and the second seal information, the user corresponding to the document seal is determined based on the first seal information or the second seal information.
[0129] The determination of the mapping relationship is used to further prevent the seal from counterfeiting. For a user's seal, there is usually only one dark pattern design (first seal information) and only one identification code (second seal information), and there is a mapping relationship between the two in the preset database. By establishing a database containing the first seal information and the second seal information, the database records the relevant information of the users, units, and departments of different seals. In the database, for each seal, there will be a corresponding record, including the first dark pattern information and the second seal identification information associated with it. This information may have been verified through filing or registration.
[0130] Once the mapping relationship is established, the user of the seal can be determined by querying the user information related to the seal in the database. This user can be a unit, organization or individual, depending on the registration record of the seal. Each seal has a unique identifier (such as number, dark pattern, pattern, etc.) in the database, which is associated with the user's identity information (such as name, organization number, certificate number, etc.).
[0131] S140: If it is determined that the user and the signer corresponding to the file signature are the same person, based on the identity information of the target object, the scanned copy of the file to be archived is stored in the archive file management area corresponding to the identity information.
[0132] The signature is usually located at the end of the file or a specific position. The signature information is extracted using OCR or handwriting recognition technology. If the signature is an electronic signature or a clear handwriting, the signature text can be extracted using OCR technology. OCR can recognize most standard fonts and handwritings and output the corresponding signature text. For handwritten signatures, a special handwriting recognition algorithm can be used to analyze the stroke features, writing style, etc. of the signature to extract the unique signature features. The handwriting recognition system based on machine learning can match in the signature database to confirm the identity of the signer. After extracting the key information of the seal and signature, the system needs to map and verify this information with the preset database. If the user of the file seal is determined by the first seal information or the second seal information, and it is determined that the user and the signer of the file are the same person, the verification of the seal and the file to be archived is passed, and the file to be archived can be archived.
[0133] In a possible implementation, before storing a scanned copy of the file to be archived in an archive file management area corresponding to the identity information based on the identity information of the target object, the method also includes: identifying the file type of the file to be archived; determining whether the target object has the file processing authority corresponding to the file type based on the identity information; if it is determined that the target object has the file processing authority, determining the storage location of the file to be archived.
[0134] Specifically, in different scenarios, such as corporate units, different types of files have different processing permissions. For example, contract files may need to be processed by personnel above the supervisor level. Therefore, by verifying the permission relationship between the file type and the target object, it is ensured that only users with permission can process and archive specific types of files.
[0135] In some scenarios, it is necessary to analyze the file content to determine the file type. For example, some PDF files may have the same format, but their content may represent different legal documents or financial statements. The content of the file can be classified through natural language processing (NLP) technology. The file content can be analyzed and the file category can be determined through pre-set keywords or thesaurus (such as "contract", "financial report", "policy document", etc.). It is also possible to use a classification model trained by machine learning to determine the category to which the file content belongs. This is suitable for large-scale processing of a large number of different types of file content.
[0136] After the file type is identified, it is necessary to verify whether the user has the permission to process the file type based on the user's identity information. First, obtain the identity information of the target object, including its identity (such as user name, user ID) and its role (such as employee, manager, administrator, etc.). By querying the permission table in the permission management, determine whether the target object has the permission to operate the file of this type. Permission verification usually adopts a mechanism based on role-based access control (RBAC) or attribute-based access control (ABAC). : Each user is granted different permissions according to his or her role. For example, a financial manager can process financial report files, and a legal advisor can process contract files. Permissions are determined based on multiple attributes of users, resources, and environments. For example, it is necessary not only to determine the user's role, but also to combine attributes such as time and location to confirm whether file processing is allowed. When performing permission verification, by querying the preset permission database or access control list, confirm whether the current user has the processing permission for the corresponding file type. If the permission match is successful, the operation is allowed to continue; if the permission does not match, a prompt of insufficient permission will be given and the operation will be blocked.
[0137] In a possible implementation, based on the identity information of the target object, a scanned copy of the file to be archived is stored in an archived file management area corresponding to the identity information, specifically including: identifying the file type of the file to be archived; determining a first file storage area corresponding to the file type; judging whether the first file storage area includes a file storage area corresponding to the identity information; if it is determined that the first file storage area includes a file storage area corresponding to the identity information, determining a second file storage area corresponding to the identity information in the first file storage area; and determining the second file storage area as an archived file management area.
[0138] Specifically, once the file type is determined, the file needs to be stored in the corresponding storage area. For this purpose, there are preset storage areas corresponding to different types of files (such as financial documents, legal documents, contract documents, etc.). There will be a storage area mapping table to map different types of files to specific storage areas. In this way, when the file type is identified, the corresponding storage area will be automatically obtained from the mapping table. If different users or departments have independent storage paths for files of the same type, the storage path can be dynamically generated based on identity information. For example, for financial reports, the storage path for the financial manager may be / archive / finance / reports / manager / , while the path for the financial assistant may be / archive / finance / reports / assistant / .
[0139] It is necessary to further determine whether the file storage area matches the user's identity information to ensure the security and compliance of the file. Obtain the identity information of the target object, including its identity (such as user ID, role or department, etc.), which can be used to limit the user's access and operation permissions to the file. Check whether the user identity has storage permissions for the file type and ensure that the file storage area corresponding to its identity is located in the storage area of the file type. The usual implementation method is to use the role-based access control (RBAC) mechanism to confirm the access permissions of different roles to specific file areas. For example, the financial manager can only access certain specific subdirectories of financial files, while the contract administrator can only access contract-related storage areas. If the permission level of the user identity covers the storage area corresponding to the file type, it is allowed to continue the operation. Otherwise, it will prompt that the permission is insufficient and terminate the archiving process.
[0140] If it is confirmed that the user's identity information matches the file storage area, the specific storage sub-area (i.e., the second file storage area) will be further determined. File storage is usually hierarchical. The first layer (the first file storage area) is divided based on file type, for example, all financial files will be stored in the / archive / finance / directory. The second layer (the second file storage area) is further subdivided based on user identity information or department. The storage path can be dynamically generated based on the user's role and identity information (such as department, position). In this way, it can be ensured that users with different identities store files in their corresponding permission areas. After confirming that the user has file storage permissions, the specific area where the file should be stored will be finally determined, i.e., the second file storage area. Based on the previous judgment and user identity, a specific storage path will be generated, and it will be ensured that the path is unique within the file storage area.
[0141] This embodiment also discloses a seal and archive file control device for a printing control machine, referring to Figure 4 The device includes an acquisition module 401, an identification module 402, an extraction module 403, a judgment module 404 and an archiving module 405, wherein:
[0142] The acquisition module 401 is used to acquire the file to be archived input by the target object.
[0143] The identification module 402 is used to identify the file seal and the file signature of the file to be archived based on the scanning of the file to be archived.
[0144] The extraction module 403 is used to extract the first seal information from the sidebar area of the document seal and extract the second seal information from the seal surface area of the document seal.
[0145] The judgment module 404 is used to determine the user corresponding to the document seal based on the first seal information or the second seal information if it is determined that there is a mapping relationship between the first seal information and the second seal information.
[0146] The archiving module 405 is used to store the scanned copy of the file to be archived into the archive file management area corresponding to the identity information based on the identity information of the target object if it is determined that the user and the signer corresponding to the file signature are the same person.
[0147] In a possible implementation, the extraction module 403 is configured to extract the sidebar area from the document stamp.
[0148] The extraction module 403 is used to extract the first dark pattern from the sidebar area.
[0149] The identification module 402 is used to perform feature matching on the first dark pattern and determine a pre-stored dark pattern in a preset database that is the same as the first dark pattern.
[0150] The judgment module 404 is used to determine the type of the pre-stored dark pattern.
[0151] The acquisition module 401 is used to retrieve a first dark pattern spacing corresponding to a dark pattern type.
[0152] The acquisition module 401 is used to measure the actual dark fringe distance of the first dark fringe.
[0153] The judgment module 404 is used to judge whether the difference between the first dark line spacing and the actual dark line spacing is less than a preset threshold.
[0154] The judgment module 404 is used to determine that the pre-stored dark pattern is the first seal information if the difference between the first dark pattern spacing and the actual dark pattern spacing is less than a preset threshold.
[0155] In a possible implementation, the extraction module 403 is configured to extract the second dark pattern from the sidebar region, and the first dark pattern and the second dark pattern are any two dark patterns among a plurality of dark patterns set in the sidebar region.
[0156] The determination module 404 is configured to determine a first dark pattern type and a first dark pattern spacing of the first dark pattern, and determine a second dark pattern type and a second dark pattern spacing of the second dark pattern.
[0157] The judgment module 404 is used to judge whether the first dark pattern type is the same as the second dark pattern type, and whether the difference between the first dark pattern spacing and the second dark pattern spacing is less than a preset threshold.
[0158] The judgment module 404 is used to judge whether there is a pre-stored dark pattern in the preset database that is the same as the first dark pattern if it is determined that the first dark pattern type is the same as the second dark pattern type and the difference between the first dark pattern spacing and the second dark pattern spacing is less than a preset threshold.
[0159] In a possible implementation, the extraction module 403 is configured to extract the sidebar area from the document stamp.
[0160] The extraction module 403 is used to extract the first dark pattern from the sidebar area.
[0161] The judgment module 404 is used to determine the relative position information of the first dark pattern relative to the second seal information, and the relative position information includes a relative distance and a relative angle.
[0162] The acquisition module 401 is used to retrieve the preset position information of the preset dark pattern corresponding to the second seal information from the preset database, wherein the preset position information includes the preset relative position and preset relative angle of the preset dark pattern relative to the second seal information.
[0163] The judgment module 404 is used to determine that the preset dark pattern is the first seal information if the relative distance is determined to be the same as the preset relative distance and the relative angle is the same as the preset relative angle.
[0164] In a possible implementation, the extraction module 403 is used to extract the seal surface area from the document seal.
[0165] The extraction module 403 is used to extract a preset logo area from the printed surface area, where the preset logo area includes a preset logo pattern.
[0166] The recognition module 402 is used to perform text recognition on the preset identification pattern to obtain a preset identification code.
[0167] The determination module 404 is used to determine whether there is a pre-stored identification code identical to the preset identification code among the multiple pre-stored identification codes included in the preset database.
[0168] The judgment module 404 is used to determine whether there is a pre-stored identification code identical to the preset identification code among the multiple pre-stored identification codes, and then determine the preset identification code as the second seal information.
[0169] In a possible implementation, the identification module 402 is used to identify the file type of the file to be archived.
[0170] The determination module 404 is used to determine the first file storage area corresponding to the file type.
[0171] The determination module 404 is used to determine whether the first file storage area includes a file storage area corresponding to the identity information.
[0172] The archiving module 405 is configured to determine a second file storage area corresponding to the identity information in the first file storage area if it is determined that the first file storage area includes a file storage area corresponding to the identity information.
[0173] The archiving module 405 is used to determine that the second file storage area is an archive file management area.
[0174] In a possible implementation, the identification module 402 is used to identify the file type of the file to be archived.
[0175] The judgment module 404 is used to determine whether the target object has the file processing authority corresponding to the file type according to the identity information.
[0176] The archiving module 405 is used to determine the storage location of the file to be archived if it is determined that the target object has the file processing authority.
[0177] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0178] This embodiment also discloses an electronic device, referring to Figure 5 The electronic device may include: at least one processor 501 , at least one communication bus 502 , a user interface 503 , a network interface 504 , and at least one memory 505 .
[0179] The communication bus 502 is used to realize the connection and communication between these components.
[0180] The user interface 503 may include a display screen (Display) and a camera (Camera), and the optional user interface 503 may also include a standard wired interface and a wireless interface.
[0181] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0182] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 501 can integrate one or more combinations of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.
[0183] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) or a read-only memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be at least one storage device located away from the aforementioned processor 501. The memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface 503 module, and an application program for a method for controlling a seal and archived files of a printing control machine.
[0184] exist Figure 5 In the electronic device shown, the user interface 503 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 501 can be used to call an application program stored in the memory 505 for a method for managing and controlling a printing control machine seal and archived files. When executed by one or more processors 501, the electronic device executes one or more methods in the above-mentioned embodiments.
[0185] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0186] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0187] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0188] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0189] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0190] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 505 and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory 505 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0191] The present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores instructions. When executed by one or more processors 501, the electronic device executes one or more of the methods described in the above embodiments.
[0192] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for controlling seals and archived documents of a printing control machine, characterized in that: The method comprises: Get the file to be archived input by the target object; Based on the scanning of the document to be archived, identifying the document seal and the document signature of the document to be archived; Extracting the first seal information from the sidebar area of the document seal, and extracting the second seal information from the seal surface area of the document seal; If it is determined that there is a mapping relationship between the first seal information and the second seal information, determining the user corresponding to the document seal based on the first seal information or the second seal information; If it is determined that the user and the signer corresponding to the document signature are the same person, based on the identity information of the target object, the scanned copy of the document to be archived is stored in the archived document management area corresponding to the identity information.
2. A method for controlling seals and archived documents of a printing control machine according to claim 1, characterized in that: The extracting the first seal information from the sidebar area of the document seal specifically includes: extracting the sidebar region from the document stamp; Extracting a first dark pattern from the sidebar area; Perform feature matching on the first dark pattern to determine a pre-stored dark pattern in a preset database that is identical to the first dark pattern; Determining the dark pattern type of the pre-stored dark pattern; Retrieving a first dark pattern spacing corresponding to the dark pattern type; measuring an actual dark-line spacing of the first dark lines; Determining whether a difference between the first dark pattern spacing and the actual dark pattern spacing is less than a preset threshold; If it is determined that the difference between the first dark pattern spacing and the actual dark pattern spacing is smaller than a preset threshold, the pre-stored dark pattern is determined to be the first seal information.
3. A method for controlling seals and archived documents of a printing control machine according to claim 2, characterized in that: After extracting the first dark pattern from the sidebar area, the method further includes: Extracting a second dark pattern from the sidebar area, wherein the first dark pattern and the second dark pattern are any two dark patterns among a plurality of dark patterns set in the sidebar area; Determine a first dark pattern type and a first dark pattern spacing of the first dark pattern, and determine a second dark pattern type and a second dark pattern spacing of the second dark pattern; Determine whether the first dark pattern type is the same as the second dark pattern type, and whether the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold; If it is determined that the first dark pattern type is the same as the second dark pattern type, and the difference between the first dark pattern spacing and the second dark pattern spacing is less than the preset threshold, it is determined whether there is a pre-stored dark pattern in the preset database that is the same as the first dark pattern.
4. A method for controlling seals and archived documents of a printing control machine according to claim 1, characterized in that: The extracting the first seal information from the sidebar area of the document seal specifically includes: extracting the sidebar region from the document stamp; Extracting a first dark pattern from the sidebar area; Determine relative position information of the first dark pattern relative to the second seal information, wherein the relative position information includes a relative distance and a relative angle; Retrieving preset position information of a preset dark pattern corresponding to the second seal information from a preset database, wherein the preset position information includes a preset relative position and a preset relative angle of the preset dark pattern relative to the second seal information; If it is determined that the relative distance is the same as the preset relative distance, and the relative angle is the same as the preset relative angle, then the preset dark pattern is determined to be the first seal information.
5. A method for controlling seals and archived documents of a printing control machine according to claim 1, characterized in that: The extracting the second seal information from the seal surface area of the document seal specifically includes: Extracting the seal surface area from the document seal; Extracting a preset logo area from the printed surface area, wherein the preset logo area includes a preset logo pattern; Performing text recognition on the preset identification pattern to obtain a preset identification code; Determining whether there is a pre-stored identification code identical to the pre-set identification code among the multiple pre-stored identification codes included in the pre-set database; If it is determined whether there is a pre-stored identification code identical to the preset identification code among the plurality of pre-stored identification codes, the preset identification code is determined to be the second seal information.
6. A method for controlling seals and archived documents of a printing control machine according to claim 1, characterized in that: Based on the identity information of the target object, storing the scanned copy of the to-be-archived file in the archived file management area corresponding to the identity information specifically includes: Identify the file type of the file to be archived; Determine a first file storage area corresponding to the file type; Determining whether the first file storage area includes a file storage area corresponding to the identity information; If it is determined that the first file storage area includes the file storage area corresponding to the identity information, then determining a second file storage area corresponding to the identity information in the first file storage area; Determine the second file storage area as the archive file management area.
7. A method for controlling seals and archived documents of a printing control machine according to claim 1, characterized in that: Before storing the scanned copy of the to-be-archived file in the archived file management area corresponding to the identity information based on the identity information of the target object, the method further includes: Identify the file type of the file to be archived; Determining whether the target object has the file processing authority corresponding to the file type according to the identity information; If it is determined that the target object has the file processing authority, the storage location of the file to be archived is determined.
8. A seal and archived document control device for a printing control machine, characterized in that: The device comprises an acquisition module (401), an identification module (402), an extraction module (403), a judgment module (404) and an archiving module (405), wherein: The acquisition module (401) is used to acquire the file to be archived input by the target object; The identification module (402) is used to identify the file seal and the file signature in the file to be archived based on scanning the file to be archived; The extraction module (403) is used to extract the first seal information from the sidebar area of the document seal and extract the second seal information from the seal surface area of the document seal; The judging module (404) is used to determine the user corresponding to the document seal based on the first seal information or the second seal information if it is judged that there is a mapping relationship between the first seal information and the second seal information; The archiving module (405) is used to store the scanned copy of the to-be-archived file in the archived file management area corresponding to the identity information based on the identity information of the target object if it is determined that the user and the signer corresponding to the file signature are the same person.
9. An electronic device, characterized in that: The electronic device comprises a processor (501), a communication bus (502), a memory (505), a user interface (503), a network interface (504) and a memory (505), wherein the memory (505) is used to store instructions, the user interface (503) and the network interface (504) are both used to communicate with other devices, and the processor (501) is used to execute the instructions stored in the memory (505) so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Seal control instrument management and control method, storage medium and computer equipment
CN115273119A
Seal using control method and device and computer readable storage medium
CN118484785A
Information processing apparatus, information processing method, program, and secure element
JP2020052682A
System and method to determine the authenticity of a seal
US20220319210A1
Portable electronic device of stamp autograph encoded and unanbiguous association in archiving
WO2014122681A2