PCTC ship lineation path generation method and device, equipment, storage medium and program product

By dividing the PCTC ship steel plate tiling program file into the first and second tilings, generating paths based on their characteristics, and determining the target tiling paths in combination with the two, the problem of excessive length of the hollow path in the prior art is solved, and the problem of excessive length of the hollow path in the prior art is improved The steel plate scribing and cutting efficiency are achieved, saving construction costs.

CN118886573APending Publication Date: 2024-11-01SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410760319.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the prior art, when generating PCTC ship steel plate tiling paths, the length of the empty path is relatively long, resulting in low production efficiency. Since the problem is an NP problem, it is difficult to obtain an optimal solution, resulting in low efficiency of the tiling paths.

Method used

By dividing the scribing program file to be optimized into a first scribing line and a second scribing line, a corresponding path is generated based on the characteristics of the first scribing line and the second scribing line, and a target scribing line path is determined in combination with both, reducing empty space Path length.

Benefits of technology

A shorter target scribing path length is achieved, improving steel plate scribing and cutting efficiency, and saving construction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886573A_ABST
    Figure CN118886573A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a PCTC ship lineation path generation method and device, equipment, a storage medium and a program product. The method comprises the following steps: acquiring a scribing program file to be optimized; dividing the lineation program file to be optimized into a first lineation and a second lineation; the first marking line is a marking line corresponding to the binding bowl; generating a first lineation path based on a feature corresponding to the first lineation; generating a second lineation path based on a feature corresponding to the second lineation; determining a target scribing path based on the first scribing path and the second scribing path; the target scribing path comprises an idle stroke path. According to the embodiment of the invention, the more accurate target scribing path can be obtained, and compared with the prior art, the total idle stroke path length in the target scribing path is shorter, so that the PCTC ship steel plate scribing efficiency and the steel plate cutting efficiency can be improved, and the construction cost can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of shipbuilding construction / engineering technology, and in particular to a method, device, equipment, storage medium and program product for generating a PCTC ship line path. Background Art

[0002] Ship construction starts with cutting steel plates. Before cutting steel plates, the assembly lines, direction lines and other information need to be marked on the steel plates. Therefore, the marking work needs to be completed before the cutting program performs the cutting operation. There is a lot of information that needs to be marked on the steel plates. Generally, the marking path is generated by the nesting program according to a specific algorithm, but there is a large empty path length.

[0003] From a production perspective, the shorter the idle path length, the less waste of production time. However, from a mathematical calculation perspective, this type of problem belongs to a non-deterministic polynomial time (NP) problem, that is, as the number of nodes increases, the amount of calculation increases exponentially, resulting in the inability to obtain an optimal solution under normal circumstances. Therefore, in the nesting program, fixed principles or specific algorithms are usually used to generate the marking path, but these methods often do not consider the problem of the idle path, or even if they are considered, they cannot guarantee the optimal solution. Due to the different emphases of these rules or algorithms themselves, and the discrete distribution of the marking segments on the steel plate, the idle path lengths of the marking paths vary greatly. If the idle path length is too large, it will directly lead to a decrease in the production efficiency of steel plate marking. Summary of the invention

[0004] The present invention provides a method, device, equipment, storage medium and program product for generating a PCTC ship marking path, which can obtain a more accurate target marking path. The total idle path length in the target marking path of this scheme is shorter, thereby improving the steel plate marking production efficiency.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for generating a marking path for a PCTC ship, comprising: obtaining a marking program file to be optimized; dividing the marking program file to be optimized into a first marking and a second marking; the first marking is a marking corresponding to a lashing bowl; generating a first marking path based on a feature corresponding to the first marking; generating a second marking path based on a feature corresponding to the second marking; determining a target marking path based on the first marking path and the second marking path; the target marking path includes an empty path.

