A seal control method and device
By collecting document images and displaying virtual seals in the printer, users can adjust the seal position in real time, solving the cumbersome problems in the prior art that need to set templates in advance, and achieving the effect of simplifying the printing process and improving operation efficiency.
Patent Information
- Application Number
- CN202110996305.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-08-27
AI Technical Summary
In the prior art, the process of stamping with a printer requires setting a fixed printing template in advance, resulting in the user redefining the template when temporarily using printing, which is cumbersome.
A seal control method and device are provided. By collecting target document images and displaying target virtual seals, the user can adjust the position of the virtual seal through the first operation, obtain the position relationship of the second operation, and adjust the seal to the actual seal area according to the preset ratio.
This enables users to adjust the printing position in real time without redefining the printing template, simplifying the printing process and improving operational efficiency.
Smart Images

Figure CN113724327B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of physical seals, and in particular to a seal control method and device. Background Art
[0002] With the development of society, the amount of documents generated by various businesses has increased significantly, and the frequency of seal usage has also increased significantly. In order to improve the efficiency of seal usage, many large enterprises (such as banks, financial institutions, etc.) have begun to use seals to stamp documents through printing machines.
[0003] At present, in the process of stamping with a stamping machine, users are generally required to set a fixed stamping template in advance, which defines the stamp type, stamping position, stamping angle and other information. Afterwards, when the stamp is needed, the user can select the pre-set template from the template library for stamping.
[0004] However, in the current solution, the template needs to be set in advance. If the user needs to use the seal temporarily, the template needs to be redefined, which is a cumbersome process. Summary of the invention
[0005] The present application provides a seal control method and device, which can adjust the position of the seal in a printing machine in real time, thereby simplifying the seal-using process.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In the first aspect, the present application provides a method for controlling a seal. In the method, a control device for the seal (which may be referred to as a "control device") collects a target document image, which is an image of a document to be printed. The control device displays the target document image and the target virtual seal. In response to a first operation of the user, the control device moves the target virtual seal to a virtual target area, wherein the first operation is used to adjust the position of the target virtual seal relative to the target document image, and the virtual target area is a printing area in the target document image. In response to a second operation, the control device obtains a first positional relationship, which is a positional relationship of the virtual target area relative to the target document image; wherein a preset ratio is stored in the control device, and the preset ratio is a ratio between the area of the target document image and the area of the document to be printed. The control device adjusts the seal corresponding to the target virtual seal to the actual printing area corresponding to the virtual target area according to the first positional relationship and the preset ratio.
[0008] Based on the above technical solution, the control device can collect and display the target document image. In addition, the control device can display the target virtual seal, and in response to the user's first operation, the control device can move the target virtual seal to the virtual target area. In this way, the user can understand and adjust the position of the target virtual seal in the target document image in real time through the visual interface. Afterwards, in response to the second operation, the control device can determine the positional relationship of the virtual target area relative to the target document image, and adjust the seal corresponding to the target virtual seal to the actual printing area corresponding to the virtual target area according to the first positional relationship and the preset ratio (i.e., the ratio between the area of the target document image and the area of the printed document). In this way, the user can adjust the printing position in real time without redefining the printing template, which simplifies the printing process.
[0009] In a possible design, the control device determines a second positional relationship based on the first positional relationship and a preset ratio, wherein the second positional relationship is a positional relationship between the actual printing area corresponding to the virtual target area and the printing document. The control device adjusts the seal to the actual printing area based on the second positional relationship.
[0010] In a possible design, the first operation is also used to adjust the angle of the target virtual stamp.
[0011] In a possible design, the control device stores a plurality of virtual seals, including a target virtual seal. In response to the third operation, the control device selects the target virtual seal from the plurality of virtual seals.
[0012] In a second aspect, the present application provides a seal control device, which includes a collection unit, a display unit, a control unit and a determination unit.
[0013] The acquisition unit is used to acquire a target document image, which is an image of a document to be printed. The display unit is used to display the target document image and the target virtual seal. The control unit is used to move the target virtual seal to a virtual target area in response to a first operation of the user, wherein the first operation is used to adjust the position of the target virtual seal relative to the target document image, and the virtual target area is the printing area in the target document image. The determination unit is used to obtain a first position relationship in response to a second operation, wherein the first position relationship is the position relationship of the virtual target area relative to the target document image. The control unit stores a preset ratio, which is the ratio between the area of the target document image and the area of the document to be printed. The control unit is also used to adjust the seal corresponding to the target virtual seal to the actual printing area corresponding to the virtual target area according to the first position relationship and the preset ratio.
[0014] In a possible design, the determination unit is further used to determine a second positional relationship based on the first positional relationship and the preset ratio, where the second positional relationship is the positional relationship between the actual printing area corresponding to the virtual target area and the printing document. The control unit is further used to adjust the seal to the actual printing area based on the second positional relationship.
[0015] In a possible design, the first operation is also used to adjust the angle of the target virtual stamp.
[0016] In a possible design, the control unit stores a plurality of virtual seals, including a target virtual seal. The determination unit is further configured to select a target virtual seal from the plurality of virtual seals in response to a third operation.
[0017] In the third aspect, the present application provides a seal control device, which includes: a processor and a memory; the processor and the memory are coupled; the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the seal control device is running, the processor executes the computer execution instructions stored in the memory to implement the seal control method described in the first aspect and any possible implementation method of the first aspect.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the seal control method described in the above-mentioned first aspect and any possible implementation method of the first aspect.
[0019] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the seal control method described in the first aspect and any possible implementation of the first aspect.
[0020] In a sixth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement a seal control method as described in the first aspect and any possible implementation method of the first aspect.
[0021] In the above scheme, the technical problems that can be solved and the technical effects achieved by the seal control device, computer equipment, computer storage medium, computer program product or chip can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A flow chart of a seal control method provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of an example of a target document image provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of an example of a mobile target virtual seal provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of an example of an image coordinate system provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of another example of a mobile target virtual seal provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of the structure of a seal control device provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of the structure of another seal control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.
[0031] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.
[0032] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0033] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in 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 "exemplary" or "for example" is intended to present concepts in a specific way.
[0034] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0035] like Figure 1 As shown, a seal control method provided in an embodiment of the present application includes:
[0036] S101, the control device collects a target document image.
[0037] The target document image is an image of a document to be printed.
[0038] It should be noted that the document to be stamped is a document located in a preset area of a control device (e.g., a printer) (i.e., an area in the printer where documents are placed for stamping). In other words, when the document to be stamped is in the preset area, the control device can stamp (i.e., stamp) the document to be stamped.
[0039] In a possible implementation, the control device can be connected to a driving module of a printer to scan a document to be printed and obtain a target document image.
[0040] It should be noted that, with regard to the specific manner in which the control device scans the document to be printed to obtain the target document image, reference may be made to the conventional method in which an electronic device scans a document to obtain a document image, which will not be elaborated herein.
[0041] S102: The control device displays a target document image and a target virtual seal.
[0042] The target virtual seal is a virtual seal corresponding to the target document image, and the target virtual seal corresponds to the seal in the printing machine. In other words, the printing document corresponding to the target document image needs to be stamped with the seal corresponding to the target virtual seal.
[0043] For example, if document image A corresponds to virtual seal a, document image B corresponds to virtual seal b, and document image C corresponds to virtual seal c, then when the target document image is document image A, the target virtual seal is virtual seal a.
[0044] In the embodiment of the present application, after the control device acquires the target document image, the control device may load the target document image and display the target document image on a preset interface, wherein the preset interface is used to display the document image acquired by the control device.
[0045] It can be understood that the control device displays the target document image and the target virtual seal, so that the user can understand the position of the seal on the document.
[0046] Optionally, in response to an adjustment operation acting on the target document image, the control device may adjust the area of the displayed target document image according to a preset ratio. The adjustment operation is used to trigger the control device to adjust the area of the displayed target document image according to the preset ratio, and the adjustment operation may adjust the preset ratio. For example, the preset ratio may be 0.5, 0.9, 1.1 or 2, etc.
[0047] The embodiment of the present application does not limit the adjustment operation. For example, the adjustment operation may be an operation input by a user to a touch screen displaying the target document image (such as an operation of the user extending or contracting two fingers outwards). For another example, the adjustment operation may be an operation input by a user to a mouse wheel.
[0048] In the embodiment of the present application, when the area of the target document image is adjusted, the length and width of the target document image are adjusted in the same ratio.
[0049] For example, Figure 2 As shown in (a) of FIG. 1 , the document image 201 is an image of a printed document collected by the control device. In response to an operation inputted by a user to the touch screen, the control device may adjust the document image 201 to Figure 2 The document image 202 shown in (b) in FIG. For example, the area of the document image 201 is 45×30, and the area of the document image 202 is 30×20.
[0050] It is understandable that the area of the printed document may not match the display screen. By adjusting the area of the target document image, the user can see a better effect and improve the user's experience.
[0051] In some embodiments, a plurality of virtual seals are stored in the control device, each of the plurality of virtual seals corresponds to a seal in a printing machine, and the plurality of virtual seals include a target virtual seal.
[0052] For example, if there are three seals in the printer, namely seal A, seal B and seal C, the multiple virtual seals stored in the control device may be virtual seal a (corresponding to seal A), virtual seal b (corresponding to seal B) and virtual seal c (corresponding to seal C).
[0053] In a possible implementation, in response to the third operation, the control device may select a target virtual seal from a plurality of virtual seals. Afterwards, the control device may display the target virtual seal. For example, in combination with the above example, if the target virtual seal corresponding to the target document image displayed by the control device is virtual seal a. The virtual seal currently displayed by the control device is virtual seal b. The user may input a third operation. In response to the third operation, the control device may adjust the displayed virtual seal to virtual seal a.
[0054] It should be noted that the third operation is not limited in the present embodiment. For example, the third operation may be an operation input by a user to a touch screen displaying the target document image (such as an up and down sliding operation or a left and right sliding operation). For another example, the third operation may be an operation input by a user using a mouse wheel.
[0055] It is understandable that the stamping machine may include multiple stamps. Through the third operation, the user can select the stamp to be used. In this way, there is no need to configure the template in advance, which improves the efficiency of using the stamp.
[0056] S103 . In response to a first operation by the user, the control device moves the target virtual seal to a virtual target area.
[0057] The first operation is used to adjust the position of the target virtual seal relative to the target document image, and the virtual target area is the seal area in the target document image.
[0058] For example, Figure 3 As shown in (a) of FIG. 1 , if the virtual seal a is located in area 301. In response to the user's first operation, the control device can move the virtual seal a to Figure 3 The area 302 shown in (b) in FIG.
[0059] It should be noted that the first operation is not limited in the present embodiment. For example, the first operation may be an operation input by a user to a touch screen displaying the target document image (such as clicking on a certain area). For another example, the first operation may be an operation of a user moving a mouse.
[0060] It is understandable that, through the first operation, the control device can move the target virtual seal to the virtual target area. In this way, the user does not need to configure the template in advance, and can adjust the position of the target virtual seal in the target document image as desired, thereby improving the operation efficiency.
[0061] S104. In response to the second operation, the control device obtains the first position relationship.
[0062] The second operation is used to trigger the control device to obtain a first position relationship, where the first position relationship is a position relationship between the virtual target area and the target document image.
[0063] Exemplarily, the first positional relationship can be represented by a rectangular coordinate system. Figure 4 As shown, the control device can establish an xoy rectangular coordinate system according to the target document image. Specifically, any right angle in the target document image (such as the lower left corner) is used as the origin o in the coordinate system, and the two adjacent sides constituting the lower left corner are used as the x-axis and the y-axis to establish the xoy rectangular coordinate system. For example, the virtual target area can be point A in the xoy rectangular coordinate system, and the coordinates of point A are (x, y). For example, if the coordinates of point A are A(4,1), it means that the distance of the virtual target area from the x-axis (i.e., the left side of the target document image) is 4, and the distance from the y-axis (i.e., the lower side of the target document image) is 1.
[0064] It should be noted that the second operation is not limited in the present embodiment. For example, the second operation may be an operation of the user clicking the left button of the mouse. For another example, the second operation may be an operation of the user not inputting for a long time (for example, 10 seconds).
[0065] S105 , the control device adjusts the seal corresponding to the target virtual seal to the actual seal-using area corresponding to the virtual target area according to the first position relationship and the preset ratio.
[0066] The control device stores a preset ratio, which is the ratio between the area of the target document image and the area of the document to be printed.
[0067] In a possible design, during the process of the control device displaying the target document image, the control device may obtain a preset ratio, and then the control device may save the preset ratio.
[0068] In the embodiment of the present application, after the control device acquires the first position relationship, the control device can adjust the seal corresponding to the target virtual seal to the actual seal area corresponding to the virtual target area according to the first position relationship and the preset ratio.
[0069] It is understandable that the area of the target document image is different from the area of the document to be printed. Therefore, the control device may not be able to accurately adjust the seal to the printing area according to the first positional relationship.
[0070] In a possible implementation, the control device may determine the second positional relationship according to the first positional relationship and the preset ratio, wherein the second positional relationship is the positional relationship between the actual printing area corresponding to the virtual target area and the printing document.
[0071] Exemplary, combined Figure 4, if the coordinates of point A are A(4,1) (i.e. the first positional relationship). If the preset ratio is 2.25 (i.e. 1.5x1.5), then the positional relationship of the actual printing area corresponding to the virtual target area relative to the printing document is: the distance between the actual printing area and the left side of the printing document is 6, and the distance from the bottom side of the printing document is 1.5.
[0072] In some embodiments, the printed document is located at a preset position in a preset area. For example, the preset position may be: any right angle (such as the lower left corner) in the printed document coincides with a right angle in the preset area, and the two sides of the printed document forming the right angle are close to the two sides of the right angle in the preset area.
[0073] That is to say, the positional relationship of the actual printing area relative to the printing document in the embodiment of the present application (i.e., the second positional relationship) can be the positional relationship of the actual printing area relative to the preset area. For example, the right angle in the preset area that coincides with any right angle in the printing document can be used as Figure 4 The origin in the preset area, the two sides that form a right angle that coincides with any right angle in the printed document can be used as Figure 4 Similarly, the first positional relationship may also be the positional relationship of the virtual target area relative to the virtual preset area (ie, the preset area adjusted according to the preset ratio).
[0074] The control device adjusts the seal to the actual seal area according to the second positional relationship. For example, if the coordinates of the seal are (1, 2), the positional relationship of the actual seal area relative to the seal document is (6, 1.5). After the control device determines the second positional relationship, the control device can adjust the seal to the position of (6, 1.5).
[0075] Based on the above technical solution, the control device can collect and display the target document image. In addition, the control device can display the target virtual seal, and in response to the user's first operation, the control device can move the target virtual seal to the virtual target area. In this way, the user can understand and adjust the position of the target virtual seal in the target document image in real time through the visual interface. Afterwards, in response to the second operation, the control device can determine the positional relationship of the virtual target area relative to the target document image, and adjust the seal corresponding to the target virtual seal to the actual printing area corresponding to the virtual target area according to the first positional relationship and the preset ratio (i.e., the ratio between the area of the target document image and the area of the printed document). In this way, the user can adjust the printing position in real time without redefining the printing template, which simplifies the printing process.
[0076] In some embodiments, the first operation can also be used to adjust the angle of the target virtual seal. Exemplarily, in response to the first operation, the target virtual seal can be rotated 90 degrees clockwise, and the angle of the target virtual seal can be adjusted from Figure 5 The angle shown in (a) is adjusted to Figure 5 The angle shown in (b) in .
[0077] In an embodiment of the present application, after the control device obtains the first position relationship, the control device can adjust the seal corresponding to the target virtual seal to the actual seal area corresponding to the virtual target area according to the first position relationship and the preset ratio, and adjust the angle of the seal.
[0078] It is understandable that by adjusting the seal angle through the first operation, the standardization of the document to be stamped can be ensured when the seal is used. In addition, there is no need to redefine the template, thereby improving the operation efficiency.
[0079] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of computer equipment. It is understandable that in order to realize the above functions, the computer equipment includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the control method steps of the seals of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0080] The embodiment of the present application also provides a seal control device, which can be a computer device, a CPU in the computer device, a processing module in the computer device for controlling the seal, or a client in the computer device for controlling the seal.
[0081] The embodiment of the present application can divide the control of the seal into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.
[0082] like Figure 6FIG. 1 is a schematic diagram of a seal control device provided in an embodiment of the present application. The seal control device is used to execute Figure 1 The seal control method shown in the figure. The seal control device may include a collection unit 601, a display unit 602, a control unit 603 and a determination unit 604.
[0083] The acquisition unit 601 is used to acquire a target document image, which is an image of a document to be printed. The display unit 602 is used to display the target document image and the target virtual seal. The control unit 603 is used to move the target virtual seal to a virtual target area in response to a first operation of the user, wherein the first operation is used to adjust the position of the target virtual seal relative to the target document image, and the virtual target area is the printing area in the target document image. The determination unit 604 is used to obtain a first position relationship in response to a second operation, wherein the first position relationship is the position relationship of the virtual target area relative to the target document image. The control unit 603 stores a preset ratio, which is the ratio between the area of the target document image and the area of the document to be printed. The control unit 603 is also used to adjust the seal corresponding to the target virtual seal to the actual printing area corresponding to the virtual target area according to the first position relationship and the preset ratio.
[0084] Optionally, the determination unit 604 is further configured to determine a second positional relationship based on the first positional relationship and the preset ratio, wherein the second positional relationship is a positional relationship between the actual printing area corresponding to the virtual target area and the printing document. The control unit 603 is further configured to adjust the seal to the actual printing area based on the second positional relationship.
[0085] Optionally, the first operation is also used to adjust the angle of the target virtual seal.
[0086] Optionally, a plurality of virtual seals are stored in the control unit 603, and the plurality of virtual seals include a target virtual seal. The determination unit 604 is further configured to select a target virtual seal from the plurality of virtual seals in response to the third operation.
[0087] Figure 7 Another possible structure of the control device of the seal involved in the above-mentioned embodiment is shown. The control device of the seal includes: a processor 701 and a communication interface 702. The processor 701 is used to control and manage the actions of the device, for example, to execute the various steps in the method flow shown in the above-mentioned method embodiment, and / or to execute other processes of the technology described in this article. The communication interface 702 is used to support the communication between the control device of the seal and other network entities. The control device of the seal may also include a memory 703 and a bus 704, and the memory 703 is used to store the program code and data of the device.
[0088] Among them, the above-mentioned processor 701 can implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of the present invention. The processor can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, etc.
[0089] The memory 703 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above types of memory.
[0090] The bus 704 may be an Extended Industry Standard Architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0091] In actual implementation, the acquisition unit 601 may be composed of Figure 7 The communication interface 702 shown in FIG. 1 is implemented, and the control unit 603 and the determination unit 604 can be implemented by Figure 7 The processor 701 shown calls the program code in the memory 703 to implement. The specific execution process can be referred to Figure 1 The description of the control method of the seal shown will not be repeated here.
[0092] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, 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. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0093] An embodiment of the present application provides a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the seal control method in the above method embodiment.
[0094] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the seal control method in the method flow shown in the above method embodiment.
[0095] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0096] Since the seal control device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be repeated here.
[0097] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A seal control method, characterized in that: The method comprises: The control device of the seal collects a target document image, wherein the target document image is an image of a document to be stamped; The control device of the seal displays the target document image and the target virtual seal; In response to a first operation of the user, the control device of the seal moves the target virtual seal to a virtual target area, wherein the first operation is used to adjust the position of the target virtual seal relative to the target document image, and the virtual target area is a seal application area in the target document image; In response to the second operation, the control device of the seal acquires a first positional relationship, where the first positional relationship is a positional relationship of the virtual target area relative to the target document image; wherein a preset ratio is stored in the control device of the seal, where the preset ratio is a ratio between an area of the target document image and an area of the document to be stamped; The control device of the seal determines a second positional relationship according to the first positional relationship and the preset ratio, wherein the second positional relationship is a positional relationship between the actual seal area corresponding to the virtual target area and the seal document; The seal control device adjusts the seal to the actual seal-using area according to the second position relationship.
2. The method according to claim 1, characterized in that: The first operation is also used to adjust the angle of the target virtual seal.
3. The method according to claim 2, characterized in that The control device of the seal stores a plurality of virtual seals, and the plurality of virtual seals include the target virtual seal; Before the control device of the seal displays the target virtual seal, the method further includes: In response to a third operation, the control device of the seal selects the target virtual seal from the plurality of virtual seals.
4. A seal control device, characterized in that: The device comprises: A collection unit, used for collecting a target document image, wherein the target document image is an image of a document to be printed; A display unit, used for displaying the target document image and the target virtual seal; A control unit, configured to move the target virtual seal to a virtual target area in response to a first operation of a user, wherein the first operation is used to adjust the position of the target virtual seal relative to the target document image, and the virtual target area is a seal-using area in the target document image; a determination unit, configured to obtain a first positional relationship in response to a second operation, wherein the first positional relationship is a positional relationship between the virtual target area and the target document image; wherein the control unit stores a preset ratio, wherein the preset ratio is a ratio between an area of the target document image and an area of the printed document; The determining unit is further configured to determine a second positional relationship according to the first positional relationship and the preset ratio, wherein the second positional relationship is a positional relationship between the actual printing area corresponding to the virtual target area and the printing document; The control unit is further used to adjust the seal to the actual seal-using area according to the second position relationship.
5. The device according to claim 4, characterized in that The first operation is also used to adjust the angle of the target virtual seal.
6. The device according to claim 5, characterized in that The control unit stores a plurality of virtual seals, wherein the plurality of virtual seals include the target virtual seal; The determining unit is further configured to select the target virtual seal from the plurality of virtual seals in response to a third operation.
7. A seal control device, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, which include computer-executable instructions. When the control device of the seal is running, the processor executes the computer-executable instructions stored in the memory to enable the control device of the seal to perform the method as described in any one of claims 1-3.
8. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer performs the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Control method, device and system of automatic stamping machine
CN108177451A
Automatic stamping method, device and system
CN111452524A