Disclosure of Invention
The embodiment of the invention provides a shunt method and device based on a Femto gateway, which are used for solving the problem of terminal data service caused by network side congestion or network side link abnormity in the prior art.
In a first aspect, an embodiment of the present invention provides a offloading method based on a Femto gateway, including:
a Femto gateway acquires the link state and the link throughput of the Femto gateway and a network side;
and when the Femto gateway determines that the link state is normal and the link throughput is greater than a first threshold value, sending a shunting starting command to the Femto base station so as to enable the Femto base station to perform shunting operation.
According to the scheme, when the Femto gateway detects that the interface link with the network side is normal but the link load exceeds the threshold, the Femto gateway starts Femto gateway shunting and informs the Femto base station to start shunting, so that the problem of user data service caused by network side congestion is solved.
Optionally, the method further includes:
and when the Femto gateway determines that the link state is abnormal, sending a shunting starting command to the Femto base station so as to enable the Femto base station to perform shunting operation.
According to the scheme, when the Femto gateway detects that the interface link with the network side is abnormal, the Femto gateway starts Femto gateway shunting, and simultaneously informs the Femto base station to start shunting, so that the problem of user data service caused by the abnormal link at the network side is solved.
Optionally, the method further includes:
when the Femto gateway determines that the link state is normal, acquiring shunt information of the Femto base station, which is sent by a shunt strategy server, wherein the shunt information of the Femto base station is sent by the shunt strategy server after updating stored shunt information of the Femto base station; the shunting information of the Femto base station comprises a shunting strategy, shunting duration and shunting flow of the Femto base station;
and the Femto gateway performs shunting processing on the Femto base station according to the shunting strategy, the shunting time length and the shunting flow of the Femto base station.
According to the scheme, the flow is strategically controlled, so that the use process is more efficient, convenient and flexible.
It should be noted that the shunting command of the Femto gateway carries the type identifier, and the Femto base station and the Femto gateway can distinguish shunting under normal conditions or emergency shunting under abnormal link conditions according to the type identifier.
Optionally, the Femto gateway performs, according to a splitting policy, a splitting duration and a splitting flow of the Femto base station, splitting processing on the Femto base station, including:
when the Femto gateway determines that the shunting strategy is not shunting, sending a shunting closing command to the Femto base station;
when the Femto gateway determines that the shunting strategy is shunting according to the flow, acquiring the currently used shunting flow of the Femto base station; if the current used flow does not exceed the flow threshold, sending a shunting starting command to the Femto base station; counting the shunt flow of the Femto base station, and sending a command for closing shunt to the Femto base station when the current used flow exceeds the flow threshold;
when the Femto gateway determines that the shunting strategy is shunting according to time, acquiring the currently used shunting total time length of the Femto base station; if the currently used shunting time does not exceed the time threshold, sending a shunting starting command to the Femto base station; and counting the shunt flow of the Femto base station until the current used shunt time length exceeds the time length threshold value, and sending a shunt closing command to the Femto base station.
According to the scheme, the Femto gateway specifically performs shunting processing on the Femto base station according to the shunting strategy, the shunting duration and the shunting flow of the Femto base station, performs strategic control on the shunting, so that only the Femto gateway and the Femto base station need to be upgraded, and any extra function dependence on core network equipment, terminal equipment and the like is not required.
Optionally, the method further includes:
and the Femto gateway periodically sends the used shunting data volume and the used shunting time length of the Femto base station to the shunting strategy server so as to update and store shunting information of the Femto base station.
According to the scheme, the Femto gateway periodically sends the used shunt data volume and the used shunt duration of the Femto base station to the shunt strategy server, so that the problem of shunt parameter loss caused by Femto gateway faults can be effectively solved.
In a second aspect, an embodiment of the present invention provides a offloading device for an offloading method based on a Femto gateway, including:
an acquisition module: acquiring the link state and the link throughput of the Femto gateway and a network side;
a processing module: and when the link state is determined to be normal and the link throughput is greater than a first threshold value, sending a command for starting shunting to the Femto base station so that the Femto base station carries out shunting operation.
Optionally, the processing module is further configured to:
and when the link state is determined to be abnormal, sending a shunting starting command to the Femto base station so as to enable the Femto base station to perform shunting operation.
Optionally, the processing module is further configured to:
when the link state is determined to be normal, acquiring shunt information of the Femto base station, which is sent by a shunt strategy server, wherein the shunt information of the Femto base station is sent by the shunt strategy server after updating the stored shunt information of the Femto base station; the shunting information of the Femto base station comprises a shunting strategy, shunting time length and shunting flow of the Femto base station;
and carrying out shunting processing on the Femto base station according to a shunting strategy, shunting time and shunting flow of the Femto base station.
Optionally, the processing module is specifically configured to:
when the shunting strategy is determined to be non-shunting, sending a shunting closing command to the Femto base station;
when the shunt strategy is determined to be shunt according to the flow, the shunt flow used by the Femto base station currently is obtained; if the current used flow does not exceed the flow threshold, sending a shunting starting command to the Femto base station; counting the shunt flow of the Femto base station, and sending a command for closing shunt to the Femto base station when the current used flow exceeds the flow threshold;
when the shunting strategy is determined to be shunting according to time, acquiring the currently used shunting total time length of the Femto base station; if the currently used shunting time does not exceed the time threshold, sending a shunting starting command to the Femto base station; and counting the shunt flow of the Femto base station until determining that the current used shunt time exceeds the time threshold, and sending a shunt closing command to the Femto base station.
Optionally, the processing module is further configured to:
and periodically sending the used shunting data volume and the used shunting duration of the Femto base station to the shunting strategy server so as to update and store shunting information of the Femto base station by the shunting strategy server.
In a third aspect, an embodiment of the present invention provides a computer device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of the first aspect according to the obtained program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer-readable instructions are read and executed by a computer, the computer is caused to execute the method according to the first aspect.
Detailed Description
In order to better understand the technical solutions, the technical solutions will be described in detail with reference to the drawings and the specific embodiments of the specification, and it should be understood that the embodiments and specific features of the embodiments of the present invention are detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features of the embodiments and examples of the present invention may be combined with each other without conflict.
Fig. 1 schematically shows a system architecture to which an embodiment of the present invention is applicable, and the system architecture may include Femto base station 100, femto gateway 200, offload policy server 300, mobile terminal 400, backhaul network 500, internet 600, data core network 700, and signaling core network 800. The network side includes internet 600, data core network 700 and signaling core network 800.
Femto base station 100 and Femto gateway 200 both support the shunting function of LIPA or SIPTO, and Femto gateway 200 can turn on and off the shunting function of Femto base station 100 by a command; femto gateway 200 determines whether to start Femto gateway offloading or Femto base station offloading according to the link condition with the network side and the backhaul network 500 condition with the base station side in combination with the offloading policy.
Shunting strategy server 300 is mainly used for maintenance and management of shunting strategies of Femto base station 100, is also used for storing information such as data volume and shunting time of Femto base station shunting, and can provide data maintenance when a gateway is restarted or switched.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 exemplarily shows a flow of a Femto gateway-based offloading method, which may be performed by a Femto gateway-based offloading device, which may be the Femto gateway shown in fig. 1, or may be located within the Femto gateway.
As shown in fig. 2, the process specifically includes:
step 201, obtaining the link state and link throughput of the Femto gateway and the network side.
It should be noted that the monitoring of the link state with the network side comes from the Femto gateway monitoring the link state of the uplink data port (data plane interface with the data core network) and the downlink data port (data plane interface with the Femto base station) and the corresponding link alarm information, monitoring the throughput of each link, monitoring the congestion condition of the link, and the like.
Step 202, when determining that the link state is normal and the link throughput is greater than a first threshold, sending a command for opening shunting to the Femto base station.
It should be noted that, when the uplink data port link is abnormal, the Femto gateway notifies the Femto base station to start the shunt function of the Femto base station, and at the same time, starts the shunt of the Femto gateway. The Femto gateway shunting specifically means that uplink data of the terminal flows to the Femto gateway through the Femto base station, the Femto gateway shunts to the internet, and downlink data of the internet flows to the Femto base station through the Femto gateway and is sent to the terminal. The Femto base station shunting specifically means that uplink data of the terminal directly flow to the internet through the Femto base station, and downlink data of the internet is directly sent to the terminal through the Femto base station. In the situation, once the data core network and the Femto gateway directly have a data plane link problem, the terminal can still normally perform data service, and the data service is shunted by the Femto base station; if receiving the service data, the Femto gateway also carries out Femto gateway shunting.
Furthermore, when an uplink data interface link is normal, and a downlink is congested or the link is in high load, the Femto gateway informs the Femto base station to start a shunting function of the Femto base station, and in the situation, data service is shunted by the Femto base station, so that the link load between the Femto base station and the Femto gateway can be reduced.
In order to better explain the above embodiments, the flow of offloading triggered by link status will be described below in a specific implementation scenario. Fig. 3 is a flow of detecting, by a Femto gateway, offloading triggered by a link state according to an embodiment of the present invention.
Step 301: a Femto gateway monitors the link state with a data core network;
step 302: if the link state is normal, executing step 303, and if the link state is abnormal, executing step 305;
step 303: monitoring the use condition of the link throughput of a data core network by a Femto gateway;
step 304: if the current link throughput rate exceeds the pre-configured threshold, executing step S305; if the throughput rate of the current link does not exceed the preconfigured threshold, executing step S301;
step 305: updating the type identifier by the Femto gateway, and sending a shunting starting command to the Femto base station by the Femto gateway;
step 306: and the Femto base station starts the shunting function and feeds back a response message to the Femto gateway.
Firstly, acquiring a link state with a data core network and a link throughput with the data core network; then, when the link state is determined to be normal and the link throughput is greater than a first threshold value, sending a command for opening shunting to the Femto base station; in addition, when the link state is determined to be abnormal, a command for starting shunting is sent to the Femto base station, so that the Femto base station can carry out shunting operation.
It should be noted that, there may be a conflict between offloading caused by link anomaly and ordinary offloading, for example, a Femto base station is in a non-offloading state after exceeding a threshold, but a core side data plane link problem occurs at this time, and a Femto gateway notifies the Femto base station to start offloading. Based on this, in step 305, a type identifier is added to the notification message of the Femto gateway, and the type identifier is mainly used for judging whether the distribution is normal distribution or abnormal distribution. For example, if a Femto gateway detects that offloading is caused by a link state, the type is identified as abnormal offloading, and in this case, the Femto gateway does not detect a policy of the Femto base station and allows the Femto base station to start offloading by default.
In order to better explain the above embodiments, the flow of offloading triggered by offloading policy update will be described below in a specific implementation scenario.
Fig. 4 is a flow of offloading performed by a Femto gateway triggered by offloading policy update to a Femto base station according to an embodiment of the present invention.
The shunting strategy configuration information of the Femto base station of the shunting strategy server is updated and confirmed, the shunting strategy update triggers the Femto gateway to perform shunting operation on the Femto base station, and a specific shunting flow is shown in fig. 4.
Step S401: a manager updates the shunting strategy configuration of the Femto base station on the shunting strategy server, and the shunting strategy server sends shunting strategy configuration information of the Femto base station to the Femto gateway after the shunting strategy server is confirmed;
step S402: the Femto gateway receives and processes the shunting strategy configuration information of the Femto base station and updates the corresponding shunting strategy configuration;
step S403: and starting a shunting processing flow of the Femto base station.
It should be noted that, after Femto gateway starts, offloading policy server requests offloading information about Femto base station. The shunting information mainly comprises an identification of the Femto base station, shunting data volume used by the Femto base station, shunting time used by the Femto base station, state of a shunting switch of the Femto base station and the like. The function can effectively solve the problem that shunt parameters are lost due to Femto gateway faults. As shown in table 1:
TABLE 1 Femto base station offload information
The shunting strategy configuration information of the Femto base station is stored in a shunting strategy server, and at least comprises the following components: identification of Femto base station, shunting strategy, etc. An example table of offloading policy configuration information of a Femto base station is given below, as shown in table 2:
TABLE 2 Femto base station offload policy configuration information
In order to better explain the above embodiments, the following is a specific flow for performing the shunting according to the shunting strategy.
Firstly, when the link state is determined to be normal, acquiring shunting information of a Femto base station, which is sent by a shunting strategy server, wherein the shunting information of the Femto base station is sent by the shunting strategy server after updating stored shunting information of the Femto base station; the shunting information of the Femto base station comprises a shunting strategy, shunting time length and shunting flow of the Femto base station;
and then carrying out shunting processing on the Femto base station according to the shunting strategy, the shunting time length and the shunting flow of the Femto base station.
Specifically, the Femto gateway performs the shunting processing on the Femto base station according to the shunting strategy, the shunting duration and the shunting flow of the Femto base station, and the method comprises the following steps:
when the shunting strategy is determined to be non-shunting, sending a shunting closing command to the Femto base station;
when the shunt strategy is determined to be shunt according to the flow, the shunt flow used by the Femto base station currently is obtained; if the current used flow does not exceed the flow threshold, sending a shunting starting command to the Femto base station; counting the shunt flow of the Femto base station, and sending a command for closing shunt to the Femto base station when the current used flow exceeds a flow threshold;
when the shunting strategy is determined to be shunting according to time, acquiring the currently used shunting total time length of a Femto base station; if the currently used shunting time does not exceed the time threshold, sending a shunting starting command to the Femto base station; and carrying out statistics on shunt flow of the Femto base station until determining that the shunt time length used currently exceeds the time length threshold value, and sending a shunt closing command to the Femto base station.
To further explain the above embodiments, the flow of shunting according to the shunting strategy will be described in the following specific implementation scenarios.
Fig. 5 is a flow of offloading performed by a Femto gateway to a Femto base station according to an embodiment of the present invention.
Step 501: under the condition that a link is normal, a Femto gateway checks a base station shunt strategy in a shunt strategy configuration information table of a Femto base station, and the Femto starts shunt processing on the Femto base station;
step 502: if the Femto base station shunting strategy is non-shunting, performing step 503;
step 503: the Femto gateway sends a command for closing the shunt to a Femto base station;
step 504: the Femto base station closes the shunting function and feeds back a response message to the Femto gateway;
step 505: if the shunting strategy is configured to shunt according to the flow, the step 506 is carried out;
step 506: the Femto gateway checks the shunt flow used by the current Femto base station;
step 507: the Femto gateway judges whether the used flow of the Femto base station exceeds a flow threshold value; if the flow threshold is exceeded, go to step 525, if not exceed, go to step 508;
step 508: a Femto gateway sends a shunting opening command to a Femto base station;
step 509: a Femto base station starts a shunting function and feeds back a response message to a Femto gateway;
step 510: a Femto gateway counts the shunt flow of a Femto base station;
step 511: judging whether the used flow of a Femto base station exceeds a flow threshold value or not by the Femto gateway; if the flow threshold is exceeded, go to step 512, if not exceed, go to step 510;
step 512: the Femto gateway sends a command for closing the shunt to a Femto base station;
step 513: the Femto base station closes the shunting function and feeds back a response message to the Femto gateway;
step 514: the Femto gateway stops counting the shunt flow of the Femto base station;
step 515: if the shunting strategy is configured to shunt according to the time length, performing step 516;
step 516: the Femto gateway checks the total shunt time used by the current Femto base station;
517: the Femto gateway judges the shunt time length used by the Femto base station, if the shunt time length exceeds a time length threshold value, step 525 is executed, and if the shunt time length does not exceed the time length threshold value, step 518 is executed;
step 518: when the shunting time is up, the Femto gateway sends a shunting opening command to a Femto base station;
step 519: the Femto base station starts a shunting function and feeds back a response message to the Femto gateway;
step 520: a Femto gateway counts the shunting time length of a Femto base station;
step 521: the Femto gateway judges the shunt time length used by the Femto base station, if the shunt time length exceeds a time length threshold value, step 522 is executed, and if the shunt time length does not exceed the time length threshold value, step 520 is executed;
step 522: the Femto gateway sends a command for closing the shunt to a Femto base station;
step 523: the Femto base station closes the shunting function and feeds back a response message to the Femto gateway;
step 524: the Femto gateway stops counting the shunting duration of the Femto base station;
step 525: and the Femto base station closes the shunting function and does not perform shunting.
It should be noted that the Femto gateway and the offloading policy server may be separately deployed, or may be integrated into the Femto gateway, and separately deployed independently, which is beneficial to flexible configuration of offloading policies of the Femto base station.
In order to better explain the above embodiments, the following describes the flow of periodically updating data to the offload policy server by the Femto gateway. Fig. 6 is a flow chart of periodically updating data to the offload policy server by a Femto gateway according to an embodiment of the present invention.
Step 601: periodically updating the used shunting data volume, the used shunting duration and other use information of the Femto base station to a shunting strategy server by the Femto gateway;
step 602: and the shunting strategy server updates and stores the use information of the Femto base station.
And periodically sending the used shunting data volume and the used shunting duration of the Femto base station to the shunting strategy server by the Femto gateway so as to update and store shunting information of the Femto base station by the shunting strategy server.
It should be noted that, the problem of shunting parameter loss caused by Femto gateway failure can be effectively solved by periodically sending the used shunting data volume and the used shunting duration of the Femto base station to the shunting policy server by the Femto gateway.
In order to better explain the above embodiments, the following will specifically describe the flow of offloading performed by a Femto gateway to a Femto base station, where the link route is converted from abnormal to normal. Fig. 7 is a flow of offloading performed by a Femto gateway to a Femto base station, where a link is changed from an abnormal state to a normal state according to an embodiment of the present invention.
Step 701: the Femto gateway monitors that the link is recovered to be normal;
step 702: and updating the type identifier by the Femto gateway, closing the shunting of the Femto gateway, and performing shunting processing on the Femto base station by the Femto gateway which is switched to the normal condition of the link state.
Based on the same technical concept, fig. 8 exemplarily shows a structure of a offloading device based on a Femto gateway, where the device may perform an offloading process based on a Femto gateway, and the device may be located in the Femto gateway described in fig. 1 above, or may be the Femto gateway.
As shown in fig. 8, the apparatus may include:
the acquisition module 801: acquiring the link state and the link throughput of the Femto gateway and a network side;
the processing module 802: and when the link state is determined to be normal and the link throughput is greater than a first threshold value, sending a shunting starting command to the Femto base station so that the Femto base station performs shunting operation.
Optionally, the processing module 802 is further configured to:
and when the link state is determined to be abnormal, sending a shunting starting command to the Femto base station so as to enable the Femto base station to perform shunting operation.
Optionally, the processing module 802 is further configured to:
when the link state is determined to be normal, acquiring shunt information of the Femto base station, which is sent by a shunt strategy server, wherein the shunt information of the Femto base station is sent by the shunt strategy server after updating the stored shunt information of the Femto base station; the shunting information of the Femto base station comprises a shunting strategy, shunting duration and shunting flow of the Femto base station;
and carrying out shunting processing on the Femto base station according to a shunting strategy, shunting time and shunting flow of the Femto base station.
Optionally, the processing module 802 is specifically configured to:
when the shunting strategy is determined to be non-shunting, sending a shunting closing command to the Femto base station;
when the shunt strategy is determined to be shunt according to the flow, the shunt flow used by the Femto base station currently is obtained; if the current used flow does not exceed the flow threshold, sending a shunting starting command to the Femto base station; counting the shunt flow of the Femto base station, and sending a command for closing shunt to the Femto base station when the current used flow exceeds the flow threshold;
when the shunting strategy is determined to be shunting according to time, acquiring the currently used shunting total time length of the Femto base station; if the currently used shunting time does not exceed the time threshold, sending a shunting starting command to the Femto base station; and counting the shunt flow of the Femto base station until determining that the current used shunt time exceeds the time threshold, and sending a shunt closing command to the Femto base station.
Optionally, the processing module 802 is further configured to:
and periodically sending the used shunting data volume and the used shunting time length of the Femto base station to the shunting strategy server so as to update and store shunting information of the Femto base station by the shunting strategy server.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the shunt method based on the Femto gateway according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the above Femto gateway-based offloading method.
Finally, it should be noted that: as will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.