Network switching method and device, computer equipment, readable storage medium and program product
By calculating and comparing the signal strength vector mode values of the first and second networks, the target network is determined to achieve stable switching of the terminal, and the call quality problems caused by poor network signal coverage are solved, and the stability and resource utilization of voice calls are improved. Rate.
Patent Information
- Application Number
- CN202411137756.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-24
AI Technical Summary
During voice calls, poor network signal coverage leads to network handover failure or delay, reducing the user's call quality.
By calculating the signal strength vector modulus values of the first and second networks, comparing the results with the preset network allocation strategy, the target network is determined to achieve stable switching of the terminal, and improving the timeliness and reliability of the switching.
It improves the quality of users' calls during voice calls, improves network stability and resource utilization, and saves wireless network resources and operating costs.
Smart Images

Figure CN119183170A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a network switching method, device, computer equipment, readable storage medium and program product. Background Art
[0002] With the development of mobile communication technology, users can make voice calls (Voice over Wi-Fi, VOWIFI) through Wireless Fidelity (WIFI) network, or make voice calls (Voice over LTE, VOLTE) through Long Term Evolution (LTE), or make voice calls through the target voice solution (Voice over New Radio, VONR) of the fifth generation mobile communication technology (5G).
[0003] In actual application, there may be areas with poor network signal coverage, which will affect the quality of voice calls. In related technologies, when switching between VOWIFI and VOLTE (or VONR) is achieved through terminals, there may be switching failures or switching delays caused by unstable network during the switching process, which will reduce the quality of voice calls for users. Summary of the invention
[0004] Based on this, it is necessary to provide a network switching method, device, computer equipment, readable storage medium and program product that can improve the call quality of users during voice calls in response to the above technical problems.
[0005] In a first aspect, the present application provides a network switching method, comprising:
[0006] Determining a first vector modulus value of the first network based on signal strength data of the first network, and determining a second vector modulus value of the second network based on signal strength data of the second network;
[0007] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0008] In one embodiment, determining the target network based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy includes:
[0009] If the first vector modulus value is greater than or equal to the second vector modulus value, determining a first comparison result;
[0010] Based on the first comparison result and a preset network allocation strategy, the network allocation value of the first network is determined to be a preset allocation value, and the first network is determined as a target network.
[0011] In one embodiment, the method further comprises:
[0012] If the first vector magnitude is less than the second vector magnitude, determining a second comparison result;
[0013] Based on the second comparison result and the preset network allocation strategy, the network allocation value of the second network is determined to be the preset allocation value, and the second network is determined to be the target network.
[0014] In one of the embodiments, the signal strength data of the first network includes at least one or more of a reference signal received power, a first signal-to-noise ratio, and an occupancy rate of a physical resource block of the first network, and determining the first vector modulus value of the first network based on the signal strength data of the first network includes:
[0015] Calculating a power difference between the reference signal received power and a reference signal received power threshold;
[0016] Calculating a first signal-to-noise ratio difference between the first signal-to-noise ratio and a first signal-to-noise ratio threshold;
[0017] Calculate a first sum of the square value of the power difference and the square value of the first signal-to-noise ratio difference, calculate a first difference between the first sum and the square value of the occupancy rate, and determine the square root value of the first difference as a first vector modulus value of the first network.
[0018] In one embodiment, the signal strength data of the second network includes at least one or more of a received signal strength indication, a second signal-to-noise ratio, and a data transmission rate of the second network, and determining the second vector modulus value of the second network based on the signal strength data of the second network includes:
[0019] Calculating a signal strength difference between the received signal strength indication and a received signal strength indication threshold;
[0020] Calculating a second signal-to-noise ratio difference between the second signal-to-noise ratio and a second signal-to-noise ratio threshold;
[0021] Calculate a second sum of the square value of the signal strength difference and the square value of the second signal-to-noise ratio difference, calculate a second difference between the second sum and the square value of the data transmission rate, and determine the square root value of the second difference as a second vector modulus value of the second network.
[0022] In one embodiment, the method further comprises:
[0023] When a preset receiving condition is met or a preset time interval is reached, the signal strength data of the first network and / or the signal strength data of the second network are received.
[0024] In a second aspect, the present application further provides a network switching device, including:
[0025] A first determining module, configured to determine a first vector modulus value of the first network based on signal strength data of the first network, and to determine a second vector modulus value of the second network based on signal strength data of the second network;
[0026] The second determining module is used to determine a target network based on a comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, so that the terminal switches to the target network.
[0027] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0028] Determining a first vector modulus value of the first network based on signal strength data of the first network, and determining a second vector modulus value of the second network based on signal strength data of the second network;
[0029] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0030] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0031] Determining a first vector modulus value of the first network based on signal strength data of the first network, and determining a second vector modulus value of the second network based on signal strength data of the second network;
[0032] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0033] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0034] Determining a first vector modulus value of the first network based on signal strength data of the first network, and determining a second vector modulus value of the second network based on signal strength data of the second network;
[0035] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0036] The above-mentioned network switching method, device, computer equipment, readable storage medium and program product determine the first vector modulus value through the signal strength data of the first network, determine the first vector modulus value based on the signal strength data of the second network, and determine the target network according to the comparison result of the first vector modulus value and the second vector modulus value and the preset network allocation strategy, thereby realizing the switching between the first network and the second network, improving the timeliness, reliability and flexibility of the switching, and at the same time improving the stability of the network when the user uses the terminal to make a voice call, improving the call quality of the user during the voice call, improving the network performance and resource utilization, and saving wireless network resources and operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] FIG1 is an application environment diagram of a network switching method in one embodiment;
[0039] FIG2 is a schematic diagram of the structure of a network switching controller in one embodiment;
[0040] FIG3 is a schematic diagram of a flow chart of a network switching method in one embodiment;
[0041] FIG4 is a structural block diagram of a network switching device in one embodiment;
[0042] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The network switching method provided in the embodiment of the present application can be applied to the application environment as shown in Figure 1. Among them, the user can implement VOWIFI, VOLTE or VONR through the terminal. The terminal can be a user equipment (User Equipment, UE). Among them, VOWIFI uses the Internet Protocol (IP) transmission capability of the WIFI network to implement voice calls on the WIFI network, convert the voice signal into an IP data packet, transmit it through the WIFI network, and then decode and play it on the terminal to implement voice calls through the WIFI network. VOLTE uses an IP-based multimedia subsystem (IPMultimedia Subsystem, IMS) to convert the voice signal into an IP data packet, transmit it through the LTE network, and then decode and play it on the terminal to achieve high-quality voice calls. VONR uses the IP transmission capability of the 5G NR network to transmit voice data on the 5G network and provide high-quality voice calls.
[0045] The terminal performs VOLTE or VONR, and the terminal can access the cellular base station wirelessly. The cellular base station can connect to the core network element, the core network element connects to the forwarding network element, and the forwarding network element connects to the IMS. The core network element is responsible for the wireless access of the 4th generation mobile communication technology (4G) and 5G terminals from 4G and 5G cellular base stations. The forwarding network element is responsible for realizing the core functions of user data transmission, call control, mobility management, security management, etc. of 4G and 5G terminals, and provides services such as user access and authentication, user data processing, mobility management, and connection management.
[0046] Among them, the cellular base station can be LTE / NR, the core network element can be EPC / 5GC, including Evolved Packet Core (EPC) and 5G Core (5GC); the forwarding network element can be PGW / SMF+UPF, including Packet Data Network Gateway (PGW), Session Management Function (SMF), User Plane Function (UPF). MME is used for user authentication, location management, and security control; AMF is used to manage access control and mobility management; PGW is used to connect the LTE core network and the external IP network; SMF is responsible for establishing, maintaining, and releasing user sessions; UPF is used to implement data packet forwarding and routing. The IMS system supports the IP multimedia service architecture and provides a wealth of multimedia communication services, such as voice calls, video calls, real-time messaging, etc. In addition, the 4G core network in the core network elements also includes a serving gateway (SGW) and a policy and charging rules function (PCRF). SGW is responsible for forwarding and distributing user data, and PCRF is responsible for policy control and billing. The 5G core network includes unified data management (UDM), network repository function (NRF), and authentication server function (AUSF). UDM contains authentication data and user configuration information, NRF is used to discover and select network functions, and AUSF is responsible for user authentication and authorization.
[0047] Terminals can also access the network from wireless access points (APs). Wireless access point controllers (ACs) can manage and control the behavior of multiple APs (AP1, AP2, AP3, ..., APn); ACs can connect to evolved packet data gateways (ePDGs), which are connected to forwarding network elements. Voice call control and routing are achieved through IMS.
[0048] The core network element, forwarding network and ePDG are connected to the AAA / HSS / HLR server respectively. The AAA / HSS / HLR server can obtain user information in the core network element, forwarding network and ePDG, verify and store the user information. Among them, AAA is the authentication, authorization and accounting server (Authentication Authorization Accounting, AAA), HSS is the home subscription server (Home Subscriber Server, HSS), and HLR is the home location register (Home Location Register, HLR). The AAA server records the user's network usage, including call duration, traffic consumption, etc., for subsequent billing and settlement. HSS is used to save user information and authentication data; HLR is used to store, manage, authenticate user data and record the user's location in the network.
[0049] Among them, AC is used to manage and control the behavior of multiple APs, coordinate the communication between APs, and ensure stable and efficient network operation. Provide centralized management, configuration and monitoring functions for access points. Implement user authentication, access control and security policy execution. Responsible for processing business intelligence, load balancing and traffic control. Support roaming, quality assurance and service quality adjustment of wireless networks. AC sends signal strength data of terminals under WIFI AP coverage to CWSWC. AC can sort the information of multiple APs first, take the maximum signal strength data among multiple APs, and send it to CWSWC. AC can receive network switching control information from CWSWC to ensure switching between WIFI AP and cellular network. AP is used to provide wireless network coverage, allowing user devices to access the network through WIFI. Process communication between terminals and wireless networks, including data transmission, signal reception and transmission. Support wireless network security mechanisms such as encryption and identity authentication. Implement roaming function in wireless network to ensure seamless switching between users and intelligent switching between WIFI AP and cellular.
[0050] The cellular base station is connected to the network switching controller, and the AC is connected to the network switching controller. The network switching controller can be a cellular Wi-Fi switching controller (CWSWC), which can manage the switching between cellular networks (such as 4G, 5G base stations) and Wi-Fi networks. As shown in Figure 2, Figure 2 is a structural schematic diagram of a network switching controller in an embodiment, including a switching decision maker based on a vector modulus value, a cellular network input interface, a Wi-Fi network input interface, a cellular network output interface, and a Wi-Fi network output interface, wherein the cellular network input interface is used to receive the signal strength data of the first network; the Wi-Fi network input interface is used to receive the signal strength data of the second network; the cellular network output interface is used to send the network allocation value of the first network to the cellular base station; and the Wi-Fi network output interface is used to send the network allocation value of the second network to the AC. CWSWC bridges the cellular network and the Wi-Fi network to realize the intelligent switching of user equipment between different networks to provide better user experience and network resource utilization efficiency.
[0051] In this embodiment, by adding a bridge network element CWSWC between VOWIFI and VONR (or VOLTE), CWSWC collects user and system information from VOWIFI and VONR (or VOLTE) coverage, and realizes intelligent switching between cellular network and WIFI network through the switching decision maker based on vector modulus contained in CWSWC, thereby improving the timeliness, reliability and flexibility of switching between VOLTE (or VOLTE) and VOWIFI. Compared with the terminal-led switching between VOWIFI and VONR (or VOLTE), the network side leads the switching, providing a more stable, reliable and autonomous switching experience. The use of CWSWC to implement network switching has low complexity, is easy to implement the system and promote the solution, and has a wide range of practical application prospects; the application scenarios of the network switching method provided in this embodiment can be places with dense traffic or houses, such as indoor places of residents, medium and small office buildings and shopping malls, etc., to ensure the user's voice experience, maximize the wireless network spectrum efficiency, and improve resource utilization.
[0052] In an exemplary embodiment, as shown in FIG3 , a network switching method is provided, which is described by taking the method applied to the network switching controller in FIG1 as an example, and specifically includes the following steps. Among them:
[0053] Step 301: Determine a first vector modulus value of the first network based on signal strength data of the first network, and determine a second vector modulus value of the second network based on signal strength data of the second network.
[0054] The first network may be a cellular network, and the second network may be a WIFI network. The signal strength data of the first network is used to reflect the signal quality of the terminal covered by the first network and the occupancy rate of the resources of the first network. The signal strength signal of the second network is used to reflect the signal quality of the terminal covered by the second network and the data transmission capacity of the second network. The first vector modulus is used to reflect the signal quality of the first network. The second vector modulus is used to reflect the signal quality of the second network.
[0055] Specifically, the network switching controller can receive the signal strength data of the first network sent by the cellular base station through the cellular network input interface, and can receive the signal strength signal data of the second network sent by the AC through the WIFI network input interface. The network switching controller can calculate the first vector modulus value of the first network based on the signal strength data of the first network. The network switching controller can calculate the second vector modulus value of the second network based on the signal strength data of the second network.
[0056] Step 302: Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, determine a target network so that the terminal switches to the target network.
[0057] The target network may be the first network or the second network.
[0058] Specifically, the network switching controller may compare the magnitude of the first vector modulus and the second vector modulus to obtain a comparison result of the first vector modulus and the second vector modulus. The network switching controller may determine the target network corresponding to the comparison result from the preset network allocation strategy according to the comparison result. Exemplarily, the network switching controller may store the correspondence between the comparison result and the target network, and determine the correspondence between the comparison result and the target network as the preset network allocation strategy. If the target network is the first network, the network switching controller may send a signal for determining the target network to a cellular base station through a cellular network output interface, and the cellular base station may send a switching message to the terminal through the cellular network. If the terminal is currently in the second network, it may switch from the second network to the first network according to the switching signal, and the terminal may make a voice call in the first network; if the terminal is currently in the first network, it may continue to maintain the first network for voice calls based on the switching signal. If the target network is the second network, the network switching controller may send a signal for determining the target network to one of the multiple APs under AC control through a WIFI network output interface, and the AP may send a switching message to the terminal through the network. If the terminal is currently in the first network, it switches from the first network to the second network according to the switching message, and the terminal can make a voice call in the second network; if the terminal is currently in the second network, it continues to make a call in the second network based on the switching signal.
[0059] The above network switching method determines the first vector modulus value through the signal strength data of the first network, determines the first vector modulus value based on the signal strength data of the second network, and determines the target network according to the comparison result of the first vector modulus value and the second vector modulus value and the preset network allocation strategy, thereby realizing the switching between the first network and the second network, thereby realizing the switching of the terminal between VOWIFI and VOLTE (or VONR), without the terminal being too involved in the judgment and decision of the switching, improving the wireless network performance and voice quality, improving the voice coverage, saving wireless network resources, operating costs and optimizing costs. At the same time, it improves the stability of the network when the user uses the terminal for voice calls, and improves the call quality of the user during voice calls.
[0060] In an exemplary embodiment, determining a target network based on a comparison result of a first vector modulus value and a second vector modulus value and a preset network allocation strategy includes:
[0061] If the first vector modulus is greater than or equal to the second vector modulus, a first comparison result is determined; based on the first comparison result and a preset network allocation strategy, a network allocation value of the first network is determined to be a preset allocation value, and the first network is determined as a target network.
[0062] Among them, the preset allocation value can be set to 1.
[0063] Specifically, the network switching controller compares the magnitude of the first vector modulus value and the second vector modulus value. If the first vector modulus value is greater than or equal to the second vector modulus value, the network switching controller determines a first comparison result. The network switching controller can determine the network allocation values of the first network and the second network corresponding to the first comparison result according to a preset network allocation strategy, and the network allocation value of the first network (SWTO C ) is set to 1, the network allocation value of the second network (SWTO W ) is 0. The network switching controller determines that the first network with a network allocation value of 1 is the target network. The network switching controller can output the network allocation value of the first network to the cellular base station through the cellular network output interface, and send the network allocation value of the second network to the AC through the WIFI network output interface. The cellular base station receives the received network allocation value (SWTO C =1) determining a switching signal and sending the switching signal to the terminal, and the terminal can switch the network currently covered by the terminal to the first network according to the received switching signal. The terminal can make a voice call through the first network.
[0064] In this embodiment, the target network is determined by the first comparison result and the preset network allocation strategy, so that the network of the terminal is switched to the target network, thereby improving the timeliness, reliability and flexibility of switching between networks.
[0065] In an exemplary embodiment, the network switching method further includes:
[0066] If the first vector modulus is smaller than the second vector modulus, a second comparison result is determined; based on the second comparison result and a preset network allocation strategy, a network allocation value of the second network is determined to be a preset allocation value, and the second network is determined as a target network.
[0067] Specifically, the network switching controller compares the magnitude of the first vector modulus value and the second vector modulus value. If the first vector modulus value is smaller than the second vector modulus value, the network switching controller determines a second comparison result. The network switching controller can determine the network allocation values of the first network and the second network corresponding to the second comparison result according to a preset network allocation strategy, and the network allocation value of the first network (SWTO C ) is set to 0, the network allocation value of the second network (SWTO W ) is 1. The network switching controller determines that the second network with a network allocation value of 1 is the target network. The network switching controller can output the network allocation value of the first network to the cellular base station through the cellular network output interface, and send the network allocation value of the second network to the AC through the WIFI network output interface. The AC receives the network allocation value (SWTO) based on the received network allocation value. W =1) Determine the switching signal and assign the switching signal to one of the multiple APs in the AC, and the AP sends the switching signal to the terminal. If the terminal is in the first network, the first network covered by the terminal can be switched to the second network according to the received switching signal. The terminal can make a voice call through the second network; if the terminal is in the second network, it can continue to make a voice call in the second network according to the switching signal.
[0068] In this embodiment, the target network is determined by the second comparison result and the preset network allocation strategy, so that the network of the terminal is switched to the target network, the timeliness, reliability and flexibility of switching between networks are improved, and the network performance is optimized.
[0069] In an exemplary embodiment, determining a first vector modulus value of the first network based on signal strength data of the first network includes:
[0070] Calculate the power difference between the reference signal received power and the reference signal received power threshold; calculate the first signal-to-noise ratio difference between the first signal-to-noise ratio and the first signal-to-noise ratio threshold; calculate the first sum of the square value of the power difference and the square value of the first signal-to-noise ratio difference, calculate the first difference between the first sum and the square value of the occupancy rate, and determine the square root value of the first difference as the first vector modulus value of the first network.
[0071] The signal strength data of the first network includes but is not limited to: a reference signal receiving power (RSRP), a first signal to interference plus noise ratio (SINR), and an occupancy rate of a physical resource block (PRB) of the first network. C One or more of the following. Occupancy rate of the physical resource block of the first network UTIL C It is the ratio between the current average PRB occupancy of the cellular base station and the total number of PRBs of the cellular base station, expressed as a percentage, ranging from 0 to 1, generally such as 40%, 40%, 60%, etc. The larger the value, the more unfavorable it is for network entry.
[0072] Specifically, the network switching controller can pre-calculate the reference signal receiving power threshold according to multiple dimensions such as network coverage requirements, terminal performance, and cellular base station load conditions. The network switching controller can set the first signal-to-noise ratio threshold according to specific application requirements. The network switching controller can calculate the power difference between the reference signal receiving power and the reference signal receiving power threshold, calculate the first signal-to-noise ratio difference between the first signal-to-noise ratio and the first signal-to-noise ratio threshold, calculate the first sum of the square value of the power difference and the square value of the first signal-to-noise ratio difference, calculate the first difference between the first sum and the square value of the occupancy rate, and determine the square root of the first difference as the first vector modulus value of the first network. Exemplarily, the specific calculation formula for the first vector modulus value of the first network can be:
[0073]
[0074] Among them, VMV C is the first vector modulus; RSRP C is the reference signal received power of the first network; RSRP C_THR is the reference signal receiving power threshold; SINR C is the first signal-to-noise ratio of the first network; SINR C_THR is the first signal-to-noise ratio threshold; UTIL C is the occupancy rate of the physical resource block of the first network; C1, C2 and C3 are coefficients, which can be adjusted according to the specific situation of the cellular network. Generally, C1=C2=C3=1.
[0075] In this embodiment, the first vector modulus value of the first network is obtained by calculating the signal strength data of the first network, and the signal quality of the first network is evaluated from multiple dimensions, which provides a basis for subsequent network switching.
[0076] In an exemplary embodiment, determining a second vector modulus value of the second network based on signal strength data of the second network includes:
[0077] Calculate the signal strength difference between the received signal strength indication and the received signal strength indication threshold; calculate the second signal-to-noise ratio difference between the second signal-to-noise ratio and the second signal-to-noise ratio threshold; calculate the second sum of the square value of the signal strength difference and the square value of the second signal-to-noise ratio difference, calculate the second difference between the second sum and the square value of the data transmission rate, and determine the square root value of the second difference as the second vector modulus value of the second network.
[0078] The signal strength data of the second network includes but is not limited to: one or more of: received signal strength indication (RSSI), a second signal-to-noise ratio, and a data transmission rate of the second network. The data transmission rate of the second network may be an AP throughput rate, and the AP throughput rate may be a ratio between the average data rate currently achieved by the WIFI AP and its theoretical maximum rate, expressed as a percentage, ranging from 0 to 1, generally such as 30%, 50%, 70%, etc. The larger the value, the more unfavorable it is for cutting in.
[0079] Specifically, the network switching controller can calculate the signal strength difference between the received signal strength indication and the received signal strength indication threshold; calculate the second signal-to-noise ratio difference between the second signal-to-noise ratio and the second signal-to-noise ratio threshold; calculate the second sum of the square value of the signal strength difference and the square value of the second signal-to-noise ratio difference, calculate the second difference between the second sum and the square value of the data transmission rate, and determine the square root value of the second difference as the second vector modulus value of the second network. Exemplarily, the specific calculation formula of the second vector modulus value of the second network can be:
[0080]
[0081] Among them, VMV W is the second vector modulus; RSSI W RSSI is the received signal strength indicator of the second network; W_THR SINR is the received signal strength indicator threshold; W is the second signal-to-noise ratio of the second network; SINR W_THR is the second signal-to-noise ratio threshold; THPT W is the data transmission rate of the second network; W1, W2, W3 are coefficients, which can be adjusted according to the specific situation of WIFI. Generally, W1=W2=W3=1.
[0082] In this embodiment, the second vector modulus of the second network is obtained by calculating the signal strength data of the second network, and the signal quality of the second network is evaluated from multiple dimensions, providing a basis for subsequent network switching.
[0083] In an exemplary embodiment, the network switching method further includes:
[0084] When a preset receiving condition is met or a preset time interval is reached, the signal strength data of the first network and / or the signal strength data of the second network are received.
[0085] The preset receiving condition may be receiving a signal generated by a change in the location of the terminal; and the preset time interval may be a preset periodic time for receiving signal strength data.
[0086] Specifically, the network switching controller may receive the signal strength data of the first network, or receive the signal strength data of the second network, or receive the signal strength data of the first network and the signal strength data of the second network when it detects that the time since the last signal strength data was received reaches a preset time interval. The network switching controller may also receive the signal strength data of the first network, or receive the signal strength data of the second network, or receive the signal strength data of the first network and the signal strength data of the second network when the location of the terminal changes.
[0087] In this embodiment, by periodically or under preset receiving conditions receiving the signal strength data of the first network and / or the signal strength data of the second network, the signal quality of the first network and the second network where the terminal is located can be detected under the conditions met, and the network can be switched in time.
[0088] In an exemplary embodiment, the network switching method specifically includes the following steps:
[0089] The terminal under the cellular network coverage reports RSRP to the cellular network based on a periodic or conditional event C 、SINR C ; The cellular base station reports the RSRP reported by the terminal C 、SINR C and cellular base station PRB occupancy UTIL C Input into CWSWC through the cellular network input interface.
[0090] Under the control of WIFI AC, a terminal under the coverage of a WIFI AP reports RSSI to the WIFI AP based on a period or conditional event. W 、SINR W ; The WIFI base station reports the RSSI reported by the terminal W 、SINR WAnd WIFI AP throughput THPT W Input into CWSWC through the WIFI network input interface.
[0091] CWSWC based on RSRP C 、SINR C and UTIL C Calculate the first vector modulus VMV of the first network C ; CWSWC based on RSSI W 、SINR W and THPT W Calculate the second vector modulus VMV of the second network W ; CWSWC vs VMV C and VMV_W size, if VMV C ≥VMV W , then output SWTO C =1, SWTO W =0, that is, the target network is a cellular network; if VMV C <VMV W , then output SWTO C =0,SWTO W =1, that is, the target network is a WIFI network. CWSWC outputs SWTO through the cellular network output interface C Output to the cellular base station, and transmit SWTO through the WIFI network output interface W Output to an AP under WIFI AC control.
[0092] When SWTO C =1, SWTO W =0, an AP under the control of WIFI AC notifies the terminal of the switching information, which can be switching from WIFI network to cellular network or maintaining cellular network, and the terminal completes the switching from WIFI to cellular. C =0,SWTO W =1, the cellular base station notifies the terminal of the switching information, which can be switching from cellular to WIFI or maintaining the WIFI network, and the terminal completes the network switching. Repeat the above steps to perform intelligent switching between WIFI and cellular.
[0093] In this embodiment, through intelligent switching between WIFI and cellular, the network controls the switching process between VOWIFI and VOLTE (or VONR), improves the dominance and autonomy of the wireless network over the switching between VOWIFI and VOLTE (or VONR), and provides more flexible network selection to meet the communication needs in different scenarios. Methods and processes.
[0094] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0095] Based on the same inventive concept, the embodiment of the present application also provides a network switching device for implementing the network switching method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the switching device for one or more networks provided below can refer to the limitations of the network switching method above, and will not be repeated here.
[0096] In an exemplary embodiment, as shown in FIG. 4 , a structural block diagram of a network switching device is provided. The network switching device 40 includes: a first determination module 41 and a second determination module 42, wherein:
[0097] A first determination module 41, configured to determine a first vector modulus value of the first network based on the signal strength data of the first network, and to determine a second vector modulus value of the second network based on the signal strength data of the second network;
[0098] The second determining module 42 is configured to determine a target network based on a comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, so that the terminal switches to the target network.
[0099] In one embodiment, the second determination module 42 is configured to determine a first comparison result if the first vector modulus value is greater than or equal to the second vector modulus value;
[0100] Based on the first comparison result and the preset network allocation strategy, the network allocation value of the first network is determined to be the preset allocation value, and the first network is determined as the target network.
[0101] In one embodiment, the second determination module 42 is further configured to determine a second comparison result if the first vector modulus value is less than the second vector modulus value;
[0102] Based on the second comparison result and the preset network allocation strategy, the network allocation value of the second network is determined to be the preset allocation value, and the second network is determined as the target network.
[0103] In one of the embodiments, the first determination module 41 is configured to calculate a power difference between a reference signal received power and a reference signal received power threshold;
[0104] Calculating a first signal-to-noise ratio difference between the first signal-to-noise ratio and a first signal-to-noise ratio threshold;
[0105] A first sum of the square value of the power difference and the square value of the first signal-to-noise ratio difference is calculated, a first difference between the first sum and the square value of the occupancy rate is calculated, and a square root value of the first difference is determined as a first vector modulus value of the first network.
[0106] In one embodiment, the first determination module 41 is used to calculate the signal strength difference between the received signal strength indication and the received signal strength indication threshold;
[0107] Calculating a second signal-to-noise ratio difference between the second signal-to-noise ratio and a second signal-to-noise ratio threshold;
[0108] Calculate a second sum of the square value of the signal strength difference and the square value of the second signal-to-noise ratio difference, calculate a second difference between the second sum and the square value of the data transmission rate, and determine the square root of the second difference as a second vector modulus value of the second network.
[0109] In one embodiment, the first determining module 41 is further configured to receive the signal strength data of the first network and / or the signal strength data of the second network when a preset receiving condition is met or a preset time interval is reached.
[0110] Each module in the switching device of the above network can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0111] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store a preset network allocation strategy. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a network switching method is implemented.
[0112] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0113] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0114] Determining a first vector modulus value of the first network based on the signal strength data of the first network, and determining a second vector modulus value of the second network based on the signal strength data of the second network;
[0115] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0116] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0117] Determining a first vector modulus value of the first network based on the signal strength data of the first network, and determining a second vector modulus value of the second network based on the signal strength data of the second network;
[0118] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0119] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0120] Determining a first vector modulus value of the first network based on the signal strength data of the first network, and determining a second vector modulus value of the second network based on the signal strength data of the second network;
[0121] Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
[0122] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A network switching method, characterized in that: The method comprises: Determining a first vector modulus value of the first network based on signal strength data of the first network, and determining a second vector modulus value of the second network based on signal strength data of the second network; Based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, a target network is determined so that the terminal switches to the target network.
2. The method according to claim 1, characterized in that The determining the target network based on the comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy includes: If the first vector modulus value is greater than or equal to the second vector modulus value, determining a first comparison result; Based on the first comparison result and a preset network allocation strategy, the network allocation value of the first network is determined to be a preset allocation value, and the first network is determined as a target network.
3. The method according to claim 2, characterized in that The method further comprises: If the first vector magnitude is less than the second vector magnitude, determining a second comparison result; Based on the second comparison result and the preset network allocation strategy, the network allocation value of the second network is determined to be the preset allocation value, and the second network is determined to be the target network.
4. The method according to claim 1, characterized in that The signal strength data of the first network includes at least one or more of a reference signal received power, a first signal-to-noise ratio, and an occupancy rate of a physical resource block of the first network. The determining, based on the signal strength data of the first network, a first vector modulus value of the first network includes: Calculating a power difference between the reference signal received power and a reference signal received power threshold; Calculating a first signal-to-noise ratio difference between the first signal-to-noise ratio and a first signal-to-noise ratio threshold; Calculate a first sum of the square value of the power difference and the square value of the first signal-to-noise ratio difference, calculate a first difference between the first sum and the square value of the occupancy rate, and determine the square root value of the first difference as a first vector modulus value of the first network.
5. The method according to claim 1, characterized in that The signal strength data of the second network includes at least one or more of a received signal strength indication, a second signal-to-noise ratio, and a data transmission rate of the second network. The determining the second vector modulus value of the second network based on the signal strength data of the second network includes: Calculating a signal strength difference between the received signal strength indication and a received signal strength indication threshold; Calculating a second signal-to-noise ratio difference between the second signal-to-noise ratio and a second signal-to-noise ratio threshold; Calculate a second sum of the square value of the signal strength difference and the square value of the second signal-to-noise ratio difference, calculate a second difference between the second sum and the square value of the data transmission rate, and determine the square root value of the second difference as a second vector modulus value of the second network.
6. The method according to claim 1, characterized in that The method further comprises: When a preset receiving condition is met or a preset time interval is reached, the signal strength data of the first network and / or the signal strength data of the second network are received.
7. A network switching device, characterized in that: The device comprises: A first determining module, configured to determine a first vector modulus value of the first network based on signal strength data of the first network, and to determine a second vector modulus value of the second network based on signal strength data of the second network; The second determining module is used to determine a target network based on a comparison result of the first vector modulus value and the second vector modulus value and a preset network allocation strategy, so that the terminal switches to the target network.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
