Paper control method and system for portable printer

By incorporating a paper feed mode into portable printers, and detecting and dynamically adjusting paper offset and printing parameters in real time, the problem of portable printers being incompatible with various paper sizes and feed offsets is solved, achieving dynamic centering of paper feed and good printing results.

CN118560171BActive Publication Date: 2024-11-05ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411035131.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-05
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

Portable printers are not compatible with various paper sizes, and the paper is offset during transport and cannot be dynamically centered, resulting in poor printing quality.

Method used

By incorporating multiple paper trays in a portable printer, the distribution information of these trays is collected to construct a paper feeding pattern. The paper offset is detected in real time, and dynamic adjustments are made based on the offset to calibrate the paper's centering. Simultaneously, the conveying and pressure parameters are dynamically adjusted according to the paper thickness and hardness, and printing effect parameters are collected to control the printing effect of the next sheet.

Benefits of technology

It achieves compatibility with various paper sizes, ensuring dynamic and centered paper feeding in portable printers, improving the stability and consistency of printing results, and avoiding print quality degradation caused by the same printing parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560171B_ABST
    Figure CN118560171B_ABST
Patent Text Reader

Abstract

The present invention discloses a paper control method and system for a portable printer. In the paper feeding mode, the offset of the paper in the conveying process is defined according to a plurality of position detection points; the dynamic regulation of the paper is triggered based on the offset to calibrate the centering state of the paper, thereby dynamically calibrating the offset of the paper, so as to ensure the centering state of the paper and realize dynamic centering conveyance of the paper driven by the portable printer. At the same time, when the portable printer prints the paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is regulated according to the printing effect parameters, so as to manage and control the printing effect of two adjacent papers, so that the printing effect of the next paper is timely regulated based on the printing effect of the previous paper, and the printing effect of the next paper is guaranteed, so as to realize good printing effects of multiple papers under dynamic printing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of science and technology, portable printers are used in people's lives. Generally, portable printers have a single paper position, and a single paper position can only match paper of a single specification. In the prior art, the paper is output along the paper position and dynamically transported in the portable printer. However, a portable printer can only print paper of a single specification and cannot be compatible with multiple paper specifications. At the same time, during the dynamic movement of the paper, the paper often has a large offset and cannot achieve dynamic centered transportation. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art. The present invention provides a paper control method and system for a portable printer. In the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the conveying process is defined according to the multiple position detection points; the dynamic regulation of the paper is triggered based on the offset to calibrate the centering state of the paper, thereby dynamically calibrating the offset of the paper, so as to ensure the centering state of the paper and realize dynamic centering conveyance of the paper under the drive of the portable printer. At the same time, when the portable printer prints the paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is regulated according to the printing effect parameters, so as to manage and control the printing effect of two adjacent papers, so that the printing effect of the next paper is timely regulated based on the printing effect of the previous paper, and the printing effect of the next paper is guaranteed, so as to achieve good printing effects of multiple papers under dynamic printing, and avoid printing of each paper along the same printing parameters.

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

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

[0006] The portable printer is equipped with multiple paper bins to collect distribution information of the multiple paper bins; the multiple paper bins correspond to papers of different specifications;

[0007] Constructing a paper feeding mode of the portable printer according to the distribution information of the plurality of paper bins and the paper conveying information of the portable printer;

[0008] In the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the feeding process is defined according to the multiple position detection points;

[0009] Triggering dynamic adjustment of the paper based on the offset to calibrate the centering state of the paper;

[0010] Dynamically adjust the paper feeding parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper;

[0011] When the portable printer prints on paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is adjusted according to the printing effect parameters.

[0012] Optionally, the portable printer is provided with a plurality of paper bins, and distribution information of the plurality of paper bins is collected; the plurality of paper bins correspond to papers of different specifications, including:

[0013] Traverse the portable printers and define the paper feed direction of the portable printers;

[0014] defining a plurality of paper feed ports based on a paper feed direction of the portable printer;

[0015] Determine multiple paper bins based on the tracing of multiple paper inlets, and in this case, the portable printer is provided with multiple paper bins;

[0016] Collect location information and direction information between multiple paper bins;

[0017] The distribution information of the multiple paper bins is defined according to the position information and direction information between the multiple paper bins to complete the collection of the distribution information of the multiple paper bins; at this time, the multiple paper bins correspond to papers of different specifications.

[0018] Optionally, constructing a paper feeding mode of the portable printer according to the distribution information of the plurality of paper bins and the paper conveying information of the portable printer includes:

[0019] Freeze the distribution information of multiple paper bins;

[0020] Matching corresponding paper specification information based on distribution information of multiple paper bins;

[0021] Monitor portable printers in real time and collect paper delivery information;

[0022] Defining the paper delivery specifications and the delivery order of each specification based on the analysis of paper delivery information;

[0023] Associate the paper delivery specifications, the delivery order of the specifications, and paper specification information;

[0024] Constructing a paper conveying sequence table according to the conveying specifications of the paper, the conveying order of the specifications and the paper specification information;

