A printer ribbon management method and device, electronic equipment and storage medium

By using RFID card technology in thermal transfer printers to detect and manage the remaining ribbon level in real time, the problem of poor printing quality caused by insufficient ribbon is solved, resulting in cost reduction and simplified operation.

CN116852882BActive Publication Date: 2025-12-16SHANGHAI DIKAI CODING IND
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310961786.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-01
Publication Date
2025-12-16
Estimated Expiration
2043-08-01

AI Technical Summary

Technical Problem

Existing thermal transfer printers cannot detect the remaining ribbon level in real time, resulting in poor print quality and increased production costs and complexity. Furthermore, the purchase of non-recommended ribbons by end users makes it difficult to guarantee print quality.

Method used

By employing RFID card technology, the system configures the target printer with an RFID card and a target ribbon, monitors the remaining ribbon level in real time, and provides a preset amount of ribbon credit through card swiping when the amount is insufficient, ensuring the printer operates normally.

Benefits of technology

It enables real-time management of ribbon usage, ensuring stable printing results and normal production operations, while reducing costs and simplifying user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116852882B_ABST
    Figure CN116852882B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a printer ribbon management method and device, electronic equipment and a storage medium. The method comprises: configuring a corresponding radio frequency identification card and a target ribbon for a target printer; detecting the running state of the target printer to determine whether the remaining ribbon quota of the target ribbon configured by the target printer is greater than a preset ribbon quota threshold; if the remaining ribbon quota of the target ribbon is not greater than the preset ribbon quota threshold, transferring a preset number of ribbon quotas to the target ribbon through a card swiping operation of the radio frequency identification card for normal operation of the target printer. By adopting the present scheme, the target printer is configured with a target ribbon to avoid poor printing effect caused by using non-compliant ribbons; the target printer is configured with a radio frequency identification card to provide ribbon quotas when the target printer issues a warning of insufficient ribbon quotas, thereby ensuring normal use of the user; the same radio frequency identification card can also be shared and used on multiple printers, thereby reducing costs and facilitating user operation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of printing device, and particularly relate to a printer ribbon management method and device, electronic equipment and storage medium. BACKGROUND

[0002] The thermal transfer printer is widely used in various industries due to its clear and beautiful printing and resistance to erasing. The existing thermal transfer printer forms a printing pattern by instantaneously heating the printing head to transfer the ink on the ribbon to the printing medium.

[0003] The ribbon is a consumable, and the amount of ribbon consumed on the market is very large every year. In order to save costs or for other reasons, end users often purchase some ribbon products that are not recommended by thermal transfer printer manufacturers. These ribbon products have not been verified on the thermal transfer printer, so their printing effect cannot be guaranteed and brings great trouble to the on-site printing effect adjustment. In addition, the remaining amount on the ribbon cannot be detected in real time, which may affect production efficiency. SUMMARY

[0004] Embodiments of the present application provide a printer ribbon management method and device, electronic equipment and storage medium to realize special ribbon identification function through radio frequency identification card technology. The same radio frequency identification card can be shared on multiple printers, reducing costs and facilitating user operation.

[0005] In a first aspect, embodiments of the present application provide a printer ribbon management method, comprising:

[0006] configuring a corresponding radio frequency identification card and a target ribbon for a target printer; wherein the radio frequency identification card stores a same ribbon amount as a total amount of the target ribbon;

[0007] detecting the running state of the target printer to determine whether the remaining ribbon amount of the target ribbon configured for the target printer is greater than a preset ribbon amount threshold;

[0008] If the remaining ribbon amount of the target ribbon is not greater than the preset ribbon amount threshold, a preset number of ribbon amounts are transferred to the target ribbon through a card swiping operation of the radio frequency identification card for normal operation of the target printer.

[0009] In a second aspect, embodiments of the present application further provide a printer ribbon management device, comprising:

[0010] a device configuration module configured to configure a corresponding radio frequency identification card and a target ribbon for a target printer; wherein the radio frequency identification card stores a same ribbon amount as a total amount of the target ribbon;

[0011] The color band remaining amount determination module is configured to detect the running state of the target printer, and determine whether the remaining color band amount of the target color band configured by the target printer is greater than a preset color band amount threshold.

