Power control method and system for portable printer

By collecting and analyzing power, printing lists and usage information in portable printers, and controlling early warning signals in combination with application scenarios, the problem of inaccurate power control and inappropriate early warning presentation in the existing technology is solved, and multi-dimensional management and adaptation of power are achieved. Sexual warning.

CN118560174BActive Publication Date: 2024-10-18ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411026984.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-18
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

Existing power control methods for portable printers fail to fully consider the attenuation of lithium battery power, resulting in inaccurate power control that cannot be effectively managed in multiple dimensions, and early warning signals are not suitable for different application scenarios.

Method used

By collecting the current power, print list and usage information of the portable printer, the power level and attenuation level are defined, multi-dimensional power estimation and control are carried out based on the printing workload and battery attenuation, and the early warning signal is controlled according to the application scenario of the user operation. Presentation method.

Benefits of technology

It achieves accurate prediction and precise early warning of remaining power, ensures the adaptability and timeliness of early warning signals in different application scenarios, and avoids printing interruptions caused by insufficient power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560174B_ABST
    Figure CN118560174B_ABST
Patent Text Reader

Abstract

The present invention discloses a power control method and system for a portable printer. The printing workload, attenuation level and current power are introduced for estimating the remaining power, and the printing workload and attenuation level are compatiblely considered. The power is controlled in multiple dimensions from the printing workload and the attenuation of the battery, thereby ensuring the accuracy of the remaining power. At the same time, if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list, the warning logic of the portable printing is triggered. In the warning logic of the portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of the portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario, so that the warning signal can be presented in each application scenario accordingly, thereby ensuring the adaptability of the warning signal in each application scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power control systems for portable printers, and in particular to a power control method and system for a portable printer. Background Art

[0002] With the development of science and technology, portable printers are used in people's lives and print on printing paper. At this time, the portable printer has a built-in lithium battery and is powered by the lithium battery. Therefore, the power in the lithium battery is the power of the portable printer. In the prior art, the power of the portable printer is controlled based on the comparison between the current power and the warning power threshold, and a single warning is given based on the comparison result. The attenuation of the power in the lithium battery is not fully considered, and it is impossible to control the power in multiple dimensions. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a power control method and system for a portable printer. The printing workload, attenuation level and current power are introduced for estimating the remaining power, and the printing workload and attenuation level are compatible. The power is controlled in multiple dimensions from the printing workload and the attenuation of the battery, thereby ensuring the accuracy of the remaining power. At the same time, if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list, the warning logic of the portable printing is triggered. In the warning logic of the portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of the portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario, so that the warning signal can be presented in each application scenario accordingly, thereby ensuring the adaptability of the warning signal in each application scenario.

[0004] In order to solve the above technical problems, an embodiment of the present invention provides a power control method for a portable printer, which is applied to a power control scenario of a portable printer;

[0005] The power control method of the portable printer comprises:

[0006] The portable printer has a built-in lithium battery, and the current power level and multiple usage information of the portable printer are collected;

[0007] Defining a power level according to the current power level, and defining a power attenuation level based on the power level and a plurality of usage information;

[0008] collecting a print list of the portable printer and determining a print workload based on the print list;

[0009] Estimate remaining power based on printing workload, attenuation level, and current power;

[0010] Compare the remaining power with the warning power and the printing workload required for the next print list;

[0011] If the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning logic of portable printing will be triggered. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario.

[0012] Optionally, the portable printer has a built-in lithium battery, and the current power of the portable printer and multiple usage information are collected, including:

[0013] The portable printer has a built-in lithium battery, and the lithium battery is positioned relative to the portable printer;

[0014] triggering detection of the lithium battery based on a position of the lithium battery relative to the portable printer;

[0015] Collecting the model information of the lithium battery and the model information of the portable printer, and defining the energy supply matching coefficient according to the model information of the lithium battery and the model information of the portable printer;

[0016] Define a power detection method for a lithium battery based on an energy supply matching coefficient and a detection table, and perform real-time detection on the lithium battery based on the power detection method;

[0017] In the real-time detection of lithium batteries, the current power level of the portable printer and multiple usage information are collected.

[0018] Optionally, defining the power level according to the current power level, and defining the power attenuation level based on the power level and a plurality of usage information, includes:

[0019] Freeze the current power;

[0020] Define the corresponding power level based on the current power level, the model information of the portable printer and the level range table;

[0021] Associating the current power of the portable printer and multiple usage information;

[0022] Collecting multiple environmental coefficients where the portable printer is located, and defining the surrounding environment of the portable printer according to the multiple environmental coefficients;

[0023] Defining a plurality of sub-environments according to the surrounding environment of the portable printer, and performing temperature detection based on the plurality of sub-environments to define temperature coefficients of the plurality of sub-environments;

