Service switching method and device based on user behaviors, equipment and medium

Through a service switching method based on user behavior, combined with network wireless side indicators and real-time feature values, the switching comprehensive value is calculated, and the problem of frequent switching between VoLTE and VoWiFi in the prior art is solved, and the quality and continuity of voice calls are improved.

CN119172825APending Publication Date: 2024-12-20CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411297174.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing switching methods between VoLTE and VoWiFi are judged only based on the signal strength, resulting in frequent switching and affecting the quality of voice calls.

Method used

采用基于用户行为的业务切换方法,通过获取终端的网络无线侧指标数据和实时特征值,计算切换综合值,确定是否进行网络切换,并选择更合适的目标网络。

Benefits of technology

It effectively avoids the phenomenon of ping-pong switching, improves the continuity and quality of voice calls, and ensures that the appropriate network is selected when mobile LTE and Wi-Fi signals are good.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172825A_ABST
    Figure CN119172825A_ABST
Patent Text Reader

Abstract

The invention discloses a service switching method and device based on user behaviors, computer equipment and a storage medium, and relates to the technical field of communication. The method comprises the following steps: acquiring network wireless side index data of a current call of a terminal, and acquiring a switching comprehensive value of a current network according to the network wireless side index data of the current call of the terminal; and in response to the situation that the switching comprehensive value of the current network is higher than a first preset threshold value, obtaining at least one switchable network of the terminal at the current position and wireless side index data of each network in the at least one switchable network. And determining whether to switch according to the wireless side index data of each network in the at least one switchable network. And in response to the determination of switching, determining a target network from the at least one switchable network and performing switching. According to the invention, the terminal can select a more appropriate network under the condition that the quality of the mobile LTE network and the quality of the Wi-Fi signal are good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a service switching method based on user behavior, a service switching device based on user behavior, a computer device and a readable storage medium. Background Art

[0002] At present, the 4th generation mobile communication technology (4G) network of major domestic operators not only supports high-speed data transmission, but also can provide high-quality audio and video services through Voice over Long-Term Evolution (VoLTE).

[0003] Statistics show that nearly 70% of voice calls take place indoors. However, in indoor places with poor third-generation mobile communication technology (3rd-Generation, 3G) / 4G signal coverage, such as shopping malls, underground parking lots, and subways, problems such as missed calls, disconnected calls, and poor call quality often occur. With the popularization of Wi-Fi networks, most indoor scenarios provide public Wi-Fi networks to supplement 4G signal coverage and ensure signal continuity, thereby ensuring that voice calls can seamlessly switch between VoLTE and wireless LAN calls (Voice over Wi-Fi, VoWiFi). Among them, VoWiFi means that as long as there is a Wi-Fi network indoors, users can make calls and send and receive text messages through Wi-Fi. Summary of the invention

[0004] The technical problem to be solved by the present invention is that the existing method for switching between VoLTE and VoWiFi is based only on the signal strength, and the judgment means is single, which can easily lead to a ping-pong effect, resulting in frequent switching and affecting the quality of voice calls.

[0005] In view of the above-mentioned deficiencies of the prior art, the following solutions are provided:

[0006] In a first aspect, the present invention provides a service switching method based on user behavior, which is applied to a terminal, and the method includes: obtaining network wireless side indicator data of the terminal's current call, and obtaining the switching comprehensive value of the current network based on the network wireless side indicator data of the terminal's current call. In response to the switching comprehensive value of the current network being higher than a first preset threshold, obtaining the wireless side indicator data of at least one switchable network and each network in at least one switchable network at the current location of the terminal. And, determining whether to switch based on the wireless side indicator data of each network in at least one switchable network; in response to determining to switch, determining a target network from at least one switchable network and switching. Among them, the network wireless side indicator data includes network signal strength data and network signal quality data. The type of each network in at least one switchable network is different from the type of the network currently used by the terminal.

[0007] Optionally, determining whether to switch or determining a target network from at least one switchable network and switching according to the wireless side indicator data of each network in at least one switchable network includes: obtaining a switching comprehensive value of each network in at least one switchable network according to the wireless side indicator data of each network in at least one switchable network, obtaining a real-time characteristic value of the terminal, and determining whether to switch or determining a target network from at least one switchable network and switching according to the switching comprehensive value of each network in at least one switchable network and the real-time characteristic value of the terminal.

[0008] Optionally, obtaining the real-time characteristic value of the terminal includes: obtaining the real-time characteristic value of the terminal according to the current speed of the terminal, the environment in which the terminal is located, the current remaining power data of the terminal, and the remaining amount of the current mobile data traffic of the terminal. The real-time characteristic value of the terminal is positively correlated with the current speed of the terminal, the current remaining power data of the terminal, and the remaining amount of the current mobile data traffic of the terminal, respectively, and the environment in which the terminal is located includes an indoor environment and an outdoor environment.

[0009] Optionally, the network type currently used by the terminal is an LTE network, and the type of each network in at least one switchable network is a Wi-Fi network. Then, according to the switching comprehensive value of each network in at least one switchable network and the real-time characteristic value of the terminal, it is determined whether to switch or determine the target network from at least one switchable network and switch, including: in response to the real-time characteristic value of the terminal being greater than the second preset threshold, determine not to switch. In response to the real-time characteristic value of the terminal being less than the second preset threshold, determine whether there is at least one quasi-target network. Among them, each network in at least one quasi-target network is a network in at least one switchable network, and the switching comprehensive value of each network in at least one quasi-target network is greater than the third preset threshold. In response to the absence of at least one quasi-target network, determine not to switch. And, in response to the existence of at least one quasi-target network, determine the target network from each network of at least one quasi-target network and switch.

[0010] Optionally, in response to the existence of at least one quasi-target network, determining a target network from among the networks of the at least one quasi-target network and performing switching, includes: in response to at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal within a first preset time period are all less than a second preset threshold, and the number of networks and network names included in the at least one quasi-target network remain unchanged within the first preset time period, then determining a network included in the at least one quasi-target network as a target network and performing switching.

[0011] Optionally, in response to the existence of at least one quasi-target network, determining a target network from among the networks of the at least one quasi-target network and performing switching, includes: in response to at least two networks being included in the at least one quasi-target network, and the real-time characteristic values ​​of the terminal being less than a second preset threshold value within a first preset time period, and the number of networks and network names included in the at least one quasi-target network being unchanged within the first preset time period, then determining one network as the target network from among the at least two networks included in the at least one quasi-target network and performing switching.

[0012] Optionally, determining a network as a target network from at least two networks included in at least one quasi-target network and switching includes: selecting a network with the longest historical connection time from at least two networks included in at least one quasi-target network according to historical data of Wi-Fi network use by the terminal as the target network and switching. The historical data of Wi-Fi network use by the terminal includes the name of each Wi-Fi network in at least one Wi-Fi network used by the terminal in the most recent first period and the historical connection time of each Wi-Fi network used by the terminal in the first period.

[0013] Optionally, in response to the type of the network currently used by the terminal being a Wi-Fi network, the type of each network in at least one switchable network is an LTE network. Then, according to the switching comprehensive value of each network in at least one switchable network and the real-time characteristic value of the terminal, it is determined whether to switch or to determine the target network from at least one switchable network and switch, including: in response to the real-time characteristic value of the terminal being less than the second preset threshold, it is determined not to switch. In response to the real-time characteristic value of the terminal being greater than the second preset threshold, it is determined whether there is at least one quasi-target network. Among them, each network in at least one quasi-target network is a network in at least one switchable network, and the switching comprehensive value of each network in at least one quasi-target network is greater than a third preset threshold. In response to the absence of at least one quasi-target network, it is determined not to switch. And, in response to the existence of at least one quasi-target network, the target network is determined from each network of at least one quasi-target network and switched.

[0014] Optionally, in response to the existence of at least one quasi-target network, determining a target network from among the networks of the at least one quasi-target network and performing switching, includes: in response to at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal within a first preset time period are all greater than a second preset threshold, and the number of networks and network names included in the at least one quasi-target network remain unchanged within the first preset time period, then determining a network included in the at least one quasi-target network as a target network and performing switching.

[0015] Optionally, in response to the existence of at least one quasi-target network, determining a target network from each network of the at least one quasi-target network and performing switching includes:

[0016] In response to at least two networks being included in at least one quasi-target network, and the real-time characteristic values ​​of the terminal being greater than a second preset threshold value within a first preset time period, and the number of networks and network names included in at least one quasi-target network being unchanged within the first preset time period, one network is determined as a target network among the at least two networks included in the at least one quasi-target network and switched.

[0017] Optionally, determining a network as a target network from at least two networks included in at least one quasi-target network and performing switching includes: selecting a network with a maximum switching comprehensive value from at least two networks included in at least one quasi-target network as the target network and performing switching.

[0018] Optionally, obtaining the current network's switching comprehensive value based on the network wireless side indicator data of the terminal's current call includes: calculating the current network's switching comprehensive value m based on the formula m=αA+βB. Where A is the first event. B is the second event. α and β are weight coefficients respectively. And

[0019]

[0020] Among them, R is the network signal strength data of the current call of the terminal. thr is the preset switching threshold value of the network signal strength. Q is the network signal quality data of the current call of the terminal. Q thr It is the preset switching threshold value of network signal quality.

[0021] In a second aspect, the present invention provides a service switching device based on user behavior, which is applied to a terminal. The service switching device includes a switching comprehensive value acquisition module, a wireless side indicator data acquisition module and a network switching module. The switching comprehensive value acquisition module is configured to: acquire the wireless side indicator data of the network of the current call of the terminal, and acquire the switching comprehensive value of the current network according to the wireless side indicator data of the network of the current call of the terminal. Among them, the network wireless side indicator data includes network signal strength data and network signal quality data. The wireless side indicator data acquisition module is configured to: in response to the switching comprehensive value of the current network being higher than the first preset threshold, acquire the wireless side indicator data of at least one switchable network and each network in at least one switchable network of the terminal at the current location. Among them, the type of each network in at least one switchable network is different from the type of the network currently used by the terminal. The network switching module is configured to: determine whether to switch according to the wireless side indicator data of each network in at least one switchable network; in response to determining to switch, determine the target network from at least one switchable network and switch.

[0022] In a third aspect, the present invention provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the above-mentioned service switching method based on user behavior.

[0023] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the above-mentioned service switching method based on user behavior.

[0024] The user behavior-based service switching method and device, computer equipment and storage medium provided by the present invention can enable the terminal to select a more suitable network when the mobile LTE network and Wi-Fi signal quality are both good. Specifically, by introducing user behavior, the current speed of the terminal, the environment in which the terminal is located, the current remaining power data of the terminal and the current remaining amount of mobile data traffic of the terminal are included in the consideration range of the terminal when performing network switching, so that the terminal selects a more suitable network for switching, which can not only solve the problems of call interruption and poor call quality, but also avoid the ping-pong switching phenomenon, and improve the user's voice call experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flow chart of a service switching method based on user behavior in an embodiment of the present invention;

[0026] Figure 2 is a flow chart of another service switching method based on user behavior in an embodiment of the present invention;

[0027] Figure 3A flowchart of another service switching method based on user behavior in an embodiment of the present invention;

[0028] Figure 4 is a flow chart of another service switching method based on user behavior in an embodiment of the present invention;

[0029] Figure 5 A structural diagram of a service switching device based on user behavior in an embodiment of the present invention;

[0030] Figure 6 A structural diagram of another service switching device based on user behavior in an embodiment of the present invention;

[0031] Figure 7 The figure is a structural diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0033] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.

[0034] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.

[0035] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.

[0036] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0037] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.

[0038] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.

[0039] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.

[0040] In the related art, the basic principles, methods and steps of switching between VoLTE and VoWiFi based on signal strength are as follows:

[0041] Signal strength measurement: The mobile device continuously measures the signal strength of the currently connected network and the available networks around it. Signal strength is usually expressed in dBm (decibel milliwatts), with a larger value indicating a stronger signal.

[0042] ·Switch threshold setting: Set a switch threshold for each available network. When the signal strength of the currently connected network drops below a certain threshold, the system starts to consider switching to the network.

[0043] ·Switch decision: When the signal strength of the currently connected network is lower than the set switch threshold, the mobile device will trigger a switch decision. The system will evaluate the signal strength of the surrounding networks and select the network with a signal strength higher than the set threshold for switching.

[0044] Handover execution: If the handover decision is confirmed, the mobile device will initiate the handover process, establish a connection with the newly selected network, and disconnect the current connection.

[0045] The idea of ​​the method of switching between VoLTE and VoWiFi based on signal strength in the above-mentioned related technologies is to switch to another network (such as Wi-Fi) when the signal of a certain network (such as LTE) is not good. This method only judges the switch based on signal strength, ignoring the personalized needs and habits of users. Users may be more willing to choose a network in a specific situation, for example, they prefer to use Wi-Fi in a home environment. Moreover, this method cannot adapt to different scenarios because the signal strength cannot fully reflect the scenario in which the user is located. For example, in a home environment, users may prefer to use Wi-Fi, while when moving, mobile networks (LTE) are more suitable.

[0046] Some embodiments of the present invention provide a service switching method based on user behavior, the method is applied to a terminal, such as Figure 1 As shown, the method includes steps 101 to 103.

[0047] Step 101: Obtain network wireless side indicator data of the current call of the terminal, and obtain the switching comprehensive value of the current network according to the network wireless side indicator data of the current call of the terminal.

[0048] In step 101, the network wireless side indicator data includes network signal strength data and network signal quality data.

[0049] Exemplarily, step 101 may be implemented by periodically acquiring signal strength data and signal quality data of the current call of the terminal from the network management platform.

[0050] In some embodiments, the switching comprehensive value m of the current network can be calculated according to formula (1).

[0051]

[0052] In formula (1), A is the first event. B is the second event. α and β are weight coefficients. R is the network signal strength data of the current call of the terminal. R thr is the preset switching threshold value of the network signal strength. Q is the network signal quality data of the current call of the terminal. Q thr It is the preset switching threshold value of network signal quality.

[0053] It is understandable that the terminal may be connected to an LTE network or a Wi-Fi network. For example, when the network used by the terminal for the current call is an LTE network, the signal strength data of the LTE network can be recorded as R LTE , the signal strength switching threshold of the LTE network can be recorded as R LTEthr , the signal quality data of the LTE network can be recorded as Q LTE , the signal quality switching threshold of the LTE network can be recorded as Q LTEthr For example, when the network used by the terminal for the current call is a Wi-Fi network, the signal strength data of the Wi-Fi network can be recorded as R Wi-Fi , the signal strength switching threshold of the Wi-Fi network can be recorded as R Wi-Fithr , the signal quality data of the Wi-Fi network can be recorded as Q Wi-Fi , the signal quality switching threshold of the Wi-Fi network can be recorded as Q Wi-Fithr .

[0054] That is, the network signal strength data R of the current call of the terminal in formula (1) may refer to the signal strength data R of the LTE network. LTE It can also refer to the signal strength data of the Wi-Fi network. Wi-F For example, in formula (1), the network signal strength data R of the current call of the terminal refers to the signal strength data R of the LTE network. LTE For example, the network signal quality data Q of the current call of the terminal in formula (1) refers to the LTE network signal quality data Q LTE , the preset switching threshold value R of the network signal strength thr Refers to the signal strength switching threshold R of the LTE networkLTEthr , and the preset switching threshold value Q of the network signal quality thr Refers to the signal quality switching threshold value Q of the LTE network LTEthr .

[0055] It can be understood that whether the various wireless side indicators of the network where a terminal (user) is currently talking can be recorded as an event and assigned a value, that is, whether the signal strength data is lower than the threshold value of the signal strength data is recorded as event A, and whether the signal quality data is lower than the threshold value of the signal quality data is recorded as event B. If the signal strength data (the signal strength data is a negative number) is higher than the threshold value of the signal strength data, it means that the signal strength can meet the service requirements, then A is 1, otherwise it is 0. If the signal quality data (the signal quality data is a positive number) is higher than the threshold value, then the value of B is 1, indicating that the signal quality meets the service requirements, otherwise it is 0, as shown in formula (1).

