CN113888669A - Winding layout drawing method, device, equipment and storage medium - Google Patents

Winding layout drawing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113888669A
CN113888669A CN202111096273.7A CN202111096273A CN113888669A CN 113888669 A CN113888669 A CN 113888669A CN 202111096273 A CN202111096273 A CN 202111096273A CN 113888669 A CN113888669 A CN 113888669A
Authority
CN
China
Prior art keywords
winding
layout
target
points
key point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111096273.7A
Other languages
Chinese (zh)
Inventor
山无陵
邹大卡
黎理明
黎理杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yuanmingjie Technology Co ltd
Original Assignee
Shenzhen Yuanmingjie Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yuanmingjie Technology Co ltd filed Critical Shenzhen Yuanmingjie Technology Co ltd
Priority to CN202111096273.7A priority Critical patent/CN113888669A/en
Publication of CN113888669A publication Critical patent/CN113888669A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for drawing a winding layout, wherein the method comprises the steps of calling a key point structure body and acquiring key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point; determining winding points of the target winding graph based on the position information of the key points; obtaining a drawing instruction, and selecting a target winding line to connect with the associated winding point according to the drawing instruction so as to obtain a target winding line graph; the associated winding points are adjacent winding points corresponding to the sequence information; and serializing the target winding pattern to obtain a winding pattern data file. According to the method and the device, the key point information used for drawing the winding graph is obtained, the target winding graph is drawn based on the key point information, and therefore the winding layout data file is obtained.

Description

