Electric quantity control method and system of portable printer

Through the early warning mechanism of multi-dimensional power estimation and scene adaptation, the problem of inaccurate power control and inappropriate presentation of early warning signals in portable printer power control is solved, achieving accurate power management and timely early warning.

CN118560174AActive Publication Date: 2024-08-30ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411026984.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-08-30
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, usage information and print list 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 presentation of early warning signals is controlled according to the user's application scenario. method to ensure the adaptability of early warning signals in various scenarios.

Benefits of technology

It achieves accurate estimation and management of portable printer power, ensures the timeliness and adaptability of early warning signals in different application scenarios, avoids printing interruptions caused by insufficient power, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560174A
    Figure CN118560174A
Patent Text Reader

Abstract

The invention discloses an electric quantity control method and system of a portable printer, which introduces printing workload, attenuation level and current electric quantity aiming at the estimation of residual electric quantity, considers the printing workload and the attenuation level in a compatible manner, and performs multi-dimensional electric quantity control from the printing workload and the attenuation of a battery. The accuracy of the residual electric quantity is guaranteed, meanwhile, if the residual electric quantity is larger than the early warning electric quantity and smaller than the printing workload needed by the next printing list, the early warning logic of portable printing is triggered, and in the early warning logic of portable printing, the application scene operated by the user at the current time is collected; the application scene and the portable printed early warning signal are associated, and the presentation mode of the early warning signal is regulated and controlled according to the early warning type allowed by the application scene, so that the early warning signal is subjected to corresponding early warning presentation in each application scene, and the suitability of the early warning signal in each application scene is ensured.
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; The power control method of the portable printer comprises: The portable printer has a built-in lithium battery, and the current power level and multiple usage information of the portable printer are collected; 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; collecting a print list of the portable printer and determining a print workload based on the print list; Estimate remaining power based on printing workload, attenuation level, and current power; 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 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.

[0005] 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: The portable printer has a built-in lithium battery, and the lithium battery is positioned relative to the portable printer; triggering detection of the lithium battery based on a position of the lithium battery relative to the portable printer; 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; 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; In the real-time detection of lithium batteries, the current power level of the portable printer and multiple usage information are collected.

[0006] 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: Freeze the current power; Define the corresponding power level based on the current power level, the model information of the portable printer and the level range table; Associating the current power of the portable printer and multiple usage information; 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; 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; 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; 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; 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.

[0007] Optionally, collecting a print list of a portable printer and determining the printing workload based on the print list includes: Collect multiple working parameters of the portable printer; 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; In real-time monitoring of the working status, a print list of the portable printer is collected; The printing list based on the portable printer defines the work content corresponding to each printing node; Match the printing sub-workload of each printing node 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.

[0008] Optionally, estimating the remaining power according to the printing workload, the attenuation level and the current power includes: Defining the power consumption between each printing node; 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 required power is matched based on the printing workload and the power matching table.

[0009] Optionally, 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.

[0010] Optionally, comparing 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.

[0011] 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: Freeze remaining power, 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, 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; 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; 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.

[0012] 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: 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; Defining pause nodes of corresponding application scenarios based on the use of multiple application devices; Associating pause nodes of multiple application scenarios and early warning signals of portable printing; 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.

[0013] 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: 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; 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; A printing workload module, used for collecting a printing list of a portable printer and determining a printing workload based on the printing list; An estimation module is used to estimate the remaining power according to the printing workload, attenuation level and current power; 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 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.

[0014] 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

[0015] 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.

[0016] Figure 1 is a flow chart of a method for controlling power of a portable printer in an embodiment of the present invention; Figure 2 is a flow chart of S11 in the power control method of the portable printer in the embodiment of the present invention; Figure 3 is a flow chart of S12 in the power control method of the portable printer in the embodiment of the present invention; Figure 4 is a flow chart of S13 in the power control method of the portable printer in the embodiment of the present invention; Figure 5 is a flow chart of S14 in the power control method of the portable printer in the embodiment of the present invention; Figure 6 is a flow chart of S15 in the power control method of the portable printer in the embodiment of the present invention; Figure 7 is a flow chart of S16 in the power control method of the portable printer in the embodiment of the present invention; 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; Fig. 9 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0017] 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. Method Embodiment

[0018] 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: 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; 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; Step S13: collecting a print list of the portable printer, and determining a print workload based on the print list; Step S14: estimating the remaining power according to the printing workload, the attenuation level and the current power; Step S15: Compare the remaining power with the warning power and the printing workload required for the next print list; 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.

[0019] 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.

[0020] 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.

[0021] 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; In the specific implementation process of the present invention, the specific steps may be: S111: The portable printer has a built-in lithium battery, and the lithium battery is located relative to the portable printer; S112: triggering detection of the lithium battery based on a position of the lithium battery relative to the portable printer; 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; 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; 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.

[0022] 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.

[0023] 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.

[0024] 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.

