Label printer control method and device, storage medium and electronic equipment

By reading the basic color rendering level parameters from the RFID chip of the label paper and combining it with the printing environment temperature and compensation coefficient, the heating parameters are automatically adjusted, solving the tedious problem of manual setting of label printers and achieving efficient printing quality assurance.

CN120792348APending Publication Date: 2025-10-17WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510635852.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

During the printing process, existing label printers require manual adjustment of heating time or heating power to adapt to different types of label paper, which makes the operation cumbersome and relies on manual experience, which is prone to errors and affects the printing quality.

Method used

By reading the basic color rendering level parameters from the RFID chip of the label paper, combined with the printing environment temperature and environmental compensation coefficient, the target heating parameters are automatically determined, and the parameters are adjusted during the printing process to achieve adaptation to the label paper.

Benefits of technology

It simplifies manual setting operations, ensures printing quality, and can automatically adjust heating parameters according to different label papers, improving printing effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120792348A_ABST
    Figure CN120792348A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a control method and device of a label printer, a storage medium and electronic equipment, and the method comprises the steps: reading a pre-stored basic color development grade parameter from a radio frequency identification chip configured by label paper, and determining a target heating parameter according to the basic color development grade parameter, and executing a printing task according to the target heating parameter. Therefore, by reading the basic color development grade parameters of the label paper from the radio frequency identification chip, the heating parameters matched with the label paper can be automatically determined according to the color development grades of different label paper, so that the heating parameters matched with the different label paper are adopted to execute the printing task, a user does not need to manually set the heating parameters, and therefore the printing efficiency is improved. The printing quality can be guaranteed, and manual setting operation in the printing process can be simplified.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of printing, and particularly relates to a label printer control method and device, a storage medium and an electronic device. BACKGROUND

[0002] In related technologies, when printing label content using a label printer, the heating time or heating power in the printing process needs to be manually adjusted to adapt to the color development characteristics of different types of label paper, so as to ensure the printing effect of the label paper. If the heating time or heating power is not correctly adjusted, the printing effect may be unsatisfactory, color development may be too light or too deep, and even the text of the label may be blurred and the pattern may be distorted, thereby affecting the readability and quality of the label. Adjusting the heating time or heating power relies on manual operation, and manual setting is not only cumbersome to operate, but also prone to errors due to the experience of the operator, which may result in poor printing quality. SUMMARY

[0003] Embodiments of the present application provide a label printer control method and device, a computer storage medium and an electronic device. The technical solution is as follows:

[0004] In a first aspect, embodiments of the present application provide a label printer control method, which comprises:

[0005] reading a pre-stored basic color development level parameter from a radio frequency identification chip configured in the label paper;

[0006] determining a target heating parameter according to the basic color development level parameter, and performing a printing task according to the target heating parameter.

[0007] In combination with the first aspect, in a certain possible implementation manner, the reading of the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper comprises:

[0008] reading the pre-stored basic color development level parameter from a radio frequency identification chip installed on a label paper reel; wherein the basic color development level parameter is determined based on the material type and color development characteristics of the label paper.

[0009] In combination with the first aspect, in a certain possible implementation manner, the reading of the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper comprises:

[0010] when it is detected that the label paper is first loaded into the label printer, reading the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper through a built-in radio frequency identification module.

[0011] In combination with the first aspect, in a certain possible implementation manner, the determination of the target heating parameter according to the basic color development level parameter comprises:

[0012] obtaining a base heating parameter corresponding to the base color rendering grade parameter;

[0013] obtaining a printing environment temperature, and obtaining an environment compensation coefficient;

[0014] performing parameter adjustment processing on the base heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain a target heating parameter.

[0015] In combination with the above-mentioned embodiments, in a possible implementation, the base heating parameter comprises a base heating time, the target heating parameter comprises a target heating time, and the performing parameter adjustment processing on the base heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain a target heating parameter comprises:

[0016] obtaining a preset environment temperature;

[0017] performing parameter adjustment processing on the base heating time according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain a target heating time by using a first calculation formula;

[0018] wherein the first calculation formula satisfies the following formula:

[0019] t=t0[1+K×(T2-T1)]

[0020] The t represents the target heating time, the t0 represents the base heating time, the K represents the environment compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0021] In combination with the above-mentioned embodiments, in a possible implementation, the base heating parameter comprises a base heating power, the target heating parameter comprises a target heating power, and the performing parameter adjustment processing on the base heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain a target heating parameter comprises:

[0022] obtaining a preset environment temperature;

[0023] performing parameter adjustment processing on the base heating power according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain a target heating power by using a second calculation formula;

[0024] wherein the second calculation formula satisfies the following formula:

[0025] P=P0[1+K×(T2-T1)]

[0026] The P represents the target heating power, the P0 represents the basic heating power, the K represents the environmental compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0027] In combination with the above embodiment, in a possible embodiment, obtaining the environmental compensation coefficient includes:

[0028] An environmental compensation coefficient is read from the radio frequency identification chip; wherein the environmental compensation coefficient is determined based on a temperature-sensitive characteristic corresponding to the label paper.

[0029] In combination with the above embodiment, in a certain possible embodiment, the target heating parameter includes a target heating time, and after the target heating parameter is obtained by performing parameter adjustment processing on the basic heating parameter according to the printing environment temperature and the environment compensation coefficient, the method further includes:

[0030] If the target heating time is greater than the preset heating time, a heating warning is output.

[0031] In conjunction with the first aspect, in some possible implementations, the method further includes:

[0032] Acquire a color rendering level modification operation input by a user, and determine a reference color rendering level parameter corresponding to the color rendering level modification operation;

[0033] determining a target offset according to the reference color rendering level parameter and the basic color rendering level parameter;

[0034] A sum of half of the target offset and the basic display level parameter is calculated, and a parameter update process is performed on the reference color rendering level parameter based on the sum to obtain a target color rendering level parameter.

[0035] In conjunction with the first aspect, in some possible implementations, after executing the printing task according to the target heating parameters, the method further includes:

[0036] Capture printed content images through a camera;

[0037] Performing clarity evaluation processing on the printed content image using a print evaluation model to obtain a target clarity score;

[0038] determining a first clarity score among the target clarity scores that is less than a preset score, and determining a target number of the first clarity score;

[0039] If the target number is greater than or equal to a preset number of times, determining a difference between the preset score and the first clarity score, determining a first product of the difference and the first preset value, and determining the first product as a heating time adjustment coefficient;

[0040] obtaining a historical heating time corresponding to the label paper, determining a second product of the historical heating time and the heating time adjustment coefficient, determining a first sum of the second product and the historical heating time, and determining the first sum as an updated heating time corresponding to the label paper.

[0041] In combination with the above-mentioned embodiments, in some possible embodiments, the method further comprises:

[0042] writing the updated heating time into the radio frequency identification chip.

[0043] In combination with the above-mentioned embodiments, in some possible embodiments, the historical heating time is a basic heating time corresponding to the basic color development level parameter, or the historical heating time is a corrected heating time.

[0044] In combination with the first aspect, in some possible embodiments, the performing the printing task according to the target heating parameter comprises:

[0045] when the basic color development level parameter is greater than or equal to a preset color development level, starting a double-pulse heating mode, and performing the printing task according to the target heating parameter in the double-pulse heating mode.

[0046] In combination with the above-mentioned embodiments, in some possible embodiments, the double-pulse heating mode comprises a first heating power and a second heating power, and the first heating power is greater than the second heating power.

[0047] the performing the printing task according to the target heating parameter in the double-pulse heating mode comprises:

[0048] performing a preheating process according to the target heating parameter by using the first heating power, and performing the printing task according to the target heating parameter by using the second heating power after a preheating duration is equal to a preset duration.

