Winding layout drawing method, device, equipment and storage medium

By obtaining and using the position and sequence information of the key point structure to draw the winding layout, the problem of cumbersome and intransitive drawing of the winding layout is solved, and more efficient and flexible winding layout generation is achieved.

CN113888669BActive Publication Date: 2025-08-01SHENZHEN YUANMINGJIE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111096273.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-16
Publication Date
2025-08-01
Estimated Expiration
2041-09-16

AI Technical Summary

Technical Problem

The winding layout drawing process of existing automation equipment is cumbersome and complex, and it is impossible to intuitively reflect the overview of the winding layout, and it is impossible to import and utilize existing graphic data, so it is not flexible and portable.

Method used

By obtaining the position and order information of the key point structure, the winding points of the winding pattern are determined, and the target winding pattern is drawn based on this information to generate a winding pattern data file.

Benefits of technology

It improves the efficiency and flexibility of winding layout drawing and enhances the portability of winding layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113888669B_ABST
    Figure CN113888669B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus, device and storage medium for drawing a wire routing layout. The method includes calling a key point structure body to obtain key point information; wherein, the key point structure body includes at least one key point, and the key point information is the position information and sequence information of the key point; based on the position information of the key point, determining the winding points of the target wire routing pattern; obtaining a drawing instruction, and selecting a target winding line to connect associated winding points according to the drawing instruction to obtain a target wire routing pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information; serializing the target wire routing pattern to obtain a wire routing layout data file. By obtaining the key point information for drawing the wire routing pattern and drawing the target wire routing pattern based on the key point information, the present invention obtains a wire routing layout data file, which has higher efficiency compared with the current method of obtaining the wire routing layout through programming, and also improves the flexibility and portability of wire routing layout drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart cards, and particularly to a method, device, equipment and storage medium for drawing a wire-winding layout. Background Art

[0002] As the functions of smart cards become more and more abundant, the coil winding process inside them has gradually become complicated. In order to meet the requirements of advanced processes and automated winding, currently, automated equipment is usually used to complete the coil winding and smart card processing processes.

[0003] However, the wire-winding layout required for the automated equipment to complete the coil winding is usually obtained through corresponding automated programming. The programming process is cumbersome and complex, and it cannot intuitively reflect the general situation of the current wire-winding layout, nor can it import and utilize existing graphic data, resulting in low flexibility and portability. Therefore, how to improve the drawing efficiency of the wire-winding layout is a technical problem that needs to be solved urgently.

[0004] The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of the present invention is to provide a method, device, equipment and storage medium for drawing a wire-winding layout, aiming to solve the technical problem of low drawing efficiency of the current wire-winding layout.

[0006] To achieve the above purpose, the present invention provides a method for drawing a wire-winding layout, the method comprising the following steps:

[0007] Call a key point structure to obtain key point information; wherein, the key point structure includes at least one key point, and the key point information is the position information and sequence information of the key point;

[0008] Based on the position information of the key points, determine the winding points of the target wire-winding pattern;

[0009] Obtain a drawing instruction, and select a target winding line to connect associated winding points according to the drawing instruction to obtain a target wire-winding pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information;

[0010] Serialize the target wire-winding pattern to obtain a wire-winding layout data file.

[0011] Optionally, before the step of calling a key point structure to obtain key point information, the method further includes:

[0012] Obtain target graphic data; wherein, the target graphic data is the position information and sequence information of the key points of the target graphic;

[0013] Using the position information and sequence information of the key points, a key point structure is established; wherein, the key point structure includes at least one key point.

[0014] Optionally, the step of obtaining the target graphic data specifically includes:

[0015] Obtain graphic data; wherein, the graphic data includes first graphic data in the original wire routing layout data file and / or second graphic data in the standard graphic file;

[0016] Extract the key points of the first graphic data and / or the second graphic data to obtain the position information and sequence information of the key points.

[0017] Optionally, the graphic data includes first graphic data, and the step of obtaining the graphic data specifically includes:

[0018] Receive the original wire routing layout data file;

