Sea area terminal communication method and system

By periodically obtaining the heading and position of the vehicle in the sea terminal communication system, determining the vector direction and angle, and dynamically selecting the target antenna to communicate with the base station, the problem of difficult signal gain in sea area communication is solved, and higher signal gain and communication quality are achieved.

CN120185667APending Publication Date: 2025-06-20CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510307992.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

In sea area communication scenarios, the change in the route of the ship makes it difficult for the terminal to obtain the optimal signal gain when communicating with the base station based on the directional antenna.

Method used

By periodically obtaining the heading and position of the vehicle where the terminal is located, and obtaining the position of the base station, determining the vector direction and vector angle, determining the target antenna matching the vector angle from the terminal's antenna array, and communicating with the base station based on the target antenna.

Benefits of technology

Dynamic selection and alignment of high-gain directional antennas is realized, signal gain and communication quality in sea area communication are improved, and signal gain is difficult to obtain due to changes in ship routes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120185667A_ABST
    Figure CN120185667A_ABST
Patent Text Reader

Abstract

The invention discloses a sea area terminal communication method and system. The method comprises the following steps: periodically acquiring a first course and a first position of a carrier where a terminal is located, and acquiring a second position of a base station; determining a vector direction from the first position to the second position, and determining a vector angle between the vector direction and the first course; a target antenna matched with the vector angle is determined from an antenna array of the terminal, the antenna array comprises a plurality of antennas in different directions, the direction of each antenna is identified by a reference direction and a relative angle between the antenna and the reference direction, and the reference direction is a first course; and communicating with the base station based on the target antenna. The technical problem that the optimal signal gain is difficult to obtain when the terminal communicates with the base station based on the directional antenna due to the influence of ship route changes in a sea area communication scene is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technologies, and more particularly, to a communication method and system for marine terminals. Background Art

[0002] In the field of wireless communication, especially in communication application scenarios covering vast sea areas, the design and selection of antennas face unprecedented challenges. In traditional communication scenarios, terminal devices mostly use omnidirectional antennas to ensure signal reception in all directions. This design performs well on land or in fixed scenarios, but is ineffective at sea. The particularity of the marine environment, such as the frequent movement of ships, the hull sway caused by waves, and the vast communication distance, limits the performance of omnidirectional antennas and prevents full utilization of their communication potential.

[0003] To achieve longer communication distances and higher signal quality in marine communication, high-gain directional antennas have been introduced. Directional antennas are theoretically very suitable for long-distance communication due to their narrow beamwidth and high gain. However, in actual applications, the ship's route is not fixed, and combined with the uncertainty of waves, it is difficult to stably align the beam direction of the directional antenna with the base station, and even signal loss may occur due to deviation, which is a major problem in traditional antenna design. For example, the method of reducing the vertical beamwidth of the antenna to increase the gain is effective on land or in fixed scenarios, but at sea, due to the hull sway, it is impossible to ensure continuous alignment of the antenna beam. Sometimes, the communication effect may even deteriorate due to the too-narrow beam.

[0004] For the above problems, no effective solutions have been proposed yet. Summary of the Invention

[0005] Embodiments of this application provide a communication method and system for marine terminals to at least solve the technical problem that in a marine communication scenario, affected by changes in the ship's route, it is difficult for a terminal to obtain the best signal gain when communicating with a base station based on a directional antenna.

[0006] According to one aspect of the embodiments of this application, a communication method for marine terminals is provided, including: periodically obtaining the first heading and the first position of the vehicle where the terminal is located, and obtaining the second position of the base station; determining the vector direction from the first position to the second position, and determining the vector angle between the vector direction and the first heading; determining a target antenna that matches the vector angle from the antenna array of the terminal, where the antenna array includes multiple antennas with different directions, and the direction of each antenna is identified by a reference direction and the relative angle between the antenna and the reference direction, and the reference direction is the first heading; and communicating with the base station based on the target antenna.

[0007] Optionally, periodically obtaining a first heading and a first position of a vehicle where the terminal is located includes: periodically determining the first heading of the vehicle through an inertial measurement unit on the vehicle; and periodically determining the first position of the vehicle through a satellite navigation system.

[0008] Optionally, the above method further includes: when the first heading of the vehicle cannot be determined through the inertial measurement unit, polling the signal strength when each antenna in the antenna array of the terminal communicates with the base station; determining the antenna with the maximum signal strength as the target antenna; and determining the first heading of the vehicle according to the relative angle and vector direction corresponding to the target antenna.

[0009] Optionally, periodically obtaining the first heading of the vehicle through the inertial measurement unit on the vehicle includes: within each period, measuring the second heading of the vehicle through the inertial measurement unit; obtaining the third position, the third heading, and the speed of the vehicle obtained in the previous period, and predicting the fourth position of the vehicle in the current period according to the third position, the third heading, and the speed; and correcting the second heading according to the deviation between the fourth position and the first position to obtain the first heading.

[0010] Optionally, correcting the second heading according to the deviation between the fourth position and the first position to obtain the first heading includes: constructing a triangle according to the third position, the fourth position, and the first position; calculating the angle of the angle corresponding to the third position in the triangle using the cosine theorem as the heading deviation; and correcting the second heading according to the heading deviation.

[0011] Optionally, determining a target antenna matching the vector angle from the antenna array of the terminal includes: respectively determining the angle difference between the relative angle of each antenna in the antenna array and the vector angle; and determining the antenna corresponding to the minimum angle difference as the target antenna.

[0012] Optionally, the above method further includes: when the signal strength when the target antenna communicates with the base station is less than a preset threshold, modulating the signals of each antenna in the antenna array using beamforming technology so that the overall beam corresponding to the antenna array points to the base station.

[0013] According to another aspect of the embodiments of the present application, a marine terminal communication system is further provided, including: a terminal with an antenna array, a position positioning module, a heading measurement module, and a control module. Among them, the position positioning module is used to determine the first position of the vehicle where the terminal is located and the second position of the base station; the heading measurement module is used to determine the first heading of the vehicle where the terminal is located; the antenna array of the terminal includes multiple antennas with different directions, and the direction of each antenna is identified by a reference direction and the relative angle between the antenna and the reference direction, and the reference direction is the first heading; the control module is used to determine the vector direction from the first position to the second position, determine the vector angle between the vector direction and the heading, and determine a target antenna that matches the vector angle from the antenna array of the terminal; the terminal is used to communicate with the base station based on the target antenna.

[0014] According to another aspect of the embodiments of the present application, a computer program product is further provided. The computer program product includes: a computer program, where when the computer program is executed by a processor, the above-mentioned marine terminal communication method is implemented.

[0015] According to another aspect of the embodiments of the present application, an electronic device is further provided. The electronic device includes: a memory and a processor, where a computer program is stored in the memory, and the processor is configured to execute the above-mentioned marine terminal communication method through the computer program.

[0016] In the embodiments of the present application, by integrating terminal positioning information, heading data, and signal strength measurement, the best antenna is intelligently selected for directional alignment, thereby realizing the dynamic selection and alignment of high-gain directional antennas, and further solving the technical problem that in the marine communication scenario, affected by the change of the ship's route, it is difficult to obtain the best signal gain when the terminal communicates with the base station based on the directional antenna. Description of the Drawings

[0017] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation to the present application. In the drawings:

[0018] Figure 1 is a schematic flowchart of an optional marine terminal communication method according to the embodiments of the present application;

[0019] Figure 2 is a schematic diagram of the relative position between a base station and a terminal according to an optional embodiment of the present application;

[0020] Figure 3 is a schematic structural diagram of an optional marine terminal communication system according to the embodiments of the present application;

[0021] Figure 4It is a schematic structural diagram of an optional electronic device according to an embodiment of the present application; Detailed implementation manners

[0022] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0023] It should be noted that the terms "first", "second", etc. in the description, claims and drawings of the present application are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0024] To better understand the embodiments of the present application, some nouns or terms that appear in the description process of the embodiments of the present application are translated and explained as follows:

[0025] Inertial Measurement Unit (IMU): The inertial measurement unit is a common sensor device mainly used to measure and report the acceleration, angular velocity and direction of an object. It usually includes three main components: an accelerometer, a gyroscope and a magnetometer. In the field of wireless communication, especially for mobile terminals such as ships and vehicles, the inertial measurement unit can provide key dynamic position information to help the terminal understand its own motion state. It is used to measure the linear acceleration of an object in three axes, namely the X, Y, and Z axes. By measuring the acceleration, the speed and position changes of the object can be deduced. It is used to measure and report the angular velocity and direction of an object to help determine the rotation state of the object. The gyroscope is used to track the real-time heading of the terminal (such as a ship). The magnetometer measures the intensity and direction of the surrounding magnetic field and is used to assist in determining the direction. Especially in areas or environments where satellite navigation signals are limited, the magnetometer can provide an additional direction reference.

[0026] Beamforming technology: It is an important part of modern wireless communication systems, especially in multi-antenna systems. By adjusting the signal phase and amplitude of each antenna in the antenna array, it forms a beam that focuses on a specific direction, thereby enhancing the signal strength and communication quality in that direction. It specifically includes phase control and amplitude control. Regarding phase control, during the propagation of electromagnetic waves or sound waves, their wavefronts gradually spread. When multiple antennas (or transducers) transmit signals simultaneously, if these signals arrive at the receiving point with the same phase in a specific direction in space, they will reinforce each other to form a concentrated and highly directional beam. Conversely, if the phase differences of the signals are large in certain directions, they will cancel each other out or weaken, resulting in lower signal strength in those directions. By precisely controlling the phase of the signals transmitted by each antenna, the directivity control of the beam can be achieved. In addition to phase, the amplitude of the signal can also be used to adjust the shape and direction of the beam. By adjusting the amplitudes of the signals transmitted by different antennas, the signal can be enhanced in certain directions and weakened in other directions, further optimizing the beam shape.

[0027] Embodiment 1

[0028] According to an embodiment of the present application, a method for marine terminal communication is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0029] Figure 1 is a schematic flowchart of a method for marine terminal communication provided according to an embodiment of the present application, as Figure 1 shown, the method includes the following steps:

[0030] Step S102, periodically obtain the first heading and the first position of the vehicle where the terminal is located, and obtain the second position of the base station.

[0031] Step S104, determine the vector direction from the first position to the second position, and determine the vector angle between the vector direction and the first heading.

[0032] Step S106, determine the target antenna that matches the vector angle from the antenna array of the terminal, where the antenna array includes multiple antennas with different directions, and the direction of each antenna is identified by a reference direction and the relative angle between the antenna and the reference direction, and the reference direction is the first heading.

[0033] Step S108, communicate with the base station based on the target antenna.

[0034] The following explains each step of the marine terminal communication method in combination with the specific implementation process.

[0035] When a certain ship is navigating in the sea area, in order to dynamically select the best target antenna for communication with the base station in real time, it is first necessary to periodically obtain the first heading and the first position of the ship where the terminal is located, and obtain the second position of the base station.

[0036] As an alternative implementation, the first heading and the first position of the ship can be obtained in the following way: periodically determine the first heading of the vehicle through the inertial measurement unit on the vehicle; periodically determine the first position of the vehicle through the satellite navigation system.

[0037] Among them, the inertial measurement unit can adopt devices such as accelerometers, gyroscopes, and magnetometers; the satellite navigation system can adopt the Global Positioning System, the Beidou Navigation System, etc., and can be selected according to actual needs when in use.

[0038] Furthermore, considering the situation where the first heading of the vehicle may not be determined by the inertial measurement unit when the ship is stationary or during system initialization, the first heading can be determined specifically in the following way: poll the signal strength when each antenna in the antenna array of the terminal communicates with the base station, directly determine the antenna with the maximum signal strength as the target antenna, and determine the first heading of the vehicle according to the relative angle and vector direction corresponding to the target antenna.

[0039] Optionally, in order to improve the accuracy of the first heading data, the data of the inertial measurement unit and the satellite navigation system can be used to continuously correct the first heading, and the correction process can be implemented in the following way: in each period, measure the second heading of the vehicle through the inertial measurement unit; obtain the third position, the third heading, and the speed of the vehicle obtained in the previous period, and predict the fourth position of the vehicle in the current period based on the third position, the third heading, and the speed; correct the second heading according to the deviation between the fourth position and the first position to obtain the first heading.

[0040] Specifically, assume that the heading of the ship in the current period is measured by the gyroscope and is denoted as V n ′ , obtain the position of the ship in the previous period relative to the current period, denoted by L n-1 The heading and speed in the previous period are represented by the vector v(t), then the prediction of the ship position in the current period can be expressed by the following formula:

[0041] L ′ n = L n-1 + ∫v(t)dt

[0042] where L ′ nis the predicted position of the ship for the current period, and ∫v(t)dt represents the actual distance traveled by the ship during the period time.

[0043] After obtaining the predicted position of the ship for the current period, the deviation between the predicted position and the position determined by the navigation satellite system is used to correct the ship's heading measured in the current period, and the corrected heading is used as the first heading of the ship. Specifically, it can be achieved through the following formula:

[0044] V n = V n ′ - ΔV n = V n ′ - f(L ′ n - L n )

[0045] where ΔV n is the deviation between the predicted position L ′ n of the ship for the current period and the position L n determined by the navigation satellite system, and specifically can be determined by the functional relationship between L ′ n and L n .

[0046] As an alternative implementation, when calculating the deviation between the predicted position of the ship for the current period and the position determined by the navigation satellite system, it can be achieved in the following way: construct a triangle based on the third position, the fourth position, and the first position; use the cosine theorem to calculate the angle of the angle corresponding to the third position in the triangle as the heading deviation.

[0047] Specifically, when implementing, connect the positions L n-1 of the ship in the previous period, the predicted position L ′ n of the ship for the current period, and the position L n of the ship determined by the navigation satellite system in the current period to construct a triangle, and then use the cosine theorem. Take the angle of the angle where L n-1 is located in the triangle as the heading deviation. Then use the calculated heading deviation to correct the heading V n ′ measured by the gyroscope in the current period to obtain the final V n .

[0048] Specifically, assume that the distance between the predicted position of the ship for the current period and the position of the ship in the previous period is denoted as L ′ n - L n-1Denote the distance between the ship position determined by the navigation satellite system in the current period and the ship position in the previous period as L. n -L n-1 Denote the distance between the predicted position of the ship in the current period and the ship position determined by the navigation satellite system in the current period as L. ′ n -L n Denote the angle corresponding to the point of the ship's position in the previous period as the course deviation ΔV. n Among them, according to the cosine theorem, the course deviation can be expressed by the following formula:

[0049]

[0050] By making real-time corrections to the course, it is possible to effectively address the course drift problem in the dynamic marine environment. The course information measured by the inertial measurement unit may accumulate errors over time. By combining the position, course, and speed information of the previous period to predict the position of the current period and then making course corrections based on the actual position, the accuracy of the course information can be significantly improved. This correction mechanism utilizes the continuity and predictability of the relevant ship, laying a foundation for the precise adjustment of the antenna direction later.

[0051] After obtaining the ship position in the current period, combine it with the position of the base station obtained to obtain the vector direction between the current ship position and the base station. Specifically, as Figure 2 shown, denote the vector angle between the course of the current ship and the vector direction between the ship position and the base station position as θ. The antenna array consists of 8 antennas in the figure. Specifically, the 8 antennas are oriented in different directions. Taking the course as the reference direction, each antenna is arranged incrementally at angles of 0°, 45°, 90°, …… 325°, 360° with respect to the reference direction. Different relative angles can uniquely identify an antenna in a specific direction.

[0052] Optionally, after determining the vector angle, it is necessary to determine the target antenna that matches the vector angle from the antenna array of the terminal. Specifically, it can be achieved through the following method: respectively determine the angle difference between the relative angle of each antenna in the antenna array and the vector angle; determine the antenna with the smallest corresponding angle difference as the target antenna.

[0053] From Figure 2 it can be seen that the relative angle between the antenna numbered 3 and the course is 90°. The difference between this relative angle and the vector angle is the smallest. Therefore, the antenna numbered 3 is taken as the target antenna. Further, if there are two antennas with the relative angles both having the smallest difference from the vector angle and the same difference at the same time, at this time, either one of the antennas can be arbitrarily selected as the target antenna.

[0054] This strategy ensures the maximization of communication signals by calculating the angular difference between each antenna direction and the required vector direction, and selecting the antenna with the smallest angular difference as the target antenna. This selection mechanism is not only simple and efficient, but also can adapt to the rapid changes in the marine environment, maintaining the stability of the communication link and the signal strength.

[0055] After obtaining the target antenna, communication is carried out between the target antenna and the base station.

[0056] Furthermore, considering the communication effect between the target antenna and the base station, the signal during their communication can be detected. When the signal strength during the communication between the target antenna and the base station is less than the preset threshold, beamforming technology is used to modulate the signals of each antenna in the antenna array, so that the overall beam corresponding to the antenna array points to the base station.

[0057] Beamforming technology can adjust the phase and amplitude of each antenna in the antenna array according to the direction of the base station, forming a concentrated beam pointing to the base station, thereby improving the strength and stability of communication signals in the sea area with limited signal coverage.

[0058] In the above steps, by correcting the ship's heading in real time and using the method of vector angle matching to select the target antenna with the maximum signal, and considering the problem of weak communication signals that may be caused by external factors, beamforming technology is used to adjust the signal strength, ensuring the communication effect and strength when dynamically selecting the target antenna, and thus solving the technical problem that it is difficult to obtain the best signal gain when the terminal communicates with the base station based on a directional antenna in the marine communication scenario affected by the change of the ship's route.

[0059] Embodiment 2

[0060] According to the embodiments of the present application, there is also provided a marine terminal communication system for implementing the marine terminal communication method in Embodiment 1, as Figure 3 shown. The marine terminal communication system at least includes: a terminal 31 with an antenna array, a position positioning module 32, a heading measurement module 33, and a control module 34, where:

[0061] The terminal 31 is used to communicate with the base station based on the target antenna.

[0062] The position positioning module 32 is used to determine the first position of the vehicle where the terminal is located and the second position of the base station.

[0063] The heading measurement module 33 is used to determine the first heading of the vehicle where the terminal is located; the antenna array of the terminal includes multiple antennas with different directions, and the direction of each antenna is identified by a reference direction and the relative angle between the antenna and the reference direction, and the reference direction is the first heading.

[0064] A control module 34, configured to determine the vector direction from the first position to the second position, determine the vector angle between the vector direction and the heading, and determine a target antenna matching the vector angle from the antenna array of the terminal.

[0065] The functions of the various modules of the sea area terminal communication system will be described below in conjunction with a specific implementation process.

[0066] As an alternative implementation, when the heading measurement module periodically obtains the first heading and the first position of the vehicle where the terminal is located, it can be achieved in the following manner: periodically determine the first heading of the vehicle through the inertial measurement unit on the vehicle and periodically determine the first heading of the vehicle through the inertial measurement unit on the vehicle.

[0067] As an alternative implementation, when the heading measurement module is unable to determine the first heading of the vehicle through the inertial measurement unit, the first heading of the vehicle can be determined in the following manner: poll the signal strength when each antenna in the antenna array of the terminal communicates with the base station; determine the antenna with the maximum signal strength as the target antenna; determine the first heading of the vehicle based on the relative angle and the vector direction corresponding to the target antenna.

