Paper label margin measuring method and system and storage medium

By identifying the unique identification code of the paper tag and the preset algorithm to calculate the label paper residual amount, the problems of complex operation and high cost in the prior art are solved, and simple and economical label paper residual amount measurement is achieved, reducing equipment losses.

CN118906674APending Publication Date: 2024-11-08WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410948215.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The prior art is complex and expensive to measure the remaining amount of label paper in the printing equipment, making it difficult to obtain simple and economical information.

Method used

By identifying the unique identification code of the paper tag, the preset algorithm is called to calculate the total amount of label paper, and combined with the single body length and spacing of the label paper, the preset conversion algorithm is used to record the remaining label paper, or the movement speed is passed when there is no preset logo and Time calculation margin.

Benefits of technology

It realizes simple and economical acquisition of label paper residual information, which facilitates users to replace paper labels in a timely manner and reduces machine losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118906674A_ABST
    Figure CN118906674A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of printing equipment, in particular to a paper label margin measuring method and system and a storage medium. The method comprises the steps that S1, a unique identification code x of a paper label is identified, a preset algorithm f is called to calculate the total amount N of the paper label, N is equal to f (x), and the length k1 of a single body of the label paper and the distance k2 between adjacent single bodies are obtained; and S2, the printing device executes a printing instruction, a preset conversion algorithm g is called when it is recognized that the preset identification ym exists in the preset area of the label paper, and the paper label remaining amount n = N-g (ym) is recorded. And S3, the printing equipment starts timing when recognizing that the label paper single body has the preset identifier ym, a time period is a period when the printing equipment recognizes that the label paper single body has the preset identifier ym ', and in one time period, if the printing equipment does not recognize that the label paper single body has the preset identifier, the printing equipment does not recognize that the label paper single body has the preset identifier ym ', the printing equipment does not recognize that the label paper single body has the preset identifier ym'. And recording the remaining amount n of the paper label, wherein n = N-g (ym)-W [v * t / (k1 + k2)]. Compared with the prior art, the method has the advantages that the paper label allowance information can be acquired more simply and conveniently, so that a user can replace the paper label in time, and machine loss is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of printing equipment, and in particular to a method and system for measuring the remaining amount of a paper label. [Background technology]

[0002] At present, how users can accurately know the remaining amount of label paper when printing so as to replace new label paper in time is an urgent problem to be solved. There are generally three methods for measuring the remaining amount of label paper in traditional printing equipment. The first is based on the counting principle of the chip. When the printing equipment performs operations such as printing, the chip will record the corresponding pulse or signal, and estimate the remaining amount in combination with the initial capacity and consumption of the label paper; the second is based on the detection principle of the sensor, through optical sensors, pressure sensors, etc., real-time monitoring of the state of the label paper, such as the change of the thickness of the label paper, and the remaining amount is calculated through the built-in algorithm; the third is a comprehensive judgment method combining chip counting and sensor detection, respectively measuring the remaining amount of label paper through chip counting and sensor detection, and weighting, averaging or other forms of processing are performed on the results of various methods through the built-in algorithm to obtain a more accurate result of the remaining amount of label paper. The above methods rely on sensors or chip algorithms, and are complex to operate and costly. In view of this, the present invention is committed to providing a method, system and storage medium for measuring the remaining amount of paper labels, which can obtain the remaining information of paper labels in a simpler, more convenient and low-cost way. [Summary of the invention]

[0003] In view of this, the purpose of the embodiments of the present invention is to provide a paper label remaining measurement method, system and storage medium, which can obtain paper label remaining information more simply, conveniently and cost-effectively, so that users can replace new paper labels in time and reduce machine wear and tear.

[0004] The embodiment of the present invention provides a method for measuring the remaining amount of a paper label, comprising the following steps:

[0005] S1, the printing device identifies the unique identification code x of the paper label, calls the preset algorithm f to calculate the total amount N of the paper labels, where N=f(x), and obtains the length k1 of a single body of the label paper and the spacing k2 between adjacent single bodies;

[0006] S2, the printing device executes the printing instruction and identifies whether there is a preset mark ym in the preset area of ​​the single body of the label paper:

[0007] If not, the printing device continues to execute the printing instruction until it recognizes that the preset mark ym exists in the single body preset area of ​​the label paper;

[0008] If it exists, the printing device calls the preset conversion algorithm g and records the paper label remainder n=Ng(ym);

[0009] S3, the printing device starts timing from the time when it recognizes that the single body of the label paper has the preset mark ym, and the time period is one time period until it recognizes that the single body of the label paper has the preset mark ym' again. During one time period, the printing device recognizes whether the preset mark ym' exists in the preset area of ​​the single body of the label paper:

[0010] If it exists, the preset conversion algorithm g is called to record the paper label margin n=Ng(ym′);

[0011] If it does not exist, the printing device records the paper label remainder n=Ng(ym)-W[v×t / (k1+k2)], where W is the rounding function, v is the movement speed of the paper label, and t is the cumulative movement time since the printing device starts timing.

[0012] Preferably, the device for identifying the unique identification code of the paper label includes: a printing device or other terminals.

[0013] Preferably, the paper labels include: non-continuous paper labels in which the spacing k2 between adjacent single bodies of the label paper is not less than 15 mm and not more than 30 mm.

[0014] Preferably, the paper label comprises: a continuous paper label in which the spacing k2 between adjacent single bodies of the label paper is 0.

[0015] An embodiment of the present invention also provides a paper label remaining measurement system, comprising a paper label and a printing device, wherein the paper label comprises an RFID chip, and the RFID chip stores the unique identification code of the paper label; the printing device comprises an RFID reader and a processor, wherein the RFID reader is used to identify the unique identification code of the paper label, and the processor is used to receive, process and transmit data information.

[0016] The embodiment of the present invention further provides a computer storage medium storing a computer program, wherein the program, when executed by a processor, implements the above-mentioned paper label remaining amount measuring method.

[0017] The above embodiment measures the paper label remainder in two cases: for the case where there is a preset mark on a single body of label paper, the preset conversion algorithm g is called to calculate the paper label remainder n=Ng(ym); for the case where there is no preset mark on a single body of label paper, by obtaining the length k1 of the single body of label paper and the spacing k2 between adjacent single bodies, and recording the running time t, the paper label remainder n=Ng(ym)-W[v×t / (k1+k2)] is calculated. Compared with the prior art, the present invention provides a method, system and storage medium for obtaining paper label remainder information in a simpler, more convenient and low-cost manner.

Brief Description of the Drawings

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and are therefore not to be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 A schematic diagram of a flow chart of a method for measuring the remaining amount of a paper label provided by an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of a discontinuous paper label provided by an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of a continuous paper label provided by an embodiment of the present invention;

[0022] Figure 4 A schematic structural diagram of a paper label remainder measurement system provided by an embodiment of the present invention.

[0023] Icon: 201 - first preset identification; 202 - single body of label paper; 203 - second preset identification; 301 - first preset identification; 302 - single body of label paper; 303 - second preset identification; 401 - paper label; 402 - RFID reader; 403 - processor; 404 - memory. [Specific implementation method]

[0024] In order to better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0025] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0026] Embodiment 1:

[0027] like Figure 1 As shown, the first embodiment of the present invention provides a method for measuring the remaining amount of a paper label, specifically, comprising at least the following steps:

[0028] S1, identify the unique identification code x of the paper label, call the preset algorithm f to calculate the total amount N of paper labels, where N=f(x), and obtain the length k1 of a single body of the label paper and the spacing k2 between adjacent single bodies.

[0029] In this embodiment, the paper label includes an RFID chip, and the RFID chip stores the unique identification code of the paper label; the printing device contains an RFID reader / writer, which can identify the unique identification code of the paper label; and the total amount N of the paper labels is the original number of paper labels.

[0030] The method for obtaining the length of a single body of label paper and the distance between adjacent single bodies may be to call an algorithm function or to directly measure through a sensor. The embodiment of the present invention does not specifically limit the method for obtaining k1 and k2.