[0019] Perform deserialization processing on the original wire routing layout data file to obtain the original wire routing layout;

[0020] Extract the first graphic data in the original wire routing layout.

[0021] Optionally, the graphic data includes second graphic data, and the step of obtaining the graphic data specifically includes:

[0022] Receive the standard graphic file;

[0023] Parse the standard graphic file to obtain the second graphic data in the standard graphic file.

[0024] 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 graphic, the method further includes:

[0025] Obtain a layout setting instruction; wherein, the layout setting instruction includes layout parameters, and the layout parameters include at least one of coil direction, number of coil columns, coil distance, and coil position;

[0026] Adjust the target winding graphic according to the layout parameters to obtain a wire routing layout;

[0027] Serialize the wire routing layout to obtain a wire routing layout data file.

[0028] 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 graphic, the method further includes:

[0029] Adjust the winding parameters of the winding wire in the target winding pattern; wherein, the winding parameters include at least one of the winding end point position, the winding head pressure value, the Z-axis offset, the winding speed, or the winding acceleration time.

[0030] In addition, to achieve the above object, the present invention also provides a winding layout drawing device, which includes:

[0031] A calling module, configured to call a key point structure body to obtain key point information; wherein, the key point structure body includes at least one key point, and the key point information is the position information and sequence information of the key point;

[0032] A determining module, configured to determine the winding points of the target winding pattern based on the position information of the key points;

[0033] A connecting module, configured to obtain a drawing instruction, and select a target winding wire to connect associated winding points according to the drawing instruction to obtain a target winding pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information;

[0034] A serialization module, configured to serialize the target winding pattern to obtain a winding layout data file.

[0035] Optionally, the winding layout drawing device further includes an establishing module, and the establishing module is further configured to obtain target graphic data; wherein, the target graphic data is the position information and sequence information of the key points of the target graphic; use the position information and sequence information of the key points to establish a key point structure body; wherein, the key point structure body includes at least one key point.

[0036] Optionally, the establishing module is further configured to obtain graphic data; wherein, the graphic data includes first graphic data in an original winding layout data file and / or second graphic data in a standard graphic file; extract the key points of the first graphic data and / or the second graphic data to obtain the position information and sequence information of the key points.

[0037] Optionally, the graphic data includes first graphic data, and the establishing module is further configured to receive an original winding layout data file; perform deserialization processing on the original winding layout data file to obtain an original winding layout; extract the first graphic data in the original winding layout.

[0038] Optionally, the graphic data includes second graphic data, and the establishing module is further configured to receive a standard graphic file; parse the standard graphic file to obtain the second graphic data in the standard graphic file.

[0039] Optionally, the winding layout drawing device further includes a setting module, and the setting module is further configured to obtain a layout setting instruction; wherein, the layout setting instruction includes layout parameters, and the layout parameters include at least one of a coil direction, a number of coil columns, a coil distance, and a coil position; according to the layout parameters, adjust the target winding pattern to obtain a winding layout; serialize the winding layout to obtain a winding layout data file.

[0040] Optionally, the winding layout drawing device further includes an adjustment module, and the adjustment module is further configured to adjust the winding parameters of the winding wire in the target winding pattern; wherein, the winding parameters include at least one of a winding end point position, a winding head pressure value, a Z-axis offset, a winding speed, or a winding acceleration time.

[0041] In addition, to achieve the above object, the present invention also provides a winding layout drawing device, the device includes: a memory, a processor, and a winding layout drawing program stored on the memory and executable on the processor, and when the winding layout drawing program is executed by the processor, the steps of the above-mentioned winding layout drawing method are implemented.

[0042] In addition, to achieve the above object, the present invention also provides a storage medium, on which a winding layout drawing program is stored, and when the winding layout drawing program is executed by a processor, the steps of the above-mentioned winding layout drawing method are implemented.

