Printing material dosage detection method and device, storage medium and electronic equipment

By using information storage chips in the printing materials of the online number machine, the accuracy of the remaining amount of printing materials is realized, the problem of wire tube waste is solved, and the efficiency of the printing process is improved.

CN119847456APending Publication Date: 2025-04-18WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411954882.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The existing wire numbering machine cannot accurately detect the remaining amount of printing materials, resulting in insufficient materials during the printing process and waste of wire pipes.

Method used

By using an information storage chip in the printing material, the remaining length of the printing material is obtained and the material margin information is updated after printing is completed, ensuring printing is performed when the material is sufficient.

Benefits of technology

Improve the accuracy of printing material margin detection, avoid wire pipe waste, and ensure the efficient printing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847456A_ABST
    Figure CN119847456A_ABST
Patent Text Reader

Abstract

The invention provides a printing material dosage detection method and device, a storage medium and electronic equipment, the method is applied to the technical field of wire marking machine printing, and the method comprises the steps that the remaining length of a printing material is obtained based on an information storage chip corresponding to the printing material; and if yes, printing processing is conducted on the to-be-printed line pipe, the consumption length of the printing material at this time is obtained, and the used length in the information storage chip is updated based on the consumption length at this time. According to the method, the remaining amount of the printing material can be obtained through the information storage information, the remaining amount of the printing material is updated after printing is completed, printing is conducted under the condition that the printing material is sufficient, the accuracy of detection of the remaining amount of the printing material is improved, and line pipe waste is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of line number machine printing technology, and more specifically, to a method, device, storage medium and electronic device for detecting the amount of printing material in the field of line number machine printing technology. Background Art

[0002] A wire number machine is a device used to print characters on various materials. For example, it can be used for secondary line identification of electrical control and power distribution equipment. It is an important tool for distinguishing wire marks. If the printing material is insufficient during the printing process, some wire tubes will be blank tubes, resulting in waste of wire tubes. The wire number machine in the prior art cannot obtain the remaining amount of printing material and can only rely on the staff to manually take out the printing material and manually determine whether the printing material is sufficient before starting printing. It is difficult to detect the remaining amount of printing material in a timely and accurate manner, which easily causes waste of wire tubes. It is necessary to provide a method for conveniently and accurately obtaining the remaining amount of printing material. Summary of the invention

[0003] The embodiments of the present application provide a method, device, storage medium and electronic device for detecting the amount of printing material. The method can obtain the remaining amount of printing material through information storage information, and update the remaining amount of material after printing is completed. Printing is performed when there is sufficient printing material, thereby improving the accuracy of detecting the remaining amount of printing material and avoiding waste of wire tubes.

[0004] In a first aspect, an embodiment of the present application provides a method for detecting the amount of printing material, the method comprising:

[0005] Obtaining the remaining length of the printing material based on the information storage chip corresponding to the printing material;

[0006] If the remaining length is greater than the printing length of the wire tube to be printed, printing processing is performed on the wire tube to be printed;

[0007] Obtain the current consumed length of the printed material;

[0008] Based on the currently consumed length, the used length in the information storage chip is updated.

[0009] In a second aspect, an embodiment of the present application provides a printing material usage detection device, the device comprising:

[0010] A remaining material acquisition unit, used for obtaining the remaining length of the printing material based on the information storage chip corresponding to the printing material;

[0011] A printing processing unit, configured to perform printing processing on the wire tube to be printed if the remaining length is greater than the printing length of the wire tube to be printed;

[0012] A consumed length obtaining unit, used for obtaining the consumed length of the printed material this time;

[0013] An update processing unit is used to update the used length in the information storage chip based on the current consumed length.

[0014] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0015] In a fourth aspect, an embodiment of the present application provides an electronic device, which may 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 above-mentioned method steps.

[0016] In one or more embodiments of the present application, the remaining length of the printing material is obtained based on the information storage chip corresponding to the printing material. If the remaining length is greater than the printing length of the to-be-printed wire tube, the to-be-printed wire tube is printed to obtain the current consumption length of the printing material. Based on the current consumption length, the used length in the information storage chip is updated. The remaining amount of printing material is obtained through information storage information, and the remaining amount of material is updated after printing is completed. Printing is performed when there is sufficient printing material, thereby improving the accuracy of the remaining amount of printing material detection and avoiding wire tube waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 This is an example schematic diagram of obtaining a remaining length provided in an embodiment of the present application;

[0019] Figure 2 It is a flow chart of a method for detecting the amount of printing material provided in an embodiment of the present application;

[0020] Figure 3 It is a schematic diagram of a process of obtaining a remaining length provided in an embodiment of the present application;

[0021] Figure 4 This is a schematic diagram of a process for obtaining the current consumed length provided in an embodiment of the present application;

[0022] Figure 5It is a flowchart of an update process provided by an embodiment of the present application;

[0023] Figure 6 It is a schematic diagram of a process of obtaining a printing length provided in an embodiment of the present application;

[0024] Figure 7 This is an example schematic diagram of a printing process and a cutting process provided in an embodiment of the present application;

[0025] Figure 8 It is a structural schematic diagram of a printing material usage detection device provided in an embodiment of the present application;

[0026] Fig. 9 It is a structural schematic diagram of a printing material usage detection device provided in an embodiment of the present application;