[0024] constructing a peripheral temperature map of the portable printer based on the temperature coefficients of the plurality of sub-environments and the orientations of the plurality of sub-environments relative to the portable printer, and defining the peripheral temperature coefficients based on the peripheral temperature map of the portable printer;

[0025] constructing a first attenuation factor based on the plurality of usage information, and constructing a first temperature influencing factor based on the ambient temperature coefficient;

[0026] The first attenuation factor and the first temperature influencing factor are associated with the power level, and the attenuation level of the power is defined.

[0027] Optionally, collecting a print list of a portable printer and determining the printing workload based on the print list includes:

[0028] Collect multiple working parameters of the portable printer;

[0029] Defining the working state of the portable printer according to a plurality of working parameters of the portable printer, and monitoring the working state in real time;

[0030] In real-time monitoring of the working status, a print list of the portable printer is collected;

[0031] The printing list based on the portable printer defines the work content corresponding to each printing node;

[0032] Match the printing sub-workload of each printing node according to the work content corresponding to each printing node;

[0033] Each printing node is associated, and the printing workload is determined according to the printing sub-workload of each printing node.

[0034] Optionally, estimating the remaining power according to the printing workload, the attenuation level and the current power includes:

[0035] Defining the power consumption between each printing node;

[0036] The printing workload and attenuation level are fixed; at this time, the attenuation level is a dynamic attenuation level and changes with the usage information of the portable printer;

[0037] The required power is matched based on the printing workload and the power matching table.

[0038] Optionally, estimating the remaining power according to the printing workload, the attenuation level and the current power also includes:

[0039] The power consumption is correlated with the required power, and the required overall power is defined based on the required power and the power consumption;

[0040] Estimate the working power to be consumed based on the overall power required and the attenuation level;

[0041] Compare the working power to be consumed with the current power to estimate the remaining power.

[0042] Optionally, comparing the remaining power with the warning power and the printing workload required for the next print list includes:

[0043] Collect the next print list of the portable printer;

[0044] matching the print effort required for the next print list based on the next print list;

[0045] Correlate the remaining power with the warning power and the printing workload required for the next print list;

[0046] Building multiple combinations based on the remaining power, the warning power, and the printing workload required for the next print list, and defining combination coefficients according to the multiple combinations;

[0047] Based on the combination coefficient matching comparison method;

[0048] In this comparison mode, the remaining power is dynamically compared with the warning power and the printing workload required for the next print list.

[0049] Optionally, if the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning logic of portable printing is triggered. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of portable printing are associated, and the presentation mode of the warning signal is adjusted according to the warning type allowed by the application scenario, including:

[0050] Freeze remaining power, warning power and the amount of printing required for the next print list;

[0051] If the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, then the warning time of portable printing is defined, and warning processing is performed based on the warning time of portable printing. At this time, the power difference coefficient between the remaining power and the printing workload required for the next print list is defined;

[0052] Defining a power difference level according to a power difference coefficient, and matching a corresponding portable printer warning logic based on the power difference level and the model information of the portable printer;

[0053] In the early warning logic of portable printing, the application scenarios operated by the user at the current time are collected; if there are multiple application scenarios, the multiple application scenarios are arranged side by side, and corresponding application devices are matched for the multiple application scenarios.

[0054] Optionally, if the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning logic of portable printing is triggered. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of portable printing are associated, and the presentation mode of the warning signal is adjusted according to the warning type allowed by the application scenario, which also includes:

[0055] Associating the application scenario with the warning signal of the portable printing, and synchronously inputting the warning signal of the portable printing to a plurality of application devices;

[0056] Defining pause nodes of corresponding application scenarios based on the use of multiple application devices;

[0057] Associating pause nodes of multiple application scenarios and early warning signals of portable printing;

[0058] The presentation method of the warning signal is adjusted according to the warning types allowed by each application scenario, and the warning information is presented at the pause node and the corresponding application device. At this time, the warning information includes at least one of text information, light information, voice information, and video information.

[0059] In addition, an embodiment of the present invention further provides a power control system for a portable printer, the power control system for the portable printer comprising:

[0060] A collection module is used for a portable printer with a built-in lithium battery to collect the current power of the portable printer and multiple usage information;

[0061] A decay level module, used to define a power level according to a current power level, and to define a decay level of power based on the power level and a plurality of usage information;

[0062] A printing workload module, used for collecting a printing list of a portable printer and determining a printing workload based on the printing list;

[0063] An estimation module is used to estimate the remaining power according to the printing workload, attenuation level and current power;

[0064] A comparison module, used to compare the remaining power with the warning power and the printing workload required for the next print list;

[0065] The presentation module is used to trigger the warning logic of portable printing if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of portable printing are associated, and the presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario.

