Network switching method and device, equipment and storage medium
By detecting network parameters and calculating handover judgment parameters, intelligent handover between 5G and satellite networks is realized, which solves the problems of delay and low signal rate in the handover process in the existing technology, and improves the utilization rate and user experience of the maritime network.
Patent Information
- Application Number
- CN202410244311.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-03-04
AI Technical Summary
The existing technology has problems such as time delay when users cannot connect to the Internet, low signal rate, and severe packet loss during the handover process between 5G and satellite networks, and cannot meet the needs of maritime business.
By detecting the parameters of the two networks, including distance parameters, delay jitter, packet loss rate and signal reception power, and calculating the distance judgment coefficient and handover judgment parameters, the intelligent handover of the network is realized, combining hard handover and soft handover, and giving priority to switching to the satellite network to ensure real-time data transmission.
It achieves efficient switching between 5G and satellite networks, improves network utilization and user experience, reduces user perception differences, and releases valuable satellite bandwidth resources.
Smart Images

Figure CN118828748A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a network switching method, device, equipment and storage medium. Background Art
[0002] With the development of marine fisheries, maritime communications have gradually become popular. Currently, fishing vessels are generally equipped with satellite terminals, but they are always criticized for their high fees, poor stability and low capacity. 5G communication technology has the characteristics of low latency, large capacity and wide connection. It has long penetrated into all walks of life and promoted the digital transformation of the industry. At present, 5G signals have achieved continuous coverage at sea and can meet the business needs within the offshore range.
[0003] Although hard switching can enable users to switch between 5G networks and satellite networks, on the one hand, there will be a certain period of time during the switching process when users cannot connect to the Internet. On the other hand, it will inevitably cause a certain signal rate blind spot, that is, 5G signals can be searched, but the uplink and downlink rates are extremely slow, packet loss is serious, and it cannot meet business needs. Summary of the invention
[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0005] The first aspect of the present disclosure provides a network switching method, including:
[0006] In response to detecting the first communication network, acquiring first network parameters of the first communication network and second network parameters of the second communication network, wherein the first network parameters include distance parameters;
[0007] Determining a distance determination coefficient according to the distance parameter and a first threshold;
[0008] Based on the distance judgment coefficient, the first network parameter and the second network parameter, judging whether it is necessary to switch the first communication network to the second communication network to obtain a judgment result;
[0009] Based on the determination result, the first communication network is processed.
[0010] A second aspect of the present disclosure provides a network switching device, including:
[0011] An acquisition module, configured to acquire, in response to detecting a first communication network, a first network parameter of the first communication network and a second network parameter of a second communication network, wherein the first network parameter includes a distance parameter;
[0012] A determination module, used to determine a distance determination coefficient according to the distance parameter and a first threshold;
[0013] A judgment module, configured to judge whether it is necessary to switch the first communication network to the second communication network based on the distance judgment coefficient, the first network parameter and the second network parameter, so as to obtain a judgment result;
[0014] A processing module is used to process the first communication network based on the judgment result.
[0015] The third aspect embodiment of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the network switching method as described in the first aspect embodiment of the present disclosure is implemented.
[0016] The fourth aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the network switching method as described in the first aspect of the present disclosure is implemented.
[0017] The fifth aspect of the present disclosure provides a computer program product. When an instruction processor in the computer program product executes, the network switching method as described in the first aspect of the present disclosure is implemented.
[0018] In the disclosed embodiment, first, in response to detecting a first communication network, a first network parameter of the first communication network and a second network parameter of the second communication network are obtained, wherein the first network parameter includes a distance parameter, and then a distance judgment coefficient is determined according to the distance parameter and a first threshold value, and then based on the distance judgment coefficient, the first network parameter and the second network parameter, it is determined whether the first communication network needs to be switched to the second communication network to obtain a judgment result, and finally, based on the judgment result, the first communication network is processed. In this way, the status of the 5G and satellite networks can be judged more accurately, so that the fusion gateway can perform network switching in time to ensure the real-time performance of data transmission.
[0019] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0021] Figure 1 A schematic diagram of a flow chart of a network switching method provided by an embodiment of the present disclosure;
[0022] Figure 2A structural diagram of a communication network switching system provided by an embodiment of the present disclosure;
[0023] Figure 3 A flowchart of another network switching method provided by an embodiment of the present disclosure;
[0024] Figure 4 A schematic diagram of a flow chart of another network switching method provided by an embodiment of the present disclosure;
[0025] Figure 5 A schematic diagram of the structure of a network switching device provided by an embodiment of the present disclosure;
[0026] Figure 6 It is a block diagram of an electronic device for network switching according to an exemplary embodiment. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0028] In related technologies, users are switched between 5G networks and satellite networks through hard switching. However, during the switching process, users cannot connect to the Internet for a certain period of time. On the other hand, it will inevitably cause a certain signal rate blind spot, that is, 5G signals can be searched, but the uplink and downlink rates are extremely slow, and packet loss is serious, which cannot meet business needs. The switching judgment criteria proposed by the current technical solution are relatively simple and are not applicable to the problem of switching between 5G and satellite networks at sea.
[0029] Therefore, there is currently a lack of an efficient network switching method that allows users to switch efficiently and freely between two networks at sea. In summary, the current research and judgment standards for network switching are immature, resulting in low network utilization and poor user perception. In order to solve the above problems existing in the prior art, this patent proposes a network switching method to achieve efficient switching between shipborne satellite terminals and ground mobile 5G communication networks.
[0030] The present disclosure provides a network switching method and device. The network switching method and device according to an embodiment of the present disclosure are described below with reference to the accompanying drawings.
[0031] Figure 1 A schematic diagram of a flow chart of a network switching method provided in an embodiment of the present disclosure.
[0032] like Figure 1 As shown, the network switching method may include the following steps:
[0033] Step 101: in response to detecting a first communication network, obtaining first network parameters of the first communication network and second network parameters of a second communication network, wherein the first network parameters include distance parameters.
[0034] Among them, the first communication network can be a 5G network, and the second communication network can be a satellite network.
[0035] The first network parameter may be the delay jitter, packet loss rate, signal receiving power, etc. of the 5G network, which is not limited here. The second network parameter may be the delay jitter, packet loss rate, signal receiving power, etc. of the satellite network, which is not limited here.
[0036] Specifically, after the device is started, it can identify the first communication network and the second communication network, and when the first communication network can be searched, it can access the first communication network by default.
[0037] It should be noted that the network switching method in the embodiment of the present disclosure can be executed by a converged gateway in the communication network switching system. Figure 2 As shown, the communication network switching system may include a 5G antenna, a satellite antenna, a satellite terminal, a fusion gateway, etc., which are not limited here.
[0038] Among them, the satellite antenna is connected to the satellite terminal to receive satellite signals and collect network jitter values, packet loss rates, RSRP values, etc. in real time. The satellite terminal can be connected to the fusion gateway through the WAN port (Wide Area Network). Among them, the fusion gateway has a computing and storage unit, which can analyze, process and judge the collected 5G signal data and satellite signal data to achieve efficient switching between the two networks. Among them, the fusion gateway also has a switching unit to identify and switch the 5G network and the satellite network through IP addresses and IP masks.
[0039] Optionally, the fusion gateway has a clock unit for periodically sending packets to detect signal parameters of the two networks.
[0040] Optionally, the converged gateway can be connected to the end-user device via WiFi or LAN (Local Area Network) to provide network signal protection for the user device.
[0041] Optionally, the converged gateway has a fiber optic interface that can be connected to a BBU (baseband processing unit) to build a local mobile communication network and further meet user voice service needs.
[0042] Optionally, packet detection can be performed, and the packet detection time interval can be 1 minute. It also supports user customization, that is, the first network parameters of the first communication network and the second network parameters of the second communication network can be obtained once every 1 minute. The period of packet detection is not limited in the present disclosed embodiment.
[0043] It should be noted that for access base stations, the distance parameter TA (Timing Advance) can be obtained by demodulating the PRACH (Physical Random Access Channel) signal preamble. PRACH is a physical channel used for devices to perform random access to base stations. The PRACH signal contains preamble sequences, which have known time domain characteristics. By demodulating these preamble sequences, the base station can measure the arrival time and distance of the signal.
[0044] The distance parameter TA represents the transmission delay between the device and the base station, usually expressed in the form of a number of symbols. The base station can calculate the distance between the device and the base station by measuring the arrival time of the PRACH signal preamble, and adjust the transmission timing of the downlink channel accordingly to achieve signal synchronization and correct reception.
[0045] In the disclosed embodiment, the TA value, that is, the distance parameter, of the 5G signal can be obtained based on the built-in 5G module of the fusion gateway.
[0046] Step 102: Determine a distance determination coefficient according to the distance parameter and the first threshold.
[0047] Optionally, when the distance parameter is less than or equal to a first threshold, the distance judgment coefficient is determined to be a first preset value;
[0048] Alternatively, when the distance parameter is greater than the first threshold, the distance determination coefficient is determined to be a second preset value.
[0049] The first threshold may be a threshold of a distance parameter.
[0050] For example, the distance parameter is recorded as TA, the first threshold is recorded as TA0, and the distance determination coefficient is recorded as α. If TA≤TA0, then α=0.5, and if TA>TA0, then α=2. The first preset value may be 0.5, and the second preset value may be 2.
[0051] Among them, the first threshold needs to be defined according to the local 5G average coverage distance d, and the specific calculation method is:
[0052]
[0053] Where v is the propagation speed of electromagnetic waves 3*10 8m / s, Ts is the time corresponding to one time slot 1 / (SCS*2048)s, SCS is the subcarrier spacing, for example, NR 2.6G SCS is 15000, NR 700M SCS is 30000, "NR" refers to the fifth generation mobile communication system (5G). For example, if the preset working frequency band is 700M, and the local 5G average coverage distance d is 30km, then TA0 = 2*30000 / (16*3*10 8 *1 / (30000*2048))=768.
[0054] It should be noted that the average coverage distance degree d can be a preset value, or defined by regularly detecting the uplink and downlink rates of the 5G network when used for the first time. Since the fusion gateway supports users to preset their preferences to customize the switching distance or uplink rate, and then perform real-time intelligent switching between networks according to the network status, the present invention can be combined with both the actual needs of users and the actual network coverage situation, and has greater flexibility in use.
[0055] For example, if the preset preferred rate is 1Mbps, the converged gateway is timed, for example, every 1 minute, to measure the uplink and downlink rates and TA values of the 5G network. When the measured uplink rate is lower than 1Mbps, the results of the two tests are linearly fitted to calculate the distance d corresponding to the uplink of 1Mbps. In this way, the different 5G coverage and business needs in different regions can be considered. Users can set them according to their preset preferences, reduce the computing pressure of the computing and storage units in the converged gateway, and support automatic system calculations to lower the threshold for users.
[0056] It should be noted that if the average coverage distance is preset by the user, there is an upper threshold, and the user shall not input a distance value greater than the upper threshold.
[0057] It should be noted that the TA value represents the distance from the user terminal to the base station antenna, and can be used to measure and guide coverage issues such as weak coverage and cross-area coverage. In the disclosed embodiment, the fusion gateway can use the TA value to calculate the distance between the user and the base station, and use the TA value to calculate the distance judgment coefficient α obtained by comparison, thereby strengthening the proportion of the TA value in the switching algorithm. That is, even if the 5G signal quality is better than that of the satellite somewhere, the distance is too far, which may cause frequent switching of subsequent networks, so it is preferred to switch to the satellite network to ensure user perception.
[0058] Step 103: Based on the distance judgment coefficient, the first network parameter and the second network parameter, it is judged whether it is necessary to switch the first communication network to the second communication network to obtain a judgment result.
[0059] Optionally, the first delay jitter information, the first packet loss rate and the first reference signal receiving power included in the first network parameters can be determined first, and the second delay jitter information, the second packet loss rate and the second reference signal receiving power included in the second network parameters can be determined.
[0060] Among them, the first delay jitter information, the first packet loss rate and the first reference signal receiving power can be the delay jitter, packet loss rate and reference signal receiving power corresponding to the 5G network respectively, and the second delay jitter information, the second packet loss rate and the second reference signal receiving power can be the delay jitter, packet loss rate and reference signal receiving power corresponding to the satellite network respectively.
[0061] Afterwards, the switching judgment parameter can be calculated based on the distance judgment coefficient, the first delay jitter information, the first packet loss rate and the first reference signal receiving power, the second delay jitter information, the second packet loss rate and the second reference signal receiving power. Then, when the switching judgment parameter is less than or equal to the second threshold, it is determined that the judgment result is not necessary to switch to the second communication network. Then, when the switching judgment parameter is greater than the second threshold, it is determined that the judgment result is necessary to switch to the second communication network.
[0062] Specifically, the switching judgment parameter A can be calculated according to the following formula:
[0063]
[0064] Among them, α is the distance judgment coefficient obtained by calculating and comparing the TA value, Soi is the first delay jitter information of the 5G network measured for the i-th time, Ssi is the second delay jitter information of the satellite network measured for the i-th time, Doi is the first packet loss rate of the 5G network measured for the i-th time, Dsi is the second packet loss rate of the satellite network measured for the i-th time, Roi is the first reference signal receiving power of the 5G network measured for the i-th time, and Rsi is the second reference signal receiving power of the satellite network measured for the i-th time. Among them, n is a preset value, such as 10, and a packet is sent every 1 minute to detect the network, that is, a switching decision is made every 10 minutes. The n value supports user customization.
[0065] The second threshold may be a threshold of a switching judgment parameter. In the embodiment of the present disclosure, the second threshold may be 1, which is not limited here.
[0066] For example, when A≤1, the user plane remains connected to the first ground communication network. When A>1, the user plane switches to the second communication network. In this way, multiple network parameters can be comprehensively considered. Compared with switching based on a single parameter, it can more truly reflect the network status and ensure user experience.
[0067] Step 104: Process the first communication network based on the determination result.
[0068] Optionally, when the judgment result is that it is not necessary, the access to the first communication network is maintained, and when the judgment result is that it is necessary, the access to the second communication network is performed.
[0069] In the disclosed embodiment, first, in response to detecting a first communication network, a first network parameter of the first communication network and a second network parameter of the second communication network are obtained, wherein the first network parameter includes a distance parameter, and then a distance judgment coefficient is determined according to the distance parameter and a first threshold value, and then based on the distance judgment coefficient, the first network parameter and the second network parameter, it is determined whether the first communication network needs to be switched to the second communication network to obtain a judgment result, and finally, based on the judgment result, the first communication network is processed. In this way, the status of the 5G and satellite networks can be judged more accurately, so that the fusion gateway can perform network switching in time to ensure the real-time performance of data transmission.
[0070] In summary, by combining network hard switching with soft switching, and considering the comparison of the quality of the two access networks, when the 5G network cannot be accessed, it is directly switched to the satellite network through the hard switching method. When the 5G signal can be searched, the method and system detect the delay jitter, packet loss rate, RSRP value, TA value parameters, and longitude and latitude of the satellite network and the 5G mobile communication network in real time, and use the switching algorithm to compare the network quality and the distance between the user and the base station to achieve intelligent switching between networks. The influence of the distance between the user and the base station is taken into account, and the influence of the delay on the network is weakened. The overall method is more efficient and applicable. When the user turns on the gateway in an area without 5G coverage in the open sea, the 5G link is not connected. The switching judgment is started only when the distance to the base station meets the requirements, which is more green and energy-saving.
[0071] In addition, the fusion gateway in the system can scan the network information of 5G network and satellite network in real time, achieve real-time switching, and users can perceive no difference. For users who have installed satellite systems, the networking solution is simple and low-cost. The fusion gateway has an optical fiber interface that can be connected to the baseband processing unit to build a local mobile communication network. Compared with the traditional satellite terminal that converts to wifi signal, it further realizes the user's voice service needs.
[0072] Figure 3 A schematic diagram of a flow chart of another network switching method provided by an embodiment of the present disclosure.
[0073] like Figure 3 As shown, the network switching method may include the following steps:
[0074] Step 201: In response to not detecting the first communication network, accessing the second communication network.
[0075] Step 202: Obtain a first geographic location of the current location via a satellite link.
[0076] The first geographical location may be the longitude and latitude of the current location of the gateway.
[0077] Step 203: determining a target base station from among the base stations according to the first geographical location and the second geographical location of each base station.
[0078] Specifically, the distance from the gateway to each base station may be determined first according to the following Haversine Haversine formula according to the first geographical location and the second geographical location of each base station.
[0079]
[0080] Where R is the radius of the Earth, λ0 are the longitude and latitude corresponding to the first geographical location, λi are the longitude and latitude corresponding to the second geographical location corresponding to the i-th base station, d i ' is the distance between the i-th base station and the gateway.
[0081] Specifically, after the distances between each base station and the gateway are determined, the base station with the shortest distance to the gateway may be used as the target base station.
[0082] Step 204: Determine whether to switch to the first communication network based on the target distance between the target base station and the current location.
[0083] The target distance may be the distance between the target base station and the current position.
[0084] Optionally, the average coverage distance of the first communication network in the current area may be determined first, and then, if the target distance is less than the average coverage distance, the connection may be switched to the first communication network, otherwise the connection may be maintained to the second communication network.
[0085] Specifically, the target distance may be compared with the average coverage distance d, and when the target distance is smaller than the average coverage distance, the first communication network is switched, otherwise the second communication network is maintained.
[0086] Step 205: In response to detecting the first communication network, obtaining first network parameters of the first communication network and second network parameters of the second communication network, wherein the first network parameters include distance parameters.
[0087] Step 206, determining a distance determination coefficient according to the distance parameter and the first threshold;
[0088] Step 207: Based on the distance judgment coefficient, the first network parameter and the second network parameter, it is judged whether it is necessary to switch the first communication network to the second communication network to obtain a judgment result.
[0089] It should be noted that the specific implementation of steps 205-207 can refer to the above embodiment and will not be described in detail here.
[0090] Step 208: If the result of the judgment is that it is not necessary, then keep accessing the first communication network.
[0091] Step 209: If the result of the determination is that the access is necessary, access to the second communication network.
[0092] After accessing the second communication network, the process may return to executing steps 202-204.
[0093] Figure 4 Another flow chart of a network switching method proposed in an embodiment of the present disclosure, the flow chart embodies the following steps:
[0094] Step 1: After the fusion gateway is started, it identifies the 5G network and the satellite network. When the 5G network can be searched, it connects to the mobile communication 5G network by default. Otherwise, it jumps to step 5 to connect to the satellite network.
[0095] Step 2: The fusion gateway sends packets to detect the delay jitter S, packet loss rate D, and RSRP value of the 5G network and the satellite network. At the same time, the access base station obtains the distance parameter TA by demodulating the PRACH signal preamble.
[0096] Step 3: The fusion gateway calculates the distance judgment coefficient α for the TA value obtained in step 2 through the calculation and storage unit.
[0097] Step 4: The fusion gateway determines whether switching is required through the switching algorithm. If so, the current access network is switched to the satellite link through the switching unit, and step 5 is continued; otherwise, the fusion gateway continues to access the 5G network and returns to step 2 for real-time detection.
[0098] Step 5: The fusion gateway obtains the latitude and longitude of the current location through the satellite link.
[0099] Step 6: By integrating the gateway operation and the base station distribution location database in the storage unit, the distance d' to the nearest base station is calculated.
[0100] Step 7: Compare the distance d' calculated in step 6 with the preset value d. If the conditions are met, return to step 1 to perform real-time detection.
[0101] In the disclosed embodiment, first, in response to the failure to detect the first communication network, the second communication network is accessed, and then the first geographical location of the current location is obtained through a satellite link. Then, based on the first geographical location and the second geographical location of each base station, a target base station is determined from each base station. Then, based on the target distance between the target base station and the current location, it is determined whether to switch to the first communication network. Then, in response to the detection of the first communication network, first network parameters of the first communication network and second network parameters of the second communication network are obtained, the first network parameters including distance parameters. Then, based on the distance parameters and a first threshold, a distance judgment coefficient is determined. Then, based on the distance judgment coefficient, the first network parameters and the second network parameters, it is determined whether it is necessary to switch the first communication network to the second communication network to obtain a judgment result. Then, if the judgment result is not necessary, the first communication network is maintained accessed. Finally, if the judgment result is necessary, the second communication network is accessed. Therefore, the influence of the distance between the user and the base station is taken into account, and the impact of latency on the network is weakened. The overall method is more efficient and applicable. By real-time detection of the delay jitter, packet loss rate, RSRP value, TA value parameters, and location longitude and latitude of the satellite network and the 5G mobile communication network, the switching algorithm is used to determine which network to access, thereby achieving efficient use of the ground mobile communication network, reducing user costs, and further releasing precious bandwidth resources of the satellite.
[0102] In order to implement the above embodiment, the present disclosure also proposes a network switching device.
[0103] Figure 5 A schematic diagram of the structure of a network switching device provided in an embodiment of the present disclosure.
[0104] like Figure 5 As shown, the switching device 500 of the network includes:
[0105] An acquisition module 510 is configured to acquire, in response to detecting a first communication network, a first network parameter of the first communication network and a second network parameter of a second communication network, wherein the first network parameter includes a distance parameter;
[0106] A determination module 520, configured to determine a distance determination coefficient according to the distance parameter and a first threshold;
[0107] A judgment module 530, configured to judge whether it is necessary to switch the first communication network to the second communication network based on the distance judgment coefficient, the first network parameter and the second network parameter, so as to obtain a judgment result;
[0108] The processing module 540 is used to process the first communication network based on the determination result.
[0109] Optionally, the device further includes:
[0110] a network connection module, configured to access the second communication network in response to failure to detect the first communication network;
[0111] A location acquisition module, used to acquire a first geographical location of a current location via a satellite link;
[0112] a base station determination module, configured to determine a target base station from among the base stations according to the first geographical location and the second geographical locations of the base stations;
[0113] A switching module is used to determine whether to switch to the first communication network according to the target distance between the target base station and the current position.
[0114] Optionally, the processing module is specifically used to:
[0115] If the judgment result is that the access is not necessary, then the access to the first communication network is maintained;
[0116] If the judgment result is that it is necessary, accessing the second communication network;
[0117] Obtaining a first geographic location of the current location via a satellite link;
[0118] Determine a target base station from among the base stations according to the first geographical location and the second geographical locations of the base stations;
[0119] Determine whether to switch to the first communication network according to the target distance between the target base station and the current position.
[0120] Optionally, the determining module is specifically used to:
[0121] When the distance parameter is less than or equal to the first threshold, determining the distance determination coefficient to be a first preset value; or,
[0122] When the distance parameter is greater than the first threshold, the distance determination coefficient is determined to be a second preset value.
[0123] Optionally, the judging module 530 is specifically configured to:
[0124] Determine first delay jitter information, first packet loss rate, and first reference signal received power included in the first network parameters, and determine second delay jitter information, second packet loss rate, and second reference signal received power included in the second network parameters;
[0125] Calculating a switching judgment parameter according to the distance judgment coefficient, the first delay jitter information, the first packet loss rate and the first reference signal received power, the second delay jitter information, the second packet loss rate and the second reference signal received power;
[0126] When the switching judgment parameter is less than or equal to a second threshold, determining that the judgment result is that switching to the second communication network is not required;
[0127] When the switching judgment parameter is greater than the second threshold, it is determined that the judgment result is that switching to the second communication network is required.
[0128] Optionally, the processing module is specifically used to:
[0129] Determine an average coverage distance of the first communication network in the current area;
[0130] When the target distance is smaller than the average coverage distance, the network is switched to the first communication network; otherwise, the network remains connected to the second communication network.
[0131] Optionally, the first communication network is a 5G network, and the second communication network is a satellite network.
[0132] In the disclosed embodiment, first, in response to detecting a first communication network, a first network parameter of the first communication network and a second network parameter of the second communication network are obtained, wherein the first network parameter includes a distance parameter, and then a distance judgment coefficient is determined according to the distance parameter and a first threshold value, and then based on the distance judgment coefficient, the first network parameter and the second network parameter, it is determined whether the first communication network needs to be switched to the second communication network to obtain a judgment result, and finally, based on the judgment result, the first communication network is processed. In this way, the status of the 5G and satellite networks can be judged more accurately, so that the fusion gateway can perform network switching in time to ensure the real-time performance of data transmission.
[0133] In order to implement the above embodiments, the present application also proposes an electronic device, such as Figure 6 As shown, Figure 6 It is a block diagram of an electronic device for network switching according to an exemplary embodiment.
[0134] like Figure 6 As shown, the electronic device 800 includes:
[0135] The memory 810 and the processor 820, a bus 830 connecting different components (including the memory 810 and the processor 820), the memory 810 stores a computer program, and when the processor 820 executes the program, the network switching method described in the embodiment of the present disclosure is implemented.
[0136] Bus 830 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0137] The electronic device 800 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 800, including volatile and non-volatile media, removable and non-removable media.
[0138] The memory 810 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 840 and / or cache memory 850. The electronic device 800 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 860 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 830 via one or more data medium interfaces. The memory 810 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0139] A program / utility 880 having a set (at least one) of program modules 870 may be stored, for example, in the memory 810, such program modules 870 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 870 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0140] The electronic device 800 may also communicate with one or more external devices 890 (e.g., keyboards, pointing devices, displays, etc.), one or more devices that enable a user to interact with the electronic device 800, and / or any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 892. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 893. Figure 6 As shown, the network adapter 893 communicates with other modules of the electronic device 800 via the bus 830. It should be understood that although Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0141] The processor 820 executes various functional applications and data processing by running the programs stored in the memory 810 .
[0142] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the network switching method of the embodiment of the present disclosure, and will not be repeated here.
[0143] In order to implement the above embodiments, the present application further proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the network switching method described in the above embodiments is implemented.
[0144] In order to implement the above embodiments, the present disclosure further provides a computer program product. When an instruction processor in the computer program product is executed, the network switching method described in the above embodiments is executed.
[0145] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0146] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0147] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A network switching method, characterized in that: include: In response to detecting the first communication network, acquiring first network parameters of the first communication network and second network parameters of the second communication network, wherein the first network parameters include distance parameters; Determining a distance determination coefficient according to the distance parameter and a first threshold; Based on the distance judgment coefficient, the first network parameter and the second network parameter, judging whether it is necessary to switch the first communication network to the second communication network to obtain a judgment result; Based on the determination result, the first communication network is processed.
2. The method according to claim 1, characterized in that Also includes: In response to not detecting the first communication network, accessing the second communication network; Obtaining a first geographic location of the current location via a satellite link; Determine a target base station from among the base stations according to the first geographical location and the second geographical locations of the base stations; Determine whether to switch to the first communication network according to the target distance between the target base station and the current position.
3. The method according to claim 1, characterized in that The processing of the first communication network based on the determination result includes: If the judgment result is that the access is not necessary, then the access to the first communication network is maintained; If the judgment result is that it is necessary, accessing the second communication network; Obtaining a first geographic location of the current location via a satellite link; Determine a target base station from among the base stations according to the first geographical location and the second geographical locations of the base stations; Determine whether to switch to the first communication network according to the target distance between the target base station and the current position.
4. The method according to claim 1, characterized in that: Determining the distance judgment coefficient according to the distance parameter and the first threshold value includes: When the distance parameter is less than or equal to the first threshold, determining the distance determination coefficient to be a first preset value; or, When the distance parameter is greater than the first threshold, the distance determination coefficient is determined to be a second preset value.
5. The method according to claim 1, characterized in that: The determining whether it is necessary to switch the first communication network to the second communication network based on the distance determination coefficient, the first network parameter, and the second network parameter to obtain a determination result includes: Determine first delay jitter information, first packet loss rate, and first reference signal received power included in the first network parameters, and determine second delay jitter information, second packet loss rate, and second reference signal received power included in the second network parameters; Calculating a switching judgment parameter according to the distance judgment coefficient, the first delay jitter information, the first packet loss rate and the first reference signal received power, the second delay jitter information, the second packet loss rate and the second reference signal received power; When the switching judgment parameter is less than or equal to a second threshold, determining that the judgment result is that switching to the second communication network is not required; When the switching judgment parameter is greater than the second threshold, it is determined that the judgment result is that switching to the second communication network is required.
6. The method according to claim 3, characterized in that The determining whether to switch to the first communication network according to the target distance between the target base station and the current position includes: Determine an average coverage distance of the first communication network in the current area; When the target distance is smaller than the average coverage distance, the network is switched to the first communication network; otherwise, the network remains connected to the second communication network.
7. The method according to any one of claims 1 to 6, characterized in that: in, The first communication network is a 5G network, and the second communication network is a satellite network.
8. A network switching device, characterized in that: include: An acquisition module, configured to acquire, in response to detecting a first communication network, a first network parameter of the first communication network and a second network parameter of a second communication network, wherein the first network parameter includes a distance parameter; A determination module, used to determine a distance determination coefficient according to the distance parameter and a first threshold; A judgment module, configured to judge whether it is necessary to switch the first communication network to the second communication network based on the distance judgment coefficient, the first network parameter and the second network parameter, so as to obtain a judgment result; A processing module is used to process the first communication network based on the judgment result.
9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the network switching method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the network switching method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Communication network switching method and device and computer readable storage medium
CN110312290A
Unmanned aerial vehicle communication method, device and equipment and readable storage medium
CN117098196A
Apartment house information communicated network control system with AI
KR102517657B1
Method and apparatus for accessing cell, communication device, and storage medium
WO2022077282A1