Winding layout drawing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of smart cards, in particular to a method, a device, equipment and a storage medium for drawing a winding layout.
Background
Along with the function of the smart card is more and more abundant, the winding process of the coil inside the smart card is gradually complicated, and in order to meet the requirements of advanced technology and automatic winding, at present, automatic equipment is generally adopted to complete the winding process of the coil and the processing process of the smart card.
However, the winding layout required for completing the winding of the coil by the automation equipment is usually obtained by corresponding automation programming, the programming process is complicated and complex, the general outline of the current winding layout cannot be intuitively reflected, the existing graphic data cannot be imported and utilized, and the flexibility and the portability are not high. Therefore, how to improve the drawing efficiency of the winding layout is a technical problem which needs to be solved urgently.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for drawing a winding layout, and aims to solve the technical problem of low drawing efficiency of the existing winding layout.
In order to achieve the purpose, the invention provides a winding layout drawing method, which comprises the following steps:
calling a key point structure body to acquire key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point;
determining winding points of a target winding graph based on the position information of the key points;
obtaining a drawing instruction, and selecting a target winding line to connect with the associated winding point according to the drawing instruction so as to obtain a target winding line graph; the associated winding points are adjacent winding points corresponding to the sequence information;
and serializing the target winding pattern to obtain a winding pattern data file.
Optionally, before the step of calling the key point structure and acquiring the key point information, the method further includes:
acquiring target graphic data; the target graph data is position information and sequence information of key points of a target graph;
establishing a key point structure by using the position information and the sequence information of the key points; wherein the keypoint structure comprises at least one keypoint.
Optionally, the step of obtaining the target graphic data specifically includes:
acquiring graphic data; the graphic data comprise first graphic data in an original winding layout data file and/or second graphic data in a standard graphic file;
and extracting key points of the first graph data and/or the second graph data to obtain position information and sequence information of the key points.
Optionally, the graphic data includes first graphic data, and the step of obtaining the graphic data specifically includes:
receiving an original winding layout data file;
performing deserialization processing on the data file of the original winding layout to obtain an original winding layout;
and extracting first graphic data in the original winding layout.
Optionally, the graphic data includes second graphic data, and the step of obtaining the graphic data specifically includes:
receiving a standard graphic file;
and analyzing the standard graphic file to obtain second graphic data in the standard graphic file.
Optionally, after the step of obtaining the drawing instruction and selecting the target winding line to connect the associated winding points according to the drawing instruction to obtain the target winding line graph, the method further includes:
acquiring a layout setting instruction; the layout setting instruction comprises layout parameters, wherein the layout parameters comprise at least one of coil direction, coil row number, coil distance and coil position;
adjusting a target winding graph according to the layout parameters to obtain a winding layout;
and serializing the winding layout to obtain a winding layout data file.
Optionally, after the step of obtaining the drawing instruction and selecting the target winding line to connect the associated winding points according to the drawing instruction to obtain the target winding line graph, the method further includes:
adjusting winding parameters of the winding wire in the target winding wire graph; the winding parameters comprise at least one of a winding end point position, a winding welding head pressure value, a Z-axis offset, a winding speed or a winding acceleration time.
In addition, in order to achieve the above object, the present invention also provides a winding layout drawing device, including:
the calling module is used for calling the key point structure body to acquire key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point;
the determining module is used for determining winding points of the target winding graph based on the position information of the key points;
the connection module is used for acquiring a drawing instruction and selecting a target winding line to connect the associated winding points according to the drawing instruction so as to obtain a target winding line graph; the associated winding points are adjacent winding points corresponding to the sequence information;
and the serialization module is used for serializing the target winding pattern to obtain a winding pattern data file.
Optionally, the winding layout drawing device further comprises an establishing module, and the establishing module is further configured to obtain target graphic data; the target graph data is position information and sequence information of key points of a target graph; establishing a key point structure by using the position information and the sequence information of the key points; wherein the keypoint structure comprises at least one keypoint.
Optionally, the establishing module is further configured to obtain graphic data; the graphic data comprise first graphic data in an original winding layout data file and/or second graphic data in a standard graphic file; and extracting key points of the first graph data and/or the second graph data to obtain position information and sequence information of the key points.
Optionally, the graph data includes first graph data, and the establishing module is further configured to receive an original winding layout data file; performing deserialization processing on the data file of the original winding layout to obtain an original winding layout; and extracting first graphic data in the original winding layout.
Optionally, the graphic data includes second graphic data, and the creating module is further configured to receive a standard graphic file; and analyzing the standard graphic file to obtain second graphic data in the standard graphic file.
Optionally, the winding layout drawing device further comprises a setting module, and the setting module is further configured to obtain a layout setting instruction; the layout setting instruction comprises layout parameters, wherein the layout parameters comprise at least one of coil direction, coil row number, coil distance and coil position; adjusting a target winding graph according to the layout parameters to obtain a winding layout; and serializing the winding layout to obtain a winding layout data file.
Optionally, the winding layout drawing device further comprises an adjusting module, and the adjusting module is further configured to adjust winding parameters of the winding line in the target winding pattern; the winding parameters comprise at least one of a winding end point position, a winding welding head pressure value, a Z-axis offset, a winding speed or a winding acceleration time.
In addition, in order to achieve the above object, the present invention also provides a winding layout drawing apparatus, including: the winding layout drawing program is executed by the processor to realize the steps of the winding layout drawing method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, in which a winding layout drawing program is stored, and the winding layout drawing program implements the steps of the winding layout drawing method when executed by a processor.
The embodiment of the invention provides a method, a device, equipment and a storage medium for drawing a winding layout, wherein the method comprises the steps of calling a key point structure body and acquiring key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point; determining winding points of the target winding graph based on the position information of the key points; connecting the associated winding points by using a winding wire of a preset line type to obtain a target winding wire graph; the associated winding points are adjacent winding points corresponding to the sequence information; and serializing the target winding pattern to obtain a winding pattern data file. According to the method and the device, the key point information used for drawing the winding graph is obtained, the target winding graph is drawn based on the key point information, and therefore the winding layout data file is obtained.
Drawings
FIG. 1 is a schematic structural diagram of a winding layout drawing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a winding layout drawing method according to the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the winding layout drawing method according to the present invention;
fig. 4 is a block diagram of a winding layout drawing apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Along with the function of the smart card is more and more abundant, the winding process of the coil inside the smart card is gradually complicated, and in order to meet the requirements of advanced technology and automatic winding, at present, automatic equipment is generally adopted to complete the winding process of the coil and the processing process of the smart card. However, the winding layout required for completing the winding of the coil by the automation equipment is usually obtained by corresponding automation programming, the programming process is complicated and complex, the general outline of the current winding layout cannot be intuitively reflected, the existing graphic data cannot be imported and utilized, and the flexibility and the portability are not high. Therefore, how to improve the drawing efficiency of the winding layout is a technical problem which needs to be solved urgently.
In order to solve this problem, various embodiments of the routing layout drawing method of the present invention are proposed. The method for drawing the winding layout obtains the data file of the winding layout by obtaining the key point information for drawing the winding pattern and drawing the target winding pattern based on the key point information. .
Referring to fig. 1, fig. 1 is a schematic structural diagram of a winding layout drawing device according to an embodiment of the present invention.
The device may be a User Equipment (UE) such as a Mobile phone, smart phone, laptop, digital broadcast receiver, Personal Digital Assistant (PDA), tablet computer (PAD), handheld device, vehicular device, wearable device, computing device or other processing device connected to a wireless modem, Mobile Station (MS), or the like. The device may be referred to as a user terminal, portable terminal, desktop terminal, etc.
Generally, the apparatus comprises: at least one processor 301, a memory 302 and a winding layout drawing program stored on said memory and executable on said processor, said winding layout drawing program being configured to implement the steps of the winding layout drawing method as described before.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing relevant winding layout drawing operations, so that the winding layout drawing model may be trained and learned autonomously, thereby improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 801 to implement the winding layout drawing method provided by the method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. The communication interface 303 is used for receiving the movement tracks of the plurality of mobile terminals uploaded by the user and other data through the peripheral device. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 304 communicates with a communication network and other communication devices through electromagnetic signals, so as to obtain the movement tracks and other data of a plurality of mobile terminals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a definition of a wire-wound layout drawing apparatus, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The embodiment of the invention provides a winding layout drawing method, and referring to fig. 2, fig. 2 is a flow diagram of a first embodiment of the winding layout drawing method of the invention.
In this embodiment, the winding layout drawing method includes the following steps:
step S100, calling a key point structure body to acquire key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point.
Specifically, in practical applications, before drawing a winding layout, winding points of a target winding pattern need to be obtained, and a winding route of the target winding pattern can be determined by connecting the winding points. In this embodiment, the key point structure is called to obtain key point information in the key point structure, where the key point structure is a structure in which position information and sequence information of at least one key point are stored, the structure is a key point structure corresponding to a winding point of a pre-obtained target winding graph, and the corresponding target winding graph can be obtained by connecting and drawing the key points corresponding to the key point information stored in the structure.
It should be noted that the key points stored in the key point structure may be end points, intermediate points, or associated points of the target winding graph, and the following description will be given by taking the case where the key points are respectively end points, intermediate points, or associated points of the target winding graph as an example:
the key points can be end points of the target winding graph, when the key points are end points, after the winding points are determined by using the key points, if the target winding graph is drawn according to the key points, the winding lines are selected to connect the corresponding end points, and then the drawing of the target winding graph can be realized.
The key point can be a middle point of the target winding graph, when the key point is the middle point, after the winding point is determined by the key point, if the target winding graph is drawn according to the key point, the drawing of the target winding graph can be realized by selecting a connecting end point and the middle point of the winding line, the middle point and the middle point, and the middle point and the end point of the winding line.
The key point may be a correlation point of the target winding graph, and when the key point is the correlation point, when the key point is used to determine the winding point, the correlation point corresponding to the position point needs to be selected to determine the winding point, for example, if the correlation point is a circle center position point of the arc, the correlation point corresponding to the position point is a point on the arc; at this time, if the target winding pattern is drawn according to the key points, the winding line is selected to connect the end points/intermediate points with the points on the arc, the points on the arc with the points on the arc, and the points on the arc with the end points/intermediate points, so that the target winding pattern can be drawn.
It is easy to understand that after the key point structure body storing the position information and the sequence information of the key points is called, the key points of the target winding graph can be obtained, the winding points of the target winding graph can be determined by using the key points, and then the winding graph corresponding to the key point structure body can be drawn according to the winding points.
And S200, determining the winding points of the target winding graph based on the position information of the key points.
Specifically, after position information and sequence information corresponding to the key points in the key point structure are obtained, the winding points of the target winding pattern are determined based on the position information and the sequence information of the key points. It should be noted that the key points further include end points, intermediate points, and associated points, and the following examples describe winding points of the target winding graph determined by different key points:
when the key point is an end point, for example, when the position information of the key point is { end point, (0,0) }, a point whose coordinate position is (0,0) is used as a winding point, the winding point is a start point or an end point of the winding pattern, and the winding pattern is drawn by connecting the end point and the middle point/associated point corresponding position point, and the middle point/associated point corresponding position point and the end point.
When the key point is a middle point, for example, when the position information of the key point is { middle point, (0,0) }, a point whose coordinate position is (0,0) is taken as a winding point at this time, the winding point is a middle point between an end point and an end point, and the drawing of the winding graph is realized by connecting the middle point with the end point/associated point, the end point/associated point and the middle point.
When the key point is a related point, for example, when the position information of the key point is { related point, X2+Y21, (0-180 °), (0,0) }, taking the coordinate position (0,0) as the center of a circle, taking a point on the circular arc of 0-180 ° as a winding point on a circle with the radius of 1, and drawing a winding graph by connecting each winding point on the circular arc with an end point/middle point, an end point/middle point and each winding point on the circular arc.
It is easy to understand that the key points are not in one-to-one correspondence with the winding points, at least one corresponding winding point is determined by calling the key points in the key point structure, and then drawing of a target winding graph is achieved through the winding points.
Step S300, obtaining a drawing instruction, and selecting a target winding line to connect with the associated winding points according to the drawing instruction so as to obtain a target winding line graph; and the associated winding points are adjacent winding points corresponding to the sequence information.
Specifically, after the winding points of the target winding pattern are determined, the winding points need to be connected to obtain a complete target winding pattern. And at the moment, obtaining a drawing instruction, selecting a corresponding winding line to draw the winding points of the determined target winding graph in a connecting manner through the drawing instruction, and finally obtaining the finished target winding graph. When the winding points are drawn in a connected mode, winding needs to be conducted according to a specific sequence, the sequence is sequence information corresponding to the key points stored in the key point structure body, therefore, when the corresponding winding points are drawn, the corresponding winding points are selected to draw the associated winding points, and at the moment, the associated winding points are adjacent winding points corresponding to the sequence information of the key points.
In this embodiment, the obtained drawing instruction may be a received drawing operation instruction of the user, or may also be a drawing trigger instruction when a preset drawing condition is met, which is not limited in this embodiment. In addition, the drawing command includes a line type selection command for the target drawing line, for example, the line type of the drawing line includes a jumper line, a cut line, a bonding-free line, a normal line, and the like, and the target winding pattern is drawn by obtaining the type selection command in the drawing command and selecting the line type used between the corresponding winding points.
It should be noted that after a complete target winding pattern is obtained, layout parameters of the target winding pattern need to be set to obtain a winding layout, and then an automatic winding process of the smart card is performed by using an automatic winding machine based on the winding layout. The layout parameters of the set target winding graph comprise parameters such as coil setting direction, coil row number, coil distance and coil position. Specifically, a layout setting instruction is obtained, the layout setting instruction comprises layout parameters, a target winding graph is adjusted according to the layout parameters to obtain a winding layout, and the winding layout is serialized to obtain a winding layout data file.
And S400, serializing the target winding pattern to obtain a winding pattern data file.
Specifically, after a complete target winding pattern is obtained, in order to improve the portability of the target winding pattern, the obtained target winding pattern needs to be serialized to obtain a winding layout data file.
It should be noted that the winding layout data file is a file that can be identified by the automatic winding machine, and after receiving the winding layout data file, the automatic winding machine can obtain the execution instruction corresponding to the winding layout by parsing the data file, and then execute the corresponding winding action according to the execution instruction, thereby completing the automatic winding of the coil of the smart card.
It is easy to understand that the obtained winding layout data file can also be used as a basic data file for subsequently drawing the winding layout, the winding graph corresponding to the winding layout is obtained by analyzing the data file, and then the winding graph is newly added, deleted and modified, so as to improve the drawing efficiency of the winding graph.
In addition, if the layout parameters of the target winding graph are set after the complete target winding graph is obtained, at the moment, the winding layout with the layout parameters is serialized to obtain a winding layout data file, the winding layout data also records the corresponding layout setting parameters, the automatic winding machine obtains the corresponding layout setting parameters after analysis, and performs winding action on the layout of the layout parameters to complete automatic winding of the intelligent card.
In the embodiment, the winding layout data file is obtained by obtaining the key point information for drawing the winding pattern and drawing the target winding pattern based on the key point information, so that compared with the conventional method of obtaining the winding layout through programming, the method has higher efficiency and improves the flexibility and the portability of drawing the winding layout.
For easy understanding, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the routing layout drawing method according to the present invention. Based on the first embodiment of the winding layout drawing method shown in fig. 2, the present embodiment proposes a second embodiment of the winding layout drawing method, which is specifically as follows:
step S500, acquiring target graphic data; and the target graph data is the position information and the sequence information of key points of the target graph.
Specifically, in this embodiment, before drawing the target winding pattern, in order to obtain the winding points of the target winding pattern, a key point structure body for providing the winding points needs to be constructed, and by calling the key point structure body, position information and sequence information corresponding to the key points are obtained, and then the winding points are determined, so as to implement the drawing of the target winding pattern.
It should be noted that, constructing the key point structure requires first acquiring target graph data, where the graph data specifically includes position information and sequence information of key points of the target graph. The key points may be end points, intermediate points, associated points, and the like, and the description of the embodiment is omitted for obtaining corresponding winding points through the key points.
At this time, it is easy to understand that the obtained target graphic data includes the first graphic data in the original routing layout data file and/or the second graphic data in the standard graphic file. The original winding layout data file is a serialized winding layout or winding pattern, calling and secondary use are carried out by utilizing the characteristic of high grafting, and the repeated utilization rate of the winding layout can be improved by directly calling the original winding layout data file; the standard graphic file is a file which is made by drawing software and stores a corresponding winding graphic, such as a DXF file and the like, and the drawing efficiency of the winding layout is improved by directly calling the standard graphic file to further draw and modify the semi-finished graphic file.
Specifically, after receiving an original winding layout data file, the original winding layout data file needs to be deserialized to obtain an original winding layout, and then first graphic data in the winding layout is extracted, and the position information and the sequence information of the key point can be obtained by processing the first graphic data.
Specifically, after the standard graphic data file is received, the standard graphic file needs to be analyzed to obtain second graphic data in the standard graphic file, and the position information and the sequence information of the key point can be obtained by processing the second graphic data.
After the first graph data and the second graph data are obtained, the position information and the sequence information of the key points can be obtained by extracting the key points of the first graph data and/or the second graph data.
Step S600, establishing a key point structure by using the position information and the sequence information of the key points; wherein the keypoint structure comprises at least one keypoint.
Specifically, in this embodiment, after obtaining the position information and the order information of the key points of the target graph, a key point structure is established for all the key position information and order information, and the key point structure includes at least one key point.
In this embodiment, a key point structure is established, so as to determine winding points by using position information and sequence information of key points in the key point structure, and further draw a target winding graph. The method comprises the steps of obtaining a target graph in an original winding layout data file and/or a standard graph file, extracting information of key points of the target graph, and obtaining a key point structural body which can be called, so that the key point structural body is called to draw a target winding layout.
Referring to fig. 4, fig. 4 is a block diagram of a first embodiment of the winding layout drawing apparatus according to the present invention.
As shown in fig. 4, the winding layout drawing apparatus provided in the embodiment of the present invention includes:
the calling module 10 is used for calling the key point structure body and acquiring key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point;
the determining module 20 is configured to determine winding points of the target winding graph based on the position information of the key points;
the connecting module 30 is used for connecting the associated winding points by using a winding line with a preset line type so as to obtain a target winding graph; the associated winding points are adjacent winding points corresponding to the sequence information;
and the serialization module 40 is used for serializing the target winding pattern to obtain a winding pattern data file.
As an implementation manner, the winding layout drawing apparatus further includes a setting module 50, and the setting module 50 is further configured to obtain a layout setting instruction; the layout setting instruction comprises layout parameters, wherein the layout parameters comprise at least one of coil direction, coil row number, coil distance and coil position; adjusting a target winding graph according to the layout parameters to obtain a winding layout; and serializing the winding layout to obtain a winding layout data file.
As an embodiment, the setting module 50 is further configured to adjust winding parameters of the winding wire in the target winding wire pattern; the winding parameters comprise at least one of a winding end point position, a winding welding head pressure value, a Z-axis offset, a winding speed or a winding acceleration time.
The winding layout drawing device provided by the embodiment obtains the key point information for drawing the winding pattern and draws the target winding pattern based on the key point information, so that the winding layout data file is obtained.
Based on the first embodiment of the winding layout drawing device of the present invention, a second embodiment of the winding layout drawing device of the present invention is proposed. In this embodiment, the winding layout drawing apparatus further includes an establishing module 60, where the establishing module 60 is further configured to obtain target graphic data; the target graph data is position information and sequence information of key points of a target graph; establishing a key point structure by using the position information and the sequence information of the key points; wherein the keypoint structure comprises at least one keypoint.
As an embodiment, the establishing module 60 is further configured to obtain the graphic data; the graphic data comprise first graphic data in an original winding layout data file and/or second graphic data in a standard graphic file; and extracting key points of the first graph data and/or the second graph data to obtain position information and sequence information of the key points.
As an embodiment, the graphic data includes first graphic data, and the creating module 60 is further configured to receive an original routing layout data file; performing deserialization processing on the data file of the original winding layout to obtain an original winding layout; and extracting first graphic data in the original winding layout.
As an embodiment, the graphics data includes second graphics data, and the creating module 60 is further configured to receive a standard graphics file; and analyzing the standard graphic file to obtain second graphic data in the standard graphic file.
The method comprises the steps of establishing a key point structure body, determining winding points by utilizing position information and sequence information of key points in the key point structure body, and further drawing a target winding graph. The method comprises the steps of obtaining a target graph in an original winding layout data file and/or a standard graph file, extracting information of key points of the target graph, and obtaining a key point structural body which can be called, so that the key point structural body is called to draw a target winding layout.
Other embodiments or specific implementation manners of the winding layout drawing device of the invention can refer to the above method embodiments, and are not described herein again.
In addition, an embodiment of the present invention further provides a storage medium, where a winding layout drawing program is stored on the storage medium, and the winding layout drawing program, when executed by a processor, implements the steps of the winding layout drawing method described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that, by way of example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It should be noted that the above-described embodiments of the apparatus are merely schematic, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and may also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions may be various, such as analog circuits, digital circuits, or dedicated circuits. However, the implementation of a software program is a more preferable embodiment for the present invention. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, where the computer software product is stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a Read-only memory (ROM), a random-access memory (RAM), a magnetic disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.