[0066] In an embodiment of the present invention, through the method in the embodiment of the present invention, a portable printer is equipped with a lithium battery, and the current power level and multiple usage information of the portable printer are collected; the power level is defined according to the current power level, and the power attenuation level is defined based on the power level and multiple usage information; the print list of the portable printer is collected, and the print workload is determined based on the print list; the remaining power is estimated according to the print workload, the attenuation level and the current power level. At this time, the print workload, the attenuation level and the current power level are introduced for the estimation of the remaining power level, and the print workload and the attenuation level are compatible. The power level is controlled in multiple dimensions from the print workload and the attenuation of the battery, thereby ensuring the accuracy of the remaining power level. At the same time, the remaining power level is compared with the estimated power level. The warning power level and the printing workload required for the next print list are compared; if the remaining power is greater than the warning power level and the remaining power is less than the printing workload required for the next print list, the warning logic of the portable printing is triggered. In the warning logic of the portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of the portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario, so that the warning signal can be presented in each application scenario accordingly, which ensures the adaptability of the warning signal in each application scenario, does not affect the normal use of the user in the application scenario, and ensures that the warning signal is known to the user in a timely manner, thereby realizing accurate warning of the circuit of the portable printer. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0068] Figure 1 is a flow chart of a method for controlling power of a portable printer in an embodiment of the present invention;

[0069] Figure 2 is a flow chart of S11 in the power control method of the portable printer in the embodiment of the present invention;

[0070] Figure 3 is a flow chart of S12 in the power control method of the portable printer in the embodiment of the present invention;

[0071] Figure 4 is a flow chart of S13 in the power control method of the portable printer in the embodiment of the present invention;

[0072] Figure 5 is a flow chart of S14 in the power control method of the portable printer in the embodiment of the present invention;

[0073] Figure 6 is a flow chart of S15 in the power control method of the portable printer in the embodiment of the present invention;

[0074] Figure 7 is a flow chart of S16 in the power control method of the portable printer in the embodiment of the present invention;

[0075] Figure 8 is a schematic diagram of the structure of a power control system of a portable printer in an embodiment of the present invention;

[0076] Fig. 9 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

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

[0078] Method Embodiment

[0079] See also Figures 1 to 9 , a power control method for a portable printer, applied to a power control scenario of a portable printer; the power control method for a portable printer includes:

[0080] Step S11: The portable printer has a built-in lithium battery, and the current power level and multiple usage information of the portable printer are collected;

[0081] Step S12: defining a power level according to the current power level, and defining a power attenuation level based on the power level and a plurality of usage information;

[0082] Step S13: collecting a print list of the portable printer, and determining a print workload based on the print list;

[0083] Step S14: estimating the remaining power according to the printing workload, the attenuation level and the current power;

[0084] Step S15: Compare the remaining power with the warning power and the printing workload required for the next print list;

[0085] Step S16: If the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning logic of portable printing is triggered. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario.

[0086] In an embodiment of the present invention, through the method in the embodiment of the present invention, a portable printer is equipped with a built-in lithium battery, and the current power level of the portable printer and multiple usage information are collected; the power level is defined according to the current power level, and the power attenuation level is defined based on the power level and multiple usage information; the print list of the portable printer is collected, and the printing workload is determined based on the print list; the remaining power is estimated according to the printing workload, the attenuation level and the current power. At this time, the printing workload, the attenuation level and the current power are introduced for the estimation of the remaining power, and the printing workload and the attenuation level are compatible. The power is controlled in multiple dimensions from the printing workload and the battery attenuation, thereby ensuring the accuracy of the remaining power.

[0087] At the same time, the remaining power is compared with the warning power and the printing workload required for the next print list; if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list, the warning logic of portable printing is triggered. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario, so that the warning signal can be presented in each application scenario accordingly, thereby ensuring the adaptability of the warning signal in each application scenario, not affecting the normal use of the user in the application scenario, and ensuring that the warning signal is known to the user in a timely manner, thereby realizing accurate warning of the circuit of the portable printer.

[0088] refer to Figure 2 , in step S11, the portable printer has a built-in lithium battery, and the current power of the portable printer and multiple usage information are collected;

[0089] In the specific implementation process of the present invention, the specific steps may be:

[0090] S111: The portable printer has a built-in lithium battery, and the lithium battery is located relative to the portable printer;

[0091] S112: triggering detection of the lithium battery based on a position of the lithium battery relative to the portable printer;

[0092] S113: collecting model information of the lithium battery and the model information of the portable printer, and defining an energy supply matching coefficient according to the model information of the lithium battery and the model information of the portable printer;

[0093] S114: defining a power detection method of the lithium battery based on the energy supply matching coefficient and the detection table, and performing real-time detection on the lithium battery based on the power detection method;

[0094] S115: In the real-time detection of the lithium battery, the current power level of the portable printer and a plurality of usage information are collected.

