Methods, devices, and electronic equipment for switching between satellite networks and mobile communication networks

By setting up automatic switching of routing and switching modes in the CPE, the problem of the inability to independently distinguish authentication information of terminal devices in satellite networks is solved, thus ensuring the accuracy of account fee calculation and network stability.

CN118804180BActive Publication Date: 2025-10-31CHINA MOBILE GROUP ZHEJIANG +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410791174.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2025-10-31
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

When multiple terminal devices access the satellite network through CPE, the satellite master station cannot independently distinguish authentication information, leading to problems such as chaotic account fee calculation and abnormal loss of account traffic.

Method used

When accessing a mobile communication network, the operating mode is set to routing mode, an IP address is assigned and converted into a local area network signal, and the signal conditions are detected based on preset parameters. If the switching conditions are met, the mode is switched to switching mode, and the local area network signal is forwarded through the satellite terminal station by assigning an IP address.

Benefits of technology

It enables automatic switching between mobile communication networks and satellite networks. The satellite master station can distinguish multiple terminals, avoid authentication information confusion and abnormal account and fee calculations, and ensure the normal use of the satellite network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804180B_ABST
    Figure CN118804180B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and electronic device for switching between a satellite network and a mobile communication network. The method includes: when accessing a mobile communication network, setting the operating mode to routing mode, assigning an IP address to a terminal, receiving mobile communication network signals from a WAN port and converting them into local area network (LAN) signals, and routing and forwarding the LAN signals to the terminal according to the IP address; detecting whether the current mobile communication network signal meets the switching conditions based on preset parameters; if the switching conditions are met, accessing the satellite network, switching the operating mode to switching mode, receiving satellite network signals from the WAN port and converting them into LAN signals, and forwarding the LAN signals to the terminal according to the IP address assigned to the terminal by the satellite station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, and electronic device for switching between satellite networks and mobile communication networks. Background Technology

[0002] CPE (Customer Premise Equipment) refers to client-side devices in a network. It converts 4G or 5G wireless signals received from the operator's base station into WiFi or wired signals for use by terminal devices, enabling more devices to access the internet. In scenarios where both 5G and satellite networks can be connected, the CPE typically uses dual WAN ports to select either satellite or 5G network signals as the access signal, forwarding them through a router to the LAN port for output to the terminal devices.

[0003] When multiple terminal devices access the satellite network through a CPE, since all the terminal devices are connected through the WAN port address of the CPE, meaning that the uplink ports all correspond to the same address, the satellite master station will treat the multiple terminal devices as the same user. This will result in problems such as authentication information not being able to be distinguished independently, chaotic account and fee calculations, and abnormal loss of account traffic. Summary of the Invention

[0004] The purpose of this invention is to provide a method, apparatus, and electronic device for switching between satellite networks and mobile communication networks, in order to solve the problems in the prior art.

[0005] To solve the above-mentioned technical problems, the embodiments of the present invention are implemented as follows:

[0006] In a first aspect, embodiments of the present invention provide a method for switching between a satellite network and a mobile communication network, comprising:

[0007] When connected to a mobile communication network, the working mode is set to routing mode, an IP address is assigned to the terminal, the mobile communication network signal is received from the WAN port and converted into a local area network signal, and the local area network signal is routed and forwarded to the terminal according to the IP address.

[0008] Based on preset parameters, detect whether the current mobile communication network signal meets the handover conditions;

[0009] If the switching conditions are met, the system accesses the satellite network, switches the operating mode to switching mode, receives satellite network signals from the WAN port and converts them into LAN signals, and forwards the LAN signals to the terminal according to the IP address assigned to the terminal by the satellite station.

[0010] Secondly, embodiments of the present invention provide a switching device between a satellite network and a mobile communication network, comprising:

[0011] The first processing module is used to set the working mode to routing mode when accessing the mobile communication network, assign an IP address to the terminal, receive mobile communication network signals from the WAN port and convert them into local area network signals, and route and forward the local area network signals to the terminal according to the IP address.

[0012] The detection module is used to detect whether the current mobile communication network signal meets the handover conditions based on preset parameters;

[0013] The second processing module is used to access the satellite network if the switching conditions are met, switch the working mode to the switching mode, receive satellite network signals from the WAN port and convert them into local area network signals, and forward the local area network signals to the terminal according to the IP address assigned to the terminal by the satellite terminal.

[0014] Thirdly, embodiments of the present invention provide an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the satellite network and mobile communication network switching method provided in the above embodiments.

[0015] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the satellite network and mobile communication network switching method provided in the above embodiments.

