Data association method, printing apparatus, server, and storage medium

By generating and printing graphic codes that are associated with page number information during printing, the cumbersome process of associating page numbers between dot matrix paper and electronic documents is solved, achieving automatic association and improving the user experience.

CN116301546BActive Publication Date: 2025-11-25MICROPRINTER INNOVATION TECHSHENZHEN CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310176899.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-11-25
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In existing technologies, after users customize the content of printed dot matrix paper, they need to manually enter the dot matrix paper page numbers and associate them with the page numbers of the electronic document, which is cumbersome and affects the user experience.

Method used

During printing, the first graphic code of the target dot matrix paper is generated and printed, and associated with the page number information to form an association relationship. The identifier corresponding to the graphic code and the target data are printed simultaneously onto the dot matrix paper. Users can achieve automatic association between written data and target data through graphic identifiers.

Benefits of technology

There is no need to separately enter the correlation data between the dot matrix paper page numbers and the electronic document page numbers, which simplifies user operations and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116301546B_ABST
    Figure CN116301546B_ABST
Patent Text Reader

Abstract

The application discloses a data association method, a printing device, a server and a storage medium, and belongs to the field of information technology. The method comprises the following steps: obtaining target data to be printed in an electronic document and page number information corresponding to the target data; generating a first graphical code of a target dot matrix paper, associating the first graphical code with the page number information to form an association relationship; printing a graphical mark corresponding to the first graphical code and the target data to the target dot matrix paper, and associating the target data with first writing data in a region other than the graphical mark on the target dot matrix paper based on the association relationship. The application aims to reduce the operation complexity of associating offline dot matrix paper writing content with corresponding data of an online electronic document, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of information technology, in particular to a data association method, a printing device, a server and a storage medium. BACKGROUND

[0002] As a new writing tool, dot paper and dot pen can determine the writing trace of the dot pen by the optical recognition device on the dot pen and the dot code on the dot paper when writing on the dot paper, and synchronize the writing trace to the electronic document of other terminal device and output and display. Due to the characteristic of synchronizing the writing trace, dot paper and dot pen are increasingly applied to the field of remote teaching and the like.

[0003] Currently, if a user wants to customize the content on the dot paper, the user can print the electronic document on the dot paper. However, the page number of the electronic document cannot be associated with the page number of the dot paper, and the entry operation of associating the data between the page number of the dot paper and the page number of the electronic document after printing is required, so as to realize the association between the writing content on the offline dot paper and the corresponding data of the online electronic document, thereby synchronizing the writing trace. However, the operation of the entry operation in the method is complicated, which affects the user experience. SUMMARY

[0004] The main purpose of the present application is to provide a data association method, a printing device, a server and a storage medium, which aims to reduce the operation complexity of associating the writing content on the offline dot paper and the corresponding data of the online electronic document, thereby improving the user experience.

[0005] To achieve the above purpose, the present application provides a data association method applied to a printing device, the data association method comprising the following steps:

[0006] obtaining target data to be printed in an electronic document and page number information corresponding to the target data;

[0007] generating a first graphical code of a target dot paper, associating the first graphical code with the page number information to form an association relationship;

[0008] printing the graphical mark corresponding to the first graphical code and the target data to the target dot paper, so as to associate the target data with first writing data in an area other than the graphical mark on the target dot paper based on the association relationship.

[0009] Optionally, the step of printing the graphical mark corresponding to the first graphical code and the target data to the target dot paper comprises:

[0010] performing inverse color processing on the first graphical code to obtain the graphical mark;

[0011] print the graphic mark corresponding to the first graphic code and the target data to the target dot paper.

[0012] Optionally, the step of printing the graphic mark corresponding to the first graphic code and the target data to the target dot paper comprises:

[0013] printing the graphic mark corresponding to the first graphic code to a first preset area of the target dot paper and printing the target data to a second preset area of the target dot paper.

[0014] The first preset area and the second preset area are both dot code areas on the target dot paper, and the first preset area and the second preset area do not overlap.