[0095] In an embodiment of the present application, the portable printer has a built-in lithium battery, and the position of the lithium battery is positioned relative to the portable printer, so as to control the position of the lithium battery relative to the portable printer, thereby triggering detection of the lithium battery based on the position of the lithium battery relative to the portable printer, so as to facilitate targeted detection of the lithium battery, thereby controlling the circuit control of the portable printer.

[0096] Therefore, the model information of the lithium battery and the model information of the portable printer are collected, and the energy supply matching coefficient is defined based on the model information of the lithium battery and the model information of the portable printer, so as to facilitate the consideration of the model information of the lithium battery and the model information of the portable printer, so as to carry out overall control of the model information of the lithium battery and the model information of the portable printer, and then define the energy supply matching coefficient, thereby realizing the control of the energy supply matching coefficient.

[0097] Furthermore, the power detection method of the lithium battery is defined based on the energy supply matching coefficient and the detection table, so that the energy supply matching coefficient and the power detection method of the lithium battery can be defined according to the relationship in the detection table, thereby defining the corresponding power detection method of the lithium battery according to the energy supply matching coefficient, realizing the control of the power detection method of the lithium battery, and then performing real-time detection of the lithium battery based on the power detection method, ensuring the pertinence of the power detection of the lithium battery and the accuracy of the detection. Therefore, in the real-time detection of the lithium battery, the current power of the portable printer and multiple usage information are collected, so that the battery life, usage environment and other information are presented based on multiple usage information.

[0098] refer to Figure 3 In step S12, a power level is defined according to the current power level, and a power attenuation level is defined based on the power level and a plurality of usage information;

[0099] In the specific implementation process of the present invention, the specific steps may be:

[0100] S121: freeze the current power;

[0101] S122: defining a corresponding power level based on the current power level, the model information of the portable printer and the level range table;

[0102] S123: Associating the current power of the portable printer with a plurality of usage information;

[0103] S124: collecting multiple environmental coefficients where the portable printer is located, and defining the surrounding environment of the portable printer according to the multiple environmental coefficients;

[0104] S125: defining a plurality of sub-environments according to the surrounding environment of the portable printer, and performing temperature detection based on the plurality of sub-environments to define temperature coefficients of the plurality of sub-environments;

[0105] S126: constructing a peripheral temperature map of the portable printer according to the temperature coefficients of the plurality of sub-environments and the positions of the plurality of sub-environments relative to the portable printer, and defining the peripheral temperature coefficient according to the peripheral temperature map of the portable printer;

[0106] S127: constructing a first attenuation factor based on the plurality of usage information, and constructing a first temperature influencing factor based on the ambient temperature coefficient;

[0107] S128: Associating the first attenuation factor and the first temperature influencing factor with the power level, and defining the attenuation level of the power level.

[0108] In an embodiment of the present application, the current power level is frozen to facilitate circuit control based on the current power level, thereby introducing the association between the current power level, the model information of the portable printer, and the level interval table, and then defining the corresponding power level based on the current power level, the model information of the portable printer, and the level interval table, thereby clarifying the power level, facilitating attenuation analysis of the power level, and further controlling the different attenuation degrees at different power levels.

[0109] At the same time, the current power level and multiple usage information of the portable printer are associated; multiple environmental coefficients of the portable printer are collected, and the surrounding environment of the portable printer is defined according to the multiple environmental coefficients to facilitate the control of the surrounding environment of the portable printer, thereby defining multiple sub-environments according to the surrounding environment of the portable printer, and performing temperature detection based on the multiple sub-environments to define the temperature coefficients of the multiple sub-environments, thereby realizing the control of the temperature of the surrounding environment of the portable printer.

[0110] Furthermore, a peripheral temperature map of the portable printer is constructed based on the temperature coefficients of multiple sub-environments and the positions of the multiple sub-environments relative to the portable printer, so that the temperature of the portable printer at different positions can be presented based on the peripheral temperature map of the portable printer, and then the peripheral temperature coefficient is defined based on the peripheral temperature map of the portable printer, so that the temperature of the peripheral environment of the portable printer can be controlled by the temperature coefficient.

[0111] Therefore, a first attenuation factor is constructed based on multiple usage information, and a first temperature influence factor is constructed based on the surrounding temperature coefficient; the first attenuation factor and the first temperature influence factor are both associated with the power level, and the attenuation level of the power is defined, so that the first attenuation factor and the first temperature influence factor are compatible with the attenuation level of the power, and then the multiple usage information and the surrounding temperature coefficient are controlled as a whole, thereby ensuring the accuracy of the attenuation level of the power.

[0112] refer to Figure 4 , in step S13, collecting a print list of the portable printer, and determining a print workload based on the print list;

[0113] In the specific implementation process of the present invention, the specific steps may be:

[0114] S131: collecting multiple working parameters of the portable printer;

[0115] S132: defining a working state of the portable printer according to a plurality of working parameters of the portable printer, and monitoring the working state in real time;

[0116] S133: collecting a print list of the portable printer during real-time monitoring of the working status;