[0027] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0029] The line number machine, also known as a line number printer or a numbering machine, is a device used for wiring identification of electric control, power distribution equipment and integrated wiring engineering, and can be applied to power, telecommunications, steel, manufacturing and other application scenarios. The line number machine can print characters on the wire tube, so as to identify wires, cables, etc., wherein the wire tube can be made of polyvinyl chloride (PVC) sheathing, heat shrink tubing, self-adhesive label and other materials. It is a pipe used to protect wires and cables from external damage to ensure the safety of the wires and extend the service life of the wires. The marked wires and cables can clearly display the functions, uses, specifications and other information of teammates, which is convenient for staff to classify, identify and maintain. If the line number machine is short of printing materials during the printing process, some wire tubes will be blank tubes, resulting in waste of wire tubes. The embodiment of the present application provides a printing material usage detection device, which can detect the remaining length of the printing material in the line number machine, thereby avoiding waste of wire tubes. The remaining length of the printing material is the length of the wire tube that can be printed by the remaining printing material in the line number machine. The printing material amount detection method provided in the embodiment of the present application can be implemented by a computer program and can be run on a printing material amount detection device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application. The printing material amount detection device can be a printing device, or a module or application in the printing device for implementing the printing material amount detection method, or an independent electronic device connected to the printing device and controlling the line number machine to perform printing processing, wherein the printing device can be a line number machine.

[0030] The wire number machine can use thermal transfer printing (TTP) technology for printing. The printing material used can be a carbon ribbon. The wire number machine can print the ink on the carbon ribbon onto the wire tube by thermal transfer. For example, the wire number machine can generate heat to melt the ink on the carbon ribbon, and then transfer the melted ink to the wire tube through pressure, thereby realizing printing processing for the wire tube. Please also refer to Figure 1, is an example schematic diagram of obtaining the remaining length provided in an embodiment of the present application. If the printing material is a carbon ribbon, the user or staff can place the carbon ribbon in a carbon ribbon box, and then install the carbon ribbon box in a printing device. The printing device can then use the carbon ribbon in the carbon ribbon box for printing. In the prior art, if the user or staff wants to check the remaining printing material, they need to take out the carbon ribbon box from the printing device, and then estimate the remaining printing material by opening or observing the carbon ribbon box. The process is very cumbersome, and the obtained remaining printing material is inaccurate. The printing material in the embodiment of the present application has its corresponding information storage chip. For example, when the printing material is a carbon ribbon, the information storage chip can be placed on the corresponding carbon ribbon box. The information storage chip can store relevant information about the remaining printing material. When the carbon ribbon box is placed in the printing device, the printing material usage detection device can obtain the remaining length of the printing material by accessing the information storage chip.

[0031] The printing material usage detection method provided in the present application is described in detail below in conjunction with specific embodiments.

[0032] See also Figure 2 , which is a flow chart of a method for detecting the amount of printing material used in an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101-S104.

[0033] S101, obtaining the remaining length of the printing material based on the information storage chip corresponding to the printing material.

[0034] Specifically, when the printing material is loaded into the printing device, the printing material usage detection device can detect the information storage chip corresponding to the printing material, and access the relevant information of the remaining printing material in the information storage chip, so as to obtain the remaining length of the printing material. The information storage chip can directly store the remaining length of the printing material, or the total length and the used length of the printing material, and then the printing material usage detection device calculates the remaining length based on the total length and the used length, wherein the total length is the total length of the printed tube that can be printed when the printing material leaves the factory, and the used length is the amount of the printing material that has been used, that is, the length of the printed tube.

[0035] S102: If the remaining length is greater than the printing length of the wire tube to be printed, printing processing is performed on the wire tube to be printed.

[0036] Specifically, the printing material usage detection device can compare the remaining length with the printing length of the wire tube to be printed. The wire tube to be printed can be the wire tube placed by the user or staff at the inlet of the printing device. The user or staff expects to use the printing device to print on the wire tube to be printed. The printing length is the length of the wire tube that the user or staff wants to print. If the remaining length is greater than the printing length of the wire tube to be printed, that is, the remaining printing material is sufficient to complete the current printing process, the printing material usage detection device can perform printing processing on the wire tube to be printed.

[0037] S103, obtaining the current consumed length of the printing material.

[0038] Specifically, after the current printing process is completed, the printing material consumption detection device can obtain the current consumption length of the printing material. For example, the current consumption length can be the same as the printing length of the wire tube to be printed.

[0039] S104, based on the currently consumed length, updating the used length in the information storage chip.

[0040] Specifically, in order to maintain the timeliness of the relevant information of the remaining printing material in the storage chip, the printing material usage detection device can update the relevant information of the remaining printing material in the information storage chip according to the length consumed this time. For example, the information storage chip can store the used length of the printing material, and the printing material usage detection device can update the used length with the current consumption length. For example, if the original used length in the information storage chip is 500mm, and the current consumption length of the printing material in the current printing process is 100mm, the used length in the information storage chip can be updated to 600mm.

[0041] In the embodiment of the present application, the remaining length of the printing material is obtained based on the information storage chip corresponding to the printing material. If the remaining length is greater than the printing length of the to-be-printed wire tube, the to-be-printed wire tube is printed to obtain the current consumption length of the printing material. Based on the current consumption length, the used length in the information storage chip is updated. The remaining amount of printing material is obtained through information storage information, and the remaining amount of material is updated after printing is completed. Printing is performed when there is sufficient printing material, thereby improving the accuracy of the remaining amount of printing material detection and avoiding waste of wire tubes.

[0042] See also Figure 3 , which is a schematic diagram of a process for obtaining the remaining length in the embodiment of the present application. Figure 3 As shown, step S101 in the embodiment of the present application may include the following steps S201-S202.

[0043] S201, if it is detected that the installation of the printing material is complete, then the used length and the total length of the printing material in the information storage chip corresponding to the printing material are obtained.