[0031] In a specific implementation, the printing device identifies the unique identification code of the paper label, calls a preset algorithm f, and calculates the total amount N of the paper labels, where N=50.

[0032] S2, the printing device executes the printing instruction, recognizes that there is a preset mark ym in the preset area of ​​the label paper, and then calls the preset conversion algorithm g to record the paper label remaining amount n=Ng(ym).

[0033] In this embodiment, the preset area can be set at any position of the single body of the label paper, and the embodiment of the present invention does not specifically limit the preset area.

[0034] The preset mark can be a point or a fluorescent light, can be one or several, can be set in the center of the preset area, or can occupy the entire space of the preset area. The embodiment of the present invention does not specifically limit the position, size, number, form, etc. of the preset mark.

[0035] The preset conversion algorithm g can identify the preset mark in the preset area of ​​the label paper and obtain the number of the label paper.

[0036] In a specific implementation, the preset area of ​​the label paper is set at the center of the label paper, and the preset mark is a point. If the printing device recognizes that the preset area of ​​the first label paper has a preset point, the remaining paper label calculated there is n=50-1=49.

[0037] S3, the printing device starts timing from the time when it recognizes that the single body of the label paper has the preset mark ym, and the time period is one time period until it recognizes that the single body of the label paper has the preset mark ym' again. If the printing device does not recognize that the single body of the label paper has the preset mark within one time period, then the remaining number of recording paper labels n = Ng (ym) - W [v × t /

[0038] (k1+k2)], where W is the rounding function, v is the movement speed of the paper label, and t is the cumulative movement time since the printing device starts timing.

[0039] In this embodiment, the existence of the preset mark is random. In order to achieve the universality of the solution, the remaining amount of the single body of label paper that does not recognize the preset mark in the preset area is measured. The time period is the time taken by the printing device to scan two adjacent single bodies of label paper with the preset mark.

[0040] In a specific embodiment, if the printing device recognizes that a single body of label paper has the first preset mark 201, 301 and is located on the first label paper, and recognizes again that the single body of label paper with the second preset mark 203, 303 is the fourth label paper, the time period is the unit time used by the printing device to scan from the first label paper to the fourth label paper.

[0041] In this embodiment, if the printing device fails to recognize the preset mark within the time period, it means that the printing device continues to execute the printing instruction from the single body of the label paper with the preset mark and starts timing synchronously, and stops at the single body of the label paper with the preset mark in the preset area. The remaining paper label is the total amount of paper labels-the serial number of the label paper with the preset mark at the start of timing-the consumption of label paper during the stop timing, wherein the serial number of the label paper with the preset mark at the start of timing is obtained by referencing the preset conversion algorithm g to obtain g(ym), and the consumption of label paper during the stop timing is obtained by (paper label movement speed v×the cumulative movement time t of the printing device) / (the length k1 of the single body of the label paper+the spacing k2 of the adjacent single bodies), and then rounded.

[0042] In a specific embodiment, the printing device starts timing from the first label paper (with preset marks, such as 201, 301) and stops timing at the second label paper (without preset marks, such as 202, 302); the movement speed of the paper label is 10 mm / s, and the time is 4s; the length k1 of a single body of the label paper is 30 mm, and the spacing k2 between adjacent single bodies is 10 mm, then the paper label margin n=50-1-10×4 / (10+30)=48.

[0043] Preferably, the device for identifying the unique identification code of the paper label includes: a printing device and other terminals.

[0044] The other terminals are devices for user information input and processing result output, including cloud servers, personal computers (PCs), tablet computers, smart phones, smart watches and other devices with interaction and information processing capabilities.

[0045] Preferably, if Figure 2As shown, the paper label comprises:

[0046] The spacing k2 between adjacent single bodies of label paper is not less than 15mm and not more than 30mm for non-continuous paper labels.

[0047] Preferably, if Figure 3 As shown, the paper label comprises:

[0048] The spacing k2 between adjacent single bodies of label paper is 0.

[0049] Embodiment 2:

[0050] See also Figure 4 As shown, the second embodiment of the present invention provides a paper label remaining amount measuring system, comprising: a paper label 401 and a printing device, wherein the paper label comprises an RFID chip, and the RFID chip stores a unique identification code of the paper label;