[0117] S134: defining the work content corresponding to each printing node based on the printing list of the portable printer;

[0118] S135: Matching the printing sub-workload of each printing node according to the work content corresponding to each printing node;

[0119] S136: Associating each printing node, and determining the printing workload according to the printing sub-workload of each printing node.

[0120] In an embodiment of the present application, multiple operating parameters of the portable printer are collected to freeze the multiple operating parameters, thereby defining the operating state of the portable printer according to the multiple operating parameters of the portable printer, and monitoring the operating state in real time.

[0121] At this time, in the real-time monitoring of the working status, the print list of the portable printer is collected to facilitate the parsing of the print list of the portable printer, and thus the work content corresponding to each printing node is defined based on the print list of the portable printer, so as to ensure the clarity of the work content corresponding to each printing node, and then control the workload of the work content corresponding to each printing node.

[0122] Furthermore, the printing sub-workload of each printing node is matched according to the work content corresponding to each printing node; each printing node is associated, and the printing workload is determined according to the printing sub-workload of each printing node, so as to take overall consideration of the printing workload and fully reflect the overall workload of the printing list, so as to facilitate the control of power consumption.

[0123] refer to Figure 5 , S14: estimating the remaining power according to the printing workload, the attenuation level and the current power;

[0124] In the specific implementation process of the present invention, the specific steps may be:

[0125] S141: defining power consumption for each printing node;

[0126] S142: freeze the printing workload and attenuation level; at this time, the attenuation level is a dynamic attenuation level, and changes with the change of the usage information of the portable printer;

[0127] S143: matching the required power based on the printing workload and the power matching table;

[0128] S144: Associating the power consumption with the required power consumption, and defining the required overall power consumption according to the required power consumption and the power consumption;

[0129] S145: estimating the working power to be consumed according to the required overall power and the attenuation level;

[0130] S146: Compare the working power to be consumed with the current power to estimate the remaining power.

[0131] In an embodiment of the present application, power consumption is defined for each printing node to facilitate control of the power consumption. Therefore, the printing workload and attenuation level are fixed. At this time, the attenuation level is a dynamic attenuation level, and changes with the usage information of the portable printer. The attenuation level is a dynamic level and changes according to the usage information of the portable printer. It is not a single and unchanging level.

[0132] Furthermore, the required power is matched based on the printing workload and the power matching table, so as to associate the loss power based on the required power, and define the required overall power based on the required power and the loss power, and then clarify the required overall power, ensuring the control of the required overall power and subsequent processing.

[0133] Therefore, the working power to be consumed is estimated according to the required overall power and the attenuation level, so as to compare the working power to be consumed and the current power to estimate the remaining power, thereby making an overall evaluation of the working power to be consumed and the current power to ensure the accuracy of the estimated remaining power.

[0134] At the same time, the portable printer has a built-in lithium battery, which collects the current power level of the portable printer and multiple usage information; defines the power level according to the current power level, and defines the power attenuation level based on the power level and multiple usage information; collects the print list of the portable printer, and determines the printing workload based on the print list; estimates the remaining power based on the printing workload, attenuation level and current power. At this time, the printing workload, attenuation level and current power are introduced for the estimation of the remaining power, and the printing workload and attenuation level are compatible. The power is controlled in multiple dimensions from the printing workload and the battery attenuation to ensure the accuracy of the remaining power.

[0135] refer to Figure 6 , S15: comparing the remaining power with the warning power and the printing workload required for the next print list;

[0136] In the specific implementation process of the present invention, the specific steps may be:

[0137] S151: Acquiring the next print list of the portable printer;

[0138] S152: Matching the printing workload required for the next print list based on the next print list;

[0139] S153: Associating the remaining power with the warning power and the printing workload required for the next print list;

[0140] S154: constructing a plurality of combinations based on the remaining power, the warning power, and the printing workload required for the next print list, and defining combination coefficients according to the plurality of combinations;

[0141] S155: matching comparison method based on combination coefficient;

[0142] S156: In this comparison mode, the remaining power is dynamically compared with the warning power and the printing workload required for the next print list.

[0143] In an embodiment of the present application, the next print list of the portable printer is collected, and the next print list of the portable printer is used to control future workload, thereby matching the printing workload required for the next print list based on the next print list, thereby ensuring the printing workload required for the next print list.

[0144] At this time, the remaining power is associated with the warning power and the printing workload required for the next print list; multiple combinations are constructed based on the remaining power, the warning power, and the printing workload required for the next print list, and combination coefficients are defined based on the multiple combinations, so as to introduce the combination coefficient, and then a comparison method is matched based on the combination coefficient. Therefore, under this comparison method, the remaining power is dynamically compared with the warning power and the printing workload required for the next print list, thereby realizing dynamic control of power.

[0145] refer to Figure 7 , S16: If the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning logic of the portable printing is triggered. In the warning logic of the portable printing, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of the portable printing are associated, and the presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario;