[0043] A winding layout drawing method, device, device, and storage medium provided by an embodiment of the present invention, the method includes calling a key point structure body to obtain key point information; wherein, the key point structure body includes at least one key point, and the key point information is the position information and sequence information of the key point; based on the position information of the key point, determine the winding points of the target winding pattern; use a winding wire with a preset line type to connect the associated winding points to obtain the target winding pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information; serialize the target winding pattern to obtain a winding layout data file. The present invention obtains the key point information for drawing the winding pattern and draws the target winding pattern based on the key point information, thereby obtaining the winding layout data file. Compared with currently obtaining the winding layout through programming, it has higher efficiency and also improves the flexibility and portability of winding layout drawing. Description of the Drawings

[0044] Figure 1 It is a schematic structural diagram of a winding layout drawing device in an embodiment of the present invention;

[0045] Figure 2 It is a schematic flowchart of the first embodiment of the winding layout drawing method of the present invention;

[0046] Figure 3 Schematic flowchart of the second embodiment of the winding layout drawing method of the present invention;

[0047] Figure 4 Block diagram of the structure of a winding layout drawing device in an embodiment of the present invention.

[0048] The realization, functional features and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific embodiments

[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0050] As the functions of smart cards become more and more abundant, the internal coil winding process has gradually become more complex. In order to meet the requirements of advanced processes and automated winding, currently, automated equipment is usually used to complete the coil winding and smart card processing processes. However, the winding layout required for the automated equipment to complete the coil winding is usually obtained through corresponding automated programming. The programming process is cumbersome and complex, and it cannot intuitively reflect the general situation of the current winding layout, and it cannot import and utilize existing graphic data, so the flexibility and portability are not high. Therefore, how to improve the drawing efficiency of the winding layout is a technical problem that needs to be solved urgently.

[0051] To solve this problem, various embodiments of the winding layout drawing method of the present invention are proposed. The winding layout drawing method provided by the present invention obtains the key point information for drawing the winding pattern, and draws the target winding pattern based on the key point information, so as to obtain the winding layout data file. Compared with obtaining the winding layout through programming currently, it has higher efficiency and also improves the flexibility and portability of the winding layout drawing..

[0052] Refer to Figure 1 , Figure 1 Schematic diagram of the structure of the winding layout drawing device involved in the embodiment solution of the present invention.

[0053] The device may be a user equipment (UE) such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a handheld device, a vehicle-mounted device, a wearable device, a computing device or other processing devices connected to a wireless modem, a mobile station (MS), etc. The device may be referred to as a user terminal, a portable terminal, a desktop terminal, etc.

[0054] Generally, the device includes: at least one processor 301, a memory 302, and a wire layout drawing program stored on the memory and executable on the processor. The wire layout drawing program is configured to implement the steps of the wire layout drawing method as described above.

[0055] The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. The processor 301 may also include an AI (Artificial Intelligence) processor, which is used to process operations related to wire layout drawing, enabling the wire layout drawing model to autonomously train and learn, improving efficiency and accuracy.

[0056] The memory 302 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 302 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 801 to implement the wire layout drawing method provided in the method embodiments of the present application.

[0057] In some embodiments, the terminal may further optionally 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 through a bus or signal lines. Each peripheral device may be connected to the communication interface 303 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 304, a display screen 305, and a power supply 306.

[0058] The communication interface 303 can 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 by the peripheral device to receive the movement trajectories and other data of multiple mobile terminals uploaded by the user. In some embodiments, the processor 301, the memory 302, and the 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 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.

[0059] The radio frequency circuit 304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 304 communicates with the communication network and other communication devices through electromagnetic signals, so as to obtain the movement trajectories and other data of multiple mobile terminals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on. The radio frequency circuit 304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, each generation of mobile communication network (2G, 3G, 4G, and 5G), wireless local area network, and / or WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 304 may also include a circuit related to NFC (Near Field Communication), and this application does not limit this.

[0060] The display screen 305 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to collect touch signals on or above the surface of the display screen 305. The touch signal can be input to the processor 301 for processing as a control signal. At this time, the display screen 305 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, the display screen 305 can be one, the front panel of the electronic device; in other embodiments, the display screen 305 can be at least two, respectively arranged on different surfaces of the electronic device or in a folding design; in still other embodiments, the display screen 305 can be a flexible display screen, arranged on a curved surface or a folding surface of the electronic device. Even, the display screen 305 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 305 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0061] The power supply 306 is used to supply power to each component in the electronic device. The power supply 306 can be alternating current, direct current, a disposable battery, or a rechargeable battery. When the power supply 306 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0062] Those skilled in the art can understand that Figure 1 the structure shown in