[0025] A paper feed pattern for the portable printer is constructed based on the transport sequence table and the paper feed speed of the portable printer.

[0026] Optionally, in the paper feeding mode, collecting multiple position detection points of a paper, and defining the offset of the paper during the feeding process according to the multiple position detection points, includes:

[0027] In this paper feeding mode, the portable printer dynamically detects the feeding of paper;

[0028] Collect pictures of paper at various position nodes, and build paper offset animation based on the pictures at various position nodes;

[0029] Define multiple position detection points of a paper based on the paper's offset animation and paper specifications;

[0030] Implement paper offset detection based on multiple position detection points;

[0031] Constructing a paper offset model based on multiple position detection points;

[0032] The offset amount of the paper during the conveying process is defined based on the offset model of the paper, the conveying space of the paper and the conveying direction of the paper.

[0033] Optionally, the method of triggering the dynamic regulation of the paper based on the offset to calibrate the centering state of the paper includes:

[0034] Freeze offset;

[0035] defining an offset level based on the offset amount and model information of the portable printer;

[0036] Match the paper centering logic according to the offset level and the paper feeding space;

[0037] The centering state of the paper is calibrated according to the centering logic of the paper. At this time, in the centering logic of the paper, the sub-offsets of multiple sub-directions are divided according to the offsets, and the calibration amounts of multiple sub-directions are matched based on the sub-offsets of the multiple sub-directions. The conveying speeds of each conveyor belt in the portable printer are regulated according to the calibration amounts of the multiple sub-directions, and the centering state of the paper during dynamic conveyance is adjusted based on the conveying speed difference between the conveying speeds of each conveyor belt.

[0038] Optionally, dynamically adjusting the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper includes:

[0039] Collect the thickness of paper and detect the hardness of paper simultaneously;

[0040] The thickness of the fixed paper, the hardness of the paper and the specifications of the paper;

[0041] Construct multiple paper combinations based on paper thickness, paper hardness, and paper specifications;

[0042] Simultaneously match multiple paper combinations and define the matching coefficients of each paper combination.

[0043] Optionally, the method of dynamically adjusting the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper further includes:

[0044] A paper conveying information table is defined based on a matching coefficient, a thickness of the paper, and a hardness of the paper;

[0045] Outputting corresponding paper conveying parameters and pressure parameters according to the traversal of the paper conveying information table;

[0046] Collect the required conveying speed of the paper;

[0047] The paper conveying parameters and pressure parameters are regulated according to the conveying speed required by the paper, and a dynamic balance relationship between the paper conveying parameters and the pressure parameters is maintained.

[0048] Optionally, when the portable printer prints on paper, collecting printing effect parameters of the paper, and adjusting the printing effect corresponding to the words printed on the next paper according to the printing effect parameters, includes:

[0049] When the portable printer prints on the paper, the words printed on the paper are collected;

[0050] Traverse the words printed on the paper and mark the abnormal parts of the words;

[0051] Define printing effect parameters based on the abnormal part of the characters and the corresponding positions;

[0052] The printing effect parameter is compared with a preset printing effect parameter threshold value, and the preset printing effect parameter threshold value is dynamically adjusted according to the service life of the portable printer and the model information of the portable printer.

[0053] Optionally, when the portable printer prints on a paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is adjusted according to the printing effect parameters, and further includes:

[0054] If the printing effect parameter is lower than the preset printing effect parameter threshold, then defining the difference between the printing effect parameter and the preset printing effect parameter threshold;

[0055] Collecting the printing control parameters of the portable printer in the current state, and associating the difference amount with the printing control parameters of the portable printer in the current state;

[0056] An optimization logic for matching the next paper according to the difference amount and the printing control parameters of the portable printer in the current state;

[0057] The optimization logic based on the next paper triggers the adjustment of the printing parameters of the next paper by the portable printer, so that the printing effect corresponding to the words printed on the next paper is dynamically adjusted.

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

[0059] The paper bin module is used for collecting the distribution information of multiple paper bins provided in the portable printer; the multiple paper bins correspond to papers of different specifications;

[0060] A paper feeding mode module, used for constructing a paper feeding mode of a portable printer according to distribution information of a plurality of paper bins and paper conveying information of the portable printer;

[0061] An offset module is used to collect multiple position detection points of a paper in the paper feeding mode, and define the offset of the paper during the feeding process according to the multiple position detection points;

[0062] A calibration module, used for triggering dynamic regulation of the paper based on the offset to calibrate the centering state of the paper;

[0063] A parameter module, used to dynamically adjust the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper;

[0064] The dynamic control module is used to collect the printing effect parameters of the paper when the portable printer prints on the paper, and to control the printing effect corresponding to the words printed on the next paper according to the printing effect parameters.