[0025] refer to Figure 3In 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; In the specific implementation process of the present invention, the specific steps may be: S121: freeze the current power; S122: defining a corresponding power level based on the current power level, the model information of the portable printer and the level range table; S123: Associating the current power of the portable printer with a plurality of usage information; 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; 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; 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; 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; 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.

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] 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; In the specific implementation process of the present invention, the specific steps may be: S131: collecting multiple working parameters of the portable printer; 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; S133: collecting a print list of the portable printer during real-time monitoring of the working status; S134: defining the work content corresponding to each printing node based on the printing list of the portable printer; S135: Matching the printing sub-workload of each printing node according to the work content corresponding to each printing node; S136: Associating each printing node, and determining the printing workload according to the printing sub-workload of each printing node.

[0031] 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.

[0032] 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.

[0033] 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.

[0034] refer to Figure 5 , S14: estimating the remaining power according to the printing workload, the attenuation level and the current power; In the specific implementation process of the present invention, the specific steps may be: S141: defining power consumption for each printing node; 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; S143: matching the required power based on the printing workload and the power matching table; 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; S145: estimating the working power to be consumed according to the required overall power and the attenuation level; S146: Compare the working power to be consumed with the current power to estimate the remaining power.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] refer to Figure 6 , S15: comparing the remaining power with the warning power and the printing workload required for the next print list; In the specific implementation process of the present invention, the specific steps may be: S151: Acquiring the next print list of the portable printer; S152: Matching the printing workload required for the next print list based on the next print list; S153: Associating the remaining power with the warning power and the printing workload required for the next print list; 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; S155: matching comparison method based on combination coefficient; 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.

[0040] 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.

[0041] 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.

[0042] 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; In the specific implementation process of the present invention, the specific steps may be: S161: freeze the remaining power, warning power and the printing workload required for the next print list; 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; 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; 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; 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; S166: defining a pause node of a corresponding application scenario based on the use of multiple application devices; S167: Associating pause nodes of multiple application scenarios and early warning signals of portable printing; 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.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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. System Example

[0049] 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.

[0050] like Figure 8 As shown, a power control system of a portable printer, the power control system of the portable printer comprises: 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; 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; A printing workload module 23, for collecting a printing list of a portable printer and determining a printing workload based on the printing list; An estimation module 24 is used to estimate the remaining power according to the printing workload, the attenuation level and the current power; A comparison module 25, for comparing the remaining power with the warning power and the printing workload required for the next print list; 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. Device Embodiment

[0051] 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.

[0052] 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).

[0053] 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.

[0054] 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 .

[0055] 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.

[0056] 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.

[0057] 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. 9 As 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.

[0058] 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.

[0059] 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.

[0060] 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 portable printer has a built-in lithium battery, and the current power level and multiple usage information of the portable printer are collected; 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; collecting a print list of the portable printer and determining a print workload based on the print list; Estimate remaining power based on printing workload, attenuation level, and current power; 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 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.

2. The power control method of a portable printer according to claim 1, characterized in that: The portable printer has a built-in lithium battery, and collects the current power of the portable printer and multiple usage information, including: The portable printer has a built-in lithium battery, and the lithium battery is positioned relative to the portable printer; triggering detection of the lithium battery based on a position of the lithium battery relative to the portable printer; 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; 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; In the real-time detection of lithium batteries, the current power level of the portable printer and multiple usage information are collected.

3. The power control method of a portable printer according to claim 2, characterized in that: The step of 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: Freeze the current power; Define the corresponding power level based on the current power level, the model information of the portable printer and the level range table; Associating the current power of the portable printer and multiple usage information; 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; 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; 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; 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; 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.

4. The power control method of a portable printer according to claim 3, characterized in that: The collecting of the print list of the portable printer and determining the print workload based on the print list includes: Collect multiple working parameters of the portable printer; 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; In real-time monitoring of the working status, a print list of the portable printer is collected; The printing list based on the portable printer defines the work content corresponding to each printing node; Match the printing sub-workload of each printing node 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.

5. The power control method of a portable printer according to claim 4, characterized in that: The estimating remaining power according to the printing workload, attenuation level and current power includes: Defining the power consumption between each printing node; 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 required power is matched based on the printing workload and the power matching table.

6. The power control method of a portable printer according to claim 5, 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.

7. The power control method of a portable printer according to claim 6, 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.

8. The power control method of a portable printer according to claim 1, characterized in that: 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 mode of the warning signal is adjusted according to the warning type allowed by the application scenario, including: Freeze remaining power, 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, 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; 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; 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.

9. The power control method of a portable printer according to claim 8, characterized in that: 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 mode of the warning signal is adjusted according to the warning type allowed by the application scenario. It also includes: 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; Defining pause nodes of corresponding application scenarios based on the use of multiple application devices; Associating pause nodes of multiple application scenarios and early warning signals of portable printing; 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.

10. 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 9, and the power control system of the portable printer includes: 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; 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; A printing workload module, used for collecting a printing list of a portable printer and determining a printing workload based on the printing list; An estimation module is used to estimate the remaining power according to the printing workload, attenuation level and current power; 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 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.

Citation Information

Patent Citations

  • Portable thermal transfer printer

    JP2000272210A

  • Printer and imaging apparatus

    JP2003312095A

  • Print system

    JP2005227924A

  • A portable terminal providing efficient managements of a battery for processing payment information and a method for operating it

    KR101861643B1

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

    US20170184684A1