[0049] In combination with the first aspect, in some possible embodiments, the performing the printing task according to the target heating parameter comprises:

[0050] starting the printing task according to the target heating parameter, and determining a printing speed in a printing process.

[0051] determining a third product of the printing speed and a second preset value, determining a basic heating time corresponding to the basic color development level parameter, determining a fourth product of the basic heating time and the third product, determining a second sum of the basic heating time and the fourth product, and determining the second sum as a dynamic corrected heating time.

[0052] performing the printing task based on the dynamic corrected heating time.

[0053] In a second aspect, the embodiments of the present application provide a control device of a label printer, the device comprising:

[0054] a data reading module configured to read a pre-stored basic color development level parameter from a radio frequency identification chip of the label paper;

[0055] a printing adjustment module configured to determine a target heating parameter according to the basic color development level parameter, and perform a printing task according to the target heating parameter.

[0056] In a third aspect, the embodiments of the present application provide a computer storage medium, which has a plurality of instructions, the instructions being adapted to be loaded by a processor and execute the method described above.

[0057] In a fourth aspect, the embodiments of the present application provide an electronic device, which can include a memory and a processor; wherein the memory stores a computer program, the computer program being adapted to be loaded by the memory and execute the method described above.

[0058] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects:

[0059] The control method of the label printer provided by the embodiments of the present application reads the pre-stored basic color development level parameter from the radio frequency identification chip of the label paper, determines the target heating parameter according to the basic color development level parameter, and then performs the printing task according to the target heating parameter. In this way, by reading the basic color development level parameter of the label paper from the radio frequency identification chip, the heating parameter adapted to the label paper can be automatically determined according to the color development level of different label papers, so that the printing task can be performed by using the heating parameter adapted to different label papers, without the need for the user to manually set the heating parameter. Therefore, not only the printing quality can be ensured, but also the manual setting operation in the printing process can be simplified. BRIEF DESCRIPTION OF DRAWINGS

[0060] In order to more clearly illustrate the technical scheme in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0061] Figure 1 is a flowchart of a control method of a label printer provided by the embodiments of the present application;

[0062] Figure 2 is a flowchart of another control method of a label printer provided by the embodiments of the present application;

[0063] Figure 3 is a flowchart of another control method of a label printer provided by an embodiment of the present application;

[0064] Figure 4 is a flowchart of another control method of a label printer provided by an embodiment of the present application;

[0065] Figure 5 is a flowchart of another control method of a label printer provided by an embodiment of the present application;

[0066] Figure 6 is a flowchart of another control method of a label printer provided by an embodiment of the present application;

[0067] Figure 7 is a flowchart of another control method of a label printer provided by an embodiment of the present application;

[0068] Figure 8 is a flowchart of another control method of a label printer provided by an embodiment of the present application;

[0069] Figure 9 is a structural diagram of a control device of a label printer provided by an embodiment of the present application;

[0070] Figure 10 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0071] In order to make the purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0072] In the description of the present application, it needs to be understood that the terms "first", "second" and the like are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it needs to be explained that, unless otherwise explicitly specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device. The specific meaning of the above terms in the present application can be understood by the person skilled in the art. In addition, in the description of the present application, "a plurality of" means two or more, unless otherwise specified. The association relationship of the associated objects is described, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.

[0073] In one embodiment, as shown in Figure 1 A control method of a label printer is specifically proposed, which can be implemented depending on a computer program and can be run on a control device of a label printer based on a von Neumann system. The computer program can be integrated in an application or run as an independent tool application.

[0074] Specifically, the control method of the label printer comprises:

[0075] S101, reading a pre-stored basic color development level parameter from a radio frequency identification chip configured on a label paper.

[0076] It can be understood that the label paper refers to consumables used by the label printer, which is used to print various label contents, such as text, numbers, pictures, one-dimensional bar codes, two-dimensional bar codes and the like.

[0077] The radio frequency identification chip refers to a micro wireless transceiver mainly composed of an internal antenna and a chip based on radio frequency identification technology.

[0078] The basic color development level parameter refers to a level parameter for characterizing the color development characteristics of the label paper. Optionally, the basic color development level parameter can be a level parameter positively correlated with the color development difficulty of the label paper, for example, for the label paper with greater color development difficulty, the corresponding basic color development level parameter is a parameter with greater level value, and for the label paper with smaller color development difficulty, the corresponding basic color development level parameter is a parameter with smaller level value.

[0079] In some embodiments, step S101 is performed, which can specifically be: the label printer performs data communication processing with the radio frequency identification chip configured on the label paper through the radio frequency identification module, and obtains the pre-stored basic color development level parameter in the radio frequency identification chip. It can be understood that the basic color development level parameter can be written into the radio frequency identification chip corresponding to the label paper during the production process of the label paper.

[0080] Optionally, the label printer can read the pre-stored basic color development level parameter from the radio frequency identification chip when detecting newly loaded label paper.

[0081] Optionally, the label printer can read the pre-stored basic color development level parameter from the radio frequency identification chip when receiving a print instruction for a print task.

[0082] S102, determining a target heating parameter according to the basic color development level parameter, and performing the print task according to the target heating parameter.

[0083] It can be understood that the target heating parameter refers to a parameter used to control and adjust the heating process of the label printer. Specifically, the target heating parameter can include at least one of a heating time and a heating power. The heating time refers to the duration required for the heating element of the label printer to reach a certain working temperature from starting heating. The heating power refers to the power of the heating element of the label printer during the heating process, and the heating power determines the heating capacity of the heating element.

[0084] In some embodiments, step S102 is performed, which can specifically be: obtaining a heating parameter mapping table, querying the target heating parameter corresponding to the basic color development level parameter from the heating parameter mapping table, and performing the print task according to the target heating parameter.

[0085] It can be understood that the above-mentioned heating parameter mapping table can store at least one basic color development level parameter and the heating parameter corresponding to each basic color development level parameter. For example, the heating parameter mapping table can include at least one basic color development level parameter and the heating time corresponding to each basic color development level parameter, and / or at least one basic color development level parameter and the heating power corresponding to each basic color development level parameter. Since label papers of different materials have different color development characteristics, some materials of label paper are difficult to develop color, and therefore a longer heating time or a larger heating power is required to reach a certain working temperature. Therefore, according to expert experience, corresponding basic color development level parameters can be pre-configured for different label papers, and heating parameters adapted to the basic color development level parameters can be pre-configured, and the heating parameters and corresponding basic color development level parameters can be stored in the heating parameter mapping table. The heating parameter mapping table can be stored locally in the label printer, so as to facilitate the label printer to obtain in time.

[0086] Optionally, the printing task is performed according to the target heating parameter, specifically, in the printing process, the heating element is controlled to heat according to the target heating parameter, and the content on the label paper is printed using the heating element after heating.

[0087] The control method of the label printer provided by the embodiments of the present application reads the pre-stored basic color development level parameter from the radio frequency identification chip arranged on the label paper, determines the target heating parameter according to the basic color development level parameter, and then performs the printing task according to the target heating parameter. In this way, by reading the basic color development level parameter of the label paper from the radio frequency identification chip, the heating parameter suitable for the label paper can be automatically determined according to the color development level of different label papers, so that the printing task is performed using the heating parameter suitable for different label papers, without the need for manual setting of the heating parameter by the user. Therefore, not only the printing quality can be ensured, but also the manual setting operation in the printing process can be simplified.

[0088] Please refer to Figure 2 The embodiments of the present application provide another flowchart of the control method of the label printer.

[0089] Specifically, the control method of the label printer comprises:

[0090] S201, reading a pre-stored basic color development level parameter from a radio frequency identification chip arranged on a label paper reel.

[0091] The basic color development level parameter is determined based on the material type and color development characteristics of the label paper.

