An intelligent stamping method, device, system, apparatus and storage medium

By using optical detection to identify blank areas on documents to be stamped, the problem of counter-department stamp machines being unable to intelligently identify blank areas has been solved, enabling accurate stamping and improving the document viewing experience.

CN116452665BActive Publication Date: 2026-05-08INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2023-04-19
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing counter-based printing machines cannot intelligently identify suitable blank areas in documents to be stamped, resulting in the stamp overlapping with the original content and reducing the user's viewing experience.

Method used

The document to be stamped is scanned by a light-receiving element within the optical detection range, the light intensity value is identified, the appropriate stamping area is determined, and the stamp is placed on the blank area.

Benefits of technology

Reduce or avoid overlap between the stamp and the original content to improve the user's document viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116452665B_ABST
    Figure CN116452665B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of artificial intelligence, and particularly relates to an intelligent stamping method, device, system, equipment and storage medium. The method comprises the following steps: determining an optical detection range corresponding to the size of a stamp, and the optical detection range comprises a plurality of light receiving elements; scanning each region of a to-be-stamped document located below the light receiving elements by using all the light receiving elements in the optical detection range to obtain light quantity values of the regions; in the case that the light quantity values meet the light quantity reference value requirements of the to-be-stamped document, the regions are regarded as stamping regions; and the stamp is stamped in the stamping regions. Through the method, the regions suitable for stamping on the to-be-stamped document are identified by using optical detection, compared with the traditional method of stamping at a fixed position, the method can reduce or avoid the overlap of the stamp and the original content on the paper, and improve the user experience of document reading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This article relates to the field of artificial intelligence technology, and in particular to an intelligent stamping method, device, system, equipment and storage medium. Background Technology

[0002] Countertop stamping machines are used to stamp stacks of paper. Existing countertop stamping machines, due to the fixed positions of the paper tray and stamping lever, can only stamp documents placed in the tray at fixed locations. When a large amount of content is already printed at the fixed stamping location, the existing countertop stamping machine cannot intelligently identify suitable blank areas in the document like a human can. Therefore, after stamping, the stamp on the paper overlaps with the original content, reducing the user's document viewing experience.

[0003] There is an urgent need for an intelligent stamping method to solve the problem that existing counter-based stamping machines cannot intelligently identify suitable blank areas in documents to be stamped. This results in overlap between the stamp and the original content when there is already a lot of content at the fixed stamping position on the document, which reduces the user's document viewing experience. Summary of the Invention

[0004] To address the problems in the prior art, embodiments of this specification provide an intelligent stamping method, apparatus, system, device, and storage medium, which realizes the identification of blank areas of documents to be stamped and stamps the blank areas.

[0005] To solve any of the above-mentioned technical problems, the specific technical solution presented in this paper is as follows:

[0006] On the one hand, the embodiments of this specification provide an intelligent stamping method, including,

[0007] Determine the optical detection range corresponding to the size of the seal, wherein the optical detection range includes multiple light-receiving elements;

[0008] The light intensity value of each area of ​​the document to be stamped is obtained by scanning each area located below the light receiving element using all light receiving elements within the optical detection range.

[0009] If the light intensity value meets the light intensity reference value requirement of the document to be stamped, the area shall be used as the stamping area.

[0010] The seal is affixed to the area to be stamped.

[0011] Furthermore, multiple light-receiving elements are arranged at uniform intervals within the optical detection range.

[0012] Furthermore, determining the optical detection range corresponding to the size of the seal further includes:

[0013] On a light intensity detection component comprising multiple light-receiving elements arranged at uniform intervals, the number of light-receiving elements corresponding to the size of the stamp is determined according to the size of the stamp and the interval of the light-receiving elements, and the light intensity detection component is located above the stamping surface of the document to be stamped;

[0014] The area containing the number of light-receiving elements evenly spaced on the detection component is defined as the optical detection range.

[0015] Furthermore, the detection area composed of all the light-receiving elements on the light quantity detection component is greater than or equal to the area of ​​the document to be stamped;

[0016] Scanning each area of ​​the document to be stamped using all light-receiving elements within the optical detection range further includes:

[0017] The optical detection range is moved in the horizontal or vertical direction of the document to be stamped, with the interval between two adjacent light-receiving elements as the step size, to scan each area of ​​the document to be stamped.

[0018] Furthermore, calculating the light intensity value corresponding to the optical detection range further includes:

[0019] The light intensity value is calculated based on the values ​​of each light-receiving element.

[0020] Furthermore, calculating the light intensity value based on the values ​​of each light-receiving element further includes:

[0021] Calculate the average value of each light-receiving element, and use the average value as the light intensity value.

[0022] Further, the step of calculating the light intensity reference value includes:

