Sub-region printing data processing method, device, equipment, system and storage medium
By dividing the image to be printed into different areas and adopting appropriate processing methods and data types, the problems of long printing task processing time and resource waste in existing technologies are solved, achieving efficient printing and data processing.
Patent Information
- Application Number
- CN202111601929.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2041-12-24
AI Technical Summary
Existing technologies suffer from long processing times, low data processing efficiency, and significant waste of system resources when handling printing tasks with partially variable images.
The image to be printed is divided into different printing areas. Different processing methods are used according to the printing precision and color requirements, and different bit data types are used to represent them. High-requirement areas are processed with strong processing end, and low-requirement areas are processed with fast processing end.
It improves image printing efficiency, reduces system resource waste, and meets printing requirements while increasing data processing and transmission speed.
Smart Images

Figure CN116339648B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of inkjet printing technology, and in particular to a method, apparatus, device, and storage medium for processing regional printing data. Background Technology
[0002] With the widespread application of computers in graphics and text processing, printers have become increasingly common, allowing people to easily output text or graphics from their computers to print media. However, with technological advancements, people desire text or graphics that not only output to print media but also meet various requirements for detail and color accuracy. To meet these requirements, current technology first performs color management on the image to meet color accuracy requirements, and then uses a 2-bit dot matrix algorithm for dot processing to meet detail accuracy requirements. However, for most product icons, many parts such as product name, place of origin, weight, production date, warranty period, manufacturer contact information, product standard number, barcode, QR code, and serial number are monochrome, with low requirements for color accuracy and detail. If based on the background... Figure 1 This approach leads to an increase in data processing and transmission volume, especially for variable information such as barcodes, QR codes, and serial numbers, which require color and 2-bit dot processing each time, resulting in a serious waste of resources and limiting printing efficiency. Summary of the Invention
[0003] In view of this, the present invention provides a method, apparatus, device and storage medium for regional printing data processing, in order to solve the technical problems of long processing time, low data processing efficiency and serious waste of system resources in the prior art when processing printing tasks with partially variable images.
[0004] In a first aspect, the present invention provides a method for processing regionally printed data, the method comprising the following steps:
[0005] S1: Obtain printing accuracy requirements and / or printing color requirements, and divide the image to be printed into at least a first printing area and a second printing area, wherein the printing accuracy requirements and / or printing color requirements of the first printing area are higher than the printing accuracy requirements and / or printing color requirements of the second printing area.
[0006] S2: Receive the first print data obtained by the first processing end, wherein the first print data is print data of the first print area obtained by color management processing and / or dot matrix algorithm processing and represented by the first data length;
[0007] S3: Perform dot matrix algorithm processing on the second printing area to obtain the second printing data, where the second printing data is the printing data represented by the second data length;
[0008] The lengths of the first and second data are different.
[0009] Preferably, step S2: receiving the first print data processed by the first processing terminal, wherein the first print data is print data of the first print area processed by color management and / or dot matrix algorithm and represented by a first data length, further includes the following steps:
[0010] S21: Divide the first printed area into a first movable area and a first immutable area based on whether the local image in the first printed area changes;
[0011] S22: Receive the first immutable print data obtained by the first processing end from processing the first immutable area and store it in the storage device of the printing equipment;
[0012] S23: Before each printing, receive the first variable printing data obtained by the first processing end processing the first variable area according to the change content and position information of the first variable area, and obtain the first immutable printing data stored in the storage device.
[0013] Preferably, after step S3: performing dot matrix algorithm processing on the second printing area to obtain the second printing data, wherein the second printing data is printing data represented by the second data length, the following steps are further included;
[0014] S4: Obtain the number of various types of ink dots at the boundary between the first and second printing areas;
[0015] S5: Adjust the ink dot volume type of the second print data according to the number of ink dots of each type to obtain the third print data.
[0016] Preferably, S5: Adjusting the ink dot volume type of the second print data according to the quantity of each type of ink dot to obtain the third print data includes the following steps:
[0017] S51: Obtain the first threshold F;
[0018] S52: Calculate the percentage of each type of ink spot based on the number of each type of ink spot;
[0019] S53: Compare the number of each type of ink spot with the first threshold value;
[0020] S54: Adjust the ink dot volume type of the second print data based on the comparison result of the proportion of each type of ink dot with the size of the first threshold.
[0021] Preferably, S55: Adjusting the ink dot volume type of the second printed data based on the comparison result of the proportion of the number of various types of ink dots with the size of the first threshold, including the following steps;
[0022] S551: Obtain the volume type of ink dots whose quantity ratio is greater than the first threshold as the target volume type;
[0023] S542: After adjusting the ink dot volume type of the second print data to the target volume type, the third print data is obtained.
[0024] Preferably, the first data length is 2 bits and the second data length is 1 bit.
[0025] Secondly, the present invention also provides a regional printing data processing apparatus, the apparatus comprising:
[0026] A printing area division module is used to obtain printing accuracy requirements and divide the image to be printed into at least a first printing area and a second printing area, wherein the printing accuracy requirements of the first printing area are higher than those of the second printing area.
[0027] The first print data receiving module is used to receive the first print data processed by the first processing terminal. The first print data is print data of the first print area processed by color management and / or dot matrix algorithm and represented by a first data length.
[0028] The second printing area processing module is used to process the second printing area using a dot matrix algorithm to obtain the second printing data, which is printing data represented by a second data length.
[0029] The lengths of the first and second data are different.
[0030] Thirdly, the present invention also provides a regional printing data processing device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein the computer program instructions, when executed by the processor, implement the method described in the first aspect.
[0031] Fourthly, the present invention also provides a regional printing data processing system, including a first processing terminal, the regional printing data processing device described in the second aspect, and the regional printing data processing equipment described in the third aspect, wherein the first processing terminal is used to perform color management processing and / or dot matrix algorithm processing on a first printing area to obtain printing data represented by a first data length.
[0032] Fifthly, the present invention also provides a storage medium having stored thereon computer program instructions that, when executed by a processor, implement the method described in the first aspect.
[0033] Beneficial Effects: The regional printing data processing method, apparatus, device, and storage medium of the present invention divides the image to be printed into regions according to printing accuracy requirements and / or printing color requirements. Different regions employ different processing methods and use different bit data types to represent the data obtained from processing different regions. Because the present invention uses the most suitable processing method for each region in the image to be printed with different printing requirements, it can ensure the image printing requirements are met while using a high-efficiency, high-speed processing method for parts of the image with lower printing requirements, thereby improving the overall printing effect and efficiency and effectively saving system resources. Attached Figure Description
[0034] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.
[0035] Figure 1 This is a flowchart of the regional printing data processing method of the present invention;
[0036] Figure 2 This is a schematic diagram of the first image to be printed;
[0037] Figure 3 This is a schematic diagram of the second image to be printed;
[0038] Figure 4 This is a schematic diagram of the third image to be printed;
[0039] Figure 5 This is a flowchart of the method for receiving print data according to the present invention;
[0040] Figure 6 This is a flowchart of the method for adjusting the second printed data according to the present invention;
[0041] Figure 7 This is a flowchart of the method for adjusting the ink droplet volume type of the second print data according to the present invention;
[0042] Figure 8 This is a flowchart of the method for adjusting the droplet volume type of the second printed data according to the comparison structure of the present invention;
[0043] Figure 9 A structural block diagram of a regional printing data processing device;
[0044] Figure 10 This is a structural block diagram of the regional printing data processing device of the present invention;
[0045] Figure 11 This is a schematic diagram of the structure of the regional printing data processing system of the present invention;
[0046] Figure 12 This is a schematic diagram illustrating the working process of the regional printing data processing system. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Where there is no conflict, embodiments of the present invention and the various features thereof can be combined with each other, all of which are within the scope of protection of the present invention.
[0048] Example 1
[0049] like Figure 1 As shown, this embodiment provides a method for processing regional printing data, the method including the following steps:
[0050] S1: Obtain printing accuracy requirements and / or printing color requirements. Divide the image to be printed into at least a first printing area and a second printing area, wherein the printing accuracy requirements and / or printing color requirements of the first printing area are higher than those of the second printing area.
[0051] In this step, the parts of the image to be printed that require high color and detail can be selected. Figure 2 Regions F and B1 in the middle, Figure 3 Regions F and B2 in the middle, Figure 4 The F and B3 areas in the image are designated as the first printing area, while the areas with lower color and detail are designated as the second printing area. Figure 2 Regions A1 and C1 in the text Figure 3 Regions A2 and C2 in the text Figure 4 The A3 and C3 areas in the image are designated as the second printing area. For example, when the image to be printed is a product icon, the background area with higher requirements for color saturation and detail is designated as the first printing area, while the parts containing images with lower requirements for color saturation and detail, such as barcodes, QR codes, serial numbers, and timestamps, are designated as the second printing area.
[0052] Wherein the printing precision requirement and / or printing color requirement of the first printing area is higher than the printing precision requirement and / or printing color requirement of the second printing area, it means that the printing precision requirement of the first printing area is higher than the printing precision requirement of the second printing area, or the printing color requirement of the first printing area is higher than the printing color requirement of the second printing area, or the printing precision requirement of the first printing area is higher than the printing precision requirement of the second printing area at the same time.
[0053] Dividing the image to be printed into at least a first printing area and a second printing area based on printing accuracy and / or printing color requirements means that the number of areas into which the image is divided according to printing accuracy and / or printing color requirements is greater than or equal to 2. That is, in addition to the aforementioned method of dividing into a first printing area and a second printing area, the image to be printed can also be divided into n printing areas based on printing accuracy and / or printing color requirements, where n is a positive integer greater than or equal to 2. At least two of the n divided printing areas must have different printing accuracy and / or printing color requirements.
[0054] S2: Receive the first print data obtained by the first processing end, wherein the first print data is print data of the first print area obtained by color management processing and / or dot matrix algorithm processing and represented by the first data length;
[0055] This step sends areas with high printing precision and / or color requirements to a first processing unit with stronger processing capabilities for color management and / or dot matrix algorithm processing. The processed data is then represented by a first data length. This embodiment significantly reduces the amount of data processed by the client by delegating the processing of areas with high printing requirements to the first processing unit, thus significantly improving the efficiency of printing data processing. The data length refers to the amount of storage space required to store the data, such as 1-bit, 2-bit, 4-bit, or 8-bit data. For example, when the first data length is 2 bits, the first printing data is represented by 2 bits. The first processing unit sends the processed first printing data to the printing device for subsequent processing. The dot matrix algorithm can use a halftone algorithm.
[0056] In this embodiment, step S2: receiving the first print data processed by the first processing terminal, wherein the first print data is print data of the first print area processed by color management and / or dot matrix algorithm and represented by a first data length, further includes the following steps:
[0057] like Figure 5 As shown, S21: Divide the first printing area into a first variable area and a first immutable area according to whether the local image in the first printing area changes;
[0058] When printing images such as product icons, a batch of print jobs often requires printing multiple copies of the product icon.
[0059] like Figures 2 to 4 As shown, these product icons often consist of image parts that remain unchanged and images that change. For example... Figures 2 to 4 The F area in the diagram represents the background portion of the product icon, which is the image portion that will not change. Figure 2 Region B1 in the middle, Figure 3 Middle B2 area, Figure 4 The B3 area in the image, along with areas A1, A2, and A3 representing the product icon's time, and areas C1, C2, and C3 representing the product icon's barcode, are all images that will change. The patterns that do not change are the same in every product icon, while the changing patterns can be different in each image.
[0060] S21: Divide the first printed area into a first movable area and a first immutable area based on whether the local image in the first printed area changes;
[0061] This step identifies the first printing area based on whether a local image within the first printing area changes, dividing the first printing area into two regions: a variable region and a non-variable region. Correspondingly, the data to be printed is also divided into two parts: a first non-variable print count and a second non-variable print data. The first non-variable print data corresponds to the unchanging portion of the image in the first printing area, while the second non-variable print data corresponds to the changing portion of the image in the first printing area.
[0062] S22: Receive the first immutable print data obtained by the first processing end from processing the first immutable area and store it in the storage device of the printing equipment;
[0063] This step sends the portion of the image to be printed that belongs to the first immutable area to a first processing terminal with strong processing capabilities for processing. After processing, the printing device receives the processed first immutable printing data and saves the first immutable printing data locally for later use.
[0064] S23: Before each printing, receive the first variable printing data obtained by the first processing end processing the first variable area according to the change content and position information of the first variable area, and obtain the first immutable printing data stored in the storage device.
[0065] In this embodiment, the printing device prints one image at a time. Since the variable portion of each image is different, before printing the current image, the printing device must receive the first variable print data corresponding to the first variable area from the first processing end. Before this, the first processing end performs data processing on the variable area of the image to be printed based on the change content and position information of the first variable area, such as color management processing and dot matrix algorithm processing. Since the first immutable print data in the first print data is the same when printing each image, the first immutable print data is directly read from the local storage device, without needing to be processed by the first processing end and sent to the printing device each time. That is, the first processing end only processes the first variable area once, and the processed data only needs to be sent once. This greatly improves the efficiency of data processing and saves system resources.
[0066] S3: Perform dot matrix algorithm processing on the second printing area to obtain the second printing data, which is the printing data represented by the second data length.
[0067] This step allows areas with lower printing accuracy and / or color requirements to be processed by a processing device with lower processing capabilities, such as a client or a printing device, resulting in second print data represented by a second data length.
[0068] This embodiment partitions the image to be printed according to printing accuracy and / or printing color requirements. Areas with high printing accuracy and / or printing color requirements are processed using a more precise method, and the processing results are represented by a more precise bit data type, thus ensuring that the printing effect meets high printing requirements. Simultaneously, this embodiment uses a more efficient method to process areas with low printing accuracy and / or printing color requirements, and the processing results are represented by a smaller bit data type, thus improving data processing and transmission efficiency while meeting printing requirements. This embodiment significantly improves printing efficiency while ensuring the overall printing effect meets printing requirements through partitioning.
[0069] As a preferred embodiment, the first data length is 2 bits, and the second data length is 1 bit. This embodiment uses a 2-bit dot matrix algorithm to process the first printing area to obtain first printed data represented by 2 bits. A 1-bit dot matrix algorithm is used to process the second printing area to obtain first printed data represented by 1 bit. That is, in this embodiment, the unit data size of the first data is greater than the unit data size of the second data length. This embodiment uses 2-bit dot matrix processing to obtain 2-bit first printed data for the first printing area, which has high requirements for color and detail, and can accurately represent the color and detail of the printed image. For the second printing area, which has lower requirements for color and detail, the faster 1-bit dot matrix algorithm is used to obtain 1-bit first printed data, which can significantly improve data processing efficiency, speed up data transmission, and reduce storage requirements.
[0070] like Figure 6 In this embodiment, after step S3: performing dot matrix algorithm processing on the second printing area to obtain the second printing data, and the second printing data being printing data represented by the second data length, the following steps are also included;
[0071] S4: Obtain the number of various types of ink dots at the boundary between the first and second printing areas;
[0072] The ink dots at the boundary between the first and second printing areas refer to ink dots belonging to the first printing area but located near the boundary of the second printing area. For example, the ink dots in the first printing area that are closest to the boundary of the second printing area are the 1st, 2nd, or Kth rows of ink dots, where K is an integer greater than 2. The value of K can be set based on experience or printing requirements.
[0073] In this embodiment, the ink droplet type is classified according to the volume of the ink droplets forming the droplets. That is, ink droplets formed by ink droplets of the same volume belong to one type, and ink droplets formed by ink droplets of different volumes belong to different types. By controlling the drive waveform of the printhead, the printhead of the printing device can eject multiple ink droplets of different volumes. For example, some printing devices can eject a first type of ink droplet (the type of ink droplet that forms large ink droplets), a second type of ink droplet (the type of ink droplet that forms medium ink droplets), and a third type of ink droplet (the type of ink droplet that forms small ink droplets). The volume of the first type of ink droplet is larger than the volume of the second type of ink droplet, and the volume of the second type of ink droplet is larger than the volume of the third type of ink droplet. In this embodiment, the number of ink droplet types k can be a positive integer greater than or equal to 2, that is, the printhead can eject at least two types of ink droplets of different volumes. For example, when the first printed data is represented by 2 bits, the first printed data has four values: 0, 1, 2, and 3. Each value can correspond to a type of ink droplet. For example, value 0 corresponds to an empty dot, value 1 corresponds to a small dot, value 2 corresponds to a medium dot, and value 3 corresponds to a large dot. The volume of the ink droplet that forms a large dot is greater than the volume of the ink droplet that forms a medium dot, which is greater than the volume of the ink droplet that forms a small dot.
[0074] S5: Adjust the ink dot volume type of the second print data according to the number of ink dots of each type to obtain the third print data.
[0075] Because the second printing area uses a different bit data type than the first printing area, unnatural ink droplet transitions can easily occur at the boundary between the two areas. To address this, this step adjusts the second printing data corresponding to the second printing area based on the number of ink drops of different sizes at the boundary obtained in the previous step, and then prints using the adjusted third printing data. This allows the ink drops in the second printing area to transition naturally with those in the first printing area, thereby further improving the printing quality.
[0076] like Figure 7 As shown, in this embodiment, as a way to adjust the ink dot volume type of the second print data, step S5: adjusting the ink dot volume type of the second print data according to the number of ink dots of various types to obtain the third print data includes the following steps:
[0077] S51: Obtain the first threshold F;
[0078] The range of the first threshold F can be 40% to 60%, and as a preferred approach, the first threshold F is 50% to 52%.
[0079] S52: Calculate the percentage of each type of ink spot based on the number of each type of ink spot;
[0080] For example, there are three types of ink dots at the boundary between the first and second printing areas: large ink dots, medium ink dots, and small ink dots. The number of large ink dots is N1, the number of medium ink dots is N2, and the number of small ink dots is N3. Then, in this step, the proportion of large ink dots is k1 = N1 / (N1+N2+N3), the proportion of medium ink dots is k2 = N2 / (N1+N2+N3), and the proportion of small ink dots is k3 = N3 / (N1+N2+N3).
[0081] S53: Compare the proportion of each type of ink spot with the size of the first threshold;
[0082] S54: Adjust the ink dot volume type of the second print data based on the comparison result of the proportion of each type of ink dot with the size of the first threshold.
[0083] like Figure 8 As shown, the specific adjustment method includes the following steps:
[0084] S551: Obtain the volume type of ink dots whose quantity ratio is greater than the first threshold as the target volume type;
[0085] S542: After adjusting the ink dot volume type of the second print data to the target volume type, the third print data is obtained.
[0086] For example, if F = 50%, and the proportion of large ink dots is k1 = 60%, the proportion of medium ink dots is k2 = 30%, and the proportion of small ink dots is k3 = 10%, then the proportion of large ink dots is k1 greater than the first threshold F. In this case, the ink dot volume type of the second print data is adjusted to large ink dots to obtain the third print data.
[0087] For example, if F = 50%, and the proportion of large ink dots is k1 = 40%, the proportion of medium ink dots is k2 = 53%, and the proportion of small ink dots is k3 = 17%, then the proportion of medium ink dots is k2, which is greater than the first threshold F. In this case, the ink dot volume type of the second print data is adjusted to medium ink dots to obtain the third print data.
[0088] For example, if F = 50%, and the proportion of large ink dots is k1 = 25%, the proportion of medium ink dots is k2 = 21%, and the proportion of small ink dots is k3 = 54%, then the proportion of small ink dots is k3, which is greater than the first threshold F. In this case, the ink dot volume type of the second print data is adjusted to small ink dots to obtain the third print data.
[0089] In this embodiment, as another way to adjust the ink dot volume type of the second print data, step S5: adjusting the ink dot volume type of the second print data according to the number of ink dots of various types to obtain the third print data includes the following steps:
[0090] S55: Calculate the percentage of each type of ink dot based on the number of each type of ink dot;
[0091] S56: Obtain the volume type of the ink dot with the highest number of dots among various types as the target volume type.
[0092] For example, the proportion of large ink dots is k1 = 31%, the proportion of medium ink dots is k2 = 33%, and the proportion of small ink dots is k3 = 36%. Since the proportion of small ink dots is the highest, the volume type corresponding to small ink droplets is taken as the target volume type.
[0093] S57: After adjusting the droplet volume type of the second print data to the target volume type, the third print data is obtained.
[0094] For example, if the aforementioned steps take the volume type corresponding to the small ink droplets as the target volume type, then this step will adjust the ink droplet volume type of the second print data to small ink droplets to obtain the third print data.
[0095] Example 2
[0096] Please see Figure 9 This embodiment provides a regional printing data processing device, which includes:
[0097] A printing area division module is used to divide the image to be printed into at least a first printing area and a second printing area according to the printing accuracy requirements, wherein the printing accuracy requirements of the first printing area are higher than those of the second printing area.
[0098] The first print data receiving module is used to receive the first print data processed by the first processing end. The first print data is the print data of the first print area processed by color management and / or dot matrix algorithm and represented by a first data length.
[0099] The second printing area processing module is used to process the second printing area using a dot matrix algorithm to obtain the second printing data, which is printing data represented by a second data length.
[0100] The first print data receiving module further includes:
[0101] The first printing area division submodule is used to divide the first printing area into a first variable area and a first immutable area according to whether the local image in the first printing area changes.
[0102] The first immutable print data receiving submodule is used to receive the first immutable print data obtained by the first processing end from the first immutable area and store it in the storage device of the printing device.
[0103] The first variable print data receiving submodule is used to receive the first variable print data obtained by the first processing end processing the first variable area according to the change content and position information of the first variable area before each printing, and to obtain the first immutable print data stored in the storage device.
[0104] Example 3
[0105] In addition, combined Figure 10 The regional printing data processing method described in this embodiment of the invention can be implemented by a regional printing data processing device. Figure 10 A schematic diagram of the hardware structure of the area-based printing data processing device provided in an embodiment of the present invention is shown.
[0106] The area-based printing data processing device may include a processor 401 and a memory 402 storing computer program instructions.
[0107] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0108] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 402 may include removable or non-removable (or fixed) media. Where appropriate, memory 402 may be internal or external to a data processing device. In a particular embodiment, memory 402 is a non-volatile solid-state memory. In a particular embodiment, memory 402 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0109] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any of the data addressing methods for random area printing in the above embodiments.
[0110] In one example, the area-based printing data processing device may also include a communication interface 403 and a bus 410. For example, Figure 6 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.
[0111] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0112] Bus 410 includes hardware, software, or both, that couples components used for fractional ink volume output together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 410 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0113] Example 4
[0114] like Figure 11 As shown, this embodiment provides a regional printing data processing system. The system includes a first processing terminal and the regional printing data processing device in embodiment 2 or the regional printing data processing equipment in embodiment 3. The first processing terminal is used to perform color management processing and / or dot matrix algorithm processing on the first printing area to obtain printing data represented by a first data length.
[0115] The first processing end can be a cloud and / or a server or other device with data processing capabilities. The regional printing data processing device or the regional printing data processing equipment can establish a communication connection with the first processing end through wireless communication, wired communication, or a combination of wireless and wireless communication.
[0116] In this embodiment, the first printing area in the image to be printed is input to the first processing end for color management, and then processed by a dot matrix algorithm to obtain the first printing data represented by the first data length. The first immutable area in the first printing area is processed only once and will not be processed repeatedly. If this part of the image needs to be replaced, it needs to be processed again. Then, the first processing end directly sends the processed first immutable printing data to be stored in the inkjet printer. The first variable area in the first printing area is only processed by inputting the content of each change and the position parameters of the first variable area to the first processing end for color management, and then processed by a dot matrix algorithm to obtain the first immutable printing data represented by the first data length. At the same time, the second printing area generation rules are input into the label generator of the client. The label generator automatically generates and processes the second printing data according to the generation rules and the dot matrix algorithm.
[0117] The regional printing data processing system of this embodiment may further include a printing device. In this embodiment, the regional printing data processing device or equipment can be set up separately as a client, or it can be integrated with the printing device. The working process of the regional printing data processing system of this embodiment is as follows: Figure 12 As shown.
[0118] Example 5
[0119] Furthermore, in conjunction with the regional printing data processing method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the regional printing data processing methods in the above embodiments.
[0120] The above is a detailed description of the regional printing data processing method, apparatus, device, and storage medium provided in the embodiments of the present invention.
[0121] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0122] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0123] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0124] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A method for processing data in regional printing, characterized in that, The method includes the following steps: S1: Obtain printing accuracy requirements and / or printing color requirements, and divide the image to be printed into at least a first printing area and a second printing area, wherein the printing accuracy requirements and / or printing color requirements of the first printing area are higher than the printing accuracy requirements and / or printing color requirements of the second printing area. S2: Receive the first print data obtained by the first processing end, wherein the first print data is print data of the first print area obtained by color management processing and / or dot matrix algorithm processing and represented by the first data length; S3: Perform dot matrix algorithm processing on the second printing area to obtain the second printing data, where the second printing data is the printing data represented by the second data length; S4: Obtain the number of various types of ink dots at the boundary between the first and second printing areas; S5: Adjust the ink dot volume type of the second print data according to the number of ink dots of each type to obtain the third print data; The lengths of the first and second data are different. Step S5: Adjusting the ink dot volume type of the second print data according to the quantity of each type of ink dot to obtain the third print data includes the following steps: S51: Obtain the first threshold F; S52: Calculate the percentage of each type of ink spot based on the number of each type of ink spot; S53: Compare the number of each type of ink spot with the first threshold value; S54: Adjust the ink dot volume type of the second print data based on the comparison result of the proportion of the number of various types of ink dots with the size of the first threshold.
2. The method for processing regional printing data according to claim 1, characterized in that, S2: Receiving the first print data processed by the first processing terminal, wherein the first print data is print data of the first print area processed by color management and / or dot matrix algorithm and represented by a first data length, further includes the following steps: S21: Divide the first printed area into a first movable area and a first immutable area based on whether the local image in the first printed area changes; S22: Receive the first immutable print data obtained by the first processing end from processing the first immutable area and store it in the storage device of the printing equipment; S23: Before each printing, receive the first variable printing data obtained by the first processing end processing the first variable area according to the change content and position information of the first variable area, and obtain the first immutable printing data stored in the storage device.
3. The method for processing regional printing data according to claim 1, characterized in that, S55: Adjust the ink dot volume type of the second print data according to the comparison result of the proportion of the number of various types of ink dots with the size of the first threshold, including the following steps; S541: Obtain the volume type of ink dots whose quantity ratio is greater than the first threshold as the target volume type; S542: After adjusting the ink dot volume type of the second print data to the target volume type, the third print data is obtained.
4. The method for processing regional printing data according to any one of claims 1 to 3, characterized in that, The first data has a length of 2 bits, and the second data has a length of 1 bit.
5. A regional printing data processing device, characterized in that, The apparatus employing the regional printing data processing method according to any one of claims 1 to 4 comprises: A printing area division module is used to obtain printing accuracy requirements and divide the image to be printed into at least a first printing area and a second printing area, wherein the printing accuracy requirements of the first printing area are higher than those of the second printing area. The first print data receiving module is used to receive the first print data processed by the first processing terminal. The first print data is print data of the first print area processed by color management and / or dot matrix algorithm and represented by a first data length. The second printing area processing module is used to process the second printing area using a dot matrix algorithm to obtain the second printing data, which is printing data represented by a second data length. The lengths of the first and second data are different.
6. A regional printing data processing device, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-4.
7. A regional printing data processing system, characterized in that, It includes a first processing end and the regional printing data processing device of claim 5 or the regional printing data processing equipment of claim 6, wherein the first processing end is used to perform color management processing and / or dot matrix algorithm processing on the first printing area to obtain printing data represented by a first data length.
8. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-4 is implemented when the computer program instructions are executed by the processor.
Citation Information
Patent Citations
Printer and method of processing an image to be printed
CN105103529A
Printing image data processing method, device and equipment and storage medium
CN109669647A