[0092] It can be understood that the color development characteristics of the label paper refer to the characteristics for characterizing the color reduction ability of the label paper. Specifically, the color development characteristics can include surface smoothness, ink absorption, coating type and the like.

[0093] The level represented by the basic color development level parameter can be represented by a number, for example, 10 integers in 1-10 can be used to represent 10 levels, and when the value of the basic color development level parameter is larger, it can represent that the color development difficulty of the label paper is greater.

[0094] Optionally, the basic color development level parameter can be determined based on the material type and color development characteristics of the label paper in the process of producing the label paper, and then the basic color development level parameter is written into the radio frequency identification chip corresponding to the label paper, and the radio frequency identification chip is arranged in the label paper reel.

[0095] In step S201, the label printer is provided with a radio frequency identification module, and the label printer identifies the radio frequency identification installed on the label paper reel through the radio frequency identification module to obtain the pre-stored basic color development level parameter.

[0096] In step S202, the target heating parameter is determined according to the basic color development level parameter, and the printing task is performed according to the target heating parameter.

[0097] Specifically, the implementation of step S202 can refer to the description of the related part in the embodiment shown in Figure 1 The description of the related part in the embodiment shown in

[0098] In the control method of the label printer provided in the embodiments of the present application, the pre-stored basic color development level parameter is read from the radio frequency identification chip installed on the label paper reel, the target heating parameter is determined according to the basic color development level parameter, and the printing task is performed according to the target heating parameter. In this way, the basic color development level parameter is read from the radio frequency identification chip installed on the label paper reel, which simplifies the process of obtaining the basic color development level parameter by the label printer. Then, the heating parameter suitable for the label paper is automatically determined according to the color development level of the different label papers, and the printing task is performed by using the heating parameter suitable for the different label papers without manual setting of the heating parameter by the user. Therefore, the printing quality can be ensured, and the manual setting operation in the printing process is simplified.

[0099] Please refer to Figure 3 Another flowchart of the control method of the label printer is provided in the embodiments of the present application.

[0100] Specifically, the control method of the label printer comprises:

[0101] In step S301, when it is detected that the label paper is first loaded into the label printer, the pre-stored basic color development level parameter is read from the radio frequency identification chip configured on the label paper through the built-in radio frequency identification module.

[0102] In step S301, when it is detected that the label paper is loaded into the label printer, the label printer can identify the radio frequency identification chip configured on the label paper through the radio frequency identification module to obtain the model identification of the label paper. If the model identification is detected for the first time, it can be determined that the label paper is first loaded into the label printer, and then the pre-stored basic color development level parameter is read from the radio frequency identification chip configured on the label paper through the built-in radio frequency identification module.

[0103] Optionally, after the basic color development level parameter corresponding to the label paper is read, the mapping relationship between the model identification of the label paper and the basic color development level parameter can be saved, so that the basic color development level parameter can be directly obtained from the mapping relationship when the label paper is detected to be loaded into the label printer again in the future.

[0104] S302, determine the target heating parameter according to the basic color development level parameter, and execute the printing task according to the target heating parameter.

[0105] The implementation of step S302 can refer to the description of the related part in the embodiment shown in Figure 1 The implementation of step S302 can refer to the description of the related part in the embodiment shown in

[0106] In the control method of the label printer provided in the embodiments of the present application, when it is detected that the label paper is first loaded into the label printer, the pre-stored basic color development level parameter is read from the radio frequency identification chip configured on the label paper through the built-in radio frequency identification module, the target heating parameter is determined according to the basic color development level parameter, and the printing task is executed according to the target heating parameter. Therefore, when it is detected that the label paper is first loaded, the basic color development level parameter is read from the radio frequency identification chip, and it is not necessary to repeatedly read the basic color development level parameter from the radio frequency identification chip when the label paper is repeatedly loaded, so that the process of obtaining the basic color development level parameter by the label printer is simplified. Then, the heating parameter suitable for the label paper is automatically determined according to the color development level of different label papers, so that the printing task is executed by using the heating parameter suitable for different label papers, without the need for manual setting of the heating parameter by the user. Therefore, not only the printing quality can be ensured, but also the manual setting operation in the printing process is simplified.

[0107] Please refer to Figure 4 The embodiments of the present application provide another flowchart of the control method of the label printer.

[0108] Specifically, the control method of the label printer comprises the following steps.

[0109] S401, read the pre-stored basic color development level parameter from the radio frequency identification chip configured on the label paper.

[0110] The implementation of step S401 can refer to the description of the related part in the embodiment shown in Figure 1 The implementation of step S401 can refer to the description of the related part in the embodiment shown in

[0111] S402, obtain the basic heating parameter corresponding to the basic color development level parameter.

[0112] In some embodiments, step S401 can be specifically implemented as follows: obtaining a basic heating parameter mapping table, and querying the basic heating parameter corresponding to the basic color development level parameter from the basic heating parameter mapping table.

[0113] It can be understood that the above basic heating parameter mapping table can store at least one basic color development level parameter and the basic heating parameter corresponding to each basic color development level parameter. For example, the basic heating parameter mapping table can include at least one basic color development level parameter and the basic heating time corresponding to each basic color development level parameter, and / or at least one basic color development level parameter and the basic heating power corresponding to each basic color development level parameter. Since different materials of label paper have different color development characteristics, some materials of label paper are difficult to develop color, and a longer heating time or a larger heating power is required to reach a certain working temperature, so the corresponding basic color development level parameter can be configured for different label paper according to expert experience in advance, and the basic heating parameter matched with the basic color development level parameter is configured in advance, and the basic heating parameter and the basic color development level parameter corresponding to the basic heating parameter are stored in the basic heating parameter mapping table. The basic heating parameter mapping table can be stored in the local label printer, so as to facilitate the label printer to obtain in time.

[0114] In S403, the printing environment temperature is obtained, and the environment compensation coefficient is obtained.

[0115] The printing environment temperature refers to the temperature in the environment where the label printer is located.

[0116] In step S403, the printing environment temperature is obtained, which can be specifically: the label printer can collect the printing environment temperature through the built-in temperature and humidity sensor. Alternatively, the label printer can collect the printing environment temperature through the built-in temperature sensor. Alternatively, the label printer can send a temperature query instruction to the server, and the server determines the environment temperature of the location of the label printer through a weather query platform or weather query software. The label printer receives the environment temperature sent by the server based on the temperature query instruction, and determines the environment temperature as the printing environment temperature.

[0117] It can be understood that the environment compensation coefficient is a coefficient for adjusting the heating parameter at a certain temperature.

[0118] In step S403, the environment compensation coefficient is obtained, specifically, the label printer reads the environment compensation coefficient from the radio frequency identification chip. The environment compensation coefficient is determined based on the temperature sensitive characteristics of the label paper. For label papers of different material types, their corresponding temperature sensitive characteristics are different, and their corresponding color development characteristics are also different. Therefore, in the same printing environment with the same printing environment temperature, when the printing environment temperature is lower than a certain temperature, the environment compensation coefficients required by label papers of different material types are also different. It can be understood that the environment compensation coefficients corresponding to label papers of different material types can be pre-configured according to expert experience, and the environment compensation coefficients are written into the radio frequency identification chip corresponding to the label paper, so that the label printer can conveniently obtain the environment compensation coefficient when needed.

[0119] In step S404, the target heating parameter is obtained by performing parameter adjustment processing on the basis heating parameter according to the printing environment temperature and the environment compensation coefficient.

[0120] In some embodiments, taking the basis heating parameter including the basis heating time and the target heating parameter including the target heating time as an example, step S404 is performed, which can specifically include the following steps:

[0121] A1: obtaining a preset environment temperature;

