Handheld printing, writing and drawing device, control method and related equipment

Through the combination of infrared touch rectangular frame and position rod, the problem of inaccurate positioning of existing printers is solved, high-precision, low-cost large-format painting positioning is achieved, and the operation process is simplified.

CN120396527APending Publication Date: 2025-08-01昭通学院
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510799302.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

Existing inkjet printing or writing and painting printers have shortcomings in positioning accuracy and operational complexity, especially when handheld printers require third-party positioning devices and are inaccurate in positioning.

Method used

The combination of infrared touch rectangular frame and position rod is used to determine the position coordinates of the painting mechanism through infrared transmitting and receiving mechanisms, cancel the traditional motor driving and roller positioning, and use infrared touch rectangular frame and multiple position rods to determine the x and y-axis coordinates of the painting end.

Benefits of technology

It realizes high-precision and simple painting positioning, which is suitable for large-format painting, reduces equipment costs, simplifies positioning operations, and improves painting efficiency and positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120396527A_ABST
    Figure CN120396527A_ABST
Patent Text Reader

Abstract

The invention discloses a handheld printing, writing and drawing device, a control method and related equipment, and relates to the field of handheld printing devices.The handheld printing, writing and drawing device is provided with an infrared touch rectangular frame, during drawing operation, infrared rays exist in an area in the frame, x-axis coordinates and y-axis coordinates of a position rod are obtained by means of shielding of the position rod in the infrared touch rectangular frame on the infrared rays, and then the position rod in the infrared touch rectangular frame is located in the frame; due to the fact that the position rod is fixedly connected with the clamping mechanism of the drawing mechanism through the connecting rod, the position relation of the position rod, the connecting rod and the drawing mechanism is fixed, after the x-axis coordinate and the y-axis coordinate of the position rod are determined, the position coordinate of the drawing end of the drawing mechanism can be further determined, and therefore spraying operation can be carried out on the target drawing point. A third-party positioning device is not needed, the positioning operation of the drawing end of the drawing mechanism is simple, and the positioning accuracy is high. In addition, the size of the infrared touch rectangular frame can be set according to requirements, and the infrared touch screen can be suitable for large-format drawing occasions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of handheld printing devices, and in particular, to a handheld printing, writing, and painting device, a control method, and related equipment. Background Art

[0002] Existing inkjet printers for printing, writing, or painting can be divided into two categories. One category is printers that use motors to drive the printing device. Such printers use precision motors to drive the print head to move in the x and y directions, and draw the print nozzle or writing pen onto the medium. The other category is handheld printers. The x-direction movement of the printer device is manually controlled. After obtaining the x-direction coordinate using a roller, the print nozzle is controlled to perform printing. However, to obtain the y-direction movement for printing, a third-party positioning device such as a positioning ruler must be used, which has inaccurate positioning and complex positioning operations. Summary of the Invention

[0003] The purpose of the present application is to provide a handheld printing, writing, and painting device, a control method, and related equipment, which can improve the painting positioning accuracy and positioning efficiency.

[0004] To achieve the above purpose, the present application provides the following solutions:

[0005] In a first aspect, the present application provides a handheld printing, writing, and painting device, including: an infrared touch rectangular frame, at least two position rods, a clamping mechanism, and a control module;

[0006] Infrared emission mechanisms are installed on the inner sides of the first and second sides of the infrared touch rectangular frame; infrared reception mechanisms are installed on the inner sides of the opposite sides of the first and second sides of the infrared touch rectangular frame;

[0007] The position rods are connected to the clamping mechanism through connecting rods; the clamping mechanism is used to clamp the painting mechanism;

[0008] The control module is communicatively connected to the infrared emission mechanism and the infrared reception mechanism, and is configured to, when a user holds the painting mechanism for painting, determine the position coordinates of each position rod within the infrared touch rectangular frame according to the infrared information received by the infrared reception mechanism, and determine the position coordinates of the painting end of the painting mechanism according to the position coordinates of each position rod within the infrared touch rectangular frame;

[0009] When the user holds the painting mechanism for painting, a painting paper is placed below the infrared touch rectangular frame, each position rod is perpendicular to the painting paper and passes through the internal area of the infrared touch rectangular frame, and the infrared reception mechanism receives the infrared information and transmits it to the control module.

