Consumable monitoring method and device, computer equipment, storage medium and program product
By obtaining the type and usage status information of printer consumables, the use of printer consumables is automatically monitored, and the problem of untimely or premature replacement of consumables is solved, improving printing efficiency and reducing costs.
Patent Information
- Application Number
- CN202510078654.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-05-06
AI Technical Summary
The prior art is difficult to accurately monitor the remaining amount of printer consumables, resulting in untimely or premature replacement of consumables, affecting printing efficiency and increasing costs.
By obtaining the type of printer consumables, using the Internet printing protocol to obtain the usage status information of the consumables, determine the current margin data, and monitor it based on the data and preset thresholds, and generate prompt information to guide the replacement of consumables.
It realizes automatic monitoring of the use of printer consumables, promptly detecting insufficient consumables, avoiding premature replacement of consumables, improving printing efficiency and reducing costs.
Smart Images

Figure CN119928428A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data monitoring technology, and in particular to a consumables monitoring method, device, computer equipment, storage medium and program product. Background Art
[0002] With the rapid development of information technology, printers have become an indispensable device in daily office work. However, the use efficiency and cost control of printer consumables have become increasingly prominent. Therefore, how to accurately monitor the remaining amount of printer consumables and reduce printing interruptions and printing quality degradation has become an urgent problem to be solved.
[0003] Currently, it is usually necessary to manually check the usage status of printer consumables. However, this method often relies on the operator's experience and intuition, which can easily lead to untimely or premature replacement of consumables, affecting printing efficiency and increasing costs. Summary of the invention
[0004] Based on this, it is necessary to provide a consumables monitoring method, device, computer equipment, storage medium and program product that can automatically monitor the usage of printer consumables in response to the above technical problems.
[0005] In a first aspect, the present application provides a consumables monitoring method. The method comprises:
[0006] Get the consumable type of the consumables of the target printer;
[0007] According to the type of the consumable, obtaining the usage status information of the consumable through the Internet printing protocol;
[0008] Determine current remaining quantity data of the consumable according to the usage status information;
[0009] The usage of the consumable is monitored based on the current remaining data and a preset threshold.
[0010] In one embodiment, the use of the consumable is monitored based on the current remaining data and a preset threshold, including:
[0011] When the current remaining data is less than the preset threshold, a prompt message is generated according to the current remaining data and the historical remaining data of the consumable; the prompt message is used to indicate that the remaining consumable of the target printer is insufficient.
[0012] In one embodiment, the prompt information is generated according to the current remaining data and the historical remaining data of the consumable, including:
[0013] Determine the consumption trend of the consumables according to the historical remaining data of the consumables and the collection time of each historical remaining data;
[0014] The prompt information is generated according to the consumption trend and the current remaining data.
[0015] In one embodiment, the prompt information is generated according to the consumption trend and the current remaining data, including:
[0016] Determine the remaining usage days of the consumable according to the consumption trend and the current remaining data;
[0017] The prompt information is generated according to the remaining usage days, the current remaining data and the consumable type.
[0018] In one embodiment, determining the consumption trend of the consumables according to the historical remaining data of the consumables and the collection time of each of the historical remaining data includes:
[0019] Based on the time series analysis method, the consumption trend of the consumable is determined according to the historical remaining data of the consumable and the collection time of each historical remaining data.
[0020] In one embodiment, obtaining the usage status information of the consumable through the Internet printing protocol according to the type of the consumable includes:
[0021] Determine the data monitoring template corresponding to the consumable type;
[0022] Based on the data monitoring template, the usage status information of the consumables is obtained through the Internet printing protocol.
[0023] In a second aspect, the present application also provides a consumables monitoring device. The device comprises:
[0024] A first acquisition module, used for acquiring the consumable type of the consumable of the target printer;
[0025] A second acquisition module is used to acquire the usage status information of the consumables through the Internet printing protocol according to the type of the consumables;
[0026] A determination module, used to determine the current remaining quantity data of the consumable according to the usage status information;
[0027] The monitoring module is used to monitor the usage of the consumable based on the current remaining data and a preset threshold value.
[0028] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0029] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.
[0030] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the above methods when executed by a processor.
[0031] The above-mentioned consumables monitoring method, device, computer equipment, storage medium and program product obtain the consumables type of the consumables of the target printer, obtain the consumables usage status information through the Internet printing protocol according to the consumables type, and then determine the current remaining data of the consumables according to the usage status information, and monitor the consumables usage based on the current remaining data and the preset threshold value, thereby realizing automatic monitoring of the usage of the printer consumables, so as to timely detect the shortage of consumables, avoid premature replacement of consumables, improve printing efficiency and reduce costs. At the same time, obtaining the consumables usage status information based on the Internet printing protocol can also reduce the delay in the data transmission process and improve the reliability and real-time performance of consumables monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is an internal structure diagram of a computer device provided in an embodiment of the present application;
[0033] Figure 2 It is a flow chart of a consumables monitoring method provided in an embodiment of the present application;
[0034] Figure 3 It is a flowchart of a method for generating prompt information provided in an embodiment of the present application;
[0035] Figure 4 It is a flowchart of another prompt information generating method provided in an embodiment of the present application;
[0036] Figure 5 It is a flowchart of a method for obtaining usage status information provided by an embodiment of the present application;
[0037] Figure 6 It is a flow chart of a method for monitoring printer consumables provided in an embodiment of the present application;
[0038] Figure 7 It is a structural block diagram of a consumables monitoring device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] With the rapid development of information technology, printers have become an indispensable device in daily office work. However, the use efficiency and cost control of printer consumables have become increasingly prominent. Therefore, how to accurately monitor the remaining amount of printer consumables and reduce printing interruptions and printing quality degradation has become an urgent problem to be solved.
[0041] Currently, it is usually necessary to manually check the usage status of printer consumables. However, this method often relies on the operator's experience and intuition, which can easily lead to untimely or premature replacement of consumables, affecting printing efficiency and increasing costs.
[0042] The consumables monitoring method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 is an internal structure diagram of a computer device provided in an embodiment of the present application. The computer device may be a server, and its internal structure diagram may be as follows Figure 1 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a consumables monitoring method is implemented.
[0043] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0044] In one embodiment, Figure 2 As shown, Figure 2 is a flow chart of a consumables monitoring method provided in an embodiment of the present application, which can be applied to Figure 1 The computer device comprises the following steps:
[0045] S201, obtaining the consumable type of the consumable of the target printer.
[0046] Exemplarily, the types of consumables may include, for example, ink cartridges, toner cartridges, toner cartridges, ribbons, and the like.
[0047] Optionally, a communication connection may be established with a target printer, and then consumable information of the target printer may be acquired, and the consumable type of the consumable may be determined based on the consumable information.
[0048] Alternatively, the consumable type of the consumable of the target printer input by the user may also be obtained.
[0049] S202, obtaining usage status information of the consumables through the Internet printing protocol according to the type of consumables.
[0050] In one embodiment, a communication connection may be established with a target printer through an Internet Printing Protocol (IPP), and then the usage status information of the consumables may be obtained through the IPP protocol according to the type of consumables.
[0051] Optionally, a data monitoring template corresponding to each consumable type may be preset. After the consumable type of the target printer is acquired, the data monitoring template corresponding to the consumable type may be determined, and then the consumable usage status information may be acquired through the IPP protocol based on the data monitoring template.
[0052] Exemplarily, the data monitoring template may include monitoring indicators of consumables, such as the remaining amount of consumables, the usage of consumables, the storage address of the usage status information, etc.
[0053] S203, determining current remaining data of the consumables according to the usage status information.
[0054] Optionally, the usage status information may include, for example, a remaining value of the consumables or a remaining percentage of the consumables.
[0055] In one embodiment, the acquired usage status information may be cleaned and normalized, and abnormal data and redundant information in the usage status information may be filtered to obtain intermediate status information. The current remaining quantity data of the consumables may then be determined based on the intermediate status information.
[0056] Optionally, if the intermediate status information is the consumable remaining value, the consumable remaining percentage can be determined based on the consumable remaining value and the total capacity of the consumables, and then the consumable remaining percentage can be determined as the current remaining data of the consumables; if the intermediate status information is the consumable remaining percentage, the intermediate status information can be directly determined as the current remaining data of the consumables.
[0057] For example, if the intermediate status information is the remaining value of the consumables, the remaining percentage of the consumables can be determined based on the following formula: :
[0058]
[0059] In the formula, is the remaining value of consumables, The total capacity of consumables.
[0060] S204: Monitor the usage of consumables based on current remaining data and preset thresholds.
[0061] In one embodiment, a preset threshold can be set according to demand. If the current remaining data is less than the preset threshold, it is determined that the remaining consumables of the target printer are insufficient, and a prompt message can be generated and displayed to promptly prompt relevant personnel to replace the consumables in time.
[0062] Optionally, when the current remaining data is less than a preset threshold, the remaining days of use of the consumables can be determined based on the current remaining data and the consumption trend of the consumables of the target printer, and then prompt information is generated and displayed based on the remaining days of use. The consumption trend of the consumables is determined based on the historical remaining data of the consumables and the collection time of the historical remaining data, and the prompt information includes the remaining days of use of the consumables.
[0063] In the embodiment of the present application, the consumable type of the consumables of the target printer is obtained, and the consumable usage status information is obtained through the Internet printing protocol according to the consumable type, and then the current remaining data of the consumables is determined according to the usage status information, and the consumable usage is monitored based on the current remaining data and the preset threshold value, so as to realize automatic monitoring of the usage of the printer consumables, so as to timely discover the shortage of consumables, avoid premature replacement of consumables, improve printing efficiency and reduce costs. At the same time, obtaining the consumable usage status information based on the Internet printing protocol can also reduce the delay in the data transmission process and improve the reliability and real-time performance of consumable monitoring.
[0064] Based on the above embodiment, the above S204 includes the following steps:
[0065] When the current remaining data is less than a preset threshold, a prompt message is generated according to the current remaining data and the historical remaining data of the consumables; the prompt message is used to indicate that the remaining consumables of the target printer are insufficient.
[0066] In one embodiment, a preset threshold can be set according to demand. If the current remaining data is less than the preset threshold, it is determined that the remaining consumables of the target printer are insufficient, and a prompt message can be generated and displayed to promptly prompt relevant personnel to replace the consumables in time.
[0067] Optionally, the consumption trend of the consumables can be determined based on the historical remaining data of the consumables and the collection time of each historical remaining data, and the remaining use days of the consumables can be determined based on the consumption trend and the current remaining data, and then prompt information can be generated based on the remaining use days, the current remaining data and the type of consumables. The prompt information includes the remaining use days, the current remaining data and the type of consumables.
[0068] Alternatively, the machine learning model may be trained based on the historical remaining data of the consumables and the collection time of each historical remaining data, and then the current remaining data may be input into the trained machine learning model to obtain the remaining use days of the consumables output by the machine learning model, and then prompt information may be generated based on the remaining use days, the current remaining data and the type of consumables. The prompt information includes the remaining use days, the current remaining data and the type of consumables.
[0069] In an embodiment of the present application, when the current remaining data is less than a preset threshold, a prompt message is generated based on the current remaining data and the historical remaining data of the consumables, so that relevant personnel can be reminded to replace the consumables in time, thereby improving printing efficiency and reducing costs.
[0070] Reference Figure 3 , Figure 3 : is a flow chart of a method for generating prompt information provided by an embodiment of the present application. This embodiment involves a possible implementation method of how to generate prompt information based on current remaining data and historical remaining data of consumables. Based on the above embodiment, the above method of generating prompt information based on current remaining data and historical remaining data of consumables includes the following steps:
[0071] S301, determining a consumption trend of consumables according to historical remaining data of consumables and the collection time of each historical remaining data.
[0072] For example, a consumption trend diagram of the consumables can be drawn based on the historical remaining data of the consumables and the collection time of each historical remaining data, so as to reflect the consumption trend of the consumables through the consumption trend diagram. The consumption trend diagram can be, for example, a line chart, a bar chart, etc.
[0073] S302, generating prompt information according to the consumption trend and the current remaining data.
[0074] In one embodiment, the remaining days of use of the consumables can be determined based on the consumption trend and the current remaining data, and then prompt information is generated based on the remaining days of use, the current remaining data and the type of consumables. The prompt information includes the remaining days of use, the current remaining data and the type of consumables.
[0075] Alternatively, the consumption of consumables can be monitored based on the consumption trend and current remaining data. If it is determined that the consumption of consumables is abnormal (such as the consumables are suddenly consumed too quickly and do not conform to the normal consumption trend, etc.), an alarm message is generated to remind relevant personnel that there is an abnormality in the use of the printer.
[0076] Optionally, the warning information may also include suggestions for handling the exception.
[0077] In an embodiment of the present application, the consumption trend of the consumables is determined based on the historical remaining data of the consumables and the collection time of each historical remaining data, and prompt information is generated based on the consumption trend and the current remaining data, so that relevant personnel can be reminded to replace the consumables in time, thereby improving printing efficiency and reducing costs.
[0078] Reference Figure 4 , Figure 4 1 is a flow chart of another method for generating prompt information provided by an embodiment of the present application. This embodiment involves a possible implementation method of how to generate prompt information based on consumption trend and current remaining data. Based on the above embodiment, the above S302 includes the following steps:
[0079] S401, determining the remaining use days of the consumables according to the consumption trend and the current remaining data.
[0080] In one embodiment, the consumption rate of the consumables can be determined based on the consumption trend of the consumables, and then the remaining days of use of the consumables can be determined based on the consumption rate of the consumables and the current remaining data, so that the time when the consumables will run out can be estimated based on the remaining days of use of the consumables and the current time.
[0081] For example, the time until the consumables run out can be estimated based on the following formula: :
[0082]
[0083] In the formula, is the current time, is the current margin data, The consumption rate of consumables.
[0084] S402, generating prompt information according to the remaining usage days, current remaining data and consumable type.
[0085] The prompt information includes the remaining days of use, current balance data and consumable type.
[0086] In an embodiment of the present application, the remaining days of use of consumables are determined based on consumption trends and current balance data, and prompt information is generated based on the remaining days of use, current balance data and consumable type, so that relevant personnel can be reminded to replace consumables in a timely manner, thereby improving printing efficiency and reducing costs.
[0087] Based on the above embodiment, the above S401 includes the following steps:
[0088] Based on the time series analysis method, the consumption trend of consumables is determined according to the historical balance data of consumables and the collection time of each historical balance data.
[0089] Optionally, a suitable time series analysis model may be selected according to the characteristics of the historical balance data, and then the historical balance data of the consumables and the collection time of each historical balance data may be fitted based on the time series analysis model to obtain the consumption trend of the consumables.
[0090] In an embodiment of the present application, based on the time series analysis method, the consumption trend of the consumables is determined according to the historical remaining data of the consumables and the collection time of each historical remaining data, so that the remaining days of use of the consumables can be estimated based on the consumption trend, so that relevant personnel can be reminded to replace the consumables in time, thereby improving printing efficiency and reducing costs.
[0091] Reference Figure 5 , Figure 5 1 is a flow chart of a method for obtaining usage status information provided by an embodiment of the present application. This embodiment involves a possible implementation method of how to obtain the usage status information of consumables through the Internet printing protocol according to the type of consumables. Based on the above embodiment, the above S202 includes the following steps:
[0092] S501, determining a data monitoring template corresponding to the consumable type.
[0093] Exemplarily, an association relationship between each consumable type and a data monitoring template may be preset, and after the consumable type is determined, a data monitoring template corresponding to the consumable type may be determined based on the association relationship.
[0094] The data monitoring template may include monitoring indicators of consumables, such as remaining consumables, consumable usage, storage address of usage status information, etc.
[0095] S502, based on the data monitoring template, obtaining the usage status information of the consumables through the Internet printing protocol.
[0096] In one embodiment, the usage status information of the consumables may be obtained through the IPP protocol according to the monitoring indicators specified in the data monitoring template.
[0097] In an embodiment of the present application, a data monitoring template corresponding to the consumable type is determined, and based on the data monitoring template, the usage status information of the consumable is obtained through the Internet printing protocol, so that the usage status information of consumables of different types of consumables can be obtained based on the data monitoring template, thereby improving the flexibility and reliability of obtaining the consumable usage status information.
[0098] Reference Figure 6 , Figure 6 1 is a flow chart of a method for monitoring printer consumables provided in an embodiment of the present application. The method comprises the following steps:
[0099] S601, obtaining the consumable type of the consumable of the target printer.
[0100] S602, determining a data monitoring template corresponding to the consumable type.
[0101] S603, based on the data monitoring template, obtaining the usage status information of the consumables through the Internet printing protocol.
[0102] S604, determining the current remaining data of the consumables according to the usage status information.
[0103] S605 , based on a time series analysis method, determining the consumption trend of the consumables according to the historical remaining data of the consumables and the collection time of each historical remaining data.
[0104] S606, determining the remaining use days of the consumables according to the consumption trend and the current remaining data.
[0105] S607, generating prompt information according to the remaining usage days, the current remaining data and the consumable type.
[0106] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0107] Based on the same inventive concept, the embodiment of the present application also provides a consumables monitoring device for implementing the consumables monitoring method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more consumables monitoring device embodiments provided below can refer to the limitations of the consumables monitoring method above, and will not be repeated here.
[0108] In one embodiment, Figure 7 As shown, Figure 7 700 is a structural block diagram of a consumables monitoring device provided in an embodiment of the present application. The device 700 includes:
[0109] The first acquisition module 701 is used to acquire the consumable type of the consumable of the target printer.
[0110] The second acquisition module 702 is used to acquire the usage status information of the consumables through the Internet printing protocol according to the type of consumables.
[0111] The determination module 703 is used to determine the current remaining quantity data of the consumables according to the usage status information.
[0112] The monitoring module 704 is used to monitor the usage of consumables based on current remaining data and preset thresholds.
[0113] In one embodiment, the monitoring module 704 includes:
[0114] The generating unit is used to generate prompt information according to the current remaining data and the historical remaining data of the consumables when the current remaining data is less than a preset threshold value; the prompt information is used to indicate that the remaining consumables of the target printer are insufficient.
[0115] In one embodiment, the generating unit includes:
[0116] A determination subunit, used to determine the consumption trend of the consumables according to the historical remaining data of the consumables and the collection time of each historical remaining data;
[0117] The generation subunit is used to generate prompt information according to the consumption trend and the current balance data.
[0118] In one of the embodiments, a generation subunit is specifically used to determine the remaining days of use of the consumables based on the consumption trend and the current balance data; and generate prompt information based on the remaining days of use, the current balance data and the type of consumables.
[0119] In one of the embodiments, the determination subunit is specifically configured to determine the consumption trend of the consumables based on a time series analysis method according to historical remaining data of the consumables and the collection time of each historical remaining data.
[0120] In one embodiment, the second acquisition module 702 includes:
[0121] A determination unit, used to determine a data monitoring template corresponding to a consumable type;
[0122] The acquisition unit is used to acquire the usage status information of the consumables through the Internet printing protocol based on the data monitoring template.
[0123] Each module in the above-mentioned consumables monitoring device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0124] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0125] Get the consumable type of the consumables of the target printer;
[0126] According to the type of consumables, the usage status information of consumables is obtained through the Internet printing protocol;
[0127] Determine current remaining data of consumables according to usage status information;
[0128] Monitor the usage of consumables based on current remaining data and preset thresholds.
[0129] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0130] When the current remaining data is less than a preset threshold, a prompt message is generated according to the current remaining data and the historical remaining data of the consumables; the prompt message is used to indicate that the remaining consumables of the target printer are insufficient.
[0131] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0132] Determine the consumption trend of consumables based on the historical remaining data of consumables and the collection time of each historical remaining data;
[0133] Generate prompt information based on consumption trends and current balance data.
[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0135] Determine the remaining days of use of consumables based on consumption trends and current remaining data;
[0136] Generate reminder information based on the remaining days of use, current remaining data and consumable type.
[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0138] Based on the time series analysis method, the consumption trend of consumables is determined according to the historical balance data of consumables and the collection time of each historical balance data.
[0139] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0140] Determine the data monitoring template corresponding to the consumable type;
[0141] Based on the data monitoring template, the usage status information of consumables is obtained through the Internet printing protocol.
[0142] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0143] Get the consumable type of the consumables of the target printer;
[0144] According to the type of consumables, the usage status information of consumables is obtained through the Internet printing protocol;
[0145] Determine current remaining data of consumables according to usage status information;
[0146] Monitor the usage of consumables based on current remaining data and preset thresholds.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0148] When the current remaining data is less than a preset threshold, a prompt message is generated according to the current remaining data and the historical remaining data of the consumables; the prompt message is used to indicate that the remaining consumables of the target printer are insufficient.
[0149] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0150] Determine the consumption trend of consumables based on the historical remaining data of consumables and the collection time of each historical remaining data;
[0151] Generate prompt information based on consumption trends and current balance data.
[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0153] Determine the remaining days of use of consumables based on consumption trends and current remaining data;
[0154] Generate reminder information based on the remaining days of use, current remaining data and consumable type.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] Based on the time series analysis method, the consumption trend of consumables is determined according to the historical balance data of consumables and the collection time of each historical balance data.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0158] Determine the data monitoring template corresponding to the consumable type;
[0159] Based on the data monitoring template, the usage status information of consumables is obtained through the Internet printing protocol.
[0160] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0161] Get the consumable type of the consumables of the target printer;
[0162] According to the type of consumables, the usage status information of consumables is obtained through the Internet printing protocol;
[0163] Determine current remaining data of consumables according to usage status information;
[0164] Monitor the usage of consumables based on current remaining data and preset thresholds.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0166] When the current remaining data is less than a preset threshold, a prompt message is generated according to the current remaining data and the historical remaining data of the consumables; the prompt message is used to indicate that the remaining consumables of the target printer are insufficient.
[0167] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0168] Determine the consumption trend of consumables based on the historical remaining data of consumables and the collection time of each historical remaining data;
[0169] Generate prompt information based on consumption trends and current balance data.
[0170] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0171] Determine the remaining days of use of consumables based on consumption trends and current remaining data;
[0172] Generate reminder information based on the remaining days of use, current remaining data and consumable type.
[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0174] Based on the time series analysis method, the consumption trend of consumables is determined according to the historical balance data of consumables and the collection time of each historical balance data.
[0175] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0176] Determine the data monitoring template corresponding to the consumable type;
[0177] Based on the data monitoring template, the usage status information of consumables is obtained through the Internet printing protocol.
[0178] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A consumables monitoring method, characterized in that: The method comprises: Get the consumable type of the consumables of the target printer; According to the type of the consumables, obtaining the usage status information of the consumables through the Internet printing protocol; Determining current remaining data of the consumables according to the usage status information; The usage of the consumables is monitored based on the current remaining data and a preset threshold.
2. The method according to claim 1, characterized in that: The monitoring of the usage of the consumables based on the current remaining data and a preset threshold value includes: When the current remaining data is less than the preset threshold, a prompt message is generated according to the current remaining data and the historical remaining data of the consumables; the prompt message is used to indicate that the remaining consumables of the target printer are insufficient.
3. The method according to claim 2, characterized in that The generating prompt information according to the current remaining data and the historical remaining data of the consumables includes: Determining the consumption trend of the consumables according to the historical remaining data of the consumables and the collection time of each of the historical remaining data; The prompt information is generated according to the consumption trend and the current remaining data.
4. The method according to claim 3, characterized in that The generating the prompt information according to the consumption trend and the current remaining data includes: Determining the remaining days of use of the consumables according to the consumption trend and the current remaining data; The prompt information is generated according to the remaining usage days, the current remaining data and the consumable type.
5. The method according to claim 3, characterized in that: Determining the consumption trend of the consumables according to the historical remaining data of the consumables and the collection time of each of the historical remaining data includes: Based on the time series analysis method, the consumption trend of the consumables is determined according to the historical remaining data of the consumables and the collection time of each historical remaining data.
6. The method according to any one of claims 1 to 5, characterized in that: The obtaining the usage status information of the consumables through the Internet printing protocol according to the type of the consumables includes: Determine a data monitoring template corresponding to the consumable type; Based on the data monitoring template, the usage status information of the consumables is obtained through the Internet printing protocol.
7. A consumables monitoring device, characterized in that: The device comprises: A first acquisition module, used for acquiring the consumable type of the consumable of the target printer; A second acquisition module, used for acquiring the usage status information of the consumables through the Internet printing protocol according to the type of the consumables; A determination module, used to determine the current remaining quantity data of the consumable according to the usage status information; A monitoring module is used to monitor the usage of the consumables based on the current remaining data and a preset threshold.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Printer system
CN110187618A
Printer information query and printing method, terminal equipment and storage medium
CN113986155A
Self-service terminal printer paper and ink box remaining amount monitoring method and system
CN118342902A
Printer encryption method and device based on ink use and storage medium
CN119311233A
Printing control device and method and program for efficient utilization of consumable products mounted thereon
CN1743976A
Cited By
Printer consumable allowance intelligent prediction method and system
CN121050667A