[0146] In the specific implementation process of the present invention, the specific steps may be:

[0147] S161: freeze the remaining power, warning power and the printing workload required for the next print list;

[0148] S162: If the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, then define a warning time for portable printing, perform warning processing based on the warning time for portable printing, and at this time, define a power difference coefficient between the remaining power and the printing workload required for the next print list;

[0149] S163: defining a power difference level according to the power difference coefficient, and matching a corresponding portable printer warning logic based on the power difference level and the model information of the portable printer;

[0150] S164: In the early warning logic of portable printing, the application scenarios operated by the user at the current time are collected; if there are multiple application scenarios, the multiple application scenarios are arranged side by side, and corresponding application devices are matched for the multiple application scenarios;

[0151] S165: Associating the application scenario with the warning signal of the portable printing, and synchronously inputting the warning signal of the portable printing to multiple application devices;

[0152] S166: defining a pause node of a corresponding application scenario based on the use of multiple application devices;

[0153] S167: Associating pause nodes of multiple application scenarios and early warning signals of portable printing;

[0154] S168: Adjust the presentation method of the warning signal according to the warning types allowed by each application scenario, and present the warning information at the pause node and the corresponding application device. At this time, the warning information includes at least one of text information, light information, voice information, and video information.

[0155] In the specific implementation process of the present invention, the remaining power, warning power and the printing workload required for the next print list are frozen to facilitate multi-dimensional comparison of the remaining power, warning power and the printing workload required for the next print list, thereby being compatible with the overall consideration of the warning power and the printing workload required for the next print list and ensuring the sufficiency of the remaining power for future work.

[0156] At this time, if the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning time of portable printing is defined, and warning processing is performed based on the warning time of portable printing. At this time, the power difference coefficient between the remaining power and the printing workload required for the next print list is defined to facilitate control of the power difference coefficient.

[0157] Furthermore, the power difference level is defined according to the power difference coefficient, and the corresponding portable printing warning logic is matched based on the power difference level and the model information of the portable printing, so as to define the warning logic of the portable printing, so as to facilitate the early warning control of the power level according to the warning logic of the portable printing.

[0158] Therefore, in the warning logic of portable printing, the application scenarios operated by the user at the current time are collected; if there are multiple application scenarios, the multiple application scenarios are arranged side by side, and corresponding application devices are matched for the multiple application scenarios; the application scenario and the warning signal of portable printing are associated, and the warning signal of portable printing is synchronously input to multiple application devices, so as to warn the user in multiple application devices and remind the user in multiple dimensions.

[0159] At the same time, pause nodes of corresponding application scenarios are defined based on the use of multiple application devices; pause nodes of multiple application scenarios and warning signals of portable printing are associated; the presentation method of warning signals is adjusted according to the warning types allowed by each application scenario, and warning information is presented at the pause nodes and corresponding application devices. At this time, the warning information includes at least one of text information, light information, voice information, and video information.

[0160] Therefore, the remaining power is compared with the warning power and the printing workload required for the next print list; if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list, the warning logic of portable printing is triggered. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, and the application scenario and the warning signal of portable printing are associated. The presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario, so that the warning signal can be presented in each application scenario accordingly, thereby ensuring the adaptability of the warning signal in each application scenario, not affecting the normal use of the user in the application scenario, and ensuring that the warning signal is known to the user in a timely manner, thereby realizing accurate warning of the circuit of the portable printer.

[0161] System Example

[0162] See also Figure 8 , Figure 8 It is a schematic diagram of the structure of the power control system of the portable printer in an embodiment of the present invention.

[0163] like Figure 8 As shown, a power control system of a portable printer, the power control system of the portable printer comprises:

[0164] The collection module 21 is used for collecting the current power of the portable printer and multiple usage information when the portable printer has a built-in lithium battery;

[0165] The attenuation level module 22 is used to define the power level according to the current power level, and define the attenuation level of the power level based on the power level and multiple usage information;

[0166] A printing workload module 23, for collecting a printing list of a portable printer and determining a printing workload based on the printing list;

[0167] An estimation module 24 is used to estimate the remaining power according to the printing workload, the attenuation level and the current power;

[0168] A comparison module 25, for comparing the remaining power with the warning power and the printing workload required for the next print list;

[0169] The presentation module 26 is used to trigger the warning logic of portable printing if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list. In the warning logic of portable printing, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of portable printing are associated, and the presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario.

[0170] Device Embodiment

[0171] See also Fig. 9 , refer to the following Fig. 9 The electronic device 40 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0172] like Fig. 9 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: at least one processing unit 41, at least one storage unit 42, and a bus 43 connecting different system components (including the storage unit 42 and the processing unit 41).

[0173] The storage unit stores program codes, which can be executed by the processing unit 41, so that the processing unit 41 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.

