Embodiment
Below by several specific embodiments the technical scheme that the present invention relates to is described in further detail.
Embodiment one
Fig. 2 has shown the method flow diagram of managing ringing-current power according to a specific embodiment of the present invention in communication equipment.Following with reference to Fig. 2 and in conjunction with Fig. 1 a, the method that is used for ring-current power management in the switching equipment shown in Fig. 1 a is described in detail.Suppose that the call subscriber terminal 110 shown in Fig. 1 a is by 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 request to called user terminal 111, and by subscriber connecting equipment 121 and local loop 141, provide ringing-current to called user terminal 111, so that ring takes place terminal called 111.Corresponding, switching equipment 130 will be as follows:
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 described 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 by 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, the remaining ringing-current power in ringing-current source that switching equipment 130 obtains the concrete ringing-current power of the needed reality of this new ringing-current application and distributes ringing-current power for this new ringing-current application by the mode of inquiring about.Particularly, owing to fix at the circuit of user terminal, each parameter of each subscriber line circuit loop is also fixing, so the ringing-current power that each subscriber line circuit loop is consumed is also fixed, therefore, the ringing-current power parameter information that is consumed in the time of can prestoring the ring of each subscriber line circuit loop 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 by approach such as inquiry or calculating, comprise: the relevant parameter that obtains the subscriber line circuit loop of this new ringing-current application correspondence 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 by 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 at the subscriber line circuit loop, such as Single Ended Loop Testing, can periodically carry out automatically by switching equipment 130, and the circuit parameter that is obtained is kept in the switching equipment 130, when needs use above-mentioned parameter, can in time obtain easily by the mode of inquiry.
Then, by 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 have a plurality of analog line interface boards, possible each analog line interface board has a ringing-current source, also may be the public ringing-current sources of a plurality of analog line interface boards.Described herein ringing-current source 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 as shown in Figure 1a the switching equipment, can also be applied to ringing-current power is specifically managed, in other communication equipment that distributes, in the communication system that comprises the subscriber line circuit loop for other, as keeping in the VoIP switch device of subscriber line circuit loop at some, 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 described 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 described new ringing-current application, promptly particularly, can obtain the concrete ringing-current power of the needed reality of this new ringing-current application by 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 by approach such as inquiry or calculating, comprise: the relevant parameter that obtains the subscriber line circuit loop of this new ringing-current application correspondence 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 by 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 by 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 by 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 by the mode of inquiry.
Then, by 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 as 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 the device block diagram of managing ringing-current power according to a specific embodiment of the present invention 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 described 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 described new ringing-current application, promptly particularly, can obtain the concrete ringing-current power of the needed reality of this new ringing-current application by 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 by approach such as inquiry or calculating.The relevant parameter that parameter obtaining device at first obtains the subscriber line circuit loop of this new ringing-current application correspondence 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 by 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 by 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 by 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 described 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 described new ringing-current application, promptly particularly, can obtain the concrete ringing-current power of the needed reality of this new ringing-current application by 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 by approach such as inquiry or calculating.The relevant parameter that parameter obtaining device at first obtains the subscriber line circuit loop of this new ringing-current application correspondence 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 by 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 by 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 by 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 start detection 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 distributor 503 and finish its above-mentioned arbitration functions and above-mentioned distribution function respectively once more.
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 embodiments of the invention are 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.