[0065] In an embodiment of the present invention, through the method in the embodiment of the present invention, a portable printer is provided with multiple paper bins, and distribution information of the multiple paper bins is collected; the multiple paper bins correspond to papers of different specifications; a paper feeding mode of the portable printer is constructed according to the distribution information of the multiple paper bins and the paper conveying information of the portable printer; in the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper in the conveying process is defined according to the multiple position detection points; dynamic regulation of the paper is triggered based on the offset to calibrate the centering state of the paper, thereby dynamically calibrating the offset of the paper, so as to ensure the centering state of the paper and realize the paper in the portable printer. Dynamic centering conveying is carried out under the drive of the printer. At the same time, the paper conveying parameters and pressure parameters of the portable printer are dynamically adjusted according to the thickness and hardness of the paper. When the portable printer prints on the paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is adjusted according to the printing effect parameters, so as to facilitate the management and control of the printing effects of two adjacent papers, so that the printing effect of the next paper can be timely adjusted based on the printing effect of the previous paper, and the printing effect of the next paper can be guaranteed, so as to achieve good printing effects of multiple papers under dynamic printing and avoid printing of each paper along the same printing parameters. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0067] Figure 1 is a flow chart of a paper control method of a portable printer in an embodiment of the present invention;

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

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

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

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

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

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

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

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

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

[0077] Method Embodiment

[0078] See also Figures 1 to 9 , a paper control method for a portable printer, applied to a paper control scenario of a portable printer; the paper control method for a portable printer comprises:

[0079] Step S11: The portable printer is provided with a plurality of paper bins, and distribution information of the plurality of paper bins is collected; the plurality of paper bins correspond to papers of different specifications;

[0080] Step S12: constructing a paper feeding mode of the portable printer according to the distribution information of the plurality of paper bins and the paper conveying information of the portable printer;

[0081] Step S13: In the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the feeding process is defined according to the multiple position detection points;

[0082] Step S14: triggering dynamic regulation of the paper based on the offset to calibrate the centering state of the paper;

[0083] Step S15: dynamically adjusting the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper;

[0084] Step S16: When the portable printer prints on a paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is adjusted according to the printing effect parameters.

[0085] In an embodiment of the present invention, through the method in the embodiment of the present invention, the portable printer is provided with multiple paper positions, and the distribution information of the multiple paper positions is collected; the multiple paper positions correspond to papers of different specifications; the paper feeding mode of the portable printer is constructed according to the distribution information of the multiple paper positions and the paper conveying information of the portable printer; in the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the conveying process is defined according to the multiple position detection points; the dynamic regulation of the paper is triggered based on the offset to calibrate the centering state of the paper, thereby dynamically calibrating the offset of the paper, so as to ensure the centering state of the paper and realize dynamic centering conveyance of the paper driven by the portable printer.

[0086] At the same time, the paper conveying parameters and pressure parameters of the portable printer are dynamically adjusted according to the thickness and hardness of the paper; when the portable printer prints on the paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is adjusted according to the printing effect parameters, so as to facilitate the management and control of the printing effects of two adjacent papers, so that the printing effect of the next paper can be timely adjusted based on the printing effect of the previous paper, and the printing effect of the next paper can be guaranteed, so as to achieve good printing effects of multiple papers under dynamic printing and avoid printing of each paper along the same printing parameters.

[0087] refer to Figure 2 In step S11, the portable printer is provided with a plurality of paper bins, and the distribution information of the plurality of paper bins is collected; the plurality of paper bins correspond to papers of different specifications;

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

[0089] S111: traversing the portable printers and defining the paper feeding direction of the portable printers;

[0090] S112: defining a plurality of paper feed ports based on a paper feed direction of the portable printer;

[0091] S113: determining a plurality of paper bins based on the tracing of the plurality of paper inlets, wherein the portable printer is provided with a plurality of paper bins;

[0092] S114: Collecting position information and direction information between multiple paper bins;

[0093] S115: defining distribution information of the plurality of paper bins according to the position information and direction information between the plurality of paper bins to complete the collection of the distribution information of the plurality of paper bins; at this time, the plurality of paper bins correspond to papers of different specifications.

[0094] In an embodiment of the present application, the portable printer is traversed and the paper feed direction of the portable printer is defined, so as to introduce the paper feed direction of the portable printer, thereby controlling along the paper feed direction of the portable printer, and then defining multiple paper feed ports based on the paper feed direction of the portable printer, thereby clarifying multiple paper feed ports and paper feed directions, so as to facilitate construction of a paper feed trajectory. At the same time, multiple paper positions are determined based on the tracing of multiple paper feed ports. At this time, the portable printer is provided with multiple paper positions, and the multiple paper positions correspond to papers of different specifications. Optionally, the different specifications of papers are A3 paper, A4 paper and papers of specific sizes, which are not limited here.

[0095] Furthermore, the position information and direction information between the multiple paper bins are collected, so as to introduce the position information and direction information between the multiple paper bins, and perform overall management and control on the position information and direction information between the multiple paper bins, so as to define the distribution information of the multiple paper bins according to the position information and direction information between the multiple paper bins, thereby presenting the distribution status of the multiple paper bins through the distribution information of the multiple paper bins.

