Summary of the invention
The embodiment of the invention provides a kind of link switch-over method, adopt this link switch-over method, can realize that the user selects to switch to the WAN mouth according to s own situation, avoided because repeatedly automatic switchover between the up link that the up link instability causes, and this link switch-over method is for simple and convenient user operation.
The embodiment of the invention also provides a kind of customer premises equipment, CPE and link switching system.
According to above-mentioned purpose, the technical scheme of the embodiment of the invention is achieved in that
A kind of customer premises equipment, CPE CPE comprises a plurality of Wide Area Network interface modules, and described Wide Area Network interface module is used to control corresponding Wide Area Network interface, and described customer premises equipment, CPE also comprises instruction analysis module, switching controls module and device management module, wherein,
Described instruction analysis module is used to receive the instruction of the switching Wide Area Network interface that the user sends, and according to the default described instruction of rule parsing, generates switching command, and described switching command is sent to described switching controls module;
Described switching controls module is used for after receiving described switching command, but is the time spent when the Wide Area Network interface module of determining to switch to, and notifies described device management module;
Described device management module links to each other with described a plurality of Wide Area Network interface modules, is used for the notice according to described switching controls module, activates the described Wide Area Network interface module that will switch to.
A kind of link switch-over method comprises:
The customer premises equipment, CPE that comprises a plurality of Wide Area Network interface modules receives the instruction of the switching Wide Area Network interface that the user sends;
Described customer premises equipment, CPE is according to the default described instruction of rule parsing, when but the Wide Area Network interface module of determining to switch to is the time spent, activate the described Wide Area Network interface module that will switch to, wherein said Wide Area Network interface module is used to control corresponding Wide Area Network interface.
A kind of link switching system comprises user terminal and the customer premises equipment, CPE that comprises a plurality of Wide Area Network interface modules, wherein,
Described user terminal is used for sending the instruction of user by the switching Wide Area Network interface of keyboard input to described customer premises equipment, CPE;
Described customer premises equipment, CPE, be used to receive the instruction of described switching Wide Area Network interface, according to the default described instruction of rule parsing, when but the Wide Area Network interface module of determining to switch to is the time spent, the Wide Area Network interface module that activation will switch to, wherein said Wide Area Network interface module are used to control corresponding Wide Area Network interface.
From such scheme as can be seen, in the link switch-over method that the embodiment of the invention provides, customer premises equipment, CPE and the link switching system, because integrated reception user is switched the instruction analysis module of Wide Area Network interface instruction in the customer premises equipment, CPE, can realize that therefore the user selects the switching of the physical link of wide area network side by user terminal.Simultaneously, because integrated switching controls module has been guaranteed accuracy and the reliability switched.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the embodiment of the invention is described in further detail below in conjunction with accompanying drawing.
Embodiments of the invention provide a kind of customer premises equipment, CPE CPE, as shown in Figure 1, are the structural representations of CPE in the embodiment of the invention.This customer premises equipment, CPE comprises a plurality of Wide Area Network interface modules, is respectively applied for the corresponding Wide Area Network interface of control.This customer premises equipment, CPE also comprises instruction analysis module, switching controls module and device management module.The Wide Area Network interface module can be responsible for the activation deexcitation of respective physical link, link diagnosis and detection etc., give device management module respective physical Link State real-time report, but also orders such as the status poll of receiving equipment administration module, activation, deexcitation also can report interface module state and command execution results to give device management module.Below concrete module is described in detail:
The instruction analysis module is used to receive the instruction of the switching Wide Area Network interface that the user sends, and the rule parsing instruction according to default generates switching command, and switching command is sent to the switching controls module.The switching controls module is used for after receiving switching command, but is time spent, announcement apparatus administration module when the Wide Area Network interface module of determining to switch to.Device management module links to each other with a plurality of Wide Area Network interface modules, is used for the notice according to the switching controls module, the Wide Area Network interface module that activation will switch to.
Wherein Yu She rule comprises the various definitions mode, for example can take following definition form:
Wherein, the content selectable of [] expression the inside.Dial #2# such as the user by user terminal, expression switches to second WAN mouth and comes up, and the user dials #2*2*5# and represents to postpone to take over seamlessly on second WAN mouth after 5 seconds.Corresponding switching command comprises to be forced switching command and takes over seamlessly order, represents with y.When y was 1, the expression switching command was for forcing switching command, and when y was 2, the expression switching command was for taking over seamlessly order.
When switching command when taking over seamlessly order, above-mentioned switching command also comprises handover delay, represents with z.Z is the numeral of numerical value at 1-9.Show delay number second that takes over seamlessly.This moment, CPE can also comprise the service inquiry module, and the service inquiry module is used to receive the service inquiry order from the switching controls module, and business state information movable on the Wide Area Network interface is sent to the switching controls module.The switching controls module also be used for when switching command when taking over seamlessly order, send the service inquiry order, and the strategy that switches according to the business state information decision of activity.Wherein, movable business state information comprises that user terminal passes through the current ongoing miscellaneous service information of CPE on the Wide Area Network interface.For example, the user is current making a phone call or current Wide Area Network interface on have user data to pass through, after the service inquiry module inquires the business state information of above-mentioned activity, can send to the switching controls module to the business state information of correlated activation, after the switching controls module is received the information that above-mentioned user conversing, need to postpone a period of time, promptly postpone the handover delay in the switching command after, reinform the switching that device management module is carried out the Wide Area Network interface module.
Device management module also is used to write down and upgrade the state information of a plurality of Wide Area Network interface modules, and state information sent to the switching controls module, can these state informations comprise whether fault of Wide Area Network interface module, and whether this fault is recovered, operate as normal after this fault takes place etc.The state information of wherein a plurality of Wide Area Network interface modules, device management module can be passed through timing to each Wide Area Network interface module transmit status querying command, or the modes such as Link State report message of each Wide Area Network interface module of real-time response are obtained.The switching controls module judges according to state information whether a plurality of Wide Area Network interface modules are available.Device management module also can be used for receiving the notice of switching controls module, and issues activation or deexcitation order according to notice to each Wide Area Network interface module, thereby activates the Wide Area Network interface module that will switch to.
CPE can also comprise the playing module that links to each other with the switching controls module, but is used for determining that in the switching controls module Wide Area Network interface module that will switch to is time spent, the prompting of playing handover success to the user; Otherwise, the prompting of playing handoff failure to the user.The sound of above-mentioned prompting can play to the user by the microphone of listening of user terminal.
CPE can also comprise the collection modular converter, is used to receive the instruction of user by the switching Wide Area Network interface of keyboard input, behind the form that instruction transformation can be discerned for the instruction analysis module, sends to the instruction analysis module.Wherein, be converted to the form that the instruction analysis module can discern and comprise that analog signal conversion is a digital signal etc.The user can be by having keyboard entry function, and the user terminal that can listen to voice prompt realizes switching the input of the instruction of Wide Area Network interface.Such user terminal can comprise PC (PC), set-top box, analog telephone, DECT (strengthening the digital cord-less communication, Digital EnhancedCordless Telecommunication) handset, various handheld terminal (as mobile phone etc.).
Above-mentioned CPE specifically can comprise equipment such as home gateway and modulator-demodulator.
In sum, adopt the customer premises equipment, CPE CPE of the embodiment of the invention, because wherein integrated reception user is switched the instruction analysis module of Wide Area Network interface instruction, therefore can realize that the user selects the switching of the physical link of wide area network side by user terminal, satisfy the user and independently switched the demand of access module, and avoided CPE in the prior art to select automatically to insert and the problem of the physical link automatic switchover repeatedly that causes.Because but the switching controls module is just switched for the time spent in the Wide Area Network interface module of guaranteeing to switch to, accuracy and the reliability switched have also been guaranteed simultaneously.
Embodiments of the invention also provide a kind of link switch-over method, as shown in Figure 2, the flow chart of link switch-over method in the embodiment of the invention, implementation process is as follows:
The customer premises equipment, CPE that comprises a plurality of Wide Area Network interface modules receives the instruction of the switching Wide Area Network interface that the user sends; Customer premises equipment, CPE is according to default rule parsing instruction, but is the time spent when the Wide Area Network interface module of determining to switch to, the Wide Area Network interface module that activation will switch to, and wherein the Wide Area Network interface module is used to control corresponding Wide Area Network interface.The Wide Area Network interface module can be responsible for the activation deexcitation of respective physical link, link diagnosis and detection etc., give device management module respective physical Link State real-time report, but also orders such as the status poll of receiving equipment administration module, activation, deexcitation also can report interface module state and command execution results to give device management module.
Before the instruction of the switching Wide Area Network interface that customer premises equipment, CPE reception user sends, customer premises equipment, CPE can also receive the instruction of user by the switching Wide Area Network interface of keyboard input, and format conversion is carried out in instruction.Wherein, be converted to the form that the instruction analysis module can discern and comprise that analog signal conversion is a digital signal etc.
Wherein, the switching Wide Area Network interface comprises the pressure switching and takes over seamlessly.When switching Wide Area Network interface when taking over seamlessly, movable business state information on the customer premises equipment, CPE inquiry Wide Area Network interface, and according to the strategy of the business state information decision switching of activity.Wherein, movable business state information comprises that user terminal passes through the current ongoing miscellaneous service information of CPE on the Wide Area Network interface.For example, the user is current making a phone call or current Wide Area Network interface on have user data to pass through, after customer premises equipment, CPE inquires the business state information of above-mentioned activity, can be according to the business state information of above-mentioned correlated activation, the information conversed of user for example, postpone a period of time, promptly postponed handover delay after, carry out the switching of Wide Area Network interface module again.
CPE also need write down and upgrade the state information of a plurality of Wide Area Network interface modules, judges according to state information whether the Wide Area Network interface module that will switch to is available, and plays corresponding switching result prompting to the user.Can these state informations comprise whether fault of Wide Area Network interface module, and whether this fault is recovered, operate as normal after this fault takes place etc.Above-mentioned play cuing specifically can be, but be time spent, the prompting of playing handover success to the user in the Wide Area Network interface module of determining to switch to; Otherwise, the prompting of playing handoff failure to the user.The sound of prompting can play to the user by the microphone of listening of user terminal.
In sum, adopt the link switch-over method of the embodiment of the invention, because wherein CPE receives the instruction that the user is switched Wide Area Network interface, therefore can realize that the user selects the switching of the physical link of wide area network side by user terminal, satisfy the user and independently switched the demand of access module, and avoided CPE in the prior art to select automatically to insert and the problem of the physical link automatic switchover repeatedly that causes.But just switch for the time spent owing to CPE need guarantee the Wide Area Network interface module that will switch to simultaneously, also guaranteed accuracy and the reliability switched.
Embodiments of the invention also provide a kind of link switching system, comprise user terminal and the customer premises equipment, CPE that comprises a plurality of Wide Area Network interface modules.Wherein user terminal is used for sending the instruction of user by the switching Wide Area Network interface of keyboard input to customer premises equipment, CPE; Customer premises equipment, CPE, be used to receive the instruction of switching Wide Area Network interface,, but be the time spent when the Wide Area Network interface module of determining to switch to according to default rule parsing instruction, the Wide Area Network interface module that activation will switch to, wherein the Wide Area Network interface module is used to control corresponding Wide Area Network interface.Customer premises equipment, CPE also can be used for writing down and upgrading the state information of a plurality of Wide Area Network interface modules, judges according to state information whether the Wide Area Network interface module that will switch to is available, and plays corresponding switching result prompting to the user.Can these state informations comprise whether fault of Wide Area Network interface module, and whether this fault is recovered, operate as normal after this fault takes place etc.Above-mentioned play cuing specifically can be, but be time spent, the prompting of playing handover success to the user in the Wide Area Network interface module of determining to switch to; Otherwise, the prompting of playing handoff failure to the user.The sound of prompting can play to the user by the microphone of listening of user terminal.
Wherein, the switching Wide Area Network interface comprises the pressure switching and takes over seamlessly.When switching Wide Area Network interface when taking over seamlessly, movable business state information on the customer premises equipment, CPE inquiry Wide Area Network interface, and according to the strategy of the business state information decision switching of activity.Wherein, movable business state information comprises that user terminal passes through the current ongoing miscellaneous service information of CPE on the Wide Area Network interface.For example, the user is current making a phone call or current Wide Area Network interface on have user data to pass through, after customer premises equipment, CPE inquires the business state information of above-mentioned activity, can be according to the business state information of above-mentioned correlated activation, the information conversed of user for example, postpone a period of time, promptly postponed handover delay after, carry out the switching of Wide Area Network interface module again.
Describe below in conjunction with concrete example.As shown in Figure 3, the Wide Area Network interface module of CPE comprises ADSL module that is connected with the fixed access network network and the HSDPA module that is connected with Radio Access Network.CPE links to each other with a plurality of user terminals in the corresponding local area network (LAN), as PC, set-top box, analog station etc.Suppose ADSL module correspondence the WAN mouth be numbered 1, the WAN mouth of HSDPA module correspondence be numbered 2, and the current communication WAN mouth of user is the WAN mouth of ADSL module correspondence.The user is by analog station, and according to rule default in CPE embodiment, off-hook is dialled #2*2*5# under non-talking state, and expression postpones to take over seamlessly second WAN after 5 seconds.When this took over seamlessly, whether CPE can detect had user data to pass through on the current Wide Area Network interface, if having, need to postpone a period of time, promptly postponed handover delay after, carry out the switching of Wide Area Network interface module again.
As shown in Figure 4, the Wide Area Network interface module of CPE comprises ADSL module that is connected with the fixed access network network and the HSDPA module that is connected with Radio Access Network equally.With different among Fig. 3 be the input operation that the user instructs by the DECT handset this moment.
The user also can go into from the WAN side joint by mobile phone, carries out corresponding operating.In Fig. 5, the user inserts CPE by mobile phone from Radio Access Network, IP address or the domain name of the CPE that input will insert on mobile phone, thus find corresponding C PE.After mobile phone success connected with the CPE that will insert, it is identical with step among the link switch-over method embodiment that the user selects to switch the method for Wide Area Network interface by it, repeats no more herein.
In sum, adopt the link switching system of the embodiment of the invention, because wherein CPE receives the instruction that the user is switched Wide Area Network interface, therefore can realize that the user selects the switching of the physical link of wide area network side by user terminal, satisfy the user and independently switched the demand of access module, and avoided CPE in the prior art to select automatically to insert and the problem of the physical link automatic switchover repeatedly that causes.But just switch for the time spent owing to CPE need guarantee the Wide Area Network interface module that will switch to simultaneously, also guaranteed accuracy and the reliability switched.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.