[0044] Specifically, when a user or staff member wants to use a printing device to print a wire tube to be printed, the wire tube to be printed can be placed at the tube inlet of the printing device, and the printing material can be installed in the printing device. For example, when the printing material is a carbon ribbon, the carbon ribbon box can be installed in the printing device. If the printing material usage detection device detects that the printing material has been installed, the used length and total length of the printing material stored in the storage chip corresponding to the printing material can be obtained. If only the remaining length is stored in the information storage chip, the data therein is easy to be tampered with. The used length and total length are stored at the same time, which is convenient for fault diagnosis and data verification when problems occur, improving data security, thereby improving the accuracy of obtaining the remaining length.

[0045] Optionally, there may be a sensor at the printing material installation location of the printing device, and the sensor can detect whether the printing material has been installed. If the sensor detects that the printing material has been installed, it can send installation completion information to the printing material usage detection device. The printing material usage detection device can determine that the printing material installation is complete after receiving the installation completion information.

[0046] Optionally, the information storage chip can be a Radio Frequency Identification (RFID) chip, which is an electronic tag that automatically identifies and tracks wireless radio frequency signals and can store a certain amount of data. The printing material usage detection device can use near field communication (NFC) to detect the information storage chip corresponding to the printing material. When the printing material usage detection device detects the information storage chip based on near field communication, it can determine that the printing material installation is complete and obtain the used length and total length in the information storage chip.

[0047] Optionally, the total length, used length and remaining length can be stored in the information storage chip at the same time. After the printing material usage detection device calculates the remaining length through the total length and the used length, the remaining length can be compared with the remaining length originally stored in the information storage chip. If the two are the same, subsequent steps can be performed, thereby ensuring the accuracy of the data and increasing the flexibility and fault tolerance of the printing material usage detection device.

[0048] S202, calculating the difference between the total length and the used length to obtain the remaining length of the printing material.

[0049] Specifically, the printing material usage detection device can calculate the difference between the total length and the used length to obtain the remaining length of the printing material. For example, the total length obtained by the printing material usage detection device is 1000mm, and the used length is 600mm, then the remaining length can be calculated to be 400mm.

[0050] In the embodiment of the present application, if it is detected that the installation of the printing material is completed, the used length and the total length of the printing material in the information storage chip corresponding to the printing material are obtained, and the difference between the total length and the used length is calculated to obtain the remaining length of the printing material. The used length and the total length are stored in the information storage chip, so that the information storage chip can provide more data information, which is convenient for fault diagnosis and data verification when problems occur, improves data security, and thus improves the accuracy of obtaining the remaining length.

[0051] See also Figure 4 , provides a schematic diagram of the process of obtaining the current consumption length for the embodiment of the present application. Figure 4 As shown, step S103 in the embodiment of the present application may include the following steps S301-S302.

[0052] S301, obtaining the number of rotation steps of the stepper motor and the transmission ratio of the mechanical transmission system in which the stepper motor is located in this printing process.

[0053] Specifically, after the current printing process is completed, the printing material amount detection device can print the number of rotation steps of the stepper motor of the device during the current printing process, and the transmission ratio of the mechanical transmission system in which the stepper motor is located. The stepper motor is a motor that converts an electrical pulse signal into an angular displacement. Each time it receives an electrical pulse, the stepper motor will rotate a fixed angle. This angle is called the step angle. During the printing process, the number of rotation steps of the stepper motor refers to the number of electrical pulses received by the motor from the beginning to the end. It is directly related to the total angular displacement of the motor, and is also related to the printing length and moving length of the wire tube to be printed. The mechanical transmission system is a system that converts the rotational motion of the stepper motor into the linear motion of the printing material. The transmission ratio is the ratio of the angular velocities of the two rotating components in the mechanical transmission system, and is related to the conversion of the angular displacement of the stepper motor into the linear displacement of the printing material. Printing material amount detection device

[0054] S302, calculating the quotient of the number of rotation steps and the transmission ratio to obtain the current consumed length of the printing material.

[0055] Specifically, the printing material consumption detection device can calculate the quotient of the transmission ratio of the rotation steps to obtain the current consumption length of the printing material, and the formula is as follows:

[0056]

[0057] Among them, L is the length consumed this time, n is the number of rotation steps of the stepper motor, and p is the transmission ratio of the mechanical transmission system in which the stepper motor is located, which means that the stepper motor can print 1 unit length of wire tube every time it rotates p steps.

[0058] In the embodiment of the present application, the number of rotation steps of the stepper motor and the transmission ratio of the mechanical transmission system in which the stepper motor is located in the current printing process are obtained, and the quotient of the number of rotation steps and the transmission ratio is calculated to obtain the current consumed length of the printed material. The current consumed length is calculated by the number of rotation steps of the stepper motor and the transmission ratio, which improves the accuracy of the obtained current consumed length, thereby improving the accuracy of the remaining length.

[0059] See also Figure 5 , which provides a schematic diagram of the update process for the embodiment of the present application. Figure 5 As shown, step S104 in the embodiment of the present application may include the following steps S401-S402.

[0060] S401, calculating the sum of the used length and the currently consumed length to obtain a length update value.

[0061] Specifically, in order to maintain the timeliness of the relevant information of the remaining printing material in the storage chip, the printing material usage detection device can update the relevant information of the remaining printing material in the information storage chip according to the length consumed this time. The printing material usage detection device can calculate the sum of the used length and the length consumed this time to obtain the length update value. For example, the used length is 500mm, and the calculated length consumed this time is 100mm, then the length update value that can be obtained is 600mm.

[0062] S402, using the length update value to update the used length in the information storage chip.

[0063] Specifically, the printing material usage detection device may use the length update value to update the used length in the information storage chip. For example, the setting corresponding to the used length may be changed to the length update value.

[0064] Optionally, the printing material usage detection device can generate update information based on the length update value, and send the update information to the information storage chip corresponding to the printing material. The information storage chip can update the used length based on the length update value in the update information.