[0122] A2: using a first calculation formula to perform parameter adjustment processing on the basis heating time according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain the target heating time;

[0123] The first calculation formula satisfies the following formula:

[0124] t=t0[1+K×(T2-T1)]

[0125] The t represents the target heating time, the t0 represents the basis heating time, the K represents the environment compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0126] In step A1, the preset environment temperature refers to a temperature constant set according to actual implementation requirements. For example, the room temperature is between 20-25 degrees Celsius, and the preset environment temperature can be set to 20 degrees Celsius, 21 degrees Celsius, 22 degrees Celsius, 23 degrees Celsius, 24 degrees Celsius or 25 degrees Celsius according to actual implementation requirements. The preset environment temperature is obtained, specifically, the preset environment temperature is obtained from a local parameter configuration file.

[0127] In step A2, for example, for a label paper with a material of thermal paper, the environmental compensation coefficient K can be set as 0.003, and the first calculation formula can be understood as: when the printing environment temperature is lower than the preset environment temperature, the heating time is increased by 0.3% for each 1 degree Celsius.

[0128] Optionally, after step S404 is performed, the method of the embodiments of the present application further includes: if the target heating time is greater than the preset heating time, outputting a heating warning.

[0129] It can be understood that the preset heating time can be set according to implementation requirements.

[0130] It can be understood that the outputting of the heating warning can include at least one of the following implementation manners: controlling a preset indicator light to flash; outputting a preset heating time overrun prompt sound; displaying a preset heating time overrun prompt text through a display screen; and displaying a preset heating time overrun prompt pattern through the display screen.

[0131] Thus, when it is detected that the target heating time is greater than the preset heating time, the user is reminded to adjust the heating time by outputting the heating warning, so as to avoid damage to the print head caused by too long heating time.

[0132] In still other embodiments, taking the case that the basic heating parameter includes a basic heating power and the target heating parameter includes a target heating power as an example, step S404 can specifically include the following steps:

[0133] B1: obtaining a preset environment temperature;

[0134] B2: performing parameter adjustment processing on the basic heating power to obtain the target heating power according to the printing environment temperature, the environmental compensation coefficient and the preset environment temperature by using a second calculation formula;

[0135] wherein the second calculation formula satisfies the following formula:

[0136] P=P0[1+K×(T2-T1)]

[0137] P represents the target heating power, P0 represents the basic heating power, K represents the environmental compensation coefficient, T1 represents the printing environment temperature, and T2 represents the preset environment temperature.

[0138] In step B1, the preset environment temperature refers to a temperature constant set according to actual implementation requirements. For example, room temperature is between 20-25 degrees Celsius, and the preset environment temperature can be set to 20 degrees Celsius, 21 degrees Celsius, 22 degrees Celsius, 23 degrees Celsius, 24 degrees Celsius or 25 degrees Celsius according to actual implementation requirements. The preset environment temperature is obtained, which can be specifically obtained from a local parameter configuration file.

[0139] In step A2, for example, for label paper with thermal paper, the environmental compensation coefficient K can be set as a constant a, and the second calculation formula can be understood as: when the printing environment temperature is lower than the preset environment temperature, the heating power is increased by 100a% for every 1 degree Celsius.

[0140] S405, performing a printing task according to the target heating parameter.

[0141] In some embodiments, step S405 can be specifically performed as follows: controlling the heating element to heat according to the target heating time and / or the target heating power, so that the heating element reaches the preset working temperature to print the content of the label paper.

[0142] In the control method of the label printer provided in the embodiments of the present application, after reading the basic color development level parameter, the basic heating parameter corresponding to the basic color development level parameter is obtained, the printing environment temperature is obtained, and the environmental compensation coefficient is obtained. The target heating parameter is obtained by performing parameter adjustment processing on the basic heating parameter according to the printing environment temperature and the environmental compensation coefficient, and the printing task is performed according to the target heating parameter. Therefore, by obtaining the printing environment temperature and the environmental compensation coefficient, the basic heating parameter corresponding to the basic color development level parameter is flexibly adjusted according to the printing environment temperature and the environmental compensation coefficient, and the printing task is performed using the adjusted heating parameter. Not only can it avoid color development abnormalities of label paper with certain materials due to temperature difference, but also can ensure printing quality, and does not need manual setting of heating parameters, simplifying manual setting operation in the printing process.

[0143] Please refer to Figure 5 The embodiments of the present application provide another flowchart of a control method of a label printer.

[0144] Specifically, the control method of the label printer comprises:

[0145] S501, reading the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper.

[0146] S502, determining the target heating parameter according to the basic color development level parameter, and performing the printing task according to the target heating parameter.

[0147] Specifically, the implementation of steps S501 and S502 can refer to the description of the related parts in the embodiments shown in the description of the first aspect, which will not be repeated here. Figure 1 The description of the related parts in the embodiments shown in the description of the first aspect will not be repeated here.

[0148] S503, obtaining a color rendering level modification operation input by a user, and determining a reference color rendering level parameter corresponding to the color rendering level modification operation.

[0149] The color rendering level modification operation refers to an operation of modifying the basic color rendering level parameter by the user.

[0150] In step S503, obtaining the color rendering level modification operation input by the user can be specifically: obtaining the color rendering level modification operation input by the user based on a color rendering level adjustment control in the label printer. The color rendering level adjustment control can be a physical entity control configured in the label printer, or a virtual control displayed on the display screen of the label printer. In some embodiments, obtaining the color rendering level modification operation input by the user can also be: obtaining the color rendering level modification operation input by the user through the user terminal. For example, the user terminal can be installed with an operation software for controlling the label printer. The operation software can be used for operations such as control, configuration, and management of the label printer. The operation software can display a color rendering level configuration interface. When the user inputs the color rendering level modification operation on the color rendering level configuration interface, the user terminal can forward the color rendering level modification operation to the label printer.

[0151] In step S503, determining the reference color rendering level parameter corresponding to the color rendering level modification operation can be specifically: determining the modified color rendering level parameter indicated by the color rendering level modification operation as the reference color rendering level parameter.

[0152] S504, determining a target offset based on the reference color rendering level parameter and the basic color rendering level parameter.

[0153] In step S504, the difference between the first level value of the reference color rendering level parameter and the second level value of the basic color rendering level parameter can be calculated to obtain the target offset.

[0154] S505, calculating the sum of one-half of the target offset and the basic display level parameter, and performing parameter update processing on the basic color rendering level parameter based on the sum to obtain a target color rendering level parameter.

[0155] In step S505, the base color rendering level parameter can be modified to a sum of one half of the target offset and the base display level parameter to obtain a target color rendering level parameter with a level value of the sum. Specifically, the base color rendering level parameter can be stored in a parameter mapping table, and the base color rendering level parameter in the parameter mapping table can be modified to the target color rendering level parameter with a level value of the sum.

[0156] In the control method of the label printer provided in the present application, after reading the base color rendering level parameter, a target heating parameter is determined according to the base color rendering level parameter, a printing task is performed according to the target heating parameter, a color rendering level modification operation input by a user is obtained, a reference color rendering level parameter corresponding to the color rendering level modification operation is determined, a target offset is determined according to the reference color rendering level parameter and the base color rendering level parameter, a sum of one half of the target offset and the base display level parameter is calculated, and a parameter updating process is performed on the base color rendering level parameter based on the sum to obtain a target color rendering level parameter. Thus, the embodiments of the present application not only can automatically perform a printing task using a heating parameter adapted to different label papers, but also can optimize the originally set base color rendering level parameter by integrating the experience of the user setting the color rendering level, so that the embodiments of the present application not only can guarantee the printing quality of the present printing task and simplify the manual setting operation in the printing process, but also can optimize the color rendering level parameter by integrating the experience of the user, so as to perform a printing task according to the optimized color rendering level parameter in the subsequent printing process of the label paper to further improve the printing quality of the subsequent label paper.