Claims (10)

1. A winding layout drawing method is characterized by comprising the following steps:
calling a key point structure body to acquire key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point;
determining winding points of a target winding graph based on the position information of the key points;
obtaining a drawing instruction, and selecting a target winding line to connect with the associated winding point according to the drawing instruction so as to obtain a target winding line graph; the associated winding points are adjacent winding points corresponding to the sequence information;
and serializing the target winding pattern to obtain a winding pattern data file.
2. The winding layout drawing method according to claim 1, wherein before the step of calling the key point structure and obtaining the key point information, the method further comprises:
acquiring target graphic data; the target graph data is position information and sequence information of key points of a target graph;
establishing a key point structure by using the position information and the sequence information of the key points; wherein the keypoint structure comprises at least one keypoint.
3. The winding layout drawing method according to claim 2, wherein the step of obtaining the target graphic data specifically comprises:
acquiring graphic data; the graphic data comprise first graphic data in an original winding layout data file and/or second graphic data in a standard graphic file;
and extracting key points of the first graph data and/or the second graph data to obtain position information and sequence information of the key points.
4. The winding layout drawing method according to claim 3, wherein the graphic data includes first graphic data, and the step of obtaining the graphic data specifically includes:
receiving an original winding layout data file;
performing deserialization processing on the data file of the original winding layout to obtain an original winding layout;
and extracting first graphic data in the original winding layout.
5. The winding layout drawing method according to claim 3, wherein the graphic data includes second graphic data, and the step of obtaining the graphic data specifically includes:
receiving a standard graphic file;
and analyzing the standard graphic file to obtain second graphic data in the standard graphic file.
6. The winding layout drawing method according to claim 1, wherein after the step of obtaining the drawing command and selecting the target winding line according to the drawing command to connect the associated winding points to obtain the target winding pattern, the method further comprises:
acquiring a layout setting instruction; the layout setting instruction comprises layout parameters, wherein the layout parameters comprise at least one of coil direction, coil row number, coil distance and coil position;
adjusting a target winding graph according to the layout parameters to obtain a winding layout;
and serializing the winding layout to obtain a winding layout data file.
7. The winding layout drawing method according to claim 1, wherein after the step of obtaining the drawing command and selecting the target winding line according to the drawing command to connect the associated winding points to obtain the target winding pattern, the method further comprises:
adjusting winding parameters of the winding wire in the target winding wire graph; the winding parameters comprise at least one of a winding end point position, a winding welding head pressure value, a Z-axis offset, a winding speed or a winding acceleration time.
8. The utility model provides a device is drawn to wire winding territory, its characterized in that, device is drawn to wire winding territory includes:
the calling module is used for calling the key point structure body to acquire key point information; the key point structure comprises at least one key point, and the key point information is position information and sequence information of the key point;
the determining module is used for determining winding points of the target winding graph based on the position information of the key points;
the connection module is used for acquiring a drawing instruction and selecting a target winding line to connect the associated winding points according to the drawing instruction so as to obtain a target winding line graph; the associated winding points are adjacent winding points corresponding to the sequence information;
and the serialization module is used for serializing the target winding pattern to obtain a winding pattern data file.
9. The utility model provides a wire winding domain drawing equipment which characterized in that, wire winding domain drawing equipment includes: a memory, a processor and a winding layout drawing program stored on the memory and operable on the processor, the winding layout drawing program, when executed by the processor, implementing the steps of the winding layout drawing method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a winding layout drawing program, which when executed by a processor, implements the steps of the winding layout drawing method according to any one of claims 1 to 7.
CN202111096273.7A 2021-09-16 2021-09-16 Winding layout drawing method, device, equipment and storage medium Pending CN113888669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111096273.7A CN113888669A (en) 2021-09-16 2021-09-16 Winding layout drawing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111096273.7A CN113888669A (en) 2021-09-16 2021-09-16 Winding layout drawing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113888669A true CN113888669A (en) 2022-01-04

