Calling method for controlling ink-jet printer through Internet of Things

By controlling the inkjet printer through the Internet of Things, workers send inkjet instructions on their mobile phones and use connection pool technology to manage printing tasks. This solves the problems of complex manual operation and frequent errors in existing inkjet printing technology, and realizes an efficient and safe printing process.

CN120768898APending Publication Date: 2025-10-10CHENGDU DAKEWU BOUNDARY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511014874.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-23
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

Existing inkjet coding technology relies on manual operation, which makes it difficult to achieve the printing effect that meets the standards, and errors occur frequently. Workers need to be on duty specifically, resulting in a waste of manpower costs.

Method used

The inkjet printer is controlled through the Internet of Things. Workers send inkjet printing instructions to the cloud on their mobile phones, and the connection pool technology is used to manage the printing tasks. The cloud executor recognizes and sends the inkjet printing content to the inkjet printer terminal. The feedback results of the inkjet printer are monitored and recorded through the connection pool.

Benefits of technology

It improves the convenience and accuracy of coding operations, reduces manpower and cloud server resource costs, and ensures communication efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120768898A_ABST
    Figure CN120768898A_ABST
Patent Text Reader

Abstract

The invention discloses a calling method for controlling an ink-jet printer through the Internet of Things, and the method comprises the steps: S1, transmitting an ink-jet instruction to a cloud instruction controller, and assembling the transmitted content as a task; s2, determining a communication center; s3, the code spraying content instruction of the corresponding equipment factory is constructed into a producer module based on the communication center, the producer module is sent to a cloud executor, and the cloud executor identifies the sending type and assembles the sending content; s4, the cloud executor sends the content to a code spraying machine terminal of a corresponding manufacturer, and code spraying is started; s5, whether the connection pool created in the step S2 exists or not is searched again, and if not, the code spraying task is marked as abnormal; and S6, analyzing the feedback content of the ink-jet printer, continuously writing the feedback content into a queue based on the connection pool created in the step S2, and performing ink-jet printing of a detection record on the ink-jet printer. The mobile phone sends a request to the cloud, the sending content is assembled, complex code spraying instruction packaging is replaced based on the connection pool, meanwhile, data monitoring and recording are carried out in the jet printing process through the connection pool, the communication efficiency is ensured, and therefore the safety is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method for calling an Internet of Things-controlled inkjet printer. Background Art

[0002] Against the backdrop of the rapid development of industrial digitalization, existing sheet or paper inkjet printing and coding technologies mostly rely on manual control of inkjet printers to complete operations. Operators need to manually edit the coding content on the printer's interactive interface to determine the target printing information and then complete the printing process. This traditional operating mode not only requires extremely high professional skills from the operator, but can easily lead to errors if not handled with care. In addition, due to differences in the operating methods of inkjet printers from different manufacturers, workers need to learn and master them separately. At the same time, the starting and stopping of the coding operation is completely dependent on manual operation. This not only makes it difficult for the printing effect to meet the expected standards, but also frequently causes errors in the printing content. It is also difficult for workers to accurately control the start and stop timing of the inkjet printer. The factory also needs to arrange special personnel to be on duty, resulting in a large amount of wasted labor costs. Summary of the Invention

[0003] The purpose of the present invention is to overcome the shortcomings of the existing technology and provide a calling method for an Internet of Things controlled inkjet printer, aiming to significantly improve the convenience, accuracy and safety of inkjet printing operations, effectively manage printing tasks and reduce server performance overhead through connection pool technology, and effectively reduce the company's human cost investment and cloud server resource cost investment.

[0004] The purpose of the present invention is achieved through the following technical solutions: A method for calling an Internet of Things controlled inkjet printer, comprising the following steps:

[0005] S1: Workers send coding instructions to the cloud-based command controller via their mobile phones, and assemble the sent content as a task unit;

[0006] S2: Identify whether the task has the connection pool information corresponding to the current printing task. If not, create a new connection pool; if so, reuse the connection pool as the communication center with the printer;

[0007] S3: Based on the communication center, the coding content instructions of the corresponding equipment factory are constructed into a producer module and sent to the cloud executor. The cloud executor identifies the sending category and assembles the sending content;

[0008] S4: The cloud executor sends the content to the corresponding manufacturer's inkjet printer terminal to start inkjet printing;

[0009] S5: The printer terminal feeds back the printing results to the consumer module in the cloud executor through the connection pool, and checks again whether the connection pool created in step S2 exists. If not, the printer marks the printing task as abnormal.

[0010] S6: Analyze the feedback content of the inkjet printer, and continuously write to the queue based on the connection pool created in step S2 to detect and record the inkjet printer printing.

[0011] Preferably, step S2 further includes the following steps:

[0012] S21: Obtain the printing task ID corresponding to the basic printing instruction information through the interface;

[0013] S22: query the printing machine information and printing content type information in the printing content according to the printing basic instruction information, and check whether there is a connection pool corresponding to the printing task ID in combination with the printing task ID;

[0014] S23: If the corresponding connection pool exists, it is known that the current printing task is in a long connection state, and it is determined whether the current printing is started, paused, or ended. When the current printing instruction does not conflict with the previous state, the printing content is assembled based on the connection pool and the process goes to step S3;

[0015] S24: If the corresponding connection pool does not exist, it means that the current printing task ID is a new printing instruction task. At this time, a connection pool is registered and put into the pool, and the current printing task ID is used as the initialization information. Then, the printing content is assembled based on the connection pool and enter step S3.

[0016] Preferably, in step S4, the inkjet printer terminal reports the current printing status and printing information of the inkjet printer every 3 seconds.

[0017] The present invention has the following advantages: workers do not need to process the printing content. By sending a request to the cloud through a mobile phone and assembling the sending content, the complex inkjet coding instruction package is replaced based on the connection pool. At the same time, the connection pool is used to monitor and record data during the printing process to ensure communication efficiency, thereby ensuring security. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the calling method flow for controlling the inkjet printer by the Internet of Things;

[0019] Figure 2 Schematic diagram of the process of step S2. DETAILED DESCRIPTION

[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.

[0021] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but rather merely represents selected embodiments of the present invention. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without creative effort are also within the scope of protection of the present invention.

[0022] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other.

[0023] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.

[0024] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the inventive product is typically placed when in use, or are the orientations or positional relationships commonly understood by those skilled in the art. These terms are intended only to facilitate the description of the present invention and to simplify the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limiting the present invention. Furthermore, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0025] In the description of the present invention, it should also be noted that, unless otherwise expressly specified or limited, the terms "disposed," "installed," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0026] In this embodiment, if Figure 1 As shown, a method for calling an Internet of Things-controlled inkjet printer includes the following steps:

[0027] S1: Workers send coding instructions to the cloud-based command controller via their mobile phones, and assemble the sent content as a task unit;

[0028] S2: Identify whether the task has the connection pool information corresponding to the current printing task. If not, create a new connection pool; if so, reuse the connection pool as the communication center with the printer. Specifically, Figure 2As shown, step S2 further includes the following steps:

[0029] S21: Obtain the printing task ID corresponding to the basic printing instruction information through the interface;

[0030] S22: query the printing machine information and printing content type information in the printing content according to the printing basic instruction information, and check whether there is a connection pool corresponding to the printing task ID in combination with the printing task ID;

[0031] S23: If the corresponding connection pool exists, it is known that the current printing task is in a long connection state, and it is determined whether the current printing is started, paused, or ended. When the current printing instruction does not conflict with the previous state, the printing content is assembled based on the connection pool and the process goes to step S3;

[0032] S24: If the corresponding connection pool does not exist, it means that the current printing task ID is a new printing instruction task. At this time, a connection pool is registered and put into the pool, and the current printing task ID is used as the initialization information. Then, the printing content is assembled based on the connection pool and enter step S3.

[0033] S3: Based on the communication center, the coding content instructions of the corresponding equipment factory are constructed into a producer module and sent to the cloud executor. The cloud executor identifies the sending category and assembles the sending content;

[0034] S4: The cloud executor sends the content to the corresponding manufacturer's inkjet printer terminal to start inkjet printing; preferably, in step S4, the inkjet printer terminal reports the current printing status and printing information of the inkjet printer every 3 seconds.

[0035] S5: The printer terminal feeds back the printing results to the consumer module in the cloud executor through the connection pool, and checks again whether the connection pool created in step S2 exists. If not, the printer marks the printing task as abnormal.

[0036] S6: Analyze the printer's feedback and continuously write data to the queue based on the connection pool created in step S2, monitoring and recording the printer's printing. Workers do not need to process the printed content. Instead, they send a request to the cloud via their mobile phone and assemble the content. This connection pool replaces the complex packaging of printing instructions. The connection pool also monitors and records data during the printing process, ensuring communication efficiency and security.

[0037] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for calling an Internet of Things-controlled inkjet printer, characterized in that: The following steps are involved: S1: Workers send coding instructions to the cloud-based command controller via their mobile phones, and assemble the sent content as a task unit; S2: Identify whether the task has the connection pool information corresponding to the current printing task. If not, create a new connection pool; if so, reuse the connection pool as the communication center with the printer; S3: Based on the communication center, the coding content instructions of the corresponding equipment factory are constructed into a producer module and sent to the cloud executor. The cloud executor identifies the sending category and assembles the sending content; S4: The cloud executor sends the content to the corresponding manufacturer's inkjet printer terminal to start inkjet printing; S5: The printer terminal feeds back the printing results to the consumer module in the cloud executor through the connection pool, and checks again whether the connection pool created in step S2 exists. If not, the printer marks the printing task as abnormal. S6: Analyze the feedback content of the inkjet printer, and continuously write to the queue based on the connection pool created in step S2 to detect and record the inkjet printer printing.

2. The method for calling an Internet of Things controlled inkjet printer according to claim 1, characterized in that: The step S2 further includes the following steps: S21: Obtain the printing task ID corresponding to the basic printing instruction information through the interface; S22: query the printing machine information and printing content type information in the printing content according to the printing basic instruction information, and check whether there is a connection pool corresponding to the printing task ID in combination with the printing task ID; S23: If the corresponding connection pool exists, it is known that the current printing task is in a long connection state, and it is determined whether the current printing is started, paused, or ended. When the current printing instruction does not conflict with the previous state, the printing content is assembled based on the connection pool and the process goes to step S3; S24: If the corresponding connection pool does not exist, it means that the current printing task ID is a new printing instruction task. At this time, a connection pool is registered and put into the pool, and the current printing task ID is used as the initialization information. Then, the printing content is assembled based on the connection pool and enter step S3.

3. The method for calling an Internet of Things controlled inkjet printer according to claim 1, characterized in that: In step S4, the inkjet printer terminal reports the current printing status and printing information of the inkjet printer every 3 seconds.