[0157] Please refer to Figure 6 Another flowchart of the control method of the label printer is provided for the embodiments of the present application.

[0158] Specifically, the control method of the label printer comprises:

[0159] S601, reading a pre-stored base color rendering level parameter from a radio frequency identification chip configured on the label paper.

[0160] S602, determining a target heating parameter according to the base color rendering level parameter, and performing a printing task according to the target heating parameter.

[0161] Specifically, the implementation manners of steps S601 and S602 can refer to the descriptions of the related parts in the embodiments shown in Figure 1 The descriptions of the related parts in the embodiments shown in

[0162] S603, capturing a printing content image through a camera.

[0163] It can be understood that the printing content image refers to an image of the label paper printed with the printing content captured by the label printer.

[0164] In step S603, the label printer enables the camera to capture the printed content image of the page paper after completing the printing of the printed content in the process of executing the printing task. It can be understood that a printing task can complete the printing of multiple page papers, and therefore the camera can capture the printed content images corresponding to the multiple page papers respectively.

[0165] S604, the clarity evaluation model is used to evaluate the printed content image to obtain a target clarity score.

[0166] In step S604, the label printer can be locally configured with a pre-trained printing evaluation model. Taking the printed content as text as an example, the principle of obtaining the target clarity score by using the printing evaluation model can be: extracting text edge features and text texture features in the printed content image through a preset convolution layer of the printing evaluation model, extracting key features of the text edge features and the text texture features through a preset pooling layer of the printing evaluation model to obtain text key features, and obtaining the target clarity score by linear combination processing and activation function conversion processing of the text key features through a preset full connection layer of the printing evaluation model. It can be understood that the parameters and weights in the preset convolution layer, the preset pooling layer, and the preset full connection layer of the printing evaluation model can be determined in the model training process.

[0167] It can be understood that the printing evaluation model can process multiple printed content images to obtain a target clarity score for each printed content image.

[0168] S605, determining a first clarity score less than the preset score in the target clarity score, and determining a target number of the first clarity score.

[0169] In step S605, the preset score can be set according to the implementation requirements. For example, the target clarity score output by the printing evaluation model ranges from 0 to 100, and the preset score can be set to 90.

[0170] S606, if the target number is greater than or equal to a preset number of times, determining the difference between the preset score and the first clarity score, determining the first product of the difference and a first preset value, and determining the first product as the heating time adjustment coefficient.

[0171] In step S606, the preset score is used as the minuend, and the first clarity score is used as the subtrahend to calculate the difference between the preset score and the first clarity score. The first clarity score is less than the preset score, and the difference is a positive number.

[0172] In step S606, the first preset value can be set according to the implementation requirements. For example, the first preset value can be set to 0.05.

[0173] S607, acquire the historical heating time corresponding to the label paper, determine a second product of the historical heating time and the heating time adjustment coefficient, determine a first sum of the second product and the historical heating time, and determine the first sum as the updated heating time corresponding to the label paper.

[0174] The historical heating time is a basic heating time corresponding to the basic color development level parameter, or the historical heating time is the corrected heating time.

[0175] It can be understood that the corrected heating time described above can refer to the heating time obtained by adjusting the basic heating time. For example, when the target heating parameter in S602 includes a target heating time, the corrected heating time can also be the target heating time.

[0176] S608, write the updated heating time into the radio frequency identification chip.

[0177] In step S608, the label printer can write the updated heating time into the radio frequency identification chip through the radio frequency identification module.

[0178] In the control method of the label printer provided in the present application, not only can the heating parameters suitable for different label papers be automatically adopted to perform the printing task, but also the user does not need to manually set the heating parameters. In addition, the printing evaluation model can be used to perform the clarity evaluation processing on the printing content image collected by the camera to obtain the target clarity score. Furthermore, the heating time is updated according to the target clarity score to obtain the updated heating time corresponding to the label paper, and the updated heating time is written into the radio frequency identification chip. Therefore, the embodiments of the present application not only can guarantee the printing quality of the present printing task and simplify the manual setting operation in the printing process, but also can write the updated heating time determined based on the clarity score into the radio frequency identification chip to realize the automatic update of the label paper parameters, so as to cope with the influence of the aging of the label paper material or the aging change of the printer on the printing process.

[0179] Please refer to Figure 7 The present application provides another flowchart of the control method of the label printer.

[0180] Specifically, the control method of the label printer includes:

[0181] S701, reading the pre-stored basic color development level parameter from the radio frequency identification chip configured by the label paper.

[0182] S702, determining the target heating parameter according to the basic color development level parameter.

[0183] Specifically, steps S701 and S702 can refer to Figure 1The description of the relevant parts of the illustrated embodiments will not be repeated here.

[0184] S703, when the basic color rendering level parameter is greater than or equal to the preset color rendering level, starting the double-pulse heating mode, and executing the printing task according to the target heating parameter in the double-pulse heating mode.

[0185] It can be understood that the double-pulse heating mode refers to a heating mode in which the heating power of the heating element is adjusted by using two pulse signals.

[0186] In some embodiments, the target heating parameter obtained by step S702 can include a target heating time, and then step S703 is executed, which can specifically include: when the basic color rendering level parameter is greater than or equal to the preset color rendering level, obtaining a reference heating power corresponding to the heating element, starting the double-pulse heating mode, the double-pulse heating mode including a first power and a second power determined based on the reference heating power, the first power being greater than the reference heating power, and the second power being less than the reference heating power, preheating the heating element according to the first power, determining a remaining heating time other than a preset time based on the target heating time, after the preheating time is equal to the preset time, continuously heating the heating element using the second power within the remaining heating time, so that the heating element reaches a preset working temperature, and printing the content of the label paper. Wherein, the reference heating power can be the rated working power of the heating element; the first power and the second power can be set based on expert experience; and the sum of the preset time and the remaining heating time can be the target heating time.

[0187] In some embodiments, the double-pulse heating mode includes a first heating power and a second heating power, the first heating power is greater than the second heating power, and the printing task is executed according to the target heating parameter in the double-pulse heating mode. Specifically, the preheating process can be performed according to the target heating parameter by using the first heating power, and after the preheating time length is equal to the preset time length, the printing task can be executed according to the target heating parameter by using the second heating power. In this embodiment, the target heating parameter obtained by step S702 can include a target heating time and a target heating power. Specifically, the first heating power can be a first multiple of the base power, and the second heating power can be a second multiple of the base power. The preheating process is performed according to the target heating parameter by using the first heating power, and the printing task is executed according to the target heating parameter by using the second heating power. It can be understood that the target heating time and the target heating power are determined in the target heating parameter, the target heating power in the target heating parameter is determined as the base power, the remaining heating time other than the preset time length is determined based on the target heating time, the first multiple of the base power is determined as the first heating power, the second multiple of the base power is determined as the second heating power, the heating element is preheated by using the first heating power in the first time interval of the target heating time, and after the preheating time length is equal to the preset time length, the heating element is continuously heated by using the second heating power in the remaining heating time, so that the heating element reaches the preset working temperature to print the content of the label paper. The first multiple and the second multiple can be set based on expert experience. For example, the first multiple can be set to 1.2, and the second multiple can be set to 0.8. The sum of the preset time length and the remaining heating time can be the target heating time.

