WO2016197543A1 - 网络资源优化方法和装置 - Google Patents

网络资源优化方法和装置 Download PDF

Info

Publication number
WO2016197543A1
WO2016197543A1 PCT/CN2015/094815 CN2015094815W WO2016197543A1 WO 2016197543 A1 WO2016197543 A1 WO 2016197543A1 CN 2015094815 W CN2015094815 W CN 2015094815W WO 2016197543 A1 WO2016197543 A1 WO 2016197543A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
terminal
optimization
preset
time
Prior art date
Application number
PCT/CN2015/094815
Other languages
English (en)
French (fr)
Inventor
张娜
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197543A1 publication Critical patent/WO2016197543A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption

Definitions

  • This application relates to, but is not limited to, the field of communication technology.
  • the network resource optimization of the related technology is optimized on the network side, the optimization speed is slow, the technology is complicated, and the cost is high, and when the number of user access exceeds a preset threshold, the problem of network resource overload is easily caused.
  • This paper proposes a terminal-based network resource optimization method and device, which aims to solve the technical problem that network resources are overloaded when the network side optimizes network resources.
  • a network resource optimization method includes:
  • the terminal During the network connection process, if an abnormality occurs in the network, the terminal reads the network optimization parameters preset in the user identification card, where the network optimization parameters include network reconnection time, network reconnection times, dialing times, and continuous dialing. Time interval or flow threshold;
  • the terminal optimizes the network resource corresponding to the abnormal part of the network according to the network optimization parameter.
  • the step of the terminal optimizing the network resource corresponding to the abnormal part of the network according to the network optimization parameter comprises:
  • the terminal prohibits the network connection request according to the network optimization parameter
  • the terminal enables a preset timer to time
  • the terminal reconnects to the network.
  • the step of the terminal optimizing the network resource corresponding to the network abnormal part according to the network optimization parameter includes:
  • the terminal prohibits the dialing request according to the network optimization parameter
  • the terminal sets the number of dialings within a preset time period and the time interval between consecutive dialings.
  • the step of the terminal optimizing the network resource corresponding to the abnormal part of the network according to the network optimization parameter includes:
  • the terminal releases the network resource
  • the terminal When the traffic used by the terminal is greater than the maximum value of the preset traffic range, the terminal detects the load of other networks in the current area, and if the load of the other network is lower than the load of the current network of the terminal, the current network is switched. To low load networks.
  • the network resource optimization method further includes:
  • the terminal displays the network resource usage in the preset display area.
  • a network resource optimization apparatus where the network resource optimization apparatus includes:
  • the reading module is configured to: if an abnormality occurs in the network during the network connection process, read the network optimization parameter preset in the user identification card, where the network optimization parameter includes network reconnection time and network reconnection times , dialing number, continuous dialing interval or traffic threshold;
  • the optimization module is configured to: optimize the network resource corresponding to the abnormal part of the network according to the network optimization parameter.
  • the optimization module includes:
  • the first forbidden unit is configured to: prohibit the network connection request according to the network optimization parameter
  • Enable the unit set to: enable the preset timer to time;
  • the connecting unit is configured to: when the time counted by the timer reaches a preset time period, reconnect to the network.
  • the optimization module includes:
  • a second forbidden unit configured to: prohibit the dialing request according to the network optimization parameter
  • Set the unit set to: set the number of dialings in the preset time period and the time interval between two consecutive dialings.
  • the optimization module includes:
  • the release unit is configured to: when the traffic used by the terminal is less than the minimum value of the preset traffic range, release the network resource;
  • the processing unit is configured to: when the traffic used by the terminal is greater than the maximum value of the preset traffic range, detect the load of other networks in the current area, and if it detects that the load of the other network is lower than the load of the current network of the terminal, the current The network switches to a low-load network.
  • the network resource optimization apparatus further includes:
  • the display module is set to display the network resource usage in the preset display area during the network connection process.
  • a terminal comprising the network resource optimization device described above.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the terminal-based network resource optimization method and device in the network connection process, if an abnormality occurs in the network, the terminal reads the preset network optimization parameter in the user identification card, and optimizes the parameter according to the network. Excellent network resources corresponding to the abnormal part of the network It realizes the optimization of network resources in the terminal, instead of optimizing the network resources on the network side, and solving the problem of overloading network resources.
  • FIG. 1 is a schematic flowchart of a first embodiment of a terminal-based network resource optimization method according to the present invention
  • FIG. 2 is a schematic flow chart of the refinement of the first embodiment of step S20 of FIG. 1;
  • step S20 in FIG. 1 is a schematic diagram showing a refinement process of the second embodiment of step S20 in FIG. 1;
  • step S20 of FIG. 1 is a schematic flow chart of a third embodiment of step S20 of FIG. 1;
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a terminal-based network resource optimization apparatus according to the present invention.
  • FIG. 6 is a schematic diagram of a refinement function module of the first embodiment of the optimization module 20 of FIG. 5;
  • FIG. 7 is a schematic diagram of a refinement function module of the second embodiment of the optimization module 20 of FIG. 5;
  • FIG. 8 is a schematic diagram of a refinement function module of the third embodiment of the optimization module 20 of FIG. 5.
  • the embodiment of the invention provides a terminal-based network resource optimization method.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a terminal-based network resource optimization method according to the present invention.
  • This embodiment provides a terminal-based network resource optimization method, where the terminal-based network resource optimization method includes:
  • Step S10 In the network connection process, if an abnormality occurs in the network, the terminal reads the network optimization parameter preset in the user identification card, where the network optimization parameter includes network reconnection time, network reconnection times, and number of dialing times. , continuous dialing interval or traffic threshold;
  • the radio resource optimization module is configured in advance for optimizing the abnormality of the network. For example, when a network connection occurs, if some network connections occur When the abnormality occurs, the dialing request is not responded, and the terminal traffic data exceeds the preset range, the radio resource optimization module reads the network optimization parameter preset in the user identification card to process the abnormal situation.
  • the network optimization parameter may include: a terminal reconnection network time T1; a terminal network reconnection number N; a time window time window (a time period for setting a terminal dialing number); and a maximum dialing number Fx sent to the network end within the time window; Time slot - the time slot of the time window (can be preset to 1/4 of the time window); the i-th dialing interval I(i); Nts, the maximum number of dialing requests sent in a time slot; the terminal is in time The time interval T in which the dialing request is continuously sent in the window; the minimum traffic threshold ⁇ 1 and the maximum traffic threshold ⁇ 2.
  • the setting interface for configuring the network optimization parameter is configured, for the user to set corresponding parameters based on the parameter setting interface, for example, setting the terminal reconnection network time T1 by default is 5 minutes, setting The time window time window is one hour.
  • the maximum number of dialing times Fx sent to the network in the time window is 6 times, and the maximum number of restarts N of the terminal network is 4 times and so on.
  • the network optimization parameters in the user identification card can be upgraded through the OTA upgrade mode, and the network optimization parameters in the user identification card are upgraded through the OTA upgrade mode, and the entire network system on the network side is not required to be upgraded, thereby effectively avoiding complexity. Upgrade operation. At the same time, the network optimization parameters are upgraded in real time to meet the needs of terminal network resource optimization.
  • Step S20 The terminal optimizes network resources corresponding to the abnormal part of the network according to the network optimization parameter.
  • the radio resource optimization module optimizes the network resource corresponding to the abnormal part of the network according to the network optimization parameter, for example, when the network connection fails, in order to prevent the user from continuously performing the network.
  • the connection causes the network to be overloaded, triggers the network connection prohibition command in a preset manner, and presets the network reconnection time and the number of reconnections in a certain period of time, thereby reducing the load of network resources.
  • the terminal-based network resource optimization method in the embodiment in the network connection process, if an abnormality occurs in the network, the terminal reads the preset network optimization parameter in the user identification card, and the network abnormality is determined according to the network optimization parameter. Part of the corresponding network resources are optimized, and the network resources are optimized at the terminal, instead of optimizing the network resources on the network side, and the solution is solved. The problem of overloading network resources.
  • the abnormal situation of the network includes:
  • the network connection is not available. For example, when the network refuses terminal access for some reason, when the terminal receives some reasons for rejection, such as #2 (IMSI unknown in HLR, unknown in hlr imsi), #3 (illegal When the MS, error MS) and other reasons for rejection, according to the 3GPP protocol, the terminal will always be in the limit service state, and no other network connection will be tried at this time. This may cause the user to manually search the network, manually connect and other operations, and the terminal will continue to search the network, and constantly interact with the network, resulting in network resources occupation and waste.
  • reasons for rejection such as #2 (IMSI unknown in HLR, unknown in hlr imsi), #3 (illegal When the MS, error MS) and other reasons for rejection
  • the step S20 includes:
  • Step S21 The terminal prohibits the network connection request according to the network optimization parameter.
  • the terminal when the terminal fails to connect to the network, in order to prevent the user from manually searching or manually connecting to the network, the terminal prohibits the network search and networking request of the terminal according to the network optimization parameter, for example, the terminal triggers the network.
  • the connection prohibition command is set, and the time T1 of reconnection is set to a period of time after the network connection is disconnected (for example, 5 minutes). At this time, the network is disconnected, even if the user performs a network search operation or a network connection request, the terminal also Not responding.
  • Step S22 the terminal enables a preset timer to perform timing
  • Step S23 when the time counted by the timer reaches a preset time period, the terminal reconnects to the network.
  • the terminal enables a preset timer to perform timing, and the time of the timer can be set according to the needs of the user, such as setting the time to 10 minutes, when the timer starts from the timing to 10 In the minute, the terminal triggers the network connection command and re-connects the network.
  • This network resource optimization mode effectively prevents the network from being in the limit service state.
  • the number of automatic connections of the terminal in the preset time interval that is, the maximum number of reconnections N of the terminal network
  • the terminal may be preset, such as setting the maximum reconnection number N of the terminal network. For 1 hour and 5 times, when the terminal automatically reconnects the network connection within 5 hours, the terminal no longer makes network connection after the network is disconnected within 1 hour, effectively avoiding the network. It is occupied multiple times, which reduces the waste of network resources.
  • the dialing request is not responding. For example, if the terminal initiates the dialing request, if it is rejected by the network for a specific reason, for example, #26 reason is rejected, according to the requirements of the 3GPP protocol, only the dialing failure is considered, and the next dialing is not affected, but if It is the same APN (APN refers to a network access technology, which is a parameter that must be configured when accessing the Internet via a mobile phone. It determines which access method the mobile phone uses to access the network), and will be rejected by the network next time, but when When users try to dial, they will occupy network air interface resources, resulting in wasted network resources.
  • APN refers to a network access technology, which is a parameter that must be configured when accessing the Internet via a mobile phone. It determines which access method the mobile phone uses to access the network), and will be rejected by the network next time, but when When users try to dial, they will occupy network air interface resources, resulting in wasted network resources.
  • the step S20 includes:
  • Step S24 The terminal prohibits the dialing request according to the network optimization parameter.
  • the terminal when the terminal fails to dial, the terminal needs to take corresponding measures.
  • the terminal initiates the dialing request, if the network rejects the request, in order to prevent the terminal client from initiating the dialing request endlessly, the network air interface resource is occupied.
  • the terminal will disable the dialing request at this time, and the terminal prohibits the dialing request of the terminal according to the network optimization parameter, for example, the terminal triggers the dialing prohibition instruction, and sets the time T of the re-dialing request to a section after disconnecting the network connection.
  • the time (such as 5 minutes) and the number of dialing times in the preset period of time. At this time, the network is disconnected, and the terminal does not respond even if the user dials continuously.
  • step S25 the terminal sets the number of dialings in a preset time period and the time interval between consecutive dialings.
  • the terminal sets the dialing time within the preset time interval to not exceed the maximum number of dialing times Fx, for example, the hour dialing cannot exceed 6 times, and the consecutive two dialings must have a certain time interval. For example, if the time between dialings cannot be less than 10 minutes, in a time window, in order to limit the user's continuous dialing, in the case that the dialing request is ignored by the network, and in the case of successful registration, in a time window There are certain number of times, and there must be a certain unequal interval for two consecutive dialings. To better understand the above solution, the solution is described in detail by the Back-off algorithm. The process examples are as follows:
  • the Back-off algorithm is defined as an algorithm that increases at equal intervals. When the terminal receives a special rejection reason from the network for the first time, the back-off time becomes longer.
  • the subsequent back-off interval will be equal to I(4).
  • the I(1) represents the time interval of the first dialing time
  • the number 4 represents that the dialing time is divided into four sections (for example, the total number of dialing times is set to 6 times in one hour, and the dialing number in each section is the least. 1 time)
  • the Back-off algorithm avoids the situation where the user sends an Fx dialing request within the first 1, 2 or 3 time slots, and the user can no longer initiate a request for the rest of the time until The time window has timed out.
  • the Back-off algorithm implements the above functions in two ways, one is a reasonable back-off interval, and the average distribution of all Fx secondary dialing requests is evenly distributed in the time window; the other is, When the user receives the dialing request, it will check if at least one dialing request can be guaranteed to be sent in each subsequent time slot.
  • the terminal traffic data exceeds the preset traffic range. For example, when the network load is severe, the network speed is relatively slow, and when the handover requirement is not met at this time, the blind handover may cause network resources to be tight and the user experience is poor; or the network traffic resource When the occupancy is less than the minimum traffic threshold, it consumes unnecessary traffic resources.
  • the step S20 includes:
  • Step S26 When the traffic used by the terminal is less than the minimum value of the preset traffic range, the terminal releases the network resource.
  • step S27 when the traffic used by the terminal is greater than the maximum value of the preset traffic range, the terminal detects the load of other networks in the current area, and if it detects that the load of other networks is lower than the load of the current network of the terminal, the current The network switches to a low-load network.
  • the step S27 includes: when the traffic used by the terminal is greater than a maximum value of the preset traffic range (such as 1 M/S), and the terminal is in a network switchable state, the terminal may perform the network between the terminals. Switching, the current network is switched to the network with lower load; further, when the traffic used by the terminal is greater than the maximum value of the preset traffic range, and the terminal does not meet the condition of self-switching at this time, that is, the network protocol is not reached.
  • the condition for example, the traffic data used by the terminal has not reached the preset threshold.
  • the terminal searches for the existence of other networks in its current area. If other networks exist at this time, the searched network load is smaller than the current terminal.
  • the network load can switch the current network to other low-load networks.
  • the understandable scenario is that with the development of 4G networks, more and more users use 4G networks, when users are in a certain period of time. When 4G networks are used, the 4G network will be particularly crowded, causing the overall network load to be overloaded. At this time, the terminal can switch the 4G network to the 3G or 2G network. Thus optimizing network resources.
  • the second embodiment of the network resource optimization method of the present invention is proposed based on the first embodiment.
  • the network resource optimization method further includes:
  • step S30 during the network connection process, the terminal displays the network resource usage in the preset display area.
  • the terminal can display the network resource usage in a preset display area, that is, display the network usage of the terminal at any time, and the traffic occupied by each application. Further, the step S30 is further performed. include:
  • the terminal When the terminal fails to connect to the network, the terminal displays the cause of the network connection failure in the preset display area for the user to know the network status.
  • the terminal When the terminal data traffic condition exceeds the preset threshold within the preset time interval, the terminal is preset The display area shows the usage of data traffic to prompt the user for current long-term traffic usage.
  • the traffic status is displayed in real time, and the abnormal situation is displayed when the network is abnormal, so that the user can know the usage of each application in real time, and the user experience is better improved.
  • the embodiment of the invention further provides a terminal-based network resource optimization device.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a network resource optimization apparatus based on a terminal according to the present invention.
  • This embodiment provides a network resource optimization apparatus, where the network resource optimization apparatus includes:
  • the reading module 10 is configured to: if abnormality occurs in the network during the network connection process, read network optimization parameters preset in the user identification card, where the network optimization parameters include network reconnection time and network reconnection Number of times, number of dialings, continuous dialing interval, or traffic threshold;
  • the radio resource optimization module is configured in advance for optimizing the abnormality of the network. For example, in the network connection process, if some abnormal conditions such as no network connection, no dialing request, and terminal traffic data exceeding a preset range occur, the radio resource optimization module reads the network preset in the user identification card. Optimize parameters to handle exceptions.
  • the network optimization parameter may include: a terminal reconnection network time T1; a terminal network reconnection number N; a time window time window (a time period for setting a terminal dialing number); and a maximum dialing number Fx sent to the network end within the time window; Time slot - the time slot of the time window (can be preset to 1/4 of the time window); the i-th dialing interval I(i); Nts, the maximum number of dialing requests sent in a time slot; the terminal is in time The time interval T in which the dialing request is continuously sent in the window; the minimum traffic threshold ⁇ 1 and the maximum traffic threshold ⁇ 2.
  • the setting interface for configuring the network optimization parameter is further configured for the user to set corresponding parameters based on the parameter setting interface. For example, setting the terminal reconnection network time T1 is 5 minutes by default, and setting the time window to the time window is One hour, the maximum number of dialings Fx sent to the network in the time window is 6 times, the maximum number of restarts N of the terminal network is 4 times, and so on.
  • the network optimization parameter in the user identity card can be upgraded by using an OTA upgrade mode.
  • the OTA upgrade mode upgrades the network optimization parameters in the user ID card. It is not necessary to upgrade the entire network system on the network to effectively avoid complex upgrade operations. At the same time, the network optimization parameters are upgraded in real time to meet the needs of terminal network resource optimization.
  • the optimization module 20 is configured to: optimize network resources corresponding to the abnormal part of the network according to the network optimization parameter.
  • the radio resource optimization module optimizes the network resource corresponding to the abnormal part of the network according to the network optimization parameter, for example, when the network connection fails,
  • the network module is prevented from being overloaded by the network connection, and the optimization module 20 triggers the network connection prohibition instruction in a preset manner, and presets the network reconnection time and the number of reconnections in a certain period of time, thereby reducing network resources. load.
  • the optimization process will be elaborated in the subsequent embodiments.
  • the terminal reads the preset network optimization parameter in the user identification card, and the network optimization parameter is based on the network optimization parameter.
  • the network optimization parameter is based on the network optimization parameter.
  • Part of the corresponding network resources are optimized to optimize the network resources in the terminal, instead of optimizing the network resources on the network side, and solving the problem of overloading the network resources.
  • the abnormal situation of the network includes:
  • the network connection is not available. For example, when the network refuses terminal access for some reason, when the terminal receives some reasons for rejection, such as #2 (IMSI unknown in HLR, unknown in hlr imsi), #3 (illegal When the MS, error MS) and other reasons for rejection, according to the 3GPP protocol, the terminal will always be in the limit service state, and no other network connection will be tried at this time. This may cause the user to manually search the network, manually connect and other operations, and the terminal will continue to search the network, and constantly interact with the network, resulting in network resources occupation and waste.
  • reasons for rejection such as #2 (IMSI unknown in HLR, unknown in hlr imsi), #3 (illegal When the MS, error MS) and other reasons for rejection
  • the optimization module 20 when the abnormal part of the network fails for the terminal to connect to the network, the optimization module 20 includes:
  • the first prohibiting unit 21 is configured to: prohibit the network connection request according to the network optimization parameter
  • the first prohibiting unit 21 prohibits the network search and networking request of the terminal according to the network optimization parameter, for example, triggers a network connection prohibition instruction, and sets the time T1 of reconnection time to After the network connection is disconnected for a period of time (for example, 5 minutes), the network is in the disconnected state, and the first prohibiting unit 21 does not respond even if the user performs a network searching operation or a network connection request.
  • the enabling unit 22 is configured to: enable a preset timer for timing;
  • the connecting unit 23 is configured to reconnect to the network when the time counted by the timer reaches a preset time period.
  • the enabling unit 22 enables a preset timer to perform timing, and the time of the timer can be set according to the needs of the user, such as setting the time to 10 minutes, when the timer starts from the timing.
  • the network connection command is triggered, and the enabling unit 22 re-connects the network.
  • This network resource optimization mode effectively prevents the network from being in the state of the limit service.
  • the number of automatic connections of the connection unit 23 within a preset time interval that is, the maximum number of reconnections of the terminal network N, such as the maximum number of reconnections of the terminal network
  • N is set to 5 times in 1 hour
  • the connection unit 23 automatically reconnects the network connection 5 times in one hour the network connection is no longer performed after the network is disconnected within 1 hour, effectively avoiding the network. It is occupied multiple times, which reduces the waste of network resources.
  • the dialing request is not responding. For example, if the terminal initiates the dialing request, if it is rejected by the network for a specific reason, for example, #26 reason is rejected, according to the requirements of the 3GPP protocol, only the dialing failure is considered, and the next dialing is not affected, but if It is the same APN (APN refers to a network access technology, which is a parameter that must be configured when accessing the Internet via a mobile phone. It determines which access method the mobile phone uses to access the network), and will be rejected by the network next time, but when When users try to dial, they will occupy network air interface resources, resulting in wasted network resources.
  • APN refers to a network access technology, which is a parameter that must be configured when accessing the Internet via a mobile phone. It determines which access method the mobile phone uses to access the network), and will be rejected by the network next time, but when When users try to dial, they will occupy network air interface resources, resulting in wasted network resources.
  • the optimization module 20 includes:
  • the second prohibiting unit 24 is configured to: prohibit the dialing request according to the network optimization parameter,
  • the terminal when the terminal fails to dial, the terminal needs to take corresponding measures.
  • the terminal initiates the dialing request, if the network rejects the request, in order to avoid the endless transmission of the terminal client.
  • the dialing request occupies the network air interface resource, the second prohibiting unit 24 will disable the dialing request at this time, and the second prohibiting unit 24 prohibits the dialing request of the terminal according to the network optimization parameter, for example, the terminal triggers the dialing prohibition instruction, and Set the time T of the re-dialing request to a period of time after disconnecting the network connection (such as 5 minutes) and the number of dialing times within a preset period of time. At this time, the network is disconnected, even if the user dials continuously, the second prohibition Unit 24 is also unresponsive.
  • the setting unit 25 is configured to set the number of dialings in a preset period of time and the time interval between consecutive dialings.
  • the setting unit 25 sets the dialing time within the preset time interval to exceed the maximum number of dialing times Fx according to the preset network optimization parameter, such as one hour dialing cannot exceed 6 times, and the consecutive two dialings must have A certain time interval, such as the time between each dialing cannot be less than 10 minutes, in a time window, in order to limit the user's continuous dialing, in the case that the dialing request is ignored by the network, and in the case of successful registration, in one case There is a certain number of times in the time window, and there must be a certain unequal interval between two consecutive dialings.
  • the solution is described in detail by the Back-off algorithm.
  • the process examples are as follows:
  • the Back-off algorithm is defined as an algorithm that increases at equal intervals. When the terminal receives a special rejection reason from the network for the first time, the back-off time becomes longer.
  • the subsequent back-off interval will be equal to I(4).
  • the I(1) represents the time interval of the first dialing time
  • the number 4 represents that the dialing time is divided into four sections (for example, the total number of dialing times is set to 6 times in one hour, and the dialing number in each section is the least. 1 time)
  • the Back-off algorithm avoids the situation where the user sends an Fx dialing request within the first 1, 2 or 3 time slots, and the user can no longer initiate a request for the rest of the time until The time window has timed out.
  • the Back-off algorithm implements the above functions in two ways, one is a reasonable back-off interval, and the average distribution of all Fx secondary dialing requests is evenly distributed in the time window; the other is, When the user receives a dial request, it will check Check whether at least one dialing request can be guaranteed to be sent in each subsequent time slot.
  • the terminal traffic data exceeds the preset traffic range. For example, when the network load is severe, the network speed is relatively slow, and when the handover requirement is not met at this time, the blind handover may cause network resources to be tight and the user experience is poor; or the network traffic resource When the occupancy is less than the minimum traffic threshold, it consumes unnecessary traffic resources.
  • the optimization module 20 includes:
  • the releasing unit 26 is configured to: when the traffic used by the terminal is less than a minimum value of the preset traffic range, release the network resource;
  • the release unit 26 closes the background application network and releases the network resources occupied by the background application.
  • the processing unit 27 is configured to: when the traffic used by the terminal is greater than the maximum value of the preset traffic range, detect the load of other networks in the current area, and if the load of the other network is lower than the load of the current network of the terminal, Switch the current network to a low-load network.
  • the processing unit 27 when the traffic used by the processing unit 27 is greater than the maximum value of the preset traffic range (such as 1 M/S) and is in the network switchable state, the processing unit 27 can perform the switching between the networks by itself.
  • the current network is switched to the network with a lower load; further, when the traffic used by the processing unit 27 is greater than the maximum value of the preset traffic range, and the terminal does not meet the self-switching condition at this time, that is, the network protocol is not reached.
  • the network load can switch the current network to other low-load networks.
  • the understandable scenario is that with the development of 4G networks, more and more users use 4G networks, when users are in a certain period of time. Are using 4G network At this time, the 4G network will be particularly crowded, resulting in overload of the overall network load. At this time, the terminal can switch the 4G network to the 3G or 2G network to optimize network resources.
  • the second embodiment of the network resource optimization apparatus of the present invention is proposed based on the first embodiment.
  • the network resource optimization method further includes:
  • the display module 30 is configured to display network resource usage in the preset display area during the network connection process.
  • the display module 30 can display the network resource usage status in the preset display area in real time, that is, display the network usage of the terminal at any time, and the traffic occupied by each application, and further, the display Module 30 also includes:
  • the display module 30 displays the cause of the network connection failure in the preset display area for the user to know the network status.
  • the display module 30 displays the usage of the data traffic in the preset display area to prompt the user for the current long-term traffic usage.
  • the traffic status is displayed in real time, and the abnormal situation is displayed when the network is abnormal, so that the user can know the usage of each application in real time, and the user experience is better improved.
  • the embodiment of the present invention further provides a terminal, where the terminal includes the network resource optimization apparatus as described above.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the terminal-based network resource optimization method and device in the network connection process, if an abnormality occurs in the network, the terminal reads the preset network optimization parameter in the user identification card, and optimizes the parameter according to the network. Optimize the network resources corresponding to the abnormal part of the network, and optimize the network resources in the terminal, instead of optimizing the network resources on the network side, and solving the problem of overloading the network resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本文公布一种基于终端的网络资源优化方法和装置,所述方法包括:在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化。

Description

网络资源优化方法和装置 技术领域
本申请涉及但不限于通信技术领域。
背景技术
随着无线通讯技术的发展,尤其随着4G(第四代通讯技术)技术的发展,全球的移动运营商网络扩展迅猛,无线网络用户数量也在快速增长,而运营商网络部署优化一方面受制于成本,另一方面受制于频谱划分,其发展远远落后于用户数量增长,因此对于如何进行网络资源优化,避免网络负载超负荷,是急切解决的问题。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
相关技术的网络资源优化都是在网络端进行优化,优化速度慢,技术比较复杂,代价也高,而且当用户接入的数量超出预设阈值时,容易导致网络资源超负荷的问题。
本文提出一种基于终端的网络资源优化方法和装置,旨在解决网络端优化网络资源时,容易网络资源超负荷的技术问题。
一种网络资源优化方法,包括:
在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;
终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化。
可选地,当所述网络异常部分为终端连接网络失败时,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化的步骤包括:
终端根据所述网络优化参数禁止连网请求;
终端启用预设的计时器进行计时;
当所述计时器计时的时间达到预设时间段时,终端重新连接网络。
可选地,当所述网络异常部分为终端拨号失败时,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化的步骤包括:
终端根据所述网络优化参数禁止拨号请求;
终端设置在预设的时间段内的拨号次数以及连续两次拨号之间的时间间隔。
可选地,当所述网络异常部分为终端使用的流量超出预设流量范围时,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化的步骤包括:
当终端使用的流量小于预设流量范围的最小值时,所述终端释放网络资源;
当终端使用的流量大于预设流量范围的最大值时,所述终端检测当前所在区域的其它网络的负荷情况,若检测到其它网络的负荷低于终端当前网络的负荷时,将当前的网络切换至低负荷网络。
可选地,所述网络资源优化方法还包括:
在网络连接过程中,终端在预设显示区域显示网络资源使用情况。
一种网络资源优化装置,所述网络资源优化装置包括:
读取模块,设置为:在网络连接过程中,若检测到网络出现异常情况,读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;
优化模块,设置为:根据所述网络优化参数对网络异常部分对应的网络资源进行优化。
可选地,当所述网络异常部分为终端连接网络失败时,所述优化模块包括:
第一禁止单元,设置为:根据所述网络优化参数禁止连网请求;
启用单元,设置为:启用预设的计时器进行计时;
连接单元,设置为:当所述计时器计时的时间达到预设时间段时,重新连接网络。
可选地,当所述网络异常部分为终端拨号失败时,所述优化模块包括:
第二禁止单元,设置为:根据所述网络优化参数禁止拨号请求,
设置单元,设置为:设置在预设的时间段内的拨号次数以及连续两次拨号之间的时间间隔。
可选地,当所述网络异常部分为终端使用的流量超出预设流量范围时,所述优化模块包括:
释放单元,设置为:当终端使用的流量小于预设流量范围的最小值时,释放网络资源;
处理单元,设置为:当终端使用的流量大于预设流量范围的最大值时,检测当前所在区域的其它网络的负荷情况,若检测到其它网络的负荷低于终端当前网络的负荷时,将当前的网络切换至低负荷网络。
可选地,所述网络资源优化装置还包括:
显示模块,设置为:在网络连接过程中,在预设显示区域显示网络资源使用情况。
一种终端,所述终端包括上述的网络资源优化装置。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
本发明实施例提出的基于终端的网络资源优化方法和装置,在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,并根据网络优化参数对网络异常部分对应的网络资源进行优 化,实现了在终端对网络资源进行优化,而不是在网络端对网络资源进行优化,解决了网络资源超负荷的问题。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明基于终端的网络资源优化方法第一实施例的流程示意图;
图2为图1中步骤S20的第一实施例细化流程示意图;
图3为图1中步骤S20的第二实施例细化流程示意图;
图4为图1中步骤S20的第三实施例细化流程示意图;
图5为本发明基于终端的网络资源优化装置第一实施例的功能模块示意图;
图6为图5中优化模块20的第一实施例细化功能模块示意图;
图7为图5中优化模块20的第二实施例细化功能模块示意图;
图8为图5中优化模块20的第三实施例细化功能模块示意图。
本发明的实施方式
本发明实施例提供一种基于终端的网络资源优化方法。
参照图1,图1为本发明基于终端的网络资源优化方法第一实施例的流程示意图。
本实施例提出一种基于终端的网络资源优化方法,所述基于终端的网络资源优化方法包括:
步骤S10,在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;
本发明实施例中,预先在终端配置无线资源优化模块,用于对网络的异常情况进行优化处理。例如,当在网络连接过程中,如果出现一些网络连接 不上、拨号请求无响应、终端流量数据超出预设范围等异常情况时,无线资源优化模块读取预置在用户身份识别卡中的网络优化参数以对异常情况进行处理。
所述网络优化参数可包括:终端重连网络时间T1;终端网络重连次数N;时间窗口time window(用于设置终端拨号次数的时间段);时间窗口内发送到网络端的最大拨号次数Fx;time slot-时间窗口的时隙(可预设为时间窗口的1/4);第i次拨号时间间隔I(i);Nts,在一个time slot里发送的最大的拨号请求次数;终端在时间窗口内连续发送拨号请求的时间间隔T;最小流量阈值△1和最大流量阈值△2等。
在本实施例中,所述步骤S10之前,包括配置网络优化参数的设置界面,以供用户基于所述参数设置界面设置相应的参数,例如,设置终端重连网络时间T1默认是5分钟,设置时间窗口time window是一个小时,时间窗口内发送到网络端的最大拨号次数Fx是6次,终端网络最大重启次数N是4次等等。所述用户身份识别卡中的网络优化参数可通过OTA升级方式进行升级,通过OTA升级方式对用户身份识别卡中的网络优化参数进行升级,无需将对网络端的整个网络系统进行升级,有效避免复杂的升级操作。同时,实时对网络优化参数进行升级,满足终端网络资源优化的需要。
步骤S20,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化。
本发明实施例中,当终端读取上述网络优化参数后,无线资源优化模块根据所述网络优化参数对网络异常部分对应的网络资源进行优化,例如,网络连接失败时,为了防止用户不断进行网络连接而导致网络超负荷,通过预设的方式触发网络连接禁止指令,并预设网络重连时间以及在一定时间内的重连次数,从而减少网络资源的负荷。优化过程将在后续实施例中详细阐述。
本实施例提出的基于终端的网络资源优化方法,在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,并根据网络优化参数对网络异常部分对应的网络资源进行优化,实现了在终端对网络资源进行优化,而不是在网络端对网络资源进行优化,解决了 网络资源超负荷的问题。
以下将分几种异常情况对本发明实施例技术方案进行详细说明。本实施例中,所述网络的异常情况包括:
1)网络连接不上,例如,网络由于某些原因拒绝终端接入时,当终端收到一些拒绝原因的时候,如#2(IMSI unknown in HLR,在hlr imsi未知的)、#3(illegal MS,错误MS)等拒绝原因时,按照3GPP协议,终端会一直处于限值服务状态,此时不会再去尝试其他网络连接。这样子可能会导致用户可能不停的手动搜网、手动连接等操作,而终端也会不断的搜网,不停的与网络交互,造成网络资源占用与浪费。
针对网络连接不上的情况,在本实施例中,参照图2,当所述网络异常部分为终端连接网络失败时,所述步骤S20包括:
步骤S21,终端根据所述网络优化参数禁止连网请求;
在本实施例中,当终端连接网络失败时,为了防止用户不停的手动搜网或手动连接网络,所述终端根据所述网络优化参数禁止终端的搜网和连网请求,例如终端触发网络连接禁止指令,并将再次连网的时间T1设置为断开网络连接后的一段时间(如5分钟),此时,网络处于断开状态,即使用户执行搜网操作还是连网请求,终端也无响应。
步骤S22,终端启用预设的计时器进行计时;
步骤S23,当所述计时器计时的时间达到预设时间段时,终端重新连接网络。
在本实施例中,所述终端启用预设的计时器进行计时,所述计时器的时间可根据用户的需要进行设置,如将时间设置为10分钟,当所述计时器从计时开始至10分钟时,所述终端触发网络连接指令,并重新进行网络的连接,这种网络资源优化方式,有效防止网络端一直处于限值服务的状态。根据所述终端预设的网络优化参数可得知,可预设终端在预设时间间隔内的自动连接的次数即终端网络最大重连次数N,如将所述终端网络最大重连次数N设置为1个小时5次,当终端在一个小时内自动重连网络连接的次数达到5次时,则在1小时内,网络断开后终端不再进行网络连接,有效避免了网络 多次被占用,从而减少了网络资源的浪费。
2)拨号请求无响应,例如,终端发起拨号请求时,如果被网络以特定原因拒绝,例如#26原因拒绝时,按照3GPP协议要求,只是认为这次拨号失败,不影响下次拨号,但如果是同一APN(APN指一种网络接入技术,是通过手机上网时必须配置的一个参数,它决定了手机通过哪种接入方式来访问网络)的话,下次还是会被网络拒绝,但是当用户不停的尝试拨号时,会占用网络空口资源,导致网络资源浪费。
针对拨号请求无响应的情况,在本实施例中,参照图3,当所述网络异常部分为终端拨号失败时,所述步骤S20包括:
步骤S24,终端根据所述网络优化参数禁止拨号请求;
在本实施例中,当终端拨号失败时,此时终端需要采取相应的措施,当终端在发起拨号请求时,如果网络拒绝了请求,为避免终端客户无休止的发起拨号请求,占用网络空口资源,终端此时将禁止这个拨号请求,所述终端根据所述网络优化参数禁止终端的拨号请求,例如终端触发拨号的禁止指令,并将再次拨号请求的时间T设置为断开网络连接后的一段时间(如5分钟)以及预设一段时间段内的拨号次数,此时,网络处于断开状态,即使用户连续拨号,终端也无响应。
步骤S25,终端设置在预设的时间段内的拨号次数以及连续两次拨号之间的时间间隔。
在本实施例中,终端根据预设网络优化参数,设置其预设时间间隔内拨号不能超过最大拨号次数Fx,如一个小时拨号不能超过6次,并且连续的两次拨号必须有一定的时间间隔,如每两次拨号之间的时间不能小于10分钟,在一个时间窗口内,为了限制用户连续拨号,在拨号请求被网络忽略的情况下,以及成功注册的情况下,在一个时间窗口内都有一定的次数限制,并且连续两次拨号必须有一定的不等时间隔的。为更好理解上述方案,本方案通过Back-off算法进行详述,过程举例如下:
将Back-off算法定义为以等间隔递增的算法,当终端第一次从网络端收到一个特殊的拒绝原因,back-off的时间就逐步变长。
I(1)=1/6*I(4)s,
I(2)=2/6*I(4)s,
I(3)=3/6*I(4)s,
I(4)=Min(Twindow/(Fx+5)s,Twindow/(4*Nts))
可以理解的是,如果连续5次被拒绝,则后面的back-off间隔将等于I(4)。所述I(1)表示第一次拨号时间的时间间隔,数字4表示将一段拨号时间分为四个区间(如一个小时内总的拨号次数设置为6次,在每一个区间的拨号次数最少为1次),Back-off算法为避免发生这样的情况:如用户在前1、2或者3个时隙内就发了Fx次拨号请求,在余下的时间内用户就不能再发起请求,直至时间窗口超时。因此,本实施例中Back-off算法是通过两条途径来实现上述功能的,一个是合理的back-off间隔,合理地将所有Fx次拨号请求平均的分布在time window内;另一个是,当用户收到拨号请求时,将检查在后续的每个时隙内是否能保证发送至少1个拨号请求。
3)终端流量数据超出预设流量范围,例如,网络负荷严重时,网速比较慢,而此时还不满足切换要求时,盲目切换会导致网络资源紧张,并且用户体验差;或者网络流量资源占用小于最小流量阈值时,占用不必要的流量资源。
针对终端流量数据超出预设流量范围的情况,在本实施例中,参照图4,当所述网络异常部分为终端使用的流量超出预设流量范围时,所述步骤S20包括:
步骤S26,当终端使用的流量小于预设流量范围的最小值时,所述终端释放网络资源;
可以理解的是,当终端在与网络连接过程中,终端中很多应用都是处于关闭状态的,但是,由于终端和网络处于网络交互过程,所述很多应用都会在后台程序中启用,由于在后台启用的应用占用网络流量一般都小于一定的流量阈值,而多个这样的应用在后台开启时,会造成不必要的流量资源浪费,所以,在本实施例中,当终端检测到当前使用的流量小于预设流量范围的最小值(如10K/S)时,所述终端关闭后台应用网络,将后台应用中占用 的网络资源释放出来。
步骤S27,当终端使用的流量大于预设流量范围的最大值时,所述终端检测当前所在区域的其它网络的负荷情况,若检测到其它网络的负荷低于终端当前网络的负荷时,将当前的网络切换至低负荷网络。
在本实施例中,所述步骤S27包括:当终端使用的流量大于预设流量范围最大值(如1M/S),且终端处于网络可切换状态时,此时终端可自行进行网络之间的切换,将当前的网络切换至负荷较低的网络中;进一步地,当终端使用的流量大于预设流量范围最大值时,而且所述终端此时不满足自行切换的条件,即未达到网络协议的条件,如终端使用的流量数据还没达到预设阈值,此时,终端搜索其当前区域是否存在其他的网络,若此时存在其它的网络,且所述搜索到的网络负荷量小于终端当前的网络负荷量,即可将当前的网络切换至其它低负荷网络中,可以理解的场景是,随着4G网络的发展,越来越多的用户使用4G网络,当某一个时间段内,用户都在使用4G网络时,此时4G网络会特别拥挤,导致整体的网络负荷超载,此时,终端可行将4G网络切换至3G或2G网络中,从而优化网络资源。
为提高网络资源优化的灵活性,基于第一实施例提出本发明网络资源优化方法第二实施例,在本实施例中,所述网络资源优化方法还包括:
步骤S30,在网络连接过程中,终端在预设显示区域显示网络资源使用情况。
在本实施例中,所述终端可实时在预设显示区域显示网络资源使用情况,即显示终端在任一时间中的网络使用情况,以及每个应用占用的流量,进一步地,所述步骤S30还包括:
1)当终端连接网络失败时,此时终端在预设的显示区域显示网络连接失败原因,以供用户知道网络状态。
2)当终端拨号请求无响应时,此时终端在预设的显示区域显拨号请求无响应的原因。
3)当终端数据流量情况在预设时间间隔内超出预设阈值时,终端在预设 的显示区域显示数据流量的使用情况,以提示用户当前长时间的流量使用。
可以理解的是,在网络资源使用过程中,实时显示流量情况,以及遇到网络异常情况时,显示异常情况的原因,以供用户实时获知每个应用流量使用情况,更好提高了用户的体验。
本发明实施例还提供一种基于终端的网络资源优化装置。
参照图5,图5为本发明基于终端的网络资源优化装置第一实施例的功能模块示意图。
本实施例提出一种网络资源优化装置,所述网络资源优化装置包括:
读取模块10,设置为:在网络连接过程中,若检测到网络出现异常情况,读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;
本发明实施例中,预先在终端配置无线资源优化模块,用于对网络的异常情况进行优化处理。例如,当在网络连接过程中,如果出现一些网络连接不上、拨号请求无响应、终端流量数据超出预设范围等异常情况时,无线资源优化模块读取预置在用户身份识别卡中的网络优化参数,以对异常情况进行处理。
所述网络优化参数可包括:终端重连网络时间T1;终端网络重连次数N;时间窗口time window(用于设置终端拨号次数的时间段);时间窗口内发送到网络端的最大拨号次数Fx;time slot-时间窗口的时隙(可预设为时间窗口的1/4);第i次拨号时间间隔I(i);Nts,在一个time slot里发送的最大的拨号请求次数;终端在时间窗口内连续发送拨号请求的时间间隔T;最小流量阈值△1和最大流量阈值△2等。
在本实施例中,还包括配置网络优化参数的设置界面,以供用户基于所述参数设置界面设置相应的参数,例如,设置终端重连网络时间T1默认是5分钟,设置时间窗口time window是一个小时,时间窗口内发送到网络端的最大拨号次数Fx是6次,终端网络最大重启次数N是4次等等。进一步地,所述用户身份识别卡中的网络优化参数可通过OTA升级方式进行升级,通 过OTA升级方式对用户身份识别卡中的网络优化参数进行升级,无需将对网络端的整个网络系统进行升级,有效避免复杂的升级操作。同时,实时对网络优化参数进行升级,满足终端网络资源优化的需要。
优化模块20,设置为:根据所述网络优化参数对网络异常部分对应的网络资源进行优化。
本发明实施例中,当所述读取模块10读取上述网络优化参数后,无线资源优化模块根据所述网络优化参数对网络异常部分对应的网络资源进行优化,例如,网络连接失败时,为了防止用户不断进行网络连接而导致网络超负荷,所述优化模块20通过预设的方式触发网络连接禁止指令,并预设网络重连时间以及在一定时间内的重连次数,从而减少网络资源的负荷。优化过程将在后续实施例中详细阐述。
本实施例提出的基于终端的网络资源优化装置,在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,并根据网络优化参数对网络异常部分对应的网络资源进行优化,实现了在终端对网络资源进行优化,而不是在网络端对网络资源进行优化,解决了网络资源超负荷的问题。
以下将分几种异常情况对本发明实施例技术方案进行详细说明。本实施例中,所述网络的异常情况包括:
1)网络连接不上,例如,网络由于某些原因拒绝终端接入时,当终端收到一些拒绝原因的时候,如#2(IMSI unknown in HLR,在hlr imsi未知的)、#3(illegal MS,错误MS)等拒绝原因时,按照3GPP协议,终端会一直处于限值服务状态,此时不会再去尝试其他网络连接。这样子可能会导致用户可能不停的手动搜网、手动连接等操作,而终端也会不断的搜网,不停的与网络交互,造成网络资源占用与浪费。
针对网络连接不上的情况,在本实施例中,参照图6,当所述网络异常部分为终端连接网络失败时,所述优化模块20包括:
第一禁止单元21,设置为:根据所述网络优化参数禁止连网请求;
在本实施例中,当网络资源优化装置连接网络失败时,为了防止用户不 停的手动搜网或手动连接网络,所述第一禁止单元21根据所述网络优化参数禁止终端的搜网和连网请求,例如触发网络连接禁止指令,并将再次连网的时间T1设置为断开网络连接后的一段时间(如5分钟),此时,网络处于断开状态,即使用户执行搜网操作还是连网请求,第一禁止单元21也无响应。
启用单元22,设置为:启用预设的计时器进行计时;
连接单元23,设置为:当所述计时器计时的时间达到预设时间段时,重新连接网络。
在本实施例中,所述启用单元22启用预设的计时器进行计时,所述计时器的时间可根据用户的需要进行设置,如将时间设置为10分钟,当所述计时器从计时开始至10分钟时,触发网络连接指令,并且所述启用单元22重新进行网络的连接,这种网络资源优化方式,有效防止网络端一直处于限值服务的状态。根据所述终端预设的网络优化参数可得知,可预设连接单元23在预设时间间隔内的自动连接的次数即终端网络最大重连次数N,如将所述终端网络最大重连次数N设置为1个小时5次,所述连接单元23在一个小时内自动重连网络连接的次数达到5次时,则在1小时内,网络断开后不再进行网络连接,有效避免了网络多次被占用,从而减少了网络资源的浪费。
2)拨号请求无响应,例如,终端发起拨号请求时,如果被网络以特定原因拒绝,例如#26原因拒绝时,按照3GPP协议要求,只是认为这次拨号失败,不影响下次拨号,但如果是同一APN(APN指一种网络接入技术,是通过手机上网时必须配置的一个参数,它决定了手机通过哪种接入方式来访问网络)的话,下次还是会被网络拒绝,但是当用户不停的尝试拨号时,会占用网络空口资源,导致网络资源浪费。
针对拨号请求无响应的情况,在本实施例中,参照图7,当所述网络异常部分为终端拨号失败时,所述优化模块20包括:
第二禁止单元24,设置为:根据所述网络优化参数禁止拨号请求,
在本实施例中,当终端拨号失败时,此时终端需要采取相应的措施,当终端在发起拨号请求时,如果网络拒绝了请求,为避免终端客户无休止的发 起拨号请求,占用网络空口资源,所述第二禁止单元24此时将禁止这个拨号请求,第二禁止单元24根据所述网络优化参数禁止终端的拨号请求,例如终端触发拨号的禁止指令,并将再次拨号请求的时间T设置为断开网络连接后的一段时间(如5分钟)以及预设一段时间段内的拨号次数,此时,网络处于断开状态,即使用户连续拨号,第二禁止单元24也无响应。
设置单元25,设置为:设置在预设的时间段内的拨号次数以及连续两次拨号之间的时间间隔。
在本实施例中,所述设置单元25根据预设网络优化参数,设置其预设时间间隔内拨号不能超过最大拨号次数Fx,如一个小时拨号不能超过6次,并且连续的两次拨号必须有一定的时间间隔,如每两次拨号之间的时间不能小于10分钟,在一个时间窗口内,为了限制用户连续拨号,在拨号请求被网络忽略的情况下,以及成功注册的情况下,在一个时间窗口内都有一定的次数限制,并且连续两次拨号必须有一定的不等时间隔的。为更好理解上述方案,本方案通过Back-off算法进行详述,过程举例如下:
将Back-off算法定义为以等间隔递增的算法,当终端第一次从网络端收到一个特殊的拒绝原因,back-off的时间就逐步变长。
I(1)=1/6*I(4)s,
I(2)=2/6*I(4)s,
I(3)=3/6*I(4)s,
I(4)=Min(Twindow/(Fx+5)s,Twindow/(4*Nts))
可以理解的是,如果连续5次被拒绝,则后面的back-off间隔将等于I(4)。所述I(1)表示第一次拨号时间的时间间隔,数字4表示将一段拨号时间分为四个区间(如一个小时内总的拨号次数设置为6次,在每一个区间的拨号次数最少为1次),Back-off算法为避免发生这样的情况:如用户在前1、2或者3个时隙内就发了Fx次拨号请求,在余下的时间内用户就不能再发起请求,直至时间窗口超时。因此,本实施例中Back-off算法是通过两条途径来实现上述功能的,一个是合理的back-off间隔,合理地将所有Fx次拨号请求平均的分布在time window内;另一个是,当用户收到拨号请求时,将检 查在后续的每个时隙内是否能保证发送至少1个拨号请求。
3)终端流量数据超出预设流量范围,例如,网络负荷严重时,网速比较慢,而此时还不满足切换要求时,盲目切换会导致网络资源紧张,并且用户体验差;或者网络流量资源占用小于最小流量阈值时,占用不必要的流量资源。
针对终端流量数据超出预设流量范围的情况,在本实施例中,参照图8,当所述网络异常部分为终端使用的流量超出预设流量范围时,所述优化模块20包括:
释放单元26,设置为:当终端使用的流量小于预设流量范围的最小值时,释放网络资源;
可以理解的是,在与网络连接过程中,很多应用都是处于关闭状态的,但是,由于和网络处于网络交互过程,所述很多应用都会在后台程序中启用,由于在后台启用的应用占用网络流量一般都小于一定的流量阈值,而多个这样的应用在后台开启时,会造成不必要的流量资源浪费,所以,在本实施例中,当检测到当前使用的流量小于预设流量范围的最小值(如10K/S)时,所述释放单元26关闭后台应用网络,将后台应用中占用的网络资源释放出来。
处理单元27,设置为:当终端使用的流量大于预设流量范围的最大值时,检测其当前所在区域的其它网络的负荷情况,若检测到其它网络的负荷低于终端当前网络的负荷时,将当前的网络切换至低负荷网络。
在本实施例中,当处理单元27使用的流量大于预设流量范围最大值(如1M/S),且处于网络可切换状态时,此时处理单元27可自行进行网络之间的切换,将当前的网络切换至负荷较低的网络中;进一步地,当处理单元27使用的流量大于预设流量范围最大值时,而且所述终端此时不满足自行切换的条件,即未达到网络协议的条件,如使用的流量数据还没达到预设阈值,此时,处理单元27搜索其当前区域是否存在其他的网络,若此时存在其它的网络,且所述搜索到的网络负荷量小于终端当前的网络负荷量,即可将当前的网络切换至其它低负荷网络中,可以理解的场景是,随着4G网络的发展,越来越多的用户使用4G网络,当某一个时间段内,用户都在使用4G网 络时,此时4G网络会特别拥挤,导致整体的网络负荷超载,此时,终端可行将4G网络切换至3G或2G网络中,从而优化网络资源。
为提高网络资源优化的灵活性,基于第一实施例提出本发明网络资源优化装置第二实施例,在本实施例中,所述网络资源优化方法还包括:
显示模块30,设置为:在网络连接过程中,在预设显示区域显示网络资源使用情况。
在本实施例中,所述显示模块30可实时在预设显示区域显示网络资源使用情况,即显示终端在任一时间中的网络使用情况,以及每个应用占用的流量,进一步地,所述显示模块30还包括:
1)当终端连接网络失败时,此时显示模块30在预设的显示区域显示网络连接失败原因,以供用户知道网络状态。
2)当终端拨号请求无响应时,此时显示模块30在预设的显示区域显拨号请求无响应的原因。
3)当终端数据流量情况在预设时间间隔内超出预设阈值时,显示模块30在预设的显示区域显示数据流量的使用情况,以提示用户当前长时间的流量使用。
可以理解的是,在网络资源使用过程中,实时显示流量情况,以及遇到网络异常情况时,显示异常情况的原因,以供用户实时获知每个应用流量使用情况,更好提高了用户的体验。
本发明实施例还提供一种终端,所述终端包括如上所述的网络资源优化装置。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的 情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例提出的基于终端的网络资源优化方法和装置,在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,并根据网络优化参数对网络异常部分对应的网络资源进行优化,实现了在终端对网络资源进行优化,而不是在网络端对网络资源进行优化,解决了网络资源超负荷的问题。

Claims (12)

  1. 一种网络资源优化方法,包括:
    在网络连接过程中,若检测到网络出现异常情况,终端读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;
    终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化。
  2. 如权利要求1所述的网络资源优化方法,其中,当所述网络异常部分为终端连接网络失败时,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化的步骤包括:
    终端根据所述网络优化参数禁止连网请求;
    终端启用预设的计时器进行计时;
    当所述计时器计时的时间达到预设时间段时,终端重新连接网络。
  3. 如权利要求1所述的网络资源优化方法,其中,当所述网络异常部分为终端拨号失败时,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化的步骤包括:
    终端根据所述网络优化参数禁止拨号请求;
    终端设置在预设的时间段内的拨号次数以及连续两次拨号之间的时间间隔。
  4. 如权利要求1所述的网络资源优化方法,其中,当所述网络异常部分为终端使用的流量超出预设流量范围时,终端根据所述网络优化参数对网络异常部分对应的网络资源进行优化的步骤包括:
    当终端使用的流量小于预设流量范围的最小值时,所述终端释放网络资源;
    当终端使用的流量大于预设流量范围的最大值时,所述终端检测当前所在区域的其它网络的负荷情况,若检测到其它网络的负荷低于终端当前网络的负荷时,将当前的网络切换至低负荷网络。
  5. 如权利要求1-4任一项所述的网络资源优化方法,所述网络资源优化 方法还包括:
    在网络连接过程中,终端在预设显示区域显示网络资源使用情况。
  6. 一种网络资源优化装置,包括:
    读取模块,设置为:在网络连接过程中,若检测到网络出现异常情况,读取用户身份识别卡中预设的网络优化参数,所述网络优化参数包括网络重连时间、网络重连次数、拨号次数、连续拨号时间间隔或流量阈值;
    优化模块,设置为:根据所述网络优化参数对网络异常部分对应的网络资源进行优化。
  7. 如权利要求6所述的网络资源优化装置,其中,当所述网络异常部分为终端连接网络失败时,所述优化模块包括:
    第一禁止单元,设置为:根据所述网络优化参数禁止连网请求;
    启用单元,设置为:启用预设的计时器进行计时;
    连接单元,设置为:当所述计时器计时的时间达到预设时间段时,重新连接网络。
  8. 如权利要求6所述的网络资源优化装置,其中,当所述网络异常部分为终端拨号失败时,所述优化模块包括:
    第二禁止单元,设置为:根据所述网络优化参数禁止拨号请求,
    设置单元,设置为:设置在预设的时间段内的拨号次数以及连续两次拨号之间的时间间隔。
  9. 如权利要求6所述的网络资源优化装置,其中,当所述网络异常部分为终端使用的流量超出预设流量范围时,所述优化模块包括:
    释放单元,设置为:当终端使用的流量小于预设流量范围的最小值时,释放网络资源;
    处理单元,设置为:当终端使用的流量大于预设流量范围的最大值时,检测当前所在区域的其它网络的负荷情况,若检测到其它网络的负荷低于终端当前网络的负荷时,将当前的网络切换至低负荷网络。
  10. 如权利要求6-9任一项所述的网络资源优化装置,所述网络资源优 化装置还包括:
    显示模块,设置为:在网络连接过程中,在预设显示区域显示网络资源使用情况。
  11. 一种终端,所述终端包括如权利要求6-10所述的网络资源优化装置。
  12. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。