[0056] It can be understood that the weight coefficient α in formula (1) is used to adjust the proportion of event A when performing network switching, and the weight coefficient β is used to adjust the proportion of event B when performing network switching. The smaller the weight coefficient, the smaller the proportion of the event corresponding to the weight coefficient when performing network switching. The value of each event is multiplied by its respective weight coefficient and then summed to obtain the switching comprehensive value m, as shown in formula (1).

[0057] Step 102: In response to the switching comprehensive value of the current network being higher than a first preset threshold, obtaining wireless side indicator data of at least one switchable network of the terminal at the current location and each network in at least one switchable network.

[0058] In step 102, the type of each network in at least one switchable network is different from the type of the network currently used by the terminal.

[0059] It is understandable that if the switching comprehensive value of the current network is higher than the first preset threshold, it means that the current network signal is good, on this basis, a more suitable network can be selected through the following steps. It is understandable that the value of the first preset threshold can be set according to the actual application scenario.

[0060] It can be understood that if the terminal is currently conducting voice services in the LTE network, all Wi-Fi network signals and their wireless side indicators that can be received at the current location of the terminal can be obtained through the network management platform. If the terminal is currently conducting voice services in the Wi-Fi network, all LTE network signals and their wireless side indicators that can be received at the current location of the terminal can be obtained through the network management platform.

[0061] Understandably, LTE networks can use multiple frequency bands, so a terminal can receive signals from multiple switchable LTE networks. For example, a certain operator's LTE network has three frequency bands, namely 1830MHZ-1840MHZ, 1840MHZ-1860MHZ, and 2130MHZ-2150MHZ. Three LTE base stations can be built in the same place, and each base station occupies a different frequency band, thus forming multiple LTE networks. In this case, users can choose one of the LTE networks to connect to.

[0062] Step 103: Determine whether to perform switching based on wireless side indicator data of each network in at least one switchable network. In response to determining to perform switching, determine a target network from at least one switchable network and perform switching.

[0063] In some embodiments, Figure 2 As shown, the implementation of step 103 includes steps 201 to 203.

[0064] Step 201: Obtain a switching comprehensive value of each network in at least one switchable network according to wireless side indicator data of each network in at least one switchable network.

[0065] It can be understood that the switching comprehensive value of each network in at least one switchable network can be obtained according to formula (1).

[0066] Step 202: Acquire the real-time characteristic value of the terminal.

[0067] In some embodiments, the implementation method of step 202 includes: obtaining a real-time characteristic value of the terminal according to the current speed of the terminal, the environment in which the terminal is located, the current remaining power data of the terminal, and the remaining amount of the current mobile data traffic of the terminal. The real-time characteristic value of the terminal is positively correlated with the current speed of the terminal, the current remaining power data of the terminal, and the remaining amount of the current mobile data traffic of the terminal, respectively, and the environment in which the terminal is located includes an indoor environment and an outdoor environment.

[0068] Understandably, LTE networks have better support capabilities for terminals with faster mobile speeds than Wi-Fi networks. Wi-Fi networks are more conducive to helping terminals save energy than LTE networks. Therefore, when the terminal currently has a lot of remaining power data, the terminal does not need to choose a Wi-Fi network for energy saving. When the terminal currently has a lot of remaining mobile data traffic, the terminal also does not need to choose a Wi-Fi network to save mobile data traffic. In addition, in outdoor environments, terminal users are more inclined to choose LTE networks, and in indoor environments, terminal users are more inclined to choose Wi-Fi networks.

[0069] It can be understood that the real-time characteristic value of the terminal is positively correlated with the current speed of the terminal, the current remaining power data of the terminal, and the remaining amount of the current mobile data flow of the terminal. If the environment in which the terminal is located is assigned a value, and the environment in which the terminal is located is assigned a value of 1, and the environment described by the terminal is assigned a value of 0 for an outdoor environment, then when the environment in which the terminal is currently located is an indoor environment, the current speed of the terminal is fast, the current remaining power data of the terminal is large, and the remaining amount of the current mobile data flow of the terminal is large, the real-time characteristic value of the terminal is large, and vice versa. Thus, the larger the real-time characteristic value of the terminal, the larger the data of at least one of the current speed of the terminal, the current remaining power data of the terminal, and the remaining amount of the current mobile data flow of the terminal, and the greater the possibility that the environment in which the terminal is located is an indoor environment, the more inclined the terminal is to select the LTE network. The smaller the real-time characteristic value of the terminal, the smaller the data of at least one of the current speed of the terminal, the current remaining power data of the terminal, and the remaining amount of the current mobile data flow of the terminal, and the greater the possibility that the environment in which the terminal is located is an outdoor environment, the more inclined the terminal is to select the Wi-Fi network.

[0070] Exemplarily, a second preset threshold can be set according to an actual application scenario. When the real-time characteristic value of the terminal is greater than the second preset threshold, the terminal tends to select an LTE network, and when the real-time characteristic value of the terminal is less than the second preset threshold, the terminal tends to select a Wi-Fi network.

[0071] Exemplarily, the real-time characteristic value score of the terminal can be calculated according to formula (2).

[0072] score=a×f(v)+b×f(h)+c×f(i)+d×f(j) (2)

[0073] In formula (2), f(v) is a function positively correlated with the terminal's mobile speed v, and the maximum and minimum values ​​of f(v) are 1 and 0, respectively. f(h) is a function of the terminal's environment h, and when the terminal's environment h is an outdoor environment, f(h) = 1, and when the terminal's environment h is an indoor environment, f(h) = 0. f(i) is a function positively correlated with the current remaining battery power data i of the terminal, and f(j) is a function positively correlated with the current remaining mobile data traffic j of the terminal. a, b, c, and d are weight coefficients, respectively.

[0074] It can be understood that in formula (2), f(v) is a function of the terminal's mobile speed v, which is used to represent the impact of the terminal's mobile speed on network selection. f(h) is a function of the terminal's environment, which is used to represent the impact of the terminal's environment on network selection. f(i) is a function of the terminal's current remaining power data i, which is used to represent the impact of the current remaining power data i on the terminal's network selection. f(j) is a function of the terminal's current remaining mobile data traffic j, which is used to represent the impact of the terminal user's network selection while saving data. a, b, c, and d respectively represent the importance of each factor in the calculation process of the terminal's real-time characteristic value score. The sum of a, b, c, and d is equal to 1, which is used to adjust the relative importance of each factor in the decision-making. These weights can be adjusted according to actual needs.

[0075] Exemplarily, the expression of function f(v) can be shown in formula (3), where f(v) is a continuous function. The faster the terminal moves, the more inclined the terminal is to select the LTE network. This is because the LTE network has better support capabilities for terminals with faster movement speeds. Designing the function to be continuous can more accurately reflect the impact of speed on network selection.

[0076]

[0077] In formula (3), k is a parameter that controls the steepness of the function. 0 is the midpoint of the speed, that is, the function value is close to 0.5 near this speed. The maximum and minimum values ​​of the function f(v) are 1 and 0, respectively. When the speed is close to positive infinity, the output value of the function f(v) approaches 1, that is, the maximum value is 1. The output range of the function f(v) is between 0 and 1, so it is commonly used to express probability or selection tendency, so that the output value of the function f(v) can be used as the probability that the terminal chooses to use LTE at the current mobile speed.

[0078] It can be understood that, as shown in formula (3), at the current speed of the terminal <v 0 In the case of , the current speed of the terminal is slow, and the output value of the function f(v) tends to 0, indicating that the user is more inclined to choose the Wi-Fi network. 0 In the case of , the current speed of the terminal is moderate, and the output value of the function f(v) is about 0.5, indicating that the probability of the user choosing to use LTE and Wi-Fi is equal. 0 In the case of , the current speed of the terminal is faster, and the output value of the function f(v) tends to 1, indicating that the user is more inclined to choose the LTE network.

[0079] It can be understood that in formula (2), f(h) is a function of the environment in which the terminal is located, and the environment in which the terminal is located includes an indoor environment and an outdoor environment. When the environment in which the terminal is located is an outdoor environment, f(h)=1, and when the environment in which the terminal is located is an indoor environment, f(h)=0. The terminal may not receive the signal of the Wi-Fi network in the outdoor environment, and the LTE network performance is better, so the terminal generally tends to use the LTE network. In the indoor environment, the network quality and network strength of the Wi-Fi network are better, and it can save mobile data traffic for the terminal, so the terminal generally tends to use the Wi-Fi network.