[0096] At this time, the distribution information of multiple paper bins is defined according to the position information and direction information between the multiple paper bins to complete the collection of the distribution information of the multiple paper bins, and then the distribution information of the multiple paper bins is frozen to facilitate subsequent management and control based on the distribution information of the multiple paper bins.

[0097] refer to Figure 3 , in step S12, constructing a paper feeding mode of the portable printer according to the distribution information of the plurality of paper bins and the paper conveying information of the portable printer;

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

[0099] S121: freeze the distribution information of multiple paper bins;

[0100] S122: Matching corresponding paper specification information based on distribution information of multiple paper bins;

[0101] S123: real-time monitoring of the portable printer and collection of paper conveying information;

[0102] S124: defining the paper conveying specifications and the conveying order of each specification according to the analysis of the paper conveying information;

[0103] S125: associating paper delivery specifications, delivery order of specifications, and paper specification information;

[0104] S126: constructing a paper conveying sequence table according to the paper conveying specifications, the conveying order of the specifications, and the paper specification information;

[0105] S127: Constructing a paper feeding mode of the portable printer based on the conveying sequence table and the paper feeding speed of the portable printer.

[0106] In an embodiment of the present application, the distribution information of multiple paper bins is frozen to facilitate information processing on the distribution information of the multiple paper bins. At the same time, the corresponding paper specification information is matched based on the distribution information of the multiple paper bins to facilitate clarifying the paper specifications corresponding to each paper bin, thereby controlling the paper specifications stored in the multiple paper bins and the paper feed specifications.

[0107] At this time, the portable printer is monitored in real time, and paper conveying information is collected and processed to clarify the paper specifications required by the portable printer at the current time. The paper conveying specifications and the conveying order of each specification are defined according to the analysis of the paper conveying information, thereby ensuring the control of the paper conveying specifications and the conveying order of each specification.

[0108] Furthermore, the paper conveying specifications, the conveying order of specifications and the paper specification information are associated to facilitate the integration of the paper conveying specifications, the conveying order of specifications and the paper specification information, thereby performing overall control on the paper conveying specifications, the conveying order of specifications and the paper specification information.

[0109] Therefore, a paper conveying sequence list is constructed according to the paper conveying specifications, the conveying order of the specifications and the paper specification information, so as to facilitate the management and control of the paper conveying sequence list, and then the paper conveying sequence list is parsed, so as to facilitate the construction of the paper feeding mode of the portable printer based on the conveying sequence list and the paper feeding speed of the portable printer.

[0110] The paper feed speed of a portable printer is introduced for the transport sequence list, so that the speed of each transport process in the transport sequence list is controlled according to the paper feed speed of the portable printer, and then the paper specifications and the transport speed of the paper in each transport process are clarified, so as to arrange multiple papers in an orderly manner according to the order of the transport sequence list.

[0111] refer to Figure 4 In step S13, in the paper feeding mode, a plurality of position detection points of a paper are collected, and the offset of the paper during the feeding process is defined according to the plurality of position detection points;

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

[0113] S131: In the paper feeding mode, the portable printer dynamically detects the feeding of paper;

[0114] S132: collecting pictures of the paper at each position node, and constructing a paper offset animation according to the pictures of each position node;

[0115] S133: defining a plurality of position detection points of a paper based on the offset animation of the paper and the paper specification;

[0116] S134: Implementing offset detection of the paper according to multiple position detection points;

[0117] S135: constructing a paper offset model based on multiple position detection points;

[0118] S136: defining the offset of the paper during the conveying process based on the offset model of the paper, the conveying space of the paper, and the conveying direction of the paper.

[0119] In an embodiment of the present application, in the paper feeding mode, the portable printer dynamically detects the conveyance of paper to control the conveyance process of the paper, thereby dynamically detecting the paper and controlling the deviation of the paper during the conveyance process.

[0120] At this time, pictures of the paper at each position node are collected, and an offset animation of the paper is constructed based on the pictures of each position node, so that the position change of the paper within a preset time period can be presented based on the offset animation of the paper, thereby locating the position detection point based on the offset animation of the paper.

[0121] Therefore, defining multiple position detection points of a paper based on the paper offset animation and paper specifications is compatible with the overall consideration of the paper offset animation and paper specifications, and the paper offset animation and paper specifications are controlled as a whole, thereby defining multiple position detection points of a paper, and then performing offset detection on the multiple position detection points.

[0122] Therefore, the offset detection of the paper is realized according to multiple position detection points, and the offset model of the paper is constructed based on the multiple position detection points, so as to introduce the offset model of the paper and control the offset model of the paper. At this time, the offset of the paper during the conveying process is defined based on the offset model of the paper, the conveying space of the paper and the conveying direction of the paper, thereby ensuring the accuracy of the offset of the paper during the conveying process.

[0123] refer to Figure 5 , S14: triggering dynamic regulation of the paper based on the offset to calibrate the centering state of the paper;

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

[0125] S141: freeze offset;