[0174] The storage unit 42 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .

[0175] The storage unit 42 may also include a program / utility 424 having a set (at least one) of presentation modules 425, such presentation modules 425 including but not limited to: an operating system, one or more application programs, other presentation modules, and program data, each of which or some combination may include an implementation of a network environment.

[0176] Bus 43 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0177] The electronic device 40 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 40, and / or any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 44. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 45. Fig. 9As shown, the network adapter 45 communicates with other modules of the electronic device 40 via the bus 43. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup planning systems.

[0178] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0179] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. In addition, it stores computer program instructions, and when the computer program instructions are executed by a computer, the computer executes the above method.

[0180] In addition, the power control method and system of the portable printer provided in the embodiment of the present invention are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for controlling power of a portable printer, characterized in that: Applied to power control scenarios of portable printers; The power control method of the portable printer comprises: The current power level and multiple usage information of the portable printer are collected; the portable printer has a built-in lithium battery, and the position of the lithium battery relative to the portable printer is located; the detection of the lithium battery is triggered based on the position of the lithium battery relative to the portable printer; the model information of the lithium battery and the model information of the portable printer are collected, and the energy supply matching coefficient is defined according to the model information of the lithium battery and the model information of the portable printer; the power detection method of the lithium battery is defined based on the energy supply matching coefficient and the detection table, and the lithium battery is detected in real time based on the power detection method; in the real-time detection of the lithium battery, the current power level and multiple usage information of the portable printer are collected; Define a power level according to the current power level, and define a power attenuation level based on the power level and multiple usage information; freeze the current power level; define a corresponding power level based on the current power level, model information of the portable printer, and a level interval table; associate the current power level of the portable printer and multiple usage information; collect multiple environmental coefficients where the portable printer is located, and define the surrounding environment of the portable printer according to the multiple environmental coefficients; define multiple sub-environments according to the surrounding environment of the portable printer, and perform temperature detection based on the multiple sub-environments to define temperature coefficients of the multiple sub-environments; construct a peripheral temperature map of the portable printer according to the temperature coefficients of the multiple sub-environments and the positions of the multiple sub-environments relative to the portable printer, and define the peripheral temperature coefficient according to the peripheral temperature map of the portable printer; construct a first attenuation factor based on multiple usage information, and construct a first temperature influencing factor based on the peripheral temperature coefficient; associate the first attenuation factor and the first temperature influencing factor with the power level, and define the power attenuation level; Collecting a print list of a portable printer, and determining a print workload based on the print list; collecting multiple working parameters of the portable printer; defining a working state of the portable printer according to the multiple working parameters of the portable printer, and monitoring the working state in real time; in real-time monitoring of the working state, collecting a print list of the portable printer; defining work contents corresponding to each print node based on the print list of the portable printer; matching a print sub-workload of each print node according to the work contents corresponding to each print node; associating each print node, and determining a print workload according to the print sub-workload of each print node; Estimate the remaining power according to the printing workload, attenuation level and current power; define the power consumption for each printing node; freeze the printing workload and attenuation level; at this time, the attenuation level is a dynamic attenuation level and changes with the usage information of the portable printer; match the required power based on the printing workload and the power matching table; Compare the remaining power with the warning power and the printing workload required for the next print list; If the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning logic of the portable printer is triggered. In the warning logic of the portable printer, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of the portable printer are associated, and the presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario; the remaining power, the warning power and the printing workload required for the next print list are frozen; if the remaining power is greater than the warning power, and the remaining power is less than the printing workload required for the next print list, the warning moment of the portable printer is defined, and the warning processing is performed based on the warning moment of the portable printer. At this time, the power difference coefficient between the remaining power and the printing workload required for the next print list is defined; the power difference level is defined according to the power difference coefficient, and based on the power difference, etc. The level and model information of the portable printer are matched with the warning logic of the corresponding portable printer; in the warning logic of the portable printer, the application scenario operated by the user at the current time is collected; if there are multiple application scenarios, the multiple application scenarios are arranged side by side, and corresponding application devices are matched for the multiple application scenarios; the application scenario and the warning signal of the portable printer are associated, and the warning signal of the portable printer is synchronously input to the multiple application devices; based on the use of multiple application devices, the pause node of the corresponding application scenario is defined; the pause nodes of the multiple application scenarios and the warning signal of the portable printer are associated; the presentation method of the warning signal is adjusted according to the warning type allowed by each application scenario, and the warning information is presented at the pause node and the corresponding application device. At this time, the warning information includes at least one of text information, light information, voice information, and video information.

2. The power control method of a portable printer according to claim 1, characterized in that: The estimating the remaining power according to the printing workload, the attenuation level and the current power also includes: The power consumption is correlated with the required power, and the required overall power is defined based on the required power and the power consumption; Estimate the working power to be consumed based on the overall power required and the attenuation level; Compare the working power to be consumed with the current power to estimate the remaining power.