[0010] In a second aspect, the present application provides a handheld printing, writing, and painting control method implemented based on the above handheld printing, writing, and painting device, including:

[0011] Obtain the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangular frame;

[0012] Obtain the infrared ray information received by each infrared ray receiving mechanism within the infrared touch rectangular frame;

[0013] Calculate the position coordinates of each position rod within the infrared touch rectangular frame according to the infrared ray information received by the infrared ray receiving mechanism;

[0014] Determine the position coordinates of the painting end of the painting mechanism according to the position coordinates of each position rod within the infrared touch rectangular frame;

[0015] Judge whether the position coordinates of the painting end of the painting mechanism are the coordinates of the target drawing point; the coordinates of the target drawing point refer to the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangular frame;

[0016] If so, control the execution component in the painting mechanism to spray paint.

[0017] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the above-mentioned handheld printing, writing, and painting control method.

[0018] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned handheld printing, writing, and painting control method is implemented.

[0019] In a fifth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the above-mentioned handheld printing, writing, and painting control method is implemented.

[0020] According to the specific embodiments provided by the present application, the following technical effects are disclosed in the present application:

[0021] The present application provides a handheld printing, writing and painting device, a control method and related equipment. An infrared touch rectangular frame is set. During the painting operation, there are infrared rays in the area within the frame. The x and y axis coordinates of the position rod are obtained by using the occlusion of the infrared rays by the position rod within the infrared touch rectangular frame. Since the position rod and the clamping mechanism of the painting mechanism are fixedly connected through a connecting rod, the positional relationship among the position rod, the connecting rod and the painting mechanism is fixed. After the x and y axis coordinates of the position rod are determined, the position coordinates of the painting end of the painting mechanism can be further determined, so as to realize the spraying operation at the target drawing point. In the present application, the motors for controlling the x and y strokes in the traditional motor-driven printing device are cancelled, and the x-stroke roller of the traditional handheld printer is cancelled. The x and y coordinates of the position rod are completely obtained by using the occlusion of the infrared touch frame by the position rod, and then the position coordinates of the painting end of the painting mechanism are determined. When the painting mechanism is driven by hand through the position coordinates that need to be printed or written, the execution component of the painting mechanism will perform the spraying operation. The present application does not need to rely on a third-party positioning device, and the positioning operation of the painting end of the painting mechanism is simple and has high positioning accuracy. Moreover, the size of the infrared touch rectangular frame can be set according to requirements, which is applicable to the occasion of large-format painting. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0023] Figure 1 Structural schematic diagram of a handheld printing, writing and painting device provided in Embodiment 1 of the present application;

[0024] Figure 2 Structural schematic diagram of the infrared touch rectangular frame provided in Embodiment 1 of the present application;

[0025] Figure 3 Schematic diagram of the positional relationship between the position rod and the painting end of the painting mechanism provided in Embodiment 1 of the present application;

[0026] Figure 4 Flow schematic diagram of the handheld printing, writing and painting control method provided in Embodiment 2 of the present application;

[0027] Figure 5 Schematic diagram of the contour to be drawn provided in Embodiment 2 of the present application;

[0028] Figure 6 Schematic diagram of the filling area to be filled provided in Embodiment 2 of the present application;

[0029] Figure 7A schematic structural diagram of a computer device provided in Embodiment 3 of the present application.

[0030] Reference numerals: 1 - infrared touch rectangular frame; 2 - infrared ray emitting mechanism; 3 - infrared ray receiving mechanism; 4 - first position rod; 5 - second position rod; 6 - first connecting rod; 7 - second connecting rod; 8 - clamping mechanism; 9 - painting mechanism; 10 - painting end. Detailed implementation manners

[0031] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0032] To make the above objects, features, and advantages of the present application more obvious and understandable, the present application will be further described in detail below with reference to the accompanying drawings and specific implementation manners.

[0033] Embodiment 1

[0034] This embodiment provides a handheld printing, writing, and painting device. Please refer to Figure 1 , the device includes: an infrared touch rectangular frame 1, at least two position rods, a clamping mechanism 8, and a control module ( Figure 1 not shown in the figure). The control module can adopt a single-chip microcomputer chip. The control module can be arranged on the infrared touch rectangular frame 1.