[0126] S142: defining an offset level based on the offset amount and the model information of the portable printer;

[0127] S143: matching the paper centering logic according to the offset level and the paper conveying space;

[0128] S144: Calibrate the centering state of the paper according to the centering logic of the paper. At this time, in the centering logic of the paper, the sub-offsets of multiple sub-directions are divided according to the offset, and the calibration amounts of multiple sub-directions are matched based on the sub-offsets of the multiple sub-directions. The conveying speeds of each conveyor belt in the portable printer are regulated according to the calibration amounts of the multiple sub-directions, and the centering state of the paper in dynamic conveyance is adjusted based on the conveying speed difference between the conveying speeds of each conveyor belt.

[0129] In an embodiment of the present application, the offset is fixed and controlled so as to define the offset level based on the offset and the model information of the portable printer, which is compatible with the consideration of the offset and the model information of the portable printer, and is controlled based on the offset and the printer type of the portable printer, thereby ensuring the adaptability of the offset level so as to be compatible with different printer types of portable printers.

[0130] At this time, the paper centering logic is matched according to the offset level and the paper conveying space, and the offset level and the paper conveying space are introduced. The offset level and the paper conveying space are controlled in an integrated manner, thereby ensuring processing in multiple dimensions, so as to ensure the matching accuracy of the paper centering logic.

[0131] Furthermore, the centering state of the paper is calibrated according to the centering logic of the paper. At this time, in the centering logic of the paper, the sub-offsets of multiple sub-directions are divided according to the offset, and the calibration amounts of multiple sub-directions are matched based on the sub-offsets of the multiple sub-directions. The conveying speeds of each conveyor belt in the portable printer are regulated according to the calibration amounts of the multiple sub-directions, and the centering state of the paper in dynamic conveyance is adjusted based on the conveying speed difference between the conveying speeds of each conveyor belt, thereby realizing the position calibration of the paper during the conveyance process according to the adjustment of the conveying speed of each conveyor belt, so as to adjust the paper from the offset state to the center state, and perform real-time calibration on the offset.

[0132] Therefore, the portable printer is provided with multiple paper positions, and distribution information of the multiple paper positions is collected; the multiple paper positions correspond to papers of different specifications; a paper feeding mode of the portable printer is constructed according to the distribution information of the multiple paper positions and the paper conveying information of the portable printer; in the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the conveying process is defined according to the multiple position detection points; dynamic regulation of the paper is triggered based on the offset to calibrate the centering state of the paper, thereby dynamically calibrating the offset of the paper, so as to ensure the centering state of the paper and realize dynamic centering conveyance of the paper driven by the portable printer.

[0133] refer to Figure 6 , S15: dynamically adjusting the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper;

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

[0135] S151: collecting the thickness of the paper and simultaneously detecting the hardness of the paper;

[0136] S152: Set the paper thickness, paper hardness and paper specifications;

[0137] S153: constructing a plurality of paper combinations based on the thickness of the paper, the hardness of the paper, and the specifications of the paper;

[0138] S154: synchronously matching multiple paper combinations and defining a matching coefficient for each paper combination;

[0139] S155: defining a paper conveyance information table based on the matching coefficient, the thickness of the paper, and the hardness of the paper;

[0140] S156: Outputting corresponding paper conveying parameters and pressure parameters according to the traversal of the paper conveying information table;

[0141] S157: Collect the conveying speed required for the paper;

[0142] S158: regulating the paper conveying parameters and the pressure parameters according to the paper conveying speed required, and maintaining a dynamic balance relationship between the paper conveying parameters and the pressure parameters.

[0143] In an embodiment of the present application, the thickness of the paper is collected and the hardness of the paper is detected simultaneously, so as to introduce the thickness of the paper, the hardness of the paper, and freeze the thickness of the paper, the hardness of the paper and the specifications of the paper. At this time, the thickness of the paper, the hardness of the paper and the specifications of the paper are controlled as a whole, and at the same time, multiple paper combinations are constructed based on the thickness of the paper, the hardness of the paper and the specifications of the paper.

[0144] Furthermore, multiple paper combinations are matched synchronously, and the matching coefficient of each paper combination is defined, so that the matching degree of each paper combination is presented according to the matching coefficient, so as to define a paper conveying information table based on the matching coefficient, paper thickness, and paper hardness, so as to perform subsequent management and control on the paper conveying information table.

[0145] In the paper conveying information table, the corresponding paper conveying parameters and pressure parameters are output according to the traversal of the paper conveying information table, so as to freeze the paper conveying parameters and pressure parameters, thereby performing overall control on the paper conveying parameters and pressure parameters. At the same time, the conveying speed required by the paper is collected, so as to adjust the paper conveying parameters and pressure parameters according to the required conveying speed of the paper, and maintain the dynamic balance relationship between the paper conveying parameters and pressure parameters, thereby achieving the dynamic balance of the paper during the conveying process and ensuring the conveying stability of the paper during the conveying process.