[0023] The area of ​​the document to be stamped that does not contain any printed content is scanned using all light-receiving elements within the optical detection range, and the light intensity value of that area is obtained.

[0024] The light intensity value of this region is used as the light intensity reference value.

[0025] Furthermore, in the process of scanning each area of ​​the document to be stamped using all light-receiving elements within the optical detection range to obtain the light intensity value corresponding to each area, the method further includes:

[0026] Determine whether the light intensity value of the currently scanned area is greater than or equal to the light intensity reference value;

[0027] If so, the currently scanned area will be used as the stamping area, scanning of other areas will be stopped, and the stamp will be placed in the stamping area.

[0028] If not, continue scanning other areas of the document to be stamped;

[0029] If the light intensity value of each area of ​​the document to be stamped is less than the light intensity reference value, then the area corresponding to the maximum light intensity value shall be the stamping area.

[0030] Furthermore, the method also includes:

[0031] The predetermined preferred stamping area of ​​the document to be stamped is first scanned using all light-receiving elements within the optical detection range to obtain the light intensity value corresponding to the predetermined preferred stamping area.

[0032] If the light intensity value corresponding to the predetermined preferred stamping area is greater than or equal to the light intensity reference value, then the predetermined preferred stamping area is taken as the stamping area, scanning of other areas is stopped, and the stamp is placed in the stamping area.

[0033] Furthermore, the documents to be stamped include multiple documents of the same size;

[0034] The method further includes:

[0035] Calculate the ratio of the horizontal dimension of the seal to the number of documents to be stamped, and use the ratio as the stamping width for each document to be stamped;

[0036] The documents to be stamped are stacked horizontally according to the stamping width. For two adjacent documents to be stamped, the distance between the side of the upper document to be stamped and the side of the lower document to be stamped in the same direction is the stamping width.

[0037] The side of the bottommost document to be stamped in the stacked arrangement is taken as the first boundary; one side of the optical detection range is adjacent to the first boundary and the optical detection range can cover all documents to be stamped; all light-receiving elements within the optical detection range are used to scan along the longitudinal direction of the documents to be stamped to obtain the light intensity value of each region.

[0038] If the light intensity value meets the light intensity reference value requirement of the document to be stamped, the area shall be used as the stamping area.

[0039] The seal is affixed to the area to be stamped.

[0040] Furthermore, affixing the seal to the stamping area further includes:

[0041] Control the movement of the stamp rod located above the document to be stamped until the projection area of ​​the stamp connected to one end of the stamp rod on the document to be stamped is located within the stamping area;

[0042] Control the stamp to affix a seal to the document to be stamped.

[0043] Furthermore, the step of controlling the movement of the stamp rod includes:

[0044] On a plane parallel to the plane of the document to be stamped, rotate the stamp rod with the end of the stamp rod furthest from the stamp as the origin, and adjust the extension and retraction length of the stamp rod until the projection area of ​​the stamp on the document to be stamped is located in the stamping area.

[0045] On the other hand, embodiments of this specification also provide an intelligent stamping device, the device comprising:

[0046] An optical detection range determination unit is used to determine the optical detection range corresponding to the size of the seal, wherein the optical detection range includes multiple photoelectric sensors;

[0047] The scanning unit is used to scan each area of ​​the document to be stamped located below the light-receiving elements using all light-receiving elements within the optical detection range, and to obtain the light intensity value of each area.

[0048] The stamping area determination unit is used to determine the area as the stamping area when the light intensity value meets the light intensity reference value requirement of the document to be stamped.

[0049] A stamping unit is used to affix the stamp to the stamping area.

[0050] On the other hand, embodiments of this specification also provide an intelligent stamping system, including: a stamp, a stamp rod, multiple light-receiving elements, and the intelligent stamping device described above;

[0051] The light-receiving element is located above the document to be stamped and is used to scan each area of ​​the document to be stamped;

[0052] The intelligent stamping device is used to calculate the stamping area of ​​the document to be stamped based on the values ​​scanned by the light-receiving element;

[0053] The stamp rod is located above the document to be stamped, and one end of the stamp rod is connected to the stamp;

[0054] The intelligent stamping device is further used to control the movement of the stamp rod until the projection area of ​​the stamp on the document to be stamped is located within the stamping area, thereby controlling the stamp to affix the stamp to the document.

[0055] On the other hand, embodiments of this specification also provide a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the above-described method.

[0056] On the other hand, embodiments of this specification also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0057] Finally, this specification also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described method.