[0035] As shown in Figure 2 , infrared ray emitting mechanisms 2 are installed on the inner sides of the first side and the second side of the infrared touch rectangular frame 1; infrared ray receiving mechanisms 3 are installed on the inner sides of the opposite sides of the first side and the second side of the infrared touch rectangular frame 1. The first side and the second side of the infrared touch rectangular frame 1 are adjacent sides.

[0036] The position rods are connected to the clamping mechanism 8 through connecting rods; the clamping mechanism 8 is used for clamping the painting mechanism 9. As shown in Figure 1 , as an example, two position rods are provided, denoted as the first position rod 4 and the second position rod 5. Similarly, two connecting rods are required, denoted as the first connecting rod 6 and the second connecting rod 7. In order to more accurately determine the coordinates of the painting end 10 of the painting mechanism 9 through the positions of the position rods, the position rods are selected to be rods with a thickness close to the infrared induction accuracy. In order to avoid the connecting rods affecting the infrared ray receiving situation, when the user holds the painting mechanism 9 for painting, the connecting rods should be far away from the infrared touch rectangular frame 1.

[0037] The control module is communicatively connected to the infrared emission mechanism 2 and the infrared reception mechanism 3, and is configured to, when a user holds the painting mechanism 9 for painting, determine the position coordinates of each position rod within the infrared touch rectangle 1 according to the infrared information received by the infrared reception mechanism 3, and determine the position coordinates of the painting end 10 of the painting mechanism 9 according to the position coordinates of each position rod within the infrared touch rectangle 1.

[0038] When the user holds the painting mechanism 9 for painting, a painting paper is placed below the infrared touch rectangle 1, and each of the position rods is perpendicular to the painting paper and penetrates through the internal area of the infrared touch rectangle 1. The infrared reception mechanism 3 receives the infrared information and transmits it to the control module.

[0039] This application uses the infrared touch rectangle 1 to determine the coordinates of the painting mechanism 9. Its schematic principle is as follows: The infrared emission mechanism 2 and the infrared reception mechanism 3 are installed on the inner sides of the infrared touch rectangle 1 in the x and y directions, as Figure 2 shown. When a position rod blocks the infrared ray, Figure 2 as shown in, the infrared ray emitted by the infrared emission mechanism 2 at the x4 position is blocked. Through the circuit detection of the infrared reception mechanism 3, it is found that the infrared reception mechanism 3 does not receive the infrared ray at the x4 position and the infrared reception mechanism 3 does not receive the infrared ray at the y4 position. Therefore, the coordinates of the position rod in Figure 2 can be determined as [x4, y4]. Since when the user holds the painting mechanism 9 and moves it for drawing, the clamping mechanism 8 drives the painting mechanism 9 to perform a rigid body movement together with the first position rod 4 and the second position rod 5, the position coordinates of the painting end 10 of the painting mechanism 9 can be determined accordingly, as Figure 3 shown. Figure 2 As shown in, in order to simplify the structure, an infrared emitter is respectively arranged on two adjacent sides of the infrared touch rectangle, and a plurality of reflection and transmission mirrors are sequentially arranged on the infrared light path. Alternatively, a plurality of infrared emitters are arranged at intervals on each of the two adjacent sides of the infrared touch rectangle.

[0040] When the user holds the painting mechanism 9 and places it within the infrared touch rectangle 1, as Figure 3 shown, the hand blocks many points of the infrared ray and is continuously in a planar shape. However, the first position rod 4 and the second position rod 5 are located at the upper left front position of the user's hand and are relatively independent. The size of the position rod is only slightly larger than the resolution of the infrared touch rectangle 1, as Figure 3 shown. There are only two independent blocked points. By finding the two independent blocked points in the x and y directions, the coordinates of the first position rod 4 and the coordinates of the second position rod 5 are determined. Then, the vector calculation method is used to determine the coordinates of the painting end 10 of the current painting mechanism 9, and the rotation angle of the coordinate connection line between the first position rod 4 and the second position rod 5 can be calculated, so as to determine the coordinates of the painting end 10 of the painting mechanism 9 and the rotation state of the painting mechanism 9.

[0041] Assume that the coordinates of the painting end 10 are (x, y), the coordinates of the first position rod 4 are (x1, y1), the coordinates of the second position rod 5 are (x2, y2), and the distances from the painting end 10 to the two position rods are a and b respectively. According to the two-point distance formula in plane geometry, the following system of equations can be established:

[0042] (x - x1) 2 +(y - y1) 2 = a;

