Embodiment
Below through several specific embodiments the technical scheme that the present invention relates to is described in further detail.
Embodiment one
Fig. 2 has shown that an embodiment according to the present invention manages the method flow diagram of ringing-current power in communication equipment.Following with reference to Fig. 2 and combine Fig. 1 a, the method that in the switching equipment shown in Fig. 1 a, is used for ring-current power management is described in detail.Suppose that the call subscriber terminal 110 shown in Fig. 1 a is through local loop 140 and subscriber connecting equipment 120; Make a call to called user terminal 111; Switching equipment 130 is after the request that receives call subscriber terminal 110 initiations; If finding that called user terminal 111 is in can called state, then can initiate the incoming call requests to called user terminal 111, and through subscriber connecting equipment 121 and local loop 141; To called user terminal 111 ringing-current is provided, so that ring takes place terminal called 111.Corresponding, switching equipment 130 will pass through following steps:
At first, in step S21, switching equipment 130 receives a new ringing-current application that distributes ringing-current for incoming call.
Secondly, in step S22, switching equipment 130 judges whether the required ringing-current power of new ringing-current application is less than or equal to the remaining ringing-current power in ringing-current source that distributes ringing-current power into said new ringing-current application.Deterministic process comprises following dual mode at least: mode one: the size of the maximum power that current power sum that has consumed in ringing-current power that newer ringing-current application is required and ringing-current source and ringing-current source can provide; Mode two: the size of the ringing-current power that newer ringing-current application is required and the dump power in ringing-current source, wherein the dump power in the ringing-current source maximum power that can provide for the ringing-current source deducts the current power that has consumed in ringing-current source.
Particularly; Switching equipment 130 can obtain the concrete ringing-current power of the needed reality of this new ringing-current application through modes such as inquiry or calculating; And obtain to be responsible for the dump power that this application is distributed the ringing-current source of ringing-current power, judge whether this ringing-current source has enough residue ringing-current power division to give this new ringing-current application.
Below to above-mentioned inquiry with calculate dual mode and describe.
Mode one: inquiry
Usually; The circuit of user terminal is fixed; Thereby each parameter of subscriber line circuit loop is also fixed, and switching equipment 130 obtains the concrete ringing-current power of the needed reality of this new ringing-current application through the mode of inquiring about and is the remaining ringing-current power in ringing-current source that this new ringing-current application distributes ringing-current power.Particularly; Owing to fix at the circuit of user terminal; Each parameter of each subscriber line circuit loop is also fixing; Therefore the ringing-current power that consumed of each subscriber line circuit loop is also fixed, therefore, and the ringing-current power parameter information that is consumed during the ring of each subscriber line circuit loop that can prestore in the switching equipment 130.
Switching equipment 130 is after having received new ringing-current application; Obtain the required parameter of this new ringing-current application and just at the ringing-current power parameter of other one or more subscriber line circuit loops of ring according to the power parameter information inquiry that prestores, each just is the current used up ringing-current power in ringing-current source in the ringing-current power sum of the subscriber line circuit loop of ring.The maximum power that common ringing-current source can provide also is to be pre-stored in the switching equipment 130.The maximum power in ringing-current source deducts the dump power that current used up ringing-current power is the ringing-current source.
Mode two: calculate
More specifically; Obtain the method for the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating; Comprise: the relevant parameter that obtains the corresponding subscriber line circuit loop of this new ringing-current application earlier; And then utilize these relevant parameters, calculate the ringing-current power of its required reality.More specifically, can obtain the relevant parameter of subscriber line circuit loop through the method for Single Ended Loop Testing.Wherein, in these parameters, comprise that the most important parameter of calculating required ringing-current power is the dc impedance R of subscriber line circuit loop
cWith AC impedance R
Ac, at ringing-current voltage alternating voltage Uac and direct voltage U
cUnder the known situation, calculate direct current power P respectively
cWith AC power P
Ac, ringing-current power P=P during ring then
c+ P
Ac
More preferably; Relevant test to the subscriber line circuit loop; Such as Single Ended Loop Testing, can periodically carry out automatically, and the circuit parameter that is obtained is kept in the switching equipment 130 by switching equipment 130; When needs use above-mentioned parameter, can in time obtain easily through the mode of inquiry.
Then, through judging, if the new required ringing-current power of ringing-current application is less than or equal to the remaining ringing-current power in ringing-current source, execution in step S23 then, promptly the ringing-current source was for should new application distributing ringing-current power, this application success; If the new required ringing-current power of ringing-current application is higher than the remaining ringing-current power in ringing-current source, execution in step S24 then, promptly ringing-current source refusal was for should new application distributing ringing-current power, this application failure.
Need to prove; Because the function of existing switching equipment 130 from strength to strength; Usually in a switching equipment 130, can have and a plurality of analog line interface boards; Possible each analog line interface board has a ringing-current source, also possibly be the public ringing-current sources of a plurality of analog line interface boards.Ringing-current source described in this paper if no special instructions, all refers to distribute for new ringing-current application the ringing-current source of ringing-current power.
Need to prove in addition; Though embodiment one is an example with traditional exchange equipment 130 method of ring-current power management of the present invention is illustrated; Those of ordinary skill in the art will be understood that method of the present invention is not limited to only be applied in the switching equipment shown in Fig. 1 a, in other communication equipment that can also be applied to ringing-current power is specifically managed, distributed; In the communication system that comprises the subscriber line circuit loop for other; As keeping at some in the VoIP switch device of subscriber line circuit loops, for telephone terminal and do not require ringing current power source is provided separately that the present invention also all can be suitable for.
Embodiment two
Fig. 3 has shown that another embodiment according to the present invention manages the method flow diagram of ringing-current in communication equipment.In the ringing-current management method shown in this flow chart, in step S31, the communication equipment of being responsible for ring-current power management receives a new ringing-current application that distributes ringing-current for incoming call;
Secondly; In step S32; Judge whether the required ringing-current power of said new ringing-current application is less than or equal to the remaining ringing-current power in ringing-current source that distributes ringing-current power into said new ringing-current application; Promptly particularly; Can obtain the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating, and obtain to be responsible for the dump power that this application is distributed the ringing-current source of ringing-current power, judge whether this ringing-current source has enough residue ringing-current power division to give this new ringing-current application;
Particularly; Obtain the method for the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating; Comprise: the relevant parameter that obtains the corresponding subscriber line circuit loop of this new ringing-current application earlier; And then utilize these relevant parameters, calculate the ringing-current power of its required reality.More specifically, can obtain the relevant parameter of subscriber line circuit loop through the method for Single Ended Loop Testing.Wherein, in these parameters, comprise that the most important parameter of calculating required ringing-current power is the dc impedance R of subscriber line circuit loop
cWith AC impedance R
Ac
In addition; Because the user that required ringing-current power is concrete with corresponding is relevant; If communication system obtains its required ringing-current power through other method in advance, and this parameter is kept in communication equipment or the relevant device as configuration parameter, then can obtains required ringing-current power through the method for inquiry.Such as Single Ended Loop Testing, can periodically carry out automatically, and the circuit parameter that is obtained is kept in the switching equipment 130 by switching equipment 130, when needs use above-mentioned parameter, can in time obtain easily through the mode of inquiry.
Then, through judging, if the new required ringing-current power of ringing-current application is less than or equal to the remaining ringing-current power in ringing-current source, execution in step S33 then, promptly the ringing-current source was for should new application distributing ringing-current power, this application success; If the new required ringing-current power of ringing-current application is higher than the remaining ringing-current power in ringing-current source, then whether execution in step S34 promptly detects scheduled event and takes place, if detect scheduled event, and repeated execution of steps S32 then.
Concrete, this scheduled event comprises ringing-current power release event takes place in the given time.When other just the user of ring because change reasons such as subscribers feeder controlled state like called subscriber's off-hook, calling subscriber's on-hook, operator; When having discharged the ringing-current power of originally distributing to it, then get back to step S32 and rejudge this ringing-current source and whether have the ability to distribute ringing-current power for this new ringing-current application.
If detect less than scheduled event, then execution in step S35 promptly refuses this new ringing-current application.
Embodiment three
Fig. 4 has shown that an embodiment according to the present invention manages the device block diagram of ringing-current power in communication equipment.This ringing-current management devices 40 comprises receiving system 401, judgment means 402 and distributor 403.
Wherein, receiving system 401 is used to receive the new ringing-current application of an incoming call.
Judgment means 402; Be used to judge whether the required ringing-current power of said new ringing-current application is less than or equal to the remaining ringing-current power in ringing-current source that distributes ringing-current power into said new ringing-current application; Promptly particularly; Can obtain the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating; And obtain to be responsible for the dump power that this application is distributed the ringing-current source of ringing-current power, judge whether this ringing-current source has enough residue ringing-current power division to give this new ringing-current application.
More specifically, before judgment means 402, can also comprise parameter obtaining device, be used for obtaining the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating.The relevant parameter that parameter obtaining device at first obtains the corresponding subscriber line circuit loop of this new ringing-current application utilizes these relevant parameters then, calculates the ringing-current power of its required reality.Parameter obtaining device also may further include testing apparatus, is used for obtaining through the method for Single Ended Loop Testing the relevant parameter of subscriber line circuit loop.Wherein, in these parameters, comprise that the most important parameter of calculating required ringing-current power is the dc impedance R of subscriber line circuit loop
cWith AC impedance R
Ac
In addition; Because the user that required ringing-current power is concrete with corresponding is relevant; If communication system obtains its required ringing-current power through other method in advance; And this parameter is kept in communication equipment or the relevant device as configuration parameter, then testing apparatus also can obtain required ringing-current power through the method for inquiry.
Distributor 403 is less than or equal to the remaining ringing-current power in ringing-current source if be used for the required ringing-current power of this new ringing-current application, then distributes required ringing-current power for this new ringing-current application.
In addition, distributor 403 also is used for, if the required ringing-current power of this new ringing-current application is higher than the remaining ringing-current power in ringing-current source, and then this new ringing-current application of refusal.
Embodiment four
Fig. 5 has shown that another embodiment according to the present invention manages the device block diagram of ringing-current power in communication equipment.This ringing-current management devices 50 comprises receiving system 501, judgment means 502 and distributor 503, and checkout gear 504 and control device 505.
Wherein, receiving system 501 is used to receive the new ringing-current application of an incoming call.
Judgment means 502; Be used to judge whether the required ringing-current power of said new ringing-current application is less than or equal to the remaining ringing-current power in ringing-current source that distributes ringing-current power into said new ringing-current application; Promptly particularly; Can obtain the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating; And obtain to be responsible for the dump power that this application is distributed the ringing-current source of ringing-current power, judge whether this ringing-current source has enough residue ringing-current power division to give this new ringing-current application.
More specifically, before judgment means 502, can also comprise parameter obtaining device, be used for obtaining the concrete ringing-current power of the needed reality of this new ringing-current application through approach such as inquiry or calculating.The relevant parameter that parameter obtaining device at first obtains the corresponding subscriber line circuit loop of this new ringing-current application utilizes these relevant parameters then, calculates the ringing-current power of its required reality.Parameter obtaining device also may further include testing apparatus, is used for obtaining through the method for Single Ended Loop Testing the relevant parameter of subscriber line circuit loop.Wherein, in these parameters, comprise that the most important parameter of calculating required ringing-current power is the dc impedance Rc and the AC impedance Rac of subscriber line circuit loop.
In addition; Because the user that required ringing-current power is concrete with corresponding is relevant; If communication system obtains its required ringing-current power through other method in advance; And this parameter is kept in communication equipment or the relevant device as configuration parameter, then testing apparatus also can obtain required ringing-current power through the method for inquiry.
Distributor 503 is less than or equal to the remaining ringing-current power in ringing-current source if be used for the required ringing-current power of this new ringing-current application, then distributes required ringing-current power for this new ringing-current application.
In addition, judge when judgment means 502 to draw that the required ringing-current power of this new ringing-current application is higher than the remaining ringing-current power in ringing-current source, whether then the detection starting device 504, be used to detect scheduled event and take place.Wherein, this scheduled event comprises ringing-current power release event takes place in the given time.
If checkout gear 504 detects the scheduled time, then the start-up control device 505, are used to control judgment means 502 and accomplish its above-mentioned arbitration functions and above-mentioned distribution function respectively once more with distributor 503.
In addition, distributor 503 also is used for, if the required ringing-current power of this new ringing-current application is higher than the remaining ringing-current power in ringing-current source, and then this new ringing-current application of refusal.
More than specific embodiment of the present invention is described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various modification or modification within the scope of the appended claims.