[0015] In addition, in order to achieve the above-mentioned purpose, the present application further provides a data association method applied to a server, comprising the following steps:

[0016] acquiring second writing data of a dot pen on a graphic mark on a target dot paper;

[0017] determining a first graphic code corresponding to the graphic mark according to the second writing data, and determining page information having an association relationship with the first graphic code;

[0018] determining target data corresponding to the page information in an electronic document according to the page information;

[0019] associating first writing data in an area other than the graphic mark on the target dot paper with the target data.

[0020] Optionally, the step of acquiring second writing data of a dot pen on a graphic mark on a target dot paper comprises:

[0021] acquiring third writing data of the dot pen on the target dot paper;

[0022] determining a writing area of the third writing data on the target dot paper;

[0023] when the writing area is a first preset area of the graphic mark on the target dot paper, determining that the third writing data is the second writing data.

[0024] Optionally, after the step of acquiring second writing data of a dot pen on a graphic mark on a target dot paper, the method further comprises:

[0025] determining trajectory information of the dot pen according to the second writing data;

[0026] determining a trajectory length of the trajectory information in a first direction.

[0027] When the length of the trajectory is greater than or equal to a first preset length, the step of determining the first graphical code corresponding to the graphical mark according to the second writing data is performed.

[0028] Optionally, the step of determining the first graphical code corresponding to the graphical mark according to the second writing data comprises:

[0029] According to the trajectory information and the graphical mark, a plurality of sub-trajectories in a first direction are determined, and the plurality of sub-trajectories fall in blank sub-regions in the region within the graphical mark.

[0030] The plurality of sub-trajectories are extended along a second direction by a second preset length to obtain the first graphical code corresponding to the graphical mark.

[0031] In addition, in order to achieve the above-mentioned purpose, the present application further provides a printing device, which comprises a memory, a processor and a data association program stored in the memory and executable on the processor, and the data association program is configured to implement the steps of the data association method according to any one of the above.

[0032] In addition, in order to achieve the above-mentioned purpose, the present application further provides a server, which comprises a memory, a processor and a data association program stored in the memory and executable on the processor, and the data association program is configured to implement the steps of the data association method according to any one of the above.

[0033] In addition, in order to achieve the above-mentioned purpose, the present application further provides a storage medium, which stores a data association program, and the data association program is executed by a processor to implement the steps of the data association method according to any one of the above.

[0034] The data association method provided by the application comprises the following steps: obtaining target data to be printed in an electronic document and page number information corresponding to the target data; generating a first graphic code of a target dot matrix paper, associating the first graphic code with the page number information to form an association relationship, and establishing an indirect association relationship between the target data and the first graphic code; then printing a graphic mark corresponding to the first graphic code and the target data to the target dot matrix paper, and associating the target data with first writing data in a region other than the graphic mark on the target dot matrix paper based on the association relationship. Compared with the association data of the page number of the dot matrix paper and the page number of the electronic document which is additionally input after the target data is printed to the target dot matrix paper, the graphic mark corresponding to the first graphic code is printed to the target dot matrix paper at the same time of printing in the application, and the user can associate the first writing data and the target data through the graphic mark when using the target dot matrix paper, which is equivalent to realizing the association between the page number corresponding to the target dot matrix paper and the page number corresponding to the target data, and the operation complexity of associating the offline dot matrix paper writing content and the online electronic document corresponding data of the user is reduced, thereby improving the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 A hardware structure schematic diagram related to an embodiment of the printing device of the application;

[0036] Figure 2 A hardware structure schematic diagram related to an embodiment of the server of the application;

[0037] Figure 3 A flowchart of an embodiment of the data association method of the application;

[0038] Figure 4 A flowchart of another embodiment of the data association method of the application;

[0039] Figure 5 A flowchart of still another embodiment of the data association method of the application;

[0040] Figure 6 An example schematic diagram of still another embodiment of the data association method of the application;

[0041] Figure 7 A flowchart of still another embodiment of the data association method of the application.

[0042] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are merely intended to explain the application, and are not intended to limit the application.