[0043] (x - x2) 2 +(y - y2) 2 = b;

[0044] Among them, a and b are constants when designing and manufacturing the handheld printing, writing, and painting device. Therefore, vector calculation methods can be used to solve the coordinates of the painting end 10 and determine the rotation angle of the handheld painting mechanism 9.

[0045] Since the user only holds the painting mechanism 9 for moving operations and does not perform painting actions, when the painting end 10 of the painting mechanism 9 is at the target painting point, the execution component in the painting mechanism 9 performs the spraying operation. For example, when the painting mechanism 9 is a printing component, the printing nozzle is controlled to spray ink. If the painting mechanism 9 is a painting pen, the up-and-down pen control mechanism on the clamping mechanism 8 can be used to control the painting pen to contact or not contact the paper. The painting and spraying operations can be controlled by the control module. As an alternative implementation, the control module is also communicatively connected to the painting mechanism 9 and is used to control the execution component in the painting mechanism 9 to spray paint when the position coordinates of the painting end 10 of the painting mechanism 9 are the target painting point coordinates.

[0046] As an alternative implementation, the control module is also used to obtain the target drawing pattern, convert the target drawing pattern into an image that matches the resolution of the internal area of the infrared touch frame, and extract the coordinates of all target painting points in the converted image. First, the control module saves the coordinates of all target painting points. Subsequently, during the painting process, when it is detected that the position of the painting end 10 of the painting mechanism 9 is at the target painting point, the spraying operation can be directly executed. The user can communicate with the control module (such as via Bluetooth connection) through a computer or mobile phone to send the target drawing pattern to the control module.

[0047] As an alternative implementation, when the user holds the painting mechanism 9 for painting, the infrared region blocked by the position rod is located diagonally above the infrared region blocked by the painting mechanism 9, so that the two position rods can independently block the infrared rays, thereby obtaining the correct coordinate positions and avoiding the situation where the position coordinate determination of the position rod is affected when the user's hand blocks the infrared region when holding the painting mechanism 9.

[0048] Existing inkjet printers or writing and painting printers can be divided into two categories. One category is printers driven by motors and handheld printers. Printers driven by motors are restricted by mechanical design, so there are limitations in terms of the printing medium method and the printing volume. For handheld printers, the x-stroke of the printer device is manually controlled, and after obtaining the x-stroke coordinates using a roller, the print head is controlled for printing. However, to obtain the y-axis stroke for printing, a third-party positioning device such as a positioning ruler must be used. Currently, many large-format handheld printers have been designed, but they are extremely costly, and the printing format is still limited. Moreover, using a third-party positioning device not only makes the positioning operation cumbersome but also has limited positioning accuracy. In this application, using the positioning principle of an infrared touch rectangle frame, the infrared touch rectangle frame 1 is inexpensive, and infrared touch rectangle frames 1 of various sizes from small to large can be flexibly set. Additionally, this application uses multiple position rods to obtain the coordinates of the painting end 10 of the painting mechanism 9 from the infrared touch rectangle frame 1, making the x and y strokes of the handheld printer very flexible, with a simple device structure and low cost. Although the positioning accuracy of this application is restricted by the layout accuracy of the infrared rays within the infrared touch rectangle frame 1, for many application scenarios such as large-format painting, this positioning accuracy already meets the positioning requirements. Moreover, because the structure of the handheld printing, writing, and painting device in this application is simple and the installation is easy, it has the advantages of fast, simple, and low-cost drawing in the use of multiple media and multiple scenarios such as paper painting, wall painting, and blackboard newspapers.

[0049] Traditional handheld printers complete the printing tasks sequentially in the x and y strokes, while the handheld printing, writing, and painting device in this application does not require a control motion device in the x and y strokes. Instead, the hand completely replaces the x and y strokes of the traditional printer. Traditional handheld printers control the motion through a roller to obtain the x-stroke of the handheld printer, but the handheld printing, writing, and painting device can perform arbitrary position positioning and printing under the positioning of the infrared touch frame.

[0050] For the handheld printing, writing, and painting device in this application, the user observes with the eyes and drives the painting mechanism 9 with the hand to gradually complete the process of drawing and inkjet printing. By dragging the painting mechanism 9 back and forth in the unprinted area with the human eye, the blank areas can be filled in, or the already printed area can be dragged repeatedly to strengthen the printing and drawing effect in that area, thus completing a printed and drawn picture with a subjective style of hand drawing.