[0065] Optionally, after the update process, the printing material usage detection device can obtain the used length in the information storage chip again. If the used length after the update process is consistent with the length update value, the update success information can be output. The update success information is used to prompt the user or staff that the data in the information storage chip has been successfully updated. The printing material usage detection device can output the update success information by lighting up the printing device or vibrating, and the length update value can be discarded to avoid occupying data memory.

[0066] Optionally, if the used length after the update process does not match the length update value, the update information can be sent to the information storage chip again until the used length after the update process matches the length update value. If the number of update information transmissions corresponding to this printing process reaches the preset update number, the storage chip fault information is output to prompt the user or staff that the information storage chip cannot be updated and that the printing device or information storage chip needs to be troubleshooted in time to avoid waste of wire tubes and printing materials due to errors in obtaining the remaining length.

[0067] In the embodiment of the present application, the sum of the used length and the current consumed length is calculated to obtain a length update value, and the used length in the information storage chip is updated using the length update value. By updating the used length, the timeliness and accuracy of the data in the information storage chip are guaranteed, thereby improving the accuracy of the remaining length obtained.

[0068] See also Figure 6 , which is a schematic diagram of a process for obtaining a printing length according to an embodiment of the present application. Figure 5 As shown, the embodiment of the present application also includes the following steps S501-S502 before step S101.

[0069] S501, obtaining the user's printing instruction information for the wire tube to be printed.

[0070] Specifically, when a user or staff member wants to use a printing device to print the wire tube to be printed, the wire tube to be printed can be placed at the pipe inlet of the printing device, and printing materials can be installed in the printing device. Printing instruction information for the wire tube to be printed can also be sent to the printing device. The printing instruction information is used to instruct the printing device to print the wire tube to be printed. The printing instruction information can include the printing length of the wire tube to be printed. The printing material consumption detection device can determine the printing length of the wire tube to be printed based on the printing instruction information.

[0071] S502: If there is no cutting instruction in the printing instruction information, the total printing length of the wire tube to be printed in the printing instruction information is obtained, and the total printing length is determined as the printing length of the wire tube to be printed.

[0072] Specifically, printing devices such as wire number machines often need to cut the wire tubes while printing them, thereby reducing the steps of manual cutting of the wire tubes. This can improve work efficiency, especially in situations where a large number of wire numbers need to be identified. If the user or staff needs to cut the wire tubes while printing, the cutting instructions can be included in the printing instruction information. The cutting instructions are used to instruct the printing device how to cut the wire tubes.

[0073] If there is no cutting instruction in the printing instruction information, it means that the user or staff only requires the printing device to print the wire tube. The total printing length of the wire tube to be printed in the printing instruction information can be directly obtained, and the total printing length can be determined as the printing length of the wire tube to be printed.

[0074] S503: If there is a cutting instruction in the printing instruction information, obtain the cutting segment length for the wire tube to be printed in the printing instruction information, and determine the cutting segment length as the printing length of the wire tube to be printed.

[0075] Specifically, if there is a cutting instruction in the printing instruction information, it means that the user or staff requires the printing equipment to cut the wire tube while printing it. The printing instruction information may include the cutting segment length for the wire tube to be printed. The cutting segment length is the length of each section of the wire tube after cutting. If there is a cutting instruction in the printing instruction information, the printing material consumption detection device can obtain the cutting segment length in the printing instruction information, and determine the cutting segment length as the printing length of the wire tube to be printed.

[0076] Optionally, the printing instruction information may include the total printing length and the number of cutting segments for the wire tube to be printed, where the number of cutting segments is the number of wire tube segments obtained after the cutting process. The printing material consumption detection device can obtain the total printing length and the number of cutting segments, and then calculate the quotient of the total printing length and the number of cutting segments to obtain the cutting segment length of the wire tube to be printed. For example, the user or staff expects to print 80mm wire tube in the printing instruction information and cut the wire tube to be printed into 8 segments. The total printing length is 80mm and the number of cutting segments is 8, so that the cutting segment length is 10mm. That is, the printing device needs to perform a cutting process every time it prints 10mm of wire tube until the 80mm printing process is completed, thereby obtaining 8 10mm wire tube segments.

[0077] Please also see Figure 7, an example schematic diagram of printing and cutting processing is provided for an embodiment of the present application. If the remaining length of the printing material is y and there is a cutting instruction in the printing instruction information, the printing material usage detection device obtains that the number of cutting segments is 5 and the cutting segment length is x, then the printing material usage detection device can control the printing device to print and cut the wire tube to be printed. Each printing process requires x length of printing material to complete the printing and cutting of the wire tube of x length. When 4 printed wire tube segments are obtained, the remaining length of the printing material will become y-4x. At this time, the printing length of the wire tube to be printed obtained by the printing material usage detection device is the cutting segment length x, and y-4x is less than x, that is, the remaining length of the printing material is less than the printing length of the wire tube to be printed, indicating that the remaining printing material is insufficient to complete the printing process for one wire tube segment, then the printing material usage detection device will control the printing device to stop the printing and cutting processes for the wire tube to be printed.

[0078] In an embodiment of the present application, the user's printing instruction information for the wire tube to be printed is obtained. If there is a cutting instruction in the printing instruction information, the cutting segment length for the wire tube to be printed in the printing instruction information is obtained, and the cutting segment length is determined as the printing length of the wire tube to be printed. If there is a cutting instruction in the printing instruction information, the cutting segment length for the wire tube to be printed in the printing instruction information is obtained, and the cutting segment length is determined as the printing length of the wire tube to be printed. By determining the cutting segment length as the printing length of the wire tube to be printed, it is more suitable for the working scene of the printing device that requires cutting processing, and the printing material surplus is used to complete the printing of the segmented wire tube as much as possible, avoiding the waste of printing materials, and at the same time avoiding the waste of wire tubes caused by insufficient printing material surplus to print the segmented wire tube, thereby improving the flexibility of printing material surplus detection.