[0006] In a second aspect, an embodiment of the present disclosure further provides a device for generating a marking path for a PCTC ship, comprising: a marking program file acquisition module, used to acquire a marking program file to be optimized; a division module, used to divide the marking program file to be optimized into a first marking and a second marking; the first marking is a marking corresponding to a lashing bowl; a first marking path generation module, used to generate a first marking path based on a feature corresponding to the first marking; a second marking path generation module, used to generate a second marking path based on a feature corresponding to the second marking; a target marking path determination module, used to determine a target marking path based on the first marking path and the second marking path; the target marking path includes an empty path.

[0007] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating a PCTC ship line path as described in the embodiment of the present disclosure.

[0008] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the method for generating a PCTC ship line path as described in an embodiment of the present disclosure.

[0009] The technical solution of the embodiment of the present disclosure is to obtain a marking program file to be optimized; divide the marking program file to be optimized into a first marking and a second marking; the first marking is the marking corresponding to the lashing bowl; generate a first marking path based on the feature corresponding to the first marking; generate a second marking path based on the feature corresponding to the second marking; determine a target marking path based on the first marking path and the second marking path; the target marking path includes an empty path. The embodiment of the present disclosure divides the marking program file to be optimized into a first marking and a second marking, generates a first marking path based on the feature corresponding to the first marking, generates a second marking path based on the feature corresponding to the second marking, and determines the target marking path based on the first marking path and the second marking path, so that a more accurate target marking path can be obtained. Compared with the prior art, the total empty path length in the target marking path of this scheme is shorter, thereby improving the efficiency of PCTC ship steel plate marking and steel plate cutting, and further saving construction costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0011] Figure 1 A schematic flow chart of a method for generating a PCTC ship line path provided in an embodiment of the present invention;

[0012] Figure 2 A layout to be optimized and required to be marked provided in an embodiment of the present invention;

[0013] Figure 3 A first scribing schematic diagram provided for an embodiment of the present invention;

[0014] Figure 4 A second scribing schematic diagram provided for an embodiment of the present invention;

[0015] Figure 5 A schematic diagram of a first scribing path provided in an embodiment of the present invention;

[0016] Figure 6 A schematic diagram of a second scribing path provided in an embodiment of the present invention;

[0017] Figure 7 A schematic diagram of a target marking path provided by an embodiment of the present invention;

[0018] Figure 8 A schematic diagram of the structure of a device for generating a PCTC ship line path provided in an embodiment of the present disclosure;

[0019] Fig. 9 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0021] It should be understood that the various steps recorded in the method implementation of the present disclosure can be performed in different orders and / or in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect. The term "including" and its variations used herein are open inclusions, that is, "including but not limited to". It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise clearly stated in the context, it should be understood as "one or more". It is understandable that the data involved in the present technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of the corresponding laws, regulations and relevant provisions.

[0022] Figure 1 The present invention provides a flow chart of a method for generating a PCTC ship-stroke path. The present invention is applicable to the case of generating a PCTC ship-stroke path. The method can be executed by a PCTC ship-stroke path generating device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC, or a server. Figure 1 As shown, the method includes:

[0023] In this embodiment, the marking path of the Pure Car and Truck Carrier (PCTC) ship is also the target marking path, which is used for subsequent machinery and equipment to complete the marking work according to the target marking path. The target marking path has a smaller total idle path length, which can improve the marking efficiency.

[0024] S110, obtaining a marking program file to be optimized.

[0025] Among them, the marking program file to be optimized can be understood as the layout to be optimized and required to be marked, such as Figure 2 As shown, Figure 2 A layout to be optimized and requiring marking is provided in an embodiment of the present invention. Figure 2 The displayed marking part can be understood as the part that requires actual marking by machines during the steel plate marking process. Figure 2 The circular line in the middle is the line corresponding to the lashing bowl, and the center of the circle is used to locate the position of the lashing bowl line. The remaining lines are other lines, such as assembly lines, direction lines, centering lines, etc., which can be expressed as straight lines.

[0026] S120, dividing the line drawing program file to be optimized into a first line drawing and a second line drawing.