[0051] As an alternative embodiment, the handheld printing, writing, and painting device can also use the electromagnetic induction device of a graphics tablet to determine the coordinate position of the painting end 10. However, electromagnetic induction graphics tablets are extremely costly in large-format scenarios and cannot obtain the rotation state of the painting mechanism 9. The painting end 10 (such as the pen tip) must be installed at the circular part of the device, which is rather restrictive. Therefore, the technical solution using the infrared touch rectangle 1 and the position rods has high cost performance, a large painting area, and strong feasibility.

[0052] Embodiment 2

[0053] This embodiment provides a method for controlling a handheld printing, writing, and painting device, which is implemented based on the handheld printing, writing, and painting device described in Embodiment 1, as Figure 4 shown. The method for controlling the handheld printing, writing, and painting device includes:

[0054] S1: Obtain the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangle 1.

[0055] S2: Obtain the infrared ray information received by each infrared ray receiving mechanism 3 within the infrared touch rectangle 1.

[0056] S3: Calculate the position coordinates of each position rod within the infrared touch rectangle 1 based on the infrared ray information received by the infrared ray receiving mechanism 3.

[0057] S4: Determine the position coordinates of the painting end 10 of the painting mechanism 9 based on the position coordinates of each position rod within the infrared touch rectangle 1.

[0058] S5: Determine whether the position coordinates of the painting end 10 of the painting mechanism 9 are the target drawing point coordinates; the target drawing point coordinates refer to the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangle 1.

[0059] If so, execute step S6 to control the execution component within the painting mechanism 9 to spray paint.

[0060] If not, return to step S2 "Obtain the infrared ray information received by each infrared ray receiving mechanism 3 within the infrared touch rectangle 1".

[0061] Among them, in step S1, to obtain the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangle 1, it specifically includes:

[0062] (1) Obtain the target drawing pattern.

[0063] (2) Convert the target drawing pattern into an image that matches the resolution of the internal area of the infrared touch frame.

[0064] (3) Extract the coordinates of all target painting points in the converted image.

[0065] Based on the handheld printing, writing, and painting device described in Embodiment 1, taking the contour drawing mode and the filling mode as examples, the control process of handheld printing, writing, and painting is described as follows:

[0066] Contour drawing mode: When the control module obtains the contour map of a picture, the handheld printing, writing, and painting device starts to enter the contour drawing state at this time. When a color area is selected, the handheld printing, writing, and painting device enters the color filling state at this time. When the control module obtains the contour map of a picture, it first converts the contour map into a contour map that matches the resolution of the internal area of the infrared touch rectangle 1, or the host computer first converts the contour map into a contour map that matches the resolution of the internal area of the infrared touch rectangle 1, and then sends the converted contour map to the control module. What the control module obtains is a converted contour map.

[0067] The control module first converts the contour map into a contour map that matches the resolution of the internal area of the infrared touch rectangle 1. As Figure 5 shown in (a) and (b) below, the contour map is a smiling face. Assuming that the resolution of the internal area of the infrared touch rectangle 1 is 500×500, then the contour map is placed in this 500×500 rectangular array, and the positions where the contour part intersects with the 500×500 rectangular frame are the points to be drawn, that is, the target drawing points. As Figure 5 shown in the set of white point coordinates below is the contour drawing point. The control module saves the coordinate position information of the corresponding contour drawing points. The user moves the handheld painting mechanism 9, and the position of the position rod changes continuously, so that the coordinates of the painting end 10 of the painting mechanism 9 are continuously updated, and the painting end 10 can be driven to perform a spraying action at the corresponding coordinate position to draw the contour.

[0068] Filling mode: When it is determined in the control module to enter the filling mode, first determine Figure 6 the red area in the figure below as the current area to be filled. At this time, all the coordinates of the red area will be transmitted to the control module. When the handheld painting structure 9 passes through the positions of these coordinates to be filled, the control will drop the pen for drawing, or control the print head to inkjet print. Entering the color filling state, the user moves the handheld painting structure 9, and the position rod changes continuously accordingly, so that the coordinates of the painting mechanism 9 are continuously updated. The printing device can read whether the current coordinate position is the same as the position coordinates of the red area. If they are the same, it drives the print head to directly inkjet fill or controls the writing pen to put down the pen at the corresponding coordinate position to fill the color area. If the coordinates are not in these areas, the painting mechanism 9 will not move.