[0016] Fifthly, embodiments of the present invention provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the satellite network and mobile communication network switching method provided in the above embodiments.

[0017] As can be seen from the technical solutions provided by the above embodiments of the present invention, the embodiments of the present invention, when accessing a mobile communication network, set the working mode to routing mode, assign an IP address to the terminal, receive mobile communication network signals from the WAN port and convert them into local area network signals, and route and forward the local area network signals to the terminal according to the IP address. Based on preset parameters, it detects whether the current mobile communication network signal meets the switching conditions. If the switching conditions are met, it accesses the satellite network, switches the working mode to switching mode, receives satellite network signals from the WAN port and converts them into local area network signals, and forwards the local area network signals to the terminal according to the IP address assigned to the terminal by the satellite station. This realizes the automatic switching between the mobile communication network and the satellite network. Since the IP address of the terminal in the scenario connected to the satellite network is assigned by the satellite station, the satellite master station can distinguish multiple terminals, ensuring the normal use of the satellite network function and avoiding problems such as authentication information not being able to be independently distinguished, chaotic account and fee calculation, and abnormal loss of account traffic. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart illustrating a method for switching between a satellite network and a mobile communication network, provided in an embodiment of the present invention;

[0020] Figure 2 A flowchart illustrating another method for switching between a satellite network and a mobile communication network provided in an embodiment of the present invention;

[0021] Figure 3 This is a schematic diagram illustrating the configuration of LAN port information provided in an embodiment of the present invention;

[0022] Figure 4 A schematic diagram illustrating the configuration of the target address for detection provided in an embodiment of the present invention;

[0023] Figure 5 This is a schematic diagram illustrating the configuration of RSSI and ping packet information provided in an embodiment of the present invention;

[0024] Figure 6 This is a schematic diagram of a network handover process based on RSSI and ping packets provided in an embodiment of the present invention;

[0025] Figure 7 A schematic diagram of the structure of the switching device between satellite network and mobile communication network provided in an embodiment of the present invention;

[0026] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0027] This invention provides a method, apparatus, and electronic device for switching between satellite networks and mobile communication networks.

[0028] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.

[0029] First, the terms used in this invention will be explained.

[0030] CPE (Customer Premise Equipment): refers to client devices in a network. It can convert 4G or 5G wireless signals received from the operator's base station into WiFi or wired signals for use by terminal devices, thereby enabling more terminal devices to access the Internet.

[0031] RSSI (Received Signal Strength Indication) is a metric for measuring the strength of a received wireless signal. It indicates the strength of the received wireless signal. RSSI can be used to determine the quality, coverage, interference level, transmission quality, reliability, and source of the wireless signal. A higher RSSI value indicates a stronger signal, a wider coverage area, and less interference; conversely, a lower RSSI value indicates a weaker signal, a smaller coverage area, and greater interference. RSSI has important applications in wireless communication and is a crucial indicator of its performance.

[0032] RSRP (Reference Signal Receiving Power): refers to the linear average of the received power on all REs (Resource Elements) carrying the reference signal over the measurement frequency bandwidth.

[0033] 5G NR (New Radio): Developed by 3GPP for fifth-generation mobile communication networks (5G), it is a globally universal standard for the 5G network air interface. It is generally divided into two frequency ranges, FR1 and FR2, encompassing a total of 29 frequency bands. The 5G NR standard differs significantly from previous generations of wireless standards. It is a global 5G standard based on a completely new air interface design using OFDM (Orthogonal Frequency Division Multiplexing), employing a new end-to-end network architecture that can provide extremely high data throughput and highly reliable low-latency connections.

[0034] The satellite network and mobile communication network switching method and apparatus provided in this invention can be applied in CPEs, such as gateways or routers. Application scenarios for the above method and apparatus include, but are not limited to, scenarios where mobile communication network signal coverage is weak and switching to satellite networks is necessary, such as in ship, desert, earthquake, or flood scenarios. The mobile communication networks include, but are not limited to, 3G, 4G, or 5G networks. 5G networks include, but are not limited to, the FR1 or FR2 bands. The FR1 band, or Sub-6GHz band, has a frequency range of 450MHz-6000MHz and includes 26 frequency bands such as n1 / n2 / n3, including bands like 450MHz, 700MHz, 2.6GHz, or 5GHz. The FR2 band, or millimeter-wave band, has a frequency range of 24250MHz-52600MHz and includes 7 frequency bands such as n1 / n3 / n28 / n41 / n77 / n78 / n79, including bands like 24GHz, 28GHz, or 39GHz.