PCT/CN2015/094815 2015-06-12 2015-11-17 网络资源优化方法和装置 WO2016197543A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510326059.4A CN106304143A (zh) 2015-06-12 2015-06-12 基于终端的网络资源优化方法和装置
CN201510326059.4 2015-06-12

Publications (1)

Publication Number Publication Date
WO2016197543A1 true WO2016197543A1 (zh) 2016-12-15

Family

ID=57502966

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094815 WO2016197543A1 (zh) 2015-06-12 2015-11-17 网络资源优化方法和装置

Country Status (2)

Country Link
CN (1) CN106304143A (zh)
WO (1) WO2016197543A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132196A (zh) * 2019-12-24 2020-05-08 杭州数群科技有限公司 一种基于异网调度优化的方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954185B (zh) * 2020-07-22 2021-12-21 东风汽车集团有限公司 车载终端联网处理方法及车载终端
CN111918236B (zh) * 2020-08-10 2021-08-31 上海顺舟智能科技股份有限公司 物联网安防传感器寻网方法、装置、设备及存储介质
CN112702212B (zh) * 2021-01-13 2023-07-28 深圳市云天智能通讯有限公司 一种多网络混合使用通讯系统和终端设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092055A (ja) * 2004-09-22 2006-04-06 Hitachi Ltd 計算機システム
KR20070022537A (ko) * 2005-08-22 2007-02-27 에스케이 텔레콤주식회사 이동통신시스템의 파라미터 최적화 방법
CN101022647A (zh) * 2006-02-15 2007-08-22 华为技术有限公司 切换处理过程中确定安全协商参数的实现方法及装置
CN101299867A (zh) * 2007-12-27 2008-11-05 华为技术有限公司 一种网络覆盖检测的方法、装置和系统
CN102077646A (zh) * 2008-06-30 2011-05-25 高通股份有限公司 用于进行自动切换优化的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605381B (zh) * 2008-06-13 2012-12-12 华为技术有限公司 被叫接入的方法、装置和系统
CN103354649B (zh) * 2013-06-28 2016-12-07 北京创毅讯联科技股份有限公司 通信终端的监测方法及装置
CN103906188A (zh) * 2014-04-15 2014-07-02 宇龙计算机通信科技(深圳)有限公司 网络搜索方法和网络搜索装置、终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092055A (ja) * 2004-09-22 2006-04-06 Hitachi Ltd 計算機システム
KR20070022537A (ko) * 2005-08-22 2007-02-27 에스케이 텔레콤주식회사 이동통신시스템의 파라미터 최적화 방법
CN101022647A (zh) * 2006-02-15 2007-08-22 华为技术有限公司 切换处理过程中确定安全协商参数的实现方法及装置
CN101299867A (zh) * 2007-12-27 2008-11-05 华为技术有限公司 一种网络覆盖检测的方法、装置和系统
CN102077646A (zh) * 2008-06-30 2011-05-25 高通股份有限公司 用于进行自动切换优化的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132196A (zh) * 2019-12-24 2020-05-08 杭州数群科技有限公司 一种基于异网调度优化的方法
CN111132196B (zh) * 2019-12-24 2023-10-13 杭州数群科技有限公司 一种基于异网调度优化的方法