[0012] The color band management module is configured to, if the remaining color band amount of the target color band is not greater than the preset color band amount threshold, transfer a preset amount of color band amount to the target color band through a card swiping operation of the radio frequency identification card for normal running of the target printer.

[0013] In a third aspect, an electronic device is provided, and the electronic device includes:

[0014] one or more processors;

[0015] a storage device configured to store one or more programs;

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the printer color band management method according to any of the embodiments of the present application.

[0017] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the program is executed by a processor to implement the printer color band management method according to any of the embodiments of the present application.

[0018] The embodiments of the present application provide a printer color band management method, device, electronic device and storage medium. A corresponding radio frequency identification card and a target color band are configured for a target printer. The radio frequency identification card stores a color band amount same as a total amount of the target color band. The running state of the target printer is detected to determine whether the remaining color band amount of the target color band configured by the target printer is greater than a preset color band amount threshold. If the remaining color band amount of the target color band is not greater than the preset color band amount threshold, a preset amount of color band amount is transferred to the target color band through a card swiping operation of the radio frequency identification card for normal running of the target printer. The technical scheme of the embodiments of the present application configures a corresponding target color band for a target printer, avoids the problems of poor printing effect, printing abnormality and complex adjustment caused by using non-compliant color band, configures a radio frequency identification card for the target printer, issues a warning when the color band amount in the target printer is insufficient, provides a preset amount of color band amount for the target printer by using the radio frequency identification card, ensures printing parameter matching, and ensures clear and beautiful printing effect and normal production activities of users. The color band amount on the same radio frequency identification card can also be shared and used on multiple printers, which reduces cost and is convenient for users to operate. BRIEF DESCRIPTION OF DRAWINGS

[0019] Other features, objects, and advantages of the application can become apparent from the detailed description of the non-limiting embodiments when read in conjunction with the accompanying drawings. The drawings merely schematically illustrate preferred embodiments of the application and are not to be considered restrictive in scope. Like reference numerals designate like parts throughout the drawings. In the drawings:

[0020] Figure 1 is a flowchart of a printer ribbon management method provided in an embodiment of the application;

[0021] Figure 2 is a flowchart of another printer ribbon management method provided in an embodiment of the application;

[0022] Figure 3 is a structural diagram of a printer ribbon management device provided in an embodiment of the application;

[0023] Figure 4 is a structural diagram of an electronic device provided in an embodiment of the application. DETAILED DESCRIPTION

[0024] The application will be further described below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the application, but not to limit the application. In addition, it should be noted that, for the convenience of description, only the parts related to the application are shown in the drawings, but not all the structures.

[0025] Before the example embodiments are discussed in more detail, it should be mentioned that some of the example embodiments are described as processes or methods depicted as flow charts. While the process is described as sequential processes, many of the operations (or steps) can be performed in parallel, concurrently or at the same time. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but can also have additional steps not included in the figure. The process can correspond to a method, function, routine, subroutine, or the like.

[0026] In the technical solutions of the present application, the acquisition, storage, use, and processing of data comply with relevant provisions of national laws and regulations.

[0027] Figure 1 is a flowchart of a printer ribbon management method provided in an embodiment of the application, which can be applicable to the management of the ribbon of a thermal transfer printer. The method of the embodiment can be executed by a printer ribbon management device, which can be realized in the form of hardware and / or software. The device can be configured in a server for printer ribbon management. The method specifically includes the following steps:

[0028] S110, configuring a corresponding radio frequency identification card and a target ribbon for the target printer.

[0029] The target printer can be a thermal transfer printer. The thermal transfer printer uses a tiny thermistor on the print head to generate a high temperature instantaneously by passing a certain current, so that the ink on the ribbon is transferred to the surface of the print medium to form a pattern. The product printed by the thermal transfer printer can withstand the test of time and can remain unchanged for a long period of time. The printed text can be preserved for a long time, does not fade, does not wear out due to contact with solvents, and does not deform or discolor due to high temperature. The products printed by the thermal transfer printer include, but are not limited to, product barcodes, barcodes on clothing, train tickets, boarding passes, and baggage tags.