[0063] does not constitute a limitation on the winding layout drawing device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Figure 2 Figure 2 is a schematic flowchart of the first embodiment of the winding layout drawing method of the present invention.

[0064] In this embodiment, the winding layout drawing method includes the following steps:

[0065] Step S100, call the key point structure body to obtain key point information; wherein, the key point structure body includes at least one key point, and the key point information is the position information and sequence information of the key point.

[0066] ​Specifically, in practical applications, before drawing the winding layout, it is necessary to obtain the winding points of the target winding pattern. By connecting the winding points, the winding route of the target winding pattern can be determined. In this embodiment, by calling the key point structure, the key point information in the key point structure is obtained. Among them, the key point structure is a structure that stores the position information and sequence information of at least one key point. This structure is the key point structure corresponding to the winding points of the target winding pattern to be pre-obtained. By connecting and drawing the key points corresponding to the key point information stored in this structure, the corresponding target winding pattern can be obtained.

[0067] It should be noted that the key points stored in the key point structure can be the end points, middle points or associated points of the target winding pattern. The following examples illustrate the cases where the key points are the end points, middle points or associated points of the target winding pattern respectively:

[0068] The key point can be the end point of the target winding pattern. When the key point is the end point, after determining the winding point using the key point, if the target winding pattern is drawn according to the key point, then by selecting the winding line to connect the corresponding end points, the drawing of the target winding pattern can be realized.

[0069] The key point can be the middle point of the target winding pattern. When the key point is the middle point, after determining the winding point using the key point, if the target winding pattern is drawn according to the key point, then by selecting the winding line to connect the end point and the middle point, the middle point and the middle point, and the middle point and the end point, the drawing of the target winding pattern can be realized.

[0070] The key point can be the associated point of the target winding pattern. When the key point is the associated point, when determining the winding point using the key point, it is necessary to select the point corresponding to the position of the associated point to determine the winding point. For example, if the associated point is the center position point of the arc, then the point corresponding to the position of the associated point is the point on the arc; at this time, if the target winding pattern is drawn according to the key point, then by selecting the winding line to connect the end point / middle point and the point on the arc, the point on the arc and the point on the arc, and the point on the arc and the end point / middle point, the drawing of the target winding pattern can be realized.

[0071] It is easy to understand that after calling the key point structure that stores the position information and sequence information of the key points, the key points of the target winding pattern can be obtained. Using these key points, the winding points of the target winding pattern can be determined, and then the winding pattern corresponding to the key point structure can be drawn according to the winding points.

[0072] Step S200, based on the position information of the key points, determine the winding points of the target winding pattern.

[0073] Specifically, after obtaining the position information and sequence information corresponding to the key points in the key point structure, based on the position information and sequence information of the key points, the winding points of the target winding pattern are determined. It should be noted that the key points also include end points, intermediate points, and associated points. The following examples illustrate how to determine the winding points of the target winding pattern for different key points:

[0074] When the key point is an end point, for example, when the position information of the key point is {end point, (0, 0)}, the point with the coordinate position (0, 0) is used as the winding point at this time. This winding point is the starting point or the ending point of the winding pattern. By connecting the end point with the corresponding position points of the intermediate point / associated point, and the corresponding position points of the intermediate point / associated point with the end point, the drawing of the winding pattern is realized.

[0075] When the key point is an intermediate point, for example, when the position information of the key point is {intermediate point, (0, 0)}, the point with the coordinate position (0, 0) is used as the winding point at this time. This winding point is the intermediate point between the end points. By connecting the intermediate point with the end point / associated point, and the end point / associated point with the intermediate point, the drawing of the winding pattern is realized.