[0027] The first marking line is the marking line corresponding to the tying bowl, and the second marking line is all the marking lines after removing the first marking line, that is, the remaining marking lines. The marking lines in the marking program file to be optimized include the first marking line and the second marking line.

[0028] In this embodiment, the first marking line can be separated from the marking program file to be optimized according to the circular feature of the lashing bowl, and the remaining marking line is used as the second marking line. In this embodiment, both the first marking line and the second marking line can be used for the subsequent positioning and accuracy confirmation of parts.

[0029] Optionally, the marking program file to be optimized is divided into a first marking line and a second marking line, including: separating the first marking line from the marking program file to be optimized based on the characteristics of the binding bowl; and using the separated marking line in the marking program file to be optimized as the second marking line.

[0030] In this embodiment, since the tying bowls are all circular, the first stroke can be separated from the stroke program file to be optimized according to the circular feature of the tying bowl, and the stroke in the stroke program file to be optimized after separation is used as the second stroke, that is, except for the first stroke, the remaining strokes can be used as the second stroke. Figure 3 As shown and Figure 4 As shown, Figure 3 A first scribing schematic diagram provided in an embodiment of the present invention. Figure 3 The middle circular line is the first line, and the dot inside the circular line is the center of the circle. The center of the circle can be understood as an auxiliary mark for locating the position of the circular line (i.e. the binding bowl line, also the first line). Figure 4 A second scribing schematic diagram provided in an embodiment of the present invention. Figure 4 All the dash lines in can be used as the second dash line. The first dash line and the second dash line are both represented by solid lines, but have different shapes.

[0031] S130: Generate a first scribing path based on features corresponding to the first scribing line.

[0032] The features corresponding to the first strokes may include the position features of the first strokes and the arrangement order features of the first strokes (i.e., the set order features). In this embodiment, since the arrangement of the tying bowls is regular and arranged in a matrix, the multiple first strokes may be processed (connected) in sequence according to the features of the first strokes to obtain the first stroke path. The first stroke path includes an empty path.

[0033] For the empty path, at each position line (i.e. solid line, also known as the marked line) distributed in the entire steel plate, after marking a line segment, the marking machine moves from the end point of the previous marked line segment to the starting point of the next marked line segment. During this period, the path traveled by the marking machine is called the empty path.

[0034] Optionally, generating a first marking path based on features corresponding to the first marking lines includes: generating the first marking path based on position features of a plurality of the first marking lines and setting a sequence; the first marking path includes an idle path corresponding to a binding bowl.

[0035] Wherein, the number of the binding bowls is multiple. In this embodiment, there is no specific limitation on the setting sequence, for example, it can be from left to right, from top to bottom, from right to left, from bottom to top, etc. In this embodiment, when marking multiple first lines in sequence according to the set sequence, the marking process is performed in accordance with the principle of the shortest distance between two first lines. Figure 5 As shown, Figure 5 A schematic diagram of a first scribing path provided by an embodiment of the present invention. The process of generating the first scribing path may be: Figure 5 Start with the first line in the lower right corner, and draw lines (connect) in the set order. Figure 5 The first dash line in the lower left corner ends (without interruption), and the distance between each two first dash lines connected (with dotted lines) is the minimum distance. Figure 5 The dotted line in the figure represents an empty path. The starting point of the first dashed path can be Figure 5 The center of the circle corresponding to the first stroke in the lower left corner, the end point of the first stroke path can be Figure 5 It should be noted that when the marking machine moves from the current first marking to the next first marking, the distance between each candidate first marking and the current first marking can be calculated based on the positional features of the first marking, and the candidate first marking with the smallest distance is used as the target next first marking, and the distance between the current first marking and the target next first marking is the smallest.

[0036] S140: Generate a second scribing path based on the feature corresponding to the second scribing line.

[0037] In this embodiment, there is no restriction on the order of generating the first marking path and generating the second marking path. In this embodiment, the second marking path can be generated based on the features corresponding to the second marking line in any manner so that the idle path of the second marking path is the shortest.

[0038] Optionally, generating a second scribing path based on the feature corresponding to the second scribing line includes: generating the second scribing path based on the feature corresponding to the second scribing line through a nesting program.

[0039] In this embodiment, the process of generating the second stroke path is the same as the original method of generating the stroke path. For example, the second stroke path can be generated based on the characteristics corresponding to the second stroke according to the principle of the nesting program itself. The characteristics corresponding to the second stroke include the starting point and the ending point of the second stroke. The starting point and the ending point of the second stroke can be determined by the nesting program according to the actual processing process.

[0040] For example, Figure 6 Schematic diagram of a second scribing path provided by an embodiment of the present invention. Figure 6 As shown, it can be Figure 6 The bottom end of the leftmost vertical line in is used as the starting point of the second stroke path. Figure 6 The right end of the third horizontal line from top to bottom can be used as the end point of the second stroke path. Figure 6 The dotted line in is the empty path, and the solid line is the second stroke.

[0041] S150: Determine a target marking path based on the first marking path and the second marking path.

[0042] Wherein, the target marking path includes an empty path. In this embodiment, the first marking path and the second marking path are connected to obtain the target marking path.

[0043] Optionally, determining a target marking path based on the first marking path and the second marking path includes: determining a target connection point between the first marking path and the second marking path; and connecting the first marking path and the second marking path into the target marking path according to the target connection point.

[0044] In this embodiment, the target connection point between the first marking path and the second marking path may be determined according to the principle of minimum distance between two points, and the first marking path and the second marking path may be connected to form a target marking path according to the target connection point.

[0045] Optionally, determining a target connection point between the first marking path and the second marking path includes: respectively determining a distance between a starting point of the first marking path and a starting point of the second marking path, a distance between a starting point of the first marking path and an ending point of the second marking path, a distance between an ending point of the first marking path and a starting point of the second marking path, and a distance between an ending point of the first marking path and an ending point of the second marking path; and determining a target connection point between the first marking path and the second marking path based on the distances.

[0046] Wherein, the target connection point is the two points with the smallest distance. In this embodiment, the distance between the starting point of the first line drawing path and the starting point of the second line drawing path, the distance between the starting point of the first line drawing path and the ending point of the second line drawing path, the distance between the ending point of the first line drawing path and the starting point of the second line drawing path, and the distance between the ending point of the first line drawing path and the ending point of the second line drawing path are determined respectively to obtain multiple distance results, and the two points corresponding to the smallest distance among the multiple distance results are used as the target connection points of the first line drawing path and the second line drawing path.

[0047] Optionally, connecting the first marking path and the second marking path into a target marking path according to the target connection point includes: connecting two points within the target connection point to connect the first marking path and the second marking path.

[0048] In this embodiment, two points in the target connection point are connected, so that the connection between the first stroke path and the second stroke path can be achieved, and then the target stroke path can be obtained. Among them, the path between two points in the target connection point can also be called an empty path, and the connecting line between the two points in the target connection point is represented by a dotted line. The target stroke path can be composed of a first stroke path and a second stroke path. The total empty path length in the target stroke path is the sum of the total empty path length of the first stroke path, the total empty path length of the second stroke path, and the path length between the two points in the target connection point.

[0049] For example, Figure 7 Schematic diagram of the target marking path provided by the embodiment of the present invention. Figure 7 As shown, the target connection point is the end point in the first dashed path ( Figure 7 The center of the circle corresponding to the first stroke in the lower left corner) and the starting point of the second stroke path ( Figure 7 The end point in the first stroke path and the starting point in the second stroke path are connected by a dotted line.

[0050] It should be noted that the starting point of the first marking path, the ending point of the first marking path, and the starting point of the second marking path and the ending point of the second marking path are variable. Figure 7 The center of the circle corresponding to the first stroke line in the lower left corner can be used as the end point of the first stroke line path, and can also be used as the starting point of the first stroke line path.

[0051] The technical solution of the embodiment of the present disclosure is to obtain a marking program file to be optimized; divide the marking program file to be optimized into a first marking and a second marking; the first marking is the marking corresponding to the lashing bowl; generate a first marking path based on the feature corresponding to the first marking; generate a second marking path based on the feature corresponding to the second marking; determine a target marking path based on the first marking path and the second marking path; the target marking path includes an empty path. The embodiment of the present disclosure divides the marking program file to be optimized into a first marking and a second marking, generates a first marking path based on the feature corresponding to the first marking, generates a second marking path based on the feature corresponding to the second marking, and determines the target marking path based on the first marking path and the second marking path, so that a more accurate target marking path can be obtained. Compared with the prior art, the total empty path length in the target marking path of this scheme is shorter, thereby improving the efficiency of PCTC ship steel plate marking and steel plate cutting, and further saving construction costs.

[0052] Compared with the prior art, the method for generating a target marking path provided in this embodiment can greatly reduce the length of unnecessary idle paths, indirectly improve the efficiency of marking PCTC ship steel plates, improve the cutting efficiency under the premise of mass production of PCTC ships, and generate considerable economic benefits.

[0053] Figure 8 A schematic diagram of a PCTC ship line path generation device provided in an embodiment of the present disclosure is shown in FIG. Figure 8 As shown, the device includes: a marking program file acquisition module 810, a division module 820, a first marking path generation module 830, a second marking path generation module 840 and a target marking path determination module 850;

[0054] The marking program file acquisition module 810 is used to acquire the marking program file to be optimized;

[0055] A division module 820 is used to divide the marking program file to be optimized into a first marking line and a second marking line; the first marking line is a marking line corresponding to the lashing bowl;

[0056] A first scribing path generating module 830, configured to generate a first scribing path based on the feature corresponding to the first scribing line;

[0057] A second scribing path generating module 840, configured to generate a second scribing path based on the feature corresponding to the second scribing line;

[0058] The target marking path determining module 850 is configured to determine a target marking path based on the first marking path and the second marking path; the target marking path includes an idle path.

[0059] The technical solution of the embodiment of the present disclosure is to obtain the marking program file to be optimized through the marking program file acquisition module; to divide the marking program file to be optimized into the first marking and the second marking through the division module; the first marking is the marking corresponding to the lashing bowl; the first marking path is generated based on the feature corresponding to the first marking through the first marking path generation module; the second marking path is generated based on the feature corresponding to the second marking through the second marking path generation module; the target marking path is determined based on the first marking path and the second marking path through the target marking path determination module; the target marking path includes an empty path. In the embodiment of the present disclosure, by dividing the marking program file to be optimized into the first marking and the second marking, generating the first marking path based on the feature corresponding to the first marking, generating the second marking path based on the feature corresponding to the second marking, and determining the target marking path based on the first marking path and the second marking path, a more accurate target marking path can be obtained. Compared with the prior art, the total empty path length in the target marking path of the present solution is shorter, thereby improving the efficiency of PCTC ship steel plate marking and steel plate cutting efficiency, thereby saving construction costs.

[0060] Optionally, the division module is specifically used to: separate the first marking line from the marking program file to be optimized based on the characteristics of the tying bowl; and use the separated marking line in the marking program file to be optimized as the second marking line.

[0061] Optionally, the first marking path generating module is specifically used to: generate a first marking path based on a plurality of position features of the first markings and a set sequence; the first marking path includes an idle path corresponding to the binding bowl.

[0062] Optionally, the second marking path generating module is specifically used to: generate a second marking path based on features corresponding to the second marking line through a nesting program.

[0063] Optionally, the target marking path determining module is specifically used to: determine a target connection point between the first marking path and the second marking path; and connect the first marking path and the second marking path into a target marking path according to the target connection point.

[0064] Optionally, the target marking path determination module is also used to: respectively determine the distance between the starting point of the first marking path and the starting point of the second marking path, the distance between the starting point of the first marking path and the ending point of the second marking path, the distance between the ending point of the first marking path and the starting point of the second marking path, and the distance between the ending point of the first marking path and the ending point of the second marking path; determine the target connection point of the first marking path and the second marking path based on the distance; wherein the target connection point is the two points with the smallest distance.

[0065] Optionally, the target marking path determining module is further used to: connect two points within the target connection point so that the first marking path is connected to the second marking path.

[0066] The device for generating a PCTC ship-stroke path provided in the embodiment of the present disclosure can execute the method for generating a PCTC ship-stroke path provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.

[0067] Fig. 9 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0068] like Fig. 9 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0069] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0070] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the method PCTC ship line path generation.