[0044] Embodiments of the present application provide a printing device. As shown in Figure 1 The printing device can include a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is configured to connect and communicate between the components. The user interface 1003 can include a display, an input unit such as a keyboard, and can further include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0045] Those skilled in the art can understand that Figure 1 The structure shown in the foregoing embodiments does not constitute a limitation on the printing device, and the printing device can also include functional modules for implementing other functions, including more or fewer components than those shown, or combining certain components, or different component arrangements.

[0046] As shown in Figure 1 The memory 1005 as a storage medium can include a data association program. In Figure 1 In the printing device shown in the foregoing embodiments, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; and the processor 1001 can be used to call the data association program stored in the memory 1005 and execute the steps of the data association method provided by the embodiments of the present application.

[0047] Embodiments of the present application also provide a server. As shown in Figure 2As shown, the server can include: a processor 2001, for example, a Central Processing Unit (CPU), a communication bus 2002, a network interface 2003, a memory 2004. Among them, the communication bus 2002 is used to realize the connection communication between these components. The network interface 2003 can optionally include a standard wired interface, a wireless interface (such as a WIreless-FIdelity (WI-FI) interface). The memory 2004 can be a high-speed Random Access Memory (RAM) memory, or a stable Non-Volatile Memory (NVM), such as a disk memory. The memory 2004 can also be a storage device independent of the aforementioned processor 2001.

[0048] Those skilled in the art can understand that Figure 2 The structure shown in the figure does not constitute a limitation on the server, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0049] As Figure 2 As shown, the data association program can be included in the memory 2004 as a storage medium. In Figure 2 In the server shown, the network interface 2003 is mainly used for data communication with other devices; the processor 2001 can be used to call the data association program stored in the memory 2004 and perform the relevant step operations of the data association method in the following embodiments.

[0050] The embodiment of the application also provides a data association method, applied to the above printing device.

[0051] Referring to Figure 3 , an embodiment of the data association method of the present application is proposed. In this embodiment, the data association method includes:

[0052] Step S10, obtaining target data to be printed in an electronic document and page number information corresponding to the target data;

[0053] The electronic document is a document specified by the user to print the content therein, and the target data is the content specified by the user to print in the electronic document. The target data can include data of several pages in the electronic document. It should be noted that the page number information is the unique page number of the target data in the electronic document, which is used to distinguish and locate the data of different pages in the electronic document, and is not the page number recorded by the page number function inserted in the electronic document.

[0054] Optionally, the user specifies the electronic document to be printed and the target data to be printed on the client, and the printing device obtains the target data and the page number information corresponding to the target data from the client. In addition, a setting switch corresponding to the data association method can be configured on the printing device, which is used to distinguish between printing on ordinary paper or printing on dot-matrix paper.

[0055] In step S20, a first graphical code of the target dot-matrix paper is generated, and the first graphical code is associated with the page number information to form an association relationship.

[0056] In this embodiment, the first graphical code is a one-dimensional code. When the printing device generates the first graphical code, a random non-repeating numerical code of a preset number of digits is generated, and a one-dimensional code corresponding to the numerical code is generated. It should be noted that in this embodiment, the target data is one page of data in the electronic document. In practice, the target data can be a plurality of pages of data in the electronic document, and the target dot-matrix paper includes a corresponding number of papers (single-sided printing) and a corresponding number of first graphical codes are generated for each target dot-matrix paper.

[0057] In other embodiments, the first graphical code can also be other types of graphical codes.

[0058] Optionally, the printing device generates the first graphical code corresponding to the target dot-matrix paper, and associates the first graphical code with the page number information. In addition, the association relationship between the first graphical code and the page number information can be sent to the server for storage, so that the user can determine the association relationship through the server when using the target dot-matrix paper.

[0059] In step S30, the graphical identifier corresponding to the first graphical code and the target data are printed on the target dot-matrix paper, so that the target data is associated with the first written data in the area outside the graphical identifier on the target dot-matrix paper based on the association relationship.