[0035] The method and apparatus provided in the embodiments of the present invention, since the IP address of the terminal in the scenario connected to the satellite network is assigned by the satellite terminal station, enable the satellite master station to distinguish multiple terminals, thereby avoiding problems such as the inability to independently distinguish authentication information, chaotic account fee calculation, and abnormal loss of account traffic.

[0036] like Figure 1 As shown, this embodiment of the invention provides a method for switching between a satellite network and a mobile communication network, which may specifically include the following steps.

[0037] In S102, when accessing a mobile communication network, the working mode is set to routing mode, an IP address is assigned to the terminal, the mobile communication network signal is received from the WAN port and converted into a local area network signal, and the local area network signal is routed and forwarded to the terminal according to the IP address.

[0038] In this embodiment of the invention, the routing mode refers to the CPE's function of routing and forwarding signals from the mobile communication network. In this scenario, the CPE and the terminal belong to a hierarchical network, with the mobile communication network being the upper-layer network. The signals are routed and forwarded by the CPE to the terminal in the lower-layer network.

[0039] In S104, the current mobile communication network signal is detected based on preset parameters to determine whether the handover conditions are met.

[0040] In this embodiment of the invention, whether the current mobile communication network signal meets the handover conditions can be determined by using RSSI, or by using ping packets, or by using both RSSI and ping packets simultaneously; the specific method is not limited.

[0041] In one implementation, step S104 may include any of the following:

[0042] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is lower than the preset handover threshold, the current mobile communication network signal meets the handover conditions.

[0043] The status of ping packets sent to the specified address is monitored in real time. If the ping packet delay exceeds the preset handover time, the current mobile communication network signal meets the handover conditions.

[0044] The RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address are detected in real time. If the RSSI is lower than the handover threshold or the ping packet delay exceeds the handover duration, the current mobile communication network signal meets the handover conditions.

[0045] In this embodiment of the invention, the number of ping packets can be set as needed, including one or more, such as three or four. Specifically, when there are multiple ping packets, the ping packet latency exceeding the handover time means that the latency of all ping packets exceeds the handover time.

[0046] In S106, if the switching conditions are met, the system accesses the satellite network, switches the working mode to switching mode, receives satellite network signals from the WAN port and converts them into LAN signals, and forwards LAN signals to the terminal according to the IP address assigned to the terminal by the satellite station.

[0047] In this embodiment of the invention, the switching mode refers to the CPE only having the function of forwarding signals from the mobile communication network without performing any judgment or processing. In this scenario, the CPE and the terminal belong to the same network layer, and the mobile communication network signals are directly forwarded from the CPE to the terminal without judgment or processing.

[0048] In this embodiment of the invention, the preset parameters may include a validity period, and correspondingly, the IP address of the terminal is valid within the validity period.

[0049] In one implementation, after switching the working mode to the switching mode in step S106, the method may further include: detecting whether the current mobile communication network signal meets the recovery conditions based on preset parameters; if the recovery conditions are met, switching the working mode back to the switching mode and resuming communication using the mobile communication network.

[0050] In another implementation, after switching the operating mode to the switching mode in step S106 above, it may also include any of the following:

[0051] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is higher than the preset recovery threshold, the working mode switching loop is switched to mode 1 to resume communication using the mobile communication network.

[0052] The system monitors the status of ping packets sent to the specified address in real time. If the ping packet delay is less than the preset recovery time, the system switches the working mode to loopback mode and resumes communication using the mobile communication network.

[0053] The system monitors the RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address in real time. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery time, the working mode is switched to loopback mode to resume communication using the mobile communication network.

[0054] The recovery threshold can be greater than the handover threshold to avoid frequent network handovers and signal instability.

[0055] The method provided in this embodiment of the invention enables automatic switching between mobile communication networks and satellite networks. Since the IP address of the terminal connected to the satellite network is assigned by the satellite station, the satellite master station can distinguish multiple terminals, ensuring the normal use of satellite network functions and avoiding problems such as authentication information not being able to be distinguished independently, chaotic account fee calculation, and abnormal loss of account traffic.

[0056] like Figure 2 As shown, this embodiment of the invention provides another method for switching between satellite networks and mobile communication networks, which may specifically include the following steps.

[0057] In S202, configure the parameters of CPE.

[0058] In this embodiment of the invention, the parameters for configuring the CPE can be the automatic default configuration during initialization, or they can be configured manually; there is no specific limitation. The CPE parameters include, but are not limited to: WAN port information, LAN port information, destination address information for detecting network connections, or ping packet information, etc., and there is no specific limitation.