[0030] The radio frequency identification card can be a reader that transmits a specific frequency of radio wave energy to drive a circuit to send out internal data. At this time, the reader sequentially receives and interprets the data and sends it to an application program for corresponding processing. In the embodiment of the present application, the radio frequency identification card stores a total amount of ribbon that is the same as the total amount of the target ribbon. The radio frequency identification card is used to identify the target printer and transfer a preset amount of ribbon to the target printer. In the embodiment of the present application, the working frequency of the radio frequency identification card can preferably be 13.56 MHz, and the identification distance is about 10 cm. This can facilitate the user to swipe the card and avoid interference between the target printer and other printers nearby. The working frequency, working efficiency, and identification distance of the radio frequency identification card are not specifically limited in the embodiment of the present application.

[0031] As an optional but non-limiting implementation, the configuration of the corresponding radio frequency identification card and the target ribbon for the target printer includes, but is not limited to, steps A1-A2:

[0032] Step A1: configuring a corresponding radio frequency identification card for the target printer. The ribbon amount data in the radio frequency identification card is encrypted and stored. When the radio frequency identification card reads and writes data, it is determined whether the ribbon amount data in the radio frequency identification card has been encrypted and is legal. If the target data read does not conform to the preset encryption method or the target data is not legal, the target data is discarded.

[0033] Step A2: configuring a corresponding target ribbon for the target printer. The target ribbon includes at least one ribbon, and each ribbon corresponds to a ribbon amount value. The sum of the ribbon amount values stored in the radio frequency identification card and each ribbon amount value is equal.

[0034] The current thermal transfer printer device does not have a color band identification function, and cannot identify whether the color band is a recommended brand and model. In order to save costs or for other reasons, terminal users often purchase color band products that are not recommended by thermal transfer printer manufacturers. These color band products have not been verified on the thermal transfer printer, so the printing effect is difficult to guarantee. At the same time, in order to seize the market, some color band manufacturers adopt a low-price strategy to reduce the cost of color bands, resulting in uneven quality of color band products and unsatisfactory printing effect, affecting the normal production work of users; and terminal users do not understand the principle, often complain to the printer device manufacturer, increasing the after-sales cost of the printer device manufacturer. In the embodiment of the present application, the target printer is configured with a corresponding target color band to avoid poor printing effect and affect printing efficiency caused by using unqualified color bands. The total amount of the target color band configured for the target printer is stored in the radio frequency identification card to provide the target printer with color band amount. The target color band can include multiple color bands, and the total color band amount in the radio frequency identification card is stored in the radio frequency identification card. For example, if 3 color bands are configured for the target printer, and the amount of each color band is 100, the total amount of the target color band is 300; 300 color bands are stored in the radio frequency identification card, and a preset number of color band amounts are transferred to the target printer when the target printer is initially used, and a preset number of color band amounts are transferred to the target printer again when the target printer is insufficient.

[0035] In order to avoid intentional tampering with the color band amount in the radio frequency identification card, the data in the radio frequency identification card is encrypted and stored. When the radio frequency identification card reading and writing device on the target printer device reads and writes data, it is judged whether the data in the radio frequency identification card is encrypted and legal; if the read data does not conform to a specific encryption method or the data is illegal, the data in the radio frequency identification card will be discarded, but the color band amount in the radio frequency identification card remains unchanged. In the embodiment of the present application, one radio frequency identification card can be matched with multiple target printers, and multiple target printers can share the color band amount in one radio frequency identification card, which can save costs and is convenient for user operation.

[0036] S120, detecting the running state of the target printer to determine whether the remaining color band amount of the target color band configured for the target printer is greater than a preset color band amount threshold.

[0037] The remaining toner amount in the target printer can reflect the running state of the target printer. If there is a remaining toner amount in the target printer, the target printer is in a normal running state; if there is no remaining toner amount in the target printer, the target printer is in a stop running state. Therefore, whether there is a remaining toner amount in the target toner configured by the target printer can be determined according to the running state of the target printer. The remaining toner amount in the target toner configured by the target printer is the remaining toner amount in the target printer.

