Method and device for recommending sea chart sheet according to air route
Patent Information
- Application Number
- CN202510158637.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, ships need to manually screen and compare chart drawings of different scales before sailing, resulting in manual errors, time-consuming and difficult to provide timely large-scale chart purchasing services.
By obtaining chart requirements and generating structured data, the first chart image set is obtained based on the route area, the overlapping area is removed, and the second chart image set is obtained, so that the chart image related to the route is automatically recommended.
Automatic chart pattern screening is realized, reducing manual errors, improving the efficiency and accuracy of chart selection, and able to respond to user needs in real time. Large-scale chart patterns are selected to provide richer chart information.
Smart Images

Figure CN120216718A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of information technology, and particularly relates to a method and device for recommending nautical chart sheets according to a shipping route. Background Art
[0002] As an important infrastructure for ship navigation, electronic nautical charts play a crucial role in navigation safety. A ship must be equipped with all the nautical chart sheets required for the planned voyage.
[0003] Electronic nautical chart data is divided into hundreds or even thousands of nautical chart sheets according to different scales and regions, and there are overlapping parts between nautical chart sheets of different scales. According to regulations, crew members must plan the shipping route before sailing and purchase the relevant chart sheets. In actual operation, after the crew members draw the shipping route, they find all the chart sheets in the areas passed by the route through the chart selection software. Due to the overlapping situation between the chart sheets, manual screening and judgment are required to eliminate unnecessary chart sheets, so as to save the fleet's expenses on chart sheet procurement and ensure that nautical operations can be effectively supported by nautical chart sheets while reasonably controlling costs.
[0004] Manual nautical chart selection operations are not only prone to errors because of the need to repeatedly compare the overlapping situations of chart sheets with different scales, but also even if the shipping company entrusts a nautical chart agency company to assist, the number of nautical chart specialists employed by the nautical chart agency company is limited, and it is difficult to provide full-time, large-volume and timely nautical chart selection services. Summary of the Invention
[0005] The present disclosure provides a method and device for recommending nautical chart sheets according to a shipping route, which can effectively solve the above problems.
[0006] The present disclosure is implemented as follows:
[0007] In a first aspect, the present disclosure provides a method for recommending nautical chart sheets according to a shipping route, the method comprising:
[0008] Obtaining nautical chart requirements, extracting the nautical chart requirements to generate structured data, wherein the structured data includes ship information, ship draft, departure port and destination port;
[0009] Generating a route area according to the structured data;
[0010] Based on the route area, obtaining a first set of nautical chart sheets, wherein each nautical chart sheet in the first set of nautical chart sheets includes a first area, and the first area is an area where a nautical chart sheet overlaps with the route area;
[0011] Obtain the first area set, and remove all the second areas in each fourth area to obtain a third area set, where the fourth area is any one of the first areas, the fifth area is any one of the first areas with a scale larger than the fourth area, and the second area is the overlapping area between the fourth area and the fifth area;
[0012] Obtain the second nautical chart sheet set according to the third area set.
[0013] In a second aspect, the present disclosure provides a device for recommending nautical chart sheets according to a shipping route, and the device includes:
[0014] A data generation module, configured to obtain a nautical chart requirement, extract the nautical chart requirement to generate structured data, where the structured data includes ship information, ship draft, departure port, and destination port;
[0015] A shipping route generation module, configured to generate a shipping route area according to the structured data;
[0016] A screening module, configured to obtain a first nautical chart sheet set based on the shipping route area, where each nautical chart sheet in the first nautical chart sheet set includes a first area, and the first area is the overlapping area between a nautical chart sheet and the shipping route area;
[0017] A duplicate removal module, configured to obtain the first area set, and remove all the second areas in each fourth area to obtain a third area set, where the fourth area is any one of the first areas, the fifth area is any one of the first areas with a scale larger than the fourth area, and the second area is the overlapping area between the fourth area and the fifth area;
[0018] A recommendation module, configured to obtain a second nautical chart sheet set according to the third area set.
[0019] In a third aspect, the present disclosure provides an electronic device, including:
[0020] A memory, which stores execution instructions; and
[0021] A processor, where the processor executes the execution instructions stored in the memory, so that the processor executes the method described in the first aspect.
[0022] In a fourth aspect, the present disclosure provides a readable storage medium, in which execution instructions are stored, and when the execution instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0023] Compared with the prior art, the beneficial effects of the present disclosure are:
[0024] 1. The present disclosure provides a method for recommending nautical chart sheets based on a route, which can screen out the chart sheets related to a given route from numerous chart sheets, provide real-time response to users, save the time for manual repeated screening and confirmation in the original nautical chart planning process, and preferably select large-scale chart sheets that can display richer nautical chart information.
[0025] 2. By converting continuous water areas into a discrete set composed of numerous grid cells, accurately representing the overlapping areas between chart sheets and routes, and between chart sheets based on the intersections between grid sets, and for comparison and screening, the efficiency of nautical chart screening operations can be improved.
[0026] 3. By parsing the input content of users through a natural language model and converting the natural language input by users into structured data for route planning, the operation process of user input can be simplified, the learning cost of users can be reduced, the convenience of operation can be improved, and the user experience can be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative efforts.
[0028] Figure 1 is a flowchart of the method S100 for recommending nautical chart sheets based on a route provided by an embodiment of the present disclosure.
[0029] Figure 2 is a schematic diagram of a natural language interaction interface for obtaining recommended chart sheets according to user requirements provided by an embodiment of the present disclosure.
[0030] Figure 3 is an example diagram showing the situation of area overlap between chart sheets covering the water area passed by the route.
[0031] Figure 4 is a schematic diagram of the steps of the method for recommending nautical chart sheets based on a route provided by an embodiment of the present disclosure.
[0032] Figure 5 is a schematic diagram of the structure of the device 1000 for recommending nautical chart sheets based on a route provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the relevant content and do not limit the present disclosure. Additionally, it should be noted that for the sake of description, only the parts related to the present disclosure are shown in the drawings.
[0034] It should be noted that, without conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The technical solutions of the present disclosure will be described in detail below with reference to the drawings and in conjunction with the embodiments.
[0035] Unless otherwise specified, the exemplary embodiments / examples shown will be understood to provide exemplary features of various details of some ways that can implement the technical concept of the present disclosure in practice. Therefore, unless otherwise specified, without departing from the technical concept of the present disclosure, the features of various embodiments / examples can be additionally combined, separated, interchanged, and / or rearranged.
[0036] Embodiment 1
[0037] Refer to Figure 1 , the embodiment of the present disclosure provides a method S100 for recommending nautical chart sheets according to a shipping route.
[0038] Specifically, the method S100 includes:
[0039] S102, obtaining the nautical chart requirements, extracting the nautical chart requirements to generate structured data, where the structured data includes ship information, ship draft, departure port, and destination port;
[0040] S104, generating a shipping route area according to the structured data;
[0041] S106, based on the shipping route area, obtaining a first set of nautical chart sheets, where each nautical chart sheet in the first set of nautical chart sheets includes a first area, and the first area is the area where a nautical chart sheet overlaps with the shipping route area;
[0042] S108, obtaining the set of the first areas, removing all second areas in each fourth area to obtain a set of third areas, where the fourth area is any one of the first areas, the fifth area is any one of the first areas with a scale larger than the fourth area, and the second area is the area where the fourth area overlaps with the fifth area;
[0043] S110, obtaining a second set of nautical chart sheets according to the set of the third areas.
[0044] In some embodiments, in step S102, extracting the chart requirements to generate structured data includes: calling a natural language model to extract the chart requirements to generate structured data.
[0045] As Figure 2 shown, a client can be set in the method. The client is provided with a natural language interaction module to obtain the input content of the user through the natural language interaction module. The input content of the user includes user requirements. Then, it is parsed through a natural language model to convert the natural language input by the user into structured data.
[0046] Furthermore, based on a predetermined information rule, the natural language model can detect the missing information in the input content of the user and guide the user to supplement it through the natural language interaction module.
[0047] After obtaining complete structured data based on the natural language model, it is transmitted to the route planning model for route planning.
[0048] The method of obtaining user requirements through the natural language interaction module of the client can simplify the operation process of user input, improve the fluency of user input operation, reduce the learning cost of the user, improve the convenience of input operation, and at the same time ensure that sufficient information can be obtained to complete the task.
[0049] In some embodiments, obtaining chart requirements and extracting the chart requirements to generate structured data includes:
[0050] Obtaining chart requirements through the client and uploading the chart requirements to the server;
[0051] Extracting the chart requirements by the server to generate structured data.
[0052] A server can be set in the method. There is a communication connection between the server and the client.
[0053] The server is provided with a natural language processing module.
[0054] After the natural language interaction module obtains the input content of the user, it uploads it to the natural language parsing module for parsing and integrity detection.
[0055] Through the client-server communication mode, conventional devices such as mobile phones and tablets can be included in the scope of devices used by the method for users to input route planning information.
[0056] In some other embodiments, the server may not be deployed, and the natural language processing module and the natural language interaction module may be set on the same terminal device. The advantage of this method is to reduce the dependence on network communication, improve the independence and flexibility of the system, and miniaturize the system for generating structured data.
[0057] Specifically, the natural language model may be a large language model such as Spark Model or Tongyi Qianwen.
[0058] In some embodiments, according to the structured data, the ship information database is called to obtain the ship information.
[0059] The ship information database stores ship information with the MMSI (Maritime Mobile Service Identity) code as the primary key.
[0060] Based on the ship name in the first ship information, the ship information that needs to be navigated can be searched in the ship information database, and then combined with the navigation information such as the draft, departure port, and destination port given by the user, the route planning model is called to automatically plan the ship route.
[0061] In some embodiments, in step S102, extracting the chart requirements to generate structured data includes: extracting the chart requirements to generate first structured data, the first structured data including the ship name, and according to the ship name, calling the ship information database to obtain ship information, the ship information including the ship MMSI.
[0062] That is, the chart requirements input by the user include information related to the ship name.
[0063] In some other embodiments, the chart requirements may directly include information related to the ship's MMSI, so that the extracted structured data includes the ship MMSI.
[0064] In some embodiments, the ship information database is set in the cloud or the aforementioned server.
[0065] In some embodiments, the route area only contains the route.
[0066] The route is a path shown in the form of a line on the chart, and this path includes at least each waypoint and its longitude and latitude information.
[0067] In some embodiments, the route area also contains a set of grids passed by the route.
[0068] The "passing through" may mean that there are intersections between the "line" of the route and the "surface" of the grid.
[0069] The "surface" may or may not include the boundary of the grid.
[0070] The grid is a grid in the water area.
[0071] In some embodiments, the route area includes the route of the ship's navigation operation and the water areas along the route that require special attention.
[0072] For example, potential dangerous areas such as fishing areas, shoals, reefs, ship anchorage areas such as ports and outer-anchorage, and traffic-intensive areas such as straits.
[0073] By increasing the setting of the ship's attention range, users can purchase corresponding nautical charts to obtain information on these water areas, which can effectively reduce the collision risk during the ship's navigation, ensure navigation safety, and optimize the navigation plan to improve navigation efficiency.
[0074] However, if the route area is manually drawn, it will further increase a large amount of labor cost and time cost.
[0075] In some embodiments, in step S104, generating the route area according to the structured data includes: calling a route planning model according to the structured data to generate the route area.
[0076] Further, in some embodiments, the route planning model includes: a first route planning model for generating a route based on ship information and navigation information.
[0077] For example, the first route planning model is the S421 route planning interface of the South China Sea Nautical Safety Administration of the Ministry of Transport.
[0078] The route planning model further includes: a second route planning model for generating the route area based on the route generated by the first route planning model.
[0079] In other embodiments, the route planning model is used to directly generate the route area based on ship information and navigation information.
[0080] The route area is the area passed by the route and is drawn according to the route.
[0081] A set of nautical charts includes chart sheets of various scales. For example, the ENC electronic nautical charts of the China MSA include 17 general charts CN2, 51 coastal charts CN3, 226 inshore charts CN4, and 256 port charts CN5. Taking CN2 and CN3 as examples, CN2 can cover the entire sea area with only 17 charts, while CN3 uses 51 charts to cover only the coastal sea area. However, CN2 charts cannot replace CN3 charts because CN3 charts have a larger scale and richer nautical chart information.
[0082] As Figure 3 shown, chart sheets of different scales may cover the same sea area, so there are overlapping areas between the chart sheets. This is an inevitable result of the current nautical chart data distribution agency mapping at different scales.
[0083] In some embodiments, in step S106, the first set of nautical chart sheets can be sorted according to the scale size.
[0084] In some embodiments, the "set of chart sheets" and "set of regions" are represented by a list.
[0085] In some embodiments, in step S106, based on the route area, the nautical chart sheet database is called to obtain the first set of nautical chart sheets.
[0086] The nautical chart sheet database includes information such as the chart sheet number, chart sheet type, chart sheet name, and chart sheet range of each nautical chart sheet.
[0087] In some embodiments, the nautical chart sheet database is set in the cloud or the aforementioned server.
[0088] By setting the nautical chart sheet database and / or the ship information database in the cloud, the data storage of the local user side can be reduced, on-demand access to data can be realized, and the sharing of chart sheet data and the unification of the data screening process can be realized. Furthermore, a predetermined screening scheme can be formed to improve the efficiency of route planning and chart sheet screening.
[0089] Through the longitude and latitude information of the route area and the nautical chart sheet area, the positioning of the route area and the nautical chart sheet in the same water area can be realized, so as to determine whether there is an overlapping area between the two.
[0090] In some embodiments, the area is processed into a grid.
[0091] The "area" is a specific area in the water area.
[0092] Specifically, the area is the route area and the nautical chart sheet area, or at least, the area is the route area and the first area in each first nautical chart sheet.
[0093] Based on the longitude and latitude information and grid parameters, the area is gridded to obtain the grid set included in each of the areas.
[0094] The grid parameters include the grid size and the position information of the grid or grid intersection points.
[0095] Since the route area may be an irregular continuous water area, by converting this area into a discrete set composed of many grid cells, the representation of complex areas can be simplified, and it is convenient for subsequent data processing and analysis. Moreover, based on the grid set, the area range can be accurately represented, and the overlapping areas between the chart and the route, and between charts can be represented based on the intersection of grid sets for comparison and screening, which can improve the efficiency of chart screening operations.
[0096] After the area is divided into grids, its attribute information can be attached to each grid cell. For example, a unique code can be assigned to each grid cell.
[0097] Alternatively, the grid cells can also be classified to achieve the classification of sub-areas in the area.
[0098] For example, the grids passed by the route are classified as the first type of grids, the grids covered by the area of the concerned location are classified as the second type of grids, and the remaining grids are classified as the third type of grids.
[0099] In some embodiments, generating a route area according to the structured data includes:
[0100] Generating a route according to the structured data.
[0101] Specifically, the route is a continuous polyline composed of several straight line segments.
[0102] Based on the route, using a line scan conversion algorithm or a rasterization algorithm, the route grid set is obtained.
[0103] For example, the line scan conversion algorithm can be a two-dimensional extension of the Bresenham algorithm.
[0104] Through gridification and rasterization techniques, it can be quickly and efficiently calculated which grid cells in the area the polyline of the route passes through to determine the route grid set.
[0105] In step S106, obtaining a first chart set based on the route area includes:
[0106] Based on the route grid set, obtaining a first chart sheet set, where the first chart sheet is a chart sheet that covers at least one grid in the route grid set, and the route grid set is the grid set included in the route area.
[0107] The nautical chart sheet "covers" a grid, including the case where it only covers a part of the grid rather than the entire grid.
[0108] In some embodiments, a high-precision grid size is adopted so that each grid in the set of grids included in each of the regions is a complete grid.
[0109] In some embodiments, rounding processing is performed on the set of grids.
[0110] For example, rounding up. If the region does not completely cover a grid, the entire grid is used for subsequent grid comparison.
[0111] Alternatively, rounding down, and the grids that the region does not completely cover are not used. However, this operation is not applicable to the route region.
[0112] In some embodiments, the nautical chart sheet database includes the grid data of each nautical chart sheet.
[0113] The "overlapping region" is the intersection of two regions. Further, it is the intersection of the sets of grids included in the two regions.
[0114] Through such intersection operation, only the elements of the chart sheet or the set of grids it includes that have an intersection with the route are retained, so as to more accurately compare these parts related to the route.
[0115] In step S106, the union of all the first regions in the first set of nautical chart sheets covers the route region.
[0116] In step S108, the first region and the first nautical chart sheet are in one-to-one correspondence.
[0117] In some embodiments, obtaining the set of first regions, removing all the second regions in each of the first regions, and obtaining a set of third regions includes:
[0118] Sorting the set of first regions from smallest to largest according to the scale;
[0119] Successively adding the first regions to a set of regions. Before adding each first region, updating each first region in the set of regions so that it has no overlapping region with the first region to be added;
[0120] After adding all the first regions, the set of regions is the set of third regions.
[0121] For example, assume that the map sheets already added to the preselected map sheet list are A and B, and the newly added map sheet is C. Then, for map sheet A, the operation A = A - C needs to be performed, that is, the grids covered by map sheet C are removed from the grid set originally covered by map sheet A; similarly, for map sheet B, the operation B = B - C also needs to be performed, and so on, to ensure that each map sheet in the preselected map sheet list has an independent and non-overlapping effective coverage area.
[0122] The map sheets with larger scales can provide more detailed and accurate geographical information. Therefore, the first regions with larger scales are set to a high priority and added later, so as to retain the regions and information they contain.
[0123] It should be noted that there are no overlapping regions between the nautical chart map sheets with the same scale.
[0124] In some other embodiments, the first region set can also be sorted from large to small according to the scale and then duplicate regions are removed. Only the regions of the first regions with small scales that do not overlap with the region set are retained until the region set completely covers the route region, and then the third region set can be obtained.
[0125] In some embodiments, each third region in the third region set is represented by the grid set it contains.
[0126] Step S110, remove the third regions in the third region set whose regions are empty or the grid sets contained in the regions are empty. Each non-empty third region is corresponded to a first nautical chart map sheet, and the set of these map sheets is the second nautical chart map sheet set.
[0127] Each map sheet in the second nautical chart map sheet set is a recommended map sheet for purchase. The second nautical chart map sheet set can completely cover the route region, and the nautical chart information displayed is richer than that of other map sheet sets.
[0128] In some embodiments, the natural language parsing module and the natural language interaction module are also used to generate an explanation in natural language based on the selected second nautical chart map sheet set, and display it to the user for the user to refer to and purchase map sheets.
[0129] For the input and output of each step of the method, please refer to Figure 4 .
[0130] The method is different from the traditional way that requires manual intervention in planning map sheets. From inputting the requirements to obtaining the recommended results, the entire map sheet planning process does not require manual participation, so there is no need to wait for a manual response, and large-scale application can be realized.
[0131] Embodiment 2
[0132] An embodiment of the present disclosure provides an apparatus 1000 for recommending nautical chart sheets according to a shipping route.
[0133] The apparatus may include corresponding modules for performing each or several steps in the above-mentioned first flowchart. Therefore, each step or several steps in the above-mentioned flowchart may be executed by the corresponding modules, and the apparatus may include one or more of these modules. The modules may be one or more hardware modules specifically configured to execute the corresponding steps, or implemented by a processor configured to execute the corresponding steps, or stored in a computer-readable medium for implementation by the processor, or implemented through a certain combination.
[0134] Specifically, as Figure 5 shown, the apparatus 1000 includes:
[0135] A data generation module, configured to obtain a nautical chart requirement, extract the nautical chart requirement to generate structured data, where the structured data includes ship information, ship draft, departure port, and destination port;
[0136] A shipping route generation module, configured to generate a shipping route area according to the structured data;
[0137] A screening module, configured to obtain a first set of nautical chart sheets based on the shipping route area, where each nautical chart sheet in the first set of nautical chart sheets includes a first area, and the first area is an area where a nautical chart sheet overlaps with the shipping route area;
[0138] A deduplication module, configured to obtain the set of first areas, remove all second areas in each fourth area to obtain a set of third areas, where the fourth area is any one of the first areas, the fifth area is any one of the first areas with a scale larger than the fourth area, and the second area is an area where the fourth area overlaps with the fifth area;
[0139] A recommendation module, configured to obtain a second set of nautical chart sheets according to the set of third areas.
[0140] An embodiment of the present disclosure also provides an electronic device, including: a memory, where the memory stores execution instructions; and a processor or other hardware module, where the processor or other hardware module executes the execution instructions stored in the memory, so that the processor or other hardware module executes the above-mentioned method for recommending nautical chart sheets according to a shipping route.
[0141] The present disclosure also provides a readable storage medium, where execution instructions are stored in the readable storage medium, and when the execution instructions are executed by a processor, they are used to implement the above-mentioned method for recommending nautical chart sheets according to a shipping route.
[0142] Among them, the hardware structure adopted by the apparatus for recommending nautical chart sheets according to a shipping route implemented based on a hardware implementation manner using a processor in the present disclosure can be implemented by using a bus architecture. The bus architecture can include any number of interconnected buses and bridges, depending on the specific application of the hardware and the overall design constraints. The bus connects various circuits including one or more processors, memories, and / or hardware modules together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, power management circuits, external antennas, etc.
[0143] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Component (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, only one connecting line is shown in this figure, but it does not mean that there is only one bus or one type of bus.
[0144] Any process or method description represented in the flowchart or described in other ways herein can be understood as representing a module, segment, or part of code including one or more executable instructions for implementing a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations, where the functions can be executed in a substantially simultaneous manner or in a reverse order according to the involved functions, rather than in the order shown or discussed, which should be understood by those skilled in the technical field to which the embodiments of the present disclosure belong. The processor executes the various methods and processes described above. For example, the method embodiments in the present disclosure can be implemented as software programs, which are tangibly included in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via the memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps of the methods described above can be executed. Alternatively, in other embodiments, the processor can be configured to execute one of the above methods in any other suitable manner (e.g., by means of firmware).
[0145] The logic and / or steps represented in the flowchart or described in other ways herein can be specifically implemented in any readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch instructions from the instruction execution system, apparatus, or device and execute the instructions), or in combination with these instruction execution systems, apparatuses, or devices.
[0146] As used in this specification, a "readable storage medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the readable storage medium include the following: an electrical connection (electronic device) having one or more wirings, a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the readable storage medium can even be paper or other suitable media on which a program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other suitable processing as necessary, and then stored in a memory.
[0147] It should be understood that various parts of the present disclosure can be implemented by hardware, software, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0148] Those of ordinary skill in the art of this technology can understand that all or part of the steps for implementing the above embodiments of the method can be completed by a program instructing relevant hardware. The program can be stored in a readable storage medium, and when the program is executed, it includes one or a combination of the steps of the method embodiments.
[0149] Furthermore, in each of the embodiments of the present disclosure, the functional units can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a readable storage medium. The storage medium can be a read-only memory, a magnetic disk, an optical disk, etc.
[0150] Those skilled in the art should understand that the above embodiments are merely for clearly illustrating the present disclosure and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications can be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.
Claims
1. A method for recommending nautical chart sheets according to a route, characterized in that: The method comprises: Acquiring a nautical chart requirement, extracting the nautical chart requirement to generate structured data, wherein the structured data includes ship information, ship draft, departure port, and destination port; generating a route area according to the structured data; Based on the route area, a first nautical chart sheet set is obtained, wherein each nautical chart sheet in the first nautical chart sheet set includes a first area, and the first area is an area where a nautical chart sheet overlaps with the route area; Acquire the first area set, remove all second areas in each fourth area, and obtain a third area set, wherein the fourth area is any of the first areas, the fifth area is any of the first areas with a larger scale than the fourth area, and the second area is an area where the fourth area overlaps with the fifth area; A second nautical chart sheet set is obtained according to the third area set.
2. The method according to claim 1, characterized in that The first region set is obtained, and all second regions in each of the first regions are removed to obtain a third region set, including: sorting the first region set from small to large according to the scale; Sequentially adding the first regions to a region set, and before each first region is added, updating each first region in the region set so that there is no overlapping area between the first region to be added and the first region to be added; After all the first regions are added, the region set becomes the third region set.
3. The method according to claim 1, characterized in that The method further comprises: Grid the area; Based on the route area, obtaining a first nautical chart set includes: Based on the route grid set, a first nautical chart sheet set is acquired, where the first nautical chart sheet is a nautical chart sheet covering at least one grid in the route grid set, and the route grid set is a grid set included in the route area.
4. The method according to claim 3, characterized in that Generating a route area according to the structured data includes: generating a route according to the structured data; Based on the route, a linear scan conversion algorithm or a rasterization algorithm is used to obtain the route grid set.
5. The method according to claim 1, characterized in that Generating a route area according to the structured data includes: calling a route planning model according to the structured data to generate the route area.
6. The method according to claim 1, characterized in that Extracting the nautical chart requirements to generate structured data includes: calling a natural language model to extract the nautical chart requirements to generate structured data.
7. The method according to claim 6, characterized in that Extracting the nautical chart requirements to generate structured data includes: extracting the nautical chart requirements to generate first structured data, the first structured data includes a ship name, and according to the ship name, calling a ship information database to obtain ship information, the ship information includes the ship MMSI.
8. A device for recommending nautical chart sheets according to a route, characterized in that: The device comprises: A data generation module, used for obtaining a nautical chart requirement, extracting the nautical chart requirement to generate structured data, wherein the structured data includes ship information, ship draft, departure port and destination port; A route generation module, used for generating a route area according to the structured data; A screening module, configured to obtain a first nautical chart sheet set based on the route area, wherein each nautical chart sheet in the first nautical chart sheet set includes a first area, and the first area is an area where a nautical chart sheet overlaps with the route area; a deduplication module, configured to obtain the first region set, remove all second regions in each fourth region, and obtain a third region set, wherein the fourth region is any of the first regions, the fifth region is any of the first regions with a larger scale than the fourth region, and the second region is a region where the fourth region overlaps with the fifth region; The recommendation module is used to obtain a second nautical chart sheet set according to the third area set.
9. An electronic device, characterized in that: include: A memory storing execution instructions; as well as A processor, wherein the processor executes the execution instruction stored in the memory so that the processor executes the method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that: The readable storage medium stores execution instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Method for planning ship route between ships and ports by fusing large model knowledge
CN121072914A
A ship inter-port route planning method fusing large model knowledge
CN121072914B