[0060] The graphical identifier is an identifier corresponding to the first graphical code, which is a graphical identifier of the one-dimensional code in this embodiment, or a graphical identifier generated according to the first graphical code. The first written data is written data of the dot-matrix pen in the area outside the graphical identifier on the target dot-matrix paper.

[0061] Optionally, the printing device prints the graphical identifier corresponding to the first graphical code and the target data on the target dot-matrix paper. When the user uses the target dot-matrix paper, the user can scan the graphical identifier thereon to identify the corresponding first graphical code, and the client determines the corresponding page in the electronic document according to the association relationship between the first graphical code and the page number information, so as to associate the first written data in the area outside the graphical identifier on the target dot-matrix paper with the target data. At this time, the first written data written by the user on the target dot-matrix paper can be synchronized to the corresponding page of the client electronic document.

[0062] The data association method provided by the embodiment of the present application comprises the following steps: obtaining target data to be printed in an electronic document and page number information corresponding to the target data; generating a first graphic code of a target dot matrix paper, associating the first graphic code with the page number information to form an association relationship, and establishing an indirect association relationship between the target data and the first graphic code; and then printing a graphic mark corresponding to the first graphic code and the target data to the target dot matrix paper, so as to associate the target data with first writing data in a region other than the graphic mark on the target dot matrix paper based on the association relationship. Compared with the association data between the page number of the dot matrix paper and the page number of the electronic document which is additionally input after the target data is printed to the target dot matrix paper, the graphic mark corresponding to the first graphic code is printed to the target dot matrix paper at the same time when printing in the present application, and the user can associate the first writing data and the target data by using the graphic mark when using the target dot matrix paper, which is equivalent to realizing the association between the page number corresponding to the target dot matrix paper and the page number corresponding to the target data, and the operation complexity of the user in associating the offline dot matrix paper writing content and the online electronic document corresponding data is reduced, thereby improving the user experience.

[0063] Further, in the embodiment, the step of printing the graphic mark corresponding to the first graphic code and the target data to the target dot matrix paper comprises:

[0064] printing the graphic mark corresponding to the first graphic code to a first preset region of the target dot matrix paper, and printing the target data to a second preset region of the target dot matrix paper;

[0065] wherein the first preset region and the second preset region are both dot matrix code regions on the target dot matrix paper, and the first preset region and the second preset region do not overlap.

[0066] In the target dot matrix paper, the first preset region is predefined for printing the graphic mark corresponding to the first graphic code, and the second preset region is predefined for printing the target data, and the first preset region and the second preset region do not overlap, so as to prevent the conflict of the printed regions and affect the printing effect of the graphic mark or the target data.

[0067] In addition, the user can select the position of the first preset region before printing, for example, the upper left corner or the upper right corner of the paper, and the region of the target dot matrix paper other than the first preset region is the second preset region.

[0068] Further, the first preset region and the second preset region are both dot matrix code regions on the dot matrix paper, that is, the regions on which the dot matrix pen can recognize the writing data when writing. Based on this, the user can directly use the dot matrix pen to complete the scanning of the graphic mark, further reducing the operation complexity.

[0069] Further, based on the above embodiment, another embodiment of the data association method is provided. In the embodiment, referring to Figure 4 The step of printing the target data and the graphic mark corresponding to the first graphic code to the target dot matrix paper comprises:

[0070] In step S31, the first graphic code is subjected to inverse color processing to obtain the graphic mark.

[0071] In the embodiment, the first graphic code is a one-dimensional code, and the graphic mark obtained by subjecting the one-dimensional code to inverse color processing is the one-dimensional code after inverse color processing.

[0072] In step S32, the graphic mark and the target data are printed to the target dot matrix paper.

[0073] Optionally, the one-dimensional code after inverse color processing and the target data are printed to the target dot matrix paper.

[0074] The one-dimensional code after inverse color processing cannot be directly scanned by a scanning device such as a mobile terminal, thereby preventing the first graphic code from being mis-scanned, and when the user slides the dot matrix pen on the graphic mark, the handwriting falling on the blank area of the graphic mark corresponds to the original black area of the one-dimensional code due to the inverse color processing, thereby saving the step of scanning and identifying the first graphic code by using the dot matrix pen and further reducing the operation complexity.