[0059] In this embodiment of the invention, the CPE has dual WAN ports: one for connecting to a mobile communication network, such as wirelessly connecting to a base station of a mobile communication network; and the other for connecting to a satellite network, such as connecting to the LAN port of a satellite terminal station. The CPE also has a LAN port for connecting terminals.

[0060] In one implementation, when configuring the CPE parameters, the LAN port information can be specifically configured, including but not limited to: the LAN port's IP address and subnet mask information.

[0061] Figure 3 The diagram shown is a schematic representation of configuring LAN port information according to an embodiment of the present invention. (See also...) Figure 3When configuring the CPE parameters, you can configure the LAN port information, which can be done through the configuration interface. Specifically, configure the LAN port's IPv4 address as 192.168.1.1 and the IPv4 subnet mask as 255.255.255.0.

[0062] In one implementation, when configuring the CPE parameters, the destination address for detecting network connectivity can be specifically configured to detect whether the CPE is connected to the external network. The destination address for detecting external network connectivity can be a domestic public DNS address, such as 114.114.114.114 or 223.5.5.5, or it can be configured as the address of the main station-side server on the satellite intranet; the specific configuration is not limited.

[0063] Figure 4 This is a schematic diagram illustrating the configuration for detecting the destination address provided in an embodiment of the present invention. See also... Figure 4 When configuring CPE parameters, you can configure the destination address information for network connection detection. Specifically, configure the destination address to the address of the master station's server on the satellite intranet, such as the address of the peer leased line server: 192.168.16.14. By configuring the destination address for network connection detection to the address of the master station's server on the satellite intranet, you can ensure normal pinging when the satellite station joins the network, preventing restarts and network interruptions.

[0064] In one implementation, when configuring CPE parameters, ping packet information can be specifically configured, including but not limited to the switching duration of ping packet delay and the number of ping packets.

[0065] Figure 5 This is a schematic diagram illustrating the configuration of RSSI and ping packet information according to an embodiment of the present invention. See also... Figure 5 When configuring CPE parameters, the RSSI information can be specifically configured as follows: the handover threshold for 4G RSSI is 8, and the handover threshold for 5G RSSI is 10. This means that if the RSSI of the 4G network is lower than 8, the current 4G network signal meets the handover conditions; if the RSSI of the 5G network is lower than 10, the current 5G network signal meets the handover conditions and can be switched to the satellite network. Additionally, the ping packet information can be configured as follows: the handover duration for ping packet latency is 500ms, and the number of ping packets is 4. This means that if no response is received from the other end after sending 4 ping packets (more than 500ms), it is considered packet loss, and the handover conditions are met, allowing switching to the satellite network.

[0066] In this embodiment of the invention, the switching duration of the ping packet delay can be set as needed, such as 200ms, 300ms, or 500ms, etc., and the specific value is not limited. Setting a higher switching duration ensures that the signal will not switch immediately when encountering short-term signal fluctuations, avoiding triggering overly sensitive switching that leads to frequent switching, and also avoiding false packet loss. Setting a lower switching duration is suitable for scenarios with high network quality requirements.

[0067] In S204, when accessing a mobile communication network, the working mode is set to routing mode, an IP address is assigned to the terminal, the mobile communication network signal is received from the WAN port and converted into a local area network signal, and the local area network signal is routed and forwarded to the terminal according to the IP address.

[0068] Setting the operating mode to routing mode can also include: disabling the WAN port of the CPE used for connecting to the satellite network, thereby ensuring that the WAN port used for connecting to the mobile communication network works effectively.

[0069] In S206, the current mobile communication network signal is detected based on RSSI and / or ping packets to determine whether the handover conditions are met.

[0070] In one implementation, step S206 may specifically include any of the following:

[0071] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is lower than the preset handover threshold, the current mobile communication network signal meets the handover conditions.

[0072] The status of ping packets sent to the specified address is monitored in real time. If the ping packet delay exceeds the preset handover time, the current mobile communication network signal meets the handover conditions.

[0073] The RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address are detected in real time. If the RSSI is lower than the handover threshold or the ping packet delay exceeds the handover duration, the current mobile communication network signal meets the handover conditions.

[0074] In this embodiment of the invention, the handover threshold can be set according to the type of mobile communication network. For example, the handover threshold for 4G RSSI is set to 8 (equivalent to an RSRP value of -102dBm to -106dBm), and the handover threshold for 5G RSSI is set to 10 (equivalent to an RSRP value of -99dBm to -95dBm), thereby maintaining a balance between signal quality and available distance when using a shore-based mobile communication network.