[0080] For example, the engineering parameter information of all LTE networks and Wi-Fi networks can be recorded in a database. The engineering parameter information is usually used to record relevant physical information of the network, such as the location covered by the network, whether the location is indoors or outdoors, the time when the network was opened, etc. By checking the network engineering parameter information in the above database, the terminal can determine whether the environment in which the terminal is located is an indoor environment or an outdoor environment based on the relevant information of the connected network type (LTE network or Wi-Fi network).

[0081] In formula (2), f(i) is a function of the current remaining power data of the terminal. The terminal can obtain the status of its own battery and understand the remaining power. When the remaining power of the terminal is low, the terminal may be more inclined to select a network that can save energy for the terminal, that is, select a Wi-Fi network.

[0082] Exemplarily, f(i)=percentage of the remaining battery power of the terminal, that is, f(i) is a linear function. The lower the remaining battery power of the terminal, the lower the value of f(i), and the more the terminal is inclined to select a Wi-Fi network.

[0083] In formula (2), f(j) is a function of the remaining amount of the current mobile data traffic of the terminal. If the terminal is currently connected to an LTE network, the user is more inclined to use a Wi-Fi network when saving traffic.

[0084] Exemplarily, f(j) = user package remaining amount / user data quota, where the user package remaining amount represents the remaining data traffic in the user's current package, which can be obtained by accessing the terminal account information. The user data quota represents the total data quota in the user package, which refers to the total data usage quota that the user has in a specific billing cycle. It can be understood that in mobile communications, users usually purchase a certain package plan, which may include a certain amount of call time, number of text messages and data quota. Taking data as an example, a user package may stipulate that it includes 5GB of data usage per month, that is, the user data quota is 5GB, which represents the upper limit of the data that the user can use in a month.

[0085] Step 203: Determine whether to switch based on the switching comprehensive value of each network in at least one switchable network and the real-time characteristic value of the terminal, or determine a target network from at least one switchable network and switch.

[0086] In some embodiments, the network type currently used by the terminal is an LTE network, and the type of each network in at least one switchable network is a Wi-Fi network. Figure 3 As shown, the implementation method of step 203 includes steps 301 to 304.

[0087] Step 301: In response to a real-time characteristic value of a terminal being greater than a second preset threshold, determine not to switch.

[0088] It can be understood that according to formula (2) and the explanation of formula (2), when the real-time characteristic value of the terminal is greater than the second preset threshold, the terminal is more inclined to select the LTE network, and the network type currently used by the terminal is the LTE network, and from the above content it can be seen that the signal quality and signal strength of the network currently used by the terminal are good, so there is no need to switch.

[0089] Step 302: In response to the real-time characteristic value of the terminal being less than a second preset threshold, determining whether there is at least one quasi-target network.

[0090] In step 302, each network in the at least one quasi-target network is a network in the at least one switchable network, and a switching comprehensive value of each network in the at least one quasi-target network is greater than a third preset threshold.

[0091] It can be understood that according to formula (2) and the explanation of formula (2), when the real-time characteristic value of the terminal is less than the second preset threshold, the terminal is more inclined to select the Wi-Fi network, and the network type currently used by the terminal is the LTE network, then the type of each network in at least one switchable network is the Wi-Fi network, so that a target network can be determined in at least one switchable network for switching. In order to ensure the service quality after switching, it is necessary to ensure that the network quality and network strength of the target network are good (for example, the network switching comprehensive value greater than the third preset threshold can be considered to be good network strength), that is, at least one quasi-target network with good network quality and network strength can be determined from at least one switchable network.

[0092] It can be understood that the value of the third preset threshold can be set according to the actual application scenario.

[0093] Step 303: In response to the absence of at least one quasi-target network, determine not to switch.

[0094] It can be understood that if there is no at least one quasi-target network, it means that the network quality and network strength of each network in at least one switchable network are not good, so the current connection can be maintained without switching.

[0095] Step 304: In response to the existence of at least one quasi-target network, determine a target network from each network of the at least one quasi-target network and perform switching.

[0096] It can be understood that if there is at least one quasi-target network, the target network can be determined according to the number of networks included in the at least one quasi-target network.

[0097] In some embodiments, the implementation method of step 304 includes: in response to at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal are all less than the second preset threshold within a first preset time period, and the number of networks and network names included in at least one quasi-target network remain unchanged within the first preset time period, then a network included in at least one quasi-target network is determined as a target network and switched.

[0098] It can be understood that at least one quasi-target network includes only one network and the real-time characteristic values ​​of the terminal in the first preset period are all less than the second preset threshold, indicating that the terminal still tends to switch to the Wi-Fi network. In the first preset period, the number of networks and network names included in at least one quasi-target network remain unchanged, and it is still a network included in at least one quasi-target network before the first preset period, which means that the network quality and network strength of the one network in the first preset period are good, and it can be considered that the one network can provide better services for the terminal, so that the one network can be used as the target network and switched.

[0099] In some embodiments, the implementation method of step 304 includes: in response to at least two networks included in at least one quasi-target network, and the real-time characteristic values ​​of the terminal are all less than the second preset threshold value within a first preset time period, and the number of networks and network names included in at least one quasi-target network remain unchanged within the first preset time period, then one network is determined as the target network among the at least two networks included in the at least one quasi-target network and switched.

[0100] It can be understood that at least one quasi-target network includes at least two networks and the real-time characteristic values ​​of the terminal are all less than the second preset threshold value during the first preset period, indicating that the terminal still tends to switch to the Wi-Fi network. During the first preset period, the number of networks and network names included in at least one quasi-target network remain unchanged, which means that the network quality and network strength of each network in the at least one quasi-target network are good during the first preset period. It can be considered that at least two networks included in at least one quasi-target network can provide good services for the terminal, so that one network can be determined as the target network from the at least two networks included in at least one quasi-target network and switched.

[0101] Exemplarily, when at least one quasi-target network includes at least two networks, the terminal may randomly determine a target network in the at least one quasi-target network and perform switching.

[0102] In some embodiments, the method for implementing the step of determining one of the at least two networks included in the at least one quasi-target network as the target network and switching includes: selecting a network with the longest historical connection time from the at least two networks included in the at least one quasi-target network according to the historical data of the terminal using the Wi-Fi network as the target network and switching. The historical data of the terminal using the Wi-Fi network includes the name of each Wi-Fi network in the at least one Wi-Fi network used by the terminal in the most recent first period and the historical connection time of each Wi-Fi network used by the terminal in the first period.

[0103] It can be understood that if the network type currently used by the terminal is an LTE network, the type of each network in at least one switchable network is a Wi-Fi network, that is, the type of each network in at least one quasi-target network is also a Wi-Fi network, so that one network can be determined as the target network from at least two networks included in at least one quasi-target network based on the historical data of the terminal using the Wi-Fi network.

[0104] It can be understood that the historical data of the terminal using the Wi-Fi network includes the name of each Wi-Fi network in at least one Wi-Fi network used by the terminal in the most recent first period and the historical connection duration of each Wi-Fi network in at least one Wi-Fi network used by the terminal in the first period. That is to say, the historical data of the terminal using the Wi-Fi network includes not only the historical data of at least two networks included in at least one quasi-target network, but may also include the historical data of the Wi-Fi network. In addition, the historical data of the terminal using the Wi-Fi network can be periodically acquired and periodically stored in the terminal, and the historical connection duration of each Wi-Fi network in at least one Wi-Fi network used by the terminal in the first period can refer to the total connection duration of each Wi-Fi network in at least one Wi-Fi network used by the terminal in the first period.

[0105] Exemplarily, historical data of the use of the Wi-Fi network by the terminal within a period (T days, T is an integer, for example, T is 8 in Table 1) is shown in Table 1.

[0106] Table 1 Historical data of terminals using Wi-Fi networks

[0107]

[0108] Table 1 records the names of the Wi-Fi networks (Wi-Fi network 1, Wi-Fi network 2, and Wi-Fi network 3) used by the terminal in the first period (8 days), the duration for which the terminal is connected to each Wi-Fi network each day, and the total duration for which the terminal is connected to each Wi-Fi network in the first period.