Also Published As

Publication number Publication date
CN106304143A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
US10736173B2 (en) Method and apparatus for setting up/releasing radio resource control connection between evolved node B and user equipment in communication system
BE1023200B1 (fr) Connexions de réseau de données de paquet pour des dispositifs sans fil à priorités multiples
US9131429B1 (en) Tune-away blocking during a VoLTE call on DSDS mobile device
CN104186012B (zh) 具有服务连续性保证的用于选择性接入控制的方法和装置
US20150163827A1 (en) Apparatus and Method for Paging for Mutli-Standby Devices
US9532359B2 (en) Resource allocation method and device
US20180220397A1 (en) Access control for connected network user devices
EP2461639B1 (en) Multi SIM modem management
TW201404114A (zh) 在通話失敗情境中執行電路交換後援程序後延遲網路再選擇
CN104521291A (zh) Lte中用于通过rrc连接拒绝来增强去优先化的方法和装置
WO2016197543A1 (zh) 网络资源优化方法和装置
EP3089503B1 (en) Method and apparatus for terminal to optimize network resource, and storage medium
KR101543286B1 (ko) 상태 핸드오버 방법 및 네트워크 장비
US9094866B2 (en) Method and radio base station in a wireless communication network
CN104205994A (zh) 用于在无线通信系统中的操作状态同步的设备和方法
TR201903705T4 (tr) Bir paket veri ağı bağlantısının yönetilmesi için bir düğüm ve usul.
EP4192118A1 (en) Access control method, terminal, and network side device
US20220167263A1 (en) Link Selection for an Idle or Inactive User Equipment
JP6411386B2 (ja) ネットワーク起動セルリダイレクションにおけるh−rnti更新を容易にするためのデバイスおよび方法
WO2023077466A1 (zh) Bwp回退方法、装置、设备及存储介质
US20230422198A1 (en) Periodic Registration Update Procedure for Non-Allowed Service Areas
US20240032125A1 (en) System and method for reducing network collision
JP2023542822A (ja) ネットワークへの端末のアクセス方法、装置、機器及び可読記憶媒体
WO2024054333A1 (en) Dynamic management of a provisioning esim for a wireless device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15894799

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15894799

Country of ref document: EP

Kind code of ref document: A1