[0058] Using the embodiments of this specification, the document to be stamped may contain printed content. The intelligent stamping method of this specification automatically identifies the appropriate stamping area on the document. Specifically, firstly, the optical detection range is determined based on the size of the stamp. Then, all light-receiving elements within the optical detection range are used to scan each area of ​​the document to be stamped below the light-receiving elements to obtain the light intensity value of each area. White paper reflects all the light shining on it, while black text absorbs all the light and has no reflective properties. If there is more printed content in the area corresponding to the optical detection range, the light intensity value of that area is smaller, and vice versa. Therefore, it is determined whether the light intensity value meets the requirements of the light intensity reference value. If it does, it means that the area is suitable for stamping, and thus the area is designated as the stamping area, and the stamp is placed within the stamping area. Through the method of the embodiments of this specification, the appropriate stamping area on the document to be stamped is identified using optical detection. Compared with the traditional method of stamping in a fixed position, this method can reduce or avoid overlap between the stamp and the original content on the paper, improving the user's document viewing experience. Attached Figure Description

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

[0060] Figure 1 The diagram shown is a flowchart of an intelligent stamping method according to an embodiment of this specification.

[0061] Figure 2 , Figure 3 The diagram shown is a schematic diagram of the optical detection principle in the embodiments of this specification;

[0062] Figure 4The diagram shown is a comparison of the stamping position in this embodiment with the stamping position in the prior art.

[0063] Figure 5 The diagram illustrates the steps for determining the optical detection range corresponding to the size of the seal in an embodiment of this specification.

[0064] Figure 6 The diagram shown is a schematic diagram illustrating how the optical detection range is determined based on the spacing between the light-receiving components and the size of the stamp in an embodiment of this specification.

[0065] Figure 7 The diagram illustrates the steps for moving the optical detection range in an embodiment of this specification.

[0066] Figure 8 The diagram shown is a structural schematic of the intelligent seal system in an embodiment of this specification.

[0067] Figure 9 The diagram illustrates the steps for stamping within the preferred stamping area in an embodiment of this specification.

[0068] Figure 10 The diagram illustrates the steps for stamping multiple documents to be stamped in an embodiment of this specification.

[0069] Figure 11 The diagram shown is a structural schematic of the intelligent seal device in an embodiment of this specification.

[0070] Figure 12 The diagram shown is a structural schematic of an intelligent seal system according to an embodiment of this specification.

[0071] Figure 13 The figure shows the steps of affixing the seal to the stamping area in an embodiment of this specification;

[0072] Figure 14 The diagram shown is a structural schematic of the computer device in an embodiment of this specification.

[0073] [Explanation of Figure Markers]:

[0074] 1101. Optical detection range determination unit;

[0075] 1102. Scanning unit;

[0076] 1103. Stamping area determination unit;

[0077] 1104. Stamping Unit;

[0078] 1201. Seal;

[0079] 1202, Seal rod;

[0080] 1203. Light-receiving element;

[0081] 1204. Intelligent stamping device;

[0082] 1205, Shaft;

[0083] 1206. Pressing component;

[0084] 1402. Computer equipment;

[0085] 1404. Processing equipment;

[0086] 1406. Storage resources;

[0087] 1408. Drive mechanism;

[0088] 1410. Input / Output Module;

[0089] 1412. Input devices;

[0090] 1414. Output devices;

[0091] 1416. Presentation equipment;

[0092] 1418. Graphical User Interface;

[0093] 1420. Network interface;

[0094] 1422. Communication link;

[0095] 1424. Communication bus. Detailed Implementation

[0096] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this document, and not all embodiments. Based on the embodiments described herein, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this document.

[0097] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings herein are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0098] It should be noted that the acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.

[0099] Figure 4 The diagram shown is a comparison of the stamping position in the embodiments of this specification with the stamping position in the prior art. In the prior art, the stamp is affixed to a fixed position on the document to be stamped, but the fixed position may already have content printed on it. Therefore, in the embodiments of this specification, each area of ​​the document to be stamped is optically scanned to obtain blank stamping areas for stamping.

[0100] Specifically, this specification provides an intelligent stamping method that identifies blank areas of a document to be stamped and stamps the blank areas. Figure 1 The diagram shown is a flowchart illustrating an intelligent stamping method according to an embodiment of this specification. The diagram depicts the process of identifying the stamping area of ​​a document using optical detection principles. The order of steps listed in the embodiment is merely one possible execution order among many and does not represent the only possible order. In actual system or device products, the method can be executed sequentially or in parallel, as shown in the embodiment or the accompanying drawings. Specifically, as... Figure 1 As shown, the method may include:

[0101] Step 101: Determine the optical detection range corresponding to the size of the seal, wherein the optical detection range includes multiple light-receiving elements;

[0102] Step 102: Use all light-receiving elements within the optical detection range to scan each area of ​​the document to be stamped located below the light-receiving elements to obtain the light intensity value of each area;

[0103] Step 103: If the light intensity value meets the light intensity reference value requirement of the document to be stamped, the area is designated as the stamping area.

[0104] Step 104: Place the stamp on the stamping area.