[0079] In one or more embodiments of the present application, the printing material usage detection method may further include the following steps:

[0080] If the remaining length of the printing material is less than the printing length of the bobbin to be printed, a prompt message indicating insufficient material will be output.

[0081] Specifically, if the remaining length of the printing material is less than the printing length of the wire tube to be printed, it means that the remaining printing material is insufficient to complete the printing process of the wire tube to be printed, which may easily cause waste of the wire tube. The printing material usage detection device can output a material shortage prompt message to prompt the user or staff to replace the printing material in time.

[0082] Optionally, when there is a cutting instruction in the printing instruction information, if the remaining length of the printing material is less than the printing length of the wire tube to be printed, the number of uncut segments is obtained, and the number of uncut segments is the number of wire tube segments that the printing device has not completed the printing and cutting processes. For example, the number of cutting segments in the printing instruction information is 8, but only the printing process of 5 wire tube segments has been completed. Since the remaining length of the printing material is insufficient, the printing process and cutting process of the subsequent wire tube segments cannot be completed, and the number of uncut segments is 3. The printing material consumption detection device can generate a material shortage prompt message based on the number of uncut segments, and output the material shortage prompt message to prompt the user or staff to replace the printing material while continuing to complete the printing process and cutting process for the wire tube of the number of uncut segments.

[0083] In the embodiment of the present application, the user or staff is prompted to replace the printing material in time by outputting the material shortage prompt information to avoid affecting the subsequent printing work. If the remaining length of the printing material is less than the printing length of the wire tube to be printed, the number of uncut segments is obtained, and the material shortage prompt information is generated based on the number of uncut segments and output, prompting the user or staff to continue to complete the printing operation of the wire tube corresponding to the number of cut segments, further ensuring the accuracy and efficiency of the wire tube printing work.

[0084] In one or more embodiments of the present application, the printing material usage detection method may further include the following steps:

[0085] If the remaining length of the printing material is zero, a prompt message indicating that the material is insufficient is output, and / or the printing process for the wire tube to be printed is stopped.

[0086] Specifically, if the remaining length of the printing material is zero, the material shortage information is output, and the printing process for the wire tube to be printed can be stopped, and / or the cutting process for the wire tube to be printed can be stopped. In addition, since the wire tube to be printed will be moved when the wire number machine performs printing and cutting processes on the wire tube to facilitate printing and cutting, the printing material usage detection device can also stop the movement process for the wire tube to be printed, so as to avoid erroneous printing, cutting and moving of the wire tube when the remaining printing material is insufficient, thereby avoiding waste of the wire tube.

[0087] The following will be combined with the attached Figure 8 -Attached Fig. 9 , the printing material usage detection device provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 8 -Attached Fig. 9 The printing material usage detection device in the present application is used to implement Figure 1-Figure 7For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1-Figure 7 The embodiment shown.

[0088] See also Figure 8 , which shows a schematic diagram of the structure of a printing material usage detection device provided by an exemplary embodiment of the present application. The printing material usage detection device can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes a remaining material acquisition unit 11, a printing processing unit 12, a printing processing unit 13 and an update processing unit 14.

[0089] A remaining material acquisition unit 11, configured to obtain a remaining length of the printed material based on an information storage chip corresponding to the printed material;

[0090] A printing processing unit 12, configured to perform printing processing on the wire tube to be printed if the remaining length is greater than the printing length of the wire tube to be printed;

[0091] A consumed length obtaining unit 13 is used to obtain the consumed length of the printed material this time;

[0092] The update processing unit 14 is used to update the used length in the information storage chip based on the current consumed length.

[0093] In this embodiment, the remaining length of the printing material is obtained based on the information storage chip corresponding to the printing material. If the remaining length is greater than the printing length of the to-be-printed wire tube, the to-be-printed wire tube is printed to obtain the current consumption length of the printing material. Based on the current consumption length, the used length in the information storage chip is updated. The remaining amount of printing material is obtained through the information storage information, and the remaining amount of material is updated after printing is completed. Printing is performed when there is sufficient printing material, thereby improving the accuracy of the remaining amount of printing material detection and avoiding wire tube waste.

[0094] See also Fig. 9 , which shows a schematic diagram of the structure of a printing material usage detection device provided by an exemplary embodiment of the present application. The printing material usage detection device can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes a remaining material acquisition unit 11, a printing processing unit 12, a printing processing unit 13, an update processing unit 14, a printing length acquisition unit 15, a first prompt output unit 16 and a second prompt output unit 17.

[0095] A remaining material acquisition unit 11 is used to obtain the remaining length of the printing material based on the information storage chip corresponding to the printing material;

[0096] Optionally, the remaining material acquisition unit 11 is specifically used to acquire the used length and total length of the printing material in the information storage chip corresponding to the printing material if it is detected that the printing material installation is completed;

[0097] The difference between the total length and the used length is calculated to obtain the remaining length of the printed material.

[0098] A printing processing unit 12, configured to perform printing processing on the wire tube to be printed if the remaining length is greater than the printing length of the wire tube to be printed;

[0099] A consumed length obtaining unit 13 is used to obtain the consumed length of the printed material this time;

[0100] Optionally, the consumed length acquisition unit 13 is specifically used to acquire the number of rotation steps of the stepping motor in this printing process and the transmission ratio of the mechanical transmission system in which the stepping motor is located;

[0101] The quotient of the rotation step number and the transmission ratio is calculated to obtain the current consumption length of the printing material.

[0102] The update processing unit 14 is used to update the used length in the information storage chip based on the current consumed length.

[0103] Optionally, the update processing unit 14 is specifically used to calculate the sum of the used length and the currently consumed length to obtain a length update value;