[0075] The embodiment of the application further provides a data association method applied to the server.

[0076] Referring to Figure 5 Another embodiment of the data association method is provided. In the embodiment, the data association method comprises:

[0077] In step S40, second writing data of the dot matrix pen on the graphic mark in the target dot matrix paper is obtained.

[0078] The second writing data is writing data of the dot matrix pen in the area of the graphic mark in the target dot matrix paper; when the user writes in the area of the graphic mark in the target dot matrix paper by using the dot matrix pen, the second writing data corresponding to the handwriting can be identified and transmitted to the server due to the dot matrix code in the area.

[0079] In step S50, the first graphic code corresponding to the graphic mark is determined according to the second writing data, and page information having an association relationship with the first graphic code is determined.

[0080] Optionally, the server can determine the first graphic code corresponding to the graphic mark according to the second writing data, and determine the page information having an association relationship with the first graphic code by recording the association relationship between the first graphic code and the page information in the server.

[0081] Step S60, determining target data corresponding to the page number information in the electronic document according to the page number information;

[0082] Optionally, the corresponding electronic document and target data can be determined according to the page number information, so as to determine the target data corresponding to the printed content on the target dot-matrix paper used by the user at this time.

[0083] Step S70, associating the first writing data in the area outside the graphic mark on the target dot-matrix paper with the target data.

[0084] Optionally, the first writing data in the area outside the graphic mark on the target dot-matrix paper (equivalent to the writing data of the user on the target data printed area of the target dot-matrix paper) is associated with the target data in the electronic document, so as to realize synchronization of the writing data.

[0085] In addition, the first writing data and the page number information can be sent to the client, so that the client synchronously displays the target data corresponding to the printed content on the target dot-matrix paper, and further displays the first writing data on the displayed target data.

[0086] According to the second writing data written by the user on the graphic mark in the target dot-matrix paper, and the association relationship between the first graphic code and the page number information recorded in the server, the target data corresponding to the printed content on the target dot-matrix paper is determined according to the graphic mark of the dot-matrix paper. For the user, when using the dot-matrix paper, the dot-matrix pen is used to slide on the graphic mark area, so as to establish the association with the corresponding target data, to perform subsequent writing data synchronization, reduce the operation complexity of the user, and improve the user experience.

[0087] Further, in the embodiment, the step of determining the first graphic code corresponding to the graphic mark according to the second writing data comprises:

[0088] According to the trajectory information of the dot-matrix pen corresponding to the second writing data and the graphic mark, a plurality of sub-trajectories in the first direction are determined, and the plurality of sub-trajectories fall in the blank sub-area in the area inside the graphic mark;

[0089] The plurality of sub-trajectories are extended along the second direction by a second preset length, and the first graphic code corresponding to the graphic mark is obtained.

[0090] The trajectory information is information representing the moving trajectory of the dot-matrix pen. Optionally, the first graphic code is a one-dimensional code, the area corresponding to the graphic mark is a rectangle according to the graphic shape of the one-dimensional code, the first direction is determined by the long side of the rectangle, the second direction is determined by the width of the rectangle, and the second preset length is the length of the width of the rectangle.

[0091] For the first direction and the second direction, exemplary, establish the xy coordinate axis with one of the right angles of the rectangle, let the long side of the rectangle coincide with the x axis, and the wide side coincide with the y axis, then the first direction can be the positive direction or the negative direction of the x axis, and the second direction can be the positive direction or the negative direction of the y axis.

[0092] Based on the above embodiment, the graphic mark is a one-dimensional code after the inverse color processing, and therefore the blank sub-region in the area of the graphic mark corresponds to the black region of the one-dimensional code. Exemplary, referring to Figure 6 , Figure 6 The first graphic code, the graphic mark obtained after the inverse color processing, the plurality of sub-tracks in the first direction, and the graphic illustration example of the plurality of sub-tracks extending along the second direction are listed from top to bottom in the figure. According to the track information corresponding to the second writing data, the plurality of sub-tracks in the first direction falling in the blank sub-region are determined, which is equivalent to determining the plurality of tracks of the one-dimensional code in the first direction; further, extending the plurality of sub-tracks along the second direction by the second preset length, the graphic of the one-dimensional code is restored, which is equivalent to determining the corresponding first graphic code.

[0093] By determining the plurality of sub-tracks of the second writing data in the first direction and extending along the second direction, the restoration of the first graphic code according to the second writing data is realized, the corresponding first graphic code is identified by sliding the dot matrix pen on the graphic mark, and therefore the associated target data is further determined, thereby reducing the operation complexity of the user.

[0094] Further, based on the above embodiment, another embodiment of the data association method of the application is proposed. In this embodiment, referring to Figure 7 , the step of obtaining the second writing data of the dot matrix pen on the graphic mark in the target dot matrix paper includes:

[0095] Step S41, obtaining the third writing data of the dot matrix pen on the target dot matrix paper;

[0096] The third writing data is the writing data of the dot matrix pen on the target dot matrix paper, and the writing region of which has not been determined.

[0097] Step S42, determining the writing region of the third writing data on the target dot matrix paper;

[0098] Based on the technical features of the dot matrix code paving on the dot matrix paper, when the dot matrix pen writes on the dot matrix paper, the current position of the dot matrix pen on the dot matrix paper can be identified according to the dot matrix code slid, and therefore the writing data can be displayed at the corresponding position of the target data. In this embodiment, after obtaining the third writing data, the writing region of the third writing data on the target dot matrix paper is determined first.

[0099] Step S43, when the writing area is the first preset area on the target dot paper, determining that the third writing data is the second writing data.

[0100] Optionally, when it is determined that the writing area of the third writing data is the first preset area on the target dot paper, it can be determined that the third writing data is the data written by the dot pen on the graphic mark, which can be used to determine the first graphic code, i.e., to determine that the third writing data is the second writing data.

[0101] By determining whether the writing area of the third writing data is the first preset area on which the graphic mark is located, it can be determined whether the third writing data is the writing data written on the graphic mark; when the user uses the self-defined dot paper, the server can intelligently determine the writing area and execute the subsequent steps of determining the first graphic code and associating the target data by only using the dot pen to write on the graphic mark, thereby reducing the operation complexity of the user.

[0102] Further, in the embodiment, after the step of obtaining the second writing data of the dot pen on the graphic mark on the target dot paper, the method further comprises:

[0103] determining the trajectory information of the dot pen according to the second writing data;

[0104] determining the trajectory length of the trajectory information in the first direction;

[0105] when the trajectory length is greater than or equal to the first preset length, executing the step of determining the first graphic code corresponding to the graphic mark according to the second writing data.

[0106] The trajectory information is information representing the moving trajectory of the dot pen. Optionally, the first graphic code is a one-dimensional code, the first preset area on which the graphic mark is located is a rectangle according to the graphic shape of the one-dimensional code, and the first preset length is the length of the long side of the rectangle. The first direction is determined according to the long side of the rectangle.

[0107] For the first direction, for example, an xy coordinate axis is established according to one of the right angles of the rectangle, and the long side of the rectangle is coincided with the x axis. Therefore, the first direction can be the positive direction or the negative direction of the x axis.

[0108] Further, the trajectory length of the trajectory information in the first direction is determined, and when the trajectory length is greater than or equal to the first preset length, it is equivalent to that the second writing data crosses the entire first preset area in the first direction, i.e., crosses the entire graphic mark in the first direction. At this time, the complete first graphic code can be determined according to the second writing data.

[0109] By determining the track length of the second writing data track information in the first direction, whether the second writing data completely passes through the graphic mark can be determined according to the track length, and the step of determining the first graphic code is executed when it is determined that the second writing data completely passes through the graphic mark, so that the first graphic code is intelligently determined when the dot matrix pen passes through the graphic mark, and the operation complexity of the user is reduced.

[0110] In addition, the embodiment of the present application also provides a storage medium, wherein the storage medium stores a data association program, and the data association program is executed by a processor to realize the related steps of any one of the above data association methods.

[0111] It should be noted that, in this document, the terms "comprising", "containing" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or system. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or system including the element.

[0112] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0113] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platforms, of course, they can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the methods described in various embodiments of the present application.

[0114] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied to other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data association method applied to printing equipment, characterized in that, The data association method includes the following steps: Obtain the target data to be printed from the electronic document and the page number information corresponding to the target data; Generate a first graphic code for the target dot matrix paper, and associate the first graphic code with the page number information to form an association relationship; The first graphic code is inverted to obtain a graphic identifier. The first graphic code is a one-dimensional code. When the printing equipment generates the first graphic code, it generates a preset number of random, non-repeating numerical codes and generates a corresponding one-dimensional code based on the numerical codes. Print the graphic identifier and the target data onto the target dot matrix paper; The graphic identifier corresponding to the first graphic code and the target data are printed onto the target dot matrix paper, so as to associate the target data with the first writing data in the area other than the graphic identifier on the target dot matrix paper based on the association relationship.

2. The data association method as described in claim 1, characterized in that, The step of printing the graphic identifier corresponding to the first graphic code and the target data onto the target dot matrix paper includes: Print the graphic identifier corresponding to the first graphic code to the first preset area of ​​the target dot matrix paper, and print the target data to the second preset area of ​​the target dot matrix paper; Wherein, the first preset area and the second preset area are both dot matrix code areas on the target dot matrix paper, and the first preset area and the second preset area do not overlap.

3. A data association method applied to a server, characterized in that, The data association method includes the following steps: Obtain the second writing data of the dot matrix pen on the graphic mark in the target dot matrix paper; Based on the trajectory information of the dot matrix pen corresponding to the second writing data and the graphic identifier, multiple sub-trajectories are determined in the first direction. The multiple sub-trajectories fall within the blank sub-regions of the area within the graphic identifier. The second writing data is the writing data of the dot matrix pen within the graphic identifier area in the target dot matrix paper, and the trajectory information is information characterizing the movement trajectory of the dot matrix pen. The multiple sub-trajectories are extended along the second direction by a second preset length to obtain the first graphic code corresponding to the graphic identifier, and the page number information associated with the first graphic code is determined. Determine the target data corresponding to the page number information in the electronic document based on the page number information; Associate the first written data in the area outside the graphic identifier on the target dot matrix paper with the target data.

4. The data association method as described in claim 3, characterized in that, The step of acquiring the second writing data of the dot matrix pen on the graphic mark in the target dot matrix paper includes: Obtain the third writing data of the dot matrix pen on the target dot matrix paper; Determine the writing area of ​​the third writing data on the target dot matrix paper; When the writing area is the first preset area of ​​the graphic identifier on the target dot matrix paper, the third writing data is determined to be the second writing data.

5. The data association method as described in claim 3, characterized in that, After the step of acquiring the second writing data of the dot matrix pen on the graphic mark in the target dot matrix paper, the method further includes: The trajectory information of the dot matrix pen is determined based on the second writing data; Determine the trajectory length of the trajectory information in the first direction; When the trajectory length is greater than or equal to the first preset length, the step of determining the first graphic code corresponding to the graphic identifier based on the second writing data is executed.

6. A printing apparatus, characterized in that, The printing apparatus includes: a memory, a processor, and a data association program stored in the memory and executable on the processor, the data association program being configured to implement the steps of the data association method as described in any one of claims 1 to 2.

7. A server, characterized in that, The server includes: a memory, a processor, and a data association program stored on the memory and executable on the processor, the data association program being configured to implement the steps of the data association method as described in any one of claims 3 to 5.

8. A storage medium, characterized in that, The storage medium stores a data association program, which, when executed by a processor, implements the steps of the data association method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Overprint generation method based on dot matrix

    CN110489067A