[0076] When the key point is an associated point, for example, when the position information of the key point is {associated point, X 2 +Y 2 = 1, (0° - 180°), (0, 0)}, the points on the arc of 0° - 180° on the circle with a radius of 1 centered at the coordinate position (0, 0) are used as the winding points at this time. By connecting each winding point on the arc with the end point / intermediate point, and the end point / intermediate point with each winding point on the arc, the drawing of the winding pattern is realized.

[0077] It is easy to understand that the key points and the winding points do not correspond one by one. By calling the key points in the key point structure, at least one corresponding winding point is determined, and then the drawing of the target winding pattern is realized through the winding points. Compared with manually setting the winding points, it often has higher accuracy and efficiency.

[0078] Step S300, obtain a drawing instruction, and select target winding lines to connect associated winding points according to the drawing instruction to obtain a target winding pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information.

[0079] Specifically, after determining the winding points of the target winding pattern, it is necessary to connect the winding points to obtain the complete target winding pattern. At this time, a drawing instruction is obtained. Through the drawing instruction, the corresponding winding wire can be selected to connect and draw the winding points of the determined target winding pattern, and finally the completed target winding pattern is obtained. Among them, when connecting and drawing the winding points, it is necessary to wind according to a specific order, and this order is the order information corresponding to the key points stored in the key point structure. Therefore, when drawing the corresponding winding points, select the corresponding winding wire to draw the associated winding points. At this time, the associated winding points are the adjacent winding points corresponding to the order information of the key points.

[0080] In this embodiment, the obtained drawing instruction can be the drawing operation instruction received by the user, or the drawing trigger instruction when the preset drawing condition is met. This embodiment does not limit this. In addition, it should be noted that in this drawing instruction, it includes the line type selection instruction of the target drawing line. For example, the line types of the drawing line include jumper wires, cut wires, non-weld wires, conventional wires, etc. By obtaining the selection instruction in the drawing instruction, select the line type used between the corresponding winding points to draw the target winding pattern.

[0081] It should be noted that after obtaining the complete target winding pattern, it is also necessary to set the layout parameters of the target winding pattern to obtain the winding layout, and then based on the winding layout, use an automatic wire winding machine to perform the automatic wire winding process of the smart card. Among them, the layout parameters of the set target winding pattern include parameters such as the coil setting direction, the number of coil columns, the coil distance, and the coil position. Specifically, obtain a layout setting instruction, and this layout setting instruction includes layout parameters. According to the layout parameters, adjust the target winding pattern to obtain the winding layout, and serialize the winding layout to obtain a winding layout data file.

[0082] Step S400, serialize the target winding pattern to obtain a winding layout data file.

[0083] Specifically, after obtaining the complete target winding pattern, in order to improve the portability of the target winding pattern, it is necessary to serialize the obtained target winding pattern to obtain a winding layout data file.

[0084] It should be noted that this winding layout data file is a file recognizable by the automatic wire winding machine. After receiving the winding layout data file, the automatic wire winding machine can obtain the execution instruction corresponding to the winding layout by parsing the data file, and then perform the corresponding winding action according to the execution instruction to complete the automatic winding of the coil of the smart card.

[0085] It is easy to understand that the obtained winding layout data file can also be used as the basic data file for subsequent drawing of the winding layout. By parsing the data file, the winding graphics corresponding to the winding layout are obtained, and then addition, deletion, and modification are performed on the winding graphics to improve the drawing efficiency of the winding graphics.

[0086] In addition, if after obtaining the complete target winding graphics, the layout parameters of the target winding graphics are also set. At this time, the winding layout with the set layout parameters is serialized to obtain a winding layout data file. This winding layout data also records the corresponding layout setting parameters. The automatic winding machine obtains the corresponding layout setting parameters after parsing and performs the winding action on the layout with these layout parameters to complete the automatic winding of the smart card.

[0087] In this embodiment, by obtaining the key point information for drawing the winding graphics and drawing the target winding graphics based on the key point information, a winding layout data file is obtained. Compared with the current method of obtaining the winding layout through programming, it has higher efficiency and also improves the flexibility and portability of the winding layout drawing.