[0104] The length update value is used to update the used length in the information storage chip.

[0105] A printing length obtaining unit 15 is used to obtain the user's printing instruction information for the wire tube to be printed;

[0106] The printing length of the to-be-printed wire tube is determined based on the printing instruction information.

[0107] Optionally, the printing length acquisition unit 15 is specifically used to acquire the total printing length of the wire tube to be printed in the printing instruction information if there is no cutting instruction in the printing instruction information;

[0108] The total printing length is determined as the printing length of the wire tube to be printed.

[0109] Optionally, the printing length acquisition unit 15 is specifically used to acquire the cutting segment length for the wire tube to be printed in the printing instruction information if there is a cutting instruction in the printing instruction information;

[0110] The cutting segment length is determined as the printing length of the wire tube to be printed.

[0111] The first prompt output unit 16 is used to output a prompt message indicating that the material is insufficient if the remaining length of the printing material is less than the printing length of the wire tube to be printed.

[0112] Optionally, the first prompt output unit 16 is specifically used to obtain the total printing length and the number of cutting segments for the wire tube to be printed in the printing instruction letter;

[0113] The quotient of the total printing length and the number of cutting segments is calculated to obtain the cutting segment length of the wire tube to be printed.

[0114] Optionally, the first prompt output unit 16 is specifically used to obtain the number of uncut segments if the remaining length of the printing material is less than the printing length of the wire tube to be printed;

[0115] Material shortage prompt information is generated based on the number of uncut segments, and the material shortage prompt information is output.

[0116] The second prompt output unit 17 is used to output a prompt message of insufficient material if the remaining length of the printing material is zero, and / or stop executing the printing process for the wire tube to be printed.

[0117] Optionally, the printing material is a carbon ribbon, and an information storage chip corresponding to the printing material is placed in a carbon ribbon box corresponding to the carbon ribbon.

[0118] In this embodiment, if it is detected that the installation of the printing material is completed, the used length and the total length of the printing material in the information storage chip corresponding to the printing material are obtained, and the difference between the total length and the used length is calculated to obtain the remaining length of the printing material. The used length and the total length are stored in the information storage chip, so that the information storage chip can provide more data information, which is convenient for fault diagnosis and data verification when problems occur, improves data security, and thus improves the accuracy of obtaining the remaining length. If the remaining length detected by the amount of printing material is greater than the printing length of the wire tube to be printed, the printing process is performed on the wire tube to be printed according to the amount of printing material detection, and the number of rotation steps of the stepper motor and the transmission ratio of the mechanical transmission system in which the stepper motor is located in this printing process are obtained, and the quotient of the number of rotation steps and the transmission ratio is calculated to obtain the current consumption length of the printing material. By calculating the current consumption length by the number of rotation steps and the transmission ratio of the stepper motor, the accuracy of the obtained current consumption length is improved, thereby improving the accuracy of the remaining length.

[0119] The sum of the used length and the length consumed this time is calculated to obtain the length update value, and the used length in the information storage chip is updated using the length update value. By updating the used length, the timeliness and accuracy of the data in the information storage chip are guaranteed, thereby improving the accuracy of the remaining length obtained. The user's printing instruction information for the wire tube to be printed is obtained. If there is a cutting instruction in the printing instruction information, the cutting segment length for the wire tube to be printed in the printing instruction information is obtained, and the cutting segment length is determined as the printing length of the wire tube to be printed. If there is a cutting instruction in the printing instruction information, the cutting segment length for the wire tube to be printed in the printing instruction information is obtained, and the cutting segment length is determined as the printing length of the wire tube to be printed. By determining the cutting segment length as the printing length of the wire tube to be printed, it is more suitable for the working scene of the printing device that requires cutting processing, and the printing material surplus is used to complete the printing of the segmented wire tube as much as possible, avoiding the waste of printing materials, and at the same time avoiding the waste of wire tubes caused by insufficient printing material surplus to print segmented wire tubes, thereby improving the flexibility of printing material surplus detection.

[0120] By outputting a material shortage prompt message, the user or staff is prompted to replace the printing material in time to avoid affecting the subsequent printing work. If the remaining length of the printing material is less than the printing length of the wire tube to be printed, the number of uncut segments is obtained, and a material shortage prompt message is generated based on the number of uncut segments and output, prompting the user or staff to continue to complete the printing operation of the wire tube corresponding to the number of cut segments, further ensuring the accuracy and efficiency of the wire tube printing work, and can also stop the execution of the movement processing for the wire tube to be printed, avoiding the wrong printing, cutting and moving of the wire tube when the remaining printing material is insufficient, thereby avoiding waste of wire tube.

[0121] It should be noted that the printing material amount detection device provided in the above embodiment only uses the division of the above functional modules as an example when executing the printing material amount detection method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the printing material amount detection device provided in the above embodiment and the printing material amount detection method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

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

[0123] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 1-Figure 7The printing material usage detection method of the embodiment shown in the figure can be specifically implemented by referring to Figure 1-Figure 7 The specific description of the illustrated embodiment will not be repeated here.

[0124] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 1-Figure 7 The printing material usage detection method of the embodiment shown in the figure can be specifically implemented by referring to Figure 1-Figure 7 The specific description of the illustrated embodiment will not be repeated here.

[0125] Please refer to Fig.10 , which shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application may 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 may be connected via the bus 150.

[0126] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions and processes data of the terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user pages, and applications; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0127] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium (Non-Transitory Computer-Readable Storage Medium). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an IOS system developed by Apple, including a system deeply developed based on the IOS system or other systems.

[0128] The memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve good operating results, the operating system allocates corresponding system resources to different third-party applications. However, the requirements for system resources in different application scenarios in the same third-party application are also different. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and third-party applications are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.

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

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

