Terminal positioning method and device, mobile terminal, readable storage medium and program product

By establishing an ad hoc network communication link between the target terminal and the target ship, and combining with the satellite navigation system, the problem of difficult transmission of position information of people who fell into the water without the coverage of the mobile communication network is solved, and efficient and accurate water rescue is achieved throughout the sea area.

CN119697582APending Publication Date: 2025-03-25SHANGHAI HAIJI INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411809295.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In sea areas far away from the shore or lacking base station coverage, the location information of people who fell into the water is difficult to be positioned and transmitted in a timely and accurately manner, resulting in limited rescue operations.

Method used

By establishing an ad hoc network communication link between the target terminal and the target ship, and combining with the satellite navigation system, the location information of the person who fell into the water can be transmitted in a timely and accurate manner without the coverage of the mobile communication network.

Benefits of technology

Even in remote waters, the location information of people who fell into the water can be effectively monitored and transmitted, ensuring that rescue operations are not restricted by geographical location, and significantly improving the reliability and success rate of rescue operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697582A_ABST
    Figure CN119697582A_ABST
Patent Text Reader

Abstract

The invention relates to a terminal positioning method and device, a mobile terminal, a computer readable storage medium and a computer program product. The method is applied to a target terminal associated with a target ship, and comprises the following steps: in response to a starting operation on the target terminal, based on a satellite navigation system, determining position information of the target terminal and obtaining position information of the target ship; determining a distance between the target terminal and the target ship based on the position information of the target terminal and the position information of the target ship; and when the distance is smaller than a first preset distance, establishing an ad hoc network communication link between the target terminal and the target ship, and sending position information of the target terminal to the target ship based on the ad hoc network communication link. By adopting the method, the reliability and the accuracy of positioning the personnel falling into water can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of maritime search and rescue technology, and in particular to a terminal positioning method, device, mobile terminal, computer-readable storage medium and computer program product. Background Art

[0002] During the voyage of a ship, crew members often fall into the water accidentally. In order to carry out rescue in a timely and effective manner, each crew member is usually equipped with a mobile terminal. These mobile terminals can transmit location information to the ship after the crew member falls into the water, so as to quickly launch a rescue operation.

[0003] At present, the relevant technology mainly relies on mobile communication networks, such as establishing communication links with shore base stations through 4G networks. This method is more effective in offshore areas, but in some cases, such as far away from the shore or in sea areas without base station coverage, communication signals may be limited or completely interrupted. Therefore, a more reliable positioning method is urgently needed to ensure that people who fall into the water can be located and rescued in time even in sea areas without mobile communication network coverage. Summary of the invention

[0004] Based on this, it is necessary to provide a terminal positioning method, device, computer equipment, computer-readable storage medium and computer program product that can improve the reliability and accuracy of locating people who fall into the water in order to solve the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a terminal positioning method, which is applied to a target terminal associated with a target vessel, and the method comprises:

[0006] In response to a start-up operation on the target terminal, based on a satellite navigation system, determining the location information of the target terminal and acquiring the location information of the target vessel;

[0007] Determining a distance between the target terminal and the target vessel based on the location information of the target terminal and the location information of the target vessel;

[0008] When the distance is less than a first preset distance, an ad hoc network communication link is established between the target terminal and the target vessel, and the location information of the target terminal is sent to the target vessel based on the ad hoc network communication link.

[0009] In one embodiment, the method further comprises:

[0010] The frequency at which the target terminal acquires and sends position information is controlled; the frequency is negatively correlated with the distance between the target terminal and the target vessel.

[0011] In one embodiment, the method further comprises:

[0012] The frequency at which the target terminal acquires and sends position information is controlled; the frequency is negatively correlated with the distance between the target terminal and the target vessel.

[0013] In one embodiment, when the distance is less than a first preset distance, establishing an ad hoc network communication link between the target terminal and the target vessel, and then comprising:

[0014] When the communication quality index of the ad hoc network communication link does not meet the preset condition, the location information of the target terminal is sent to the target ship again based on the satellite navigation system.

[0015] In one embodiment, the target terminal includes a switch circuit and a power supply circuit, and the startup operation of the target terminal includes:

[0016] In response to the switch circuit being turned on by water, the power supply circuit is triggered to operate.

[0017] In one embodiment, the target terminal includes a light emitting component, and the method further includes:

[0018] When the distance is less than a second preset distance, the light emitting component is instructed to emit a prompt light.

[0019] In a second aspect, the present application further provides a terminal positioning device, applied to a target terminal associated with a target vessel, the device comprising:

[0020] A first positioning module, configured to determine the location information of the target terminal and obtain the location information of the target vessel based on a satellite navigation system in response to a start-up operation on the target terminal;

[0021] a distance determination module, configured to determine the distance between the target terminal and the target vessel based on the location information of the target terminal and the location information of the target vessel;

[0022] The second positioning module is used to establish an ad hoc network communication link between the target terminal and the target ship when the distance is less than a first preset distance, and send the location information of the target terminal to the target ship based on the ad hoc network communication link.

[0023] In a third aspect, the present application further provides a mobile terminal, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-described methods when executing the computer program.

[0024] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the methods described above when executed by a processor.

[0025] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the methods described above when executed by a processor.

[0026] The terminal positioning method, device, mobile terminal, computer-readable storage medium and computer program product can achieve that the target terminal can continuously obtain position information in the entire sea area and reliably transmit it to the rescue ship by first positioning and communicating based on the satellite navigation system when the distance between the target terminal and the target ship is relatively far, so that the position information of the drowned person can be effectively monitored even in remote sea areas, ensuring that the rescue operation is not restricted by the geographical location. When the distance between the target terminal and the target ship is relatively close, the communication mode based on the satellite communication system is automatically switched to the self-organizing network communication mode, and when the position of the drowned person is deviated due to factors such as ocean turbulence, the position information can be transmitted in a timely and accurate manner, and efficient and accurate drowned rescue can be achieved in a changeable marine environment, significantly improving the reliability and success rate of the rescue operation. Furthermore, when the distance between the drowned person and the ship is relatively far, the target terminal is controlled to obtain and send position information at a lower frequency, which can effectively reduce the power consumption of the target terminal, ensuring that the target terminal can remain stable during long-term operation and continuously locate the drowned person. At the same time, by controlling the target terminal to obtain and send position information at a higher frequency when the distance between the person who falls into the water and the ship is close, the accuracy of locating the person who falls into the water can be further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A diagram showing an application environment of a terminal positioning method in an embodiment;

[0029] Figure 2 is a schematic diagram of a flow chart of a terminal positioning method in an embodiment;

[0030] Figure 3 is a flow chart of a terminal positioning method in another embodiment;

[0031] Figure 4 A schematic diagram of a process flow of a terminal positioning method in another embodiment;

[0032] Figure 5 is a flow chart of a terminal positioning method in yet another embodiment;

[0033] Figure 6 is a structural block diagram of a terminal positioning device in an embodiment;

[0034] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] The terminal positioning method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The terminal 102 communicates with the ship 106 through the satellite navigation system 104, or the terminal 102 communicates with the ship 106 based on establishing an ad hoc network communication link with the ship 106. The terminal 102 can be various electronic devices (such as smart phones, portable wearable devices, etc.), and the terminal 102 can be installed on the crew. The satellite navigation system 104 can be implemented based on the Beidou system, the GPS system, etc. The ship 106 can be installed with a base station or other wireless communication equipment for connecting with the terminal 102.

[0037] In an exemplary embodiment, Figure 2 As shown, a terminal positioning method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 206. Among them:

[0038] Step 202: In response to the start-up operation of the target terminal, the location information of the target terminal is determined based on the satellite navigation system and the location information of the target vessel is acquired.

[0039] Among them, the target terminal and the target ship can identify each other. The number of target ships can be one or more. Exemplarily, the start-up operation of the target terminal can be implemented based on a button, a sensor, or a circuit that automatically turns on when encountering water. The target terminal can determine its current position information through a built-in satellite navigation module. Specifically, the satellite navigation module can receive signals from multiple satellites and calculate accurate current position information using triangulation. For example, the position information may include absolute position data such as longitude, latitude, and altitude. The target terminal can establish a satellite navigation communication link with the target ship, and based on the satellite navigation communication link, send its current position information to the target ship. Since the crew may be located in the open sea area after falling into the water, locating the drowned person based on the satellite navigation system can ensure that the position information of the drowned person is continuously and reliably transmitted to the target ship for rescue.

[0040] Step 204: Determine the distance between the target terminal and the target ship based on the location information of the target terminal and the location information of the target ship.

[0041] Exemplarily, after the target terminal is started, a satellite navigation communication link may be first established between the target terminal and the target vessel to achieve positioning and communication (eg, Beidou positioning and Beidou short message communication) based on a satellite communication system.

[0042] Step 206: When the distance is less than the first preset distance, an ad hoc network communication link is established between the target terminal and the target vessel, and the location information of the target terminal is sent to the target vessel based on the ad hoc network communication link.

[0043] Among them, the first preset distance can be determined based on the communication range of the ad hoc network. The target terminal can switch to a communication mode based on the ad hoc network in response to calculating that the distance between the target ship and the target vessel is less than the first preset distance. Since the person who falls into the water is easily affected by the ocean turbulence and produces a large position deviation during the process of the target ship heading towards the person who falls into the water according to the received position information, switching to a communication mode based on the ad hoc network can reduce the delay of the position information being transmitted to the target ship. At this time, the position information of the target terminal may include relative position data such as direction and distance. Exemplarily, the implementation method of establishing an ad hoc network communication link between the target terminal and the target ship may include: the target terminal starts a built-in ad hoc network module, actively searches for nearby wireless communication nodes (for example, base stations on the ship) for connection, and uses a suitable protocol (for example, Zigbee, LoRa, etc.) to send its current position information to the target ship. The target terminal can communicate directly with the target ship, or it can communicate indirectly with the target ship through other wireless communication nodes.

[0044] Specifically, at the initial stage of a crew member falling into the water, a communication method based on a satellite communication system without any regional restrictions can be used to establish communication with the ship and obtain the location information of both parties, and calculate the distance between the crew member and the ship. When the distance between the crew member and the ship is far (for example, greater than a first preset distance), the communication method based on the satellite communication system is maintained; when the ship gradually approaches the crew member (for example, less than the first preset distance), the communication method based on the satellite communication system is switched to the ad hoc network communication method.

[0045] In the above terminal positioning method, when the distance between the target terminal and the target ship is relatively far, positioning and communication are first performed based on the satellite navigation system, so that the target terminal can continuously obtain location information in the entire sea area and reliably transmit it to the rescue ship, so that the location information of the drowned person can be effectively monitored even in remote sea areas, ensuring that the rescue operation is not restricted by geographical location. When the distance between the target terminal and the target ship is relatively close, the communication method based on the satellite communication system is automatically switched to the self-organizing network communication method. When the position of the drowned person is deviated due to factors such as ocean turbulence, the location information can be transmitted in a timely and accurate manner, and efficient and accurate drowned rescue can be achieved in a changing marine environment, significantly improving the reliability and success rate of the rescue operation.

[0046] In an exemplary embodiment, the terminal positioning method may further include:

[0047] Step 203, controlling the frequency of the target terminal acquiring the position information and sending the position information; the frequency is negatively correlated with the distance between the target terminal and the target vessel.