[0075] In this embodiment of the invention, when there are multiple ping packets, the ping packet delay exceeding a specified duration means that the delay of all ping packets exceeds the specified duration.

[0076] In S208, if the switching conditions are met, the system accesses the satellite network, switches the working mode to switching mode, receives satellite network signals from the WAN port and converts them into LAN signals, and forwards LAN signals to the terminal according to the IP address assigned to the terminal by the satellite station.

[0077] Switching the operating mode to switching mode may also include: activating the WAN port of the CPE used for connecting to the satellite network and disabling the WAN port of the CPE used for connecting to the mobile communication network, thereby ensuring that the WAN port used for connecting to the satellite network works effectively.

[0078] It should be noted that during communication using the satellite network, the CPE maintains connection detection, i.e., detection based on RSSI and / or ping packets, so that it can quickly switch back to the mobile communication network when the mobile communication network signal is restored.

[0079] In this embodiment of the invention, whether the CPE assigns an IP address to the terminal or the satellite station assigns an IP address to the terminal, the DHCP service can be used to complete the assignment, which will not be explained in detail here.

[0080] In S210, the current mobile communication network signal is detected based on RSSI and / or ping packets to see if the recovery conditions are met. If the recovery conditions are met, the working mode switching loop is switched from mode to mode, and communication using the mobile communication network is resumed.

[0081] In one implementation, step S210 may specifically include any of the following:

[0082] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is higher than the preset recovery threshold, the working mode switching loop is switched to mode 1 to resume communication using the mobile communication network.

[0083] The system monitors the status of ping packets sent to the specified address in real time. If the ping packet delay is less than the preset recovery time, the system switches the working mode to loopback mode and resumes communication using the mobile communication network.

[0084] The system monitors the RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address in real time. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery time, the working mode is switched to the loop mode to resume communication using the mobile communication network.

[0085] Among them, the recovery threshold is greater than the switching threshold.

[0086] In this embodiment of the invention, the recovery threshold can be set according to the type of mobile communication network. For example, the recovery threshold for 4G RSSI is set to 14, and the recovery threshold for 5G RSSI is set to 16, both of which are 6 units higher than the handover threshold, meaning the recovery threshold is greater than the handover threshold. This method ensures that there will not be multiple repeated handovers in a short period of time at the signal critical point.

[0087] In this embodiment of the invention, the preset parameters may include a validity period, which can be set as needed, such as 4-24 hours. Correspondingly, the IP address of the terminal is valid within the validity period. Specifically, both the IP address assigned to the terminal by the CPE and the IP address assigned to the terminal by the satellite station are valid within this validity period.

[0088] In this embodiment of the invention, regardless of whether mobile communication network or satellite network communication is used, the terminal can access the network based on the allocated IP address, after passing local device authentication and BRAS internet access permission from the backend master station using encrypted authentication. Especially in the scenario of using satellite network, the terminal's network address is consistent with the service network segment of the satellite station, and it can normally pass device authentication and user authentication to connect to the satellite communication service network. Moreover, since the CPE itself does not participate in address allocation or identification, even after multiple handovers, the terminal's IP address stored by the satellite station will not change within the validity period of the IP address, and will be consistent with the IP address stored by the terminal. This avoids repeated authentication during multiple handovers, making the handover process smoother and the user experience more convenient.

[0089] Figure 6 This is a schematic diagram illustrating the network handover process based on RSSI and ping packets, provided as an embodiment of the present invention. See also... Figure 6 Taking a 5G mobile communication network as an example, the network handover process based on RSSI and ping packets can specifically include: CPE startup, checking SIM status, and if abnormal, switching to switching mode and accessing the satellite network for communication; if normal, accessing the 5G network. Determining whether 5G network access is successful: if it fails, switching back to switching mode and accessing the satellite network for communication; if successful, using routing mode to access the 5G network for communication. While accessing the 5G network, real-time network status monitoring: if the 5G RSSI reaches the detection threshold (e.g., above 8), continuing to monitor ping packet status; if the 5G RSSI does not reach the detection threshold (e.g., below 8), switching back to switching mode and accessing the satellite network for communication. The aforementioned ping packet status monitoring can include: determining whether the ping packet latency reaches the detection threshold (e.g., less than 500ms); if so, continuing to use the 5G network for communication; otherwise, switching back to switching mode and accessing the satellite network for communication.

[0090] In this embodiment of the invention, the test results obtained by conducting tests in near-shore waters are shown in Table 1.

[0091] Table 1

[0092]

[0093] In this context, "near-shore" refers to a test point within a straight-line distance of less than 15 kilometers from the optimal 5G base station, while "medium-long distance" refers to a test point within a straight-line distance of 15 kilometers or more from the optimal 5G base station. Table 1 shows that the network signal is stronger when using an outdoor antenna than when using an indoor antenna, and the network signal is stronger at near-shore distances than at medium-long distances.

[0094] The method provided in this invention enables automatic switching between mobile communication networks and satellite networks. Since the IP addresses of terminals connected to the satellite network are assigned by the satellite station, the satellite master station can distinguish between multiple terminals, ensuring the normal operation of the satellite network and avoiding problems such as inability to independently distinguish authentication information, chaotic account and fee calculations, and abnormal loss of account traffic. Furthermore, this method is well-suited for marine vessel scenarios, allowing for better operation in the varied and complex maritime environment. Especially in remote areas or marine regions, it provides excellent supplementation and connection between shore-based mobile network communication and satellite communication, leveraging the good coverage performance of mobile communication network frequency bands while also connecting to satellite communication networks, achieving a balance of cost and performance across a large geographical area.

[0095] The above describes the method for switching between satellite networks and mobile communication networks provided by embodiments of the present invention. Based on the same idea, embodiments of the present invention also provide a device for switching between satellite networks and mobile communication networks, such as... Figure 7 As shown, it specifically includes:

[0096] The first processing module 701 is used to set the working mode to routing mode when accessing a mobile communication network, assign an IP address to the terminal, receive mobile communication network signals from the WAN port and convert them into local area network signals, and route and forward the local area network signals to the terminal according to the IP address.

[0097] The detection module 702 is used to detect whether the current mobile communication network signal meets the handover conditions based on preset parameters.

[0098] The second processing module 703 is used to access the satellite network if the switching conditions are met, switch the working mode to the switching mode, receive satellite network signals from the WAN port and convert them into local area network signals, and forward local area network signals to the terminal according to the IP address assigned to the terminal by the satellite terminal.

[0099] In one implementation, the detection module 702 may be specifically used to perform any of the following:

[0100] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is lower than the preset handover threshold, the current mobile communication network signal meets the handover conditions.

[0101] The status of ping packets sent to the specified address is monitored in real time. If the ping packet delay exceeds the preset handover time, the current mobile communication network signal meets the handover conditions.

[0102] The RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address are detected in real time. If the RSSI is lower than the handover threshold or the ping packet delay exceeds the handover duration, the current mobile communication network signal meets the handover conditions.

[0103] In this embodiment of the invention, the number of ping packets can be preset as needed, including one or more. Specifically, when there are multiple ping packets, the "ping packet delay exceeding the handover time" means that the delay of all ping packets exceeds the handover time.

[0104] In one implementation, the second processing module 703 is further configured to: after switching the working mode to the switching mode, detect whether the current mobile communication network signal meets the recovery conditions based on preset parameters; if the recovery conditions are met, switch the working mode back to the switching mode and resume using the mobile communication network for communication.

[0105] In one implementation, the second processing module 703 is further configured to: after switching the operating mode to the switching mode, perform any of the following:

[0106] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is higher than the preset recovery threshold, the working mode switching loop is switched to mode 1 to resume communication using the mobile communication network.

[0107] The system monitors the status of ping packets sent to the specified address in real time. If the ping packet delay is less than the preset recovery time, the system switches the working mode to loopback mode and resumes communication using the mobile communication network.

[0108] The system monitors the RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address in real time. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery time, the working mode is switched to loopback mode to resume communication using the mobile communication network.

[0109] In this embodiment of the invention, the recovery threshold can be greater than the switching threshold to avoid frequent network switching and network signal instability.

[0110] In this embodiment of the invention, the preset parameters may include a validity period, and correspondingly, the IP address of the terminal is valid within the validity period.

[0111] The device provided in this embodiment of the invention realizes automatic switching between mobile communication networks and satellite networks. Since the IP address of the terminal connected to the satellite network is assigned by the satellite station, the satellite master station can distinguish multiple terminals, ensuring the normal use of satellite network functions and avoiding problems such as authentication information not being able to be distinguished independently, chaotic account fee calculation, and abnormal loss of account traffic.

[0112] Figure 8 This is a schematic diagram of the hardware structure of an electronic device to implement various embodiments of the present invention. The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811, etc. Those skilled in the art will understand that... Figure 8 The electronic device structures shown are not intended to limit the electronic device. An electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. In embodiments of the present invention, the electronic device includes, but is not limited to, mobile phones, tablet computers, laptops, PDAs, in-vehicle terminals, wearable devices, and pedometers.

[0113] The processor 810 is used to set the working mode to routing mode when accessing a mobile communication network, assign an IP address to the terminal, receive mobile communication network signals from the WAN port and convert them into local area network signals, and route and forward the local area network signals to the terminal according to the IP address; detect whether the current mobile communication network signal meets the switching conditions based on preset parameters; if the switching conditions are met, access the satellite network, switch the working mode to switching mode, receive satellite network signals from the WAN port and convert them into local area network signals, and forward the local area network signals to the terminal according to the IP address assigned to the terminal by the satellite station.

[0114] In one implementation, the processor 810 may specifically be used to perform any of the following:

[0115] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is lower than the preset handover threshold, the current mobile communication network signal meets the handover conditions.

[0116] The status of ping packets sent to the specified address is monitored in real time. If the ping packet delay exceeds the preset handover time, the current mobile communication network signal meets the handover conditions.

[0117] The RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address are detected in real time. If the RSSI is lower than the handover threshold or the ping packet delay exceeds the handover duration, the current mobile communication network signal meets the handover conditions.

[0118] In one implementation, the processor 810 is further configured to: after switching the operating mode to the switching mode, detect whether the current mobile communication network signal meets the recovery conditions based on preset parameters; if the recovery conditions are met, switch the operating mode back to the switching mode and resume using the mobile communication network for communication.

[0119] In one implementation, the processor 810 is further configured to: after switching the operating mode to the switching mode, perform any of the following:

[0120] The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is higher than the preset recovery threshold, the working mode switching loop is switched to mode 1 to resume communication using the mobile communication network.

[0121] The system monitors the status of ping packets sent to the specified address in real time. If the ping packet delay is less than the preset recovery time, the system switches the working mode to loopback mode and resumes communication using the mobile communication network.

[0122] The system monitors the RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address in real time. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery time, the working mode is switched to loopback mode to resume communication using the mobile communication network.

[0123] This invention provides an electronic device that enables automatic switching between mobile communication networks and satellite networks. Since the IP address of the terminal connected to the satellite network is assigned by the satellite station, the satellite master station can distinguish multiple terminals, ensuring the normal use of satellite network functions and avoiding problems such as authentication information not being able to be independently distinguished, chaotic account fee calculation, and abnormal loss of account traffic.

[0124] It should be understood that, in this embodiment of the invention, the radio frequency unit 801 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink data from the base station and processes it with the processor 810; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 801 can also communicate with networks and other electronic devices through a wireless communication system.

[0125] Electronic devices provide users with wireless broadband internet access through network module 802, such as helping users send and receive emails, browse web pages, and access streaming media.

[0126] The audio output unit 803 can convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sound. Furthermore, the audio output unit 803 can also provide audio output related to specific functions performed by the electronic device 800 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, and a receiver, etc.

[0127] Input unit 804 is used to receive audio or video signals. Input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The GPU 8041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on display unit 806. The image frames processed by GPU 8041 can be stored in memory 809 (or other storage medium) or transmitted via radio frequency unit 801 or network module 802. Microphone 8042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via radio frequency unit 801 in telephone call mode.

[0128] The electronic device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 8061 according to the ambient light level, and the proximity sensor can turn off the display panel 8061 and / or backlight when the electronic device 800 is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used to identify the posture of the electronic device (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. The sensor 805 may also include a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described in detail here.

[0129] The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0130] User input unit 807 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of electronic devices. Specifically, user input unit 807 includes a touch panel 8071 and other input devices 8072. Touch panel 8071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 8071). Touch panel 8071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 810, which receives and executes commands from the processor 810. In addition, touch panel 8071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. Besides touch panel 8071, user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.

[0131] Furthermore, the touch panel 8071 can cover the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits the information to the processor 810 to determine the type of touch event. Subsequently, the processor 810 provides corresponding visual output on the display panel 8061 based on the type of touch event. Although in Figure 8 In this embodiment, the touch panel 8071 and the display panel 8061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated to realize the input and output functions of the electronic device. The specific implementation is not limited here.

[0132] Interface unit 808 serves as an interface for connecting external devices to electronic device 800. For example, external devices may include a wired or wireless headphone port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 808 can be used to receive input from external devices (e.g., data, power, etc.) and transmit the received input to one or more components within electronic device 800, or it can be used to transmit data between electronic device 800 and external devices.

[0133] The memory 809 can be used to store software programs and various data. The memory 809 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 809 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0134] The processor 810 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 809, and by calling data stored in the memory 809, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 810.