[0146] refer to Figure 7 , S16: when the portable printer prints on the paper, collecting the printing effect parameters of the paper, and adjusting the printing effect corresponding to the words printed on the next paper according to the printing effect parameters;

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

[0148] S161: When the portable printer prints on the paper, collect the words printed on the paper;

[0149] S162: traverse the words printed on the paper and mark abnormal parts of the words;

[0150] S163: defining printing effect parameters based on the abnormal part of the character and the corresponding position;

[0151] S164: comparing the printing effect parameter with a preset printing effect parameter threshold, where the preset printing effect parameter threshold is dynamically adjusted according to the service life of the portable printer and model information of the portable printer;

[0152] S165: If the printing effect parameter is lower than the preset printing effect parameter threshold, define a difference between the printing effect parameter and the preset printing effect parameter threshold;

[0153] S166: collecting the printing control parameters of the portable printer in the current state, and associating the difference amount with the printing control parameters of the portable printer in the current state;

[0154] S167: matching the optimization logic of the next paper according to the difference amount and the printing control parameters of the portable printer in the current state;

[0155] S168: Based on the optimization logic of the next paper, the portable printer is triggered to adjust the printing parameters of the next paper, so that the printing effect corresponding to the words printed on the next paper is dynamically adjusted.

[0156] In the specific implementation process of the present invention, the paper conveying parameters and pressure parameters of the portable printer are dynamically regulated according to the thickness and hardness of the paper; when the portable printer prints on the paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is regulated according to the printing effect parameters, so as to facilitate the management and control of the printing effects of two adjacent papers, so that the printing effect of the next paper can be timely regulated based on the printing effect of the previous paper, and the printing effect of the next paper can be guaranteed, so as to achieve good printing effects of multiple papers under dynamic printing, and avoid printing of each paper according to the same printing parameters.

[0157] At this time, when the portable printer prints on the paper, the words printed on the paper are collected so that the words printed on the paper can be traversed, and then abnormal detection can be performed on the words printed on the paper, so that the words can be detected while the paper is printing. Therefore, the words printed on the paper are traversed and the abnormal parts of the words are marked, thereby achieving the freezing of the abnormal parts of the words and ensuring the control of the abnormal parts of the words.

[0158] Furthermore, printing effect parameters are defined based on the abnormal part of the characters and the corresponding positions, and overall consideration of the abnormal part of the characters and the corresponding positions is introduced, so that the printing effect parameters are defined under the overall control of the abnormal part of the characters and the corresponding positions, ensuring that the printing effect parameters are defined in multiple dimensions and the accuracy of the printing effect parameters are guaranteed.

[0159] In addition, the printing effect parameter is compared with a preset printing effect parameter threshold, which is dynamically adjusted according to the service life of the portable printer and the model information of the portable printer, thereby ensuring the adaptability of the preset printing effect parameter threshold to different portable printers.

[0160] At this time, if the printing effect parameter is lower than the preset printing effect parameter threshold, the difference between the printing effect parameter and the preset printing effect parameter threshold is defined; the printing control parameters of the portable printer in the current state are collected, and the difference amount and the printing control parameters of the portable printer in the current state are associated, thereby realizing timely adjustment of the printing control parameters of the portable printer, ensuring the portable printer's control over the printing effect of the next paper, and realizing dynamic adjustment of the printing effect of the portable printer during dynamic printing, ensuring the overall printing effect of the paper.

[0161] Therefore, the optimization logic of the next paper is matched according to the difference amount and the printing control parameters of the portable printer in the current state; based on the optimization logic of the next paper, the portable printer is triggered to adjust the printing parameters of the next paper, so that the printing effect corresponding to the words printed on the next paper is dynamically adjusted.

[0162] The printing effect corresponding to the words printed on the next paper is regulated according to the printing effect parameters, so as to manage and control the printing effects of two adjacent papers, so that the printing effect of the next paper can be timely regulated based on the printing effect of the previous paper, and the printing effect of the next paper can be guaranteed, so as to achieve good printing effects of multiple papers under dynamic printing and avoid printing each paper according to the same printing parameters.

[0163] In an embodiment of the present invention, through the method in the embodiment of the present invention, the portable printer is provided with multiple paper positions, and the distribution information of the multiple paper positions is collected; the multiple paper positions correspond to papers of different specifications; the paper feeding mode of the portable printer is constructed according to the distribution information of the multiple paper positions and the paper conveying information of the portable printer; in the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the conveying process is defined according to the multiple position detection points; the dynamic regulation of the paper is triggered based on the offset to calibrate the centering state of the paper, thereby dynamically calibrating the offset of the paper, so as to ensure the centering state of the paper and realize dynamic centering conveyance of the paper driven by the portable printer.

[0164] Furthermore, the paper conveying parameters and pressure parameters of the portable printer are dynamically regulated according to the thickness and hardness of the paper; when the portable printer prints on the paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is regulated according to the printing effect parameters, so as to facilitate the management and control of the printing effects of two adjacent papers, so that the printing effect of the next paper can be timely regulated based on the printing effect of the previous paper, and the printing effect of the next paper can be guaranteed, so as to achieve good printing effects of multiple papers under dynamic printing and avoid printing each paper according to the same printing parameters.

[0165] System Example

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

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

[0168] The paper bin module 21 is used for collecting distribution information of the multiple paper bins provided in the portable printer; the multiple paper bins correspond to papers of different specifications;

[0169] A paper feeding mode module 22, used to construct a paper feeding mode of the portable printer according to the distribution information of the plurality of paper bins and the paper conveying information of the portable printer;

[0170] The offset module 23 is used to collect multiple position detection points of a paper in the paper feeding mode, and define the offset of the paper during the feeding process according to the multiple position detection points;

[0171] A calibration module 24, used to trigger dynamic regulation of the paper based on the offset to calibrate the centering state of the paper;

[0172] A parameter module 25, used to dynamically adjust the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper;

[0173] The dynamic control module 26 is used to collect the printing effect parameters of the paper when the portable printer prints on the paper, and to control the printing effect corresponding to the words printed on the next paper according to the printing effect parameters.

[0174] Device Embodiment

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

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

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

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

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

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

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

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

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

[0184] In addition, the paper control method and system of the portable printer provided by 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 method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A paper control method for a portable printer, characterized in that: Applied to paper control scenarios of portable printers; The paper control method of the portable printer comprises: The portable printer is provided with multiple paper bins, and the distribution information of the multiple paper bins is collected; the multiple paper bins correspond to papers of different specifications; the portable printer is traversed, and the paper feeding direction of the portable printer is defined; multiple paper feed ports are defined based on the paper feeding direction of the portable printer; multiple paper bins are determined based on the tracing of the multiple paper feed ports, at this time, the portable printer is provided with multiple paper bins; the position information and direction information between the multiple paper bins are collected; the distribution information of the multiple paper bins is defined according to the position information and direction information between the multiple paper bins, so as to complete the collection of the distribution information of the multiple paper bins; at this time, the multiple paper bins correspond to papers of different specifications; Constructing a paper feed mode of a portable printer according to distribution information of multiple paper bins and paper conveying information of a portable printer; freezing distribution information of multiple paper bins; matching corresponding paper specification information based on distribution information of multiple paper bins; monitoring the portable printer in real time and collecting paper conveying information; defining paper conveying specifications and conveying sequence of each specification according to analysis of paper conveying information; associating paper conveying specifications, conveying sequence of specifications and paper specification information; constructing a paper conveying sequence table according to paper conveying specifications, conveying sequence of specifications and paper specification information; constructing a paper feed mode of a portable printer based on the conveying sequence table and paper feed speed of the portable printer; In the paper feeding mode, multiple position detection points of a paper are collected, and the offset of the paper during the feeding process is defined according to the multiple position detection points; Triggering dynamic adjustment of the paper based on the offset to calibrate the centering state of the paper; Dynamically adjust the paper conveying parameters and pressure parameters of the portable printer according to the thickness and hardness of the paper; collect the thickness of the paper and simultaneously detect the hardness of the paper; freeze the thickness of the paper, the hardness of the paper and the specifications of the paper; construct multiple paper combinations based on the thickness of the paper, the hardness of the paper and the specifications of the paper; synchronously match the multiple paper combinations and define the matching coefficient of each paper combination; define a paper conveying information table based on the matching coefficient, the thickness of the paper and the hardness of the paper; output the corresponding paper conveying parameters and pressure parameters according to the traversal of the paper conveying information table; collect the conveying speed required by the paper; adjust the paper conveying parameters and pressure parameters according to the conveying speed required by the paper, and maintain a dynamic balance relationship between the paper conveying parameters and the pressure parameters; When the portable printer prints on paper, the printing effect parameters of the paper are collected, and the printing effect corresponding to the words printed on the next paper is adjusted according to the printing effect parameters; when the portable printer prints on paper, the words printed on the paper are collected; the words printed on the paper are traversed, and the abnormal parts of the words are marked; the printing effect parameters are defined based on the abnormal parts of the words and the corresponding positions; the printing effect parameters are compared with the preset printing effect parameter threshold, and the preset printing effect parameter threshold is dynamically adjusted according to the service life of the portable printer and the model information of the portable printer; if the printing effect parameter is lower than the preset printing effect parameter threshold, the difference between the printing effect parameter and the preset printing effect parameter threshold is defined; the printing control parameters of the portable printer in the current state are collected, and the difference amount and the printing control parameters of the portable printer in the current state are associated; the optimization logic of the next paper is matched according to the difference amount and the printing control parameters of the portable printer in the current state; based on the optimization logic of the next paper, the adjustment of the printing parameters of the portable printer on the next paper is triggered, so that the printing effect corresponding to the words printed on the next paper is dynamically adjusted.

2. The paper control method of a portable printer according to claim 1, characterized in that: In the paper feeding mode, a plurality of position detection points of a paper are collected, and the offset of the paper during the feeding process is defined according to the plurality of position detection points, including: In this paper feeding mode, the portable printer dynamically detects the feeding of paper; Collect pictures of paper at various position nodes, and build paper offset animation based on the pictures at various position nodes; Define multiple position detection points of a paper based on the paper's offset animation and paper specifications; Implement paper offset detection based on multiple position detection points; Constructing a paper offset model based on multiple position detection points; The offset amount of the paper during the conveying process is defined based on the offset model of the paper, the conveying space of the paper and the conveying direction of the paper.

3. The paper control method of the portable printer according to claim 2, characterized in that: The method of triggering the dynamic regulation of the paper based on the offset to calibrate the centering state of the paper includes: Freeze offset; defining an offset level based on the offset amount and model information of the portable printer; Match the paper centering logic according to the offset level and the paper feeding space; The centering state of the paper is calibrated according to the centering logic of the paper. At this time, in the centering logic of the paper, the sub-offsets of multiple sub-directions are divided according to the offsets, and the calibration amounts of multiple sub-directions are matched based on the sub-offsets of the multiple sub-directions. The conveying speeds of each conveyor belt in the portable printer are regulated according to the calibration amounts of the multiple sub-directions, and the centering state of the paper during dynamic conveyance is adjusted based on the conveying speed difference between the conveying speeds of each conveyor belt.

4. A paper control system for a portable printer, characterized in that: The paper control system of the portable printer is applied to the paper control method of the portable printer as claimed in any one of claims 1 to 3, and the paper control system of the portable printer includes: A paper bin module is used for a portable printer with multiple paper bins, collecting distribution information of multiple paper bins; multiple paper bins correspond to papers of different specifications; traversing the portable printer and defining the paper feed direction of the portable printer; defining multiple paper feed ports based on the paper feed direction of the portable printer; determining multiple paper bins based on the tracing of multiple paper feed ports, in which case the portable printer is provided with multiple paper bins; collecting position information and direction information between multiple paper bins; defining distribution information of multiple paper bins according to the position information and direction information between multiple paper bins, so as to complete the collection of distribution information of multiple paper bins; in which case multiple paper bins correspond to papers of different specifications; A paper feeding mode module is used to construct a paper feeding mode of a portable printer according to the distribution information of multiple paper bins and the paper conveying information of the portable printer; freeze the distribution information of multiple paper bins; match the corresponding paper specification information based on the distribution information of multiple paper bins; monitor the portable printer in real time and collect paper conveying information; define the paper conveying specifications and the conveying sequence of each specification according to the analysis of the paper conveying information; associate the paper conveying specifications, the conveying sequence of the specifications and the paper specification information; construct a paper conveying sequence table according to the paper conveying specifications, the conveying sequence of the specifications and the paper specification information; construct a paper feeding mode of the portable printer based on the conveying sequence table and the paper feeding speed of the portable printer; An offset module is used to collect multiple position detection points of a paper in the paper feeding mode, and define the offset of the paper during the feeding process according to the multiple position detection points; A calibration module, used for triggering dynamic regulation of the paper based on the offset to calibrate the centering state of the paper; A parameter module is used to dynamically adjust the paper conveying parameters and pressure parameters of a portable printer according to the thickness and hardness of the paper; collect the thickness of the paper and simultaneously detect the hardness of the paper; freeze the thickness of the paper, the hardness of the paper and the specifications of the paper; construct multiple paper combinations based on the thickness of the paper, the hardness of the paper and the specifications of the paper; synchronously match the multiple paper combinations and define the matching coefficient of each paper combination; define a paper conveying information table based on the matching coefficient, the thickness of the paper and the hardness of the paper; output the corresponding paper conveying parameters and pressure parameters according to the traversal of the paper conveying information table; collect the conveying speed required by the paper; adjust the paper conveying parameters and pressure parameters according to the conveying speed required by the paper, and maintain a dynamic balance relationship between the paper conveying parameters and the pressure parameters; A dynamic control module is used to collect printing effect parameters of a paper when a portable printer prints on the paper, and control the printing effect corresponding to the words printed on the next paper according to the printing effect parameters; collect the words printed on the paper when the portable printer prints on the paper; traverse the words printed on the paper and mark the abnormal parts of the words; define the printing effect parameters based on the abnormal parts of the words and the corresponding positions; compare the printing effect parameters with a preset printing effect parameter threshold, and the preset printing effect parameter threshold is dynamically adjusted according to the service life of the portable printer and the model information of the portable printer; if the printing effect parameter is lower than the preset printing effect parameter threshold, define the difference between the printing effect parameter and the preset printing effect parameter threshold; collect the printing control parameters of the portable printer in the current state, and associate the difference amount with the printing control parameters of the portable printer in the current state; match the optimization logic of the next paper according to the difference amount and the printing control parameters of the portable printer in the current state; trigger the control of the printing parameters of the next paper by the portable printer based on the optimization logic of the next paper, so that the printing effect corresponding to the words printed on the next paper is dynamically controlled.