Communication network switching method and device, computer equipment and storage medium
By obtaining the terminal's WiFi and LTE signal strength and predicting the NR signal strength, the problem of frequent VONR switching and VOLTE switching is solved, stable communication network switching is achieved, and call quality and user experience are improved.
Patent Information
- Application Number
- CN202411665918.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-14
AI Technical Summary
In the boundary area of VOWIFI and VOLTE\VONR switching, the terminal receives a mixed signal, causing the VONR switching process and the VOLTE switching process to occur frequently, affecting the call quality and user experience.
By obtaining the WiFi and LTE signal strength of the target terminal, predicting the NR signal strength based on the signal strength prediction model, and switching the communication network according to the LTE and NR signal strength to prevent frequent switching.
The stable communication network switching between VOWIFI and VOLTE\VONR switching boundary area is realized, improving the call quality and user experience of the terminal.
Smart Images

Figure CN119629691A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a communication network switching method, device, computer equipment and storage medium. Background Art
[0002] The wireless communication network service allows users to make voice and video calls through traditional dial-up methods in a VOWi-Fi (Voice over Wi-Fi, wireless communication network) environment. When the terminal is communicating through the Wi-Fi wireless communication network, it can switch to the VONR (Voice over New Radio, new radio technology) communication network or VOLTE (Voice over Long Term Evolution, long-term evolution) wireless communication network to ensure the call quality of the terminal.
[0003] However, in the switching boundary area between VOWIFI and VOLTE\VONR, the terminal can receive mixed signals of WIFI, LTE and NR. There is a probability of switching from VOWIFI to VOLTE and from VOWIFI to VONR, which makes the VONR switching process and VOLTE switching process occur frequently, seriously affecting the call quality and user experience of the terminal. Summary of the invention
[0004] Based on this, it is necessary to provide a communication network switching method, device, computer equipment and storage medium that can prevent the frequent occurrence of VONR switching process and VOLTE switching process in response to the above technical problems.
[0005] In a first aspect, the present application provides a communication network switching method. The method comprises:
[0006] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0007] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0008] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0009] In one of the embodiments, switching the communication network of the target terminal according to the LTE network signal strength and the NR network signal strength includes:
[0010] Verify whether the NR network signal strength is greater than the NR network signal threshold;
[0011] If yes, switching the target terminal to the NR communication network;
[0012] If not, the communication network of the target terminal is switched according to the LTE network signal strength.
[0013] In one embodiment, switching the communication network of the target terminal according to the LTE network signal strength includes:
[0014] Verify whether the LTE network signal strength is greater than the LTE network signal threshold;
[0015] If so, the target terminal is switched to the LTE communication network.
[0016] In one embodiment, the training process of the signal strength prediction model is as follows:
[0017] Get WiFi sample signal strength, LTE sample signal strength and NR sample signal strength;
[0018] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, an initial strength prediction model is trained to obtain a signal strength prediction model.
[0019] In one of the embodiments, the initial strength prediction model is trained according to the WiFi sample signal strength, the LTE sample signal strength, and the NR sample signal strength to obtain a signal strength prediction model, including:
[0020] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a candidate strength prediction model;
[0021] Constructing a target loss function according to a preset loss function and a communication network switching record of the target terminal;
[0022] The target loss function is used to adjust the parameters of the candidate strength prediction model to obtain a signal strength prediction model.
[0023] In one embodiment, constructing a target loss function according to a preset loss function and a communication network switching record of the target terminal includes:
[0024] Obtaining a communication network switching record of the target terminal;
[0025] Determining a function adjustment item of a preset loss function according to the number of network switching times of the target terminal in the communication network switching record;
[0026] According to the function adjustment item, the preset loss function is adjusted to obtain a target loss function.
[0027] In a second aspect, the present application also provides a communication network switching device. The device comprises:
[0028] An acquisition module is used to acquire the wireless local area WiFi network signal strength and the long-term evolution LTE network signal strength of the target terminal;
[0029] A prediction module is used to perform signal prediction based on the signal strength prediction model according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0030] The switching module is used to switch the communication network of the target terminal according to the LTE network signal strength and the NR network signal strength.
[0031] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0032] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0033] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0034] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0035] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0037] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0038] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0039] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0041] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0042] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0043] The above-mentioned communication network switching method, device, computer equipment and storage medium predict the NR network signal strength by acquiring the obtained WiFi network signal strength and LTE network signal strength, and the signal strength prediction model, and then, according to the LTE network signal strength and the NR network signal strength, the target terminal performs communication network switching. According to the above content, it can be known that the present application will pre-implement the strength prediction of the NR network signal strength in the process of switching the communication network for the target terminal, and then, according to the predicted NR network signal strength and the LTE network signal strength, the target terminal performs communication network switching, so as to achieve in the process of switching the communication network for the target terminal, according to the actual situation of the LTE network signal strength and the NR network signal strength, the communication network switching for the target terminal can be achieved, and the target terminal is prevented from receiving the WiFi network signal, the LTE network signal and the NR network signal at the same time, causing the communication network to switch frequently, ensuring the stable switching of the communication network of the target terminal, and ensuring that the user's communication quality will not be affected by the frequent switching of the communication network. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 An application environment diagram of a communication network switching method provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of a flow chart of a first communication network switching method provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of a flow chart of a second communication network switching method provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a flow chart of a third communication network switching method provided in an embodiment of the present application;
[0048] Figure 5A schematic diagram of a flow chart of a fourth communication network switching method provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of a system scenario in which the SCwLAI module according to an embodiment of the present application performs a communication network switching method;
[0050] Figure 7 A schematic diagram of the composition of the SCwLAI module provided in an embodiment of the present application;
[0051] Figure 8 A structural block diagram of a communication network switching device provided in an embodiment of the present application;
[0052] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0053] 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.
[0054] It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the description of the present application, the description of the reference 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 representation of the above terms does not necessarily have to be directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.
[0055] The communication network switching method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By obtaining the WiFi network signal strength and LTE network signal strength, as well as the signal strength prediction model, the NR network signal strength is predicted, and then, according to the LTE network signal strength and the NR network signal strength, the communication network of the target terminal is switched. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0056] In one embodiment, Figure 2 As shown, a communication network switching method is provided, and the method is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0057] S201, obtaining the WiFi network signal strength and LTE network signal strength of the target terminal.
[0058] It should be noted that in the process of obtaining the WiFi network signal strength and the LTE network signal strength, in order to ensure the accuracy of the signal strength and to ensure that the accurate NR network signal strength can be predicted and determined based on the WiFi network signal strength and the LTE network signal strength, it is necessary to ensure that the data formats of the WiFi network signal strength and the LTE network signal strength are consistent.
[0059] To further illustrate, when it is necessary to obtain the WiFi network signal strength and LTE network signal strength of the target terminal, the WiFi network detection strength and LTE network detection strength detected by the target terminal at the current moment can be received, and then the WiFi network detection strength and LTE network detection strength can be preprocessed to obtain the WiFi network signal strength and LTE network signal strength.
[0060] In one embodiment of the present application, when it is necessary to obtain the WiFi network signal strength and LTE network signal strength of the target terminal, the WiFi signal strength detection and LTE signal strength detection can be performed on the target terminal in advance, and then the WiFi network detection strength and LTE network detection strength detected by the target terminal at the current moment are obtained, and the WiFi network detection strength and LTE network detection strength are preprocessed; wherein the preprocessing may include but is not limited to feature scaling, missing value processing and feature selection, etc., and the specific processing content included in the preprocessing is not limited here, and then the preprocessed WiFi network signal strength and LTE network signal strength are obtained.
[0061] S202: Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength.
[0062] Specifically, when it is necessary to obtain the NR network signal strength, the WiFi network signal strength and the LTE network signal strength can be input into the signal strength prediction model, and the output result of the signal strength prediction model can be obtained, and the output result is the NR network signal strength.
[0063] It should be noted that in order to ensure that the signal strength prediction model can successfully predict the NR network signal strength based on the WiFi network signal strength and the LTE network signal strength, the signal strength prediction model can be trained according to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength to obtain the trained signal strength prediction model.
[0064] S203: Switch the communication network of the target terminal according to the LTE network signal strength and the NR network signal strength.
[0065] It should be noted that in order to prevent the target terminal from frequently switching the communication network when receiving WiFi network signals, LTE network signals and NR network signals at the same time, and to ensure the stable switching of the communication network of the target terminal, when the communication network of the target terminal is switched, the communication network of the target terminal is switched according to the relationship between the NR network signal strength and the NR network signal threshold value, as well as the relationship between the LTE network signal strength and the LTE network signal threshold value.
[0066] The above-mentioned communication network switching method predicts the NR network signal strength by acquiring the obtained WiFi network signal strength and LTE network signal strength, and the signal strength prediction model, and then, according to the LTE network signal strength and the NR network signal strength, the communication network of the target terminal is switched. According to the above content, the present application will pre-implement the strength prediction of the NR network signal strength in the process of switching the communication network for the target terminal, and then, according to the predicted NR network signal strength and the LTE network signal strength, the communication network of the target terminal is switched, so that in the process of switching the communication network for the target terminal, the communication network switching for the target terminal can be realized according to the actual situation of the LTE network signal strength and the NR network signal strength, so as to prevent the target terminal from receiving the WiFi network signal, the LTE network signal and the NR network signal at the same time. The situation of frequent switching of the communication network occurs, and the stable switching of the communication network of the target terminal is ensured, and the communication quality of the user is ensured not to be affected by the frequent switching of the communication network.
[0067] In one embodiment, if Figure 3 As shown, when it is necessary to switch the communication network of the target terminal according to the LTE network signal strength and the NR network signal strength, the following contents may be specifically included:
[0068] S301, verify whether the NR network signal strength is greater than the NR network signal threshold.
[0069] Among them, the NR network signal threshold value can be set or adjusted according to actual conditions, and the value range of the NR network signal threshold value is not limited here.
[0070] S302: If yes, switch the target terminal to the NR communication network.
[0071] In one embodiment of the present application, when the NR network signal strength is greater than the NR network signal threshold value, it indicates that the NR network signal strength is relatively large at the current moment. If the target terminal switches from the Wifi communication network to the NR communication network, the target terminal can be guaranteed to have better communication network quality; therefore, when the NR network signal strength is greater than the NR network signal threshold value, the target terminal can be switched from the Wifi communication network to the NR communication network.
[0072] S303: If not, switching the communication network of the target terminal is performed according to the LTE network signal strength.
[0073] It should be noted that if the NR network signal strength is not greater than the NR network signal threshold value, it means that the NR network signal strength is relatively small at the current moment. If the target terminal switches from the Wifi communication network to the NR communication network, it is difficult to guarantee the communication network quality of the target terminal; therefore, it is necessary to emphasize the verification of the LTE network signal strength to realize the communication network switching of the target terminal.
[0074] Specifically, when switching the communication network of the target terminal according to the LTE network signal strength, the following contents may be specifically included: verifying whether the LTE network signal strength is greater than the LTE network signal threshold value; if so, switching the target terminal to the LTE communication network.
[0075] Among them, if it is determined that the LTE network signal strength is greater than the LTE network signal threshold value, it indicates that the LTE network signal strength is relatively large at the current moment. If the target terminal switches from the Wifi communication network to the LTE communication network, it can be guaranteed that the target terminal has a better communication network quality; therefore, when the LTE network signal strength is greater than the LTE network signal threshold value, the target terminal can be switched from the Wifi communication network to the LTE communication network.
[0076] Furthermore, if it is determined that the LTE network signal strength is not greater than the LTE network signal threshold value, it indicates that the LTE network signal strength is relatively small at the current moment. In order to ensure the network communication quality of the target terminal, the communication network switching process for the target terminal is stopped, so that the target terminal continues to maintain the Wifi communication network for communication operations.
[0077] The above-mentioned communication network switching method verifies whether the NR network signal strength is greater than the NR network signal threshold value, and verifies whether the LTE network signal strength is greater than the LTE network signal threshold value, thereby realizing communication network switching for the target terminal according to the actual situation of the NR network signal strength and the LTE network signal strength, thereby preventing the target terminal from frequently switching the communication network when receiving WiFi network signals, LTE network signals and NR network signals at the same time, thereby ensuring stable switching of the communication network of the target terminal.
[0078] In one embodiment, if Figure 4 As shown, the training process of the signal strength prediction model may include the following:
[0079] S401, obtain WiFi sample signal strength, LTE sample signal strength and NR sample signal strength.
[0080] It should be noted that the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength refer to sample parameters used for model training of the signal strength prediction model. When it is necessary to obtain the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength, the target terminal can be simulated to simulate at least one group of WiFi sample signal strength, LTE sample signal strength and NR sample signal strength simultaneously received by the target terminal. Alternatively, a reference terminal with the same device type as the target terminal can be selected, and the WiFi network signal strength, LTEi network signal strength and NR network signal strength actually received by the reference terminal are used as the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength.
[0081] In one embodiment of the present application, when it is necessary to obtain WiFi sample signal strength, LTE sample signal strength and NR sample signal strength, a simulated operating environment that can simultaneously receive WiFi network signal strength, LTEi network signal strength and NR network signal strength can be pre-simulated, and then, by simulating the target terminal at different positions in the simulated operating environment, different groups of WiFi network signal strength, LTEi network signal strength and NR network signal strength corresponding to different positions are obtained, and each group of WiFi network signal strength, LTEi network signal strength and NR network signal strength is used as the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength to achieve the operation of obtaining the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength.
[0082] In another embodiment of the present application, when it is necessary to obtain WiFi sample signal strength, LTE sample signal strength and NR sample signal strength, at least one reference terminal of the same device type as the target terminal can also be selected, and the signal strength reception status of each reference terminal in an operating environment where the WiFi network signal strength, LTEi network signal strength and NR network signal strength can be detected at the same time, thereby obtaining at least one reference terminal, receiving at least one group of WiFi network signal strength, LTEi network signal strength and NR network signal strength, and using each group of WiFi network signal strength, LTEi network signal strength and NR network signal strength as the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength, so as to realize the operation of obtaining the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength.
[0083] S402: Perform model training on an initial strength prediction model according to the WiFi sample signal strength, the LTE sample signal strength, and the NR sample signal strength to obtain a signal strength prediction model.
[0084] It should be noted that when the initial strength prediction model is trained according to the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength, the following contents may be specifically included: the initial strength prediction model is trained according to the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength to obtain a candidate strength prediction model; a target loss function is constructed according to a preset loss function and the communication network switching record of the target terminal; and then, the target loss function is used to adjust the parameters of the candidate strength prediction model to obtain a signal strength prediction model.
[0085] Further explanation: In the process of constructing a target loss function based on a preset loss function and the communication network switching record of the target terminal, the following contents may be included: obtaining the communication network switching record of the target terminal; determining a function adjustment item of the preset loss function based on the number of network switching of the target terminal in the communication network switching record; and adjusting the preset loss function based on the function adjustment item to obtain the target loss function.
[0086] Among them, the preset loss function can be a basic cross entropy loss function, so the preset loss function can be as follows:
[0087] L=-(y·log(y^)+(1-y)·log(1-y^))+Adjustment;
[0088] Among them, y refers to the true label. If y is 1, it means that the target terminal switches from the WiFi communication network to the NR communication network. If y is 0, it means other. y^ refers to the probability value predicted by the model, and Adjustment refers to the subsequent adjustment part.
[0089] Furthermore, since the function adjustment item of the preset loss function can be determined according to the number of network switching times of the target terminal in the communication network switching record, it can be pre-set that if the number of network switching times of the target terminal in the communication network switching record is not 0, the loss error is determined to be minus a constant value λ, thereby reducing the tendency of the VoWiFi communication network to switch to the VoNR communication network; if the number of network switching times of the target terminal in the communication network switching record is 0, the loss error is determined to be plus a constant value λ, thereby increasing the tendency of the VoWiFi communication network to switch to the VoNR communication network.
[0090] Therefore, Adjustment = -λif NLHO_History = 1;
[0091] Adjustment=+λif NLHO_History=0;
[0092] Among them, λ is a preset function adjustment item value, NLHO_History refers to the historical flag of the target terminal switching from the NR communication network to the LTE communication network. If NLHO_History=1, it is determined that the number of network switching times of the target terminal in the communication network switching record is not 0; if NLHO_History=0, it is determined that the number of network switching times of the target terminal in the communication network switching record is 0.
[0093] In summary, the target loss function can be shown as follows:
[0094] L=-(ylog(y^)+(1-y)log(1-y^))- / +λ(ifNLH0_History=1 / 0;
[0095] Among them, y refers to the true label. If y is 1, it means that the target terminal switches from the WiFi communication network to the NR communication network. If y is 0, it means other. y refers to the probability value predicted by the model. Adjustment refers to the subsequent adjustment part. λ is the value of the pre-set function adjustment item. NLHO_History refers to the historical flag of the target terminal switching from the NR communication network to the LTE communication network. If NLHO_History=1, it is determined that the number of network switching times of the target terminal in the communication network switching record is not 0; if NLHO_History=0, it is determined that the number of network switching times of the target terminal in the communication network switching record is 0.
[0096] The above-mentioned communication network switching method obtains the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength to realize model training of the initial strength prediction model according to the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength, and obtains the signal strength prediction model, thereby ensuring that in the process of switching the communication network of the target terminal, the NR network signal strength can be accurately predicted according to the signal strength prediction model and the detected WiFi network signal strength and LTE network signal strength; and ensuring the smooth progress of the subsequent terminal communication network switching process.
[0097] In one embodiment, if Figure 5 As shown, when the communication network switching of the target terminal is required, the following contents may be specifically included:
[0098] S501, obtaining the WiFi network signal strength and LTE network signal strength of the target terminal.
[0099] S502: Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength.
[0100] S503, verify whether the NR network signal strength is greater than the NR network signal threshold; if so, execute step S504; if not, execute step S505.
[0101] S504, switch the target terminal to the NR communication network.
[0102] S505, verify whether the LTE network signal strength is greater than the LTE network signal threshold; if so, switch the target terminal to the LTE communication network.
[0103] In one embodiment of the present application, a SCwLAI (Switching Controller with Lightweight AI) module may be pre-set on the target terminal. The present application uses the SCwLAI module to execute the system scenario composition of the communication network switching method as follows: Figure 6As shown in the figure, the cellular part includes: (1) 4G, 5G access network: responsible for the wireless access of 4G, 5G terminals from 4G, 5G cellular base stations (LTE / NR) and connecting to 4G, 5G core network elements MME / AMF; (2) 4G, 5G core network: responsible for realizing core functions such as 4G, 5G terminal user data transmission, call control, mobility management, security management, etc., and providing services such as user access and authentication, user data processing, mobility management and connection management. Connect to 4G, 5G cellular base stations and IMS systems respectively; further explain (2.1) 4G core network composition and functions: SGW (Serving Gateway): Serving Gateway, responsible for forwarding and distributing user data; PGW (Packet Data Network Gateway): Packet Data Network Gateway, connecting LTE core network and external IP network; MME (Mobility Management Entity): Mobility Management Entity, responsible for user authentication, location management, security control, etc.; HSS (Home Subscriber Server): User management data storage and authentication center, saving user information and authentication data; PCRF (Policy and Charging Rules Function): Policy and Charging Rules Function, responsible for policy control and charging; 3GPP AAA server function: Authentication: The AAA server is responsible for authenticating the user and confirming whether the user's identity is legal to ensure network security. Authorization: The AAA server authorizes the user based on the user's identity and the requested service, and determines whether the user has the right to access specific services or resources. Accounting: AAA server records the user's network usage, including call duration, traffic consumption, etc., for subsequent billing and settlement. HLR Function: User Data Storage: HLR is the central storage of user data, including user personal information, service subscription information, authentication data, etc. Authentication and Service Management: HLR is responsible for user identity management and authentication, ensuring the legitimacy of users in the network, and managing user service subscriptions and configurations.Location update: HLR records the user's location information in the network, including the current location and roaming status, so that the network can perform correct routing and connection management; (2.2) 5G core network composition and functions: AMF (Access and Mobility Management Function): Access and mobility management function, managing access control and mobility management; SMF (Session Management Function): Session management function, responsible for establishing, maintaining and releasing user sessions; UPF (User Plane Function): User plane function, responsible for forwarding and routing data packets; UDM (Unified Data Management): Unified data management, including authentication data and user configuration information; NRF (Network Repository Function): Network storage function, used for network function discovery and selection; AUSF (Authentication Server Function): Authentication server function, responsible for user authentication and authorization. 3) IMS system: Supports IP multimedia service architecture and provides rich multimedia communication services, such as voice calls, video calls, real-time messaging, etc. Among them, the WIFI part includes: (1) Wireless LAN Controller (AC): manages and controls the behavior of multiple access points (APs), coordinates the communication between them, and ensures stable and efficient network operation. Provides centralized management, configuration and monitoring functions for access points. Implements user authentication, access control and security policy execution. Responsible for processing business intelligence, load balancing and traffic control. Supports roaming, quality assurance and service quality adjustment of wireless networks; Note: There may be no wireless LAN controller (AC) in the home WIFI network; (2) Access Point (AP): Provides wireless network coverage, allowing user devices to access the network through Wi-Fi. Processes communication between the terminal and the wireless network, including data transmission, signal reception and transmission. Supports wireless network security mechanisms such as encryption and identity authentication. Implements roaming functions in wireless networks to ensure that users switch seamlessly between different APs.
[0104] Among them, the SCwLAI module is based on lightweight AI to achieve efficient switching between VOWIFI and VOLTE, VONR, so as to improve higher call quality and better user experience, and improve the utilization of wireless network resources. Figure 7As shown, the SCwLAI module includes an input layer, a lightweight AI processing layer and an output layer; specifically, the input layer is used to receive the NR sample signal strength of the target terminal (NR PCI and NR sample signal strength under NR PCI), LTE sample signal strength (LTE PCI and LTE sample signal strength under LTEPCI), WiFi sample signal strength (WIFI SSID and WiFi sample signal strength under WIFI SSID), the communication network switching record of the target terminal, the NR network signal threshold value, and the LTE network signal threshold value. The lightweight AI processing layer can be used to train the initial strength prediction model according to the WiFi sample signal strength, LTE sample signal strength and NR sample signal strength to obtain a candidate strength prediction model; construct a target loss function according to the preset loss function and the communication network switching record of the target terminal; use the target loss function to adjust the parameters of the candidate strength prediction model to obtain a signal strength prediction model, and obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal; based on the signal strength prediction model, perform signal prediction according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength; according to the LTE network signal strength and the NR network signal strength, perform communication network switching for the target terminal. The output layer outputs the results including the signal strength prediction model that completes the model training, and the switching results from VOWIFI to VONR or from VOWIFI to VOLTE for the target terminal.
[0105] The above-mentioned communication network switching method predicts the NR network signal strength by acquiring the obtained WiFi network signal strength and LTE network signal strength, and the signal strength prediction model, and then, according to the LTE network signal strength and the NR network signal strength, the communication network of the target terminal is switched. According to the above content, the present application will pre-implement the strength prediction of the NR network signal strength in the process of switching the communication network for the target terminal, and then, according to the predicted NR network signal strength and the LTE network signal strength, the communication network of the target terminal is switched, so that in the process of switching the communication network for the target terminal, the communication network switching for the target terminal can be realized according to the actual situation of the LTE network signal strength and the NR network signal strength, so as to prevent the target terminal from receiving the WiFi network signal, the LTE network signal and the NR network signal at the same time. The situation of frequent switching of the communication network occurs, and the stable switching of the communication network of the target terminal is ensured, and the communication quality of the user is ensured not to be affected by the frequent switching of the communication network.
[0106] It should be understood that, although the steps in the flowcharts involved in the above 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 is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may 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 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.
[0107] Based on the same inventive concept, the embodiment of the present application also provides a communication network switching device for implementing the communication 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 one or more communication network switching device embodiments provided below can refer to the limitations on the communication network switching method above, and will not be repeated here.
[0108] In one embodiment, Figure 8 As shown, a communication network switching device is provided, comprising: an acquisition module 10, a prediction module 20 and a switching module 30, wherein:
[0109] The acquisition module 10 is used to acquire the wireless local area WiFi network signal strength and the long term evolution LTE network signal strength of the target terminal.
[0110] The prediction module 20 is used to perform signal prediction based on the signal strength prediction model according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength.
[0111] The switching module 30 is used to switch the communication network of the target terminal according to the LTE network signal strength and the NR network signal strength.
[0112] In one embodiment, verifying whether the NR network signal strength is greater than the NR network signal threshold value;
[0113] If yes, the target terminal is switched to the NR communication network;
[0114] If not, the communication network of the target terminal is switched according to the LTE network signal strength.
[0115] In one embodiment, verifying whether the LTE network signal strength is greater than the LTE network signal threshold;
[0116] If so, the target terminal is switched to the LTE communication network.
[0117] In one embodiment, a WiFi sample signal strength, an LTE sample signal strength, and an NR sample signal strength are obtained;
[0118] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a signal strength prediction model.
[0119] In one embodiment, the initial strength prediction model is trained according to the WiFi sample signal strength, the LTE sample signal strength, and the NR sample signal strength to obtain a candidate strength prediction model;
[0120] Constructing a target loss function according to a preset loss function and a communication network switching record of a target terminal;
[0121] The target loss function is used to adjust the parameters of the candidate strength prediction model to obtain the signal strength prediction model.
[0122] In one embodiment, obtaining a communication network switching record of a target terminal;
[0123] Determining a function adjustment item of a preset loss function according to the number of network switching times of the target terminal in the communication network switching record;
[0124] According to the function adjustment item, the preset loss function is adjusted to obtain the target loss function.
[0125] The above-mentioned communication network switching device predicts the NR network signal strength by acquiring the WiFi network signal strength and the LTE network signal strength, and the signal strength prediction model, and then switches the communication network for the target terminal according to the LTE network signal strength and the NR network signal strength. According to the above content, it can be known that the present application will pre-implement the strength prediction for the NR network signal strength in the process of switching the communication network for the target terminal, and then, according to the predicted NR network signal strength and the LTE network signal strength, the communication network for the target terminal is switched, so that in the process of switching the communication network for the target terminal, the communication network switching for the target terminal can be realized according to the actual situation of the LTE network signal strength and the NR network signal strength, so as to prevent the target terminal from receiving the WiFi network signal, the LTE network signal and the NR network signal at the same time. The situation of frequent switching of the communication network occurs, and the stable switching of the communication network of the target terminal is ensured, and the communication quality of the user is ensured not to be affected by the frequent switching of the communication network.
[0126] Each module in the above communication network switching device can be implemented in whole or in part by software, hardware, or 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 operations corresponding to each module.
[0127] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a communication network switching method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0128] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the 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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0129] In one 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:
[0130] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0131] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0132] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0133] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0134] Verify whether the NR network signal strength is greater than the NR network signal threshold;
[0135] If yes, the target terminal is switched to the NR communication network;
[0136] If not, the communication network of the target terminal is switched according to the LTE network signal strength.
[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0138] Verify whether the LTE network signal strength is greater than the LTE network signal threshold;
[0139] If so, the target terminal is switched to the LTE communication network.
[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0141] Get WiFi sample signal strength, LTE sample signal strength and NR sample signal strength;
[0142] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a signal strength prediction model.
[0143] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0144] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a candidate strength prediction model;
[0145] Constructing a target loss function according to a preset loss function and a communication network switching record of a target terminal;
[0146] The target loss function is used to adjust the parameters of the candidate strength prediction model to obtain the signal strength prediction model.
[0147] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0148] Obtaining the communication network switching record of the target terminal;
[0149] Determining a function adjustment item of a preset loss function according to the number of network switching times of the target terminal in the communication network switching record;
[0150] According to the function adjustment item, the preset loss function is adjusted to obtain the target loss function.
[0151] 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:
[0152] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0153] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0154] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] Verify whether the NR network signal strength is greater than the NR network signal threshold;
[0157] If yes, the target terminal is switched to the NR communication network;
[0158] If not, the communication network of the target terminal is switched according to the LTE network signal strength.
[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0160] Verify whether the LTE network signal strength is greater than the LTE network signal threshold;
[0161] If so, the target terminal is switched to the LTE communication network.
[0162] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0163] Get WiFi sample signal strength, LTE sample signal strength and NR sample signal strength;
[0164] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a signal strength prediction model.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0166] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a candidate strength prediction model;
[0167] Constructing a target loss function according to a preset loss function and a communication network switching record of a target terminal;
[0168] The target loss function is used to adjust the parameters of the candidate strength prediction model to obtain the signal strength prediction model.
[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0170] Obtaining the communication network switching record of the target terminal;
[0171] Determining a function adjustment item of a preset loss function according to the number of network switching times of the target terminal in the communication network switching record;
[0172] According to the function adjustment item, the preset loss function is adjusted to obtain the target loss function.
[0173] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0174] Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal;
[0175] Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength;
[0176] The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
[0177] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0178] Verify whether the NR network signal strength is greater than the NR network signal threshold;
[0179] If yes, the target terminal is switched to the NR communication network;
[0180] If not, the communication network of the target terminal is switched according to the LTE network signal strength.
[0181] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0182] Verify whether the LTE network signal strength is greater than the LTE network signal threshold;
[0183] If so, the target terminal is switched to the LTE communication network.
[0184] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0185] Get WiFi sample signal strength, LTE sample signal strength and NR sample signal strength;
[0186] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a signal strength prediction model.
[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0188] According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a candidate strength prediction model;
[0189] Constructing a target loss function according to a preset loss function and a communication network switching record of a target terminal;
[0190] The target loss function is used to adjust the parameters of the candidate strength prediction model to obtain the signal strength prediction model.
[0191] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0192] Obtaining the communication network switching record of the target terminal;
[0193] Determining a function adjustment item of a preset loss function according to the number of network switching times of the target terminal in the communication network switching record;
[0194] According to the function adjustment item, the preset loss function is adjusted to obtain the target loss function.
[0195] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0196] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 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), magnetoresistive 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, etc., but are not limited to this.
[0197] 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 specification.
[0198] The above 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 communication network switching method, characterized in that: The method comprises: Obtain the wireless local area WiFi network signal strength and long-term evolution LTE network signal strength of the target terminal; Based on the signal strength prediction model, signal prediction is performed according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength; The communication network of the target terminal is switched according to the LTE network signal strength and the NR network signal strength.
2. The method according to claim 1, characterized in that The switching of the communication network for the target terminal according to the LTE network signal strength and the NR network signal strength includes: Verify whether the NR network signal strength is greater than the NR network signal threshold; If yes, switching the target terminal to the NR communication network; If not, the communication network of the target terminal is switched according to the LTE network signal strength.
3. The method according to claim 2, characterized in that The switching of the communication network of the target terminal according to the LTE network signal strength includes: Verify whether the LTE network signal strength is greater than the LTE network signal threshold; If so, the target terminal is switched to the LTE communication network.
4. The method according to claim 1, characterized in that: The training process of the signal strength prediction model is as follows: Get WiFi sample signal strength, LTE sample signal strength and NR sample signal strength; According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, an initial strength prediction model is trained to obtain a signal strength prediction model.
5. The method according to claim 4, characterized in that The performing model training on the initial strength prediction model according to the WiFi sample signal strength, the LTE sample signal strength, and the NR sample signal strength to obtain a signal strength prediction model includes: According to the WiFi sample signal strength, the LTE sample signal strength and the NR sample signal strength, the initial strength prediction model is trained to obtain a candidate strength prediction model; Constructing a target loss function according to a preset loss function and a communication network switching record of the target terminal; The target loss function is used to adjust the parameters of the candidate strength prediction model to obtain a signal strength prediction model.
6. The method according to claim 5, characterized in that The constructing a target loss function according to a preset loss function and a communication network switching record of the target terminal includes: Obtaining a communication network switching record of the target terminal; Determining a function adjustment item of a preset loss function according to the number of network switching times of the target terminal in the communication network switching record; According to the function adjustment item, the preset loss function is adjusted to obtain a target loss function.
7. A communication network switching device, characterized in that: The device comprises: An acquisition module is used to acquire the wireless local area WiFi network signal strength and the long-term evolution LTE network signal strength of the target terminal; A prediction module is used to perform signal prediction based on the signal strength prediction model according to the WiFi network signal strength and the LTE network signal strength to obtain the new wireless NR network signal strength; The switching module is used to switch the communication network of the target terminal according to the LTE network signal strength and the NR network signal strength.
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.
Citation Information
Cited By
Multi-mode environment perception adaptive calibration system and method of intelligent projector
CN120786043A