Ship-based data processing method and ship management platform
By obtaining and processing cutting instructions in ship design software, the problems of low transmission efficiency of plate cutting instructions and not timely synchronization of design changes in traditional technology are solved, real-time release and design closed loop are achieved, and the efficiency and accuracy of design and construction are improved. .
Patent Information
- Application Number
- CN202411115156.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-26
AI Technical Summary
In traditional ship design software, the transmission efficiency of plate cutting instructions is low, and the designer's modification of cutting instructions and design drawings cannot be synchronized to the site in time, resulting in unavailability of cutting parts and wasting materials and time.
Provide a ship-based data processing method and management platform, obtain the cutting instruction file of the ship being borrowed, determine the borrowing relationship, copy and replace the historical instruction file, and detect the status flag to realize real-time release or prompt the design client to ensure that Closed loop of design change.
It saves the synchronization time between the design client and the construction end, avoids the waste of cutting boards, improves the accuracy of design changes and the design quality of subsequent ships.
Smart Images

Figure CN119026240A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of ship technology, and more specifically, to a ship-based data processing method and ship management platform. Background Art
[0002] Current ship design software mainly includes Tribon M3, AM, Smart 3D, Catia, SPD, etc. The design output of hull structure is divided into production design drawings and cutting instructions. Cutting instructions are divided into plate cutting instructions and profile cutting instructions.
[0003] Traditionally, Tribon M3's sheet metal cutting instructions are stored in a cloud drive with a specific path on the design side. The on-site construction department manually copies the instruction files from the designated project and segment directories according to the cutting plan to control the cutting machine to cut the sheet metal on-site. This is inefficient. Furthermore, after the designers modify the cutting instructions and production design drawings, the on-site construction department cannot respond in time. The downloaded cutting instructions and production design drawings may still be the ones before the modification, resulting in unusable parts after cutting. This is time-consuming, labor-intensive, and wasteful of sheet metal. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a ship-based data processing method and ship management platform to overcome at least one of the above-mentioned defects.
[0005] In a first aspect, embodiments of this application provide a ship-based data processing method applied to a ship management platform. The method includes: obtaining multiple cutting instruction files corresponding to a borrowed drying vessel from the ship design folder of the design client, wherein the hull of the borrowed drying vessel is divided into multiple segments, and each cutting instruction file includes multiple ship cutting instructions under one segment of the borrowed drying vessel; extracting a ship borrowing relationship table corresponding to the ship number of the borrowed drying vessel to determine multiple borrowing drying vessels with borrowing relationships with the borrowed drying vessel; for each borrowing drying vessel, generating multiple cutting instruction files corresponding to the borrowed drying vessel by copying the multiple cutting instruction files corresponding to the borrowed drying vessel; for each cutting instruction file, replacing the stored historical cutting instruction file corresponding to the instruction number of the cutting instruction file with the cutting instruction file, and detecting the status flag bit of the historical cutting instruction file; for each cutting instruction file, if the status flag bit indicates that the historical cutting instruction file has not been downloaded, then publishing the cutting instruction file; for each cutting instruction file, if the status flag bit indicates that the historical cutting instruction file has been downloaded, then providing a prompt message to the design client, the prompt message indicating that the cutting instruction file has not been published.
[0006] In one optional embodiment of this application, obtaining multiple cutting instruction files corresponding to the borrowed ship from the ship design folder of the design client includes: for each cutting instruction file, matching each symbol in the instruction number of the cutting instruction file according to the upload matching rules to determine whether the instruction number of the cutting instruction file conforms to the upload matching rules; for each cutting instruction file, if the cutting instruction file conforms to the upload matching rules, then obtaining the cutting instruction file from the ship design folder; for each cutting instruction file, if the cutting instruction file does not conform to the upload matching rules, then not obtaining the cutting instruction file from the ship design folder.
[0007] In one optional embodiment of this application, the cutting instruction file to be published is determined by the following method: for each cutting instruction file, according to the instruction number of the cutting instruction file, the cutting design drawing corresponding to the instruction number is obtained from the ship drawing system, and the drawing number of the cutting design drawing is determined; for each cutting instruction file, if the instruction number of the cutting instruction file matches the drawing number, then the cutting instruction file is determined to be a cutting instruction file that can be published.
[0008] In one optional embodiment of this application, the method further includes: for each cutting instruction file, searching for a historical instruction number that is the same as the instruction number corresponding to the cutting instruction file; for each cutting instruction file, if there is no historical instruction number that is the same as the instruction number, then directly storing the cutting instruction file; for each cutting instruction file, if there is a historical instruction number that is the same as the instruction number, then replacing the historical cutting instruction file corresponding to the historical instruction number with the cutting instruction file.
[0009] In one optional embodiment of this application, the status flag of the cutting instruction file is determined in the following way: for each published cutting instruction file, when it is detected that the cutting instruction file has been downloaded, the status flag of the cutting instruction file is determined to be locked, and the locked state indicates that the cutting instruction file has been downloaded.
[0010] In one optional embodiment of this application, the instruction number includes a ship number, a section number, a fixed letter, a cutting machine model, and a serial number. The cutting instruction file conforming to the upload matching rules is determined as follows: For each cutting instruction file, the ship number, section number, and cutting machine model are obtained from the instruction number of that cutting instruction file; for each cutting instruction file, according to the upload matching rules, it is determined whether the ship number and section number in the instruction number of that cutting instruction file match; for each cutting instruction file, if the ship number and section number in the instruction number do not match, then that cutting instruction file is determined to conform to the upload matching rules; for each cutting instruction file, if the ship number and section number match, it is determined whether the cutting machine model corresponds to the cutting machine at the construction end; for each cutting instruction file, if the cutting machine model does not correspond to the cutting machine at the construction end, then that cutting instruction file is determined to be a cutting instruction file that does not conform to the upload matching rules; for each cutting instruction file, if the cutting machine model corresponds to the cutting machine at the construction end, then that cutting instruction file is determined to conform to the upload matching rules.
[0011] Secondly, this application also provides a ship management platform, which includes: an acquisition module, used to acquire multiple cutting instruction files corresponding to a borrowed drying vessel from the ship design folder of the design client, wherein the hull of the borrowed drying vessel is divided into multiple sections, and each cutting instruction file includes multiple ship cutting instructions under one section of the borrowed drying vessel; an advance module, used to extract a ship borrowing relationship table corresponding to the ship number of the borrowed drying vessel to determine multiple borrowing drying vessels that have a borrowing relationship with the borrowed drying vessel; and a copying module, used to generate the borrowing relationship for each borrowing drying vessel by copying the multiple cutting instruction files corresponding to the borrowed drying vessel. The system includes multiple cutting instruction files corresponding to the ship's drying process; a detection module, used to replace the stored historical cutting instruction file corresponding to the instruction number of each cutting instruction file with the current cutting instruction file, and to detect the status flag of the historical cutting instruction file; a publishing module, used to publish each cutting instruction file if the status flag indicates that the historical cutting instruction file has not been downloaded; and a prompting module, used to provide a prompting message to the design client if the status flag indicates that the historical cutting instruction file has been downloaded, the prompting message indicating that the cutting instruction file has not been published.
[0012] In one optional embodiment of this application, the ship management platform is further configured to perform the following operations: for each cutting instruction file, according to the upload matching rules, match each bit of the instruction number in the cutting instruction file to determine whether the instruction number of the cutting instruction file conforms to the upload matching rules; for each cutting instruction file, if the cutting instruction file conforms to the upload matching rules, then retrieve the cutting instruction file from the ship design folder; for each cutting instruction file, if the cutting instruction file does not conform to the upload matching rules, then do not retrieve the cutting instruction file from the ship design folder.
[0013] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method described above are performed.
[0014] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the method described above.
[0015] The data processing method and ship management platform based on ships provided in this application embodiment obtain multiple cutting instruction files corresponding to the borrowed drying ship; identify multiple drying ships with a borrowing relationship with the borrowed drying ship; for each drying ship, generate multiple cutting instruction files corresponding to that drying ship by copying the multiple cutting instruction files corresponding to the borrowed drying ship; for each cutting instruction file, replace the stored historical cutting instruction file corresponding to the instruction number of that cutting instruction file with that cutting instruction file, and check the status flag of the historical cutting instruction file. If the status flag indicates that the historical cutting instruction file has not been downloaded, the cutting instruction file is published; if the status flag indicates that the historical cutting instruction file has been downloaded, a prompt message is provided to the design client. This application saves the synchronization time between the design client and the construction client.
[0016] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 A flowchart illustrating the ship-based data processing method provided in this application embodiment;
[0019] Figure 2 This is a schematic diagram of the structure of the ship management platform provided in the embodiments of this application;
[0020] Figure 3 The present application provides a schematic diagram of the structure of an electronic device. DETAILED DESCRIPTION
[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.
[0022] First, the applicable scenarios for this application will be introduced. This application can be applied to the field of shipbuilding technology.
[0023] Research has revealed that traditional sheet metal cutting instructions are stored in a cloud drive with a specific path on the design side. On-site construction departments manually copy the instruction files from designated project and segment directories according to the cutting plan to control the cutting machine to cut the sheet metal on-site. This is inefficient. Furthermore, after the designers modify the cutting instructions and production design drawings, the on-site construction department cannot respond in time. The downloaded cutting instructions and production design drawings may still be the unmodified versions, resulting in unusable parts, wasting time, effort, and sheet metal.
[0024] Based on this, embodiments of this application provide a ship-based data processing method and ship management platform, which acquires multiple cutting instruction files corresponding to a borrowed drying vessel; identifies multiple drying vessels with a borrowing relationship with the borrowed drying vessel; for each drying vessel, multiple cutting instruction files corresponding to the borrowed drying vessel are generated by copying the multiple cutting instruction files corresponding to the borrowed drying vessel; for each cutting instruction file, the stored historical cutting instruction file corresponding to the instruction number of the historical cutting instruction file is replaced with the current cutting instruction file, and the status flag of the historical cutting instruction file is detected. If the status flag indicates that the historical cutting instruction file has not been downloaded, the cutting instruction file is published; if the status flag indicates that the historical cutting instruction file has been downloaded, a prompt message is provided to the design client. This application saves time in synchronizing between the design client and the construction client.
[0025] See also Figure 1 , Figure 1 A flowchart illustrating a ship-based data processing method provided in an embodiment of this application.
[0026] The ship-based data processing method of this application is applied to a ship management platform. The cutting instruction file of the design client is stored in the ship management platform. The construction end downloads the cutting instruction file from the ship management platform. After preprocessing the cutting instruction file, a cutting instruction file that can be recognized by the cutting machine is obtained, so that the cutting machine can process according to the preprocessed cutting instruction file to generate ship parts.
[0027] like Figure 1 As shown in the embodiments of this application, the ship-based data processing method includes:
[0028] S101. Obtain multiple cutting instruction files corresponding to the borrowed ship from the ship design folder of the design client.
[0029] The hull of the borrowed ship is divided into multiple sections, and each cutting instruction file includes multiple ship cutting instructions for one section of the borrowed ship.
[0030] The ship design folder in the design client stores multiple cutting instruction files corresponding to the borrowed ship, which can be referred to as the parent model.
[0031] Here, the multiple cutting instruction files obtained from the ship design folder in the design client are cutting instruction files that meet the upload matching rules.
[0032] In one optional embodiment, the ship management platform can retrieve files from the ship design folder according to the time of each cutting instruction file at preset time intervals. For example, the cutting instruction file is retrieved once every 5 minutes. When it is detected that the storage time of the cutting instruction file in the ship design folder has been modified, the cutting instruction file with the modified storage time is retrieved and stored in the ship management platform.
[0033] In another optional embodiment, the ship management platform can obtain the cutting instruction file in the ship design folder in real time. Whenever it detects that the storage time of the cutting instruction file in the ship design folder has been modified, it can obtain the cutting instruction file whose storage time has been modified.
[0034] For each cutting instruction file, according to the upload matching rules, each symbol in the instruction number of the cutting instruction file is matched to determine whether the instruction number of the cutting instruction file conforms to the upload matching rules.
[0035] The instruction number includes the ship number, section number, fixed letter, cutting machine model, and serial number. The cutting instruction file that matches the uploaded matching rules is determined using the following method:
[0036] For each cutting instruction file, the following processing is performed: The ship number, section number, and cutting machine model are retrieved from the instruction number of the cutting instruction file. Based on the upload matching rules, it is determined whether the ship number and section number in the instruction number of the cutting instruction file match. If the ship number and section number do not match, the cutting instruction file is determined to be a cutting instruction file that conforms to the upload matching rules. If the ship number and section number match, it is determined whether the cutting machine model corresponds to the cutting machine at the construction end. If the cutting machine model does not correspond to the cutting machine at the construction end, the cutting instruction file is determined to be a cutting instruction file that does not conform to the upload matching rules. If the cutting machine model corresponds to the cutting machine at the construction end, the cutting instruction file is determined to be a cutting instruction file that conforms to the upload matching rules.
[0037] Determine if the ship number and section number exist, and whether the section number under the ship number matches the section number in the instruction number. Also, determine if the cutting file instruction corresponds to the section. If all conditions are met, then determine if the cutting machine model corresponds to the cutting machine at the construction end.
[0038] For example, the instruction number can be 1569421HCNX01, where 1569 is the design ship number, 421 is the section number, HC is a fixed letter, NX is the model of the cutting machine, and 01 is the serial number.
[0039] For example, the model of the cutting machine can be NX, NY, NZ, NA, NP, NR, NT, ST, SX, SY, SZ, FX, FY, FZ, FR, etc. If the model of the cutting machine is other types such as BL, the cutting instruction file will still exist in the ship design folder, but it will not be uploaded to the ship management platform.
[0040] For each cutting instruction file, if the cutting instruction file meets the upload matching rules, then the cutting instruction file is retrieved from the ship design folder;
[0041] For each cutting instruction file, if the cutting instruction file does not meet the upload matching rules, then the cutting instruction file will not be retrieved from the ship design folder.
[0042] S102. Extract the ship borrowing and drying relationship table corresponding to the ship number of the borrowed drying ship to identify multiple drying ships that have a borrowing and drying relationship with the borrowed drying ship.
[0043] Specifically, based on the ship number of the ship being borrowed for drying, a ship borrowing and drying relationship table and a ship section element table are determined. The ship section element table includes the ship number and the section number corresponding to each ship number. The ship borrowing and drying relationship table includes the borrowing ship number, the ship being borrowed for drying, and the relationship between the borrowing ship number and the ship being borrowed for drying. Each ship number corresponds to multiple section numbers, and each section number corresponds to a ship cutting instruction file. The ship cutting instruction file under the section number corresponding to the borrowing ship number is the same as the ship cutting instruction file under the section number corresponding to the ship being borrowed for drying.
[0044] Here, the ship management platform imports segment information and corresponding series of ship borrowing and drying relationship tables based on the ship segment element table. The ship management platform supports functions such as adding, deleting, modifying, and querying.
[0045] S103. For each borrowed drying boat, multiple cutting instruction files corresponding to the borrowed drying boat are copied to generate multiple cutting instruction files corresponding to that borrowed drying boat.
[0046] Here, whenever the client-side design needs to modify the cutting instruction file, only the borrowed drying vessel needs to be modified. The borrowed drying vessel can be modified synchronously through the ship management platform, saving time and effort.
[0047] S104. For each cutting instruction file, replace the stored historical cutting instruction file corresponding to the instruction number of the cutting instruction file with the cutting instruction file, and check the status flag bit of the historical cutting instruction file.
[0048] For each cutting instruction file, search for a historical instruction number that is the same as the instruction number corresponding to the cutting instruction file.
[0049] For each cutting instruction file, if there is no historical instruction number with the same number, the cutting instruction file is stored directly.
[0050] For each cutting instruction file, if a historical instruction number with the same number exists, the historical cutting instruction file corresponding to that historical instruction number is replaced with the current cutting instruction file.
[0051] S105. For each cutting instruction file, if the status flag indicates that the historical cutting instruction file has not been downloaded, then the cutting instruction file is published.
[0052] Specifically, the status flags of the cutting instruction file are determined in the following way:
[0053] For each published cutting instruction file, when the download of the cutting instruction file is detected, the status flag of the cutting instruction file is set to locked.
[0054] The locked status indicates that the cutting instruction file has been downloaded.
[0055] Here, the cutting instruction file to be published is determined in the following ways, including:
[0056] For each cutting instruction file, the cutting design layout corresponding to the instruction number is obtained from the ship drawing system, and the layout number of the cutting design layout is determined.
[0057] Here, the drawing issuance system and the ship management platform can be two independent platforms. The design client stores the cutting layout in the drawing issuance system, and the design client stores the cutting instruction file corresponding to the cutting layout in the ship design folder of the design client, which is then retrieved by the ship management platform.
[0058] For each cutting instruction file, if the instruction number of the cutting instruction file matches the layout number, then the cutting instruction file is determined to be a cutting instruction file that can be published.
[0059] The number of cutting instruction files for each section can be queried within the ship management platform, and can be compared with the number of cutting diagrams uploaded by the drawing system.
[0060] Here are the cutting instruction file and the cutting version. Figure 1 There is a one-to-one correspondence between the instruction number and the layout number. For each cutting instruction file, if the instruction number of the cutting instruction file corresponds one-to-one with the layout number, the cutting instruction file can be published.
[0061] Here, the published cutting instruction file is downloaded by the construction department, which then cuts the processed plates according to the ship cutting instructions in the cutting instruction file to produce ship parts.
[0062] The ship management platform of this application can also obtain, publish, review and download cutting profile instruction documents, and also supports series ship borrowing and drying, etc. At this time, the construction end can download cutting instruction documents and cutting profile instruction documents from the ship management platform. The cutting instruction document specifically refers to the plate cutting instruction, while cutting out parts requires both plate cutting instructions and profile cutting instructions, both of which can be downloaded from the ship management platform by the construction end.
[0063] The vessel management platform in this application adds functions such as publishing, reviewing, downloading, modifying, and borrowing subsequent vessel instructions, which facilitates the construction end to download cutting instruction files, provide feedback on cutting time, and lock the current version of the cutting instruction file.
[0064] The publishing function is operated by the designers. The design client outputs the cutting layout and cutting instruction files. The cutting layout is uploaded to the drawing publishing system, and the cutting instruction files are stored in the ship design folder. The cutting instructions are used for automatic acquisition by the ship management platform, or they can be uploaded manually.
[0065] After all the cutting instruction files for the borrowed drying ship and the borrowed drying ship have been generated, click "Publish" to submit all the cutting instruction files to the leader.
[0066] After being reviewed and approved by the leadership, all cutting instruction files released after approval can be seen and downloaded by construction staff.
[0067] After downloading the cutting instruction file for each segment, the file is preprocessed and sent to the cutting machine. Simultaneously, the construction end also downloads the cutting plan corresponding to the cutting instruction file for that segment from the drawing system based on the plan number corresponding to the instruction number. The cutting machine then cuts according to the cutting instruction file and the cutting plan. The cutting plan is obtained from the drawing system and is not displayed on the ship management platform. The download time of the cutting instruction file is recorded as the cutting time, and the downloaded cutting instruction file is locked. If the cutting instruction file is subsequently attempted to be modified, a message will appear indicating that it cannot be modified, and communication with the construction end staff is required.
[0068] The cutting instruction is a gen file that includes cutting information such as the length, width, thickness, material, model, tool path, part model, and specific cutting location of the cutting plate.
[0069] If the approved cutting instruction file has been downloaded, the modified cutting instruction cannot be released. Subsequent changes to the current vessel are required, such as issuing a modification work order to the construction end to perform actions such as replacing parts or patching holes.
[0070] The subsequent ship instruction sun-drying function corresponds to the ship sun-drying relationship table.
[0071] S106. For each cutting instruction file, if the status flag indicates that a historical cutting instruction file has been downloaded, a prompt message is provided to the design client.
[0072] The message indicates that the cutting instruction file has not been published.
[0073] Here, if the cutting instruction file is downloaded by the construction end after it has been published, the status flag of the cutting instruction file will be locked. Similarly, if the status flag indicates that the historical cutting instruction file is locked, it means that the historical cutting instruction file has been downloaded. At this time, although the cutting instruction file modified by the design client can be obtained by the ship management platform, it cannot be published because the corresponding historical cutting instruction file has been downloaded by the construction end. Only the cutting instruction file after it has been published can be downloaded by the construction end.
[0074] At this point, a prompt message is provided to the design client, indicating that the ship cutting instruction file is locked, cannot be published, and cannot be modified. The design client needs to contact the construction department to modify the ship cutting instruction file. This allows the design client to know which ship number and which section number's cutting instruction file has been downloaded. Other processing methods can then be adopted to modify the file synchronously with the construction end. This prevents the construction end from producing parts based on historical cutting instruction files, which would result in unusable parts, wasted materials, and wasted time and effort.
[0075] For example, another method to synchronize modifications with the construction end is to issue a modification work order to the construction end, informing them of the modified cutting instruction file in the form of a work order, so as to stop losses in time and avoid wasting processing materials.
[0076] The data processing method and ship management platform based on ships provided in this application embodiment obtain multiple cutting instruction files corresponding to the borrowed drying ship; identify multiple drying ships with a borrowing relationship with the borrowed drying ship; for each drying ship, generate multiple cutting instruction files corresponding to that drying ship by copying the multiple cutting instruction files corresponding to the borrowed drying ship; for each cutting instruction file, replace the stored historical cutting instruction file corresponding to the instruction number of that cutting instruction file with that cutting instruction file, and check the status flag of the historical cutting instruction file. If the status flag indicates that the historical cutting instruction file has not been downloaded, the cutting instruction file is published; if the status flag indicates that the historical cutting instruction file has been downloaded, a prompt message is provided to the design client. This application saves the synchronization time between the design client and the construction client and avoids waste of cutting materials.
[0077] This application utilizes a platform-based management system to share the status information of segmented cutting instruction files in real time, ensuring a closed loop for design changes and resolving the issue of accuracy in the transfer of cutting instruction files between the current and subsequent ships. This allows for effective closed-loop management after design changes, such as hole opening, hole patching, and changes in part shape.
[0078] The design client can query the cutting status of specific sections for each ship type in real time, making the issuance of cutting instruction files for subsequent ships more accurate and improving the design quality of later ships. Both sheet metal and profile instructions can be managed on the platform, enhancing the digitalization and intelligence of the design process.
[0079] Based on the same inventive concept, this application also provides a ship management platform corresponding to the ship-based data processing method. Since the principle of the device in this application is similar to the above-mentioned ship-based data processing method in this application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0080] See also Figure 2 , Figure 2 This is a schematic diagram of the structure of the ship management platform provided in an embodiment of this application. Figure 2 As shown, the ship management platform 200 includes:
[0081] The acquisition module 201 is used to acquire multiple cutting instruction files corresponding to the borrowed drying ship from the ship design folder of the design client. The hull of the borrowed drying ship is divided into multiple sections, and each cutting instruction file includes multiple ship cutting instructions under one section of the borrowed drying ship.
[0082] Extraction module 202 is used to extract the ship borrowing relationship table corresponding to the ship number of the borrowed drying ship, so as to identify multiple drying ships that have a borrowing relationship with the borrowed drying ship.
[0083] The copying module 203 is used to generate multiple cutting instruction files corresponding to each borrowed drying boat by copying multiple cutting instruction files corresponding to the borrowed drying boat.
[0084] The detection module 204 is used to replace the stored historical cutting instruction file corresponding to the instruction number of the cutting instruction file with the cutting instruction file for each cutting instruction file, and to detect the status flag bit of the historical cutting instruction file;
[0085] The publishing module 205 is used to publish each cutting instruction file if the status flag indicates that a historical cutting instruction file has not been downloaded.
[0086] The prompt module 206 is used to provide a prompt message to the design client for each cutting instruction file if the status flag indicates that a historical cutting instruction file has been downloaded. The prompt message is used to indicate that the cutting instruction file has not been published.
[0087] The ship management platform is also used to perform the following operations:
[0088] For each cutting instruction file, according to the upload matching rules, each symbol in the instruction number of the cutting instruction file is matched to determine whether the instruction number of the cutting instruction file conforms to the upload matching rules;
[0089] For each cutting instruction file, if the cutting instruction file matches the upload matching rules, then the cutting instruction file is retrieved from the ship design folder;
[0090] For each cutting instruction file, if the cutting instruction file does not meet the upload matching rules, then the cutting instruction file will not be retrieved from the ship design folder.
[0091] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of the electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device 300 includes a processor 310, a memory 320, and a bus 330.
[0092] The memory 320 stores machine-readable instructions executable by the processor 310. When the electronic device 300 is running, the processor 310 and the memory 320 communicate via the bus 330. When the machine-readable instructions are executed by the processor 310, they can perform the operations described above. Figure 1 The specific implementation of the ship-based data processing method in the illustrated method embodiment can be found in the method embodiment, and will not be repeated here.
[0093] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figure 1 The specific implementation of the ship-based data processing method in the illustrated method embodiment can be found in the method embodiment, and will not be repeated here.
[0094] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0095] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0096] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0097] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0098] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0099] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The scope of protection of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A ship-based data processing method, characterized in that: Applied to ship management platforms, including: Acquire multiple cutting instruction files corresponding to the borrowed ship from the ship design folder of the design client, wherein the hull of the borrowed ship is divided into multiple sections, and each cutting instruction file includes multiple ship cutting instructions under a section of the borrowed ship; Extracting a ship borrowing relationship table corresponding to the ship number of the borrowed ship to determine a plurality of borrowing ships that have a borrowing relationship with the borrowed ship; For each sun-borrowing boat, multiple cutting instruction files corresponding to the sun-borrowing boat are copied to generate multiple cutting instruction files corresponding to the sun-borrowing boat; For each cutting instruction file, use the cutting instruction file to replace the stored historical cutting instruction file corresponding to the instruction number of the cutting instruction file, and detect the status flag of the historical cutting instruction file; For each cutting instruction file, if the status flag indicates that the historical cutting instruction file has not been downloaded, the cutting instruction file is published; For each cutting instruction file, if the status flag indicates that the historical cutting instruction file has been downloaded, a prompt message is provided to the design client, and the prompt message is used to indicate that the cutting instruction file has not been released.
2. The method according to claim 1, characterized in that: The step of obtaining a plurality of cutting instruction files corresponding to the borrowed ship from the ship design folder of the design client includes: For each cutting instruction file, according to the upload matching rule, each symbol in the instruction number of the cutting instruction file is matched to determine whether the instruction number of the cutting instruction file meets the upload matching rule; For each cutting instruction file, if the cutting instruction file meets the upload matching rule, the cutting instruction file is obtained from the ship design folder; For each cutting instruction file, if the cutting instruction file does not meet the upload matching rule, the cutting instruction file is not obtained from the ship design folder.
3. The method according to claim 1, characterized in that The cutting instruction file to be released is determined by the following methods, including: For each cutting instruction file, according to the instruction number of the cutting instruction file, a cutting design layout corresponding to the instruction number is obtained from the ship drawing distribution system, and the layout number of the cutting design layout is determined; For each cutting instruction file, if the instruction number of the cutting instruction file matches the layout number, it is determined that the cutting instruction file is a releasable cutting instruction file.
4. The method according to claim 1, characterized in that: The method further comprises: For each cutting instruction file, according to the instruction number corresponding to the cutting instruction file, search whether there is a historical instruction number that is the same as the instruction number; For each cutting instruction file, if there is no historical instruction number identical to the instruction number, the cutting instruction file is directly stored; For each cutting instruction file, if there is a historical instruction number that is the same as the instruction number, the historical cutting instruction file corresponding to the historical instruction number is replaced with the cutting instruction file.
5. The method according to claim 1, characterized in that The status flag of the cutting instruction file is determined in the following way: For each published cutting instruction file, when it is detected that the cutting instruction file is downloaded, the status flag of the cutting instruction file is determined to be in a locked state, and the locked state indicates that the cutting instruction file is downloaded.
6. The method according to claim 2, characterized in that The instruction number includes the ship number, section number, fixed letter, cutting machine model and serial number. The cutting instruction file that meets the upload matching rules is determined in the following ways: For each cutting instruction file, obtain the ship number, segment number and cutting machine model in the instruction number of the cutting instruction file; For each cutting instruction file, according to the uploaded matching rules, determine whether the ship number and the segment number in the instruction number of the cutting instruction file match; For each cutting instruction file, if the ship number and the segment number in the instruction number of the cutting instruction file do not match, the cutting instruction file is determined as a cutting instruction file that meets the upload matching rule; For each cutting instruction file, if the ship number and the segment number in the instruction number of the cutting instruction file match, it is determined whether the cutting machine model corresponds to the cutting machine at the construction end; For each cutting instruction file, if the cutting machine model does not correspond to the cutting machine at the construction end, the cutting instruction file is determined as a cutting instruction file that does not meet the upload matching rule; For each cutting instruction file, if the cutting machine model corresponds to the cutting machine at the construction end, the cutting instruction file is determined as a cutting instruction file that meets the upload matching rule.
7. A ship management platform, characterized in that: The ship management platform comprises: An acquisition module is used to acquire multiple cutting instruction files corresponding to the borrowed ship from the ship design folder of the design client, wherein the hull of the borrowed ship is divided into multiple sections, and each cutting instruction file includes multiple ship cutting instructions under a section of the borrowed ship; An extraction module is used to extract a ship borrowing and drying relationship table corresponding to the ship number of the borrowed ship to determine a plurality of borrowing and drying ships that have a borrowing and drying relationship with the borrowed ship; A copy module is used for copying multiple cutting instruction files corresponding to each borrowed sun-drying boat to generate multiple cutting instruction files corresponding to the borrowed sun-drying boat; A detection module is used for replacing a stored historical cutting instruction file corresponding to the instruction number of each cutting instruction file with the cutting instruction file, and detecting a status flag of the historical cutting instruction file; A publishing module, for publishing each cutting instruction file if the status flag indicates that the historical cutting instruction file has not been downloaded; The prompt module is used for providing prompt information to the design client for each cutting instruction file if the status flag indicates that the historical cutting instruction file has been downloaded, wherein the prompt information is used to indicate that the cutting instruction file has not been released.
8. The ship management platform according to claim 7, characterized in that: The ship management platform is also used to perform the following operations: For each cutting instruction file, according to the upload matching rule, each symbol in the instruction number of the cutting instruction file is matched to determine whether the instruction number of the cutting instruction file meets the upload matching rule; For each cutting instruction file, if the cutting instruction file meets the upload matching rule, the cutting instruction file is obtained from the ship design folder; For each cutting instruction file, if the cutting instruction file does not meet the upload matching rule, the cutting instruction file is not obtained from the ship design folder.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of any method as claimed in claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are executed.