[0088] For ease of understanding, refer to Figure 3 , Figure 3 which is a schematic flowchart of the second embodiment of the winding layout drawing method of the present invention. Based on the first embodiment of the winding layout drawing method as shown in Figure 2 , the second embodiment of the winding layout drawing method is proposed in this embodiment, specifically as follows:

[0089] Step S500, obtain target graphic data; wherein, the target graphic data is the position information and sequence information of the key points of the target graphic.

[0090] Specifically, in this embodiment, before drawing the target winding graphics, in order to obtain the winding points of the target winding graphics, it is necessary to construct a key point structure for providing winding points. By calling the key point structure, the position information and sequence information corresponding to the key points are obtained, and then the winding points are determined to realize the drawing of the target winding graphics.

[0091] It should be noted that to construct the key point structure, it is necessary to first obtain the target graphic data, which specifically includes the position information and sequence information of the key points of the target graphic. Among them, the key points can be end points, intermediate points, associated points, etc. For obtaining the corresponding winding points through the key points, this embodiment will not elaborate.

[0092] At this time, it is easy to understand that the obtained target graphic data includes the first graphic data in the original wire routing layout data file and / or the second graphic data in the standard graphic file. Among them, the original wire routing layout data file is a serialized wire routing layout or wire routing graphic, which is called and reused secondarily by using its highly portable characteristics. By directly calling the original wire routing layout data file, the reuse rate of the wire routing layout can be improved; the standard graphic file is a file stored with the corresponding wire routing graphic made by a drawing software, such as a DXF file, etc. By directly calling the standard graphic file, further drawing and modification can be carried out on the semi-finished graphic file, improving the drawing efficiency of the wire routing layout.

[0093] Specifically, after receiving the original wire routing layout data file, it is necessary to perform deserialization processing on the original wire routing layout data file to obtain the original wire routing layout, and then extract the first graphic data in the wire routing layout. By processing the first graphic data, the position information and sequence information of the key points can be obtained.

[0094] Specifically, after receiving the standard graphic data file, it is necessary to parse the standard graphic file to obtain the second graphic data in the standard graphic file. By processing the second graphic data, the position information and sequence information of the key points can be obtained.

[0095] After obtaining the first graphic data and the second graphic data, by extracting the key points of the first graphic data and / or the second graphic data, the position information and sequence information of the key points can be obtained.

[0096] Step S600, using the position information and sequence information of the key points to establish a key point structure; wherein, the key point structure includes at least one key point.

[0097] Specifically, in this embodiment, after obtaining the position information and sequence information of the key points of the target graphic, a key point structure is established for all the position information and sequence information of the key points. The key point structure includes at least one key point.

[0098] In this embodiment, a key point structure is provided to determine the winding points by using the position information and sequence information of the key points in the key point structure, and then draw the target wire routing graphic. By obtaining the target graphic in the original wire routing layout data file and / or the standard graphic file, extracting the information of the key points in the target graphic, and thus obtaining a callable key point structure, so as to call the key point structure to draw the target wire routing layout. This embodiment utilizes the portability of the wire routing layout data file and the characteristic of calling the key point structure, improving the drawing efficiency of the wire routing layout.

[0099] Refer to Figure 4 , Figure 4This is the structural block diagram of the first embodiment of the wire-wrapping layout drawing device of the present invention.

[0100] As shown in Figure 4 , the wire-wrapping layout drawing device proposed in the embodiment of the present invention includes:

[0101] A calling module 10, configured to call a key point structure body to obtain key point information; wherein, the key point structure body includes at least one key point, and the key point information is the position information and sequence information of the key point;

[0102] A determining module 20, configured to determine the winding points of the target wire-wrapping pattern based on the position information of the key points;

[0103] A connecting module 30, configured to connect associated winding points by using a winding wire with a preset line type to obtain a target wire-wrapping pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information;

[0104] A serialization module 40, configured to serialize the target wire-wrapping pattern to obtain a wire-wrapping layout data file.