[0038] As an optional but non-limiting implementation, the running state of the target printer is detected, and it is determined whether the remaining toner amount of the target toner configured by the target printer is greater than a preset toner amount threshold, including but not limited to steps B1-B3:

[0039] Step B1: Determine the running state of the target printer; the running state includes normal running and stop running states.

[0040] Step B2: If the target printer is running normally, it is determined that the remaining toner amount of the target toner configured by the target printer is greater than the preset toner amount threshold.

[0041] Step B3: If the target printer is in a stop running state, it is determined that the remaining toner amount of the target toner configured by the target printer is not greater than the preset toner amount threshold.

[0042] The running state of the target printer is used to determine whether the remaining toner amount of the target toner configured by the target printer is greater than the preset toner amount threshold; in the embodiment of the application, the preset toner amount threshold can be 0. For example, if the target printer is in a running state, it indicates that there is a certain toner amount in the target printer, and it can be determined that the remaining toner amount of the target toner configured by the target printer is greater than 0. If the target printer is in a stop running state, it indicates that the toner amount in the target printer is 0, that is, the remaining toner amount of the target toner configured by the target printer is not greater than the preset toner amount threshold.

[0043] S130, if the remaining toner amount of the target toner is not greater than the preset toner amount threshold, a preset number of toner amounts are transferred to the target toner by the card swiping operation of the radio frequency identification card for normal running of the target printer.

[0044] Wherein, according to the remaining color band quota of the target color band, corresponding operation of the radio frequency identification card or the target printer is determined. For example, if the remaining color band quota of the target color band is greater than a preset color band quota threshold, the target printer normally runs for printing. If the remaining color band quota of the target color band is not greater than the preset color band quota threshold, a preset number of color band quotas are transferred to the target color band by the radio frequency identification card for the target printer to normally run.

[0045] As an optional but non-limiting implementation, if the remaining color band quota of the target color band is not greater than the preset color band quota threshold, the preset number of color band quotas are transferred to the target color band by the card swiping operation of the radio frequency identification card for the target printer to normally run, including but not limited to steps C1-C3:

[0046] Step C1: If the remaining color band quota of the target color band is not greater than the preset color band quota threshold, the target printer triggers a color band quota shortage warning and locks the target printer to stop running.

[0047] Step C2: The preset number of color band quotas are read to the target printer by the card swiping operation of the radio frequency identification card.

[0048] Step C3: The radio frequency identification card reduces the preset number of color band quotas, and stores the target remaining color band quota of the radio frequency identification card.

[0049] Wherein, a dedicated radio frequency identification card reader is installed on the target printer device to read and write data of the radio frequency identification card. When a user installs a new color band, if the color band quota in the target printer is greater than 0, the color band quota in the target printer is reduced by 1, and the device normally works. If the color band quota in the target printer is 0, the target printer triggers a color band quota shortage warning to prompt the user to perform a card swiping operation, and locks the target printer to be unable to perform a printing operation.

[0050] Optionally, when the user receives the color band quota shortage warning, the user swipes the radio frequency identification card close to the target printer, the color band quota in the radio frequency identification card is reduced by a certain quota, and at the same time, the target printer device internally increases the color band quota by the same number. Wherein, in order to reduce the frequency of the user's card swiping, the preset number of color band quotas reduced in the radio frequency identification card can be set on the target printer. If the remaining color band quota in the radio frequency identification card is less than the preset number of color band quotas, all the remaining color band quotas are transferred to the target printer.

[0051] As an optional but non-limiting implementation, before the preset number of color band quotas are read to the target printer by the card swiping operation of the radio frequency identification card, steps D1-D3 are further included but are not limited to:

[0052] Step D1: the target printer enters a card swiping mode, periodically sends a data reading instruction and determines whether the radio frequency identification card data is read.

[0053] Step D2: if it is determined that the radio frequency identification card data is not read, the data reading instruction is continuously sent.

[0054] Step D3: if the radio frequency identification card data is read, the target printer increases the color band quota of the preset data.