Family

ID=79009868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111096273.7A Pending CN113888669A (en) 2021-09-16 2021-09-16 Winding layout drawing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113888669A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117709285A (en) * 2024-02-05 2024-03-15 宁波联方电子科技有限公司 Seal ring drawing method, seal ring drawing system, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117709285A (en) * 2024-02-05 2024-03-15 宁波联方电子科技有限公司 Seal ring drawing method, seal ring drawing system, electronic equipment and storage medium
CN117709285B (en) * 2024-02-05 2024-05-07 宁波联方电子科技有限公司 Seal ring drawing method, seal ring drawing system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102714884B (en) The method that contact person is processed and mobile terminal
CN109324749B (en) Drawing method, drawing device, storage medium and electronic equipment
US20230185442A1 (en) Method for providing capture function and electronic device therefor
CN114048168A (en) Electronic archive filing method, device, equipment, system and storage medium
CN112883036A (en) Index creation method, device, storage server and storage medium
CN113761255B (en) Robot indoor positioning method, device, equipment and storage medium
CN113888669A (en) Winding layout drawing method, device, equipment and storage medium
CN105141735A (en) Method of processing contact persons and mobile terminal
CN111949187B (en) Electronic whiteboard content editing and sharing method, system, equipment and server
US11853483B2 (en) Image processing method and apparatus for smart pen including pressure switches, and electronic device
CN112566244A (en) Device positioning method and device, terminal device and storage medium
CN111722903A (en) Data processing method and device, electronic equipment and storage medium
CN113225234B (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN111026457A (en) Hardware configuration method and device, storage medium and terminal equipment
CN114385077A (en) FPGA signal modulation and demodulation dynamic reconstruction method, device, system and storage medium
CN114862000A (en) Trajectory prediction method, apparatus, device and storage medium
CN114494795A (en) Parking detection method, device and equipment based on chassis detection and storage medium
CN114494513A (en) Agricultural machinery working area obtaining method and device, terminal equipment and storage medium
CN114187349A (en) Product processing method and device, terminal device and storage medium
CN112348633A (en) Clothing matching recommending method and device, intelligent wardrobe and storage medium
CN113688616B (en) Method, device and equipment for detecting chart report difference and storage medium
CN113741215B (en) Equipment control method and device based on associated characteristic data
CN113778063B (en) Equipment control method and device based on longitudinal characteristic data
CN107632863A (en) A kind of voice control function control method and mobile terminal
CN114742983B (en) Flexible cable characteristic creation method and device based on dimension marking drive

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination