Network switching method and device, electronic equipment, chip, storage medium and product
Determining network switching by monitoring business service quality parameters solves the problem of frequent switching caused by inaccurate network quality parameters in traditional methods, and improves the communication quality and stability of electronic equipment.
Patent Information
- Application Number
- CN202310216706.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-03
AI Technical Summary
When an electronic device is at the edge of two wireless communication cells, due to the multipath reflection phenomenon, the traditional network switching method leads to frequent network switching, which reduces the communication quality. In addition, inaccurate threshold settings based on network quality parameters lead to incorrect judgments, resulting in frequent Handover and communication interruption.
By monitoring the business service quality parameters of the current transmission service, and sending handover instructions to the network device according to the satisfied network handover conditions, it avoids switching decisions based on inaccurate network quality parameters. The business service quality parameters are used to determine whether the handover conditions are met and reduce frequent handovers. .
It improves the communication quality of electronic devices, reduces frequent network switching and communication interruptions, and ensures the accuracy and stability of network switching.
Smart Images

Figure CN118590955A
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a network switching method, device, electronic device, storage medium, and product. Background Art
[0002] With the development of mobile communication technology, electronic devices can provide more and more convenience for people's life and work. At the same time, people have put forward higher and higher requirements on the communication quality of electronic devices in the process of using them.
[0003] For example, when an electronic device is at the edge or junction of two wireless communication cells, since the wireless signals at the edge or junction of the two wireless communication cells are complex and changeable, if the wireless signals encounter complex terrain or numerous buildings, multipath reflection phenomenon will easily occur in the wireless signals.
[0004] However, when faced with the multipath reflection phenomenon, the use of traditional network switching methods can easily lead to frequent network switching of electronic devices, which greatly reduces the communication quality of the electronic devices. Summary of the invention
[0005] The embodiments of the present application provide a network switching method, device, electronic device, and computer-readable storage medium, which can improve the communication quality of the electronic device.
[0006] In one aspect, a network switching method is provided, the method comprising:
[0007] Monitoring a business service quality parameter of a current transmission service; the business service quality parameter includes a parameter of at least one business service quality indicator corresponding to the current transmission service;
[0008] In a case where the current service quality parameter meets the first network switching condition, a network switching instruction is sent to the network device, where the network switching instruction is used to trigger a network switching between the electronic device and the network device.
[0009] In another aspect, a network switching device is provided, the device comprising:
[0010] A monitoring module, used to monitor a business service quality parameter of a current transmission service; the business service quality parameter includes a parameter of at least one business service quality indicator corresponding to the current transmission service;
[0011] The network switching module is used to send a network switching instruction to the network device when the current service quality parameter meets the first network switching condition, and the network switching instruction is used to trigger a network switching between the electronic device and the network device.
[0012] On the other hand, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the network switching method as described above.
[0013] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network switching method described above are implemented.
[0014] On the other hand, a computer program product is provided, comprising a computer program, which implements the steps of the network switching method described above when executed by a processor.
[0015] The above-mentioned network switching method, device, electronic device, storage medium, and product monitor the business service quality parameters of the current transmission service; the business service quality parameters include parameters of at least one business service quality indicator corresponding to the current transmission service. When the current business quality parameters meet the first network switching condition, a network switching instruction is sent to the network device, and the network switching instruction is used to trigger a network switch between the electronic device and the network device. When the current business quality parameters meet the first network switching condition, that is, from the dimension of the business service quality parameters of the current transmission service, it is determined whether the electronic device meets the network switching condition. This can avoid the problem that when the traditional method determines whether the electronic device meets the network switching condition based on the current network quality parameters of the first network, the current network quality parameters or their threshold conditions are inaccurate, resulting in the inability to accurately determine whether the electronic device meets the network switching condition. In addition, it is possible to avoid frequent network switching of electronic devices and improve the communication quality of electronic devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 An application environment diagram of a network switching method in an embodiment;
[0018] Figure 2 is a flow chart of a network switching method in one embodiment;
[0019] Figure 3 is a flow chart of a network switching method in another embodiment;
[0020] Figure 4A flowchart of a network switching method in another embodiment;
[0021] Figure 5 A flowchart of a network switching method when a current service quality parameter satisfies a first network switching condition and a current network quality parameter of a first network does not satisfy a second network switching condition;
[0022] Figure 6 A flowchart of a network switching method in another embodiment;
[0023] Figure 7 is a signaling diagram of a network switching method in an embodiment;
[0024] Figure 8 is a signaling diagram of a network switching method in another embodiment;
[0025] Fig. 9 is a structural block diagram of a network switching device in one embodiment;
[0026] Fig.10 is a structural block diagram of a network switching device in another embodiment;
[0027] Fig.11 is a structural block diagram of a network switching device in yet another embodiment;
[0028] Fig.12 FIG. 1 is a schematic diagram of the internal structure of an electronic device in an embodiment. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0030] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first preset period may be referred to as a second preset period, and similarly, a second preset period may be referred to as a first preset period. Both the first preset period and the second preset period are preset periods, but they are not the same preset period.
[0031] With the development of mobile communication technology, electronic devices can provide more and more convenience for people's life and work. At the same time, people have put forward higher and higher requirements on the communication quality of electronic devices in the process of using them.
[0032] For example, when an electronic device is at the edge or junction of two wireless communication cells, since the wireless signals at the edge or junction of the two wireless communication cells are complex and changeable, if the wireless signals encounter complex terrain or numerous buildings, multipath reflection phenomenon will easily occur in the wireless signals.
[0033] However, when facing the multipath reflection phenomenon, the traditional network switching method can easily cause electronic devices to frequently switch networks, which greatly reduces the communication quality of electronic devices. Frequent network switching of electronic devices means that electronic devices frequently switch between multiple service cells, and the switching frequency is often at the second level, which can easily cause communication interruption.
[0034] In the traditional method, when performing network switching, it is generally possible to determine whether to perform network switching based on whether the current network quality parameters of the serving cell meet the communication requirements. Although the network quality parameters of the serving cell are strongly related to the business service quality, that is, the better the network quality parameters, the better the business service quality of the electronic device, however, if the network quality parameters are based on whether they meet the communication requirements to determine whether to perform network switching, if there is a problem with the threshold setting in the communication requirements, there will often be frequent switching due to misjudgment. In turn, the communication quality of the electronic device is greatly reduced.
[0035] Because the 3GPP protocol stipulates that each time an electronic device switches networks, it needs to complete the registration update process before it can transmit data normally, and the registration update process takes seconds to complete, so each time an electronic device switches networks, it will cause a communication interruption of seconds. And the communication interruption of seconds is easy to be noticed by users, so frequent network switching will seriously affect the normal use of users.
[0036] For example, the 3GPP protocol stipulates that when an electronic device enters a 5G NR SA cell, it needs to perform a Registration process, which takes several seconds to complete; when the terminal enters a 4G LTE cell, it needs to perform a Tracking Area Update (TAU) process, which also takes several seconds to complete; when the terminal enters a 3G WCDMA or GSM cell, it also needs to perform a Location Area Update (LAU) process, which takes several seconds to complete. When an electronic device switches networks within the same wireless communication network standard, if the two cells belong to different TACs (Tracking Area Codes), it also needs to perform a response update process, and the network switching process also takes several seconds to complete.
[0037] From the above, it can be seen that when an electronic device switches networks between different wireless communication network systems, or when an electronic device switches networks between cells with different TACs within the same wireless communication network system, it will cause communication interruptions at the second level, seriously affecting the user's normal use.
[0038] Figure 1 FIG. 1 is a schematic diagram of an application environment of a network switching method in an embodiment. Figure 1 As shown, the application environment includes an electronic device 120, a first network 140 and a target network 160, and the electronic device 120 is connected to the first network 140 in communication, and can also be connected to the target network 160 in communication. When the electronic device 120 is connected to the first network 140, the electronic device 120 monitors the service quality parameters of the current transmission service; the service quality parameters include parameters of at least one service quality indicator corresponding to the current transmission service; when the current service quality parameters meet the first network switching condition, a network switching instruction is sent to the network device, and the network switching instruction is used to trigger the network switching between the electronic device and the network device, and switch to the target network 160. Among them, the electronic device 120 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, smart cars, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.
[0039] Figure 2 FIG. 1 is a flow chart of a network switching method in an embodiment. The network switching method in this embodiment is to run on Figure 1 The electronic device in the example is used to describe. Figure 2 As shown, the network switching method includes steps 220 to 260, wherein:
[0040] Step 220, monitoring the service quality parameters of the current transmission service; the service quality parameters include parameters of at least one service quality indicator corresponding to the current transmission service.
[0041] When the electronic device is connected to the first network, a service quality parameter of a current transmission service is monitored; the service quality parameter includes a parameter of at least one service quality indicator corresponding to the current transmission service.
[0042] When the electronic device is in a connected state with the first network, the electronic device monitors the service quality parameters of the current transmission service. Here, the current transmission service refers to the transmission service currently performed by the electronic device through the first network. Among them, the service quality parameters include parameters of multiple service quality indicators corresponding to the current transmission service. Here, the multiple service quality indicators are indicators corresponding to the current transmission service, that is, different types of transmission services correspond to different service quality indicators. For example, the service quality indicators may include bit error rate, and may also include at least one indicator of packet loss rate and delay.
[0043] Step 240: When the current service quality parameter satisfies the first network switching condition, a network switching instruction is sent to the network device, where the network switching instruction is used to trigger a network switching between the electronic device and the network device.
[0044] After obtaining the service quality parameters of the current transmission service, the electronic device determines whether the electronic device meets the first network switching condition according to the service quality parameters of the current transmission service. That is, when the service quality parameters of the current transmission service meet the first network switching condition, it is concluded that the electronic device meets the network switching condition at this time.
[0045] Since the service quality parameters of the current transmission service can directly reflect the quality of the service, it can be concluded that the electronic device meets the network switching condition when the current service quality parameters meet the first network switching condition, and then send a network switching instruction to the network device. Of course, in another case, it is also possible to determine whether the electronic device meets the network switching condition based on the service quality parameters of the current transmission service and the current network quality parameters, and this application does not limit this.
[0046] If it is determined that the electronic device meets the network switching condition, a network switching instruction is sent to the network device. Optionally, the network switching instruction sent by the electronic device to the network device carries the judgment result that the electronic device meets the network switching condition, and triggers the electronic device to perform network switching based on the judgment result, switching to the second network. Here, the service quality parameter of the electronic device when executing the current transmission service during the process of connecting to the second network is greater than the service quality parameter of the electronic device when executing the current transmission service during the process of connecting to the first network.
[0047] Here, triggering the electronic device to switch networks may be switching to a network of the same type as the first network, or switching to a network of a different type than the first network. For example, if the first network is a long-distance wireless communication network, it may be switched to another long-distance wireless communication network or a short-distance wireless communication network. And when switching from a long-distance wireless communication network to another long-distance wireless communication network, the network switching may be performed within the same wireless communication network standard, or between different wireless communication network standards, which is not limited in this application.
[0048] In an embodiment of the present application, the business service quality parameters of the current transmission service are monitored; the business service quality parameters include parameters of at least one business service quality indicator corresponding to the current transmission service. When the current business quality parameters meet the first network switching condition, a network switching instruction is sent to the network device, and the network switching instruction is used to trigger a network switch between the electronic device and the network device. When the current business quality parameters meet the first network switching condition, that is, from the dimension of the business service quality parameters of the current transmission service, it is determined whether the electronic device meets the network switching condition. This can avoid the problem that when the traditional method determines whether the electronic device meets the network switching condition based on the current network quality parameters of the first network, the current network quality parameters or their threshold conditions are inaccurate, resulting in the inability to accurately determine whether the electronic device meets the network switching condition. In addition, it is possible to avoid frequent network switching of electronic devices, prevent ping-pong switching from occurring, and improve the communication quality of electronic devices.
[0049] The previous embodiment describes the process of monitoring the current network quality parameters of the first network and the service quality parameters of the current transmission service. Figure 3 As shown, the method further described in this embodiment also includes:
[0050] Step 320: Obtain the service type of the current transmission service.
[0051] When the electronic device executes the current transmission service, obtain the service type of the current transmission service. Various transmission services can be executed on electronic devices, and different transmission services have different performance requirements for the network. Therefore, various transmission services can be divided into different transmission types based on different performance requirements for the network. For example, some transmission services have high requirements for network latency, so these transmission services are classified as latency-sensitive services; and some transmission services have high requirements for network packet loss rate, so these transmission services are classified as low packet loss rate services, etc. This application does not limit the specific service types.
[0052] Step 340, determining the service quality indicator corresponding to the current transmission service according to the service type and the preset corresponding relationship; the preset corresponding relationship includes the corresponding relationship between each service type and the service quality indicator corresponding to the service type.
[0053] The electronic device stores the correspondence between each service type and the service quality indicator corresponding to the service type, and optionally, it can be stored in the form of a data table. Exemplarily, the correspondence between delay-sensitive services and service quality indicators of delay-sensitive services is stored in the data table; the correspondence between low packet loss rate services and service quality indicators of low packet loss rate services is stored in the data table, etc., and this application does not limit this. Among them, the service quality indicators of delay-sensitive services include bit error rate and delay, etc., and the low packet loss rate services include bit error rate and packet loss rate, etc.
[0054] Therefore, after obtaining the service type of the current transmission service, the electronic device can determine the service quality indicator corresponding to the current transmission service according to the service type of the current transmission service and the preset corresponding relationship.
[0055] In the embodiment of the present application, before the electronic device monitors the service quality parameters of the current transmission service, it is necessary to first determine which service quality indicators correspond to the service quality parameters of the current transmission service. Since the electronic device stores the corresponding relationship between each service type and the service quality indicators corresponding to the service type, when determining the service quality indicators corresponding to the current transmission service, first, the electronic device obtains the service type of the current transmission service; secondly, according to the service type and the preset corresponding relationship, the service quality indicators corresponding to the current transmission service are determined. In this way, different service quality indicators are used for different types of current transmission services to monitor the service quality parameters of the current transmission service. Furthermore, the service quality parameters of different types of current transmission services can be monitored more accurately and targetedly. So that based on the current network quality parameters and the service quality parameters of the current transmission service, it is possible to more accurately determine whether the electronic device meets the network switching conditions. Finally, it is possible to avoid frequent network switching of electronic devices, prevent ping-pong switching, and improve the communication quality of electronic devices.
[0056] The previous embodiment describes a process of determining the service quality indicator corresponding to the current transmission service according to the service type and the preset corresponding relationship. This embodiment further describes that if the service type of the current transmission service is the first type of service, the service quality indicator corresponding to the current transmission service is determined according to the service type and the preset corresponding relationship, including:
[0057] According to the first category of business and the preset corresponding relationship, it is determined that the business service quality indicators corresponding to the current transmission business include the first category of business service quality indicators; the first category of business includes at least one of voice business, web browsing business, and streaming media business; the first category of business service quality indicators include bit error rate and packet loss rate.
[0058] Optionally, if the service type of the current transmission service is a first-class service, the first-class service here can be understood as a low packet loss rate service. In the preset correspondence stored in the electronic device, the correspondence between the first-class service and the first-class service quality indicator is stored. Among them, the first-class service quality indicator includes a bit error rate and a packet loss rate. So, in other words, in the preset correspondence stored in the electronic device, the correspondence between the low packet loss rate service and the bit error rate and the packet loss rate is stored.
[0059] Among them, the bit error rate includes at least one of the service bit error rate of the protocol layer and the bit error rate of the hybrid automatic repeat request (HARQ, Hybrid Automatic Repeat reQuest) of the physical channel. Here, the service bit error rate of the protocol layer includes the service bit error rate or block error rate (BLER, Block Error Ratio) of the protocol layer such as the TCP layer (Transmission Control Protocol), or the PDCP layer (Packet Data Convergence Protocol), or the RLC layer (Radio Link Control), or the MAC layer (Media Access Control). Here, the physical channel includes physical channels such as PDSCH (Physical Downlink Shared CHannel) or PUSCH (Physical Uplink Shared Channel). The packet loss rate (Loss Tolerance or Packet Loss Rate) refers to the ratio of the number of lost data packets in the test to the number of sent data groups.
[0060] For voice services, for example, the maximum packet loss rate allowed for ordinary voice services can be defined as 1%, and the maximum packet loss rate allowed for high-definition voice services can be defined as 1 / 1000. For web browsing services, the maximum packet loss rate allowed for web browsing services can be defined as 1%. For streaming media services, the maximum packet loss rate allowed for streaming media services can be defined as 1 / 1000. Assuming that the maximum packet loss rate threshold allowed for low packet loss rate services is defined as 1%, the maximum packet loss rates allowed for the above-mentioned ordinary voice services, high-definition voice services, web browsing services, and streaming media services are all less than or equal to the maximum packet loss rate threshold. Therefore, the above-mentioned ordinary voice services, high-definition voice services, web browsing services, and streaming media services all belong to low packet loss rate services, that is, first-class services. Then, the first-class service quality indicators corresponding to the above-mentioned ordinary voice services, high-definition voice services, web browsing services, and streaming media services all include bit error rate and packet loss rate.
[0061] In the embodiment of the present application, the first type of business here can be understood as a low packet loss rate business, and the first type of business service quality indicators corresponding to the low packet loss rate business are stored in the preset corresponding relationship, including bit error rate and packet loss rate, etc. Therefore, if the business type of the current transmission business is the first type of business, then according to the first type of business and the preset corresponding relationship, the business service quality indicators corresponding to the current transmission business are determined to include bit error rate and packet loss rate, etc. That is, based on the business type of the current transmission business combined with the preset corresponding relationship, the business service quality indicators corresponding to the current transmission business can be accurately determined. In this way, when monitoring the business service quality parameters of the current transmission business, the parameters of the business service quality indicators corresponding to the current transmission business can be targeted. Since the parameters of some business service quality indicators are targetedly monitored here, it is not necessary to monitor the parameters of all business service quality indicators, so while greatly saving the resources of the electronic equipment, the business service quality of the current transmission business can also be accurately monitored.
[0062] The above embodiment describes a process of determining the service quality indicator corresponding to the current transmission service according to the service type and the preset corresponding relationship. This embodiment further describes that if the service type of the current transmission service is the second type of service, the service quality indicator corresponding to the current transmission service is determined according to the service type and the preset corresponding relationship, including:
[0063] According to the second-category business and the preset corresponding relationship, it is determined that the business service quality indicators corresponding to the current transmission business include the second-category business service quality indicators; the second-category business includes delay-sensitive business; the second-category business service quality indicators include bit error rate and delay.
[0064] Optionally, if the service type of the current transmission service is a second-category service, the second-category service here can be understood as a delay-sensitive service. In the preset correspondence stored in the electronic device, the correspondence between the second-category service and the second-category service quality indicator is stored. Among them, the second-category service quality indicator includes bit error rate and delay. So, in other words, in the preset correspondence stored in the electronic device, the correspondence between delay-sensitive service and bit error rate and delay is stored. Among them, latency refers to the time required for data to be transmitted from one end of the network to the other end.
[0065] For the gaming service, the maximum delay allowed by the gaming service can be defined as 50ms, and the maximum delay allowed by the order grabbing service can be defined as 80ms. Assuming that the maximum delay threshold allowed by the delay-sensitive service is defined as 80ms, the maximum delay allowed by the above-mentioned gaming service and order grabbing service are both less than or equal to the maximum delay threshold. Therefore, the above-mentioned gaming service and order grabbing service are both delay-sensitive services, that is, second-category services. Then, the second-category service quality indicators corresponding to the above-mentioned gaming service and order grabbing service include bit error rate and delay.
[0066] In the embodiment of the present application, the second type of business here can be understood as a delay-sensitive business, and the preset corresponding relationship stores the second type of business service quality indicators corresponding to the delay-sensitive business, including bit error rate and delay, etc. Therefore, if the business type of the current transmission business is the second type of business, then according to the second type of business and the preset corresponding relationship, the business service quality indicators corresponding to the current transmission business are determined, including bit error rate and delay, etc. That is, based on the business type of the current transmission business combined with the preset corresponding relationship, the business service quality indicators corresponding to the current transmission business can be accurately determined. In this way, when monitoring the business service quality parameters of the current transmission business, the parameters of the business service quality indicators corresponding to the current transmission business can be targeted. Since the parameters of some business service quality indicators are monitored in a targeted manner here, it is not necessary to monitor the parameters of all business service quality indicators, so while greatly saving the resources of electronic equipment, the business service quality of the current transmission business can also be accurately monitored.
[0067] In the previous embodiment, it is described that if the service type of the current transmission service is the second type of service, then according to the second type of service and the preset corresponding relationship, it is determined that the service quality indicator corresponding to the current transmission service includes the second type of service quality indicator. This embodiment further describes monitoring the service quality parameters of the current transmission service, including:
[0068] When the electronic device executes the current transmission service, at least one service quality indicator corresponding to the current transmission service is monitored according to a first preset period, and a service quality parameter corresponding to the at least one service quality indicator is generated.
[0069] Since each type of transmission service has different performance requirements for the network, for each type of transmission service, at least one business service quality indicator corresponding to the transmission service is preset in the electronic device according to the performance requirements of the transmission service for the network. Therefore, when the electronic device executes the current transmission service, for the current transmission service, the electronic device can monitor at least one business service quality indicator corresponding to the current transmission service according to the first preset period, and generate a business service quality parameter corresponding to the at least one business service quality indicator. Here, the first preset period can be the same as the second preset period for the electronic device to monitor the network quality of the first network, or it can be different, and this application does not limit this.
[0070] In an embodiment of the present application, when the electronic device monitors the business service quality parameters of the current transmission service, optionally, when the electronic device executes the current transmission service, it monitors at least one business service quality indicator corresponding to the current transmission service according to a first preset period, and generates a business service quality parameter corresponding to the at least one business service quality indicator, thereby achieving real-time monitoring of at least one business service quality indicator corresponding to the current transmission service. In this way, based on the business service quality parameters of the current transmission service obtained by real-time monitoring, it is possible to determine from this dimension whether the electronic device meets the network switching condition. This can avoid the problem that when the traditional method determines whether the electronic device meets the network switching condition based on the current network quality parameters of the first network, the current network quality parameters or their threshold conditions are inaccurate, resulting in the inability to accurately determine whether the electronic device meets the network switching condition.
[0071] In the previous embodiment, it is described how to monitor the service quality parameters of the current transmission service. In this embodiment, step 240 is further described, in which, when the current service quality parameters meet the first network switching condition, a network switching instruction is sent to the network device, including:
[0072] When the current service quality parameter meets the first network switching condition and the current network quality parameter of the first network meets the second network switching condition, a network switching instruction is sent to the network device.
[0073] When the electronic device is in a connected state with the first network, the electronic device monitors the service quality parameters of the current transmission service. Here, the first network here includes a network (long-distance wireless communication network) or a short-distance wireless communication network corresponding to the first service cell. Among them, the network corresponding to the first service cell can be any one of the networks corresponding to the 5G NR SA cell, the network corresponding to the 4G LTE cell, the network corresponding to the 3G WCDMA or GSM cell, and the network corresponding to the 2G LTE cell. Among them, the short-distance wireless communication network includes any one of the WIFI network and the Bluetooth network. This application does not limit this. The current transmission service refers to the transmission service currently performed by the electronic device through the first network. Among them, the service quality parameters include parameters of multiple service quality indicators corresponding to the current transmission service. Here, multiple service quality indicators are indicators corresponding to the current transmission service, that is, different types of transmission services correspond to different service quality indicators. For example, the service quality indicator may include a bit error rate, and may also include at least one indicator of packet loss rate and delay.
[0074] First, determine whether the current service quality parameter meets the first network switching condition, wherein the first network switching condition includes but is not limited to the service quality parameter of the current transmission service being less than or equal to the preset service quality parameter threshold. In the case where the current service quality parameter meets the first network switching condition, further determine that the current network quality parameter of the first network meets the second network switching condition. Among them, the network quality parameter includes the downlink reference signal strength or the uplink reference signal strength; the downlink reference signal strength refers to the signal strength of the downlink reference signal, and the uplink reference signal strength refers to the signal strength of the uplink reference signal. Among them, the downlink reference signal is a reference signal sent by a network device to an electronic device (UE). For different application scenarios, the reference signal can provide specific information for the UE to facilitate the UE to better access the network, transmit information, feedback channel status information, etc. Correspondingly, the uplink reference signal is a reference signal sent by an electronic device (UE) to a network device during the process of transmitting data from the electronic device (UE) to the network device. Here, the downlink reference signal strength includes at least one indicator of reference signal received power (RSRP, Reference Signal Received Power), reference signal received quality (RSRQ, Reference Signal Received Quality) and interference plus noise ratio (SINR, Signal to Interference plus Noise Ratio).
[0075] The second network switching condition includes but is not limited to a downlink reference signal strength being less than or equal to a preset signal strength threshold. When the current service quality parameter satisfies the first network switching condition and the current network quality parameter of the first network satisfies the second network switching condition, a network switching instruction is sent to the network device.
[0076] In an embodiment of the present application, first, it is determined whether the current service quality parameters meet the first network switching condition, wherein the first network switching condition includes but is not limited to the service quality parameters of the current transmission service being less than or equal to the preset service quality parameter threshold. In the case where the current service quality parameters meet the first network switching condition, it is further determined that the current network quality parameters of the first network meet the second network switching condition. From the two dimensions of the current network quality parameters of the first network and the service quality parameters of the current transmission service, it is determined whether the electronic device meets the network switching condition. This can avoid the problem that when the traditional method determines whether the electronic device meets the network switching condition based only on the current network quality parameters of the first network, the current network quality parameters or their threshold conditions are inaccurate, resulting in the inability to accurately determine whether the electronic device meets the network switching condition. Furthermore, it is possible to avoid frequent network switching of electronic devices and improve the communication quality of electronic devices.
[0077] In the previous embodiment, a process of determining whether an electronic device meets the network switching condition is described from two dimensions: the current network quality parameter of the first network and the service quality parameter of the current transmission service. This embodiment further describes a network switching method, such as Figure 4 As shown, the method includes:
[0078] Step 260, when the current service quality parameter meets the first network switching condition, monitoring the current network quality parameter of the first network to which the electronic device is connected;
[0079] Step 280: When the current network quality parameter of the first network does not meet the second network switching condition, continue to periodically detect the current network quality parameter of the first network until the current network quality parameter of the first network meets the second network switching condition, and send a network switching instruction to the network device.
[0080] like Figure 5As shown, it is a flow chart of a network switching method in one embodiment. First, execute step 502 to determine whether the current service quality parameter meets the first network switching condition, wherein the first network switching condition includes but is not limited to the service quality parameter of the current transmission service being less than or equal to the preset service quality parameter threshold. Since the service quality parameter of the current transmission service can directly reflect the quality of the service, it is first determined whether the service quality parameter of the current transmission service is less than or equal to the preset service quality parameter threshold. Here, the preset service quality parameter threshold is set for the electronic device based on the current transmission service executed thereon. Obviously, the preset service quality parameter threshold is more matched with the current transmission service on the electronic device.
[0081] Secondly, when the current service quality parameter meets the first network switching condition, step 504 is executed to monitor the current network quality parameter of the first network to which the electronic device is connected, and determine whether the current network quality parameter of the first network meets the second network switching condition. Among them, the current network quality parameter may include a downlink reference signal strength, and the second network switching condition may include that the downlink reference signal strength is less than or equal to a preset signal strength threshold. If it is determined that the downlink reference signal strength is greater than the preset signal strength threshold, it is determined that the electronic device does not meet the second network switching condition.
[0082] Next, when the current network quality parameters of the first network do not meet the second network switching condition, step 506 is executed to continue to periodically detect the current network quality parameters of the first network until it is detected that the current network quality parameters of the first network meet the second network switching condition. Then, step 508 is executed at this time to send a network switching instruction to the network device. Here, periodically detecting the current network quality parameters of the first network may be detecting the current network quality parameters of the first network according to a second preset period. Here, the network switching instruction sent by the electronic device to the network device carries information that the current service quality parameters meet the first network switching condition, and that the current network quality parameters of the first network meet the second network switching condition. And the network switching instruction is used to trigger a network switch between the electronic device and the network device.
[0083] Optionally, the electronic device 120 can report to the network device (such as the first base station 140) the judgment result that the electronic device meets the first network switching condition and the second network switching condition. Based on the judgment result, the network device (such as the first base station) is triggered to switch the service data and configuration data to the network device (such as the second base station 160) of the second service cell. After completing the switching of the service data and configuration data, the second base station 160 sends a completion instruction for the switching of the service data and configuration data to the first base station. The first base station then sends a network switching instruction to the electronic device, and the electronic device executes step 510 to switch the connection to the second base station 160 based on the network switching instruction. In this way, the electronic device realizes network switching.
[0084] In an embodiment of the present application, when the current service quality parameters meet the first network switching condition, the current network quality parameters of the first network to which the electronic device is connected are monitored. When the current network quality parameters of the first network do not meet the second network switching condition, the current network quality parameters of the first network continue to be periodically detected until the current network quality parameters of the first network meet the second network switching condition, and a network switching instruction is sent to the network device. When the current service quality parameters meet the first network switching condition, by periodically detecting the current network quality parameters of the first network, it is possible to promptly discover that the current network quality parameters of the first network meet the second network switching condition. Then, it is possible to promptly determine whether the electronic device meets the network switching condition from the two dimensions of the current network quality parameters of the first network and the service quality parameters of the current transmission service, thereby achieving timely network switching and improving the communication quality of the electronic device.
[0085] In the previous embodiment, it is described that when the current service quality parameter meets the first network switching condition, by periodically detecting the current network quality parameter of the first network, a process can be timely found that the current network quality parameter of the first network meets the second network switching condition. This embodiment further describes a network switching method, such as Figure 6 As shown, the method includes:
[0086] Step 620, monitoring the service quality parameters of the current transmission service; the service quality parameters include parameters of at least one service quality indicator corresponding to the current transmission service;
[0087] Step 640: when the current service quality parameter satisfies the first network switching condition and the current network quality parameter of the first network does not satisfy the second network switching condition, correct the current network quality parameter to a target network quality parameter that satisfies the second network switching condition;
[0088] Step 660: Generate a network switching instruction based on the target network quality parameter, and send the network switching instruction to the network device.
[0089] Combination Figure 7 As shown, it is a signaling diagram of the network switching method in another embodiment. When a communication connection is established between the electronic device 120 and the network device (such as the first base station 140) of the first service cell, the network device (such as the first base station 140) periodically sends a network quality monitoring signal to the electronic device. Then, the electronic device receives the network quality monitoring signal sent by the first base station, and in response to the network quality monitoring signal, monitors the network quality of the first network according to the second preset period, and generates a downlink reference signal strength of the first network. Next, it is determined whether the service quality parameters of the current transmission service meet the first network switching condition, that is, it is determined whether the service quality parameters of the current transmission service are less than or equal to the preset service quality parameter threshold. If so, it is continued to determine whether the current network quality parameters of the first network meet the second network switching condition, that is, it is determined whether the downlink reference signal strength of the first network is less than or equal to the preset signal strength threshold.
[0090] In one case, if it is determined that the downlink reference signal strength of the first network is less than or equal to the preset signal strength threshold, it means that the network switching condition is met, in other words, the condition for reporting the measurement report is met. Then, the electronic device can immediately report the measurement report to the network device (such as the first base station 140), and the measurement report can carry the service quality parameters of the current transmission service that meets the first network switching condition and the downlink reference signal strength of the first network that meets the second network switching condition.
[0091] After receiving the measurement report, the network device (such as the first base station 140) triggers the network device (such as the first base station) to switch the service data and configuration data to the network device (such as the second base station 160) of the second service cell. After completing the switching of the service data and configuration data, the second base station 160 sends a completion instruction of the switching of the service data and configuration data to the first base station. The first base station then sends a network switching instruction to the electronic device, and the electronic device switches to the second base station 160 based on the network switching instruction.
[0092] In another case, if it is determined that the downlink reference signal strength of the first network is greater than the preset signal strength threshold, it means that the network switching condition is temporarily not met, in other words, the condition for reporting the measurement report is temporarily not met. Then, the current network quality parameter (downlink reference signal strength) can be corrected to a target network quality parameter that meets the second network switching condition. That is, the downlink reference signal strength is corrected to the preset signal strength threshold to generate a new downlink reference signal strength. Then, based on the target network quality parameter (new downlink reference signal strength), it is determined that the target network quality parameter meets the second network switching condition, indicating that the electronic device meets the network switching condition at this time. In other words, the condition for reporting the measurement report is met at this time.
[0093] At this time, the electronic device can immediately report a measurement report to the network device (such as the first base station 140), and the measurement report can carry the service quality parameters of the current transmission service that meets the first network switching condition and the downlink reference signal strength of the first network that meets the second network switching condition. After receiving the measurement report, the network device (such as the first base station 140) triggers the network device (such as the first base station) to switch the service data and configuration data to the network device (such as the second base station 160) of the second service cell. After completing the switching of the service data and configuration data, the second base station 160 sends a completion instruction for the switching of the service data and configuration data to the first base station. The first base station then sends a network switching instruction to the electronic device, and the electronic device switches its connection to the second base station 160 based on the network switching instruction.
[0094] In the embodiment of the present application, it is first determined whether the service quality parameter of the current transmission service is less than or equal to the preset service quality parameter threshold. If it is determined that the service quality parameter of the current transmission service is less than or equal to the preset service quality parameter threshold, it is further determined whether the downlink reference signal strength is less than or equal to the preset signal strength threshold. If it is determined that the downlink reference signal strength is greater than the preset signal strength threshold, the downlink reference signal strength is corrected to the preset signal strength threshold, and a new downlink reference signal strength is generated. Based on the new downlink reference signal strength, it is determined that the electronic device meets the network switching condition.
[0095] Here, the preset business service quality parameter threshold is set accordingly for the electronic device based on the current transmission service executed thereon. Obviously, the preset business service quality parameter threshold is more matched with the current transmission service on the electronic device. Therefore, it is possible to first determine whether the business service quality parameter of the current transmission service is less than or equal to the preset business service quality parameter threshold. As long as it is determined that the business service quality parameter of the current transmission service is less than or equal to the preset business service quality parameter threshold, regardless of whether the downlink reference signal strength is less than or equal to the preset signal strength threshold, it is determined that the electronic device meets the network switching conditions. In this way, when the business service quality parameters of the current transmission service do not meet the preset conditions, the network switching can be carried out in time to avoid delayed switching and resulting in a decrease in communication quality.
[0096] In one embodiment, a method network switching method is provided, such as Figure 8 As shown, the method includes:
[0097] Monitoring current network quality parameters of the first network; the current network quality parameters include downlink reference signal strength;
[0098] When the current network quality parameter of the first network meets the second network switching condition, determining whether the current service quality parameter meets the first network switching condition;
[0099] If it is determined that the current service quality parameter meets the first network switching condition, a network switching instruction is sent to the network device;
[0100] If it is determined that the current service quality parameter does not meet the first network switching condition, the process returns to the step of monitoring the current network quality parameter of the first network.
[0101] Combination Figure 8 As shown, it is a signaling diagram of a network switching method in an embodiment. Optionally, the current network quality parameters of the first network are monitored to generate the downlink reference signal strength of the first network. If it is determined that the downlink reference signal strength is less than or equal to the preset signal strength threshold, it is continued to determine whether the business service quality parameter of the current transmission service is less than or equal to the preset business service quality parameter threshold. If it is determined that the business service quality parameter of the current transmission service is greater than the preset business service quality parameter threshold, it means that at this time, when the electronic device is executing the current transmission service through the first network, the business service quality parameter of the current transmission service meets the requirements. Then, even if it is determined that the downlink reference signal strength is less than or equal to the preset signal strength threshold, it is not necessary to frequently switch networks at this time, that is, it is not necessary to report the judgment result to the network device. At the same time, the electronic device returns to the step of monitoring the current network quality parameters of the first network and determining whether the downlink reference signal strength is less than or equal to the preset signal strength threshold, until if the business service quality parameter of the current transmission service is less than or equal to the preset business service quality parameter threshold, it is determined that the electronic device meets the network switching condition.
[0102] Combination Figure 8As shown, when a communication connection is established between the electronic device 120 and the network device (such as the first base station 140) of the first service cell, the network device (such as the first base station 140) sends a network quality monitoring signal to the electronic device at a fixed time. Then, the electronic device receives the network quality monitoring signal sent by the first base station, and in response to the network quality monitoring signal, monitors the network quality of the first network according to the second preset period, and generates the downlink reference signal strength of the first network. Next, it is determined whether the downlink reference signal strength is less than or equal to the preset signal strength threshold; if so, it is further determined whether the service quality parameter of the current transmission service is less than or equal to the preset service quality parameter threshold (threshold). If so, the electronic device can report the judgment result that the electronic device meets the network switching condition to the network device (such as the first base station 140), and based on the judgment result, trigger the network device (such as the first base station) to switch the service data and configuration data to the network device (such as the second base station 160) of the second service cell. After completing the switching of the service data and configuration data, the second base station 160 sends a completion instruction for the switching of the service data and configuration data to the first base station. The first base station then sends a network switching instruction to the electronic device, and the electronic device switches to the second base station 160 based on the network switching instruction.
[0103] If it is determined that the service quality parameter of the current transmission service is greater than the preset service quality parameter threshold, the process returns to the step of monitoring the network quality of the first network according to the second preset period and generating a downlink reference signal strength of the first network.
[0104] In an embodiment of the present application, it is determined whether the downlink reference signal strength is less than or equal to a preset signal strength threshold. If the downlink reference signal strength is less than or equal to the preset signal strength threshold, it is continued to determine whether the business service quality parameter of the current transmission service is less than or equal to the preset business service quality parameter threshold. If the business service quality parameter of the current transmission service is less than or equal to the preset business service quality parameter threshold, it is determined that the electronic device meets the network switching condition. If it is determined that the business service quality parameter of the current transmission service is greater than the preset business service quality parameter threshold, then the step of monitoring the network quality of the first network according to the second preset period and generating the downlink reference signal strength of the first network is returned. That is, when the downlink reference signal strength and the business service quality parameter of the current transmission service both meet the preset conditions, it is determined that the electronic device meets the network switching condition. Therefore, it is possible to more accurately determine whether the electronic device meets the network switching condition. Ultimately, it is possible to avoid frequent network switching of electronic devices, prevent ping-pong switching from occurring, and improve the communication quality of electronic devices.
[0105] In one embodiment, a network switching instruction is further described for triggering an electronic device and a network device to perform a network switch from a first network to a second network;
[0106] The first network includes a network or a short-range wireless communication network corresponding to the first service cell, and a service quality parameter of a current transmission service corresponding to the second network is greater than a service quality parameter of a current transmission service corresponding to the first network; the second network includes a network or a short-range wireless communication network corresponding to the second service cell; wherein the short-range wireless communication network includes at least one of a WIFI network and a Bluetooth network.
[0107] When the electronic device is in a connected state with the first network, monitor the current network quality parameters of the first network and the service quality parameters of the current transmission service. Here, the first network includes a network corresponding to the first service cell or a short-range wireless communication network. The network corresponding to the first service cell includes a network corresponding to any one of 3G WCDMA or GSM cells, 4G LTE cells, and 5G NR SA cells. In one case, the electronic device is now in a connected state with the network corresponding to the first service cell, for example, the electronic device is in a connected state with the network corresponding to the 3G WCDMA or GSM cell; or, the electronic device is in a connected state with the network corresponding to the 4G LTE cell; or, the electronic device is in a connected state with the network corresponding to the 5G NRSA cell, etc.
[0108] In another case, the electronic device is connected to a short-range wireless communication network, and the short-range wireless communication network includes at least one of a WIFI network and a Bluetooth network. For example, the electronic device is connected to a WIFI network; or, the electronic device is connected to a Bluetooth network, etc.
[0109] Next, the electronic device monitors the current network quality parameters of the first network and the service quality parameters of the current transmission service. According to the current network quality parameters and the service quality parameters of the current transmission service, it is determined whether the electronic device meets the network switching condition. If the network switching condition is met, a network switching instruction is sent to the network device, and the network switching instruction is used to trigger a network switch between the electronic device and the network device.
[0110] Optionally, the electronic device is triggered to switch to a second network, and the service quality parameter of the current transmission service corresponding to the second network is greater than the service quality parameter of the current transmission service corresponding to the first network. Here, the second network includes a network or a short-range wireless communication network corresponding to the second service cell. Exemplarily, when the electronic device is in a connected state with the network corresponding to the first service cell, if the network switching condition is met, the electronic device is triggered to switch to the network or short-range wireless communication network corresponding to the second service cell. For example, when the electronic device is in a connected state with the network corresponding to the 3G WCDMA or GSM cell, if the network switching condition is met, the electronic device is triggered to switch to the network or WIFI network corresponding to the 4G LTE cell. When the electronic device is in a connected state with the network corresponding to the 3G WCDMA or GSM cell, if the network switching condition is met, the electronic device is triggered to switch to the network or WIFI network corresponding to the 3G WCDMA or GSM cell with different TAC. Of course, this application is not limited to this.
[0111] Exemplarily, when the electronic device is connected to the short-range wireless communication network, if the network switching condition is met, the electronic device is triggered to switch to the network corresponding to the second service cell or the short-range wireless communication network. For example, when the electronic device is connected to the WIFI network, if the network switching condition is met, the electronic device is triggered to switch to the network corresponding to the 4G LTE cell or the Bluetooth network. Of course, this application does not limit this.
[0112] In an embodiment of the present application, if the network switching conditions are met, the electronic device can not only switch from the network corresponding to the first service cell to the network corresponding to the second service cell, but also switch from the network corresponding to the first service cell to the short-range wireless communication network. In another case, the electronic device can not only switch from the short-range wireless communication network to the network corresponding to the second service cell, but also switch from the short-range wireless communication network to the short-range wireless communication network. In this way, it is possible to switch the electronic device between the networks of different service cells, and it is also possible to switch the electronic device between the network of the service cell and the short-range wireless communication network, and it is also possible to switch the electronic device between different short-range wireless communication networks. Finally, in the above-mentioned various scenarios, the network switching method can be used to avoid frequent network switching of electronic devices, prevent ping-pong switching from occurring, and improve the communication quality of electronic devices.
[0113] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0114] Based on the same inventive concept, Fig. 9 As shown, this embodiment further describes a network switching device 900, which includes:
[0115] A first monitoring module 920 is used to monitor the service quality parameters of the current transmission service; the service quality parameters include parameters of at least one service quality indicator corresponding to the current transmission service;
[0116] The first network switching module 940 is used to send a network switching instruction to the network device when the current service quality parameter meets the first network switching condition. The network switching instruction is used to trigger a network switching between the electronic device and the network device.
[0117] In one embodiment, a network switching device 900 is provided, the device further comprising:
[0118] A service type acquisition module is used to acquire the service type of the current transmission service;
[0119] The business service quality indicator determination module is used to determine the business service quality indicator corresponding to the current transmission business according to the business type and the preset corresponding relationship; the preset corresponding relationship includes the corresponding relationship between each business type and the business service quality indicator corresponding to the business type.
[0120] In one embodiment, if the service type of the current transmission service is a first-category service, the service quality indicator determination module is also used to determine, based on the first-category service and a preset correspondence, that the service quality indicators corresponding to the current transmission service include first-category service quality indicators; the first-category service includes at least one of voice service, web browsing service, and streaming media service; the first-category service quality indicators include bit error rate and packet loss rate.
[0121] In one embodiment, if the service type of the current transmission service is a second-category service, the service service quality indicator determination module is also used to determine, based on the second-category service and a preset correspondence, that the service service quality indicators corresponding to the current transmission service include second-category service quality indicators; the second-category service includes delay-sensitive services; and the second-category service quality indicators include bit error rate and delay.
[0122] In one embodiment, the first monitoring module 920 is also used to monitor at least one business service quality indicator corresponding to the current transmission service according to a first preset period when the electronic device executes the current transmission service, and generate a business service quality parameter corresponding to the at least one business service quality indicator.
[0123] In one embodiment, the first network switching module 940 is further configured to send a network switching instruction to the network device when the current service quality parameter meets the first network switching condition and the current network quality parameter of the first network meets the second network switching condition.
[0124] In one embodiment, as shown in FIG. 10 , a network switching device 900 is provided, and the device further includes:
[0125] A second monitoring module 960, configured to monitor a current network quality parameter of a first network to which the electronic device is connected when the current service quality parameter satisfies a first network switching condition;
[0126] The periodic detection module 970 is used to continue to periodically detect the current network quality parameters of the first network when the current network quality parameters of the first network do not meet the second network switching conditions, until the current network quality parameters of the first network meet the second network switching conditions, and send a network switching instruction to the network device.
[0127] In one embodiment, as shown in FIG. 11 , a network switching device 1000 is provided, and the device further includes:
[0128] The parameter correction module 980 is used to correct the current network quality parameter to a target network quality parameter that meets the second network switching condition when the current service quality parameter meets the first network switching condition and the current network quality parameter of the first network does not meet the second network switching condition;
[0129] The second network switching module 990 is used to generate a network switching instruction based on the target network quality parameter and send the network switching instruction to the network device.
[0130] In one embodiment, the current network quality parameter includes a downlink reference signal strength, and the second network switching condition includes that the downlink reference signal strength is less than or equal to a preset signal strength threshold.
[0131] In one embodiment, the network switching instruction is used to trigger the electronic device and the network device to perform a network switch from a first network to a second network;
[0132] The first network includes a network or a short-range wireless communication network corresponding to the first service cell, and a service quality parameter of a current transmission service corresponding to the second network is greater than a service quality parameter of a current transmission service corresponding to the first network; the second network includes a network or a short-range wireless communication network corresponding to the second service cell; wherein the short-range wireless communication network includes any one of a WIFI network and a Bluetooth network.
[0133] The division of the various modules in the above-mentioned network switching device is only for illustration. In other embodiments, the network switching device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned network switching device.
[0134] For the specific definition of the network switching device, please refer to the definition of the network switching method above, which will not be repeated here. Each module in the above-mentioned network switching device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0135] Fig.12 Schematic diagram of the internal structure of an electronic device in an embodiment. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a car computer, a wearable device, etc. The electronic device includes a processor and a memory connected via a system bus. Among them, the processor may include one or more processing units. The processor may be a CPU (Central Processing Unit) or a DSP (Digital Signal Processing), etc. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a network switching method provided in each of the following embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium.
[0136] The implementation of each module in the network switching device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on an electronic device. The program module constituted by the computer program may be stored in a memory of the electronic device. When the computer program is executed by a processor, the steps of the method described in the embodiment of the present application are implemented.
[0137] The embodiment of the present application also provides a computer-readable storage medium, which includes one or more non-volatile computer-readable storage media containing computer-executable instructions, and when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the network switching method.
[0138] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute a network switching method.
[0139] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include ROM (Read-Only Memory), PROM (Programmable Read-only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-only Memory) or flash memory. Volatile memory may include RAM (Random Access Memory), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), Double Data Rate DDRSDRAM (Double Data Rate Synchronous Dynamic Random Access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory), SLDRAM (Sync Link Dynamic Random Access Memory), RDRAM (Rambus Dynamic Random Access Memory), and DRDRAM (Direct Rambus Dynamic Random Access Memory).
[0140] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A network switching method, characterized in that: The method comprises: Monitoring a business service quality parameter of a current transmission service; the business service quality parameter includes a parameter of at least one business service quality indicator corresponding to the current transmission service; In a case where the current service quality parameter meets the first network switching condition, a network switching instruction is sent to the network device, where the network switching instruction is used to trigger a network switching between the electronic device and the network device.
2. The method according to claim 1, characterized in that The method further comprises: Acquire the service type of the current transmission service; According to the service type and the preset corresponding relationship, the service quality indicator corresponding to the current transmission service is determined; the preset corresponding relationship includes the corresponding relationship between each service type and the service quality indicator corresponding to the service type.
3. The method according to claim 2, characterized in that If the service type of the current transmission service is a first type of service, determining the service quality indicator corresponding to the current transmission service according to the service type and the preset corresponding relationship includes: According to the first category of services and the preset corresponding relationship, it is determined that the service quality indicators corresponding to the current transmission service include the first category of service quality indicators; the first category of services includes at least one of voice services, web browsing services, and streaming media services; the first category of services service quality indicators include bit error rate and packet loss rate.
4. The method according to claim 2, characterized in that: If the service type of the current transmission service is a second type of service, determining the service quality indicator corresponding to the current transmission service according to the service type and the preset corresponding relationship includes: According to the second category of services and the preset corresponding relationship, it is determined that the service quality indicators corresponding to the current transmission services include the service quality indicators of the second category of services; the second category of services includes delay-sensitive services; the service quality indicators of the second category of services include bit error rate and delay.
5. The method according to claim 1, characterized in that The monitoring of the service quality parameters of the current transmission service includes: When the electronic device executes the current transmission service, at least one business service quality indicator corresponding to the current transmission service is monitored according to a first preset period, and a business service quality parameter corresponding to the at least one business service quality indicator is generated.
6. The method according to claim 1, characterized in that The sending a network switching instruction to the network device when the current service quality parameter meets the first network switching condition includes: When the current service quality parameter meets the first network switching condition and the current network quality parameter of the first network meets the second network switching condition, the network switching instruction is sent to the network device.
7. The method according to claim 1, characterized in that The method comprises: When the current service quality parameter satisfies the first network switching condition, monitoring the current network quality parameter of the first network to which the electronic device is connected; When the current network quality parameter of the first network does not meet the second network switching condition, continue to periodically detect the current network quality parameter of the first network until the current network quality parameter of the first network meets the second network switching condition, and send the network switching instruction to the network device.
8. The method according to claim 1, characterized in that The method comprises: When the current service quality parameter satisfies the first network switching condition and the current network quality parameter of the first network does not satisfy the second network switching condition, correcting the current network quality parameter to a target network quality parameter that satisfies the second network switching condition; The network switching instruction is generated based on the target network quality parameter, and the network switching instruction is sent to the network device.
9. The method according to any one of claims 6 to 8, characterized in that The method further comprises: The current network quality parameter includes a downlink reference signal strength, and the second network switching condition includes that the downlink reference signal strength is less than or equal to a preset signal strength threshold.
10. The method according to claim 1, characterized in that The network switching instruction is used to trigger the electronic device and the network device to perform network switching from the first network to the second network; The first network includes a network or a short-range wireless communication network corresponding to a first service cell, and a service quality parameter of the current transmission service corresponding to the second network is greater than a service quality parameter of the current transmission service corresponding to the first network; the second network includes a network or a short-range wireless communication network corresponding to a second service cell; wherein the short-range wireless communication network includes any one of a WIFI network and a Bluetooth network.
11. A network switching device, characterized in that: The device comprises: A monitoring module, used to monitor a business service quality parameter of a current transmission service; the business service quality parameter includes a parameter of at least one business service quality indicator corresponding to the current transmission service; The network switching module is used to send a network switching instruction to the network device when the current service quality parameter meets the first network switching condition, and the network switching instruction is used to trigger a network switching between the electronic device and the network device.
12. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the electronic device executes the steps of the network switching method according to any one of claims 1 to 10.
13. A chip, comprising a processor, characterized in that: The processor is configured to execute the steps of the network switching method according to any one of claims 1 to 10.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the network switching method according to any one of claims 1 to 10 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the network switching method according to any one of claims 1 to 10 are implemented.