[0105] Using the embodiments of this specification, the document to be stamped may contain printed content. The intelligent stamping method of this specification automatically identifies the appropriate stamping area on the document. Specifically, firstly, the optical detection range is determined based on the size of the stamp. Then, all light-receiving elements within the optical detection range are used to scan each area of ​​the document to be stamped below the light-receiving elements to obtain the light intensity value of each area. White paper reflects all the light shining on it, while black text absorbs all the light and has no reflective properties. If there is more printed content in the area corresponding to the optical detection range, the light intensity value of that area is smaller, and vice versa. Therefore, it is determined whether the light intensity value meets the requirements of the light intensity reference value. If it does, it means that the area is suitable for stamping, and thus the area is designated as the stamping area, and the stamp is placed within the stamping area. Through the method of the embodiments of this specification, the appropriate stamping area on the document to be stamped is identified using optical detection. Compared with the traditional method of stamping in a fixed position, this method can reduce or avoid overlap between the stamp and the original content on the paper, improving the user's document viewing experience.

[0106] like Figures 2-3 The diagram shown illustrates the principle of optical detection in this embodiment. The emitter can be an LED light source or other light-emitting element. The emitted light shines onto the document to be stamped and is reflected by the document. The light-receiving element receives the reflected light and converts it into a digital signal. This digital signal is then processed and output. If the document already has printed content, the emitted light will be absorbed by the existing content, resulting in a reflected light intensity lower than the emitted light intensity. The denser or darker the printed content in the detection area, the more light is absorbed and the less intense the reflected light. Therefore, the density or color depth of the printed content on the document is determined based on the intensity of the reflected light, allowing for stamping in areas with denser or darker printed content.

[0107] In the embodiments of this specification, the document to be stamped can be divided into multiple continuous areas in advance. The area of ​​each area should be greater than or equal to the optical detection range. Each area is scanned using all light-receiving elements within the optical detection range to obtain the light intensity value of each area. Then, it is determined whether each light intensity value meets the requirements of the light intensity reference value. If it does, the area is used as the stamping area.

[0108] In the embodiments of this specification, the light intensity reference value can be set according to experience or stamping requirements. The larger the light intensity reference value, the less content is printed in the determined stamping area, and the better the user's reading experience after stamping.

[0109] According to one embodiment of the present invention, in order to facilitate the calculation of the light intensity value of each region, the embodiments of this specification arrange multiple light-receiving elements at uniform intervals within the optical detection range, which makes it easier to calculate the light intensity value of the region scanned by the optical detection range.

[0110] Specifically, calculating the light intensity value corresponding to the optical detection range further includes:

[0111] The light intensity value is calculated based on the values ​​of each light-receiving element.

[0112] In the embodiments of this specification, the light-receiving element can convert the received light signal into a digital signal, and calculate the light intensity value based on the value of the digital signal output by each light-receiving element. Specifically, the average value of each light-receiving element can be calculated, and the average value can be used as the light intensity value.

[0113] According to one embodiment of the present invention, such as Figure 5 As shown, determining the optical detection range corresponding to the size of the seal further includes:

[0114] Step 501: On a light intensity detection component comprising multiple light-receiving elements arranged at uniform intervals, the number of light-receiving elements corresponding to the size of the stamp is determined according to the size of the stamp and the interval of the light-receiving elements, and the light intensity detection component is located above the stamping surface of the document to be stamped;

[0115] Step 502: The area where the number of light-receiving elements are evenly spaced on the detection component is located is defined as the optical detection range.

[0116] In the embodiments of this specification, the light-receiving elements to be scanned can be delineated according to the optical detection range, further improving the accuracy of light quantity calculation. Specifically, as shown in the example... Figure 6 As shown, the light-receiving elements are arranged at uniform intervals of 1cm x 1cm on the light intensity detection component. The light intensity detection component is located above the document to be stamped, emitting light downwards to illuminate the document. If a 4cm x 3cm stamp is required, a total of 12 light-receiving elements (4 x 3) are needed, and the area containing these 12 light-receiving elements is defined as the optical detection range.

[0117] In the embodiments of this specification, although the document to be stamped can be pre-divided into multiple continuous regions and the light-receiving element can be controlled to scan each region, the detection granularity of this region division method is relatively coarse. It only fully covers the document to be stamped, and the content already printed at the junction of two regions may be less, making it more suitable for stamping. To address the above situation, according to an embodiment of the present invention, the detection area composed of all the light-receiving elements on the light intensity detection component is set to be greater than or equal to the area of ​​the document to be stamped, that is, the detection area of ​​the optical detection component can cover the entire document to be stamped. The present invention does not require moving the light-receiving element, but controls the operation of different light-receiving elements to achieve the purpose of moving the detection area. Specifically, scanning each region of the document to be stamped using all the light-receiving elements within the optical detection range further includes:

[0118] The optical detection range is moved in the horizontal or vertical direction of the document to be stamped, with the interval between two adjacent light-receiving elements as the step size, to scan each area of ​​the document to be stamped.

[0119] For example, such as Figure 7 As shown, A represents the optical detection range composed of the currently working light-receiving elements. The optical detection range is moved with the interval between two adjacent light-receiving elements as the step size to obtain a new optical detection range B. The area corresponding to the optical detection range B is scanned using multiple light-receiving elements within the optical detection range B.

[0120] This method can be understood as allowing overlapping areas to be included in each detection area, thus enabling more granular detection of the document to be stamped and identifying more suitable stamping areas.

[0121] According to one embodiment of the present invention, such as Figure 8 As shown, the steps for calculating the light intensity reference value include:

[0122] Step 801: Use all light-receiving elements within the optical detection range to scan the area of ​​the document to be stamped that does not contain any content located below the light-receiving elements, and obtain the light intensity value of that area;

[0123] Step 802: Use the light intensity value of this area as the light intensity reference value.

[0124] In the embodiments of this specification, the ideal stamping area for the document to be stamped should be an area without printed content. Therefore, the light intensity value corresponding to the area without printed content can be used as a light intensity reference value. If the light intensity value of other areas is closer to the light intensity reference value, then that area is more likely to be without printed content. This ensures that the stamp is printed on an area without printed content as much as possible.

[0125] According to an embodiment of the present invention, in order to improve the efficiency of determining the stamping area, in the process of scanning each area of ​​the document to be stamped using all light-receiving elements within the optical detection range to obtain the light intensity value corresponding to each area, the method further includes:

[0126] Determine whether the light intensity value of the currently scanned area is greater than or equal to the light intensity reference value;

[0127] If so, the currently scanned area will be used as the stamping area, scanning of other areas will be stopped, and the stamp will be placed in the stamping area.

[0128] If not, continue scanning other areas of the document to be stamped;

[0129] If the light intensity value of each area of ​​the document to be stamped is less than the light intensity reference value, then the area corresponding to the maximum light intensity value shall be the stamping area.

[0130] In the embodiments of this specification, during the scanning of the document to be stamped using all light-receiving elements within the optical detection range, after scanning one area, it is determined whether the light intensity value of that area is greater than or equal to the light intensity reference value. If so, that area is designated as the stamping area, scanning of other areas is stopped, and the stamp is placed on that stamping area. If the light intensity value of that area is less than the light intensity reference value, scanning of other areas of the document to be stamped continues. If, after scanning all areas of the document to be stamped, the light intensity value of each area is less than the light intensity reference value, it indicates that each area has already been imprinted with content. Therefore, the area with the highest light intensity value is designated as the stamping area, allowing the stamp to be placed on the area with the least content.

[0131] Furthermore, to further enhance the user experience, a preferred stamping area can be set on the document to be stamped, for example, setting the lower right corner of the document as the preferred stamping area. Specifically, such as... Figure 9 As shown, the method further includes:

[0132] Step 901: First, scan the predetermined preferred stamping area of ​​the document to be stamped using all light-receiving elements within the optical detection range to obtain the light intensity value corresponding to the predetermined preferred stamping area;

[0133] Step 902: If the light intensity value corresponding to the predetermined preferred stamping area is greater than or equal to the light intensity reference value, then the predetermined preferred stamping area is taken as the stamping area, scanning of other areas is stopped, and the stamp is affixed to the stamping area.

[0134] This can be understood as follows: First, the preferred stamping area is scanned. If the light intensity value of the preferred stamping area meets the light intensity reference value requirement, then a stamp is placed on the preferred stamping area. Otherwise, other areas are scanned until the light intensity value meets the requirement. If the light intensity value of all areas does not meet the requirement, the area corresponding to the highest light intensity value can be used as the stamping area. Alternatively, it can be determined whether the light intensity value of the preferred stamping area exceeds the average light intensity value of all areas. If so, it indicates that although content is already printed on the preferred stamping area, the density of the content is not the highest among all areas, so further stamping can continue on the preferred stamping area.

[0135] Currently, the need for stamping documents extends beyond single documents; it may also involve stamping multiple documents together to indicate they are a set, preventing unauthorized swapping. For this scenario, embodiments of this specification can stack multiple documents sequentially, treating them as a single unit, identifying the appropriate stamping area, and then stamping. Specifically, according to one embodiment of the present invention, such as... Figure 10 As shown:

[0136] The method further includes:

[0137] Step 1001: Calculate the ratio of the horizontal dimension of the seal to the number of documents to be stamped, and use the ratio as the stamping width of each document to be stamped;

[0138] Step 1002: Stack the documents to be stamped horizontally according to the stamp width. For two adjacent documents to be stamped, the distance between the side of the upper document and the side of the lower document in the same direction is the stamp width.