[0131] 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, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.

[0132] In addition, those skilled in the art will appreciate that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module and other components, which will not be described in detail here.

[0133] exist Fig.10 In the electronic device shown, the processor 110 can be used to call the printing material usage detection application stored in the memory 120, and specifically perform the following operations:

[0134] Obtaining the remaining length of the printing material based on the information storage chip corresponding to the printing material;

[0135] If the remaining length is greater than the printing length of the wire tube to be printed, printing processing is performed on the wire tube to be printed;

[0136] Obtain the current consumed length of the printed material;

[0137] Based on the currently consumed length, the used length in the information storage chip is updated.

[0138] In one embodiment, when the processor 110 obtains the remaining length of the printed material based on the information storage chip corresponding to the printed material, the processor 110 specifically performs the following operations:

[0139] If it is detected that the installation of the printing material is completed, obtaining the used length and the total length of the printing material in the information storage chip corresponding to the printing material;

[0140] The difference between the total length and the used length is calculated to obtain the remaining length of the printed material.

[0141] In one embodiment, when the processor 110 obtains the current consumed length of the printed material, the processor 110 specifically performs the following operations:

[0142] Obtaining the number of rotation steps of the stepper motor and the transmission ratio of the mechanical transmission system in which the stepper motor is located during the current printing process;

[0143] The quotient of the rotation step number and the transmission ratio is calculated to obtain the current consumption length of the printing material.

[0144] In one embodiment, when the processor 110 updates the used length in the information storage chip based on the currently consumed length, the processor 110 specifically performs the following operations:

[0145] Calculate the sum of the used length and the currently consumed length to obtain a length update value;

[0146] The length update value is used to update the used length in the information storage chip.

[0147] In one embodiment, when executing the printing material usage detection method, the processor 110 further performs the following operations:

[0148] If the remaining length of the printing material is less than the printing length of the wire tube to be printed, a prompt message indicating insufficient material is output.

[0149] In one embodiment, the processor 110 further performs the following operations before outputting a material shortage prompt message if the remaining length of the printing material is less than the printing length of the to-be-printed wire tube:

[0150] Obtaining printing instruction information from a user for the wire tube to be printed;

[0151] The printing length of the to-be-printed wire tube is determined based on the printing instruction information.

[0152] In one embodiment, when the processor 110 determines the printing length of the to-be-printed wire tube based on the printing instruction information, the processor 110 specifically performs the following operations:

[0153] If there is no cutting instruction in the printing instruction information, obtaining the total printing length of the wire tube to be printed in the printing instruction information;

[0154] The total printing length is determined as the printing length of the wire tube to be printed.

[0155] In one embodiment, when the processor 110 determines the printing length of the to-be-printed wire tube based on the printing instruction information, the processor 110 specifically performs the following operations:

[0156] If there is a cutting instruction in the printing instruction information, obtaining the cutting segment length for the wire tube to be printed in the printing instruction information;

[0157] The cutting segment length is determined as the printing length of the wire tube to be printed.

[0158] In one embodiment, when the processor 110 executes the acquisition of the cutting segment length of the to-be-printed wire tube in the printing instruction information, the processor 110 specifically performs the following operations:

[0159] Obtaining the total printing length and the number of cutting segments for the wire tube to be printed in the printing instruction letter;

[0160] The quotient of the total printing length and the number of cutting segments is calculated to obtain the cutting segment length of the wire tube to be printed.

[0161] In one embodiment, when the processor 110 outputs a material shortage prompt message if the remaining length of the printing material is less than the printing length of the to-be-printed wire tube, the processor 110 specifically performs the following operations:

[0162] If the remaining length of the printing material is less than the printing length of the to-be-printed wire tube, obtaining the number of uncut segments;

[0163] Material shortage prompt information is generated based on the number of uncut segments, and the material shortage prompt information is output.

[0164] In one embodiment, when executing the printing material usage detection method, the processor 110 further performs the following operations:

[0165] If the remaining length of the printing material is zero, a prompt message indicating that the material is insufficient is output, and / or the printing process for the wire tube to be printed is stopped.

[0166] In one embodiment, the printing material is a carbon ribbon, and the information storage chip corresponding to the printing material is placed in a carbon ribbon box corresponding to the carbon ribbon.

[0167] In this embodiment, if it is detected that the installation of the printing material is completed, the used length and the total length of the printing material in the information storage chip corresponding to the printing material are obtained, and the difference between the total length and the used length is calculated to obtain the remaining length of the printing material. The used length and the total length are stored in the information storage chip, so that the information storage chip can provide more data information, which is convenient for fault diagnosis and data verification when problems occur, improves data security, and thus improves the accuracy of obtaining the remaining length. If the remaining length detected by the amount of printing material is greater than the printing length of the wire tube to be printed, the printing process is performed on the wire tube to be printed according to the amount of printing material detection, and the number of rotation steps of the stepper motor and the transmission ratio of the mechanical transmission system in which the stepper motor is located in this printing process are obtained, and the quotient of the number of rotation steps and the transmission ratio is calculated to obtain the current consumption length of the printing material. By calculating the current consumption length by the number of rotation steps and the transmission ratio of the stepper motor, the accuracy of the obtained current consumption length is improved, thereby improving the accuracy of the remaining length.

