Quilting pattern needle number jumping method and related equipment
By forming pattern patterns on pattern link lists and display screens in the quilting system, and combining with user click operations, quickly locate the problem points in the quilting pattern, solving the problem of inefficient positioning in the prior art and achieving more efficient quilting processing.
Patent Information
- Application Number
- CN202411991094.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-11
AI Technical Summary
Among the existing quilting processing technology, CNC processing is difficult, low efficiency, and prone to errors, and has poor flexibility, resulting in inefficient efficiency in quickly positioning the machine head to the problem point.
A pattern link is formed based on the actual position data of the pattern to be quilted and the quilting parameter data, and a pattern pattern is generated in the pixel layer of the display screen of the quilting system through linear mapping. The user clicks on the target position on the display screen to generate a position search box. Based on the mapping relationship between the search box and the pattern link list, the actual target position of the head movement and the number of target needles for quilting are obtained.
It realizes rapid and precise positioning of problem points in quilting patterns, improves quilting work efficiency, simplifies the operation process, and reduces the time for long pressing the empty incoming and empty back buttons.
Smart Images

Figure CN119593147A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of quilting processing, and in particular to a method for switching the number of needles of a quilting pattern and related equipment. Background Art
[0002] In the process of quilting patterns, it is inevitable to encounter problems such as broken threads and missing threads. Therefore, it is necessary to move the quilting head to the position where the pattern has problems for repairing. The position of quilting patterns is usually described by the number of needles. For example, if a pattern has 3000 needles and there is a missing thread problem when quilting to 1000 needles, and the problem is found and stopped at 1300 needles, the head needs to be repositioned to 1000 needles before continuing quilting. Therefore, quickly positioning the head to the problem point can greatly improve the efficiency of quilting work.
[0003] Traditional machine head moving method: press and hold the forward or backward button, the machine head moves forward or backward along the pattern track until the machine head moves to the problem point. Since the machine head also moves with it, this method is relatively slow; another method is to press and hold the forward or backward button, the machine head does not move, the pattern position recorded in the software moves forward or backward along the pattern track, and after the position is determined, the machine head moves directly to the problem point. Although this method searches for the problem point slightly faster than the previous method, it is not easy to accurately locate near the problem point.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The invention provides a method for switching the number of needles of a quilting pattern and related equipment, aiming to solve the technical problems of high difficulty, low efficiency, easy error and poor flexibility in existing CNC machining programming.
[0006] A first aspect of the present invention provides a method for switching the number of needles of a quilting pattern, comprising the steps of:
[0007] Forming a pattern link list based on actual position data of the pattern to be quilted and quilting parameter data;
[0008] storing the pattern chain list in a pattern layer of a quilting system;
[0009] Generating a pattern corresponding to the pattern list in a pixel layer of the quilting system display screen by linear mapping;
[0010] receiving a click of a user on a target location in the pixel layer, and generating a location search box;
[0011] Based on the position search box and the mapping relationship between the pattern and the pattern chain list, the actual target position of the machine head movement and the target number of quilting needles are obtained.
[0012] Optionally, in some embodiments of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list includes:
[0013] Mapping the position search box to the pattern layer;
[0014] Acquire a data node set in the pattern linked list contained in the position search box;
[0015] Acquire a first target data node closest to the center point of the position search box from the data node set;
[0016] The position data and needle number data bound to the first target data node are used as the actual target position of the machine head movement and the target needle number of quilting.
[0017] Optionally, in some implementations of the first aspect of the present invention, mapping the position search box to the pattern layer includes:
[0018] Based on the center point position of the position search box and the preset specifications of the position search box, calculate the first position coordinates, the second position coordinates, the third position coordinates and the fourth position coordinates of the four corners of the position search box in the pixel layer coordinate system;
[0019] The first position coordinate, the second position coordinate, the third position coordinate and the fourth position coordinate are respectively obtained by using a linear mapping relationship formula between the pattern layer and the pixel layer to obtain a fifth position coordinate, a sixth position coordinate, a seventh position coordinate and an eighth position coordinate corresponding to the first position coordinate, the second position coordinate, the third position coordinate and the fourth position coordinate in the pattern layer;
[0020] A closed figure of the fifth position coordinate, the sixth position coordinate, the seventh position coordinate and the eighth position coordinate is established in the pattern layer.
[0021] Optionally, in some implementations of the first aspect of the present invention, obtaining the data node set in the pattern linked list contained in the position search box includes:
[0022] Acquire the horizontal coordinate range and the vertical coordinate range of the closed figure in the coordinate system of the pattern layer;
[0023] Performing a preliminary screening of all data nodes in the pattern linked list based on the horizontal coordinate range to obtain a preliminary screened data node set;
[0024] The primary screening data node set is subjected to secondary screening based on the vertical coordinate range to obtain a refined screening data node set, and the refined screening data node set is used as the data node set in the pattern linked list contained in the position search box.
[0025] Optionally, in some implementations of the first aspect of the present invention, acquiring a first target data node closest to a center point of the location search box from the data node set includes:
[0026] Calculate the distance between each data node in the data node set and the center point of the position search frame to obtain the calculated distance between each data node in the data node set and the center point of the position search frame;
[0027] The minimum distance is obtained by screening the calculated distances between each of the data nodes and the center point of the position search box, and the data node corresponding to the minimum distance is used as the first target data node.
[0028] Optionally, in some embodiments of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list includes:
[0029] Obtaining a pixel point set included in the position search box in the pixel layer;
[0030] Acquire a target pixel point closest to the center point of the position search box from the pixel point set;
[0031] Mapping the target pixel point to the pattern layer to obtain a second target data node corresponding to the target pixel point in the pattern linked list;
[0032] The position data and needle number data bound to the second target data node are used as the actual target position of the machine head movement and the target needle number of quilting.
[0033] Optionally, in some implementations of the first aspect of the present invention, receiving a click of a user on a target location in the pixel layer and generating a location search box includes:
[0034] Receiving a double-click touch operation by a user on the display screen of the quilting system, or a double-click operation by a user in the pixel layer through a mouse;
[0035] Obtaining a target position corresponding to the double-click touch or the double-click operation in the pixel layer;
[0036] A location search box of preset specifications is generated with the target location as the center.
[0037] A second aspect of the present invention provides a quilting pattern needle number jump control system, comprising:
[0038] A linked list generation module, used for forming a pattern linked list based on actual position data of the pattern to be quilted and quilting parameter data;
[0039] A chain list storage module, used for storing the pattern chain list in the pattern layer of the quilting system;
[0040] A linked list mapping module, used for generating a pattern corresponding to the pattern linked list in a pixel layer of the quilting system display screen through linear mapping;
[0041] A click receiving module, used for receiving a user's click on a target position in the pixel layer, and generating a position search box;
[0042] The target position and needle number acquisition module is used to obtain the actual target position of the machine head movement and the target needle number of quilting based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list.
[0043] A third aspect of the present invention provides a quilting pattern needle number jump control device, the quilting pattern needle number jump control device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a line;
[0044] The at least one processor calls the instructions in the memory to enable the quilting pattern needle number jump control device to execute the quilting pattern needle number jump method as described in any one of the first aspects of the present invention.
[0045] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for jumping the number of needles of a quilting pattern as described in any one of the first aspect of the present invention is implemented.
[0046] Beneficial effects: The present invention discloses a method for jumping the number of stitches of a quilting pattern and related equipment. The method includes forming a pattern list based on the actual position data of the pattern to be quilted and the quilting parameter data; storing the pattern list in the pattern layer of the quilting system; generating a pattern pattern corresponding to the pattern list in the pixel layer of the display screen of the quilting system by linear mapping; receiving a user's click on the target position in the pixel layer, and generating a position search box; based on the position search box and the mapping relationship between the pattern pattern and the pattern list, obtaining the actual target position of the machine head movement and the target number of stitches for quilting. The method for jumping the number of stitches of a quilting pattern of the present invention can quickly locate the vicinity of the actual machine head processing problem point by simply clicking near the problem point of the pattern pattern on the display screen. The operation method is simpler, and the time of long pressing the empty forward and empty backward buttons is saved, which is more efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 The figure is a flow chart of an exemplary method for switching the number of needles of a quilting pattern according to the present invention.
[0048] Figure 2 The figure is a schematic diagram of the mapping relationship between a pattern layer and a pixel layer according to an exemplary embodiment of the present invention.
[0049] Figure 3 It is a schematic diagram of an actual software operation interface of a quilting system according to the present invention.
[0050] Figure 4 The figure is a schematic diagram of the module composition of an exemplary quilting pattern needle number jump control system of the present invention.
[0051] Figure 5 The figure is a schematic structural diagram of an exemplary quilting pattern needle number jump control device of the present invention. DETAILED DESCRIPTION
[0052] The embodiments disclosed in the present invention are described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0053] In the description of the embodiments disclosed in the present invention, if there are terms, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. can refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0054] In the process of quilting patterns, it is inevitable to encounter problems such as broken threads and missing threads. Therefore, it is necessary to move the quilting head to the position where the pattern has problems for repairing. The position of quilting patterns is usually described by the number of needles. For example, if a pattern has 3000 needles and there is a missing thread problem when quilting to 1000 needles, and the problem is found and stopped at 1300 needles, the head needs to be repositioned to 1000 needles before continuing quilting. Therefore, quickly positioning the head to the problem point can greatly improve the efficiency of quilting work.
[0055] For this purpose, see Figure 1 The first aspect of the present invention provides a method for switching the number of needles of a quilting pattern, comprising the steps of:
[0056] S100, forming a pattern linked list based on the actual position data of the pattern to be quilted and the quilting parameter data; in the present invention, before quilting is started, the system software will calculate the actual position of the quilting pattern according to the preconditions such as margins and limits and combine it with the quilting parameter data to form a pattern linked list, and each data node in the pattern linked list is the smallest information unit, which includes basic information such as position and number of stitches.
[0057] S200, storing the pattern list in the pattern layer of the quilting system; in the present invention, the pattern layer is used to store the actual processing data of the machine head (ie, the data of the pattern list), and the machine head will move according to the pattern list.
[0058] S300, generating a pattern corresponding to the pattern linked list in the pixel layer of the quilting system display screen by linear mapping; in the present invention, the pattern linked list maps the linked list data of the pattern layer to the pixel layer of the system display screen by linear mapping, so that the pattern pattern can be displayed on the screen. In the present invention, the mapping relationship between the pixel layer and the pattern layer can be as follows: Figure 2 shown.
[0059] S400, receiving a user's click on a target position in the pixel layer, and generating a position search box; when, for example, quilting needs to be repaired during the quilting process, the user only needs to click the screen near the problem point of the pattern path in the pixel layer (that is, the pixel layer, specifically, it can be double-clicked, the method can be through a mouse or directly using the touch function of the screen), and the system screen will form a square search box at the click position. The process can be specifically as follows Figure 3 That is, in some optional embodiments of the first aspect of the present invention, the receiving a user's click on a target position in the pixel layer and generating a position search box includes: receiving a user's double-click touch on the display screen of the quilting system, or a user's double-click operation in the pixel layer through a mouse; obtaining a target position corresponding to the double-click touch or the double-click operation in the pixel layer; and generating a position search box of preset specifications with the target position as the center.
[0060] S500, based on the mapping relationship between the position search box and the pattern pattern and the pattern linked list, obtain the actual target position of the machine head movement and the target number of quilting needles. In the present invention, there are two ways to obtain the actual target position of the machine head movement and the target number of quilting needles based on the position search box. The first is to find the target pixel point in the system screen pixel layer, and then map it to the pattern layer to find the target data node in the pattern linked list. The second is to map the position search box to the pattern layer, and then find the intersection of the position search box and the pattern linked list and filter to obtain the target data node.
[0061] Taking the second example, in some optional implementations of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting needles based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list includes:
[0062] S501, mapping the position search box to the pattern layer; in some optional implementations of the first aspect of the present invention, mapping the position search box to the pattern layer includes: calculating, based on the center point position of the position search box and preset specifications of the position search box, first position coordinates, second position coordinates, third position coordinates and fourth position coordinates of four corners of the position search box in the pixel layer coordinate system; using the linear mapping relationship formula between the pattern layer and the pixel layer to obtain the first position coordinates, the second position coordinates, the third position coordinates and the fourth position coordinates corresponding to the fifth position coordinates, the sixth position coordinates, the seventh position coordinates and the eighth position coordinates in the pattern layer; and establishing a closed figure of the fifth position coordinates, the sixth position coordinates, the seventh position coordinates and the eighth position coordinates in the pattern layer.
[0063] S502, obtaining a data node set in the pattern linked list contained in the position search box; in some optional implementations of the first aspect of the present invention, obtaining the data node set in the pattern linked list contained in the position search box includes: obtaining the horizontal coordinate range and the vertical coordinate range defined by the closed figure in the coordinate system of the pattern layer; performing a primary screening on all data nodes in the pattern linked list based on the horizontal coordinate range to obtain a primary screening data node set; performing a secondary screening on the primary screening data node set based on the vertical coordinate range to obtain a refined screening data node set, and using the refined screening data node set as the data node set in the pattern linked list contained in the position search box.
[0064] S503, obtaining the first target data node closest to the center point of the location search box from the data node set; in some optional implementations of the first aspect of the present invention, obtaining the first target data node closest to the center point of the location search box from the data node set includes: calculating the distance between each data node in the data node set and the center point of the location search box, and obtaining the calculated distance between each data node in the data node set and the center point of the location search box; filtering the minimum distance from the calculated distance set between each data node and the center point of the location search box, and using the data node corresponding to the minimum distance as the first target data node.
[0065] S504, based on the position data and needle number data bound to the first target data node as the actual target position of the machine head movement and the target number of quilting needles. In general, the overall process of steps S501 to S504 can be understood as: when quilting needs to be repaired during the quilting process, the user only needs to double-click the screen (pixel layer) near the problem point, and a square search box will be formed at the double-click position. The search box is then mapped to the pattern layer, and by comparing it with the linked list data, the linked list data nodes included in the search box are obtained. Compare the positions of these nodes to obtain the data node closest to the center of the search box, and at this point, the target number of needles and position to be jumped can be obtained.
[0066] Taking the first mode as an example, in other optional implementations of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting needles based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list includes:
[0067] S501', obtaining a pixel point set contained in the position search box in the pixel layer; in this step of the present invention, the intersection (ie, pixel point set) of the position search box and the pixel points of the pattern image is obtained in the pixel layer.
[0068] S502', obtaining the target pixel point closest to the center point of the position search box from the pixel point set; in this step, the method of calculating the distance can be the same as the second method, that is, calculating the distance between each pixel point in the pixel point set and the center point of the position search box, and then obtaining the pixel point with the smallest distance value to the center point of the position search box.
[0069] S503', mapping the target pixel point to the pattern layer, and obtaining the second target data node corresponding to the target pixel point in the pattern linked list; in the present invention, the pattern pattern and each point in the pattern linked list are one-to-one corresponding, and after obtaining the target pixel point, the second target data node is obtained according to the correspondence between the pattern pattern and each point in the pattern linked list.
[0070] S504', taking the position data and needle number data bound to the second target data node as the actual target position of the machine head and the target needle number of quilting. In the present invention, each data node in the pattern linked list contains at least two kinds of information: position and needle number.
[0071] In order to better understand the technical effects of the present invention, Figure 2For example, the machine head quilts a circular pattern counterclockwise. When quilting to point A, the thread breaks and the machine does not stop until it moves to point B. After the quilter has threaded the thread, the machine head needs to move from point B to point A. The traditional method requires moving along the circular pattern trajectory (i.e., the red path segment) until it reaches point A. However, the technology used in this article only requires double-clicking near point A to determine the position of point A and move directly to point A along a straight path (i.e., the dotted path segment). This article proposes a technology for quickly jumping the number of pattern needles. Based on the touch screen display of the quilting pattern, you only need to double-click near the problem point to quickly locate it near the problem point. The operation method is simpler, and it saves the time of long pressing the empty forward and empty backward buttons, which is more efficient.
[0072] See also Figure 4 The second aspect of the present invention provides a quilting pattern needle number jump control system, comprising:
[0073] A link list generating module 10, for forming a pattern link list based on actual position data of the pattern to be quilted and quilting parameter data;
[0074] A chain list storage module 20, used for storing the pattern chain list in the pattern layer of the quilting system;
[0075] A link list mapping module 30, used for generating a pattern corresponding to the pattern link list in a pixel layer of the quilting system display screen by linear mapping;
[0076] A click receiving module 40 is used to receive a user's click on a target position in the pixel layer and generate a position search box;
[0077] The target position and needle number acquisition module 50 is used to obtain the actual target position of the machine head movement and the target needle number of quilting based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list.
[0078] In some optional implementations of the second aspect of the present invention, the target position and needle number acquisition module includes:
[0079] A search box mapping unit, used for mapping the position search box to the pattern layer;
[0080] A node set acquisition unit, used for acquiring a data node set in the pattern linked list contained in the position search frame;
[0081] A first target node acquisition unit, configured to acquire a first target data node closest to a center point of the position search frame from the data node set;
[0082] The first position and needle number acquisition unit is used to use the position data and needle number data bound to the first target data node as the actual target position of the machine head movement and the target needle number of quilting.
[0083] In some optional implementations of the second aspect of the present invention, the search box mapping unit includes:
[0084] A corner coordinate acquisition subunit, configured to calculate, based on the center point position of the position search box and preset specifications of the position search box, first position coordinates, second position coordinates, third position coordinates and fourth position coordinates of four corners of the position search box in the pixel layer coordinate system;
[0085] a coordinate conversion subunit, configured to obtain fifth position coordinates, sixth position coordinates, seventh position coordinates and eighth position coordinates corresponding to the first position coordinates, the second position coordinates, the third position coordinates and the fourth position coordinates in the pattern layer respectively by using a linear mapping relationship formula between the pattern layer and the pixel layer;
[0086] The closed figure construction subunit is used to establish a closed figure of the fifth position coordinate, the sixth position coordinate, the seventh position coordinate and the eighth position coordinate in the pattern layer.
[0087] In some optional implementations of the second aspect of the present invention, the node set acquisition unit includes:
[0088] A horizontal and vertical coordinate range acquisition subunit, used to acquire the horizontal and vertical coordinate ranges defined by the closed figure in the coordinate system of the pattern layer;
[0089] A node set preliminary screening subunit, used for preliminary screening all data nodes in the pattern linked list based on the horizontal coordinate range to obtain a preliminary screening data node set;
[0090] The node set fine screening unit is used to perform a second screening on the primary screening data node set based on the vertical coordinate range to obtain a fine screening data node set, and use the fine screening data node set as the data node set in the pattern linked list contained in the position search box.
[0091] In some optional implementations of the second aspect of the present invention, the first target node acquisition unit includes:
[0092] A node set distance calculation subunit, used to calculate the distance between each data node in the data node set and the center point of the position search box, and obtain the calculated distance between each data node in the data node set and the center point of the position search box;
[0093] The first target data node acquisition subunit is used to filter out the minimum distance from the calculated distances between each data node and the center point of the position search box, and use the data node corresponding to the minimum distance as the first target data node.
[0094] In some other optional implementations of the second aspect of the present invention, the target position and needle number acquisition module includes:
[0095] A pixel point set acquisition unit, used for acquiring a pixel point set included in the position search box in the pixel layer;
[0096] A target pixel point acquisition unit, used to acquire a target pixel point closest to the center point of the position search box from the pixel point set;
[0097] A pixel mapping unit, used for mapping the target pixel to the pattern layer, and obtaining a second target data node corresponding to the target pixel in the pattern linked list;
[0098] The second position and needle number acquisition unit is used to use the position data and needle number data bound to the second target data node as the actual target position of the machine head movement and the target needle number of quilting.
[0099] In some optional implementations of the second aspect of the present invention, the click receiving module includes:
[0100] A double-click receiving unit, used to receive a double-click touch by a user on the display screen of the quilting system, or a double-click operation by a user in the pixel layer through a mouse;
[0101] A double-click position acquisition unit, used to acquire a target position corresponding to the double-click touch or the double-click operation in the pixel layer;
[0102] The search box generation unit is used to generate a position search box of preset specifications with the target position as the center.
[0103] Figure 5: This is a schematic diagram of the structure of a jump control device for the number of needles of a quilting pattern provided by an embodiment of the present invention. The jump control device 60 for the number of needles of a quilting pattern may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 70 (for example, one or more processors) and a memory 80, and one or more storage media 100 for storing application programs 90 or data (for example, one or more mass storage devices). Among them, the memory and the storage medium may be temporary storage or permanent storage. The program stored in the storage medium may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the jump control device for the number of needles of a quilting pattern. Furthermore, the processor may be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the jump control device for the number of needles of a quilting pattern.
[0104] The jump control device for the number of needles of a quilting pattern of the present invention may also include one or more power supplies 110, one or more wired or wireless network interfaces 120, one or more input and output interfaces 130, and / or one or more operating systems 140, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It can be understood by those skilled in the art that Figure 5 The illustrated structure of the jump control device for the number of quilting pattern needles does not constitute a limitation on the jump control device based on the number of quilting pattern needles, and may include more or less components than illustrated, or a combination of certain components, or a different arrangement of components.
[0105] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for jumping the number of needles of the quilting pattern.
[0106] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0107] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0108] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for switching the number of needles of a quilting pattern, characterized in that: Includes steps: Forming a pattern link list based on actual position data of the pattern to be quilted and quilting parameter data; storing the pattern chain list in a pattern layer of a quilting system; Generating a pattern corresponding to the pattern list in a pixel layer of the quilting system display screen by linear mapping; receiving a click of a user on a target location in the pixel layer, and generating a location search box; Based on the position search box and the mapping relationship between the pattern and the pattern chain list, the actual target position of the machine head movement and the target number of quilting needles are obtained.
2. The method for switching the number of needles of a quilting pattern according to claim 1, characterized in that: The obtaining of the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list comprises: Mapping the position search box to the pattern layer; Acquire a data node set in the pattern linked list contained in the position search box; Acquire a first target data node closest to the center point of the position search box from the data node set; The position data and needle number data bound to the first target data node are used as the actual target position of the machine head movement and the target needle number of quilting.
3. The method for switching the number of needles of a quilting pattern according to claim 2, characterized in that: Mapping the position search box to the pattern layer includes: Based on the center point position of the position search box and the preset specifications of the position search box, calculate the first position coordinates, the second position coordinates, the third position coordinates and the fourth position coordinates of the four corners of the position search box in the pixel layer coordinate system; The first position coordinate, the second position coordinate, the third position coordinate and the fourth position coordinate are respectively obtained by using a linear mapping relationship formula between the pattern layer and the pixel layer to obtain a fifth position coordinate, a sixth position coordinate, a seventh position coordinate and an eighth position coordinate corresponding to the first position coordinate, the second position coordinate, the third position coordinate and the fourth position coordinate in the pattern layer; A closed figure of the fifth position coordinate, the sixth position coordinate, the seventh position coordinate and the eighth position coordinate is established in the pattern layer.
4. The method for switching the number of needles of a quilting pattern according to claim 3, characterized in that: The step of obtaining the data node set in the pattern linked list contained in the position search box comprises: Acquire the horizontal coordinate range and the vertical coordinate range of the closed figure in the coordinate system of the pattern layer; Performing a preliminary screening of all data nodes in the pattern linked list based on the horizontal coordinate range to obtain a preliminary screened data node set; The primary screening data node set is subjected to secondary screening based on the vertical coordinate range to obtain a refined screening data node set, and the refined screening data node set is used as the data node set in the pattern linked list contained in the position search box.
5. The method for switching the number of needles of a quilting pattern according to claim 4, characterized in that: The acquiring, from the data node set, a first target data node closest to the center point of the position search box comprises: Calculate the distance between each data node in the data node set and the center point of the position search frame to obtain the calculated distance between each data node in the data node set and the center point of the position search frame; The minimum distance is obtained by screening the calculated distances between each of the data nodes and the center point of the position search box, and the data node corresponding to the minimum distance is used as the first target data node.
6. The method for switching the number of needles of a quilting pattern according to claim 1, characterized in that: The obtaining of the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list comprises: Obtaining a pixel point set included in the position search box in the pixel layer; Acquire a target pixel point closest to the center point of the position search box from the pixel point set; Mapping the target pixel point to the pattern layer to obtain a second target data node corresponding to the target pixel point in the pattern linked list; The position data and needle number data bound to the second target data node are used as the actual target position of the machine head movement and the target needle number of quilting.
7. The method for switching the number of needles of a quilting pattern according to claim 2 or 6, characterized in that: The receiving a click of a user on a target location in the pixel layer and generating a location search box comprises: Receiving a double-click touch operation by a user on the display screen of the quilting system, or a double-click operation by a user in the pixel layer through a mouse; Obtaining a target position corresponding to the double-click touch or the double-click operation in the pixel layer; A location search box of preset specifications is generated with the target location as the center.
8. A jump control system for the number of needles of a quilting pattern, characterized in that: include: A linked list generation module, used for forming a pattern linked list based on actual position data of the pattern to be quilted and quilting parameter data; A chain list storage module, used for storing the pattern chain list in the pattern layer of the quilting system; A linked list mapping module, used for generating a pattern corresponding to the pattern linked list in a pixel layer of the quilting system display screen through linear mapping; A click receiving module, used for receiving a user's click on a target position in the pixel layer, and generating a position search box; The target position and needle number acquisition module is used to obtain the actual target position of the machine head movement and the target needle number of quilting based on the mapping relationship between the position search box and the pattern pattern and the pattern chain list.
9. A device for controlling the number of needles of a quilting pattern, characterized in that: The jump control device for the number of needles of a quilting pattern comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the quilting pattern needle number jump control device to execute the quilting pattern needle number jump method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for jumping the number of needles of a quilting pattern as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Jump control machine of embroidering machine
JP1988275771A
Embroidery data preparation device and computer-readable media
JP2014212899A
Advanced Stitch Placement with Backing Shifting
US20210047764A1