[0139] Step 1003: Take the side of the bottommost document to be stamped in the stacked arrangement as the first boundary; take one side of the optical detection range adjacent to the first boundary and make sure the optical detection range can cover all documents to be stamped; use all the light-receiving elements in the optical detection range to scan along the longitudinal direction of the documents to be stamped to obtain the light intensity value of each region.

[0140] Step 1004: If the light intensity value meets the light intensity reference value requirement of the document to be stamped, the area is designated as the stamping area.

[0141] Step 1005: Place the stamp on the stamping area.

[0142] In the embodiments of this specification, according to the conventional side-stamping requirements, the stamp needs to cover multiple documents, each document having a portion of the stamp, and the order is fixed. Therefore, multiple documents need to be stacked sequentially. First, the ratio of the horizontal dimension of the stamp to the number of documents to be stamped is calculated; this ratio represents the stamp width on each document. Then, the documents to be stamped are stacked horizontally according to the stamp width. For two adjacent documents, the distance between the side of the upper document and the side of the lower document in the same direction is the stamp width. For example, the first document is at the bottom, and then the second document is stacked on top of the first document. The distance between the side of the second document and the side of the first document in the same direction is the stamp width, and multiple documents are stacked together sequentially. After stacking, the distance between the side of the bottom layer document and the side of the top layer document in the same direction is equal to the difference between the horizontal dimension of the stamp and the stamp width of a document. In this way, as long as one side of the stamp is placed close to the side of the bottom layer document, it is possible to have part of the stamp on each document.

[0143] After stacking multiple documents to be stamped, the side of the bottom document in the stack is designated as the first boundary. One side of the optical detection range is adjacent to the first boundary, and the optical detection range can cover all documents to be stamped. All light-receiving elements within the optical detection range are used to scan along the longitudinal direction of the documents to be stamped to obtain the light intensity value of each region. If the light intensity value meets the light intensity reference value requirement of the documents to be stamped, the region is designated as the stamping region.

[0144] Based on the same inventive concept, embodiments of this specification also provide an intelligent stamping device, such as... Figure 11 As shown, it includes:

[0145] An optical detection range determination unit 1101 is used to determine the optical detection range corresponding to the size of the seal, wherein the optical detection range includes multiple photoelectric sensors.

[0146] The scanning unit 1102 is used to scan each area of ​​the document to be stamped located below the light-receiving elements using all light-receiving elements within the optical detection range, and to obtain the light intensity value of each area.

[0147] The stamping area determination unit 1103 is used to determine the area as the stamping area when the light intensity value meets the light intensity reference value requirement of the document to be stamped.

[0148] The stamping unit 1104 is used to affix the stamp to the stamping area.

[0149] Since the principle of the above-mentioned device in solving the problem is similar to that of the above-mentioned method, the implementation of the above-mentioned device can refer to the implementation of the above-mentioned method, and the repeated parts will not be described again.

[0150] Based on the same inventive concept, embodiments of this specification also provide an intelligent stamping system, such as... Figure 12 The diagram shown is a structural schematic of the intelligent stamp system in an embodiment of this specification, which may include a stamp 1201, a stamp rod 1202, multiple light-receiving elements 1203, and the intelligent stamping device 1204 described above.

[0151] The light-receiving element 1203 is located above the document to be stamped and is used to scan each area of ​​the document to be stamped;

[0152] The intelligent stamping device 1204 is used to calculate the stamping area of ​​the document to be stamped based on the values ​​scanned by the light-receiving element 1203.

[0153] The stamp rod 1202 is located above the document to be stamped, and one end of the stamp rod 1202 is connected to the stamp 1201;

[0154] The intelligent stamping device 1204 is further used to control the movement of the stamp rod 1202 until the projection area of ​​the stamp 1201 on the document to be stamped is located within the stamping area, and to control the stamp 1201 to stamp the document to be stamped.

[0155] Furthermore, according to one embodiment of the present invention, such as Figure 13 As shown: stamping the seal within the stamping area further includes:

[0156] Step 1301: Control the movement of the stamp rod located above the document to be stamped until the projection area of ​​the stamp connected to one end of the stamp rod on the document to be stamped is located within the stamping area;

[0157] Step 1302: Control the stamp to affix the seal to the document to be stamped.

[0158] Specifically, the steps for controlling the movement of the stamp rod include:

[0159] On a plane parallel to the plane of the document to be stamped, rotate the stamp rod with the end of the stamp rod furthest from the stamp as the origin, and adjust the extension and retraction length of the stamp rod until the projection area of ​​the stamp on the document to be stamped is located in the stamping area.