3. The power control method of a portable printer according to claim 2, characterized in that: The comparison of the remaining power with the warning power and the printing workload required for the next print list includes: Collect the next print list of the portable printer; matching the print effort required for the next print list based on the next print list; Correlate the remaining power with the warning power and the printing workload required for the next print list; Building multiple combinations based on the remaining power, the warning power, and the printing workload required for the next print list, and defining combination coefficients according to the multiple combinations; Based on the combination coefficient matching comparison method; In this comparison mode, the remaining power is dynamically compared with the warning power and the printing workload required for the next print list.

4. A power control system for a portable printer, characterized in that: The power control system of the portable printer is applied to the power control method of the portable printer as claimed in any one of claims 1 to 3, and the power control system of the portable printer includes: A collection module for collecting the current power of a portable printer and multiple usage information; the portable printer has a built-in lithium battery, and locates the position of the lithium battery relative to the portable printer; triggers the detection of the lithium battery based on the position of the lithium battery relative to the portable printer; collects the model information of the lithium battery and the model information of the portable printer, and defines the energy supply matching coefficient according to the model information of the lithium battery and the model information of the portable printer; defines the power detection method of the lithium battery based on the energy supply matching coefficient and the detection table, and performs real-time detection of the lithium battery based on the power detection method; in the real-time detection of the lithium battery, collects the current power of the portable printer and multiple usage information; an attenuation level module for defining the power level according to the current power, and defining the attenuation level of the power based on the power level and multiple usage information; freezes the current power; defines the corresponding power level based on the current power, the model information of the portable printer and the level interval table; associates the current power of the portable printer and multiple usage information; collects multiple environmental coefficients where the portable printer is located, and defines the surrounding environment of the portable printer based on the multiple environmental coefficients; defines multiple sub- environment, and perform temperature detection based on multiple sub-environments to define temperature coefficients of multiple sub-environments; construct a peripheral temperature map of the portable printer according to the temperature coefficients of the multiple sub-environments and the positions of the multiple sub-environments relative to the portable printer, and define the peripheral temperature coefficient according to the peripheral temperature map of the portable printer; construct a first attenuation factor based on multiple usage information, and construct a first temperature influencing factor based on the peripheral temperature coefficient; associate the first attenuation factor and the first temperature influencing factor with the power level, and define the attenuation level of the power; a printing workload module, used to collect a print list of the portable printer, and determine the printing workload based on the print list; collect multiple working parameters of the portable printer; define the working state of the portable printer according to the multiple working parameters of the portable printer, and monitor the working state in real time; in the real-time monitoring of the working state, collect the print list of the portable printer; define the work content corresponding to each printing node based on the print list of the portable printer; match the printing sub-workload of each printing node according to the work content corresponding to each printing node; associate each printing node, and determine the printing workload according to the printing sub-workload of each printing node; The estimation module is used to estimate the remaining power according to the printing workload, attenuation level and current power; define the power consumption for each printing node; freeze the printing workload and attenuation level; at this time, the attenuation level is a dynamic attenuation level and changes with the change of the usage information of the portable printer; match the required power based on the printing workload and the power matching table; A comparison module, used to compare the remaining power with the warning power and the printing workload required for the next print list; The presentation module is used to trigger the warning logic of the portable printer if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list. In the warning logic of the portable printer, the application scenario operated by the user at the current time is collected, the application scenario and the warning signal of the portable printer are associated, and the presentation method of the warning signal is adjusted according to the warning type allowed by the application scenario; the remaining power, the warning power and the printing workload required for the next print list are frozen; if the remaining power is greater than the warning power and the remaining power is less than the printing workload required for the next print list, the warning time of the portable printer is defined, and the warning processing is performed based on the warning time of the portable printer. At this time, the power difference coefficient between the remaining power and the printing workload required for the next print list is defined; the power difference level is defined according to the power difference coefficient, and the power difference level is defined based on the power difference coefficient. The quantity difference level and the model information of the portable printer are matched with the warning logic of the corresponding portable printer; in the warning logic of the portable printer, the application scenarios operated by the user at the current time are collected; if there are multiple application scenarios, the multiple application scenarios are arranged side by side, and corresponding application devices are matched for the multiple application scenarios; the application scenario and the warning signal of the portable printer are associated, and the warning signal of the portable printer is synchronously input to the multiple application devices; based on the use of multiple application devices, the pause node of the corresponding application scenario is defined; the pause nodes of multiple application scenarios and the warning signal of the portable printer are associated; the presentation method of the warning signal is adjusted according to the warning type allowed by each application scenario, and the warning information is presented at the pause node and the corresponding application device. At this time, the warning information includes at least one of text information, light information, voice information, and video information.

Citation Information

Patent Citations

  • Judgment device, program, judgment method in judgment device, and printer

    US20170184684A1