[0055] Wherein, referring to Figure 2 After the target printer triggers the color band quota shortage early warning, the target printer enters the card swiping mode and periodically sends the data reading instruction; when the target printer reads the radio frequency identification card data, the data reading instruction is stopped, and the target printer increases the color band quota of the preset quantity.

[0056] In the embodiment of the application, in order to prevent the user from mis-swiping the card or repeatedly swiping the card, and to reduce the power consumption of the target printer, only when the target printer triggers the color band quota shortage early warning, the target printer enters the card swiping mode and periodically sends the radio frequency identification card reading data command. In other cases, the target printer does not enter the card swiping mode, and the user cannot perform the card swiping operation.

[0057] As an optional but non-limiting implementation manner, the preset quantity of color band quotas is transferred to the target color band for the normal operation of the target printer through the card swiping operation of the radio frequency identification card, and further comprises:

[0058] The preset quantity of color band quotas is transferred to the target color band through the card swiping operation of the radio frequency identification card, the target printer acquires the preset quantity of color band quotas, clears the color band quota shortage early warning on the target printer and releases the lock, so that the target printer normally operates.

[0059] Wherein, after the user swipes the card, the target printer acquires the preset quantity of color band quotas, clears the color band quota shortage early warning on the target printer, and releases the lock of the target printer, so that the target printer normally operates.

[0060] The embodiment of the present application provides a printer ribbon management method, corresponding radio frequency identification card and target ribbon are configured to a target printer, wherein the radio frequency identification card stores the same ribbon amount as the total amount of the target ribbon; the running state of the target printer is detected to determine whether the remaining ribbon amount of the target ribbon configured to the target printer is greater than a preset ribbon amount threshold; if the remaining ribbon amount of the target ribbon is not greater than the preset ribbon amount threshold, a preset amount of ribbon amount is transferred to the target ribbon through the card swiping operation of the radio frequency identification card for normal operation of the target printer. The technical scheme of the embodiment of the present application is configured with corresponding target ribbon for the target printer, so that the phenomenon of poor printing effect caused by using non-compliant ribbon is avoided; the radio frequency identification card is configured for the target printer, a warning is given when the ribbon amount in the target printer is insufficient, the radio frequency identification card is used to provide a preset amount of ribbon amount for the target printer, so that the printing effect is ensured and the normal production activities of the user are ensured; the same radio frequency identification card can also be shared and used on multiple printers, thereby reducing the cost and facilitating the operation of the user.

[0061] Figure 3 Fig. 1 is a structural schematic diagram of a printer ribbon management device provided in the embodiment of the present application. The technical scheme of the embodiment can be applied to the case of managing the ribbon of a thermal transfer printer. The device can be realized by software and / or hardware, and is generally integrated on any electronic device with network communication function, including but not limited to: server, computer, personal digital assistant and the like. As shown in Fig. 1, the printer ribbon management device provided in the embodiment can include: a device configuration module 310, a ribbon remaining amount determination module 320 and a ribbon management module 330; wherein, Figure 3

[0062] The device configuration module 310 is configured to configure corresponding radio frequency identification card and target ribbon to the target printer, wherein the radio frequency identification card stores the same ribbon amount as the total amount of the target ribbon.

[0063] The ribbon remaining amount determination module 320 is configured to detect the running state of the target printer to determine whether the remaining ribbon amount of the target ribbon configured to the target printer is greater than a preset ribbon amount threshold.

[0064] The ribbon management module 330 is configured to transfer a preset amount of ribbon amount to the target ribbon through the card swiping operation of the radio frequency identification card for normal operation of the target printer if the remaining ribbon amount of the target ribbon is not greater than the preset ribbon amount threshold.

[0065] On the basis of the above embodiment, the device configuration module can include:

[0066] ​A corresponding radio frequency identification card is configured for the target printer, wherein the ribbon allowance data in the radio frequency identification card is encrypted and stored, and when the radio frequency identification card reads and writes data, it is determined whether the ribbon allowance data in the radio frequency identification card has been encrypted and is legal, and if the target data read does not conform to the preset encryption mode or the target data is illegal, the target data is discarded.