[0051] The printing device includes an RFID reader / writer 402 and a processor 403, wherein the RFID reader / writer 402 is used to identify a unique identification code of a paper label, and the processor 403 is used to receive, process and transmit data information.

[0052] Exemplarily, the RFID reader / writer 402 is a device for reading and writing RFID tag information. It automatically identifies the electronic tag by transmitting a radio frequency identification signal, obtains relevant data, and realizes contactless data transmission. The RFID reader / writer includes an RFID radio frequency module, a control unit, and an antenna, wherein the RFID radio frequency module is responsible for generating radio frequency signals and communicating with the RFID tag; the control unit controls the radio frequency module and processes the data read from the tag or written to the tag; the antenna is used to transmit and receive radio frequency signals to realize wireless communication with the RFID tag. The RFID reader / writer 402 in this embodiment is used to identify the unique identification code of the paper tag.

[0053] The processor 403 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP, etc. The general-purpose processor 403 may be a microprocessor or any conventional processor, etc. The processor 403 is the control center of the paper label remainder measurement method, and uses various interfaces and lines to connect the various parts of the paper label remainder measurement method.

[0054] Embodiment 3:

[0055] A third embodiment of the present invention provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for measuring the remaining amount of paper labels as described above is implemented.

[0056] Exemplarily, the storage medium 404 described in the present invention can be used to store the computer program and / or module, and may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital, SD), a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0057] The computer program is stored in a storage medium, and when executed by a processor, the steps of each of the above method embodiments can be implemented. The computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The storage medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), etc.

[0058] It should be noted that the system embodiment described above is merely illustrative, wherein the module components shown may be located in one unit or in different network units, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the system embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art may understand and implement it without creative work.

[0059] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for measuring the remaining amount of a paper label, characterized in that: The method comprises: S1, identify the unique identification code x of the paper label, call the preset algorithm f to calculate the total amount N of the paper labels, where N = f(x), and obtain the length k1 of a single body of the label paper and the spacing k2 between adjacent single bodies; S2, the printing device executes the printing instruction and identifies whether the preset mark ym exists in the preset area of ​​the single body of the label paper in the moving state: If not, the printing device continues to execute the printing instruction until it recognizes that the preset mark ym exists in the single body preset area of ​​the label paper; If it exists, the printing device calls the preset conversion algorithm g and records the paper label remainder n=Ng(ym); S3, the printing device starts timing from the first time it recognizes that the single body of the label paper has the preset mark ym, and the time period is one time period from the second time it recognizes that the single body of the label paper has the preset mark ym′. Within one time period, the printing device recognizes whether the single body of the label paper has the preset mark ym′ at the time when the timing is stopped: If it exists, the preset conversion algorithm g is called to record the paper label margin n=Ng(ym′); If it does not exist, the printing device records the paper label remainder n=Ng(ym)-W[v×t / (k1+k2)], where W is the rounding function, v is the movement speed of the paper label, and t is the cumulative movement time since the printing device starts timing.

2. The paper label remaining amount measuring method according to claim 1, characterized in that: The device for identifying the unique identification code of the paper label includes: a printing device or other terminals.

3. The paper label remaining amount measuring method according to claim 2, characterized in that: When the paper label is a discontinuous paper label, the spacing k2 between adjacent single bodies of the label paper is not less than 15 mm and not more than 30 mm.

4. The paper label remaining amount measuring method according to claim 2, characterized in that: When the paper label is a continuous paper label, the spacing k2 between adjacent single bodies of the label paper is 0.

5. A paper label remaining quantity measuring system, characterized in that: The paper tag includes an RFID chip, and the RFID chip stores a unique identification code of the paper tag; The printing device comprises an RFID reader / writer and a processor, wherein the RFID reader / writer is used to identify a unique identification code of a paper label, and the processor is used to receive, process and transmit data information.

6. A computer storage medium storing a computer program, characterized in that: When the program is executed by a processor, the paper label remaining amount measuring method according to any one of claims 1 to 4 is implemented.