Satellite network and mobile communication network switching method and device and electronic equipment

By setting the routing and switching mode on the CPE equipment, combined with IP address allocation and signal detection, the problem of difficulty in distinguishing terminal equipment in the satellite network is solved, the accuracy of account management and the normal loss of traffic are achieved, and the normal operation of the satellite network is ensured. run.

CN118804180AActive Publication Date: 2024-10-18CHINA MOBILE GROUP ZHEJIANG +2

Patent Information

Application Number
CN202410791174.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-18
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 the terminal devices, resulting in problems such as inability to independently distinguish authentication information, confusing account fee calculations, and abnormal loss of account traffic.

Method used

By setting the routing mode when accessing the mobile communication network, assigning IP addresses and converting signals, based on the preset parameters, it is detected whether the mobile communication network signal meets the switching conditions. If it is satisfied, it switches to the switching mode to access the satellite network, and the satellite terminal station Assign IP addresses to achieve unique identification of terminal devices and account management.

Benefits of technology

It realizes the unique distinction of terminal equipment in the satellite network, avoids confusion in account fee calculation and abnormal traffic loss, and ensures the normal function and use of the satellite network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804180A_ABST
    Figure CN118804180A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a switching method and device for a satellite network and a mobile communication network and electronic equipment, and the method comprises the steps: setting a working mode as a routing mode under the condition of accessing the mobile communication network, distributing an IP address to a terminal, receiving a mobile communication network signal from a WAN port, converting the mobile communication network signal into a local area network signal, and transmitting the local area network signal to the terminal; forwarding a local area network signal route to the terminal according to the IP address; detecting whether the current mobile communication network signal meets a switching condition based on a preset parameter; and if the switching condition is satisfied, accessing a satellite network, switching the working mode into a switching mode, receiving a satellite network signal from a WAN port, converting the satellite network signal into a local area network signal, and forwarding the local area network signal to the terminal according to an IP address allocated to the terminal by a satellite end station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a switching method, device and electronic equipment for a satellite network and a mobile communication network. Background Art

[0002] CPE (Customer Premise Equipment) refers to the client device in the 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, allowing more terminal devices to access the Internet. In the scenario where both 5G and satellite networks can be connected, CPE usually selects satellite network signals or 5G network signals as access signals through dual WAN ports, and forwards them to the LAN port through routing to output to the terminal device.

[0003] When multiple terminal devices access the satellite network through CPE, since multiple terminal devices are accessed through the WAN port address of CPE, that is, the uplink ports all correspond to the same address, the satellite master station will treat multiple terminal devices as the same user, resulting in problems such as the inability to independently distinguish authentication information, confusion in account fee calculation, and abnormal loss of account traffic. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a method, device and electronic equipment for switching between a satellite network and a mobile communication network to solve the problems in the prior art.

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

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

[0007] When accessing the mobile communication network, the working mode is set to the 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 LAN signal, and the LAN signal is routed and forwarded to the terminal according to the IP address;

[0008] Detecting whether the current mobile communication network signal meets the switching conditions based on preset parameters;

[0009] If the switching conditions are met, the satellite network is accessed, the working mode is switched to the switching mode, the satellite network signal is received from the WAN port and converted into a LAN signal, and the LAN signal is forwarded to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

[0010] In a second aspect, an embodiment of the present invention provides a switching device between a satellite network and a mobile communication network, including:

[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 the mobile communication network signal from the WAN port and convert it into a local area network signal, and route and forward the local area network signal to the terminal according to the IP address;

[0012] A detection module, used to detect whether the current mobile communication network signal meets the switching 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 the satellite network signal from the WAN port and convert it into a local area network signal, and forward the local area network signal to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

[0014] In a third aspect, an embodiment of the present invention provides an electronic device, comprising 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 provided in the above embodiment.

[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for switching between a satellite network and a mobile communication network provided in the above embodiment are implemented.

[0016] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for switching between a satellite network and a mobile communication network provided in the above embodiment.

[0017] It can be seen from the technical solution provided by the above embodiments of the present invention that the embodiments of the present invention, when accessing a mobile communication network, sets the working mode to a routing mode, assigns an IP address to the terminal, receives a mobile communication network signal from a WAN port and converts it into a LAN signal, routes and forwards the LAN signal to the terminal according to the IP address, detects whether the current mobile communication network signal meets the switching condition based on preset parameters, and if the switching condition is met, accesses a satellite network, switches the working mode to a switching mode, receives a satellite network signal from a WAN port and converts it into a LAN signal, and forwards the LAN signal to the terminal according to the IP address assigned to the terminal by the satellite terminal station, thereby realizing automatic switching between the mobile communication network and the satellite network. Since the IP address of the scene terminal connected to the satellite network is assigned by the satellite terminal station, the satellite master station can distinguish between multiple terminals, thereby ensuring the normal use of the satellite network function and avoiding problems such as the inability to independently distinguish authentication information, confusion in account fee calculation, and abnormal loss of account traffic. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 A schematic diagram of a flow chart of a method for switching between a satellite network and a mobile communication network provided by an embodiment of the present invention;

[0020] Figure 2 A schematic flow chart of another method for switching between a satellite network and a mobile communication network provided by an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of configuring LAN port information provided by an embodiment of the present invention;

[0022] Figure 4 A schematic diagram of configuring a detection destination address provided in an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of configuring RSSI and ping packet information provided by an embodiment of the present invention;

[0024] Figure 6 A schematic diagram of a network switching 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 a switching device between a satellite network and a mobile communication network provided by an embodiment of the present invention;

[0026] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The embodiments of the present invention provide a method, a device and an electronic device for switching between a satellite network and a mobile communication network.

[0028] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0029] First, the terms involved in the present invention are explained.

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

[0031] RSSI (Received Signal Strength Indication) is an indicator to measure the strength of wireless signals, which is used to indicate the strength of received wireless signals. RSSI can be used to determine the quality, coverage, interference, transmission quality, reliability and source of wireless signals. The larger the RSSI value, the stronger the signal, the larger the coverage and the smaller the interference; the smaller the RSSI value, the weaker the signal, the smaller the coverage and the greater the interference. RSSI has important applications in wireless communications and is an important indicator of wireless communications.

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

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

[0034] The switching method and device of the satellite network and the mobile communication network provided in the embodiment of the present invention can be applied to CPE, such as a gateway or a router. The application scenarios of the above method and device include but are not limited to: scenarios where the mobile communication network signal coverage is weak and it is necessary to switch to a satellite network, such as ships, deserts, earthquakes or floods. Among them, the mobile communication network includes but is not limited to: 3G, 4G or 5G networks, and the 5G network includes but is not limited to: FR1 band or FR2 band. The FR1 band is the Sub-6GHz band, with a frequency range of 450MHz-6000MHz, including 26 bands such as n1 / n2 / n3, such as 450MHz, 700MHz, 2.6GHz or 5GHz. The FR2 band is the millimeter wave band, with a frequency range of 24250MHz-52600MHz, including 7 bands of n1 / n3 / n28 / n41 / n77 / n78 / n79, such as 24GHz, 28GHz or 39GHz.

[0035] The above-mentioned method and device provided by the embodiment of the present invention, since the IP address of the scene terminal connected to the satellite network is allocated by the satellite terminal station, the satellite main station can distinguish multiple terminals, thereby avoiding problems such as the inability to independently distinguish authentication information, confusion in account fee calculation, and abnormal loss of account traffic.

[0036] like Figure 1 As shown, an embodiment of the present 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 the mobile communication network, the working mode is set to the 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 LAN signal, and the LAN signal is routed and forwarded to the terminal according to the IP address.

[0038] In the embodiment of the present invention, the routing mode means that the CPE has the function of routing and forwarding the signal of the mobile communication network. In this scenario, the CPE and the terminal belong to the layered network, the mobile communication network belongs to the upper network, and the CPE forwards the signal to the terminal of the lower network through routing.

[0039] In S104, it is detected based on preset parameters whether the current mobile communication network signal meets the switching condition.

[0040] In the embodiment of the present invention, whether the current mobile communication network signal meets the switching condition can be detected by using RSSI, or by using a ping packet, or by using both RSSI and a ping packet, without specific limitation.

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

[0042] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is lower than the preset switching threshold, the current mobile communication network signal meets the switching condition.

[0043] Real-time detection of the status of the ping packet sent to the specified address. If the delay of the ping packet exceeds the preset switching time, the current mobile communication network signal meets the switching condition.

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

[0045] In the embodiment of the present invention, the number of ping packets can be set as needed, including one or more, such as 3 or 4. Wherein, in the case of multiple ping packets, the delay of the ping packets exceeding the switching duration means that the delay of all ping packets exceeds the switching duration.

[0046] In S106, if the switching condition is met, the satellite network is accessed, the working mode is switched to the switching mode, the satellite network signal is received from the WAN port and converted into a LAN signal, and the LAN signal is forwarded to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

[0047] In the embodiment of the present invention, the switching mode means that the CPE only forwards the signal of the mobile communication network without judging and processing it. In this scenario, the CPE and the terminal belong to the same layer network, and the mobile communication network signal is directly forwarded by the CPE to the terminal without judging and processing it.

[0048] In the embodiment of the present invention, the above-mentioned preset parameters may include a validity period, and accordingly, the IP address of the above-mentioned terminal is valid within the validity period.

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

[0050] In another implementation manner, after the working mode is switched to the exchange mode in the above step S106, any of the following may also be included:

[0051] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is higher than the preset recovery threshold, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication;

[0052] Real-time detection of the status of ping packets sent to the specified address. If the delay of the ping packet is lower than the preset recovery time, the working mode is switched back to the routing mode and the mobile communication network is restored for communication.

[0053] The RSSI of the current mobile communication network signal and the status of the ping packet 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 is switched back to the routing mode and the mobile communication network is restored for communication.

[0054] The above-mentioned recovery threshold may be greater than the switching threshold to avoid frequent network switching and signal instability.

[0055] The above method provided by the embodiment of the present invention realizes the automatic switching of the mobile communication network and the satellite network. Since the IP address of the scene terminal connected to the satellite network is allocated by the satellite terminal station, the satellite master station can distinguish multiple terminals, thereby ensuring the normal use of the satellite network function and avoiding the problems of authentication information being unable to be independently distinguished, confusion in account fee calculation, and abnormal loss of account traffic.

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

[0057] In S202, parameters of the CPE are configured.

[0058] In the embodiment of the present invention, the parameters for configuring the CPE may be automatically set by default during initialization, or may be manually input, without specific limitation. The parameters of the CPE include, but are not limited to, WAN port information, LAN port information, destination address information for detecting network connection, or ping packet information, etc., without specific limitation.

[0059] In the embodiment of the present 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 a LAN port of a satellite terminal station. The CPE also has a LAN port for connecting to a terminal.

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

[0061] Figure 3 FIG. 1 is a schematic diagram of configuring LAN port information provided by an embodiment of the present invention. Figure 3When configuring the CPE parameters, you can configure the LAN port information, which can be configured on the configuration interface. The IPv4 address of the LAN port is configured as: 192.168.1.1, and the IPv4 subnet mask is configured as: 255.255.255.0.

[0062] In one implementation, when configuring the parameters of the CPE, the destination address for detecting network connection 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 can also be configured as the main station side server address of the satellite intranet, which is not specifically limited.

[0063] Figure 4 A schematic diagram of configuring a detection destination address provided by an embodiment of the present invention. Figure 4 When configuring the parameters of the CPE, you can configure the destination address information for detecting network connections. The destination address is configured as the master station side server address of the satellite intranet, such as the peer dedicated line server address: 192.168.16.14. By configuring the destination address for detecting network connections as the master station side server address of the satellite intranet, it can be ensured that the satellite terminal station can be pinged normally when it joins the network, and a restart will not be triggered, preventing network interruption.

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

[0065] Figure 5 A schematic diagram of configuring RSSI and ping packet information provided by an embodiment of the present invention. Figure 5 When configuring CPE parameters, you can configure RSSI information as follows: the switching threshold of 4G RSSI is 8, and the switching threshold of 5G RSSI is 10, which means that if the RSSI of the 4G network is lower than 8, the current 4G network signal meets the switching conditions, and if the RSSI of the 5G network is lower than 10, the current 5G network signal meets the switching conditions and can be switched to the satellite network. In addition, you can also configure ping packet information as follows: the switching time of the ping packet delay is 500ms, and the number of ping packets is 4, which means that after sending 4 ping packets, if the 4 ping packets are all over 500ms without receiving feedback from the other end, it is considered that the packet is lost, and the switching conditions are met, and you can switch to the satellite network.

[0066] In the embodiment of the present invention, the switching time 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 relatively high switching time can ensure that the signal will not be switched immediately when encountering a short-term signal fluctuation, avoid triggering an overly sensitive switch that causes frequent switching, and avoid misjudging packet loss. Setting a relatively low switching time is suitable for scenarios with high requirements for network quality.

[0067] In S204, when accessing the mobile communication network, the working mode is set to the 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 LAN signal, and the LAN signal is routed and forwarded to the terminal according to the IP address.

[0068] Among them, setting the working mode to the routing mode can also include: shielding the WAN port of the CPE for connecting to the satellite network, thereby ensuring that the WAN port for connecting to the mobile communication network works effectively.

[0069] In S206, it is detected based on RSSI and / or ping packet whether the current mobile communication network signal meets the switching condition.

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

[0071] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is lower than the preset switching threshold, the current mobile communication network signal meets the switching condition.

[0072] Real-time detection of the status of the ping packet sent to the specified address. If the delay of the ping packet exceeds the preset switching time, the current mobile communication network signal meets the switching condition.

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

[0074] In an embodiment of the present invention, the above-mentioned switching threshold can be set according to the type of mobile communication network. For example, the switching threshold of 4G RSSI is set to 8 (equivalent to an RSRP value of -102dbm to -106dbm), and the switching threshold of 5G RSSI is set to 10 (equivalent to an RSRP value of -99dbm to -95dbm), so that a balance can be maintained between signal quality and available distance when using a shore-based mobile communication network.

[0075] In the embodiment of the present invention, when there are multiple ping packets, the delay of the ping packets exceeding the specified time period means that the delay of all ping packets exceeds the specified time period.

[0076] In S208, if the switching condition is met, the satellite network is accessed, the working mode is switched to the switching mode, the satellite network signal is received from the WAN port and converted into a LAN signal, and the LAN signal is forwarded to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

[0077] Among them, switching the working mode to the switching mode can also include: activating the WAN port of the CPE for connecting to the satellite network, and shielding the WAN port of the CPE for connecting to the mobile communication network, thereby ensuring that the WAN port for connecting to the satellite network works effectively.

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

[0079] In the embodiment of the present invention, whether the CPE allocates an IP address to the terminal or the satellite terminal allocates an IP address to the terminal, the DHCP service can be used to complete the allocation, which will not be described in detail here.

[0080] In S210, it is detected based on RSSI and / or ping packets whether the current mobile communication network signal meets the recovery condition. If the recovery condition is met, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication.

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

[0082] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is higher than the preset recovery threshold, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication;

[0083] Real-time detection of the status of ping packets sent to the specified address. If the delay of the ping packet is lower than the preset recovery time, the working mode is switched back to the routing mode and the mobile communication network is restored for communication.

[0084] Real-time detection of the RSSI of the current mobile communication network signal and the status of the ping packet sent to the specified address. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery duration, the working mode is switched back to the routing mode and the mobile communication network is restored for communication.

[0085] The recovery threshold is greater than the switching threshold.

[0086] In the embodiment of the present invention, the above recovery threshold can be set according to the type of mobile communication network. For example, the recovery threshold of 4G RSSI is set to 14, and the recovery threshold of 5G RSSI is set to 16, which are 6 units higher than the above switching threshold, that is, the recovery threshold is greater than the switching threshold. This method can ensure that the signal critical point will not be repeatedly switched multiple times in a short period of time.

[0087] In the embodiment of the present invention, the above-mentioned preset parameters may include a validity period, which may be set as needed, such as 4-24 hours. Accordingly, the IP address of the above-mentioned terminal is valid within the validity period. Specifically, whether it is an IP address assigned to the terminal by the CPE or an IP address assigned to the terminal by the satellite terminal, both are valid within the validity period.

[0088] In the embodiment of the present invention, whether using mobile communication network communication or satellite network communication, the terminal can access the network based on the assigned IP address, using encrypted authentication, and passing the local device authentication and the BRAS Internet access permission of the background master station. Especially in the scenario of using satellite network, the network address of the terminal is consistent with the service network segment of the satellite terminal station, and the device authentication and user authentication can be passed normally, and connected to the satellite communication service network. Moreover, since the CPE itself does not participate in the address allocation or identification work, even after multiple switching occurs, within the validity period of the IP address, the terminal IP address saved by the satellite terminal station will not change, and it is consistent with the IP address saved by the terminal, so that multiple authentications can be avoided in multiple switching, making the switching experience smoother and the experience more convenient.

[0089] Figure 6 A schematic diagram of a network switching process based on RSSI and ping packets provided by an embodiment of the present invention. Figure 6 , taking the mobile communication network as a 5G network as an example, the network switching process based on RSSI and ping packets can specifically include: CPE startup, checking the SIM status, if abnormal, switching to the exchange mode, accessing the satellite network for communication, if normal, accessing the 5G network. Determine whether the access to the 5G network is successful. If it fails, switch to the exchange mode and access the satellite network for communication. If successful, use the routing mode to access the 5G network for communication. In the case of accessing the 5G network, detect the network status in real time. If the 5G RSSI reaches the detection index, such as higher than 8, continue to detect the ping packet status. If the 5G RSSI does not reach the detection index, such as lower than 8, switch to the exchange mode and access the satellite network for communication. Among them, the above-mentioned detection of the ping packet status may include: judging whether the ping packet reaches the detection index such as a delay of less than 500ms. If so, continue to use the 5G network for communication. Otherwise, switch to the exchange mode and access the satellite network for communication.

[0090] In the embodiment of the present invention, the test results shown in Table 1 can be obtained by testing in offshore waters.

[0091] Table 1

[0092]

[0093] Among them, nearshore means that the straight-line distance between the test point and the best 5G base station is less than 15 kilometers, and medium-long distance means that the straight-line distance between the test point and the best 5G base station is greater than or equal to 15 kilometers. As can be seen from Table 1, the network signal is stronger when using an outdoor antenna than when using an indoor antenna, and the nearshore network signal is stronger than the medium-long distance signal.

[0094] The above method provided by the embodiment of the present invention realizes the automatic switching between the mobile communication network and the satellite network. Since the IP address of the scene terminal connected to the satellite network is allocated by the satellite terminal station, the satellite master station can distinguish multiple terminals, ensuring the normal use of the satellite network function, avoiding the problems of authentication information being unable to be independently distinguished, confusion in account fee calculation, and abnormal loss of account traffic. In addition, the above method can be well applied to marine ship scenarios and can better work in the changeable and complex environment at sea. Especially in more remote areas or ocean areas, it can make a good supplement and connection between shore-based mobile network communications and satellite communications, which can not only utilize the good coverage performance of the mobile communication network frequency band, but also connect to the satellite communication network scenario, and achieve both cost and performance in a larger geographical space.

[0095] The above is a method for switching between a satellite network and a mobile communication network provided by an embodiment of the present invention. Based on the same idea, an embodiment of the present invention also provides a device for switching between a satellite network and a mobile communication network, such as Figure 7 As shown, specifically including:

[0096] The first processing module 701 is used to set the working mode to routing mode when accessing the mobile communication network, assign an IP address to the terminal, receive the mobile communication network signal from the WAN port and convert it into a LAN signal, and route and forward the LAN signal 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 switching condition 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 the satellite network signal from the WAN port and convert it into a LAN signal, and forward the LAN signal to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

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

[0100] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is lower than the preset switching threshold, the current mobile communication network signal meets the switching condition.

[0101] Real-time detection of the status of the ping packet sent to the specified address. If the delay of the ping packet exceeds the preset switching time, the current mobile communication network signal meets the switching condition.

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

[0103] In the embodiment of the present invention, the number of ping packets can be preset as needed, including one or more. Wherein, in the case of multiple ping packets, the delay of the ping packets exceeding the switching duration specifically means that the delays of all ping packets exceed the switching duration.

[0104] In one embodiment, the second processing module 703 is also used to: after switching the working mode to the exchange 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 routing mode and resume using the mobile communication network for communication.

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

[0106] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is higher than the preset recovery threshold, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication;

[0107] Real-time detection of the status of ping packets sent to the specified address. If the delay of the ping packet is lower than the preset recovery time, the working mode is switched back to the routing mode and the mobile communication network is restored for communication.

[0108] The RSSI of the current mobile communication network signal and the status of the ping packet 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 is switched back to the routing mode and the mobile communication network is restored for communication.

[0109] In the embodiment of the present invention, the above-mentioned recovery threshold may be greater than the switching threshold to avoid frequent network switching and cause unstable network signals.

[0110] In the embodiment of the present invention, the above-mentioned preset parameters may include a validity period, and accordingly, the IP address of the above-mentioned terminal is valid within the validity period.

[0111] The above-mentioned device provided by the embodiment of the present invention realizes automatic switching between the mobile communication network and the satellite network. Since the IP address of the scene terminal connected to the satellite network is allocated by the satellite terminal station, the satellite master station can distinguish multiple terminals, thereby ensuring the normal use of the satellite network function and avoiding problems such as the inability to independently distinguish authentication information, confusion in account fee calculation, and abnormal loss of account traffic.

[0112] Figure 8 The hardware structure diagram of an electronic device for implementing various embodiments of the present invention is shown in FIG. 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. Those skilled in the art will appreciate that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0113] Among them, processor 810 is used to set the working mode to routing mode when accessing the mobile communication network, assign an IP address to the terminal, receive the mobile communication network signal from the WAN port and convert it into a local area network signal, and route and forward the local area network signal 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 the switching mode, receive the satellite network signal from the WAN port and convert it into a local area network signal, and forward the local area network signal to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

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

[0115] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is lower than the preset switching threshold, the current mobile communication network signal meets the switching condition.

[0116] Real-time detection of the status of the ping packet sent to the specified address. If the delay of the ping packet exceeds the preset switching time, the current mobile communication network signal meets the switching condition.

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

[0118] In one embodiment, the processor 810 is also used 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 routing mode and resume using the mobile communication network for communication.

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

[0120] Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is higher than the preset recovery threshold, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication;

[0121] Real-time detection of the status of ping packets sent to the specified address. If the delay of the ping packet is lower than the preset recovery time, the working mode is switched back to the routing mode and the mobile communication network is restored for communication.

[0122] The RSSI of the current mobile communication network signal and the status of the ping packet 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 is switched back to the routing mode and the mobile communication network is restored for communication.

[0123] An embodiment of the present invention provides an electronic device that realizes automatic switching between a mobile communication network and a satellite network. Since the IP address of a scene terminal connected to the satellite network is allocated by a satellite terminal station, the satellite main station can distinguish between multiple terminals, thereby ensuring the normal use of satellite network functions and avoiding problems such as the inability to independently distinguish authentication information, confusion in account fee calculation, and abnormal loss of account traffic.

[0124] It should be understood that in the embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 810 for processing; in addition, uplink data is sent to the base station. Generally, 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. In addition, the radio frequency unit 801 can also communicate with the network and other electronic devices through a wireless communication system.

[0125] The electronic device provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0126] The audio output unit 803 can convert the audio data received by the RF unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output it as sound. Moreover, the audio output unit 803 can also provide audio output related to a specific function performed by the electronic device 800 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, etc.

[0127] The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 806. The image frame processed by the graphics processor 8041 can be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 801 in the case of a 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, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8061 and / or the backlight when the electronic device 800 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated 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] The user input unit 807 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 8071 or near the touch panel 8071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 8071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 810, receives the command sent by the processor 810 and executes it. In addition, the touch panel 8071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 8071, the user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0131] Furthermore, the touch panel 8071 may be overlaid on 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 the touch event. Then, the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Figure 8 In the figure, the touch panel 8071 and the display panel 8061 are used as 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, which is not limited here.

[0132] The interface unit 808 is an interface for connecting an external device to the electronic device 800. For example, the external device may include a wired or wireless headset 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, etc. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and an external device.

[0133] The memory 809 can be used to store software programs and various data. The memory 809 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 809 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0134] The processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 809 and calling data stored in the memory 809, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned 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 each component. Preferably, the power supply 811 may be logically connected to the processor 810 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0136] Preferably, an embodiment of the present invention further provides an electronic device, comprising 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, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0137] An embodiment of the present invention further 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-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0138] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0139] The above-mentioned computer-readable storage medium provided by the embodiment of the present invention realizes automatic switching between the mobile communication network and the satellite network. Since the IP address of the scene terminal connected to the satellite network is allocated by the satellite terminal station, the satellite master station can distinguish multiple terminals, thereby ensuring the normal use of the satellite network function and avoiding problems such as the inability to independently distinguish authentication information, confusion in account fee calculation, and abnormal loss of account traffic.