[0048] In one possible implementation, the target terminal may increase the frequency of acquiring and sending the position information (for example, from once every 5 seconds to once every second) in response to the distance between the target terminal and the target vessel being less than the third preset distance. In another possible implementation, the target terminal may implement a dynamic adjustment mechanism to continuously adjust the frequency of acquiring and sending the position information according to the real-time distance change (for example, when the distance gradually shortens, the frequency may be gradually increased).

[0049] Optionally, the frequency at which the target terminal acquires and sends the location information may also be controlled so that the frequency is positively correlated with the power level of the target terminal.

[0050] In this embodiment, by controlling the target terminal to obtain and send location information at a lower frequency when the distance between the person who falls into the water and the ship is far, the power consumption of the target terminal can be effectively reduced, ensuring that the target terminal can remain stable during long-term operation and continuously locate the person who falls into the water. At the same time, by controlling the target terminal to obtain and send location information at a higher frequency when the distance between the person who falls into the water and the ship is close, the accuracy of locating the person who falls into the water can be further improved. In turn, the success rate of the rescue operation can be enhanced.

[0051] In an exemplary embodiment, Figure 3 As shown, the above step 202 may include:

[0052] Step 202A, in response to the start-up operation of the target terminal, based on the satellite navigation system, determine the location information of the target terminal and obtain the location information of the target ship according to the first frequency.

[0053] Furthermore, the above step 206 may include:

[0054] Step 206A, when the distance is less than the first preset distance, establish an ad hoc network communication link between the target terminal and the target vessel, and based on the ad hoc network communication link, send the location information of the target terminal to the target vessel at a second frequency; the second frequency is higher than the first frequency.

[0055] Exemplarily, in the early stage of a crew member falling into the water, the target terminal and the target ship can adopt a communication method based on a satellite navigation system, and obtain the other party's position information in real time at a lower first frequency to perform preliminary positioning; as the target ship gradually approaches the person who falls into the water, it can switch to a communication method based on a short-range self-organizing network, and obtain the other party's position information in real time at a higher first frequency to accurately locate the person who falls into the water.

[0056] In this embodiment, by automatically switching to the communication party based on the self-organizing network and automatically increasing the frequency of transmitting location information when the distance between the person who falls into the water and the ship is close, it not only optimizes resource utilization, but also helps the ship navigate to the location of the person who falls into the water more effectively, thereby increasing the success rate of rescue.

[0057] In an exemplary embodiment, Figure 4 As shown, the terminal positioning method may further include:

[0058] Step 207: When the communication quality index of the ad hoc network communication link does not meet the preset condition, the location information of the target terminal is sent to the target ship again based on the satellite navigation system.

[0059] Since severe weather such as strong winds and heavy rain or obstacles between the target personnel and the target ship may affect the signal transmission of the ad hoc network, after the ad hoc network communication link is established, the target terminal can continuously monitor its communication quality indicators (including but not limited to signal strength, data packet loss rate and delay, etc.). When the communication quality indicators are lower than the set warning threshold (for example, the signal strength drops below a certain value, or the data packet loss rate exceeds the set ratio), the target terminal can automatically switch back to the communication mode based on the satellite navigation system.

[0060] Optionally, after switching back to the communication mode based on the satellite navigation system, an attempt can be made to re-establish the ad hoc network communication link between the target terminal and the target ship at a preset time interval. When the communication quality index of the ad hoc network communication link meets the preset conditions, the location information of the target terminal is sent to the target ship based on the ad hoc network communication link.

[0061] In this embodiment, by dynamically switching the communication mode according to the real-time communication quality, the adaptability of the overall system is improved, ensuring that effective positioning and communication can be maintained under different environmental conditions.

[0062] In an exemplary embodiment, the target terminal may include a switch circuit and a power supply circuit, and the startup operation of the target terminal may include: in response to the switch circuit being turned on by water, triggering the power supply circuit to operate.