[0105] As an implementation manner, the wire-wrapping layout drawing device further includes a setting module 50, and the setting module 50 is further configured to obtain a layout setting instruction; wherein, the layout setting instruction includes layout parameters, and the layout parameters include at least one of a coil direction, a coil column number, a coil distance, and a coil position; according to the layout parameters, adjust the target winding pattern to obtain a wire-wrapping layout; serialize the wire-wrapping layout to obtain a wire-wrapping layout data file.

[0106] As an implementation manner, the setting module 50 is further configured to adjust the winding parameters of the winding wire in the target wire-wrapping pattern; wherein, the winding parameters include at least one of a winding end point position, a winding head pressure value, a Z-axis offset, a winding speed, or a winding acceleration time.

[0107] The wire-wrapping layout drawing device provided in this embodiment obtains the key point information for drawing the wire-wrapping pattern, and draws the target wire-wrapping pattern based on the key point information, thereby obtaining a wire-wrapping layout data file. Compared with obtaining the wire-wrapping layout through programming currently, it has higher efficiency, and also improves the flexibility and portability of wire-wrapping layout drawing.

[0108] Based on the first embodiment of the above-mentioned wire layout drawing device of the present invention, a second embodiment of the wire layout drawing device of the present invention is proposed. In this embodiment, the wire layout drawing device further includes a building module 60, and the building module 60 is further configured to obtain target graphic data; wherein, the target graphic data is the position information and sequence information of the key points of the target graphic; by using the position information and sequence information of the key points, a key point structure body is built; wherein, the key point structure body includes at least one key point.

[0109] As an implementation manner, the building module 60 is further configured to obtain graphic data; wherein, the graphic data includes first graphic data in the original wire layout data file and / or second graphic data in the standard graphic file; extract the key points of the first graphic data and / or the second graphic data to obtain the position information and sequence information of the key points.

[0110] As an implementation manner, the graphic data includes first graphic data, and the building module 60 is further configured to receive the original wire layout data file; perform deserialization processing on the original wire layout data file to obtain the original wire layout; extract the first graphic data in the original wire layout.

[0111] As an implementation manner, the graphic data includes second graphic data, and the building module 60 is further configured to receive the standard graphic file; parse the standard graphic file to obtain the second graphic data in the standard graphic file.

[0112] A key point structure body is provided to determine the winding points by using the position information and sequence information of the key points in the key point structure body, and then draw the target wire winding graphic. By obtaining the target graphic in the original wire layout data file and / or the standard graphic file, extracting the information of the key points in the target graphic, and thus obtaining a callable key point structure body, so as to call the key point structure body to draw the target wire layout, this embodiment utilizes the portability of the wire layout data file and the characteristics of the call of the key point structure body, and improves the drawing efficiency of the wire layout.

[0113] For other embodiments or specific implementation manners of the wire layout drawing device of the present invention, reference may be made to the above-mentioned method embodiments, which will not be elaborated herein.

[0114] In addition, an embodiment of the present invention further provides a storage medium, on which a wiring layout drawing program is stored. When the wiring layout drawing program is executed by a processor, the steps of the wiring layout drawing method described above are implemented. Therefore, details will not be described herein again. In addition, the beneficial effects of using the same method will not be described again. For the technical details not disclosed in the embodiment of the computer-readable storage medium involved in this application, please refer to the description of the method embodiment of this application. By way of example, the program instructions can be deployed to be executed on one computing device, or on multiple computing devices located at one location, or alternatively, on multiple computing devices distributed at multiple locations and interconnected by a communication network.

[0115] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing relevant hardware through a computer program. The above program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the above storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0116] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement without creative efforts.

[0117] Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware. Of course, it can also be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components, etc. Generally, functions accomplished by computer programs can easily be implemented by corresponding hardware, and there can be various specific hardware structures for implementing the same function, such as analog circuits, digital circuits or dedicated circuits, etc. However, for the present invention, software program implementation is a better embodiment in more cases. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a floppy disk, USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disc of a computer, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.

Claims