[0068] As an alternative implementation, when the heading measurement module periodically obtains the first heading of the vehicle through the inertial measurement unit on the vehicle, it can be achieved in the following manner: within each period, measure the second heading of the vehicle through the inertial measurement unit; obtain the third position, the third heading, and the speed of the vehicle obtained in the previous period, and predict the fourth position of the vehicle in the current period based on the third position, the third heading, and the speed; correct the second heading based on the deviation between the fourth position and the first position to obtain the first heading.

[0069] Specifically, assume that the heading of the ship in the current period is measured by a gyroscope and denoted as V n ′ , and the position of the ship in the previous period relative to the current period is represented by L n-1 , and the heading and speed in the previous period are represented by the vector v(t). Then, the prediction of the ship's position in the current period can be expressed by the following formula:

[0070] L ′ n = L n-1 + ∫v(t)dt

[0071] where L ′ n is the predicted position of the ship in the current period, and ∫v(t)dt represents the actual distance traveled by the ship within the period time.

[0072] After obtaining the predicted position of the ship in the current period, the deviation between the predicted position and the position determined by the navigation satellite system is used to correct the ship's heading measured in the current period, and the corrected heading is taken as the first heading of the ship. Specifically, it can be achieved through the following formula:

[0073] V n =V n ′ -ΔV n =V n ′ -f(L ′ n -L n )

[0074] where ΔV n is the deviation between the predicted position L ′ n of the ship in the current period and the position L n determined by the navigation satellite system, and specifically can be determined by the functional relationship between L ′ n and L n .

[0075] As an alternative implementation, the heading measurement module corrects the second heading based on the deviation between the fourth position and the first position to obtain the first heading, which can be achieved in the following way: construct a triangle based on the third position, the fourth position, and the first position; use the cosine theorem to calculate the angle of the angle corresponding to the third position in the triangle as the heading deviation; correct the second heading based on the heading deviation, and take the corrected second heading as the first heading.

[0076] Specifically, when implementing, connect the positions L n-1 of the ship in the previous period, the predicted position L ′ n of the ship in the current period, and the position L n of the ship determined by the navigation satellite system in the current period to construct a triangle, and then use the cosine theorem. Take the angle of the angle where L n-1 is located in the triangle as the heading deviation. Then use the calculated heading deviation to correct the heading V n ′ measured by the gyroscope in the current period to obtain the final V n .

[0077] Specifically, assume that the distance between the predicted position of the ship in the current period and the position of the ship in the previous period is denoted as L ′ n -L n-1 , and the distance between the position of the ship determined by the navigation satellite system in the current period and the position of the ship in the previous period is denoted as Ln -L n-1 Let the distance between the predicted position of the ship in the current period and the position of the ship determined by the navigation satellite system in the current period be denoted as L ′ n -L n Let the angle corresponding to the point of the ship's position in the previous period be denoted as the course deviation ΔV n Among them, according to the cosine theorem, the course deviation can be expressed by the following formula:

[0078]

[0079] By making real-time corrections to the course, it is possible to effectively address the problem of course drift in the dynamic marine environment. The course information measured by the inertial measurement unit may accumulate errors over time. By combining the position, course, and speed information of the previous period to predict the position of the current period and then making course corrections based on the actual position, the accuracy of the course information can be significantly improved. This correction mechanism utilizes the continuity and predictability of the relevant ship, laying a foundation for the precise adjustment of the antenna direction later.

[0080] As an alternative implementation, after the course measurement module determines the first position and the first course, the control module can determine the target antenna that matches the vector angle from the antenna array of the terminal in the following manner: respectively determine the angle difference between the relative angle of each antenna in the antenna array and the vector angle; determine the antenna with the smallest corresponding angle difference as the target antenna.