[0188] In the control method of the label printer provided in the embodiments of the present application, after the base color development level parameter is read from the radio frequency identification chip, the target heating parameter is determined according to the base color development level parameter, when the base color development level parameter is greater than or equal to the preset color development level, the double-pulse heating mode is started, and the printing task is executed according to the target heating parameter in the double-pulse heating mode. Therefore, not only can the heating parameter suitable for different label papers be automatically used to execute the printing task, but also the user does not need to manually set the heating parameter, and the double-pulse heating mode can be automatically started to execute the printing task when the color development level parameter is high. Therefore, the embodiments of the present application not only can ensure the printing quality of the current printing task and simplify the manual setting operation in the printing process, but also can solve the problem of uneven color development caused by slow heat conduction of some materials (such as high-density synthetic materials).

[0189] Please refer to Figure 8 The embodiments of the present application provide another flowchart of a control method of a label printer.

[0190] Specifically, the control method of the label printer comprises:

[0191] S801, reading a pre-stored basic color development level parameter from a radio frequency identification chip arranged on the label paper.

[0192] S802, determining a target heating parameter according to the basic color development level parameter.

[0193] Specifically, steps S801 and S802 can refer to the description of the related parts in the embodiment shown in Figure 1 and will not be described in detail here.

[0194] S803, starting a printing task according to the target heating parameter, and determining a printing speed in the printing process.

[0195] The printing speed can refer to the speed of printing a single line of content by the label printer.

[0196] In step S803, the target heating parameter can include a heating time and / or a heating power, the printing task is started, and the heating element is heated according to the target heating time and / or the target heating power to reach a preset working temperature, so as to print content on the label paper, the paper distance of a single line of printed content in the label paper is determined in the printing process, the printing completion time of the single line of printed content is determined, the printing speed is determined based on the paper distance and the printing completion time.

[0197] S804, determining a third product of the printing speed and a second preset value, determining a basic heating time corresponding to the basic color development level parameter, determining a fourth product of the basic heating time and the third product, determining a second sum of the basic heating time and the fourth product, and determining a dynamic correction heating time as the second sum.

[0198] In step S804, the second preset value can be set according to an expert, and the basic heating time can be the heating time in the target heating parameter; the dynamic correction heating time is represented by t2, the second preset value is represented by b, and the printing speed is represented by v. The calculation formula of the dynamic correction heating time can adopt the following expression:

[0199] t2=t0×(1+b×v)

[0200] S805, executing the printing task based on the dynamic correction heating time.

[0201] In step S805, in the remaining printing task, the heating element is heated according to the dynamic correction heating time, so that the heating element reaches the target working temperature, and the content on the label paper is printed.

[0202] In the control method of the label printer provided in the application, not only can the printing task be automatically performed by using the heating parameters matched with different label papers, but also the heating parameters do not need to be manually set by the user. In addition, the printing speed is determined in the printing process, the heating time is dynamically corrected according to the printing speed, and the printing task is performed according to the corrected heating time. Therefore, the printing quality of the printing task can be ensured, the manual setting operation in the printing process can be simplified, and the problem of insufficient color development caused by the shortening of the contact time in high-speed printing can be solved.

[0203] The control method of the label printer provided in the application will be described in detail below. Figure 9 The control device of the label printer provided in the embodiments of the application will be described in detail. It should be noted that Figure 9 The control device of the label printer shown in the figure is used to execute the control method of the label printer provided in the application. Figures 1 to 8 The method of the embodiments shown in the figure is only used to show the parts related to the embodiments of the application, and the specific technical details are not disclosed. Please refer to the control method of the label printer provided in the application Figures 1 to 8 The embodiments shown in the figure.

[0204] Please refer to Figure 9 which shows the structure diagram of the control device of the label printer according to the embodiments of the application. The control device 1 of the label printer can be realized by software, hardware or a combination of the two to become all or part of the device. According to some embodiments, the control device 1 of the label printer includes a data reading module 11 and a printing adjustment module 12, which are specifically used for:

[0205] The data reading module 11 is used to read the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper.

[0206] The printing adjustment module 12 is used to determine the target heating parameter according to the basic color development level parameter, and perform the printing task according to the target heating parameter.

[0207] Optionally, the data reading module 11 is specifically used for:

[0208] reading the pre-stored basic color development level parameter from the radio frequency identification chip installed on the label paper reel; wherein the basic color development level parameter is determined based on the material type and color development characteristics of the label paper.

[0209] Optionally, the data reading module 11 is specifically used for:

[0210] When it is detected that the label paper is first loaded into the label printer, the pre-stored basic color development level parameter is read from the radio frequency identification chip configured in the label paper by the built-in radio frequency identification module.

[0211] Optionally, the printing adjustment module 12 includes:

[0212] A first parameter determination unit, configured to obtain a basic heating parameter corresponding to the basic color rendering level parameter;

[0213] A second parameter determination unit is used to obtain the printing environment temperature and the environment compensation coefficient;

[0214] The third parameter determination unit is configured to perform parameter adjustment processing on the basic heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain a target heating parameter.

[0215] Optionally, the basic heating parameter includes a basic heating time, the target heating parameter includes a target heating time, and the third parameter determination unit is specifically configured to:

[0216] Get the preset ambient temperature;

[0217] Using a first calculation formula to perform parameter adjustment processing on the basic heating time according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain a target heating time;

[0218] Wherein, the first calculation formula satisfies the following formula:

[0219] t=t0[1+K×(T2-T1)]

[0220] The t represents the target heating time, the t0 represents the basic heating time, the K represents the environmental compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0221] Optionally, the basic heating parameter includes a basic heating power, the target heating parameter includes a target heating power, and the third parameter determination unit is specifically configured to:

[0222] Get the preset ambient temperature;

[0223] Using a second calculation formula to perform parameter adjustment processing on the basic heating power according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain a target heating power;

[0224] The second calculation formula satisfies the following formula:

[0225] P=P0[1+K×(T2-T1)]

[0226] The P represents the target heating power, the P0 represents the basic heating power, the K represents the environmental compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0227] Optionally, the second parameter determination unit is specifically configured to:

[0228] reading an environmental compensation coefficient from the radio frequency identification chip, wherein the environmental compensation coefficient is determined based on a temperature-sensitive characteristic corresponding to the label paper.

[0229] Optionally, the printing adjustment module 12 further comprises:

[0230] a heating early warning prompt unit, configured to output a heating early warning if the target heating time is greater than a preset heating time.

[0231] Optionally, the control device 1 of the label printer further comprises:

[0232] a color rendering grade modification module, configured to obtain a color rendering grade modification operation input by a user, determine a reference color rendering grade parameter corresponding to the color rendering grade modification operation, determine a target offset based on the reference color rendering grade parameter and the basic color rendering grade parameter, calculate a sum value of one-half of the target offset and the basic display grade parameter, and perform parameter update processing on the basic color rendering grade parameter based on the sum value to obtain a target color rendering grade parameter.

[0233] Optionally, the control device 1 of the label printer further comprises:

[0234] a heating time updating module, configured to collect a printing content image through a camera, perform a definition evaluation processing on the printing content image through a printing evaluation model to obtain a target definition score, determine a first definition score less than a preset score in the target definition score, determine a target number of the first definition score, determine a difference value between the preset score and the first definition score if the target number is greater than or equal to a preset number, determine a first product of the difference value and a first preset value, determine the first product as a heating time adjustment coefficient, obtain a historical heating time corresponding to the label paper, determine a second product of the historical heating time and the heating time adjustment coefficient, determine a first sum value of the second product and the historical heating time, and determine the first sum value as an updated heating time corresponding to the label paper.

[0235] Optionally, the control device 1 of the label printer further comprises:

[0236] a heating time writing module, configured to write the updated heating time into the radio frequency identification chip.

[0237] Optionally, the historical heating time is a basic heating time corresponding to the basic color rendering grade parameter, or the historical heating time is a corrected heating time.

[0238] Optionally, the printing adjustment module 12 comprises:

[0239] The printing processing unit is configured to start a double-pulse heating mode when the basic color rendering grade parameter is greater than or equal to a preset color rendering grade, and perform a printing task according to the target heating parameter in the double-pulse heating mode.

[0240] Optionally, the double-pulse heating mode includes a first heating power and a second heating power, the first heating power is greater than the second heating power; and the printing processing unit is specifically configured to:

[0241] perform a preheating process according to the target heating parameter by using the first heating power, and perform a printing task according to the target heating parameter by using the second heating power after a preheating duration is equal to a preset duration.

[0242] Optionally, the printing adjustment module 12 is specifically configured to:

[0243] start a printing task according to the target heating parameter, determine a printing speed in a printing process;

[0244] determine a third product of the printing speed and a second preset value, determine a basic heating time corresponding to the basic color rendering grade parameter, determine a fourth product of the basic heating time and the third product, determine a second sum value of the basic heating time and the fourth product, and determine the second sum value as a dynamic correction heating time.

[0245] perform a printing task based on the dynamic correction heating time.

[0246] The control device of the label printer provided by the embodiments of the present application can read the pre-stored basic color rendering grade parameter from the radio frequency identification chip of the label paper, determine the target heating parameter according to the basic color rendering grade parameter, and then perform the printing task according to the target heating parameter. In this way, by reading the basic color rendering grade parameter of the label paper from the radio frequency identification chip, the heating parameter adapted to the label paper can be automatically determined according to the color rendering grade of different label papers, so that the printing task can be performed by using the heating parameter adapted to different label papers, without the need for manual setting of the heating parameter by the user. Therefore, the printing quality can be ensured, and the manual setting operation in the printing process can be simplified.

[0247] For reference Figure 10 The embodiments of the present application provide a structural schematic diagram of an electronic device. For example, the electronic device in the embodiments of the present application can be a label printer, and the electronic device can include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140 and a bus 150. The processor 110, the memory 120, the input device 130 and the output device 140 can be connected through the bus 150.

[0248] The processor 110 can include one or more processing cores. The processor 110 connects various parts within the entire electronic device by various interfaces and lines, performs various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Alternatively, the processor 110 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 110 can integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes an operating system, a user interface, and an application program, etc.; the GPU is responsible for rendering and drawing display content; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 110, but be implemented by a separate communication chip.

[0249] The memory 120 can include a random access memory (RAM) and can also include a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing each of the following method embodiments, etc., and the operating system can be an Android system, an IOS system developed by Apple Inc., a system developed based on the Android system or other systems.

[0250] In order to enable the operating system to distinguish the specific application scenarios of the third-party application, it is necessary to open up the data communication between the third-party application and the operating system, so that the operating system can obtain the current scenario information of the third-party application at any time, and then perform targeted system resource adaptation based on the current scenario.

[0251] The input device 130 is configured to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is configured to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In an example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are a touch display screen.

[0252] The touch display screen can be designed as a full screen, a curved screen, or a special-shaped screen. The touch display screen can also be designed as a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, and the present application does not limit this.

[0253] In addition, those skilled in the art can understand that the structure of the electronic device shown in the above-mentioned drawings does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the drawings, or combine certain components, or different component arrangements. For example, the electronic device also includes radio frequency circuitry, an input unit, a sensor, audio circuitry, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and the like, which are not described here.

[0254] In some embodiments, the processor 110 can be configured to call a program of a control method of a label printer stored in the memory 120, and specifically perform the following operations:

[0255] read a pre-stored basic color development level parameter from a radio frequency identification chip configured in the label paper;

[0256] determine a target heating parameter according to the basic color development level parameter, and perform a printing task according to the target heating parameter.

[0257] Optionally, when the processor 110 performs the operation of reading the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper, the processor 110 specifically performs the following operation:

[0258] read the pre-stored basic color development level parameter from a radio frequency identification chip installed on a label paper reel; wherein the basic color development level parameter is determined based on the material type and color development characteristics of the label paper.

[0259] Optionally, when the processor 110 performs the operation of reading the pre-stored basic color development level parameter from the radio frequency identification chip configured in the label paper, the processor 110 specifically performs the following operation:

[0260] When it is detected that the label paper is first loaded into the label printer, the pre-stored basic color development level parameter is read from the radio frequency identification chip configured in the label paper through the built-in radio frequency identification module.

[0261] Optionally, the processor 110, in the execution of the step of determining the target heating parameter according to the basic color rendering grade parameter, specifically executes the following operations:

[0262] obtains a basic heating parameter corresponding to the basic color rendering grade parameter;

[0263] obtains a printing environment temperature, and obtains an environment compensation coefficient;

[0264] performs parameter adjustment processing on the basic heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameter.

[0265] Optionally, the basic heating parameter comprises a basic heating time, and the target heating parameter comprises a target heating time. In the execution of the step of performing parameter adjustment processing on the basic heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameter, the processor 110 specifically executes the following operations:

[0266] obtains a preset environment temperature;

[0267] performs parameter adjustment processing on the basic heating time according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain the target heating time by using a first calculation formula;

[0268] wherein the first calculation formula satisfies the following formula:

[0269] t=t0[1+K×(T2-T1)]

[0270] wherein the t represents the target heating time, the t0 represents the basic heating time, the K represents the environment compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0271] Optionally, the basic heating parameter comprises a basic heating power, and the target heating parameter comprises a target heating power. In the execution of the step of performing parameter adjustment processing on the basic heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameter, the processor 110 specifically executes the following operations:

[0272] obtains a preset environment temperature;

[0273] performs parameter adjustment processing on the basic heating power according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain the target heating power by using a second calculation formula;

[0274] wherein the second calculation formula satisfies the following formula:

[0275] P=P0[1+K×(T2-T1)]

[0276] The P represents the target heating power, the P0 represents the basic heating power, the K represents the environment compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

[0277] Optionally, the processor 110, in the execution of the obtaining of the environment compensation coefficient, specifically executes the following operations:

[0278] reads an environment compensation coefficient from the radio frequency identification chip; wherein the environment compensation coefficient is determined based on a temperature sensitive characteristic corresponding to the label paper.

[0279] Optionally, the processor 110, in the execution of the target heating parameter including a target heating time, after the parameter adjustment processing of the basic heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameter, further executes the following operations:

[0280] If the target heating time is greater than a preset heating time, a heating warning is output.

[0281] Optionally, the processor 110 further executes the following operations:

[0282] obtains a color rendering grade modification operation input by a user, determines a reference color rendering grade parameter corresponding to the color rendering grade modification operation;

[0283] determines a target offset according to the reference color rendering grade parameter and the basic color rendering grade parameter;

[0284] calculates a sum value of one half of the target offset and the basic display level parameter, and performs parameter update processing on the basic color rendering grade parameter based on the sum value to obtain a target color rendering grade parameter.

[0285] Optionally, the processor 110, after the execution of the printing task according to the target heating parameter, further executes the following operations:

[0286] captures a printing content image through a camera;

[0287] performs a definition evaluation processing on the printing content image by using a printing evaluation model to obtain a target definition score;

[0288] determines a first definition score less than a preset score in the target definition score, and determines a target number of the first definition score;

[0289] If the target number is greater than or equal to a preset number of times, a difference value between the preset score and the first definition score is determined, a first product of the difference value and a first preset value is determined, and the first product is determined as a heating time adjustment coefficient;

[0290] obtaining a historical heating time corresponding to the label paper, determining a second product of the historical heating time and the heating time adjustment coefficient, determining a first sum of the second product and the historical heating time, and determining the first sum as an updated heating time corresponding to the label paper.

[0291] Optionally, the processor 110 further performs the following operations:

[0292] writing the updated heating time into the radio frequency identification chip.

[0293] Optionally, the historical heating time is a basic heating time corresponding to the basic color development level parameter, or the historical heating time is a corrected heating time.

