Summary of the invention
The embodiment of the present invention provides a kind of shunt method and device based on Femto gateway, to solve in the prior art
Due to network side congestion or the terminal data traffic issues caused extremely by network sidelinks.
In a first aspect, the embodiment of the present invention provides a kind of shunt method based on Femto gateway, comprising:
Femto gateway obtains the link state and link throughput of the Femto gateway and network side;
The Femto gateway when determining that the link state is normal and the link throughput is greater than first threshold, to
The base station Femto sends the order opened and shunted, so that the base station Femto carries out triage operator.
Above scheme, when Femto gateway detects that but link load normal with the interface link of network side is more than thresholding,
Femto gateway is opened Femto gateway and is shunted, while notifying the base station Femto is opened to shunt, and solves due to network side congestion and draws
The user data service problem of hair.
Optionally, the method also includes:
For the Femto gateway when determining that the link state is abnormal, the base station Xiang Suoshu Femto, which is sent, opens shunting
Order, so that the base station Femto carries out triage operator.
Above scheme is abnormal when Femto gateway is detected with the interface link of network side, and Femto gateway is opened
Femto gateway shunts, while notifying the base station Femto is opened to shunt, and solves due to the user that network sidelinks are abnormal and cause
Data service problem.
Optionally, the method also includes:
The Femto gateway obtains the described of distributing strategy server transmission when determining that the link state is normal
The diffluent information of the base station Femto, the diffluent information of the base station Femto are the distributing strategy servers to described in storage
What the diffluent information of the base station Femto was sent after being updated;The diffluent information of the base station Femto includes the base station Femto
Distributing strategy, shunt duration and bypass flow;
The Femto gateway is according to the distributing strategy of the base station Femto, shunting duration and bypass flow, to the Femto base
Station carries out shunting processing.
Above scheme carries out tactic control to shunting, so that more efficiently convenient in use be more flexible.
It should be noted that carrying above-mentioned type mark in the shunting order of Femto gateway, identified according to type
The base station Femto and Femto gateway can distinguish the emergency bypass when shunting or link exception of normal condition.
Optionally, the Femto gateway is according to the distributing strategy of the base station Femto, shunting duration and bypass flow, to described
The base station Femto carries out shunting processing, comprising:
When determining the distributing strategy is not shunt, the base station Xiang Suoshu Femto sends to close and shunt the Femto gateway
Order;
The Femto gateway has obtained the base station Femto currently when determining the distributing strategy is by flow shunt
The bypass flow used;If the current used flow is less than flow threshold, sends and open to the base station Femto
The order of shunting;And the bypass flow of the base station Femto is counted, until the current used flow is more than institute
When stating flow threshold, the base station Xiang Suoshu Femto sends the order closed and shunted;
The Femto gateway has obtained the base station Femto currently when determining the distributing strategy is temporally to shunt
The shunting total duration used;If current used shunting duration is less than duration threshold value, sends and open to the base station Femto
Open the order of shunting;And the bypass flow of the base station Femto is counted, until determining the current used shunting
When duration is more than the duration threshold value, the base station Xiang Suoshu Femto sends the order closed and shunted.
Above scheme shows in particular Femto gateway according to the distributing strategy of the base station Femto, shunting duration and shunts stream
Amount, carries out shunting processing to the base station Femto, tactic control is carried out to shunting, so that only need to be to Femto gateway and Femto base
Station is upgraded, and is not needed any additional functionality to core network device, terminal device etc. and is relied on.
Optionally, the method also includes:
The Femto gateway periodically by the used streamed data amount in the base station Femto, used shunting when
Length be sent to the distributing strategy server so that the distributing strategy server update and save the base station Femto point
Stream information.
Above scheme, Femto gateway is periodically by the used streamed data amount in the base station Femto, used shunting
Duration is sent to distributing strategy server and can effectively solve the problem that because the shunting parameter that Femto gateway fails cause loses problem.
Second aspect, the embodiment of the present invention provide a kind of part flow arrangement of shunt method based on Femto gateway, comprising:
It obtains module: obtaining the link state and link throughput of the Femto gateway and network side;
Processing module: when determining that the link state is normal and the link throughput is greater than first threshold, Xiang Suoshu
The base station Femto sends the order opened and shunted, so that the base station Femto carries out triage operator.
Optionally, the processing module is also used to:
When determining that the link state is abnormal, the base station Xiang Suoshu Femto sends the order opened and shunted, so that described
The base station Femto carries out triage operator.
Optionally, the processing module is also used to:
When determining that the link state is normal, the shunting for the base station Femto that distributing strategy server is sent is obtained
Information, the diffluent information of the base station Femto are shunting of the distributing strategy server in the base station Femto to storage
What information was sent after being updated;The diffluent information of the base station Femto includes the distributing strategy of the base station Femto, shunts
Duration and bypass flow;
According to the distributing strategy of the base station Femto, duration and bypass flow are shunted, the base station Femto is carried out at shunting
Reason.
Optionally, the processing module is specifically used for:
When determining the distributing strategy is not shunt, the base station Xiang Suoshu Femto sends the order closed and shunted;
When determining the distributing strategy is by flow shunt, the current used shunting stream in the base station Femto is obtained
Amount;If the current used flow is less than flow threshold, the order opened and shunted is sent to the base station Femto;
And the bypass flow of the base station Femto is counted, until the current used flow is more than the flow threshold
When, the base station Xiang Suoshu Femto sends the order closed and shunted;
When determining the distributing strategy is temporally to shunt, it is total to obtain the current used shunting in the base station Femto
Duration;If current used shunting duration is less than duration threshold value, the life opened and shunted is sent to the base station Femto
It enables;And the bypass flow of the base station Femto is counted, until determining that the current used shunting duration is more than institute
When stating duration threshold value, the base station Xiang Suoshu Femto sends the order closed and shunted.
Optionally, the processing module is also used to:
Periodically the used streamed data amount in the base station Femto, used shunting duration are sent to described
Distributing strategy server, so as to the distributing strategy server update and save the diffluent information of the base station Femto.
The third aspect, the embodiment of the present invention provide a kind of computer equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned first according to the program of acquisition for calling the program instruction stored in the memory
Method described in aspect.
Fourth aspect, the embodiment of the present invention provides a kind of computer-readable non-volatile memory medium, including computer can
Reading instruction, when computer is read and executes the computer-readable instruction, so that computer executes described in above-mentioned first aspect
Method.
Specific embodiment
In order to better understand the above technical scheme, below in conjunction with Figure of description and specific embodiment to above-mentioned
Technical solution is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to skill of the present invention
The detailed description of art scheme, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present invention
And the technical characteristic in embodiment can be combined with each other.
Fig. 1 illustratively shows a kind of system architecture that the embodiment of the present invention is applicable in, which may include
The base station Femto 100, Femto gateway 200, distributing strategy server 300, mobile terminal 400, return network 500, internet
600, data core net 700 and signaling core net 800.Wherein network side includes internet 600, data core net 700 and signaling
Core net 800.
The base station Femto 100 and Femto gateway 200 support the diverter function of LIPA or SIPTO, 200 energy of Femto gateway
Enough diverter functions that the base station Femto 100 is opened and closed by order;Femto gateway 200 is according to the link shape with network side
Condition, 500 situation of return network with base station side determine that opening Femto gateway shunts the still base station Femto in conjunction with distributing strategy
It shunts.
Distributing strategy server 300 is mainly used for the maintenance and management of 100 distributing strategy of the base station Femto, is also used for storing
The data volume and shunt the information such as duration that the base station Femto shunts, can provide data maintenance when gateway is restarted or is switched.
It should be noted that above-mentioned structure shown in FIG. 1 is only a kind of example, it is not limited in the embodiment of the present invention.
Based on foregoing description, Fig. 2 illustratively shows a kind of process of shunt method based on Femto gateway, the stream
Journey can be executed by the part flow arrangement based on Femto gateway, which can be Femto gateway shown in FIG. 1, can also be located at
In the Femto gateway.
As shown in Fig. 2, the process specifically includes:
Step 201, the link state and link throughput of the Femto gateway and network side are obtained.
It should be noted that the monitoring to the link state with network side monitors line number from Femto gateway simultaneously
According to the link state of mouth (the data surface interface with data core net) and downlink data mouth (the data surface interface with the base station Femto)
With corresponding chain alarming information, the handling capacity of each link is monitored, monitors the congestion situation etc. of link.
Step 202, when determining that link state is normal and link throughput is greater than first threshold, the base station Xiang Suoshu Femto
Send the order opened and shunted.
It should be noted that the Femto gateway notice base station Femto is opened when in the improper situation of upstream data mouth link
The diverter function of the base station Femto is opened, while also opening Femto gateway and shunting.Wherein Femto gateway shunting refers specifically to the upper of terminal
Row data flow to Femto gateway through the base station Femto, and Femto gateway carries out branching to internet, the downlink data warp of internet
Femto gateway flows to the base station Femto, is then forwarded to terminal.The base station Femto shunts the upstream data for referring specifically to terminal through Femto
Base station flows directly into internet, and the downlink data of internet directly issues terminal through the base station Femto.Once data core in this case
Directly there is data surface link problem in heart net and Femto gateway, and terminal remains to be normally carried out data service, data service via
The base station Femto shunts;If Femto gateway receives business datum, the shunting of Femto gateway also will do it.
Further, when upstream data mouth link is normal, in the case that congestion or link high load capacity occur for downlink,
Femto gateway notifies the base station Femto to open the diverter function of the base station Femto, and data service is via the base station Femto point in this case
Stream, can slow down the link load between the base station Femto and Femto gateway.
In order to preferably explain above-described embodiment, will describe to trigger because of link state below under specific implement scene
Shunting process.Fig. 3 is the stream for the shunting that a kind of Femto gateway provided in an embodiment of the present invention detects link state triggering
Journey.
The link state of step 301:Femto gateway monitoring and data core net;
Step 302: if link state is normal, thening follow the steps 303, if link state is abnormal, then follow the steps
305;
The service condition of step 303:Femto gateway monitoring and the link throughput of data core net;
Step 304: current ink throughput is more than the thresholding being pre-configured, and thens follow the steps S305;If current ink is handled up
Rate is less than the thresholding of pre-configuration, thens follow the steps S301;
Step 305:Femto gateway updates type mark, and Femto gateway sends the order opened and shunted to the base station Femto;
Diverter function is opened in the base station step 306:Femto, and to Femto gateway feedback response message.
Firstly, obtaining the link throughput with the link state of data core net and with the data core net;Then, exist
When determining that link state is normal and link throughput is greater than first threshold, the base station Xiang Suoshu Femto sends the order opened and shunted;
In addition, the order opened and shunted is sent to the base station Femto, so that the base station Femto is divided when determining that link state is abnormal
Stream operation.
It should be noted that link cause extremely shunt with common shunting there may be conflicts, such as the base station Femto
More than, in not SHUNT state, but core side data surface link problem having occurred at this time after threshold value, Femto gateway notice
The base station Femto, which is opened, to be shunted, if according to the triage operator that original Femto gateway carries out the base station Femto, the base station Femto
It normally-open can not actually shunt, because it is more than threshold status that the base station gateway discovery Femto Femto, which is in, and be notified that Femto
It closes and shunts.A type mark, type mark master are increased to the notification message of Femto gateway in step 305 based on this
It is used to judge to be normal shunting or improper shunting.Sub such as Femto gateway of illustrating detects it is that link state causes
It shunts, then type identifies most improper shunting, and Femto gateway does not detect the strategy of the base station Femto in this case, writes from memory
Recognizing, which allows the base station Femto to open, shunts.
In order to preferably explain above-described embodiment, will describe to update because of distributing strategy below under specific implement scene
The process of the shunting of triggering.
Fig. 4 is that a kind of distributing strategy provided in an embodiment of the present invention updates the Femto gateway of triggering to the progress of the base station Femto
Shunting process.
The distributing strategy configuration information of the base station Femto of distributing strategy server occurs to update and confirm, distributing strategy is more
The triage operator that newly triggering Femto gateway carries out the base station Femto, specific shunting process are as shown in Figure 4.
Step S401: administrative staff update the distributing strategy configuration of the base station Femto on distributing strategy server, after confirmation
The distributing strategy configuration information of the base station Femto is sent to Femto gateway by distributing strategy server;
Step S402:Femto gateway receives and the distributing strategy configuration information of the processing base station Femto, and updates corresponding
Distributing strategy configuration;
Step S403: the shunting process flow to the base station Femto is opened.
It should be noted that requesting the shunting about the base station Femto to be believed to distributing strategy server after Femto gateways and starting
Breath.Diffluent information mainly includes that the mark of the base station Femto, the used streamed data amount in the base station Femto, the base station Femto have made
Shunt duration, state of the base station Femto diverting switch etc..The function can effectively solve the problem that because of Femto gateway fails
The shunting parameter of initiation loses problem.It is as shown in table 1:
1 base station Femto diffluent information of table
The distributing strategy configuration information of the base station Femto is stored in distributing strategy server, the distributing strategy of the base station Femto
Configuration information includes at least: mark, distributing strategy of the base station Femto etc..The distributing strategy of the base station Femto is given below with confidence
The example table of breath, as shown in table 2:
The distributing strategy configuration information of 2 base station Femto of table
In order to preferably explain above-described embodiment, here is the process specifically shunted according to distributing strategy.
Firstly, obtaining the shunting letter for the base station Femto that distributing strategy server is sent when determining that link state is normal
Breath, the diffluent information of the base station Femto is distributing strategy server after the diffluent information to the base station Femto of storage is updated
It sends;The diffluent information of the base station Femto includes the distributing strategy of the base station Femto, shunts duration and bypass flow;
Then according to the distributing strategy of the base station Femto, shunting duration and bypass flow, the base station Femto is carried out at shunting
Reason.
Specifically, Femto gateway according to the distributing strategy of the base station Femto, shunt duration and bypass flow, to described
The base station Femto carries out shunting processing, comprising:
When determining the distributing strategy is not shunt, the order closed and shunted is sent to the base station Femto;
When determining distributing strategy is by flow shunt, the base station Femto currently used bypass flow is obtained;If current
Used flow is less than flow threshold, then the order opened and shunted is sent to the base station Femto;And the base station Femto is divided
Stream flow is counted, and when current used flow is more than flow threshold, the life closed and shunted is sent to the base station Femto
It enables;
When determining distributing strategy is temporally to shunt, the base station Femto currently used shunting total duration is obtained;If working as
Preceding used shunting duration is less than duration threshold value, then the order opened and shunted is sent to the base station Femto;And to Femto base
The bypass flow stood is counted, when determining that current used shunting duration is more than the duration threshold value, to Femto base
It stands and sends the order that closing shunts.
For further explanation above-described embodiment, will describe under specific implement scene according to distributing strategy below
The shunting process of progress.
Fig. 5 is a kind of process for the shunting that Femto gateway carries out the base station Femto provided in an embodiment of the present invention.
Step 501: under normal circumstances, Femto gateway checks in the distributing strategy configuration information table of the base station Femto link
Base station distributing strategy, Femto start the shunting to the base station Femto and handle;
Step 502: if the base station Femto distributing strategy is not shunt, carrying out step 503;
Step 503:Femto gateway sends the order closed and shunted to the base station Femto;
Diverter function is closed in the base station step 504:Femto, and to Femto gateway feedback response message;
Step 505: if distributing strategy configuration is to carry out step 506 by flow shunt;
Step 506:Femto gateway checks the current used bypass flow in the base station Femto;
Step 507:Femto gateway judges whether the used flow in the base station Femto is more than flow threshold;If it exceeds stream
Threshold value is measured, 525 is thened follow the steps, if not exceeded, thens follow the steps 508;
Step 508:Femto gateway sends the order opened and shunted to the base station Femto;
Diverter function is opened in the base station step 509:Femto, and to Femto gateway feedback response message;
Step 510:Femto gateway counts the bypass flow of the base station Femto;
Step 511:Femto gateway judges whether the used flow in the base station Femto is more than flow threshold;If it exceeds stream
Threshold value is measured, 512 is thened follow the steps, if not exceeded, thens follow the steps 510;
Step 512:Femto gateway sends the order closed and shunted to the base station Femto;
Diverter function is closed in the base station step 513:Femto, and to Femto gateway feedback response message;
The stopping of step 514:Femto gateway counts the bypass flow of the base station Femto;
Step 515: if distributing strategy configuration is long shunt on time, carrying out step 516;
Step 516:Femto gateway checks the current used shunting total duration in the base station Femto;
Step 517:Femto gateway shunting duration used to the base station Femto judges, if it exceeds duration threshold value
525 are thened follow the steps, if being less than duration threshold value, executes 518;
Step 518: when reaching the shunting time, Femto gateway sends the order opened and shunted to the base station Femto;
Diverter function is opened in the base station step 519:Femto, and to Femto gateway feedback response message;
Step 520:Femto gateway counts the shunting duration of the base station Femto;
Step 521:Femto gateway shunting duration used to the base station Femto judges, if it exceeds duration threshold value
522 are thened follow the steps, if being less than duration threshold value, executes 520;
Step 522:Femto gateway sends the order closed and shunted to the base station Femto;
Diverter function is closed in the base station step 523:Femto, and to Femto gateway feedback response message;
The stopping of step 524:Femto gateway counts the shunting duration of the base station Femto;
Diverter function is closed in the base station step 525:Femto, without shunting.
It should be noted that Femto gateway and distributing strategy server can be separated and be disposed, Femto net also can be integrated into
It closes, independent separately deployment facilitates the flexible configuration of the distributing strategy of the base station Femto.
In order to preferably explain above-described embodiment, Femto gateway will be detailed below periodically to distributing strategy service
The process of device more new data.Fig. 6 be a kind of Femto gateway provided in an embodiment of the present invention periodically to distributing strategy server more
The process of new data.
Step 601:Femto gateway is periodically by the used streamed data amount in the base station Femto, used shunting duration
Etc. use informations be updated to distributing strategy server;
Step 602: distributing strategy server update and the new breath of the use for saving the base station Femto.
The used streamed data amount in the base station Femto, used shunting duration are periodically sent to by Femto gateway
The distributing strategy server, so as to the distributing strategy server update and save the diffluent information of the base station Femto.
It should be noted that Femto gateway is periodically by the used streamed data amount in the base station Femto, used
Shunting duration is sent to distributing strategy server and can effectively solve the problem that because the shunting parameter loss that Femto gateway fails cause is asked
Topic.
In order to preferably explain above-described embodiment, it will be detailed below chain routing exception and switch to normal Femto gateway
To the process for the shunting that the base station Femto carries out.Fig. 7, which is that a kind of chain routing provided in an embodiment of the present invention is abnormal, to be switched to normally
The process for the shunting that Femto gateway carries out the base station Femto.
Step 701:Femto gateway monitors that link-recovery is normal;
Step 702:Femto gateway updates type mark, closes the shunting of Femto gateway, is transferred to the positive reason of link state
The Femto gateway of condition handles the shunting that the base station Femto carries out.
Based on the same technical idea, Fig. 8 illustratively shows the embodiment of the present invention and provides one kind based on Femto gateway
Part flow arrangement structure, which can execute the process of the shunting based on Femto gateway, which can be located at above-mentioned figure
In Femto gateway described in 1, it is also possible to the Femto gateway.
As shown in figure 8, the apparatus may include:
It obtains module 801: obtaining the link state and link throughput of the Femto gateway and network side;
Processing module 802: when determining that link state is normal and link throughput is greater than first threshold, to the base station Femto
The order opened and shunted is sent, so that the base station Femto carries out triage operator.
Optionally, the processing module 802 is also used to:
When determining that the link state is abnormal, the base station Xiang Suoshu Femto sends the order opened and shunted, so that described
The base station Femto carries out triage operator.
Optionally, the processing module 802 is also used to:
When determining that the link state is normal, the shunting for the base station Femto that distributing strategy server is sent is obtained
Information, the diffluent information of the base station Femto are shunting of the distributing strategy server in the base station Femto to storage
What information was sent after being updated;The diffluent information of the base station Femto includes the distributing strategy of the base station Femto, shunts
Duration and bypass flow;
According to the distributing strategy of the base station Femto, duration and bypass flow are shunted, the base station Femto is carried out at shunting
Reason.
Optionally, the processing module 802 is specifically used for:
When determining the distributing strategy is not shunt, the base station Xiang Suoshu Femto sends the order closed and shunted;
When determining the distributing strategy is by flow shunt, the current used shunting stream in the base station Femto is obtained
Amount;If the current used flow is less than flow threshold, the order opened and shunted is sent to the base station Femto;
And the bypass flow of the base station Femto is counted, until the current used flow is more than the flow threshold
When, the base station Xiang Suoshu Femto sends the order closed and shunted;
When determining the distributing strategy is temporally to shunt, it is total to obtain the current used shunting in the base station Femto
Duration;If current used shunting duration is less than duration threshold value, the life opened and shunted is sent to the base station Femto
It enables;And the bypass flow of the base station Femto is counted, until determining that the current used shunting duration is more than institute
When stating duration threshold value, the base station Xiang Suoshu Femto sends the order closed and shunted.
Optionally, the processing module 802 is also used to:
Periodically the used streamed data amount in the base station Femto, used shunting duration are sent to described
Distributing strategy server, so as to the distributing strategy server update and save the diffluent information of the base station Femto.
Based on the same technical idea, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned be based on according to the program of acquisition for calling the program instruction stored in the memory
The shunt method of Femto gateway.
Based on the same technical idea, the embodiment of the invention also provides a kind of computer-readable non-volatile memories to be situated between
Matter, including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes
State the shunt method based on Femto gateway.
Finally, it should be noted that it should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, be
System or computer program product.Therefore, the present invention can be used complete hardware embodiment, complete software embodiment or combine software
With the form of the embodiment of hardware aspect.Moreover, it wherein includes that computer can use journey that the present invention, which can be used in one or more,
The computer implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, optical memory etc.) of sequence code
The form of program product.
The present invention be referring to according to the method for the present invention, the flow chart of equipment (system) and computer program product and/or
Block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/or
The combination of process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions to arrive
General purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
Machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing flowing
The device for the function of being specified in one process of journey figure or multiple and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from model of the invention by those skilled in the art
It encloses.In this way, if these modifications and changes of the present invention is within the scope of the claims of the present invention and its equivalent technology, then
The present invention is also intended to include these modifications and variations.