[0140] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented 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] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions 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] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0146] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0147] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0148] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in 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 comprises: When accessing the mobile communication network, the working mode is set to the 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 LAN signal, and the LAN signal is routed and forwarded 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, the satellite network is accessed, the working mode is switched to the switching mode, the satellite network signal is received from the WAN port and converted into a LAN signal, and the LAN signal is forwarded to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

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

3. The method according to claim 2, characterized in that In the case that there are multiple ping packets, the delay of the ping packets exceeding the switching duration means that the delays of all ping packets exceed the switching duration.

4. The method according to claim 1, characterized in that: After switching the working mode to the exchange mode, it also includes: Detecting whether the current mobile communication network signal meets the recovery conditions based on preset parameters; If the recovery conditions are met, the working mode is switched back to the routing mode, and communication using the mobile communication network is restored.

5. The method according to claim 2, characterized in that: After switching the working mode to the exchange mode, it also includes any of the following: Real-time detection of the RSSI of the current mobile communication network signal. If the RSSI is higher than the preset recovery threshold, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication; Real-time detection of the status of ping packets sent to the specified address. If the delay of the ping packet is lower than the preset recovery time, the working mode is switched back to the routing mode and the mobile communication network is restored for communication. Real-time detection of the RSSI of the current mobile communication network signal and the status of the ping packet sent to the specified address. If the RSSI is higher than the recovery threshold or the ping packet delay is lower than the recovery duration, the working mode is switched back to the routing mode, and the mobile communication network is restored for communication; 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, and the IP address of the terminal is valid during the validity period.

7. A switching device between a satellite network and a mobile communication network, characterized in that: The device comprises: 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 the mobile communication network signal from the WAN port and convert it into a local area network signal, and route and forward the local area network signal to the terminal according to the IP address; A detection module, used to detect whether the current mobile communication network signal meets the switching 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 the satellite network signal from the WAN port and convert it into a local area network signal, and forward the local area network signal to the terminal according to the IP address assigned to the terminal by the satellite terminal station.

8. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, 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 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, 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 are implemented.

10. A computer program product, characterized in that It comprises a computer program, 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.

Citation Information

Patent Citations

  • Geographical zone IP addressing method for Walker constellation network

    CN108667955A

  • Adaptive access method for mobile communication network and satellite network

    CN115633391A

  • Satellite-ground fusion system based on edge calculation

    CN115987368A

  • Communication method and device

    CN116867002A

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

    CN117319930A

Cited By

  • Internal and external network switching method, system and equipment and storage medium

    CN120200784A

  • Anti-salt fog user front equipment suitable for marine environment

    CN121567986A

  • Mobile communication and satellite communication integrated device and implementation equipment thereof

    CN224521059U