[0063] Exemplarily, the switch circuit may include a water sensing element (e.g., a water-sensitive resistor or a water-sensitive switch). When the target terminal contacts water, the conductivity of the water causes the switch circuit to be turned on, thereby sending a signal. The power supply circuit may be electrically connected to the switch circuit. When the switch circuit is turned on, the power supply circuit is started to provide the target terminal with the required power supply to ensure its normal operation.

[0064] In this embodiment, the target terminal is activated by automatically sensing the water environment without any intervention by the crew members who fall into the water. The target terminal can quickly start positioning and communicating, ensuring timely transmission of location information in an emergency, greatly improving the success rate and efficiency of rescue.

[0065] In an exemplary embodiment, Figure 5 As shown, the target terminal may include a light-emitting component, and the terminal positioning method may further include:

[0066] Step 209: when the distance is less than a second preset distance, instruct the light emitting component to emit a prompt light.

[0067] For example, a high-brightness LED lamp or other light-emitting elements can be installed on the housing of the target terminal, and these light-emitting elements can maintain good visibility under various weather conditions (such as rainy days and foggy days). The light-emitting component can emit a warning light of different colors or flashing modes to facilitate the target ship to locate the person who falls into the water. When the distance between the target terminal and the target ship is less than the second preset distance, the light-emitting component continues to emit light, or flashes according to the set mode, and sends a warning signal to the target ship.

[0068] In this embodiment, the visualization design of the target terminal significantly reduces the impact of environmental factors (such as insufficient light, limited field of view, etc.) on tracking in the final stage of rescue. Especially in emergency situations, the luminous prompts can help rescuers quickly locate the target, improve rescue efficiency, and reduce misjudgments or delays caused by environmental factors, thereby effectively improving the success rate and safety of rescue.

[0069] In summary, the above terminal positioning method, by first positioning and communicating based on the satellite navigation system when the distance between the target terminal and the target ship is relatively far, can achieve the target terminal being able to continuously obtain location information in the entire sea area and reliably transmit it to the rescue ship, so that the location information of the person who falls into the water can be effectively monitored even in remote sea areas, ensuring that the rescue operation is not restricted by the geographical location. When the distance between the target terminal and the target ship is relatively close, the communication method based on the satellite communication system is automatically switched to the self-organizing network communication method. When the position deviation of the person who falls into the water is caused by factors such as ocean turbulence, the location information can be transmitted in a timely and accurate manner, and efficient and accurate rescue of people who fall into the water can be achieved in a changeable marine environment, significantly improving the reliability and success rate of the rescue operation. Furthermore, by controlling the target terminal to obtain and send location information at a lower frequency when the distance between the person who falls into the water and the ship is relatively far, the power consumption of the target terminal can be effectively reduced, ensuring that the target terminal can remain stable during long-term operation and continuously locate the person who falls into the water. At the same time, by controlling the target terminal to obtain and send position information at a higher frequency when the distance between the person who falls into the water and the ship is close, the accuracy of locating the person who falls into the water can be further improved.

[0070] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0071] Based on the same inventive concept, the embodiment of the present application also provides a terminal positioning device for implementing the terminal positioning method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more terminal positioning device embodiments provided below can refer to the limitations of the terminal positioning method above, and will not be repeated here.

[0072] In an exemplary embodiment, Figure 6 As shown, a terminal positioning device 300 is provided, comprising: a first positioning module 301, a distance determination module 302 and a second positioning module 303, wherein:

[0073] The first positioning module 301 is used to determine the location information of the target terminal and obtain the location information of the target ship based on the satellite navigation system in response to the start operation of the target terminal.

[0074] The distance determination module 302 is used to determine the distance between the target terminal and the target ship based on the position information of the target terminal and the position information of the target ship.

[0075] The second positioning module 303 is used to establish an ad hoc network communication link between the target terminal and the target ship when the distance is less than the first preset distance, and send the location information of the target terminal to the target ship based on the ad hoc network communication link.

[0076] In an exemplary embodiment, the terminal positioning device 300 further includes:

[0077] The communication frequency control module is used to control the frequency at which the target terminal obtains and sends position information; the frequency is negatively correlated with the distance between the target terminal and the target vessel.

[0078] In an exemplary embodiment, the second positioning module 303 is further used to:

[0079] Based on the ad hoc network communication link, the location information of the target terminal is sent to the target ship at a second frequency; the second frequency is higher than the first frequency; the first frequency is used for the target terminal to determine the location information of the target terminal and obtain the location information of the target ship based on the satellite navigation system according to the first frequency.

[0080] In an exemplary embodiment, the terminal positioning device 300 further includes:

[0081] The communication mode switching module is used to send the location information of the target terminal to the target ship again based on the satellite navigation system when the communication quality index of the self-organizing network communication link does not meet the preset conditions.

[0082] In an exemplary embodiment, the target terminal includes a switch circuit and a power supply circuit, and the startup operation of the target terminal includes:

[0083] In response to the switch circuit being turned on by water, the power supply circuit is triggered to operate.

[0084] In an exemplary embodiment, the target terminal includes a light-emitting component, and the terminal positioning device 300 further includes:

[0085] The auxiliary positioning module is used to instruct the light-emitting component to emit a prompt light when the distance is less than a second preset distance.

[0086] Each module in the above terminal positioning device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0087] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a terminal positioning method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0088] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0089] In an exemplary embodiment, a mobile terminal is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0090] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0091] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0092] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0093] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0094] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A terminal positioning method, characterized in that: Applied to a target terminal associated with a target vessel, the method comprises: In response to a start-up operation on the target terminal, based on a satellite navigation system, determining the location information of the target terminal and acquiring the location information of the target vessel; Determining a distance between the target terminal and the target vessel based on the location information of the target terminal and the location information of the target vessel; When the distance is less than a first preset distance, an ad hoc network communication link is established between the target terminal and the target vessel, and based on the ad hoc network communication link, the location information of the target terminal is sent to the target vessel.

2. The method according to claim 1, characterized in that The method further comprises: The frequency at which the target terminal acquires and sends position information is controlled; the frequency is negatively correlated with the distance between the target terminal and the target vessel.

3. The method according to claim 2, characterized in that The sending the location information of the target terminal to the target vessel based on the ad hoc network communication link includes: Based on the ad hoc network communication link, the location information of the target terminal is sent to the target ship at a second frequency; the second frequency is higher than the first frequency; the first frequency is used for the target terminal to determine the location information of the target terminal and obtain the location information of the target ship based on a satellite navigation system according to the first frequency.

4. The method according to claim 1, characterized in that: When the distance is less than a first preset distance, an ad hoc network communication link is established between the target terminal and the target vessel, and then the method includes: When the communication quality index of the ad hoc network communication link does not meet the preset condition, the location information of the target terminal is sent to the target ship again based on the satellite navigation system.

5. The method according to claim 1, characterized in that The target terminal includes a switch circuit and a power supply circuit, and the startup operation on the target terminal includes: In response to the switch circuit being turned on by water, the power supply circuit is triggered to operate.

6. The method according to claim 1, characterized in that The target terminal includes a light emitting component, and the method further includes: When the distance is less than a second preset distance, the light emitting component is instructed to emit a prompt light.

7. A terminal positioning device, characterized in that: Applied to a target terminal associated with a target vessel, the device comprises: A first positioning module, configured to determine the location information of the target terminal and obtain the location information of the target vessel based on a satellite navigation system in response to a start-up operation on the target terminal; a distance determination module, configured to determine the distance between the target terminal and the target vessel based on the location information of the target terminal and the location information of the target vessel; The second positioning module is used to establish an ad hoc network communication link between the target terminal and the target ship when the distance is less than a first preset distance, and send the location information of the target terminal to the target ship based on the ad hoc network communication link.

8. A mobile terminal, characterized in that: include: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.