[0294] Optionally, when the processor 110 performs the printing task according to the target heating parameter, the processor 110 specifically performs the following operations:

[0295] when the basic color development level parameter is greater than or equal to a preset color development level, starting a double-pulse heating mode, and performing the printing task according to the target heating parameter in the double-pulse heating mode.

[0296] Optionally, the double-pulse heating mode includes a first heating power and a second heating power, and the first heating power is greater than the second heating power; when the processor 110 performs the printing task according to the target heating parameter in the double-pulse heating mode, the processor 110 specifically performs the following operations:

[0297] performing a preheating process according to the target heating parameter by using the first heating power, and performing the printing task according to the target heating parameter by using the second heating power after a preheating duration is equal to a preset duration.

[0298] Optionally, when the processor 110 performs the printing task according to the target heating parameter, the processor 110 specifically performs the following operations:

[0299] starting the printing task according to the target heating parameter, and determining a printing speed in a printing process.

[0300] determining a third product of the printing speed and a second preset value, determining a basic heating time corresponding to the basic color development level parameter, determining a fourth product of the basic heating time and the third product, determining a second sum of the basic heating time and the fourth product, and determining the second sum as a dynamic corrected heating time.

[0301] performing the printing task based on the dynamic corrected heating time.

[0302] The embodiment of the present application further provides a computer readable storage medium, which stores at least one instruction, and the at least one instruction is used for being executed by a processor to implement the control method of the label printer.

[0303] The embodiment of the present application further provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the control method of the label printer.

[0304] Those skilled in the art should be aware that, in one or more examples described above, the functions described in the embodiments of the present application can be implemented in hardware, software, firmware or any combination thereof. When implemented in software, the functions can be stored in a computer readable medium or transmitted as one or more instructions or codes on a computer readable medium. The computer readable medium includes computer storage medium and communication medium, and the communication medium includes any medium that facilitates the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0305] The above description is only optional embodiments of the present application, and is not used to limit the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. A control method for a label printer, characterized in that: The method comprises: Read the pre-stored basic color rendering level parameters from the RFID chip configured on the label paper; A target heating parameter is determined according to the basic color rendering level parameter, and a printing task is performed according to the target heating parameter.

2. The method according to claim 1, characterized in that The step of reading pre-stored basic color rendering level parameters from the radio frequency identification chip configured on the label paper includes: The pre-stored basic color rendering level parameters are read from the radio frequency identification chip installed on the label paper reel; wherein the basic color rendering level parameters are determined based on the material type and color rendering characteristics of the label paper.

3. The method according to claim 1, characterized in that The step of reading pre-stored basic color rendering level parameters from the radio frequency identification chip configured on the label paper includes: When it is detected that the label paper is loaded into the label printer for the first time, the pre-stored basic color rendering level parameters are read from the RFID chip configured for the label paper through the built-in RFID module.

4. The method according to claim 1, wherein The determining of the target heating parameter according to the basic color rendering level parameter includes: Obtaining basic heating parameters corresponding to the basic color rendering level parameters; Get the printing environment temperature and the environment compensation coefficient; The basic heating parameters are adjusted according to the printing environment temperature and the environment compensation coefficient to obtain target heating parameters.

5. The method according to claim 4, characterized in that The basic heating parameters include a basic heating time, the target heating parameters include a target heating time, and the parameter adjustment processing of the basic heating parameters according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameters includes: Get the preset ambient temperature; Using a first calculation formula to perform parameter adjustment processing on the basic heating time according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain a target heating time; The first calculation formula satisfies the following formula: t=t0[1+K×(T2-T1)] The t represents the target heating time, the t0 represents the basic heating time, the K represents the environmental compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

6. The method according to claim 4, characterized in that The basic heating parameter includes a basic heating power, the target heating parameter includes a target heating power, and the parameter adjustment processing of the basic heating parameter according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameter includes: Get the preset ambient temperature; Using a second calculation formula to perform parameter adjustment processing on the basic heating power according to the printing environment temperature, the environment compensation coefficient and the preset environment temperature to obtain a target heating power; The second calculation formula satisfies the following formula: P=P0[1+K×(T2-T1)] The P represents the target heating power, the P0 represents the basic heating power, the K represents the environmental compensation coefficient, the T1 represents the printing environment temperature, and the T2 represents the preset environment temperature.

7. The method according to claim 4, characterized in that The obtaining of the environmental compensation coefficient includes: An environmental compensation coefficient is read from the radio frequency identification chip; wherein the environmental compensation coefficient is determined based on a temperature-sensitive characteristic corresponding to the label paper.

8. The method according to claim 4, characterized in that The target heating parameters include a target heating time. After the basic heating parameters are adjusted according to the printing environment temperature and the environment compensation coefficient to obtain the target heating parameters, the method further includes: If the target heating time is greater than the preset heating time, a heating warning is output.

9. The method according to claim 1, characterized in that The method further comprises: Acquire a color rendering level modification operation input by a user, and determine a reference color rendering level parameter corresponding to the color rendering level modification operation; determining a target offset according to the reference color rendering level parameter and the basic color rendering level parameter; A sum of half of the target offset and the basic display level parameter is calculated, and a parameter update process is performed on the basic color rendering level parameter based on the sum to obtain a target color rendering level parameter.

10. The method according to claim 1, characterized in that After executing the printing task according to the target heating parameters, the method further includes: Capture printed content images through a camera; Performing clarity evaluation processing on the printed content image using a print evaluation model to obtain a target clarity score; determining a first clarity score among the target clarity scores that is less than a preset score, and determining a target number of the first clarity score; If the target number is greater than or equal to a preset number of times, determining a difference between the preset score and the first clarity score, determining a first product of the difference and the first preset value, and determining the first product as a heating time adjustment coefficient; Obtain the historical heating time corresponding to the label paper, determine the second product of the historical heating time and the heating time adjustment coefficient, determine the first sum of the second product and the historical heating time, and determine the first sum as the updated heating time corresponding to the label paper.

11. The method according to claim 10, characterized in that The method further comprises: The updated heating time is written into the radio frequency identification chip.

12. The method according to claim 10, characterized in that The historical heating time is the basic heating time corresponding to the basic color rendering level parameter, or the historical heating time is the corrected heating time.

13. The method according to claim 1, wherein The performing of the printing task according to the target heating parameters includes: When the basic color rendering level parameter is greater than or equal to the preset color rendering level, a double-pulse heating mode is started, and a printing task is performed according to the target heating parameter in the double-pulse heating mode.

14. The method according to claim 13, wherein: The dual-pulse heating mode includes a first heating power and a second heating power, wherein the first heating power is greater than the second heating power; The performing of the printing task according to the target heating parameters in the dual-pulse heating mode includes: The first heating power is used to perform preheating processing according to the target heating parameters. After the preheating time is equal to the preset time, the second heating power is used to perform the printing task according to the target heating parameters.

15. The method according to claim 1, wherein The performing of the printing task according to the target heating parameters includes: Initiate a printing task according to the target heating parameters, and determine a printing speed during the printing process; determining a third product of the printing speed and a second preset value, determining a basic heating time corresponding to the basic color rendering level parameter, determining a fourth product of the basic heating time and the third product, determining a second sum of the basic heating time and the fourth product, and determining the second sum as the dynamically corrected heating time; A printing task is executed based on the dynamically corrected heating time.

16. A control device for a label printer, characterized in that: The device comprises: The data reading module is used to read the pre-stored basic color rendering level parameters from the RFID chip configured on the label paper; The printing adjustment module is used to determine target heating parameters according to the basic color rendering level parameters and execute the printing task according to the target heating parameters.

17. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 15.

18. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method according to any one of claims 1 to 15.