1. A method for drawing a winding layout, characterized in that The method includes the following steps: Call the key point structure to obtain key point information; wherein, the key point structure includes at least one key point, and the key point information is the position information and sequence information of the key point; Based on the position information of the key point, determine the winding points of the target winding pattern; Obtain a drawing instruction, and select a target winding line according to the drawing instruction to connect associated winding points to obtain a target winding pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information; Serialize the target winding pattern to obtain a winding layout data file; Before the step of calling the key point structure to obtain key point information, the method further includes: Obtain target graphic data; wherein, the target graphic data is the position information and sequence information of the key points of the target graphic; Use the position information and sequence information of the key points to establish a key point structure; wherein, the key point structure includes at least one key point; The step of obtaining target graphic data specifically includes: Obtain graphic data; wherein, the graphic data includes first graphic data in an original winding layout data file and / or second graphic data in a standard graphic file; Extract the key points of the first graphic data and / or the second graphic data to obtain the position information and sequence information of the key points; When the graphic data includes first graphic data, the step of obtaining graphic data specifically includes: Receive an original winding layout data file; Perform deserialization processing on the original winding layout data file to obtain an original winding layout; Extract the first graphic data from the original winding layout; When the graphic data includes second graphic data, the step of obtaining graphic data specifically includes: Receive a standard graphic file; Parse the standard graphic file to obtain the second graphic data in the standard graphic file.

2. The winding layout drawing method according to claim 1, characterized in that After the step of obtaining a drawing instruction, and selecting a target winding line according to the drawing instruction to connect associated winding points to obtain a target winding pattern, the method further includes: Obtain a layout setting instruction; wherein, the layout setting instruction includes layout parameters, and the layout parameters include at least one of coil direction, number of coil columns, coil distance, and coil position; Adjust the target winding pattern according to the layout parameters to obtain a winding layout; Serialize the winding layout to obtain a winding layout data file.

3. The wire winding layout drawing method according to claim 1, characterized in that After the step of obtaining a drawing instruction, and selecting a target winding line according to the drawing instruction to connect associated winding points to obtain a target winding pattern, the method further includes: Adjust the winding parameters of the winding line in the target winding pattern; wherein, the winding parameters include at least one of winding end point position, winding head pressure value, Z-axis offset, winding speed, or winding acceleration time.

4. A wire winding layout drawing device, characterized in that, The winding layout drawing device includes: A calling module for calling the key point structure to obtain key point information; wherein, the key point structure includes at least one key point, and the key point information is the position information and sequence information of the key point; A determining module for determining the winding points of the target winding pattern based on the position information of the key point; A connection module, configured to obtain a drawing instruction and select a target winding line to connect associated winding points according to the drawing instruction, so as to obtain a target winding pattern; wherein, the associated winding points are adjacent winding points corresponding to the sequence information; A serialization module, configured to serialize the target winding pattern to obtain a winding layout data file; The winding layout drawing device is further configured to obtain target graphic data; wherein, the target graphic data is the position information and sequence information of key points of a target graphic; and establish a key point structure by using the position information and sequence information of the key points; wherein, the key point structure includes at least one key point; The winding layout drawing device is further configured to obtain graphic data; wherein, the graphic data includes first graphic data in an original winding layout data file and / or second graphic data in a standard graphic file; and extract key points of the first graphic data and / or the second graphic data to obtain the position information and sequence information of the key points; The winding layout drawing device is further configured to receive an original winding layout data file; perform deserialization processing on the original winding layout data file to obtain an original winding layout; extract first graphic data in the original winding layout; and / or receive a standard graphic file; parse the standard graphic file to obtain second graphic data in the standard graphic file.

5. A wire winding layout drawing device, characterized in that, The winding layout drawing device includes: a memory, a processor, and a winding layout drawing program stored on the memory and executable on the processor, and when the winding layout drawing program is executed by the processor, the steps of the winding layout drawing method according to any one of claims 1 to 3 are implemented.

6. A storage medium, characterized in that, A winding layout drawing program is stored on the storage medium, and when the winding layout drawing program is executed by a processor, the steps of the winding layout drawing method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Spatially self-verifying array of nodes

    CA3148476A1

  • Connecting device, appliances and communication method

    CN103545936A