[0168] The sum of the used length and the length consumed this time is calculated to obtain the length update value, and the used length in the information storage chip is updated using the length update value. By updating the used length, the timeliness and accuracy of the data in the information storage chip are guaranteed, thereby improving the accuracy of the remaining length obtained. The user's printing instruction information for the wire tube to be printed is obtained. If there is a cutting instruction in the printing instruction information, the cutting segment length for the wire tube to be printed in the printing instruction information is obtained, and the cutting segment length is determined as the printing length of the wire tube to be printed. If there is a cutting instruction in the printing instruction information, the cutting segment length for the wire tube to be printed in the printing instruction information is obtained, and the cutting segment length is determined as the printing length of the wire tube to be printed. By determining the cutting segment length as the printing length of the wire tube to be printed, it is more suitable for the working scene of the printing device that requires cutting processing, and the printing material surplus is used to complete the printing of the segmented wire tube as much as possible, avoiding the waste of printing materials, and at the same time avoiding the waste of wire tubes caused by insufficient printing material surplus to print segmented wire tubes, thereby improving the flexibility of printing material surplus detection.

[0169] By outputting a material shortage prompt message, the user or staff is prompted to replace the printing material in time to avoid affecting the subsequent printing work. If the remaining length of the printing material is less than the printing length of the wire tube to be printed, the number of uncut segments is obtained, and a material shortage prompt message is generated based on the number of uncut segments and output, prompting the user or staff to continue to complete the printing operation of the wire tube corresponding to the number of cut segments, further ensuring the accuracy and efficiency of the wire tube printing work, and can also stop the execution of the movement processing for the wire tube to be printed, avoiding the wrong printing, cutting and moving of the wire tube when the remaining printing material is insufficient, thereby avoiding waste of wire tube.

[0170] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0171] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

[0172] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this specification are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the total length, used length and used length involved in this specification are all obtained with full authorization.

Claims

1. A method for detecting the amount of printing material, characterized in that: The method comprises: Obtaining the remaining length of the printing material based on the information storage chip corresponding to the printing material; If the remaining length is greater than the printing length of the wire tube to be printed, printing processing is performed on the wire tube to be printed; Obtain the current consumed length of the printed material; Based on the currently consumed length, the used length in the information storage chip is updated.

2. The method according to claim 1, characterized in that The obtaining the remaining length of the printing material based on the information storage chip corresponding to the printing material includes: If it is detected that the installation of the printing material is completed, obtaining the used length and the total length of the printing material in the information storage chip corresponding to the printing material; The difference between the total length and the used length is calculated to obtain the remaining length of the printed material.

3. The method according to claim 1, characterized in that: The obtaining of the current consumed length of the printed material comprises: Obtaining the number of rotation steps of the stepper motor and the transmission ratio of the mechanical transmission system in which the stepper motor is located during the current printing process; The quotient of the rotation step number and the transmission ratio is calculated to obtain the current consumption length of the printing material.

4. The method according to claim 2, characterized in that: The updating process of the used length in the information storage chip based on the currently consumed length includes: Calculate the sum of the used length and the currently consumed length to obtain a length update value; The length update value is used to update the used length in the information storage chip.

5. The method according to claim 1, characterized in that The method further comprises: If the remaining length of the printing material is less than the printing length of the wire tube to be printed, a prompt message indicating insufficient material is output.

6. The method according to claim 5, characterized in that If the remaining length of the printing material is less than the printing length of the to-be-printed wire tube, before outputting the material shortage prompt information, the method further includes: Obtaining printing instruction information from a user for the wire tube to be printed; The printing length of the to-be-printed wire tube is determined based on the printing instruction information.

7. The method according to claim 6, characterized in that The step of determining the printing length of the to-be-printed wire tube based on the printing instruction information includes: If there is no cutting instruction in the printing instruction information, obtaining the total printing length of the wire tube to be printed in the printing instruction information; The total printing length is determined as the printing length of the wire tube to be printed.

8. The method according to claim 6, characterized in that The step of determining the printing length of the to-be-printed wire tube based on the printing instruction information includes: If there is a cutting instruction in the printing instruction information, obtaining the cutting segment length for the wire tube to be printed in the printing instruction information; The cutting segment length is determined as the printing length of the wire tube to be printed.

9. The method according to claim 8, characterized in that The obtaining of the cutting segment length for the to-be-printed wire tube in the printing instruction information includes: Obtaining the total printing length and the number of cutting segments for the wire tube to be printed in the printing instruction letter; The quotient of the total printing length and the number of cutting segments is calculated to obtain the cutting segment length of the wire tube to be printed.

10. The method according to claim 8, characterized in that If the remaining length of the printing material is less than the printing length of the to-be-printed wire tube, outputting a prompt message indicating that the material is insufficient includes: If the remaining length of the printing material is less than the printing length of the to-be-printed wire tube, obtaining the number of uncut segments; Material shortage prompt information is generated based on the number of uncut segments, and the material shortage prompt information is output.

11. The method according to claim 1, characterized in that: The method further comprises: If the remaining length of the printing material is zero, a prompt message indicating that the material is insufficient is output, and / or the printing process for the wire tube to be printed is stopped.

12. The method according to claim 1, characterized in that The printing material is a carbon ribbon, and the information storage chip corresponding to the printing material is placed in a carbon ribbon box corresponding to the carbon ribbon.

13. A printing material usage detection device, characterized in that: The device comprises: A remaining material acquisition unit, configured to obtain a remaining length of the printing material based on an information storage chip corresponding to the printing material; A printing processing unit, configured to perform printing processing on the wire tube to be printed if the remaining length is greater than the printing length of the wire tube to be printed; A consumed length obtaining unit, used for obtaining the consumed length of the printed material this time; An update processing unit is used to update the used length in the information storage chip based on the current consumed length.

14. 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 steps according to any one of claims 1 to 12.

15. 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 steps as claimed in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Printing device and control method thereof, and drum-type printing consumable assembly

    CN104002567A

  • Method and device for identifying authenticity of carbon tape based on RFID, printer and storage medium

    CN111361310A

  • Printer consumable monitoring method and device and electronic equipment

    CN113110807A

  • Tube machining control device

    JP1997319794A

  • Image Outputting Apparatus

    US20100020357A1