Navigation channel deviation early warning method and system based on swan gap operating system
By using the Hongmeng operating system to process satellite images and calculate navigation status similarity in the channel departure warning system, the problem of high false alarm rate in the existing system is solved, and accurate identification and timely warning of ship departures are achieved, and navigation safety is improved sex.
Patent Information
- Application Number
- CN202410838450.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The existing channel departure warning system is prone to false alarm when a ship deviates from the channel for a short time, which affects safety monitoring and lacks identification accuracy.
Using the method based on the Hongmeng operating system, the satellite image is obtained and filtered, the ship's outline is extracted and edge enhancement is performed, the similarity between the ship and the historical navigation state is calculated, whether it deviates from the channel, and early warning is made through the mobile terminal.
It improves navigation efficiency and safety, reduces false alarm rates, and ensures accurate identification and timely warning of ship deviating from the channel.
Smart Images

Figure CN118942282A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of channel deviation warning technology, and more specifically, relates to a channel deviation warning method and system based on Hongmeng operating system. Background Art
[0002] The channel deviation warning during navigation means that if the ship deviates from the preset channel or route during navigation, the system will issue an alarm to remind the crew to make adjustments to ensure the safe navigation of the ship. This warning system usually uses navigation data, GPS positioning, radar and other technologies to monitor the position and course of the ship. Once it detects that the ship deviates from the preset channel, the system will trigger an alarm to remind the crew to take necessary measures, such as adjusting the course or speed, to avoid collision, grounding or other dangerous situations. The channel deviation warning system plays an important role in improving the navigation safety of ships and reducing the occurrence of accidents, especially in complex shipping environments and severe weather conditions.
[0003] However, it is not accurate to determine whether a ship has deviated from the channel only by the above method, and it is easy to produce false alarms. For example, sometimes a ship will deviate from the channel for a short time to avoid reefs, and will return to the channel after it is safe. At this time, it is easy to produce false alarms, which will affect the judgment of safety monitoring personnel. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a course deviation warning method based on Hongmeng operating system, comprising:
[0005] Acquire the original satellite image of the current ship when sailing, perform filtering on the original satellite image, obtain the pixel value at each coordinate after filtering, and form the satellite image after filtering;
[0006] Extracting the contour of the current ship from the filtered satellite image, and performing edge enhancement on the contour of the current ship to complete the identification of the current ship;
[0007] The moving trajectory of the center point of the current ship within a time period is extracted as the navigation path of the current ship and the ship information of the current ship, and the navigation path of the historical ship and the ship information of the historical ship are obtained, and the similarity between the navigation status of the current ship and the historical ship is calculated, and the historical ship that is most similar to the navigation status of the current ship is found, so as to determine whether the course of the current ship has deviated, and issue an early warning through a mobile terminal based on the Hongmeng operating system.
[0008] Furthermore, the extracting of the contour of the current ship in the satellite image after filtering includes:
[0009]
[0010] Among them, G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
[0011] Furthermore, the edge enhancement of the contour of the current ship includes:
[0012]
[0013] Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
[0014] Furthermore, the calculating the similarity between the navigation status of the current ship and the historical ship includes:
[0015]
[0016] Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
[0017] Further, finding the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship deviates includes:
[0018] If the most similar historical ship is a historical ship that has deviated from the waterway, then the current ship is at risk of deviating from the waterway, and an early warning is issued.
[0019] Furthermore, the gradient modulus M mag (x, y) is compared with a preset threshold, and the gradient modulus M smaller than the preset threshold is mag The edge of the current ship corresponding to (x, y) is regarded as a weak edge, and the gradient modulus length M exceeding the preset threshold is mag The edge of the current ship corresponding to (x, y) is taken as a strong edge, and then the weak edge is connected to the strong edge to form a continuous edge line.
[0020] The present invention also proposes a course deviation warning system based on Hongmeng operating system, comprising:
[0021] A filtering module is used to obtain the original satellite image of the current ship when sailing, filter the original satellite image, obtain the pixel value at each coordinate after filtering, and form a satellite image after filtering;
[0022] An edge enhancement module is used to extract the contour of the current ship in the satellite image after filtering, and perform edge enhancement on the contour of the current ship to complete the identification of the current ship;
[0023] An early warning module is used to extract the moving trajectory of the center point of the current ship within a time period as the navigation path of the current ship and the ship information of the current ship, and obtain the navigation path of historical ships and the ship information of the historical ships, and calculate the similarity between the navigation status of the current ship and the historical ships, find the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship has deviated and issue an early warning.
[0024] Furthermore, the extracting of the contour of the current ship in the satellite image after filtering includes:
[0025]
[0026] Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
[0027] Furthermore, the edge enhancement of the contour of the current ship includes:
[0028]
[0029] Among them, M mag(x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
[0030] Furthermore, the calculating the similarity between the navigation status of the current ship and the historical ship includes:
[0031]
[0032] Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
[0033] Compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
[0034] Through the above technical scheme, the present invention can firstly identify the current ship in sailing based on satellite images, and can confirm whether the current ship has deviated from the waterway based on the comparison with the historical ship's driving status, and issue an early warning to the user through the terminal, thereby improving navigation efficiency and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of the method of embodiment 1 of the present invention;
[0036] Figure 2 It is a system structure diagram of embodiment 2 of the present invention. DETAILED DESCRIPTION
[0037] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0038] The method provided by the present invention can be implemented in the following terminal environment, and the terminal may include one or more of the following components: a processor, a storage medium, and a display screen. The storage medium stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method described in the following embodiment.
[0039] The processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts in the entire terminal, and executes various functions of the terminal and processes data by running or executing instructions, programs, code sets or instruction sets stored in the storage medium, and calling data stored in the storage medium.
[0040] The storage medium may include a random access memory (RAM) or a read-only memory (ROM). The storage medium may be used to store instructions, programs, codes, code sets or instructions.
[0041] The display is used to show the interactive cross-section of each application.
[0042] All subscripts in the formulas of the present invention are only used to distinguish parameters and have no actual meaning.
[0043] In addition, those skilled in the art can understand that the structure of the above terminal does not constitute a limitation on the terminal, and the terminal may include more or fewer components, or combine certain components, or arrange the components differently. For example, the terminal also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, and a power supply, which will not be described in detail here.
[0044] Example 1
[0045] like Figure 1 As shown, an embodiment of the present invention provides a course deviation warning method based on Hongmeng operating system, including:
[0046] Step 101, obtaining an original satellite image of the current ship sailing, filtering the original satellite image, obtaining pixel values at each coordinate after filtering, and forming a satellite image after filtering;
[0047] Specifically, extracting the contour of the current ship in the satellite image after filtering includes:
[0048]
[0049] Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
[0050] Step 102, extracting the contour of the current ship in the satellite image after filtering, and performing edge enhancement on the contour of the current ship to complete the identification of the current ship;
[0051] Specifically, the edge enhancement of the contour of the current ship includes:
[0052]
[0053]
[0054] Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
[0055] Specifically, the gradient modulus M mag (x, y) is compared with a preset threshold, and the gradient modulus M smaller than the preset threshold is mag The edge of the current ship corresponding to (x, y) is regarded as a weak edge, and the gradient modulus length M exceeding the preset threshold is mag The edge of the current ship corresponding to (x, y) is taken as a strong edge, and then the weak edge is connected to the strong edge to form a continuous edge line.
[0056] Step 103: extract the moving trajectory of the center point of the current ship within the time period as the navigation path of the current ship and the ship information of the current ship, obtain the navigation path of the historical ship and the ship information of the historical ship, calculate the similarity between the navigation status of the current ship and the historical ship, find the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship deviates, and issue an early warning through a mobile terminal based on the Hongmeng operating system.
[0057] Specifically, the calculating the similarity between the navigation status of the current ship and the historical ship includes:
[0058]
[0059] Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
[0060] Specifically, finding the historical ship that has the most similar navigation status to the current ship, thereby determining whether the current ship has deviated from the course includes:
[0061] If the most similar historical ship is a historical ship that has deviated from the waterway, then the current ship is at risk of deviating from the waterway, and an early warning is issued.
[0062] Example 2
[0063] like Figure 2 As shown, the embodiment of the present invention also proposes a course deviation warning system based on the Hongmeng operating system, including:
[0064] A filtering module is used to obtain the original satellite image of the current ship when sailing, filter the original satellite image, obtain the pixel value at each coordinate after filtering, and form a satellite image after filtering;
[0065] Specifically, extracting the contour of the current ship in the satellite image after filtering includes:
[0066]
[0067] Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
[0068] An edge enhancement module is used to extract the contour of the current ship in the satellite image after filtering, and perform edge enhancement on the contour of the current ship to complete the identification of the current ship;
[0069] Specifically, the edge enhancement of the contour of the current ship includes:
[0070]
[0071] Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
[0072] Specifically, the gradient modulus M mag (x, y) is compared with a preset threshold, and the gradient modulus M smaller than the preset threshold is mag The edge of the current ship corresponding to (x, y) is regarded as a weak edge, and the gradient modulus length M exceeding the preset threshold is mag The edge of the current ship corresponding to (x, y) is taken as a strong edge, and then the weak edge is connected to the strong edge to form a continuous edge line.
[0073] An early warning module is used to extract the moving trajectory of the center point of the current ship within a time period as the navigation path of the current ship, and the ship information of the current ship, and obtain the navigation path of historical ships and the ship information of the historical ships, and calculate the similarity between the navigation status of the current ship and the historical ships, find the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship deviates, and issue an early warning through a mobile terminal based on the Hongmeng operating system.
[0074] Specifically, the calculating the similarity between the navigation status of the current ship and the historical ship includes:
[0075]
[0076] Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
[0077] Specifically, finding the historical ship that has the most similar navigation status to the current ship, thereby determining whether the current ship has deviated from the course includes:
[0078] If the most similar historical ship is a historical ship that has deviated from the waterway, then the current ship is at risk of deviating from the waterway, and an early warning is issued.
[0079] Example 3
[0080] An embodiment of the present invention also proposes a storage medium storing multiple instructions, wherein the instructions are used to implement the channel deviation warning method based on the Hongmeng operating system.
[0081] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0082] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: Step 101, obtaining an original satellite image of the current ship sailing, filtering the original satellite image to obtain a pixel value at each coordinate after filtering, and forming a satellite image after filtering;
[0083] Specifically, extracting the contour of the current ship in the satellite image after filtering includes:
[0084]
[0085] Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
[0086] Step 102, extracting the contour of the current ship in the satellite image after filtering, and performing edge enhancement on the contour of the current ship to complete the identification of the current ship;
[0087] Specifically, the edge enhancement of the contour of the current ship includes:
[0088]
[0089] Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
[0090] Specifically, the gradient modulus M mag (x, y) is compared with a preset threshold, and the gradient modulus M smaller than the preset threshold is mag The edge of the current ship corresponding to (x, y) is regarded as a weak edge, and the gradient modulus length M exceeding the preset threshold is mag The edge of the current ship corresponding to (x, y) is taken as a strong edge, and then the weak edge is connected to the strong edge to form a continuous edge line.
[0091] Step 103: extract the moving trajectory of the center point of the current ship within the time period as the navigation path of the current ship and the ship information of the current ship, obtain the navigation path of the historical ship and the ship information of the historical ship, calculate the similarity between the navigation status of the current ship and the historical ship, find the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship deviates, and issue an early warning through a mobile terminal based on the Hongmeng operating system.
[0092] Specifically, the calculating the similarity between the navigation status of the current ship and the historical ship includes:
[0093]
[0094] Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
[0095] Specifically, finding the historical ship that has the most similar navigation status to the current ship, thereby determining whether the current ship has deviated from the course includes:
[0096] If the most similar historical ship is a historical ship that has deviated from the waterway, then the current ship is at risk of deviating from the waterway, and an early warning is issued.
[0097] Example 4
[0098] An embodiment of the present invention also proposes an electronic device, comprising a processor and a storage medium connected to the processor, wherein the storage medium stores a plurality of instructions, and the instructions can be loaded and executed by the processor so that the processor can execute a course deviation warning method based on the Hongmeng operating system.
[0099] Specifically, the electronic device of this embodiment may be a computer terminal, and the computer terminal may include: one or more processors, and a storage medium.
[0100] Among them, the storage medium can be used to store software programs and modules, such as a course deviation warning method based on the Hongmeng operating system in an embodiment of the present invention, and the corresponding program instructions / modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the storage medium, that is, realizing the above-mentioned course deviation warning method based on the Hongmeng operating system. The storage medium may include high-speed random storage media, and may also include non-volatile storage media, such as one or more magnetic storage systems, flash memory, or other non-volatile solid-state storage media. In some instances, the storage medium may further include storage media remotely arranged relative to the processor, and these remote storage media may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0101] The processor can call the information and application program stored in the storage medium through the transmission system to execute the following steps: Step 101, obtaining the original satellite image of the current ship sailing, filtering the original satellite image, obtaining the pixel value at each coordinate after filtering, and forming the satellite image after filtering;
[0102] Specifically, extracting the contour of the current ship in the satellite image after filtering includes:
[0103]
[0104] Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
[0105] Step 102, extracting the contour of the current ship in the satellite image after filtering, and performing edge enhancement on the contour of the current ship to complete the identification of the current ship;
[0106] Specifically, the edge enhancement of the contour of the current ship includes:
[0107]
[0108] Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
[0109] Specifically, the gradient modulus M mag (x, y) is compared with a preset threshold, and the gradient modulus M smaller than the preset threshold is mag The edge of the current ship corresponding to (x, y) is regarded as a weak edge, and the gradient modulus length M that exceeds the preset threshold is mag The edge of the current ship corresponding to (x, y) is taken as a strong edge, and then the weak edge is connected to the strong edge to form a continuous edge line.
[0110] Step 103: extract the moving trajectory of the center point of the current ship within the time period as the navigation path of the current ship and the ship information of the current ship, obtain the navigation path of the historical ship and the ship information of the historical ship, calculate the similarity between the navigation status of the current ship and the historical ship, find the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship deviates, and issue an early warning through a mobile terminal based on the Hongmeng operating system.
[0111] Specifically, the calculating the similarity between the navigation status of the current ship and the historical ship includes:
[0112]
[0113] Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the hth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
[0114] Specifically, finding the historical ship that has the most similar navigation status to the current ship, thereby determining whether the current ship has deviated from the course includes:
[0115] If the most similar historical ship is a historical ship that has deviated from the waterway, then the current ship is at risk of deviating from the waterway, and an early warning is issued.
[0116] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0117] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0118] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0120] In addition, each functional unit in each embodiment of the present invention 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0121] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only storage medium (ROM, Read-Only Memory), random access storage medium (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0122] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A route deviation warning method based on Hongmeng operating system, characterized in that: include: Acquire the original satellite image of the current ship when sailing, perform filtering on the original satellite image, obtain the pixel value at each coordinate after filtering, and form the satellite image after filtering; Extracting the contour of the current ship from the filtered satellite image, and performing edge enhancement on the contour of the current ship to complete the identification of the current ship; The moving trajectory of the center point of the current ship within a time period is extracted as the navigation path of the current ship and the ship information of the current ship, and the navigation path of the historical ship and the ship information of the historical ship are obtained, and the similarity between the navigation status of the current ship and the historical ship is calculated, and the historical ship that is most similar to the navigation status of the current ship is found, so as to determine whether the course of the current ship has deviated, and issue an early warning through a mobile terminal based on the Hongmeng operating system.
2. A route deviation warning method based on Hongmeng operating system as claimed in claim 1, characterized in that: The extracting of the contour of the current ship in the satellite image after filtering comprises: Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
3. A route deviation warning method based on Hongmeng operating system as claimed in claim 2, characterized in that: The edge enhancement of the contour of the current ship comprises: Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
4. A route deviation warning method based on Hongmeng operating system as claimed in claim 3, characterized in that: The calculating the similarity between the navigation status of the current ship and the historical ship comprises: Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
5. A route deviation warning method based on Hongmeng operating system as claimed in claim 1, characterized in that: Finding the historical ship that is most similar to the navigation status of the current ship, thereby determining whether the course of the current ship deviates includes: If the most similar historical ship is a historical ship that has deviated from the waterway, then the current ship is at risk of deviating from the waterway, and an early warning is issued.
6. A route deviation warning method based on Hongmeng operating system as claimed in claim 3, characterized in that: The gradient modulus M mag (x, y) is compared with a preset threshold, and the gradient modulus M smaller than the preset threshold is mag The edge of the current ship corresponding to (x, y) is regarded as a weak edge, and the gradient modulus length M exceeding the preset threshold is mag The edge of the current ship corresponding to (x, y) is taken as a strong edge, and then the weak edge is connected to the strong edge to form a continuous edge line.
7. A channel deviation warning system based on Hongmeng operating system, characterized in that: include: A filtering module is used to obtain the original satellite image of the current ship when sailing, filter the original satellite image, obtain the pixel value at each coordinate after filtering, and form a satellite image after filtering; An edge enhancement module is used to extract the contour of the current ship in the satellite image after filtering, and perform edge enhancement on the contour of the current ship to complete the identification of the current ship; An early warning module is used to extract the moving trajectory of the center point of the current ship within a time period as the navigation path of the current ship and the ship information of the current ship, and obtain the navigation path of historical ships and the ship information of the historical ships, and calculate the similarity between the navigation status of the current ship and the historical ships, find the historical ship that is most similar to the navigation status of the current ship, so as to determine whether the course of the current ship has deviated and issue an early warning.
8. A channel deviation warning system based on Hongmeng operating system as claimed in claim 7, characterized in that: The extracting of the contour of the current ship in the satellite image after filtering comprises: Where G(x, y) is the pixel value at the coordinate (x, y) after filtering, σ is the standard deviation of the i-th Gaussian kernel, and I(x, y) is the pixel value at the coordinate (x, y) of the original satellite image.
9. A channel deviation warning system based on Hongmeng operating system as claimed in claim 7, characterized in that: The edge enhancement of the contour of the current ship comprises: Among them, M mag (x, y) is the gradient modulus of the pixel value at the coordinate (x, y) after filtering, g(x, y) is the horizontal gradient of the pixel value at the coordinate (x, y) after filtering, g′(x, y) is the vertical gradient of the pixel value at the coordinate (x, y) after filtering, Θ grad (x, y) is the gradient of the gradient direction of the pixel value at the coordinate (x, y) after filtering.
10. A channel deviation warning system based on Hongmeng operating system as claimed in claim 9, characterized in that: The calculating the similarity between the navigation status of the current ship and the historical ship comprises: Among them, S is the similarity of navigation status, n is the number of time points of the current ship, m is the number of time points of the historical ship, and x′ i′ is the horizontal coordinate of the center point of the current ship at the i′th time point, u j is the horizontal coordinate of the center point of the historical ship at the jth time point, y′ i′ is the ordinate of the center point of the current ship at the i′th time point, v j is the ordinate of the center point of the historical ship at the jth time point, v′ i′ is the speed of the current ship at the i′th time point, φ j is the speed of the historical ship at the jth time point, θ i′ is the heading angle of the current ship at the i′th time point, ψ j is the heading angle of the historical ship at the jth time point, σ′ is the adjustment factor of position similarity, γ is the adjustment factor of speed similarity, and δ is the adjustment factor of heading angle similarity.
Citation Information
Patent Citations
Driving yaw detection method and detection device and readable storage medium
CN111323035A
Yaw judgment method and device, and electronic equipment
CN111811533A
Moving ship navigational speed and course acquisition method based on GF-4 image analysis
CN113762125A
Aircraft trajectory yaw early warning method, electronic equipment and storage medium
CN116052482A
Ship yaw detection method and system
CN117095566A