[0081] This strategy calculates the angle difference between the direction of each antenna and the required vector direction and selects the antenna with the smallest angle difference as the target antenna, ensuring the maximization of the communication signal. This selection mechanism is not only simple and efficient but also can adapt to the rapid changes in the marine environment and maintain the stability and signal strength of the communication link.

[0082] After determining the target antenna, communication can be carried out between the target antenna and the base station. Further, considering the signal strength when the target antenna communicates with the base station, a signal strength threshold is set. When the signal strength when the target antenna communicates with the base station is less than the preset threshold, beamforming technology is used to modulate the signals of each antenna in the antenna array so that the overall beam corresponding to the antenna array points to the base station.

[0083] It should be noted that each module in the marine terminal communication device in the embodiments of this application corresponds one by one to each implementation step of the marine terminal communication method in Embodiment 1. Since a detailed description has been given in Embodiment 1, the details not shown in this embodiment can be referred to Embodiment 1 and will not be elaborated here.

[0084] Embodiment 3

[0085] According to an embodiment of the present application, there is also provided a computer program product, which includes a computer program. When the computer program is executed by a processor, the marine terminal communication method in Embodiment 1 is implemented.

[0086] According to an embodiment of the present application, there is also provided a non-volatile storage medium, which includes a stored computer program. When the device where the non-volatile storage medium is located runs the computer program, the marine terminal communication method in Embodiment 1 is executed.

[0087] According to an embodiment of the present application, there is also provided a processor, which is used to run a computer program. When the computer program runs, the marine terminal communication method in Embodiment 1 is executed.

[0088] According to an embodiment of the present application, there is also provided an electronic device, which includes: a memory and a processor. A computer program is stored in the memory, and the processor is configured to execute the marine terminal communication method in Embodiment 1 through the computer program.

[0089] Specifically, when the computer program runs, the following steps are implemented: periodically obtain the first heading and the first position of the vehicle where the terminal is located, and obtain the second position of the base station; determine the vector direction from the first position to the second position, and determine the vector angle between the vector direction and the first heading; determine a target antenna that matches the vector angle from the antenna array of the terminal, where the antenna array includes multiple antennas with different directions, and the direction of each antenna is identified by a reference direction and the relative angle between the antenna and the reference direction, and the reference direction is the first heading; communicate with the base station based on the target antenna.

[0090] As an alternative implementation manner, the above-mentioned electronic device may exist in the form of a mobile terminal, a computer terminal, or a similar computing device. Figure 4 The hardware structure block diagram of an electronic device for implementing the marine terminal communication method is shown. As Figure 4 shown, the electronic device 40 may include one or more (shown as 402a, 402b,..., 402n in the figure) processors 402 (the processor 402 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 404 for storing data, and a transmission device 406 for communication functions. In addition, it may further include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply, and / or a camera. Those of ordinary skill in the art can understand, Figure 4The structure shown is only illustrative and does not limit the structure of the above-mentioned electronic device. For example, the electronic device 40 may also include more or fewer components than those shown in Figure 4 or have a different configuration from that shown in Figure 4 .

[0091] It should be noted that one or more of the above-mentioned processors 402 and / or other data processing circuits can generally be referred to as "data processing circuits" herein. The data processing circuit can be embodied in software, hardware, firmware or any combination thereof, in whole or in part. In addition, the data processing circuit can be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the electronic device 40. As involved in the embodiments of the present application, the data processing circuit is used for processor control (such as the selection of a variable resistance terminal path connected to an interface).

[0092] The memory 404 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the sea area terminal communication method in the embodiments of the present application. The processor 402 executes various functional applications and data processing by running the software programs and modules stored in the memory 404, that is, implements the vulnerability detection method of the above-mentioned application program. The memory 404 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 404 may further include a memory remotely provided with respect to the processor 402, and these remote memories can be connected to the electronic device 40 through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0093] The transmission device 406 is used to receive or send data via a network. Specific examples of the above-mentioned network may include the wireless network provided by the communication provider of the electronic device 40. In one instance, the transmission device 406 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station and thus can communicate with the Internet. In one instance, the transmission device 406 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0094] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables a user to interact with the user interface of the electronic device 40.