[0135] The electronic device 800 may also include a power supply 811 (such as a battery) for supplying power to various components. Preferably, the power supply 811 is logically connected to the processor 810 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.

[0136] Preferably, the present invention also provides an electronic device, including a processor 810, a memory 809, and a computer program stored in the memory 809 and executable on the processor 810. When the computer program is executed by the processor 810, it implements the various processes of the above method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0137] This invention also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here.

[0138] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the various processes of the above-described method embodiments and achieves the same technical effects. To avoid repetition, further details are omitted here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0139] The computer-readable storage medium provided in this embodiment of the invention enables automatic switching between mobile communication networks and satellite networks. Since the IP address of the terminal connected to the satellite network is assigned by the satellite station, the satellite master station can distinguish multiple terminals, ensuring the normal use of satellite network functions and avoiding problems such as authentication information not being able to be distinguished independently, chaotic account fee calculation, and abnormal loss of account traffic.

[0140] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0141] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0143] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0145] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0146] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0147] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0148] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A method for switching between a satellite network and a mobile communication network, characterized in that, The method includes: When connected to a mobile communication network, the working mode is set to routing mode, an IP address is assigned to the terminal, the mobile communication network signal is received from the WAN port and converted into a local area network signal, and the local area network signal is routed and forwarded to the terminal according to the IP address. Based on preset parameters, detect whether the current mobile communication network signal meets the handover conditions; If the switching conditions are met, the system accesses the satellite network, switches the operating mode to switching mode, receives satellite network signals from the WAN port and converts them into LAN signals, and forwards the LAN signals to the terminal according to the IP address assigned to the terminal by the satellite station.

2. The method according to claim 1, characterized in that, The system detects whether the current mobile communication network signal meets the handover conditions based on preset parameters, including any of the following: The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is lower than the preset handover threshold, the current mobile communication network signal meets the handover conditions. The status of ping packets sent to the specified address is monitored in real time. If the ping packet delay exceeds the preset handover time, the current mobile communication network signal meets the handover conditions. The RSSI of the current mobile communication network signal and the status of ping packets sent to a specified address are detected in real time. If the RSSI is lower than the handover threshold or the ping packet delay exceeds the handover duration, the current mobile communication network signal meets the handover conditions.

3. The method according to claim 2, characterized in that, When there are multiple ping packets, the ping packet delay exceeding the switching duration means that the delay of all ping packets exceeds the switching duration.

4. The method according to claim 1, characterized in that, After switching the working mode to the swap mode, it also includes: Based on preset parameters, detect whether the current mobile communication network signal meets the recovery conditions; If the recovery conditions are met, the working mode switching loop will be switched back to normal mode, and communication will resume using the mobile communication network.

5. The method according to claim 2, characterized in that, After switching the working mode to exchange mode, it also includes any of the following: The RSSI of the current mobile communication network signal is detected in real time. If the RSSI is higher than the preset recovery threshold, the working mode switching loop is switched to mode 1 to resume communication using the mobile communication network. The system monitors the status of ping packets sent to the specified address in real time. If the ping packet delay is less than the preset recovery time, the system switches the working mode to loopback mode and resumes communication using the mobile communication network. The RSSI of the current mobile communication network signal and the status of ping packets sent to the specified address are detected in real time. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery duration, the working mode switching loop is switched to the previous mode to resume communication using the mobile communication network. Wherein, the recovery threshold is greater than the switching threshold.

6. The method according to claim 1, characterized in that, The preset parameters include a validity period, during which the terminal's IP address is valid.

7. A switching device for satellite networks and mobile communication networks, characterized in that, The device includes: The first processing module is used to set the working mode to routing mode when accessing the mobile communication network, assign an IP address to the terminal, receive mobile communication network signals from the WAN port and convert them into local area network signals, and route and forward the local area network signals to the terminal according to the IP address. The detection module is used to detect whether the current mobile communication network signal meets the handover conditions based on preset parameters; The second processing module is used to access the satellite network if the switching conditions are met, switch the working mode to the switching mode, receive satellite network signals from the WAN port and convert them into local area network signals, and forward the local area network signals to the terminal according to the IP address assigned to the terminal by the satellite terminal.

8. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for switching between a satellite network and a mobile communication network as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the method for switching between a satellite network and a mobile communication network as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the steps of the method for switching between a satellite network and a mobile communication network as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Geographical zone IP addressing method for Walker constellation network

    CN108667955A

  • Communication service switching and request sending method and device, equipment and storage medium

    CN117319930A