[0069] Embodiment 3

[0070] This embodiment provides a computer device, which can be a server or a terminal, and its internal structure diagram can be as shown in Figure 7As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the target drawing pattern, the coordinates of all target drawing points in the converted image, the coordinates of the drawing end position of the drawing mechanism, etc. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a handheld printing, writing, and painting control method in Embodiment 1.

[0071] Those skilled in the art can understand that Figure 7 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, it implements a handheld printing, writing, and painting control method in Embodiment 1.

[0072] Embodiment 4

[0073] This embodiment provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements a handheld printing, writing, and painting control method in Embodiment 1.

[0074] Embodiment 5

[0075] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, it implements a handheld printing, writing, and painting control method in Embodiment 1.

[0076] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0077] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0078] Specific examples are used in this article to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation on the present application.

Claims

1. A handheld printing, writing and painting device, characterized in that, The handheld printing, writing, and painting device includes: an infrared touch rectangular frame, at least two position rods, a clamping mechanism, and a control module; Infrared emission mechanisms are installed on the inner sides of the first and second sides of the infrared touch rectangular frame; infrared reception mechanisms are installed on the inner sides of the opposite sides of the first and second sides of the infrared touch rectangular frame; The position rods are connected to the clamping mechanism through connecting rods; the clamping mechanism is used to clamp the painting mechanism; The control module is communicatively connected to the infrared emission mechanism and the infrared reception mechanism, and is used to determine the position coordinates of each position rod within the infrared touch rectangular frame according to the infrared information received by the infrared reception mechanism when the user holds the painting mechanism to paint, and determine the painting end position coordinates of the painting mechanism according to the position coordinates of each position rod within the infrared touch rectangular frame; When the user holds the painting mechanism to paint, a painting paper is placed below the infrared touch rectangular frame, each of the position rods is perpendicular to the painting paper and passes through the internal area of the infrared touch rectangular frame, and the infrared reception mechanism receives the infrared information and transmits it to the control module.

2. The hand-held printing, writing and drawing device according to claim 1, wherein The control module is also communicatively connected to the painting mechanism, and is used to control the execution component within the painting mechanism to spray paint when the painting end position coordinates of the painting mechanism are the target painting point coordinates.

3. The handheld printing, writing and drawing device according to claim 1, wherein The control module is also used to obtain the target drawing pattern, convert the target drawing pattern into an image matching the resolution of the internal area of the infrared touch frame, and extract the coordinates of all target painting points in the converted image.

4. The handheld printing, writing and drawing device according to claim 1, characterized in that, When the user holds the painting mechanism to paint, the infrared area blocked by the position rod is obliquely above the infrared area blocked by the painting mechanism.

5. The handheld printing, writing and painting device according to claim 1, characterized in that, The painting mechanism includes a printing component and a pen component.

6. A handheld printing, writing and painting control method, characterized in that, The handheld printing, writing, and painting control method is implemented based on the handheld printing, writing, and painting device according to any one of claims 1 to 5, and the handheld printing, writing, and painting control method includes: Obtain the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangular frame; Obtain the infrared information received by each infrared reception mechanism within the infrared touch rectangular frame; Calculate the position coordinates of each position rod within the infrared touch rectangular frame according to the infrared information received by the infrared reception mechanism; Determine the painting end position coordinates of the painting mechanism according to the position coordinates of each position rod within the infrared touch rectangular frame; Judge whether the painting end position coordinates of the painting mechanism are the target painting point coordinates; the target painting point coordinates refer to the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangular frame; If so, control the execution component within the painting mechanism to spray paint.

7. The handheld printing, writing and drawing control method according to claim 6, wherein Obtaining the coordinates of each drawing point in the target drawing pattern within the infrared touch rectangular frame specifically includes: Obtain the target drawing pattern; Convert the target drawing pattern into an image matching the resolution of the internal area of the infrared touch frame; Extract the coordinates of all target painting points in the converted image.

8. A computer device, comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the handheld printing, writing, and painting control method according to any one of claims 6 - 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the handheld printing, writing, and drawing control method described in any one of claims 6-7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the handheld printing, writing, and drawing control method described in any one of claims 6-7.