[0095] The above-mentioned embodiment numbers are only for description and do not represent the advantages or disadvantages of the embodiments.

[0096] In the above embodiments of the present application, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0097] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.

[0098] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0099] In addition, the functional units in the various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs and other various media that can store program codes.

[0101] The above is only the preferred embodiment of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A method for communicating with a terminal in a sea area, characterized in that: include: Periodically obtaining a first heading and a first position of a vehicle where the terminal is located, and obtaining a second position of a base station; Determine a vector direction from the first position to the second position, and determine a vector angle between the vector direction and the first heading; Determine a target antenna that matches the vector angle from an antenna array of the terminal, wherein the antenna array includes multiple antennas with different directions, the direction of each antenna is identified by a reference direction and a relative angle between the antenna and the reference direction, and the reference direction is the first heading; Communicating with the base station based on the target antenna.

2. The method according to claim 1, characterized in that Periodically obtaining a first heading and a first position of a vehicle where the terminal is located, including: Periodically determining a first heading of the vehicle by an inertial measurement unit on the vehicle; The first position of the vehicle is periodically determined by a satellite navigation system.

3. The method according to claim 2, characterized in that The method further comprises: In a case where the first heading of the vehicle cannot be determined by the inertial measurement unit, polling the signal strength of each antenna in the antenna array of the terminal when communicating with the base station; Determine that the antenna with the largest signal strength is the target antenna; The first heading of the vehicle is determined according to the relative angle corresponding to the target antenna and the vector direction.

4. The method according to claim 2, characterized in that: Periodically acquiring a first heading of the vehicle through an inertial measurement unit on the vehicle, comprising: In each cycle, measuring a second heading of the vehicle by using the inertial measurement unit; Acquire a third position, a third heading, and a speed of the vehicle acquired in a previous cycle, and predict a fourth position of the vehicle in a current cycle based on the third position, the third heading, and the speed; The second heading is corrected according to a deviation between the fourth position and the first position to obtain the first heading.

5. The method according to claim 4, characterized in that Correcting the second heading according to a deviation between the fourth position and the first position to obtain the first heading includes: Constructing a triangle according to the third position, the fourth position, and the first position; Calculate the angle of the angle corresponding to the third position in the triangle by using the law of cosines as the heading deviation; The second heading is corrected according to the heading deviation.

6. The method according to claim 1, characterized in that Determining a target antenna matching the vector angle from an antenna array of the terminal includes: respectively determining an angle difference between a relative angle of each antenna in the antenna array and the vector angle; The antenna corresponding to the smallest angle difference is determined as the target antenna.

7. The method according to claim 1, characterized in that The method further comprises: When the signal strength when the target antenna communicates with the base station is less than a preset threshold, the beamforming technology is used to modulate the signals of each antenna in the antenna array so that the overall beam corresponding to the antenna array points to the base station.

8. A marine terminal communication system, characterized in that: include: A terminal having an antenna array, a position positioning module, a heading measurement module, and a control module, wherein: The position positioning module is used to determine a first position of a vehicle where the terminal is located and a second position of a base station; The heading measurement module is used to determine a first heading of a vehicle on which the terminal is located; The antenna array of the terminal includes a plurality of antennas with different directions, the direction of each antenna is identified by a reference direction and a relative angle between the antenna and the reference direction, the reference direction being the first heading; The control module is used to determine a vector direction from the first position to the second position, determine a vector angle between the vector direction and the heading, and determine a target antenna matching the vector angle from the antenna array of the terminal; The terminal is used to communicate with the base station based on the target antenna.

9. A computer program product, characterized in that include: A computer program, wherein when the computer program is executed by a processor, the sea area terminal communication method described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the sea area terminal communication method according to any one of claims 1 to 7 through the computer program.