Anchor position monitoring method and device, electronic equipment and computer storage medium
By automatically selecting the anchor monitoring mode based on the status of the positioning device in the navigation radar software, the problems of subjective selection and inconvenient operation in the existing technology of anchor monitoring mode are solved, and real-time and accurate monitoring under different device statuses is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING INST OF RADIO MEASUREMENT
- Filing Date
- 2025-12-31
- Publication Date
- 2026-05-08
AI Technical Summary
The selection of anchor point monitoring methods in existing navigation radar software is too subjective, requiring users to manually switch, which makes operation inconvenient.
Based on the status of the ship's positioning equipment, the anchorage monitoring method is automatically selected, including GPS reference mode and target reference mode, to determine the distance between the monitored target and the reference point in real time, and to monitor based on the preset alarm threshold.
It enables automatic selection and flexible switching of anchor monitoring methods, ensuring real-time monitoring whether the positioning equipment is available or not, thus improving the accuracy of monitoring and ease of operation.
Smart Images

Figure CN121995360A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of radar navigation technology, and more specifically, to an anchor position monitoring method, device, electronic device, and computer storage medium. Background Technology
[0002] Currently, navigation radar software has an anchor point monitoring function, which usually corresponds to different anchor point monitoring methods. In the existing technology, during the monitoring process, it is necessary to switch and select the anchor point monitoring method. This makes the selection of the anchor point monitoring method too subjective and requires the user to manually select it, which is inconvenient for the user. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide an anchor position monitoring method, device, electronic device and computer storage medium, which aims to solve at least one of the above-mentioned technical problems.
[0004] In a first aspect, the technical solution of the present invention to solve the above-mentioned technical problems is as follows: an anchorage monitoring method, the method comprising: Based on the equipment status of the ship's positioning equipment, the anchor position monitoring method is determined. The anchor position monitoring method is either a first monitoring method or a second monitoring method. The first monitoring method is a monitoring method that uses the ship's location at the activation time as a reference point. The second monitoring method is a monitoring method that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchor position monitoring function is activated. According to the anchorage monitoring method, the distance between the monitored target and the reference point is determined in real time, wherein the monitored target is the ship itself or other tracked targets; Based on the distance value and the preset alarm threshold, the monitoring of the monitored target is achieved.
[0005] The beneficial effects of the present invention are: the first monitoring method or the second monitoring method can be flexibly selected as the anchor position monitoring method according to the equipment status of the positioning equipment of the ship, so as to determine the distance value between the monitored target and the reference point in real time according to the anchor position monitoring method, thereby realizing the monitoring of the monitored target based on the distance value and the preset alarm threshold value.
[0006] Based on the above technical solution, the present invention can be further improved as follows.
[0007] Furthermore, the aforementioned equipment status includes a first status where the vessel's position is obtained through the positioning device, and a second status where the vessel's position cannot be obtained through the positioning device. Determining the anchorage monitoring method based on the equipment status of the vessel's positioning device includes: If the device status is the first status, then the first monitoring method is determined as the anchor monitoring method; If the device status is the second status, then the second monitoring method is determined as the anchor monitoring method.
[0008] The beneficial effect of adopting the above-mentioned further solution is that when the positioning device cannot obtain the position of the ship, the second monitoring method can be used as the anchor position monitoring method. In this way, regardless of whether the positioning device can obtain the position of the ship, real-time monitoring of the anchor position can be guaranteed.
[0009] Furthermore, if the monitored target is the vessel itself, the method of determining the anchorage monitoring based on the equipment status of the vessel's positioning equipment includes: Based on the ship's navigation status and the equipment status, determine the anchorage monitoring method.
[0010] The beneficial effect of adopting the above-mentioned further scheme is that, when the monitored target is the ship itself, the anchor position monitoring method can be determined in combination with the ship's navigation status, so that the monitored target can be better monitored based on the determined anchor position monitoring method.
[0011] Furthermore, the above-mentioned method of determining the distance between the monitored target and the reference point in real time according to the anchor monitoring method includes: If the anchorage monitoring method is the first monitoring method, and the monitored target is the ship itself, the ship's movement distance is calculated in real time based on the ship's position at the activation time and the ship's position at the current time, and the movement distance is used as the distance value between the monitored target and the reference point. If the anchorage monitoring method is the first monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the ship is calculated in real time based on the position of the other tracking target and the position of the ship at the same time. If the anchorage monitoring method is the second monitoring method, and the monitored target is the ship itself, the distance between the ship and the reference point is calculated in real time based on the ship's position at the activation time, the reference point's position at the activation time, the ship's position at the current time, and the reference point's position at the current time. If the anchor monitoring method is the second monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the reference point is calculated in real time based on the position of the other tracking target at the activation time, the position of the reference point at the activation time, the position of the other tracking target at the current time, and the position of the reference point at the current time.
[0012] The beneficial effect of adopting the above-mentioned further scheme is that, under different monitoring methods and different monitored targets, different calculation methods are used to determine the distance value between the monitored target and the reference point, making the determined distance value more accurate.
[0013] Furthermore, the monitoring of the target based on the distance value and the preset alarm threshold includes: An alarm message is generated when the distance value exceeds the alarm threshold.
[0014] The advantage of adopting the above-mentioned further solution is that when the distance value exceeds the alarm threshold, an alarm message can be generated in real time, so that the operator can silence the alarm sound by pressing a button or other means.
[0015] Secondly, in order to solve the above-mentioned technical problems, the present invention also provides an anchorage monitoring device, the device comprising: Anchorage monitoring mode determination module is used to determine the anchorage monitoring mode based on the equipment status of the ship's positioning equipment. The anchorage monitoring mode is either a first monitoring mode or a second monitoring mode. The first monitoring mode is a monitoring mode that uses the ship's location at the activation time as a reference point. The second monitoring mode is a monitoring mode that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchorage monitoring function is activated. The distance value determination module is used to determine the distance value between the monitored target and the reference point in real time according to the anchor position monitoring method, wherein the monitored target is the ship or other tracking targets; The monitoring module is used to monitor the target based on the distance value and a preset alarm threshold value.
[0016] Thirdly, in order to solve the above-mentioned technical problems, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the anchor monitoring method of the present application.
[0017] Fourthly, in order to solve the above-mentioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the anchor monitoring method of the present application.
[0018] Additional aspects and advantages of this application will be set forth in part in the description which follows, and will become apparent from the description or may be learned by practice of this application. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below.
[0020] Figure 1 A flowchart illustrating an anchor position monitoring method according to an embodiment of the present invention; Figure 2 A flowchart illustrating another anchorage monitoring method provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an anchor position monitoring device according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation
[0021] The principles and features of the present invention are described below. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.
[0022] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will now be described with reference to the accompanying drawings.
[0023] The solution provided in this invention can be applied to any application scenario that requires monitoring of the target using radar navigation software with anchor position monitoring function. The solution provided in this invention can be executed by any electronic device, such as a user's terminal device, for example, a terminal device with radar navigation software installed, including at least one of the following: smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, smart TV, and smart vehicle device.
[0024] This invention provides a possible implementation, such as... Figure 1 The diagram shows a flowchart of an anchorage monitoring method. This method can be executed by any electronic device, such as a terminal device, or by both a terminal device and a server. For ease of description, the method provided in this embodiment will be described below using a terminal device as the execution subject. Figure 1 The flowchart shown indicates that the method may include the following steps: Step S110: Determine the anchor position monitoring method according to the equipment status of the ship's positioning equipment. The anchor position monitoring method is either a first monitoring method or a second monitoring method. The first monitoring method is a monitoring method that uses the ship's location at the activation time as a reference point. The second monitoring method is a monitoring method that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchor position monitoring function is activated. Step S120: According to the anchor position monitoring method, determine in real time the distance between the monitored target and the reference point, wherein the monitored target is the ship itself or other tracking targets; Step S130: Based on the distance value and the preset alarm threshold value, the monitoring of the monitored target is realized.
[0025] The method of the present invention allows for the flexible selection of either a first monitoring mode or a second monitoring mode as the anchor position monitoring mode, depending on the equipment status of the ship's positioning equipment. This enables the real-time determination of the distance between the monitored target and the reference point based on the anchor position monitoring mode, thereby achieving monitoring of the monitored target based on the distance value and a preset alarm threshold.
[0026] The following specific embodiments will further illustrate the solution of the present invention. First, the principles of the first monitoring mode (also known as GPS reference mode) and the second monitoring mode (also known as target reference mode) will be introduced. In the GPS reference mode, the location of the ship at the moment when the anchor monitoring function is activated (activation time) is used as the reference point. The monitoring mode determines whether the ship has deviated from the anchor position by judging the change in distance between the monitored target (the ship or other tracked target) and the reference point. In the target reference mode, any tracked target that has been stably tracked is used as the reference point. The distance value is the distance between the monitored target and the reference target (i.e., the reference point) at the activation time. If the distance between the monitored target and the reference target exceeds a set threshold during the anchor monitoring period, the ship is judged to have deviated from the anchor position.
[0027] The target reference mode ensures that anchorage monitoring can still be achieved even when the ship's positioning equipment (such as GPS) is unavailable, i.e., when the ship's position cannot be obtained. Under normal use, the first monitoring mode can generally be selected.
[0028] After introducing the principles of the two different monitoring methods, this application describes an anchorage monitoring method. In this embodiment, an anchorage monitoring method may include the following steps: Step S110: Determine the anchor position monitoring method according to the equipment status of the ship's positioning equipment. The anchor position monitoring method is either a first monitoring method or a second monitoring method. The first monitoring method is a monitoring method that uses the ship's location at the activation time as a reference point. The second monitoring method is a monitoring method that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchor position monitoring function is activated. The aforementioned equipment status includes a first status where the ship's position is obtained through the positioning device and a second status where the ship's position cannot be obtained through the positioning device. Therefore, based on the equipment status of the ship's positioning device, the specific implementation method of the anchorage monitoring method is determined as follows: If the device status is the first status, then the first monitoring method is determined as the anchor monitoring method; If the device status is the second status, then the second monitoring method is determined as the anchor monitoring method.
[0029] The tracking conditions can be pre-set, such as a target that has been stably tracked. Stable tracking means that the position of the target can be monitored in real time and that the position has not deviated from the anchor position.
[0030] The anchor position monitoring function refers to radar navigation software with anchor position monitoring capabilities. The activation time refers to the activation time of the radar navigation software. After the radar navigation software is activated, the anchor position monitoring function in the radar navigation software can be used to monitor the monitored target.
[0031] Optionally, if the monitored target is the vessel itself, determining the anchorage monitoring method based on the equipment status of the vessel's positioning equipment includes: Based on the ship's navigation status and the equipment status, determine the anchorage monitoring method.
[0032] The navigation status of the ship can usually be reflected by the change in the ship's position. If the monitored target is the ship and the reference point is the ship or any tracking target that meets the set tracking conditions, in step S120, when determining the distance value between the monitored target and the reference point, the ship's position needs to be used in the calculation. Therefore, the anchor position monitoring method needs to be determined based on the ship's navigation status and equipment status.
[0033] Specifically, regardless of the ship's navigation status, when the equipment is in the first state, the first monitoring method can be determined as the anchorage monitoring method; when the equipment is in the second state, the second monitoring method can be determined as the anchorage monitoring method.
[0034] Optionally, if the monitored target is another tracking target, and the reference point is any tracking target that meets the set tracking conditions, the calculation of the distance value in step S120 does not require the position of the ship. In this case, when determining the anchor position monitoring method, the ship's navigation status can be disregarded, and the anchor position monitoring method can be determined directly based on the equipment status.
[0035] Optionally, different anchor monitoring methods can correspond to different alarm threshold values. Therefore, after determining the anchor monitoring method, the alarm threshold value (also known as the distance radius) corresponding to the anchor monitoring method can also be determined.
[0036] Step S120: According to the anchor position monitoring method, determine in real time the distance between the monitored target and the reference point, wherein the monitored target is the ship itself or other tracking targets; Where the monitored target is the ship itself, and the reference point is also the ship, the distance between the monitored target and the reference point can be the change in their positions at different times. For example, the distance between the ship's current position and its position at the activation time can be used as the distance between the monitored target and the reference point. It is understood that the current time and the activation time refer to two different times.
[0037] Before introducing the specific implementation of S120, we will first introduce the principle of how to calculate the distance between the monitored target and the reference point under different anchor monitoring methods and different monitored target conditions.
[0038] In GPS reference mode, the geographic coordinates of the anchor monitoring target (the monitored target) are recorded at the moment of activation, i.e., the position of the monitored target at the moment of activation. During the monitoring process, the relative relationship between the monitored target and the ship's position is calculated in real time based on the real-time detected position of the monitored target, i.e., the distance between the monitored target and the ship is calculated.
[0039] In target reference mode, assume A is the reference target (assuming it is stationary, it can also be called the reference point), O is the position of the ship at the activation time, B is the position of a certain target (denoted as target T, other tracked targets) at the activation time, O' is the position of the ship at a certain time after the activation time, and B' is the position of target T at a certain time after the activation time.
[0040] Based on the equipment measurements, the distance between the ship and the reference target at the activation time can be recorded as a1; the distance between the target T and the ship at the activation time can be recorded as b1; the distance between the reference target and the ship at a certain moment after the activation time can be recorded as a2; the distance between the target T and the ship at a certain moment after the activation time can be recorded as b2; the bearing of the reference target relative to true north at the activation time can be recorded as θ1; the bearing of the target T relative to true north at the activation time can be recorded as β1; the bearing of the reference target relative to true north at a certain moment after the activation time can be recorded as θ2; and the bearing of the target T relative to true north at a certain moment after the activation time can be recorded as β2. The above O, O', B, B', b1, a2, a1, b2, θ1, β1, θ2, and β2 are considered known information.
[0041] If the monitored target is the ship itself in target reference mode, the angle between the ship and the reference target at the current moment can be calculated based on known information. The ship's movement distance (the distance between the ship and the reference point) can be calculated based on this angle and known information. If this distance exceeds the preset alarm threshold, it indicates that the ship has deviated from the anchor position. If the monitored target is another tracking target, the distance between the monitored target and the reference target (reference point) at the activation time and the current moment are calculated respectively. Based on the calculation of the two distances and the two angles, the movement distance and direction of the monitored target can be obtained.
[0042] Based on the above principle, step S120, which determines the distance between the monitored target and the reference point in real time according to the anchor monitoring method, includes: If the anchorage monitoring method is the first monitoring method, and the monitored target is the ship itself, the ship's movement distance is calculated in real time based on the ship's position at the activation time and the ship's position at the current time, and the movement distance is used as the distance value between the monitored target and the reference point. If the anchorage monitoring method is the first monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the ship is calculated in real time based on the position of the other tracking target and the position of the ship at the same time. If the anchorage monitoring method is the second monitoring method, and the monitored target is the vessel itself, the distance between the vessel and the reference point is calculated in real time based on the vessel's position at the activation time, the reference point's position at the activation time, the vessel's position at the current time, and the reference point's position at the current time; the angle between the vessel and true north relative to the activation time is... According to the Law of Cosines, the calculation formula is as follows: ; in, This represents the distance traveled by the ship.
[0043] If the anchor monitoring method is the second monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the reference point is calculated in real time based on the position of the other tracking target at the activation time, the position of the reference point at the activation time, the position of the other tracking target at the current time, and the position of the reference point at the current time.
[0044] Calculation method: At the activation moment, the angle between the reference target and the monitored target is... At a certain moment, the angle between the reference target and the monitored target is... The distance AB between the reference target and the monitored target at the activation time and the distance at a certain time can be obtained using the law of cosines. .
[0045] After obtaining the distance, calculate the activation time and the angle ∠BAO between the ship, the monitored target, and the reference target at a certain time. The calculation formula is as follows: ; ; Finally, calculate the movement distance BB' of the monitored target, based on the above ∠BAO and The value is used to calculate the motion angle of the monitored target relative to the reference target. Finally, the value of BB' is calculated using the Law of Cosines. The formula is as follows: ; Optionally, the corresponding orientation can be considered during the distance calculation process to make the determined distance value more accurate.
[0046] Step S130: Based on the distance value and the preset alarm threshold value, the monitoring of the monitored target is realized.
[0047] Optionally, the above-mentioned monitoring of the monitored target based on the distance value and the preset alarm threshold includes: An alarm message is generated when the distance value exceeds the alarm threshold.
[0048] Specifically, when GPS reference mode is selected, the relative position of the monitored target to the ship's position is calculated in real time. The calculated distance value is compared in real time with a preset alarm threshold. When the distance value exceeds the alarm threshold, an alarm message is generated.
[0049] When the target reference mode is selected, if the monitored target is the ship itself, and the distance value exceeds the alarm threshold, it indicates that the ship has deviated from the anchor position and an alarm message is generated; if the monitored target is another tracking target, an alarm message is generated when the distance value exceeds the alarm threshold.
[0050] To better illustrate and understand the principle of the method provided by this invention, the following description uses an optional specific embodiment to illustrate the solution of this invention. It should be noted that the specific implementation of each step in this specific embodiment should not be construed as a limitation of the solution of this invention. Other implementations that can be conceived by those skilled in the art based on the principle of the solution provided by this invention should also be considered within the scope of protection of this invention.
[0051] See Figure 2 The flowchart shown illustrates that the anchorage monitoring method provided in this embodiment includes the following steps: S10, Confirm the anchor monitoring method. This step corresponds to the step S120 mentioned above. S20, based on the anchor position monitoring method, calculate the distance (distance value) during anchor position monitoring in real time and compare it with the alarm threshold distance (alarm threshold value); S30: Based on the real-time calculation results, determine whether to issue an alarm. Steps S20 and S30 correspond to the steps corresponding to S130 mentioned earlier.
[0052] The anchorage monitoring method described in this application allows users to flexibly select the appropriate anchorage monitoring method based on the vessel's motion status and the equipment's operating status.
[0053] Based on and Figure 1 Based on the same principle as the method shown, this embodiment of the invention also provides an anchorage monitoring device 20, such as... Figure 3 As shown, the anchor position monitoring device 20 may include an anchor position monitoring mode determination module 210, a distance value determination module 220, and a monitoring module 230, wherein: Anchorage monitoring mode determination module 210 is used to determine the anchorage monitoring mode according to the equipment status of the ship's positioning equipment. The anchorage monitoring mode is either a first monitoring mode or a second monitoring mode. The first monitoring mode is a monitoring mode that uses the ship's location at the activation time as a reference point. The second monitoring mode is a monitoring mode that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchorage monitoring function is activated. The distance value determination module 220 is used to determine the distance value between the monitored target and the reference point in real time according to the anchor position monitoring method, wherein the monitored target is the ship or other tracking targets; The monitoring module 230 is used to monitor the target based on the distance value and the preset alarm threshold value.
[0054] Optionally, the aforementioned device status includes a first status where the position of the vessel is obtained through the positioning device and a second status where the position of the vessel cannot be obtained through the positioning device. When the anchorage monitoring method determination module 210 determines the anchorage monitoring method based on the device status of the vessel's positioning device, it is specifically used for: If the device status is the first status, then the first monitoring method is determined as the anchor monitoring method; If the device status is the second status, then the second monitoring method is determined as the anchor monitoring method.
[0055] Optionally, if the monitored target is the ship itself, the anchor position monitoring method determination module 210, when determining the anchor position monitoring method based on the equipment status of the ship's positioning equipment, is specifically used for: Based on the ship's navigation status and the equipment status, determine the anchorage monitoring method.
[0056] Optionally, when the distance value determination module 220 determines the distance between the monitored target and the reference point in real time according to the anchor monitoring method, it is specifically used for: If the anchorage monitoring method is the first monitoring method, and the monitored target is the ship itself, the ship's movement distance is calculated in real time based on the ship's position at the activation time and the ship's position at the current time, and the movement distance is used as the distance value between the monitored target and the reference point. If the anchorage monitoring method is the first monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the main ship is calculated in real time based on the position of the other tracking target and the position of the main ship at the same time. If the anchorage monitoring method is the second monitoring method, and the monitored target is the ship itself, the distance between the ship and the reference point is calculated in real time based on the ship's position at the activation time, the reference point's position at the activation time, the ship's position at the current time, and the reference point's position at the current time. If the anchor monitoring method is the second monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the reference point is calculated in real time based on the position of the other tracking target at the activation time, the position of the reference point at the activation time, the position of the other tracking target at the current time, and the position of the reference point at the current time.
[0057] The anchor position monitoring device of the present invention can execute the anchor position monitoring method provided in the present invention. The implementation principle is similar. The actions performed by each module and unit in the anchor position monitoring device in each embodiment of the present invention correspond to the steps in the anchor position monitoring method in each embodiment of the present invention. For detailed functional descriptions of each module of the anchor position monitoring device, please refer to the descriptions in the corresponding anchor position monitoring methods shown above, which will not be repeated here.
[0058] The aforementioned anchorage monitoring device may be a computer program (including program code) running on a computer device, such as an application software; the device may be used to execute the corresponding steps in the method provided in the embodiments of the present invention.
[0059] In some embodiments, the anchorage monitoring device provided in this invention can be implemented using a combination of hardware and software. As an example, the anchorage monitoring device provided in this invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the anchorage monitoring method provided in this invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0060] In other embodiments, the anchorage monitoring device provided in this invention can be implemented in software. Figure 3 An anchorage monitoring device stored in a memory is shown. It can be software in the form of programs and plug-ins, and includes a series of modules, including an anchorage monitoring mode determination module 210, a distance value determination module 220, and a monitoring module 230, for implementing the anchorage monitoring method provided in the embodiments of the present invention.
[0061] The modules described in the embodiments of the present invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.
[0062] Based on the same principles as the methods shown in the embodiments of the present invention, the embodiments of the present invention also provide an electronic device, which may include, but is not limited to: a processor and a memory; the memory for storing computer programs; and the processor for executing the methods shown in any embodiment of the present invention by invoking the computer programs.
[0063] In one alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0064] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0065] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0066] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0067] The memory 4003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0068] Among these, electronic devices can also be terminal devices. Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0069] This invention provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments.
[0070] According to another aspect of the present invention, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various embodiments described above.
[0071] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0072] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0073] The computer-readable storage medium provided in this invention can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0074] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0075] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
Claims
1. A method for monitoring anchor positions, characterized in that, Includes the following steps: Based on the equipment status of the ship's positioning equipment, the anchor position monitoring method is determined. The anchor position monitoring method is either a first monitoring method or a second monitoring method. The first monitoring method is a monitoring method that uses the ship's location at the activation time as a reference point. The second monitoring method is a monitoring method that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchor position monitoring function is activated. According to the anchorage monitoring method, the distance between the monitored target and the reference point is determined in real time, wherein the monitored target is the ship itself or other tracked targets; Based on the distance value and the preset alarm threshold, the monitoring of the monitored target is achieved.
2. The method according to claim 1, characterized in that, The device status includes a first state where the vessel's position is obtained through the positioning device and a second state where the vessel's position cannot be obtained through the positioning device. Determining the anchorage monitoring method based on the device status of the vessel's positioning device includes: If the device status is the first status, then the first monitoring method is determined as the anchor monitoring method; If the device status is the second status, then the second monitoring method is determined as the anchor monitoring method.
3. The method according to claim 1, characterized in that, If the monitored target is the vessel itself, determining the anchorage monitoring method based on the equipment status of the vessel's positioning equipment includes: Based on the ship's navigation status and the equipment status, determine the anchorage monitoring method.
4. The method according to any one of claims 1 to 3, characterized in that, The step of determining the distance between the monitored target and the reference point in real time according to the anchor monitoring method includes: If the anchorage monitoring method is the first monitoring method, and the monitored target is the ship itself, the ship's movement distance is calculated in real time based on the ship's position at the activation time and the ship's position at the current time, and the movement distance is used as the distance value between the monitored target and the reference point. If the anchorage monitoring method is the first monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the ship is calculated in real time based on the position of the other tracking target and the position of the ship at the same time. If the anchorage monitoring method is the second monitoring method, and the monitored target is the ship itself, the distance between the ship and the reference point is calculated in real time based on the ship's position at the activation time, the reference point's position at the activation time, the ship's position at the current time, and the reference point's position at the current time. If the anchor monitoring method is the second monitoring method, and the monitored target is another tracking target, the distance between the other tracking target and the reference point is calculated in real time based on the position of the other tracking target at the activation time, the position of the reference point at the activation time, the position of the other tracking target at the current time, and the position of the reference point at the current time.
5. The method according to any one of claims 1 to 3, characterized in that, The Based on the distance value and the preset alarm threshold, monitoring of the monitored target is achieved, including: An alarm message is generated when the distance value exceeds the alarm threshold.
6. An anchor position monitoring device, characterized in that, include: Anchorage monitoring mode determination module is used to determine the anchorage monitoring mode based on the equipment status of the ship's positioning equipment. The anchorage monitoring mode is either a first monitoring mode or a second monitoring mode. The first monitoring mode is a monitoring mode that uses the ship's location at the activation time as a reference point. The second monitoring mode is a monitoring mode that uses any tracking target that meets the set tracking conditions as a reference point. The activation time is the time when the anchorage monitoring function is activated. The distance value determination module is used to determine the distance value between the monitored target and the reference point in real time according to the anchor position monitoring method, wherein the monitored target is the ship or other tracking targets; The monitoring module is used to monitor the target based on the distance value and a preset alarm threshold value.
7. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1-5.