[0160] In the embodiments described in this specification, the following continues... Figure 12As shown, the stamp rod 1202 is positioned above the document to be stamped. The plane of the stamp rod 1202 is parallel to the plane of the document. One end of the stamp rod 1202 is mounted on a rotating shaft 1205, which is fixed in position. The shaft can be rotated by a motor, thereby moving the stamp rod 1202. A pressing component 1206 is fixedly mounted on the other end of the stamp rod 1202, and the stamp 1201 is mounted below the pressing component 1206. The stamp rod 1202 is telescopic; its extension and retraction can be hydraulically driven to move the position of the stamp 1201.

[0161] In the embodiments described in this specification, the rotation angle of the pivot 1205 and the extension length of the stamp rod 1202 can be calculated based on the determined position of the stamping area, thereby moving the stamp 1201 above the stamping area. Then, the stamp 1201 is pressed onto the stamping area by the pressing component 1206. The structure of the stamp rod in this specification allows the stamp to be moved to any position on the document to be stamped, improving the flexibility of stamping.

[0162] like Figure 14 The diagram shown is a structural schematic of a computer device according to an embodiment of this specification. The apparatus in this invention can be the computer device in this embodiment, performing the method of this invention described above. The computer device 1402 may include one or more processing devices 1404, such as one or more central processing units (CPUs), each processing unit implementing one or more hardware threads. The computer device 1402 may also include any storage resource 1406 for storing any kind of information such as code, settings, data, etc. Non-limitingly, for example, the storage resource 1406 may include any one or more combinations of: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any storage resource can use any technology to store information. Further, any storage resource can provide volatile or non-volatile retention of information. Further, any storage resource can represent a fixed or removable component of the computer device 1402. In one case, when the processing device 1404 executes associated instructions stored in any storage resource or combination of storage resources, the computer device 1402 can perform any operation of the associated instructions. The computer device 1402 also includes one or more drive mechanisms 1408 for interacting with any storage resource, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.

[0163] Computer device 1402 may also include an input / output module 1410 (I / O) for receiving various inputs (via input device 1412) and providing various outputs (via output device 1414). A specific output mechanism may include a presentation device 1416 and an associated graphical user interface (GUI) 1418. In other embodiments, the input / output module 1410 (I / O), input device 1412, and output device 1414 may be omitted, and the device may function solely as a computer device within a network. Computer device 1402 may also include one or more network interfaces 1420 for exchanging data with other devices via one or more communication links 1422. One or more communication buses 1424 couple the components described above together.

[0164] Communication link 1422 can be implemented in any way, such as via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, or any combination thereof. Communication link 1422 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.

[0165] This specification also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0166] This specification also provides computer-readable instructions, wherein when a processor executes the instructions, the program therein causes the processor to perform the above-described method.

[0167] It should be understood that in the various embodiments described herein, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments in this specification.

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

[0169] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this document.

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

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

[0172] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments described in this specification, depending on actual needs.

[0173] Furthermore, the functional units in the various embodiments of this document can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0174] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this paper, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this paper. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0175] This document uses specific embodiments to illustrate the principles and implementation methods of this document. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this document. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this document. Therefore, the content of this specification should not be construed as a limitation of this document.

Claims

1. A smart stamping method, characterized in that, The method includes: Determine the optical detection range corresponding to the size of the seal, wherein the optical detection range includes multiple light-receiving elements; The light intensity value of each area of ​​the document to be stamped is obtained by scanning each area located below the light receiving element using all light receiving elements within the optical detection range. If the light intensity value meets the light intensity reference value requirement of the document to be stamped, the area shall be used as the stamping area. The seal is affixed to the stamping area; Multiple light-receiving elements are arranged at uniform intervals within the optical detection range; The step of determining the optical detection range corresponding to the size of the seal further includes: On a light intensity detection component comprising multiple light-receiving elements arranged at uniform intervals, the number of light-receiving elements corresponding to the size of the stamp is determined according to the size of the stamp and the interval of the light-receiving elements, and the light intensity detection component is located above the stamping surface of the document to be stamped; The area containing the number of light-receiving elements evenly spaced on the detection component is defined as the optical detection range.

2. The method according to claim 1, characterized in that, The detection area formed by all the light-receiving elements on the light intensity detection component is greater than or equal to the area of ​​the document to be stamped. Scanning each area of ​​the document to be stamped using all light-receiving elements within the optical detection range further includes: The optical detection range is moved in the horizontal or vertical direction of the document to be stamped, with the interval between two adjacent light-receiving elements as the step size, to scan each area of ​​the document to be stamped.

3. The method according to claim 1, characterized in that, Calculating the light intensity value corresponding to the optical detection range further includes: The light intensity value is calculated based on the values ​​of each light-receiving element.

4. The method according to claim 3, characterized in that, The calculation of the light intensity value based on the values ​​of each light-receiving element further includes: Calculate the average value of each light-receiving element, and use the average value as the light intensity value.