[0071] In some embodiments, the generation of the method PCTC ship stroke path can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the generation of the method PCTC ship stroke path described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the generation of the method PCTC ship stroke path by any other appropriate means (for example, by means of firmware).

[0072] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0073] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0074] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0075] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0076] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0077] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0078] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for generating a PCTC ship line path as provided in any embodiment of the present application.

[0079] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0080] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for generating a PCTC ship line path, characterized in that: include: Obtaining the marking program file to be optimized; Dividing the line drawing program file to be optimized into a first line drawing and a second line drawing; The first line is the line corresponding to the lashing bowl; generating a first scribing path based on the feature corresponding to the first scribing line; generating a second scribing path based on the feature corresponding to the second scribing line; determining a target scribing path based on the first scribing path and the second scribing path; The target stroke path includes an idle path.

2. The method according to claim 1, characterized in that: Dividing the line marking program file to be optimized into a first line marking and a second line marking includes: Separating a first marking line from the marking program file to be optimized based on the characteristics of the lashing bowl; The separated strokes in the stroke program file to be optimized are used as the second strokes.

3. The method according to claim 1, characterized in that: The number of the binding bowls is multiple; generating a first marking path based on the features corresponding to the first marking includes: A first marking path is generated based on the position features of the plurality of first markings and a set sequence; the first marking path includes an idle path corresponding to the tying bowl.

4. The method according to claim 1, characterized in that Generating a second stroke path based on the feature corresponding to the second stroke includes: A second scribing path is generated based on the features corresponding to the second scribing line through a nesting program.

5. The method according to claim 1, characterized in that Determining a target scribing path based on the first scribing path and the second scribing path includes: determining a target connection point between the first scribing path and the second scribing path; The first scribing path and the second scribing path are connected to form a target scribing path according to the target connection point.

6. The method according to claim 5, characterized in that Determining a target connection point between the first scribing path and the second scribing path includes: respectively determining a distance between a starting point of the first marking path and a starting point of the second marking path, a distance between a starting point of the first marking path and an ending point of the second marking path, a distance between an ending point of the first marking path and a starting point of the second marking path, and a distance between an ending point of the first marking path and an ending point of the second marking path; A target connection point between the first marking path and the second marking path is determined based on the distance; wherein the target connection point is two points with the smallest distance.

7. The method according to claim 5, characterized in that Connecting the first scribing path and the second scribing path into a target scribing path according to the target connection point includes: Two points within the target connection point are connected so that the first marking path is connected to the second marking path.

8. A device for generating a PCTC ship line path, characterized in that: include: A marking program file acquisition module is used to acquire the marking program file to be optimized; A division module, used for dividing the marking program file to be optimized into a first marking line and a second marking line; the first marking line is a marking line corresponding to the lashing bowl; A first scribing path generating module, configured to generate a first scribing path based on a feature corresponding to the first scribing line; A second scribing path generating module, configured to generate a second scribing path based on a feature corresponding to the second scribing line; a target marking path determining module, configured to determine a target marking path based on the first marking path and the second marking path; The target stroke path includes an idle path.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating a PCTC ship line path as described in any one of claims 1-7.

10. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the method for generating a PCTC ship line path as claimed in any one of claims 1 to 7 when executed by a computer processor.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the method for generating a PCTC ship line path according to any one of claims 1 to 7.