[0067] A corresponding target ribbon is configured for the target printer, wherein the target ribbon includes at least one ribbon, and the at least one ribbon corresponds to one ribbon allowance value respectively, and the sum of the ribbon allowance value stored in the radio frequency identification card and the ribbon allowance value of each ribbon is equal.

[0068] On the basis of the above embodiments, the ribbon remaining allowance determination module, comprising:

[0069] The running state of the target printer is determined, and the running state includes normal running and stopping running states.

[0070] If the target printer is normally running, it is determined that the remaining ribbon allowance of the target ribbon configured by the target printer is greater than a preset ribbon allowance threshold.

[0071] If the target printer is stopped running, it is determined that the remaining ribbon allowance of the target ribbon configured by the target printer is not greater than a preset ribbon allowance threshold.

[0072] On the basis of the above embodiments, the ribbon management module, comprising:

[0073] If the remaining ribbon allowance of the target ribbon is not greater than the preset ribbon allowance threshold, the target printer triggers a ribbon allowance shortage warning and locks the target printer to stop running.

[0074] A preset number of ribbon allowances are read into the target printer through the card swiping operation of the radio frequency identification card.

[0075] The radio frequency identification card reduces the preset number of ribbon allowances, and stores the target remaining ribbon allowance of the radio frequency identification card.

[0076] On the basis of the above embodiments, the ribbon management module, further comprising:

[0077] The target printer enters a card swiping mode, periodically sends a data reading instruction and determines whether the radio frequency identification card data is read.

[0078] If it is determined that the radio frequency identification card data is not read, the data reading instruction is continuously sent.

[0079] If the radio frequency identification card data is read, the target printer increases the preset data ribbon allowance.

[0080] On the basis of the above-mentioned embodiments, optionally, the ribbon management module further comprises:

[0081] The preset number of ribbon credits are transferred to the target ribbon through the card swiping operation of the radio frequency identification card, the target printer acquires the preset number of ribbon credits, clears the insufficient ribbon credit warning on the target printer and releases the lock, so that the target printer normally operates.

[0082] The printer ribbon management device provided in the embodiments of the present application can execute the printer ribbon management method provided in any of the embodiments of the present application, has the corresponding functions and beneficial effects of executing the printer ribbon management method, and the detailed process is described with reference to the related operations of the printer ribbon management method in the foregoing embodiments.

[0083] Figure 4 is a structural schematic diagram of an electronic device provided in the embodiments of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0084] As shown in Figure 4 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected with the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected with each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0085] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0086] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the printer ribbon management method.

[0087] In some embodiments, the printer ribbon management method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the printer ribbon management method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the printer ribbon management method by any other appropriate means, such as by means of firmware.

[0088] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0089] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, can cause instructions defined in the flow charts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package and partially on a remote machine or entirely on a remote machine or server.

[0090] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0091] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0092] The systems and techniques described herein can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0093] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0094] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in series, or executed in different orders, as long as the desired results of the technical solutions of the present disclosure can be achieved, and the present disclosure is not limited herein.

[0095] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A printer ribbon management method characterized by, The method comprises: The target printer is configured with a corresponding radio frequency identification card and a target ribbon; wherein the radio frequency identification card stores a total value of the target ribbon; The running state of the target printer is detected to determine whether the remaining ribbon value of the target ribbon configured by the target printer is greater than a preset ribbon value threshold; If the remaining ribbon value of the target ribbon is not greater than the preset ribbon value threshold, a preset number of ribbon values are transferred to the target ribbon through a card swiping operation of the radio frequency identification card for normal operation of the target printer; If the remaining ribbon value of the target ribbon is not greater than the preset ribbon value threshold, the target printer triggers a low-ribbon-value warning and locks the target printer to stop running; The target printer enters a card swiping mode, periodically sends a data reading instruction, and determines whether radio frequency identification card data is read; If it is determined that the radio frequency identification card data is not read, the data reading instruction is continuously sent; If the radio frequency identification card data is read, the target printer increases the preset number of ribbon values; The preset number of ribbon values are read to the target printer through the card swiping operation of the radio frequency identification card; The radio frequency identification card reduces the preset number of ribbon values, and stores the target remaining ribbon value of the radio frequency identification card. The target printer is configured with a corresponding radio frequency identification card and a target ribbon; wherein the radio frequency identification card stores a total value of the target ribbon; 2. The method of claim 1, wherein, The target printer is configured with a corresponding radio frequency identification card; wherein the ribbon value data in the radio frequency identification card is encrypted and stored; when the radio frequency identification card reads and writes data, it is determined whether the ribbon value data in the radio frequency identification card has been encrypted and is legal; if the target data read does not conform to the preset encryption mode or the target data is illegal, the target data is discarded; The target printer is configured with a corresponding target ribbon; wherein the target ribbon comprises at least one ribbon, and the at least one ribbon corresponds to one ribbon value respectively; the ribbon value stored in the radio frequency identification card is equal to the sum of the ribbon values of each ribbon. The running state of the target printer is detected to determine whether the remaining ribbon value of the target ribbon configured by the target printer is greater than a preset ribbon value threshold; comprising:

3. The method of claim 1, wherein, The running state of the target printer is determined; the running state comprises normal running and stop running states; If the target printer is running normally, it is determined that the remaining ribbon value of the target ribbon configured by the target printer is greater than the preset ribbon value threshold; If the target printer stops running, it is determined that the remaining ribbon value of the target ribbon configured by the target printer is not greater than the preset ribbon value threshold. The radio frequency identification card is used to transfer the preset number of ribbon values to the target ribbon for normal operation of the target printer, and further comprises:

4. The method of claim 1, wherein, ​ The preset number of color band quotas are transferred to the target color band through a card swiping operation of the radio frequency identification card, the target printer acquires the preset number of color band quotas, clears a color band quota shortage warning on the target printer and releases a lock, and thus the target printer is enabled to operate normally.

5. A printer ribbon management apparatus characterized by, The device comprises: The device configuration module is configured to configure a corresponding radio frequency identification card and a target color band for a target printer, wherein the radio frequency identification card stores color band quotas equal to a total quota value of the target color band. The color band remaining quota determination module is configured to detect an operating state of the target printer and determine whether a remaining color band quota of the target color band configured for the target printer is greater than a preset color band quota threshold. The color band management module is configured to, if the remaining color band quota of the target color band is not greater than the preset color band quota threshold, transfer a preset number of color band quotas to the target color band through a card swiping operation of the radio frequency identification card for normal operation of the target printer. The color band management module is specifically configured to: If the remaining color band quota of the target color band is not greater than the preset color band quota threshold, the target printer triggers a color band quota shortage warning and locks the target printer to stop operating. The target printer enters a card swiping mode, periodically sends a data reading instruction and determines whether radio frequency identification card data is read. If it is determined that the radio frequency identification card data is not read, the data reading instruction is continuously sent. If the radio frequency identification card data is read, the target printer increases the preset number of color band quotas. The preset number of color band quotas are read to the target printer through a card swiping operation of the radio frequency identification card. The radio frequency identification card reduces the preset number of color band quotas and stores a target remaining color band quota of the radio frequency identification card.

6. The apparatus of claim 5, wherein, The device configuration module comprises: The target printer is configured with a corresponding radio frequency identification card, wherein color band quota data in the radio frequency identification card is encrypted and stored, and when the radio frequency identification card reads and writes data, it is determined whether the color band quota data in the radio frequency identification card has been encrypted and is legal; if the target data read does not conform to a preset encryption mode or the target data is illegal, the target data is discarded. The target printer is configured with a corresponding target color band, wherein the target color band comprises at least one color band, and the at least one color band corresponds to one color band quota value respectively; the color band quota value stored in the radio frequency identification card is equal to the sum of the color band quota values of the color bands.

7. An electronic device, comprising: It comprises: One or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the printer color band management method of any one of claims 1-4.

8. A storage medium containing computer-executable instructions, characterized in that, The computer executable instructions, when executed by a computer processor, are used to perform the printer color band management method of any one of claims 1-4.

Citation Information

Patent Citations

  • Consumable anti-counterfeiting printing method and system

    CN112748890A

  • Printer, its supply item residual quantity management method, and core tube for supply item

    JP2009006672A