Channel guidance method, system, computer equipment and storage medium
By dividing the waterway and setting up guidance lights, the problem of yaw and collision risks of ships during night navigation is solved, and safe navigation during night navigation is achieved.
Patent Information
- Application Number
- CN202210306066.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-03-25
AI Technical Summary
At night or when there is insufficient light, ships are prone to yaw when sailing on the channel, resulting in an increased risk of collision with both sides of the channel. There is a lack of effective guidance methods to prevent this situation.
By obtaining the geospatial data of the channel, it is divided into sub-channels, and the turning points and continuous turning areas are marked based on the data. Guide lights are set to remind ships to ensure that ships travel along the divided sub-channels, especially to provide navigation support at night.
It effectively avoids the ship's yaw when sailing at night, reduces the risk of collision with both sides of the channel, and improves navigation safety.
Smart Images

Figure CN114636425B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of waterway technology, and more specifically, to a waterway guidance method, system, computer equipment and storage medium. Background Art
[0002] With the increasing busyness of water traffic, more and more ships are sailing on the waterway. Due to insufficient light and low visibility at night, ships lack guidance when sailing on the waterway, and are very likely to deviate, resulting in collisions with both sides of the waterway. Therefore, it is very necessary to study a waterway guidance method, system, computer equipment and storage medium that can provide guidance to ships to facilitate their navigation, prevent ships from deviating and prevent ships from colliding with both sides of the waterway. Summary of the invention
[0003] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a channel guidance method, system, computer equipment and storage medium, which have the functional advantages of providing guidance to ships to facilitate their navigation, prevent ships from deviation and prevent ships from colliding with both sides of the channel.
[0004] The above technical objectives of the present invention are achieved through the following technical solutions:
[0005] A channel guidance method, comprising:
[0006] Obtain geospatial data of target waterway;
[0007] Dividing the target waterway into a plurality of sub-channels according to the geographic spatial data and the preset navigation width, and obtaining the position data of all the sub-channels;
[0008] Determine whether there is a turning point based on the position data of all the sub-channels, and if so, make a first mark on the turning point, and determine whether the target channel has a continuous turning area based on all the turning points, and if so, make a second mark on the continuous turning area.
[0009] Optionally, dividing the target waterway into a plurality of sub-waterways according to the geospatial data and a preset navigation width includes:
[0010] Obtaining a first boundary curve and a second boundary curve of the target waterway according to the geospatial data, selecting a plurality of tangent points on the first boundary curve, and calculating a plurality of first tangent lines corresponding one-to-one to the plurality of tangent points on the first boundary curve;
[0011] A first perpendicular line corresponding to the tangent point is calculated based on the tangent point and the first tangent line corresponding thereto, and then a first intersection point of the first perpendicular line and the second boundary curve is calculated, and a width of the target channel at the tangent point is calculated based on the first intersection point and the tangent point, thereby obtaining the width of the target channel at all tangent points;
[0012] The widths at all tangent points are divided according to the navigable width to obtain a number of segmentation points, and all the segmentation points are sequentially connected along the course of the target channel to obtain a number of segmentation curves. The first boundary curve, the second boundary curve and the number of segmentation curves form a number of sub-channels.
[0013] Optionally, the navigable width is a preset ship width plus a preset navigation distance.
[0014] Optionally, also include:
[0015] Get the location data of all bridges;
[0016] The location data of all bridges are compared with the geographic spatial data of the target waterway one by one to obtain all target bridges built on the target waterway, thereby obtaining the bridge information of the target bridges.
[0017] Optionally, the bridge information of the target bridge includes: pier spacing; comparing the pier spacings of all the target bridges one by one to obtain the shortest pier spacing; and the navigation width is the shortest pier spacing.
[0018] Optionally, judging whether there is a turning point according to the position data of all the sub-channels includes:
[0019] According to the segmentation curve and the segmentation points corresponding thereto, a plurality of second tangent lines corresponding one to one with the segmentation points on the segmentation curve are calculated;
[0020] The slopes of adjacent second tangents on the segmentation curve are subtracted to obtain a slope difference, and the slope difference is compared with a preset slope threshold to determine whether the slope difference is greater than the preset slope threshold. If so, the segmentation curve between the two segmentation points corresponding to the adjacent second tangents is determined to be a turning point.
[0021] Optionally, judging whether the target channel has a continuous turning area according to all the turning points includes:
[0022] It is determined whether the shortest distance between adjacent turns is less than a preset distance threshold. If so, it is determined that the target course has continuous turns.
[0023] A channel guidance system, comprising:
[0024] A data acquisition module, used to acquire the geospatial data of the target waterway;
[0025] A channel division module, used to divide the target channel into a plurality of sub-channels according to the geographic spatial data and the preset navigation width, and obtain the position data of all the sub-channels;
[0026] The judging and marking module is used to judge whether there is a turning point according to the position data of all the sub-channels, and if so, to make a first mark on the turning point, and to judge whether there is a continuous turning area in the target channel according to all the turning points, and if so, to make a second mark on the continuous turning area.
[0027] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0028] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.
[0029] In summary, the present invention has the following beneficial effects: through the division of sub-channels, it is convenient for ships to sail along the sub-channels during navigation, especially during navigation at night, it can avoid the situation where the ship deviates, and it can also mark the turning points and continuous turning points, so as to serve as a reminder for ships that are about to sail to the turning points or continuous turning points, so as to facilitate the ships to prepare and prevent the ships from colliding with the two sides of the target channel. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic flow chart of the method provided by the present invention;
[0031] Figure 2 It is a structural block diagram of the waterway guidance system provided by the present invention;
[0032] Figure 3 It is a diagram of the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.
[0034] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0035] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.
[0036] The present invention provides a channel guidance method, such as Figure 1 As shown, including:
[0037] Step 100, obtaining the geospatial data of the target waterway; wherein the geospatial data of the target waterway includes: data information of a plurality of position points collected on both sides of the target waterway along the course of the target waterway, the data information of the plurality of position points being represented by longitude data and latitude data;
[0038] Step 200: Divide the target channel into a number of sub-channels according to the geospatial data and the preset navigation width, and obtain the position data of all the sub-channels; divide the target channel into a number of sub-channels, so as to facilitate the navigation of ships along any of the divided sub-channels, and to maintain the normal navigation of ships in the target channel; in practical applications, combine the position data of the sub-channels with the position data of the ship, so as to facilitate the navigation of the ship along the sub-channels during the navigation process, especially during the navigation at night, so as to avoid the deviation of the ship;
[0039] Step 300, judging whether there is a turning point according to the position data of all the sub-channels, and if so, making a first mark on the turning point so as to remind the ship that will sail to the turning point and make preparations for the turning; judging whether there is a continuous turning area in the target channel according to all the turning points, and if so, making a second mark on the continuous turning area so as to remind the ship that will sail to the continuous turning area and make preparations for the turning.
[0040] In practical applications, a first guide light may be provided at the entrance end of the turn and / or the entire turn to emit light, and the first guide light may be controlled to continuously light up and down, especially at night or in dim light, to indicate to the ship that this is a turn to avoid collision between the ship and the two sides of the waterway. A second guide light may also be provided at the entrance end of the continuous turn and / or the entire continuous turn, and the second guide light may be controlled to continuously light up and down to indicate to the ship that this is a continuous turn, further reducing the possibility of collision between the ship and the two sides of the waterway. In addition, the first indicator light and the second indicator light may have different lighting frequencies to distinguish between the turn and the continuous turn.
[0041] Furthermore, the target waterway is divided into a plurality of sub-waterways according to the geospatial data and the preset navigation width, including:
[0042] A first boundary curve and a second boundary curve of the target waterway are obtained according to the geospatial data, that is, according to data information of a number of position points collected on both sides of the target waterway, in the present application, the number of position points are collected at equal intervals, so as to obtain a more accurate first boundary curve and a second boundary curve, and then a number of position points on one side of the target waterway are connected in sequence along the heading of the target waterway to obtain the first boundary curve of the target waterway, and a number of position points on the other side of the target waterway are connected in sequence along the heading of the target waterway to obtain the second boundary curve of the target waterway, and a number of tangent points on the first boundary curve are selected, in the present application, the number of the number of tangent points is the same as the number of the number of position points, and they correspond one to one, so as to improve the accuracy of subsequent calculations, and a number of first tangent lines corresponding one to one with the number of tangent points on the first boundary curve are calculated;
[0043] A first perpendicular line corresponding to the tangent point is calculated based on the tangent point and the first tangent line corresponding thereto, and then a first intersection point of the first perpendicular line and the second boundary curve is calculated, and a width of the target channel at the tangent point is calculated based on the first intersection point and the tangent point, thereby obtaining the width of the target channel at all tangent points;
[0044] The widths at all the tangent points are divided according to the navigable width to obtain a number of segmentation points. In practical applications, the widths of the target waterway sections may be different. Therefore, the number of segmentation points along each width direction may be different. For example, the front section of a waterway is exactly the same as the navigable width, the middle section is exactly one times the navigable width, and the rear section is exactly three times the navigable width. In this case, the front section of the waterway has no segmentation point, the middle section has one segmentation point along the width direction, and the rear section has two segmentation points along the width direction. After all the segmentation points are sequentially connected along the heading of the target waterway to obtain a number of segmentation curves, the front section of the waterway has no segmentation curve, the middle section has one segmentation curve, and the rear section has two segmentation curves. The first boundary curve, the second boundary curve and the several segmentation curves form a number of sub-channels, that is, the front section of the waterway is a sub-channel formed by the first boundary curve and the second boundary curve, the middle section is a sub-channel formed by the first boundary curve, a segmentation curve and a second boundary curve, and the rear section is a sub-channel formed by the first boundary curve, two segmentation curves and a second boundary curve, so that ships can choose corresponding sub-channels to travel at different sections of the waterway.
[0045] In practical applications, a plurality of third guide lights can be arranged at equal intervals along the dividing curve to emit light. The third guide lights can be kept on at night to guide ships traveling at night.
[0046] Furthermore, the navigation width is the preset ship width plus the preset navigation distance. The preset ship width can be set as the maximum ship width allowed for a ship to pass through the target channel, and the preset navigation distance can be set to 5 meters, 10 meters, 15 meters, etc. The preset navigation distance can prevent the ship from colliding with the guide light.
[0047] Further, judging whether there is a turning point according to the position data of all the sub-channels includes:
[0048] According to the segmentation curve and the segmentation points corresponding thereto, a plurality of second tangent lines corresponding one to one with the segmentation points on the segmentation curve are calculated;
[0049] The slopes of adjacent second tangents on the segmentation curve are subtracted to obtain the slope difference. According to the slopes of adjacent second tangents on the segmentation curve, it is possible to determine whether the segmentation curve has a curvature change. The slope difference is compared with a preset slope threshold to determine whether the slope difference is greater than the preset slope threshold. That is, when the curvature change is large, it proves that the segmentation curve has a turning point between adjacent segmentation points corresponding to adjacent second tangents. Therefore, when the slope difference is greater than the preset slope threshold, it is determined that the segmentation curve between the two segmentation points corresponding to the adjacent second tangents is a turning point. When the slope difference is not greater than the preset slope threshold, it is determined that there is no turning point between the two segmentation points corresponding to the adjacent second tangents.
[0050] Further, judging whether the target channel has a continuous turning area according to all the turning points includes:
[0051] It is determined whether the shortest distance between adjacent turns is less than a preset distance threshold. If so, it is determined that the target course has continuous turns.
[0052] In actual applications, the preset distance threshold can be set to 200 meters, 300 meters, 500 meters, etc.; by judging whether there are continuous turns and marking the ship if there are continuous turns, the ship can prepare in advance and pass through the entire continuous turn at a slow speed to reduce the risk of the ship colliding on both sides of the target channel.
[0053] The channel guidance method of the present invention, through the division of sub-channels, facilitates the ship to sail along the sub-channels during the navigation process, especially during navigation at night, can avoid the ship from deviating, and can also mark the turning points and continuous turning points to serve as a reminder for the ship that is about to sail to the turning points or continuous turning points, so as to facilitate the ship to prepare.
[0054] In one embodiment, it further includes:
[0055] Get the location data of all bridges;
[0056] The location data of all bridges are compared with the geographic spatial data of the target waterway one by one to obtain all target bridges built on the target waterway, so as to obtain the bridge information of the target bridge, so as to mark the target bridge and issue a warning to the ships traveling on the target waterway. In practical applications, a fourth guide light can also be set on the target bridge, and this can be marked as the target bridge by using a light different from the first guide light, the second guide light and the third guide light.
[0057] Furthermore, by acquiring the bridge information of the target bridge, the pier spacing of the target bridge can be obtained, that is, the bridge information of the target bridge includes: pier spacing; comparing the pier spacings of all the target bridges one by one to obtain the shortest pier spacing; the navigation width is the shortest pier spacing. By using the shortest pier spacing as the navigation width, it is possible to prevent ships on the target waterway from colliding with the piers of the target bridge, reduce the risk of collision between ships and the target bridge, and improve navigation safety.
[0058] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0059] like Figure 2 As shown, the present invention also provides a channel guidance system, comprising:
[0060] A data acquisition module 10 is used to acquire the geospatial data of the target waterway;
[0061] A channel division module 20, for dividing the target channel into a plurality of sub-channels according to the geographic spatial data and a preset navigation width, and obtaining position data of all the sub-channels;
[0062] The judging and marking module 30 is used to judge whether there is a turning point according to the position data of all the sub-channels, and if so, to make a first mark on the turning point, and to judge whether there is a continuous turning area in the target channel according to all the turning points, and if so, to make a second mark on the continuous turning area.
[0063] For the specific definition of the channel guidance system, please refer to the definition of the channel guidance method above, which will not be repeated here. The various modules of the above-mentioned channel guidance system can be implemented in whole or in part through software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0064] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a channel guidance method is implemented.
[0065] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0066] In one embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0067] Obtain geospatial data of target waterway;
[0068] Dividing the target waterway into a plurality of sub-channels according to the geographic spatial data and the preset navigation width, and obtaining the position data of all the sub-channels;
[0069] Determine whether there is a turning point based on the position data of all the sub-channels, and if so, make a first mark on the turning point, and determine whether the target channel has a continuous turning area based on all the turning points, and if so, make a second mark on the continuous turning area.
[0070] In one embodiment, the target waterway is divided into a plurality of sub-waterways according to the geospatial data and the preset navigation width, including:
[0071] Obtaining a first boundary curve and a second boundary curve of the target waterway according to the geospatial data, selecting a plurality of tangent points on the first boundary curve, and calculating a plurality of first tangent lines corresponding one-to-one to the plurality of tangent points on the first boundary curve;
[0072] A first perpendicular line corresponding to the tangent point is calculated based on the tangent point and the first tangent line corresponding thereto, and then a first intersection point of the first perpendicular line and the second boundary curve is calculated, and a width of the target channel at the tangent point is calculated based on the first intersection point and the tangent point, thereby obtaining the width of the target channel at all tangent points;
[0073] The widths at all tangent points are divided according to the navigable width to obtain a number of segmentation points, and all the segmentation points are sequentially connected along the course of the target channel to obtain a number of segmentation curves. The first boundary curve, the second boundary curve and the number of segmentation curves form a number of sub-channels.
[0074] In one embodiment, the navigation width is a preset ship width plus a preset navigation distance.
[0075] In one embodiment, it further includes:
[0076] Get the location data of all bridges;
[0077] The location data of all bridges are compared with the geographic spatial data of the target waterway one by one to obtain all target bridges built on the target waterway, thereby obtaining the bridge information of the target bridges.
[0078] In one embodiment, the bridge information of the target bridge includes: pier spacing; comparing the pier spacings of all the target bridges one by one to obtain the shortest pier spacing; and the navigation width is the shortest pier spacing.
[0079] In one embodiment, determining whether there is a turn according to the position data of all the sub-channels includes:
[0080] According to the segmentation curve and the segmentation points corresponding thereto, a plurality of second tangent lines corresponding one to one with the segmentation points on the segmentation curve are calculated;
[0081] The slopes of adjacent second tangents on the segmentation curve are subtracted to obtain a slope difference, and the slope difference is compared with a preset slope threshold to determine whether the slope difference is greater than the preset slope threshold. If so, the segmentation curve between the two segmentation points corresponding to the adjacent second tangents is determined to be a turning point.
[0082] In one embodiment, judging whether the target channel has a continuous turning area according to all the turning areas includes:
[0083] It is determined whether the shortest distance between adjacent turns is less than a preset distance threshold. If so, it is determined that the target course has continuous turns.
[0084] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0085] Obtain geospatial data of target waterway;
[0086] Dividing the target waterway into a plurality of sub-channels according to the geographic spatial data and the preset navigation width, and obtaining the position data of all the sub-channels;
[0087] Determine whether there is a turning point based on the position data of all the sub-channels, and if so, make a first mark on the turning point, and determine whether the target channel has a continuous turning area based on all the turning points, and if so, make a second mark on the continuous turning area.
[0088] In one embodiment, the target waterway is divided into a plurality of sub-waterways according to the geospatial data and the preset navigation width, including:
[0089] Obtaining a first boundary curve and a second boundary curve of the target waterway according to the geospatial data, selecting a plurality of tangent points on the first boundary curve, and calculating a plurality of first tangent lines corresponding one-to-one to the plurality of tangent points on the first boundary curve;
[0090] A first perpendicular line corresponding to the tangent point is calculated based on the tangent point and the first tangent line corresponding thereto, and then a first intersection point of the first perpendicular line and the second boundary curve is calculated, and a width of the target channel at the tangent point is calculated based on the first intersection point and the tangent point, thereby obtaining the width of the target channel at all tangent points;
[0091] The widths at all tangent points are divided according to the navigable width to obtain a number of segmentation points, and all the segmentation points are sequentially connected along the course of the target channel to obtain a number of segmentation curves. The first boundary curve, the second boundary curve and the number of segmentation curves form a number of sub-channels.
[0092] In one embodiment, the navigation width is a preset ship width plus a preset navigation distance.
[0093] In one embodiment, it further includes:
[0094] Get the location data of all bridges;
[0095] The location data of all bridges are compared with the geographic spatial data of the target waterway one by one to obtain all target bridges built on the target waterway, thereby obtaining the bridge information of the target bridges.
[0096] In one embodiment, the bridge information of the target bridge includes: pier spacing; comparing the pier spacings of all the target bridges one by one to obtain the shortest pier spacing; and the navigation width is the shortest pier spacing.
[0097] In one embodiment, determining whether there is a turn according to the position data of all the sub-channels includes:
[0098] According to the segmentation curve and the segmentation points corresponding thereto, a plurality of second tangent lines corresponding one to one with the segmentation points on the segmentation curve are calculated;
[0099] The slopes of adjacent second tangents on the segmentation curve are subtracted to obtain a slope difference, and the slope difference is compared with a preset slope threshold to determine whether the slope difference is greater than the preset slope threshold. If so, the segmentation curve between the two segmentation points corresponding to the adjacent second tangents is determined to be a turning point.
[0100] In one embodiment, judging whether the target channel has a continuous turning area according to all the turning areas includes:
[0101] It is determined whether the shortest distance between adjacent turns is less than a preset distance threshold. If so, it is determined that the target course has continuous turns.
[0102] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0103] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A channel guidance method, It is characterized in that include: Obtain geospatial data of target waterway; Dividing the target waterway into a plurality of sub-channels according to the geographic spatial data and the preset navigation width, and obtaining the position data of all the sub-channels; The method of dividing the target waterway into a plurality of sub-waterways according to the geospatial data and the preset navigation width includes: obtaining a first boundary curve and a second boundary curve of the target waterway according to the geospatial data, selecting a plurality of tangent points on the first boundary curve, and calculating a plurality of first tangent lines corresponding to the plurality of tangent points on the first boundary curve in a one-to-one manner; A first perpendicular line corresponding to the tangent point is calculated based on the tangent point and the first tangent line corresponding thereto, and then a first intersection point of the first perpendicular line and the second boundary curve is calculated, and a width of the target channel at the tangent point is calculated based on the first intersection point and the tangent point, thereby obtaining the width of the target channel at all tangent points; The widths at all the tangent points are divided according to the navigable width to obtain a plurality of segmentation points, and all the segmentation points are sequentially connected along the course of the target channel to obtain a plurality of segmentation curves, wherein the first boundary curve, the second boundary curve and the plurality of segmentation curves form a plurality of sub-channels; Determine whether there is a turning point based on the position data of all the sub-channels, and if so, make a first mark on the turning point, and determine whether the target channel has a continuous turning area based on all the turning points, and if so, make a second mark on the continuous turning area.
2. The channel guidance method according to claim 1, It is characterized in that The navigation width is the preset ship width plus the preset navigation distance.
3. The channel guidance method according to claim 1, It is characterized in that Also includes: Get the location data of all bridges; The location data of all bridges are compared with the geographic spatial data of the target waterway one by one to obtain all target bridges built on the target waterway, thereby obtaining the bridge information of the target bridges.
4. The channel guidance method according to claim 3, It is characterized in that The bridge information of the target bridge includes: the pier spacing; the pier spacings of all the target bridges are compared one by one to obtain the shortest pier spacing; and the navigation width is the shortest pier spacing.
5. The waterway guidance method according to claim 1, It is characterized in that The determining whether there is a turning point according to the position data of all the sub-channels includes: According to the segmentation curve and the segmentation points corresponding thereto, a plurality of second tangent lines corresponding one to one with the segmentation points on the segmentation curve are calculated; The slopes of adjacent second tangents on the segmentation curve are subtracted to obtain a slope difference, and the slope difference is compared with a preset slope threshold to determine whether the slope difference is greater than the preset slope threshold. If so, the segmentation curve between the two segmentation points corresponding to the adjacent second tangents is determined to be a turning point.
6. The waterway guidance method according to claim 1, It is characterized in that The step of judging whether the target channel has a continuous turning area according to all the turning points includes: It is determined whether the shortest distance between adjacent turns is less than a preset distance threshold. If so, it is determined that the target course has continuous turns.
7. A channel guidance system, It is characterized in that include: A data acquisition module, used to acquire the geospatial data of the target waterway; A channel division module, used to divide the target channel into a plurality of sub-channels according to the geographic spatial data and the preset navigation width, and obtain the position data of all the sub-channels; The method of dividing the target waterway into a plurality of sub-waterways according to the geospatial data and the preset navigation width includes: obtaining a first boundary curve and a second boundary curve of the target waterway according to the geospatial data, selecting a plurality of tangent points on the first boundary curve, and calculating a plurality of first tangent lines corresponding to the plurality of tangent points on the first boundary curve in a one-to-one manner; A first perpendicular line corresponding to the tangent point is calculated based on the tangent point and the first tangent line corresponding thereto, and then a first intersection point of the first perpendicular line and the second boundary curve is calculated, and a width of the target channel at the tangent point is calculated based on the first intersection point and the tangent point, thereby obtaining the width of the target channel at all tangent points; The widths at all the tangent points are divided according to the navigable width to obtain a plurality of segmentation points, and all the segmentation points are sequentially connected along the course of the target channel to obtain a plurality of segmentation curves, wherein the first boundary curve, the second boundary curve and the plurality of segmentation curves form a plurality of sub-channels; The judging and marking module is used to judge whether there is a turning point according to the position data of all the sub-channels, and if so, to make a first mark on the turning point, and to judge whether there is a continuous turning area in the target channel according to all the turning points, and if so, to make a second mark on the continuous turning area.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method for calculating ship navigable areas by use of hydrodynamic model
CN106652565A
Method and system for ship in bridge area to actively avoid collision based on laser three-dimensional imaging technique
CN106710313A