5. The method according to claim 1, characterized in that, The steps for calculating the light intensity reference value include: The area of ​​the document to be stamped that does not contain any printed content is scanned using all light-receiving elements within the optical detection range, and the light intensity value of that area is obtained. The light intensity value of this region is used as the light intensity reference value.

6. The method according to claim 1, characterized in that, In the process of scanning each area of ​​the document to be stamped using all light-receiving elements within the optical detection range to obtain the light intensity value corresponding to each area, the method further includes: Determine whether the light intensity value of the currently scanned area is greater than or equal to the light intensity reference value; If so, the currently scanned area will be used as the stamping area, scanning of other areas will be stopped, and the stamp will be placed in the stamping area. If not, continue scanning other areas of the document to be stamped; If the light intensity value of each area of ​​the document to be stamped is less than the light intensity reference value, then the area corresponding to the maximum light intensity value shall be the stamping area.

7. The method according to claim 6, characterized in that, The method further includes: The predetermined preferred stamping area of ​​the document to be stamped is first scanned using all light-receiving elements within the optical detection range to obtain the light intensity value corresponding to the predetermined preferred stamping area. If the light intensity value corresponding to the predetermined preferred stamping area is greater than or equal to the light intensity reference value, then the predetermined preferred stamping area is taken as the stamping area, scanning of other areas is stopped, and the stamp is placed in the stamping area.

8. The method according to claim 1, characterized in that, The documents to be stamped include multiple documents of the same size; The method further includes: Calculate the ratio of the horizontal dimension of the seal to the number of documents to be stamped, and use the ratio as the stamping width for each document to be stamped; The documents to be stamped are stacked horizontally according to the stamping width. For two adjacent documents to be stamped, the distance between the side of the upper document to be stamped and the side of the lower document to be stamped in the same direction is the stamping width. The first boundary is the side of the bottommost document to be stamped in the stacked arrangement. The optical detection range is adjacent to the first boundary and can cover all documents to be stamped. All light-receiving elements within the optical detection range are used to scan along the longitudinal direction of the document to be stamped to obtain the light intensity value of each region. If the light intensity value meets the light intensity reference value requirement of the document to be stamped, the area shall be used as the stamping area. The seal is affixed to the area to be stamped.

9. The method according to claim 1, characterized in that, Affixing the seal to the stamping area further includes: Control the movement of the stamp rod located above the document to be stamped until the projection area of ​​the stamp connected to one end of the stamp rod on the document to be stamped is located within the stamping area; Control the stamp to affix a seal to the document to be stamped.

10. The method according to claim 9, characterized in that, The steps for controlling the movement of the stamp rod include: On a plane parallel to the plane of the document to be stamped, rotate the stamp rod with the end of the stamp rod furthest from the stamp as the origin, and adjust the extension and retraction length of the stamp rod until the projection area of ​​the stamp on the document to be stamped is located in the stamping area.

11. An intelligent stamping device, characterized in that, The device includes: An optical detection range determination unit is used to determine the optical detection range corresponding to the size of the seal, wherein the optical detection range includes multiple photoelectric sensors; The scanning unit is used to scan each area of ​​the document to be stamped located below the light-receiving elements using all light-receiving elements within the optical detection range, and to obtain the light intensity value of each area. The stamping area determination unit is used to determine the area as the stamping area when the light intensity value meets the light intensity reference value requirement of the document to be stamped. A stamping unit is used to affix the stamp to the stamping area; Multiple light-receiving elements are arranged at uniform intervals within the optical detection range; The step of determining the optical detection range corresponding to the size of the seal further includes: On a light intensity detection component comprising multiple light-receiving elements arranged at uniform intervals, the number of light-receiving elements corresponding to the size of the stamp is determined according to the size of the stamp and the interval of the light-receiving elements, and the light intensity detection component is located above the stamping surface of the document to be stamped; The area containing the number of light-receiving elements evenly spaced on the detection component is defined as the optical detection range.

12. An intelligent stamping system, characterized in that, include: A seal, a seal rod, multiple light-receiving elements, and the intelligent stamping device as described in claim 11; The light-receiving element is located above the document to be stamped and is used to scan each area of ​​the document to be stamped; The intelligent stamping device is used to calculate the stamping area of ​​the document to be stamped based on the values ​​scanned by the light-receiving element; The stamp rod is located above the document to be stamped, and one end of the stamp rod is connected to the stamp; The intelligent stamping device is further used to control the movement of the stamp rod until the projection area of ​​the stamp on the document to be stamped is located within the stamping area, thereby controlling the stamp to affix the stamp to the document.

13. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 10.

15. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 10.

Citation Information

Patent Citations

  • Image reading apparatus

    JP2006229687A