[0109] Exemplarily, taking the case where at least one quasi-target network includes two networks, and the two networks are Wi-Fi network 2 and Wi-Fi network 3, the network with the longest total time (i.e., Wi-Fi network 3) is selected as the target network and switched.

[0110] It can be understood that the comprehensive switching value of each network in at least one quasi-target network needs to be greater than the third preset threshold. If the comprehensive switching value of Wi-Fi network 1 in Table 1 is less than the third preset threshold, the network signal strength or network signal quality of Wi-Fi network 1 cannot meet the requirements, that is, Wi-Fi network 1 cannot become one of the networks in at least one quasi-target network. When comparing the total duration, Wi-Fi network 1 needs to be eliminated.

[0111] It can be understood that the method of selecting a network with the longest historical connection time from at least two networks included in at least one quasi-target network as the target network and switching the network takes into account the usage habits of the terminal user and can improve the user experience.

[0112] In some embodiments, in response to the network type currently used by the terminal being a Wi-Fi network, the type of each network in at least one switchable network is an LTE network. Figure 4 As shown, the implementation method of step 203 includes steps 401 to 404.

[0113] Step 401: In response to a real-time characteristic value of a terminal being less than a second preset threshold, determining not to switch.

[0114] It can be understood that according to formula (2) and the explanation of formula (2), when the real-time characteristic value of the terminal is less than the second preset threshold, the terminal is more inclined to select the Wi-Fi network, and the network type currently used by the terminal is the Wi-Fi network, and from the foregoing content it can be known that the signal quality and signal strength of the network currently used by the terminal are good, so there is no need to switch.

[0115] Step 402: In response to the real-time characteristic value of the terminal being greater than a second preset threshold, determining whether there is at least one quasi-target network.

[0116] In step 402, each network in the at least one quasi-target network is a network in the at least one switchable network, and a switching comprehensive value of each network in the at least one quasi-target network is greater than a third preset threshold.

[0117] It can be understood that according to formula (2) and the explanation of formula (2), when the real-time characteristic value of the terminal is greater than the second preset threshold, the terminal is more inclined to select the LTE network, and the network type currently used by the terminal is a Wi-Fi network, then the type of each network in at least one switchable network is a Wi-Fi network, so that a target network can be determined in at least one switchable network for switching. In order to ensure the service quality after switching, it is necessary to ensure that the network quality and network strength of the target network are good, that is, at least one quasi-target network with good network quality and network strength can be determined from at least one switchable network.

[0118] Step 403: In response to the absence of at least one quasi-target network, determine not to switch.

[0119] It can be understood that if there is no at least one quasi-target network, it means that the network quality and network strength of each network in at least one switchable network are not good, so the current connection can be maintained without switching.

[0120] Step 404: In response to the existence of at least one quasi-target network, determine a target network from each network of the at least one quasi-target network and perform switching.

[0121] It can be understood that if there is at least one quasi-target network, the target network can be determined according to the number of networks included in the at least one quasi-target network.

[0122] In some embodiments, the implementation method of step 404 includes: In some embodiments, the implementation method of step 304 includes: in response to at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal are greater than the second preset threshold within the first preset time period, and the number and network names of the networks included in at least one quasi-target network remain unchanged within the first preset time period, then a network included in the at least one quasi-target network is determined as the target network and switched.

[0123] It can be understood that at least one quasi-target network includes only one network and the real-time characteristic values ​​of the terminal in the first preset time period are greater than the second preset threshold, indicating that the terminal still tends to switch to the LTE network. In the first preset time period, the number of networks and network names included in at least one quasi-target network remain unchanged, and it is still a network included in at least one quasi-target network before the first preset time period, which means that the network quality and network strength of the one network in the first preset time period are good, and it can be considered that the one network can provide better services for the terminal, so that the one network can be used as the target network and switched.

[0124] In some embodiments, the implementation method of step 304 includes: in response to at least two networks included in at least one quasi-target network, and the real-time characteristic values ​​of the terminal are greater than the second preset threshold value within a first preset time period, and the number of networks and network names included in at least one quasi-target network remain unchanged within the first preset time period, then one network is determined as the target network among the at least two networks included in the at least one quasi-target network and switched.

[0125] It can be understood that at least one quasi-target network includes at least two networks and the real-time characteristic values ​​of the terminal are greater than the second preset threshold value within the first preset time period, indicating that the terminal still tends to switch to the LTE network. Within the first preset time period, the number of networks and network names included in at least one quasi-target network remain unchanged, which means that the network quality and network strength of each network in the at least one quasi-target network are good within the first preset time period. It can be considered that at least two networks included in at least one quasi-target network can provide better services for the terminal, so that one network can be determined as the target network from the at least two networks included in at least one quasi-target network and switched.

[0126] Exemplarily, when at least one quasi-target network includes at least two networks, the terminal may randomly determine a target network in the at least one quasi-target network and perform switching.

[0127] In some embodiments, a method for determining a network as a target network from at least two networks included in at least one quasi-target network and performing switching includes: selecting a network with a maximum switching comprehensive value from at least two networks included in at least one switchable network as the target network and performing switching.

[0128] It can be understood that if the network type currently used by the terminal is a Wi-Fi network, the types of at least two networks included in at least one switchable network are both LTE networks. The larger the switching comprehensive value, the better the network quality and network strength, so that a network with the best network quality and network strength (i.e., the network with the largest switching comprehensive value) can be selected as the target network.

[0129] An embodiment of the present invention provides a service switching method based on user behavior. When the quality of mobile LTE network and Wi-Fi signal are both good, by introducing user behavior, the current speed of the terminal, the environment in which the terminal is located, the current remaining power data of the terminal and the remaining amount of the current mobile data traffic of the terminal are included in the consideration range of the terminal when performing network switching, so that the terminal can select a more suitable network, which can not only solve the problems of call interruption and poor call quality, but also avoid ping-pong switching phenomenon, and improve the user's voice call experience.

[0130] A service switching method based on user behavior provided by an embodiment of the present invention is exemplarily described below with a specific example.

[0131] This example considers a method in which, when the signal quality of a mobile network (LTE network) and a Wi-Fi network is good, a terminal can select a more suitable network according to user behavior. The method includes steps 1 to 7.

[0132] Step 1: Establish a database to store a user's behavior of connecting to and using Wi-Fi networks in a recent period of time T (days) (the value of T is not specifically limited in this example and can be set according to actual needs. It is recommended to be greater than 7 days in general), including the names and connection durations of all Wi-Fi networks used for daily connections, and sum the connection durations of each Wi-Fi network for T (days), recorded as h (hours), to form a record table of Wi-Fi network connection history of a user in the recent T days, the format and fields of which are shown in Table 2.

[0133] Table 2 Historical data of Wi-Fi network of terminals within T days

[0134]

[0135] Step 2: At intervals of t, network wireless indicators of a user's current call are extracted from the network management platform, including signal strength R and signal quality Q.

[0136] Step 3: Setting the switching threshold of each wireless side indicator. If the switching comprehensive value of the wireless side indicator of the network where the user is currently talking is higher than the first preset threshold, proceed to step 4.

[0137] Assume that the signal strength of the network is recorded as R, and the corresponding switching threshold is recorded as R thr ;

[0138] Assume that the signal quality of the network is recorded as Q, and the corresponding switching threshold is recorded as Q thr ;

[0139] The signal strength R of the LTE network is denoted by R LTE , the switching threshold is recorded as R LTEthr ;

[0140] The signal strength R of the Wi-Fi network is denoted by R Wi-F , the switching threshold is recorded as R Wi-Fithr ;

[0141] The LTE network signal quality Q is denoted as Q LTE , the switching threshold is recorded as Q LTEthr ;

[0142] The signal quality Q of the Wi-Fi network is denoted by Q Wi-Fi , the switching threshold is recorded as Q Wi-Fiihr .

[0143] Whether the various wireless indicators of the network where a user is currently talking are lower than their respective thresholds is set as an event and assigned a value, that is, whether the signal strength R is lower than the threshold is event A, and whether the signal quality Q is lower than the threshold is event B. If the signal strength R (the value is a negative number) is better than the threshold, it means that the signal strength can meet the service requirements, then A is 1, otherwise it is 0. If the signal quality Q (the value is a positive number) is better than the threshold, then the value of B is 1, indicating that the signal quality meets the service requirements, otherwise it is 0. That is:

[0144]

[0145] Assume that the weight adjustment coefficients of events A and B are α and β respectively. The coefficients are used to adjust the weight of each event during switching. The smaller the coefficient, the smaller the weight of the corresponding event during switching. And it must meet the following conditions:

[0146]

[0147] Multiply the value of each event by its respective weight coefficient and then sum them up to get the switching comprehensive value m, that is:

[0148] m=αA+βB

[0149] According to the event discrimination rule, the values ​​of A and B are calculated respectively, and then the switching comprehensive value of the current network is calculated according to the weight adjustment coefficient. Since the switching method proposed in the present invention considers selecting a more suitable network when the mobile network and Wi-Fi signals are good, step 4 is entered only when the switching comprehensive value of the current network is higher than the first preset threshold.

[0150] Specifically, the terminal may be connected to an LTE network or a Wi-Fi network.

[0151] Assuming that the terminal is in an LTE network, when the switching comprehensive value of the LTE network to which the terminal is connected is higher than a first preset threshold, step 4 is entered.

[0152] Assuming that the terminal is in a Wi-Fi network, when the switching comprehensive value of the Wi-Fi to which the terminal is connected is higher than the first preset threshold, step 4 is entered.

[0153] Step 4: Extract all the network signals to be switched and their wireless side indicators that can be received by the user's current location terminal through the network management platform, namely:

[0154] ① If the user is currently using the LTE network for voice services, the network management platform will be used to extract all Wi-Fi network signals and their wireless indicators that the user's current location terminal can receive;

[0155] ② If the user is currently using the Wi-Fi network for voice services, the network management platform will be used to extract all LTE network signals and their wireless side indicators that the user's current location terminal can receive;

[0156] Step 5: According to the wireless side indicators of each Wi-Fi / LTE network to be switched in step 4, according to the event judgment rule in step 3, the values ​​of A and B are calculated respectively, and then the switching comprehensive value of each network is calculated according to the weight adjustment coefficient, and the Wi-Fi / LTE network to be switched whose switching comprehensive value is less than the third preset threshold is eliminated.

[0157] The reason for eliminating this requirement is actually to ensure that the signal strength and signal quality meet the communication requirements regardless of whether it is in LTE or Wi-Fi network, so that a more suitable network can be selected based on factors such as user behavior or user habits.

[0158] Step 6: Calculate the user's feature value score based on the terminal user's features:

[0159] score=a×f(v)+b×f(h)+c×f(i)+d×f(j)

[0160] Where: f(v) is a function of the terminal's mobile speed v, which is used to indicate the impact of the terminal's mobile speed on network selection. f(h) is a function of the terminal's environment, which is used to indicate the impact of the terminal's environment on network selection. f(i) is a function of the terminal's current remaining power data i, which is used to indicate the impact of the current remaining power data i on the terminal's network selection. f(j) is a function of the terminal's current remaining mobile data traffic j, which is used to indicate the impact of the terminal user's network selection while saving data. a, b, c, and d respectively represent the importance of each factor in the calculation process of the terminal's real-time characteristic value score. The sum of a, b, c, and d is equal to 1, which is used to adjust the relative importance of each factor in the decision-making process. These weights can be adjusted according to actual needs.

[0161] Specifically: f(v) is a function of the terminal's mobile speed v. The faster the terminal speed, the more likely it is to choose the LTE network, because LTE has better support for high-speed users. Therefore, designing the function f(v) to be continuous can more accurately reflect the impact of speed on network selection, for example:

[0162]

[0163] Where: k is a parameter that controls the steepness of the function. 0 is the midpoint of the velocity, i.e., the velocity around which the function's value is close to 0.5.

[0164] The maximum and minimum values ​​of the function f(v) are 1 and 0, respectively. When the speed is infinitely close to +∞, the function approaches 1, that is, the maximum value is 1. It is very commonly used to express probability or selection tendency because its output range is between 0 and 1. In this scenario, the output of the function can be interpreted as the probability that the user chooses to use LTE at a given speed.

[0165] Slower speed (speed <v 0 ): When the speed is slower, the output of function f(v) tends to 0, indicating that users are more inclined to choose Wi-Fi networks.

[0166] Moderate speed (speed ≈ v 0 ): When the speed is moderate, the output value of function f(v) is about 0.5, indicating that the probability of users choosing to use LTE and Wi-Fi is equal.

[0167] Faster speed (speed>v 0 ): When the speed is faster, the output of the function f(v) tends to 1, indicating that users are more inclined to choose the LTE network.

[0168] f(h) is a function of the environment in which the terminal is located. Assume that there is a database that stores the information of all mobile networks and Wi-Fi parameters. The information of parameters is usually used to record the relevant physical information of the network, such as the location of network coverage, whether the location is indoors or outdoors, the time when the network was opened, etc. The terminal determines whether the network coverage to which the terminal is connected is mainly indoors or outdoors by checking the network parameters in the database based on the relevant information of the connected network type (LTE or Wi-Fi).

[0169] If the terminal is outdoors, f(h) = 1, and the LTE network is preferred. If the terminal is indoors, f(h) = 0, and the Wi-Fi network is preferred. This is because the LTE network has better performance outdoors and can better support user needs.

[0170] f(i) is a function of the current remaining power of the terminal i: the terminal obtains its own current remaining power to understand the remaining power. When the remaining power is low, the terminal may be more inclined to choose an energy-saving option, that is, to choose a Wi-Fi network.

[0171] For example, f(i) = the remaining battery percentage. In this example, f(i) is a linear function of the current remaining battery i of the terminal, indicating that the lower the current remaining battery, the lower the corresponding score, and the more the terminal is inclined to select the Wi-Fi network.

[0172] f(j) can be considered as a function of data usage: if the terminal is connected to a mobile network, the user may prefer to use a Wi-Fi network when he needs to save traffic.

[0173] For example, f(j) = user package remaining amount / user data quota, where user package remaining amount: represents the remaining data traffic in the user's current package, which can be obtained by accessing the terminal account information.

[0174] User data quota: indicates the total data quota in the user package. It refers to the total data usage quota that the user has in a specific billing cycle. In mobile communications, users usually purchase a package plan, which may include a certain amount of call time, number of text messages and data quota. Taking data as an example, a user package may stipulate that it includes 5GB of data usage per month. This is the total data quota in the user package, which indicates the upper limit of the data that the user can use in a month.

[0175] Step 7: Make a switching decision according to the following steps.

[0176] ① If the user is currently using the LTE network for voice services, then:

[0177] 1) According to the Wi-Fi network names in the information table of step 1 and step 5, match the user's historical connection duration of each Wi-Fi network to be switched; according to step 5, select n' from Table 2

[0178] Among the Wi-Fi network information, the Wi-Fi network information to be switched whose switching comprehensive value is less than the third preset threshold is eliminated, that is, the network information whose signal strength and signal quality do not meet the conditions is directly eliminated to obtain the remaining n Wi-Fi network information.

[0179] 2) According to the real-time characteristic value scroe of the terminal, a switching decision based on user behavior is made:

[0180] If the real-time characteristic value scroe of the terminal is greater than the second preset threshold, it is chosen to continue to connect to the current LTE network.

[0181] If the real-time characteristic value scroe of the terminal is less than the second preset threshold, it is selected to switch to one of the n Wi-Fi networks.

[0182] If you switch:

[0183] a) If n=0, no switching;

[0184] b) if n=1, within a continuous period of time, if the real-time characteristic value scroe of the terminal is less than a second preset threshold value and the name of the unique Wi-Fi network remains unchanged and n=1, switching from the current LTE network to the unique Wi-Fi network;

[0185] c) If n≥2, the switching decision condition is met for a continuous period of time x, if the real-time characteristic value scroe of the terminal is less than the second preset threshold value and the names of the n Wi-Fi networks remain unchanged, and the value of n remains unchanged, then the historical connection duration h is selected from the n Wi-Fi networks to be switched. i The longest i-th network (1≤i≤n) is taken as the target network, that is:

[0186] max{h 1 ,…h i …h n}

[0187] Prioritize switching to the Wi-Fi network with the longest historical connection time for the user.

[0188] 3) Complete the switch from LTE network to Wi-Fi.

[0189] ② If the user is currently using a Wi-Fi network for voice services,

[0190] 1) From the n network information, the LTE networks to be switched whose switching comprehensive values ​​are less than a third preset threshold are eliminated to obtain the remaining n LTE networks.

[0191] 2) According to the real-time characteristic value scroe of the terminal, a switching decision based on user behavior is made:

[0192] If the real-time characteristic value scroe of the terminal is greater than the second preset threshold, it is selected to switch to LTE.

[0193] If the real-time characteristic value scroe of the terminal is less than the second preset threshold, it is selected to continue connecting to the Wi-Fi.

[0194] a) If n=0, no switching;

[0195] b) if n=1, within a continuous period of time, if the real-time characteristic value scroe of the terminal is less than the second preset threshold value and the name of the unique LTE network remains unchanged and n=1, then switch from the current LTE network to the unique LTE network;

[0196] c) If n ≥ 2, and the switching decision condition is met for a continuous period of time x, if the real-time characteristic value scroe of the terminal is less than the second preset threshold value and the names of the n LTE networks remain unchanged, and the value of n remains unchanged, then from the n LTE networks to be switched, the LTE network with the largest switching comprehensive value is selected as the target network, that is,

[0197] max{m 1 ,…m i …}

[0198] 3) Complete the switch from Wi-Fi network to LTE network.

[0199] After the time interval t(s) is reached, repeat the process from step 2.

[0200] Some embodiments of the present invention provide a service switching device based on user behavior, which is applied to a terminal, such as Figure 5 As shown, the service switching device 500 includes a switching comprehensive value acquisition module 501, a wireless side indicator data acquisition module 502 and a network switching module 503.

[0201] The switching comprehensive value acquisition module 501 is configured to: acquire network wireless side indicator data of the current call of the terminal, and acquire the current network switching comprehensive value according to the network wireless side indicator data of the current call of the terminal. The network wireless side indicator data includes network signal strength data and network signal quality data.

[0202] In some embodiments, the handover comprehensive value acquisition module 501 is configured to calculate the handover comprehensive value m of the current network according to formula (1).

[0203]

[0204] In formula (1), A is the first event. B is the second event. α and β are weight coefficients. R is the network signal strength data of the current call of the terminal. R thr is the preset switching threshold value of the network signal strength. Q is the network signal quality data of the current call of the terminal. Q thr It is the preset switching threshold value of network signal quality.

[0205] The wireless side indicator data acquisition module 502 is configured to: in response to the switching comprehensive value of the current network being higher than the first preset threshold, acquire the wireless side indicator data of at least one switchable network of the terminal at the current location and each network in at least one switchable network. The type of each network in at least one switchable network is different from the type of the network currently used by the terminal.

[0206] The network switching module 503 is configured to determine whether to switch based on the wireless side indicator data of each network in at least one switchable network, and in response to determining to switch, determine a target network from at least one switchable network and switch.

[0207] In some embodiments, Figure 6 As shown, the network switching module 503 includes a switching comprehensive value acquisition unit 601 , a real-time characteristic value acquisition unit 602 and a network switching unit 603 .

[0208] The switching comprehensive value acquisition unit 601 is configured to: acquire the switching comprehensive value of each network in at least one switchable network according to the wireless side indicator data of each network in at least one switchable network.

[0209] The real-time feature value acquisition unit 602 is configured to acquire the real-time feature value of the terminal.

[0210] In some embodiments, the real-time characteristic value acquisition unit 602 is configured to: acquire the real-time characteristic value of the terminal according to the current speed of the terminal, the environment in which the terminal is located, the current remaining power data of the terminal, and the remaining amount of the current mobile data traffic of the terminal. The real-time characteristic value of the terminal is positively correlated with the current speed of the terminal, the current remaining power data of the terminal, and the remaining amount of the current mobile data traffic of the terminal, respectively, and the environment in which the terminal is located includes an indoor environment and an outdoor environment.

[0211] The network switching unit 603 is configured to determine whether to switch or determine a target network from at least one switchable network and switch based on the switching comprehensive value of each network in at least one switchable network and the real-time characteristic value of the terminal.

[0212] In some embodiments, in response to the network type currently used by the terminal being an LTE network, the type of each network in at least one switchable network is a Wi-Fi network. Figure 7 As shown, the network switching unit 603 is configured to: in response to the real-time characteristic value of the terminal being greater than the second preset threshold, determine not to switch. In response to the real-time characteristic value of the terminal being less than the second preset threshold, determine whether there is at least one quasi-target network. Wherein, each network in the at least one quasi-target network is a network in at least one switchable network, and the switching comprehensive value of each network in the at least one quasi-target network is greater than the third preset threshold. In response to the absence of at least one quasi-target network, determine not to switch. And, in response to the existence of at least one quasi-target network, determine the target network from each network of the at least one quasi-target network and switch.

[0213] In some embodiments, the network switching unit 603 is configured to: in response to at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal are all less than the second preset threshold within a first preset time period, and the number and network names of the networks included in at least one quasi-target network remain unchanged within the first preset time period, then a network included in at least one quasi-target network is determined as a target network and switched.

[0214] In some embodiments, the network switching unit 603 is configured to: in response to at least two networks being included in at least one quasi-target network, and the real-time characteristic values ​​of the terminal being less than a second preset threshold value within a first preset time period, and the number of networks and the network names included in at least one quasi-target network being unchanged within the first preset time period, then determining one network as the target network and switching it among the at least two networks included in at least one quasi-target network.

[0215] In some embodiments, the network switching unit 603 is configured to: select a network with the longest historical connection time from at least two networks included in at least one quasi-target network according to the historical data of the terminal using the Wi-Fi network as the target network and switch. The historical data of the terminal using the Wi-Fi network includes the name of each Wi-Fi network in at least one Wi-Fi network used by the terminal in the most recent first period and the historical connection time of each Wi-Fi network used by the terminal in the first period.

[0216] In some embodiments, in response to the network type currently used by the terminal being a Wi-Fi network, the type of each network in at least one switchable network is an LTE network. Then the network switching unit 603 is configured to: in response to the real-time characteristic value of the terminal being less than the second preset threshold, determine not to switch. In response to the real-time characteristic value of the terminal being greater than the second preset threshold, determine whether there is at least one quasi-target network. Among them, each network in at least one quasi-target network is a network in at least one switchable network, and the switching comprehensive value of each network in at least one quasi-target network is greater than the third preset threshold. In response to the absence of at least one quasi-target network, determine not to switch. And, in response to the existence of at least one quasi-target network, determine the target network from each network of at least one quasi-target network and switch.

[0217] In some embodiments, the network switching unit 603 is configured to: in response to at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal are greater than the second preset threshold within a first preset time period, and the number and network names of the networks included in at least one quasi-target network remain unchanged within the first preset time period, then a network included in at least one quasi-target network is determined as a target network and switched.

[0218] In some embodiments, the network switching unit 603 is configured to: in response to at least one quasi-target network including at least two networks, and the real-time characteristic values ​​of the terminal are greater than the second preset threshold within a first preset time period, and the number of networks and the network names included in at least one quasi-target network remain unchanged within the first preset time period, then determine one network as the target network and switch it among the at least two networks included in the at least one quasi-target network.

[0219] In some embodiments, the network switching unit 603 is configured to select a network with a maximum switching comprehensive value from at least two networks included in at least one quasi-target network as the target network and perform switching.

[0220] The specific scheme and beneficial effects of a service switching device 500 provided in some embodiments of the present invention can be referred to the relevant description of a service switching method based on user behavior provided in some embodiments of the present invention, which will not be repeated here.

[0221] Some embodiments of the present invention provide a computer device, such as Figure 7 As shown, the computer device 700 includes a memory 701 and a processor 702. The memory 701 stores a computer program. When the processor 702 runs the computer program stored in the memory 701, the processor 702 executes the above-mentioned service switching method based on user behavior.

[0222] The specific solutions and beneficial effects of a computer device provided by some embodiments of the present invention can be referred to the relevant description of a service switching method based on user behavior provided by some embodiments of the present invention, which will not be repeated here.

[0223] Some embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the above-mentioned service switching method based on user behavior.

[0224] The specific solutions and beneficial effects of a computer-readable storage medium provided by some embodiments of the present invention can be referred to the relevant description of a service switching method based on user behavior provided by some embodiments of the present invention, which will not be repeated here.

[0225] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A service switching method based on user behavior, characterized in that: Applied to a terminal, the method comprises: Obtain network wireless side indicator data of the current call of the terminal, and obtain the switching comprehensive value of the current network according to the network wireless side indicator data of the current call of the terminal; wherein the network wireless side indicator data includes network signal strength data and network signal quality data; In response to the switching comprehensive value of the current network being higher than a first preset threshold, obtaining wireless side indicator data of at least one switchable network of the terminal at the current location and each network in the at least one switchable network; wherein the type of each network in the at least one switchable network is different from the type of the network currently used by the terminal; and Determine whether to switch based on the wireless side indicator data of each network in the at least one switchable network; in response to determining to switch, determine the target network from the at least one switchable network and switch.

2. The service switching method based on user behavior according to claim 1, characterized in that: Determining whether to switch based on the wireless side indicator data of each network in the at least one switchable network; In response to determining to perform switching, determining a target network from the at least one switchable network and performing switching, comprising: Obtaining a switching comprehensive value of each network in the at least one switchable network according to the wireless side indicator data of each network in the at least one switchable network; Obtaining real-time characteristic values ​​of the terminal; and Determine whether to switch based on the comprehensive switching value of each network in the at least one switchable network and the real-time characteristic value of the terminal; in response to determining to switch, determine the target network from the at least one switchable network and switch.

3. The service switching method based on user behavior according to claim 2, characterized in that: The obtaining of the real-time characteristic value of the terminal includes: The real-time characteristic value of the terminal is obtained according to the current speed of the terminal, the environment in which the terminal is located, the current remaining power data of the terminal and the remaining amount of the current mobile data traffic of the terminal; the real-time characteristic value of the terminal is positively correlated with the current speed of the terminal, the current remaining power data of the terminal and the remaining amount of the current mobile data traffic of the terminal respectively; the environment in which the terminal is located includes indoor environment and outdoor environment.

4. The service switching method based on user behavior according to claim 2, characterized in that: In response to the type of the network currently used by the terminal being a long term evolution voice bearer LTE network, the type of each network in the at least one switchable network is a Wi-Fi network; determining whether to switch according to the switching comprehensive value of each network in the at least one switchable network and the real-time characteristic value of the terminal; In response to determining to perform switching, determining a target network from the at least one switchable network and performing switching, comprising: In response to the real-time characteristic value of the terminal being greater than a second preset threshold, determining not to switch; In response to the real-time characteristic value of the terminal being less than the second preset threshold, determining whether there is at least one quasi-target network; wherein each network in the at least one quasi-target network is a network in the at least one switchable network, and the switching comprehensive value of each network in the at least one quasi-target network is greater than a third preset threshold; In response to the at least one quasi-target network not existing, determining not to switch; and In response to the existence of the at least one quasi-target network, a target network is determined from among the at least one quasi-target network and switched.

5. The service switching method based on user behavior according to claim 4, characterized in that: In response to the existence of the at least one quasi-target network, determining a target network from each network of the at least one quasi-target network and switching the target network comprises: In response to the at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal are all less than the second preset threshold value within a first preset time period, and the number and network names of the networks included in the at least one quasi-target network remain unchanged within the first preset time period, then a network included in the at least one quasi-target network is determined as a target network and switched.

6. The service switching method based on user behavior according to claim 4, characterized in that: In response to the existence of the at least one quasi-target network, determining a target network from each network of the at least one quasi-target network and switching the target network comprises: In response to the at least one quasi-target network including at least two networks, and the real-time characteristic values ​​of the terminal are all less than the second preset threshold value within a first preset time period, and the number and network names of the networks included in the at least one quasi-target network remain unchanged within the first preset time period, then one network is determined as the target network from the at least two networks included in the at least one quasi-target network and switched.

7. The service switching method based on user behavior according to claim 6, characterized in that: The determining one network as a target network from among at least two networks included in the at least one quasi-target network and performing switching includes: According to the historical data of use of the Wi-Fi network by the terminal, a network with the longest historical connection duration is selected from at least two networks included in the at least one quasi-target network as the target network and switched; wherein the historical data of use of the Wi-Fi network by the terminal includes a name of each Wi-Fi network in at least one Wi-Fi network used by the terminal in a most recent first period and a historical connection duration of each Wi-Fi network used by the terminal in the at least one Wi-Fi network in the first period.

8. The service switching method based on user behavior according to claim 2, characterized in that: In response to the type of the network currently used by the terminal being a Wi-Fi network, the type of each network in the at least one switchable network is an LTE network; determining whether to switch according to the switching comprehensive value of each network in the at least one switchable network and the real-time characteristic value of the terminal; In response to determining to perform switching, determining a target network from the at least one switchable network and performing switching, comprising: In response to the real-time characteristic value of the terminal being less than a second preset threshold, determining not to switch; In response to the real-time characteristic value of the terminal being greater than the second preset threshold, determining whether there is at least one quasi-target network; wherein each network in the at least one quasi-target network is a network in the at least one switchable network, and the switching comprehensive value of each network in the at least one quasi-target network is greater than a third preset threshold; In response to the at least one quasi-target network not existing, determining not to switch; and In response to the existence of the at least one quasi-target network, a target network is determined from among the at least one quasi-target network and switched.

9. The service switching method based on user behavior according to claim 8, characterized in that: In response to the existence of the at least one quasi-target network, determining a target network from each network of the at least one quasi-target network and switching the target network comprises: In response to the at least one quasi-target network including a network, and the real-time characteristic values ​​of the terminal are greater than the second preset threshold within a first preset time period, and the number and network names of the networks included in the at least one quasi-target network remain unchanged within the first preset time period, then a network included in the at least one quasi-target network is determined as a target network and switched.

10. The service switching method based on user behavior according to claim 8, characterized in that: In response to the existence of the at least one quasi-target network, determining a target network from each network of the at least one quasi-target network and switching the target network comprises: In response to the at least one quasi-target network including at least two networks, and the real-time characteristic values ​​of the terminal are greater than the second preset threshold value within a first preset time period, and the number and network names of the networks included in the at least one quasi-target network remain unchanged within the first preset time period, then one network is determined as the target network from the at least two networks included in the at least one quasi-target network and switched.

11. The service switching method based on user behavior according to claim 10, characterized in that: The determining one network as a target network from among at least two networks included in the at least one quasi-target network and performing switching includes: A network with the largest switching comprehensive value is selected from at least two networks included in at least one quasi-target network as a target network and switched.

12. The service switching method based on user behavior according to claim 1, characterized in that: The obtaining of the current network switching comprehensive value according to the network wireless side indicator data of the current call of the terminal comprises: according to the formula m=αA+βB Calculate the switching comprehensive value m of the current network; wherein A is the first event; B is the second event; α and β are weight coefficients respectively; and Among them, R is the network signal strength data of the current call of the terminal; R thr is the preset switching threshold value of the network signal strength; Q is the network signal quality data of the wireless side of the network currently being called by the terminal; Q thr It is the preset switching threshold value of network signal quality.

13. A service switching device based on user behavior, characterized in that: Applied to a terminal, the service switching device comprises: A switching comprehensive value acquisition module, which is configured to: acquire network wireless side indicator data of the current call of the terminal, and acquire the switching comprehensive value of the current network according to the network wireless side indicator data of the current call of the terminal; A wireless side indicator data acquisition module, configured to: in response to the switching comprehensive value of the current network being higher than a first preset threshold, acquire wireless side indicator data of at least one switchable network of the terminal at the current location and each network in the at least one switchable network; wherein the type of each network in the at least one switchable network is different from the type of the network currently used by the terminal; and A network switching module is configured to: determine whether to switch based on wireless side indicator data of each network in the at least one switchable network; in response to determining to switch, determine a target network from the at least one switchable network and switch.

14. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the service switching method based on user behavior according to any one of claims 1 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor performs the service switching method based on user behavior according to any one of claims 1 to 12.