CN109525742A - A kind of multi-path voice equipment ringing-current voltage intelligent adjusting method and system - Google Patents

A kind of multi-path voice equipment ringing-current voltage intelligent adjusting method and system Download PDF

Info

Publication number
CN109525742A
CN109525742A CN201910009453.3A CN201910009453A CN109525742A CN 109525742 A CN109525742 A CN 109525742A CN 201910009453 A CN201910009453 A CN 201910009453A CN 109525742 A CN109525742 A CN 109525742A
Authority
CN
China
Prior art keywords
current voltage
ringing
access
path voice
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910009453.3A
Other languages
Chinese (zh)
Other versions
CN109525742B (en
Inventor
欧朋
吕志华
杨睿
代凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910009453.3A priority Critical patent/CN109525742B/en
Publication of CN109525742A publication Critical patent/CN109525742A/en
Application granted granted Critical
Publication of CN109525742B publication Critical patent/CN109525742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a kind of multi-path voice equipment ringing-current voltage intelligent adjusting method and systems, it is related to voice technology field, multi-path voice equipment ringing-current voltage intelligent adjusting method is comprising steps of according to the type of multi-path voice equipment and total number, the corresponding ringing-current voltage of all access voices is classified, the corresponding ringing-current voltage of multi-path voice equipment all access voices in the different total number of different type is obtained;According to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, the corresponding corresponding ringing-current voltage of all accesses for obtaining needing ring simultaneously;By the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic chip, the corresponding access of the Codec Slic chip controls starts ring.Multi-path voice equipment ringing-current voltage intelligent adjusting method provided by the invention adjusts the ringing-current voltage of multi-path voice equipment by intelligence, reduces equipment power dissipation, reduces the hardware cost of equipment.

Description

A kind of multi-path voice equipment ringing-current voltage intelligent adjusting method and system
Technical field
The present invention relates to the voice technology fields in fiber optic communication, and in particular to a kind of multi-path voice equipment ringing-current voltage intelligence It is adjustable method and system.
Background technique
Since different speech ciphering equipment application scenarios are different, speech ciphering equipment can be there are many type.According to support ring roadlock Anti- difference, speech ciphering equipment type are divided into ultra-long equipment, long line equipment, middle or long line equipment and short-term equipment, and different languages The number of sound device type is also different.Wherein there are many ultra-long equipment number, support distance very long, and loop circuit impedance requires to reach To 4K Ω, usual ultra-long equipment number has 32 tunnels, 48 tunnels or 64 tunnels;Long line equipment number is also more, supports longer, the ring of distance Road resistance requirement reaches 1.8K Ω, usual long 32 tunnel line equipment number Ye You, 48 tunnels or 64 tunnels;Middle or long line equipment number is less, Loop resitance requires to reach 1.2K Ω, and usual middle or long line equipment number has 4 tunnels, 8 tunnels, 16 tunnels or 24 tunnels;Short-term equipment number is very It is few, support distance shorter, loop resitance requires to reach 0.5K Ω, and usual short-term equipment number has 1 tunnel or 2 tunnels.
However, in the prior art, the ringing-current voltage that each road voice of the electric power source pair of module of different multi-path voice equipment provides is equal It is identical, it is very high to the power supply capacity requirement of power module when multi-path voice ring simultaneously, need higher total ring electricity Pressure, substantially increases the cost of power module, and then cause the hardware cost of multi-path voice equipment higher.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of multi-path voice equipment ringing-current voltages Intelligent adjusting method adjusts the ringing-current voltage of multi-path voice equipment by intelligence, reduces equipment power dissipation, reduce the hardware of equipment at This.
To achieve the above objectives, the technical solution adopted by the present invention is that:
A kind of multi-path voice equipment ringing-current voltage intelligent adjusting method, comprising steps of
According to the type of multi-path voice equipment and total number, the corresponding ringing-current voltage of all access voices is classified, Obtain the corresponding ringing-current voltage of multi-path voice equipment all access voices in the different total number of different type;
It is needed according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, correspondence Want the corresponding ringing-current voltage of all accesses of ring simultaneously;
By the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic chip, institute State Codec the corresponding access of Slic chip controls start ring.
Based on the above technical solution, the type and total number according to multi-path voice equipment, by all accesses The corresponding ringing-current voltage of voice is classified, and multi-path voice equipment all accesses in the different total numbers of different type are obtained The specific steps of the corresponding ringing-current voltage of voice are as follows:
The ringing-current voltage reference value and ringing-current voltage step values of default different phonetic device type;
It is several gears by the corresponding ringing-current voltage division of different access voices according to total number of multi-path voice equipment, Further according to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage step values, obtain owning under different stalls The corresponding ringing-current voltage of access voice.
Based on the above technical solution, same according to the type of current multi-path voice equipment and total number and needs The number of Shi Zhenling, the specific steps of the corresponding corresponding ringing-current voltage of all accesses for obtaining needing ring simultaneously are as follows:
According to the type and total number of current multi-path voice equipment, finds under current multi-path voice equipment different stalls and own The corresponding ringing-current voltage of access voice finds corresponding gear further according to the number for needing ring simultaneously, obtains needing while shaking The corresponding ringing-current voltage of all accesses of bell.
Based on the above technical solution, total number according to multi-path voice equipment, by different access voices pair The ringing-current voltage division answered is several gears method particularly includes:
If total number of multi-path voice equipment is N, gear number M, as N≤32, M=2;As N=48, M=3;Work as N When=64, M=4.
Based on the above technical solution, it is described according to the corresponding ringing-current voltage reference value of multi-path voice device type and Ringing-current voltage step values obtain the corresponding ringing-current voltage of all access voices under different stalls method particularly includes:
The corresponding ringing-current voltage of all gears is at arithmetic progression, wherein the first term of the arithmetic progression sets for multi-path voice The standby corresponding ringing-current voltage reference value of type, the tolerance of arithmetic progression are the ringing-current voltage step values, and the ringing-current voltage Step value is negative.
Based on the above technical solution, the maximum value of the corresponding number of all gears and the difference of minimum value are homogeneous Deng.
Based on the above technical solution, multi-path voice equipment is being obtained in the different total number institutes of different type After having the corresponding ringing-current voltage of access voice, the specific steps of multi-path voice equipment ringing-current voltage intelligent adjusting method are as follows:
Acquisition multi-path voice equipment needs for the first time while the number of ring;
A polling cycle is waited, multi-path voice equipment is obtained and needs the newly-increased access number for cutting bell and need newly-increased The access number of ring, and increase newly cut the access number of bell and to need the access number of newly-increased ring to obtain described more as needed Road speech ciphering equipment is needing while the number of ring after a polling cycle;
It is needed according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, correspondence Want the corresponding ringing-current voltage of all accesses of ring simultaneously;
By the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic chip, institute It states the corresponding access of Codec Slic chip controls and starts ring, complete a multi-path voice equipment ringing-current voltage and intelligently adjust;
Next polling cycle is waited, multi-path voice equipment is obtained and is being needed after next polling cycle while ring Number, the Codec the corresponding access of Slic chip controls start ring, complete multi-path voice equipment ringing-current electricity next time Pressure intelligence is adjusted.
Based on the above technical solution, after a polling cycle, the number for needing ring simultaneously= The newly-increased number for cutting bell of number-needs of newly-increased ring is needed while the number of ring+needed for the first time.
The embodiment of the invention also provides a kind of multi-path voice equipment ringing-current voltage intelligent regulating systems, including central processing Device CPU and voice service Codec Slic chip;
The CPU is used for type and total number according to multi-path voice equipment, by the corresponding ringing-current electricity of all access voices Pressure is classified, and the corresponding ringing-current electricity of multi-path voice equipment all access voices in the different total number of different type is obtained It presses, and according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, it is corresponding to obtain needing together The corresponding ringing-current voltage of all accesses of Shi Zhenling, by the corresponding ringing-current voltage of access in need while ring be handed down to institute Voice traffic Codec Slic chip;
The Codec Slic chip is used for electric according to the corresponding ringing-current of institute's access in need while ring received The corresponding access of voltage-controlled system starts ring.
Based on the above technical solution, the CPU includes:
Setup module is used to preset the ringing-current voltage reference value and ringing-current voltage step size of different phonetic device type Value;
Categorization module is used for total number according to multi-path voice equipment, by the corresponding ringing-current voltage of different access voices It is divided into several gears;
Processing module is used for according to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage step size Value obtains the corresponding ringing-current voltage of all access voices under different stalls.
Compared with the prior art, the advantages of the present invention are as follows: multi-path voice equipment ringing-current voltage of the invention is intelligently adjusted Method adjusts the ringing-current voltage of multi-path voice equipment by intelligence, reduces equipment power dissipation, reduces the hardware cost of equipment.
Detailed description of the invention
Fig. 1 is the flow chart of multi-path voice equipment ringing-current voltage intelligent adjusting method in the embodiment of the present invention 1;
Fig. 2 is the flow chart of multi-path voice equipment ringing-current voltage intelligent adjusting method in the embodiment of the present invention 2.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Ground description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is right below The description only actually of at least one exemplary embodiment be it is illustrative, never as to the application and its application or use Any restrictions.Based on the embodiment in the application, those of ordinary skill in the art are without making creative work Every other embodiment obtained, shall fall in the protection scope of this application.
Embodiment 1
Shown in Figure 1, the embodiment of the invention provides a kind of multi-path voice equipment ringing-current voltage intelligent adjusting method, packets Include step:
A1: according to the type of multi-path voice equipment and total number, the corresponding ringing-current voltage of all access voices is divided Class obtains the corresponding ringing-current voltage of multi-path voice equipment all access voices in the different total number of different type;
A2: it is obtained according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, correspondence It needs while the corresponding ringing-current voltage of all accesses of ring;
A3: by the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic core Piece, the Codec the corresponding access of Slic chip controls start ring.
Multi-path voice equipment ringing-current voltage intelligent adjusting method in the embodiment of the present invention, first exists to multi-path voice equipment The corresponding ringing-current voltage of all access voices carries out classification setting in the case of the different total number of different type, further according to current multichannel Speech ciphering equipment type and total number and the number for needing ring simultaneously find the corresponding all accesses for needing ring simultaneously Corresponding ringing-current voltage, to have the function that intelligence adjusts multi-path voice equipment ringing-current voltage, in the prior art, difference is more In different total number, ringing-current voltage is all the same compares for road speech ciphering equipment, after the adjustment of ringing-current voltage, to power module Power supply capacity require reduce, equipment power dissipation can be reduced, reduce the hardware cost of equipment.
Further, the type and total number according to multi-path voice equipment, by the corresponding ringing-current of all access voices Voltage is classified, and the corresponding ringing-current of multi-path voice equipment all access voices in the different total number of different type is obtained The specific steps of voltage are as follows:
A101: the ringing-current voltage reference value and ringing-current voltage step values of default different phonetic device type;
A102: being several by the corresponding ringing-current voltage division of different access voices according to total number of multi-path voice equipment Gear;
A103: it according to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage step values, obtains not The corresponding ringing-current voltage with access voices all under gear.Further, according to total road of multi-path voice equipment in step A102 The corresponding ringing-current voltage division of different access voices is several gears by number method particularly includes:
If total number of multi-path voice equipment is N, gear number M, as N≤32, M=2;As N=48, M=3;Work as N When=64, M=4.Gear number in the present embodiment can be adjusted accordingly according to the actual situation, to meet different multi-path voices The demand of equipment.
Further, according to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage in step A103 Step value obtains the corresponding ringing-current voltage of all access voices under different stalls method particularly includes:
The corresponding ringing-current voltage of all gears is at arithmetic progression, wherein the first term of the arithmetic progression sets for multi-path voice The standby corresponding ringing-current voltage reference value of type, the tolerance of arithmetic progression are the ringing-current voltage step values, and the ringing-current voltage Step value is negative.
Specifically, by taking one of multi-path voice device type as an example, the corresponding ringing-current electricity of the multi-path voice device type Pressure reference value is denoted as Vol, and ringing-current voltage step values are denoted as-RingAcVolStep;
As total number N≤32 of multi-path voice equipment, gear number M=2, i.e. ringing-current voltage division are two grades, this two grades Ringing-current voltage is denoted as first grade of ringing-current voltage a1, second gear ringing-current voltage a2 respectively, wherein a1=Vol, a2=Vol- RingAcVolStep;
When total number of multi-path voice equipment is N=48, gear number M=3, i.e. ringing-current voltage division are third gear, this three Shelves ringing-current voltage is denoted as first grade of ringing-current voltage b1, second gear ringing-current voltage b2, third gear ringing-current voltage b3, b1=Vol respectively, B2=Vol-RingAcVolStep, b3=Vol-2*RingAcVolStep;
When total number of multi-path voice equipment is N=64, gear number M=4, i.e. ringing-current voltage division are fourth gear, this four Shelves ringing-current voltage is denoted as first grade of ringing-current voltage c1, second gear ringing-current voltage c2, third gear ringing-current voltage c3, fourth speed bell respectively Galvanic electricity presses c4, c1=Vol, c2=Vol-RingAcVolStep, c3=Vol-2*RingAcVolStep, c4=Vol-3* RingAcVolStep。
It in above process, only need to be according to another multi-path voice equipment if multi-path voice device type is another The corresponding ringing-current voltage reference value of type accordingly adjusts different stalls ringing-current voltage, for example, another multi-path voice is set The standby corresponding ringing-current voltage reference value of type is Vol ', then a1=Vol ', a2=Vol '-RingAcVolStep, and so on i.e. It can.
Further, right according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously It should obtain needing the specific steps of the corresponding ringing-current voltage of all accesses of ring simultaneously are as follows:
According to the type and total number of current multi-path voice equipment, finds under current multi-path voice equipment different stalls and own The corresponding ringing-current voltage of access voice finds corresponding gear further according to the number for needing ring simultaneously, obtains needing while shaking The corresponding ringing-current voltage of all accesses of bell.
Preferably, the maximum value of the corresponding number of all gears and the difference of minimum value are equal.
Specifically, as total number N≤32 of multi-path voice equipment, gear number M=2, first grade of ringing-current voltage a1 is corresponding Access be 1 tunnel~road N/2, when needing that the number of ring is located within the scope of 1 tunnel~road N/2 simultaneously, the institute under the first gear Aisled ringing-current voltage is a1;The corresponding access of second gear ringing-current voltage a2 is the road N/2+1~road N, when needs while being shaken When the number of bell is located within the scope of the road N/2+1~road N, the aisled ringing-current voltage of institute is a2 under second gear.
And so on, as total number N=48 of multi-path voice equipment, gear number M=3, first grade of b1 pairs of ringing-current voltage The access answered is 1 tunnel~road N/3, and the corresponding access of second gear ringing-current voltage b2 is the road N/3+1~road 2*N/3, third gear ringing-current The corresponding access of voltage b3 is the road 2*N/3+1~road N;
When total number of multi-path voice equipment is N=64, the corresponding access of gear number M=4, first grade of ringing-current voltage c1 For 1 tunnel~road N/4, the corresponding access of second gear ringing-current voltage c2 is the road N/4+1~road 2*N/4, c3 pairs of voltage of third gear ringing-current The access answered is the road 2*N/4+1~road 3*N/4, and the corresponding access of fourth speed ringing-current voltage c4 is the road 3*N/4+1~road N.
Further, when obtaining multi-path voice equipment in the different total numbers of different type, all access voices are corresponding Ringing-current voltage after, the specific steps of multi-path voice equipment ringing-current voltage intelligent adjusting method are as follows:
Acquisition multi-path voice equipment needs for the first time while the number of ring;
A polling cycle is waited, multi-path voice equipment is obtained and needs the newly-increased access number for cutting bell and need newly-increased The access number of ring, and increase newly cut the access number of bell and to need the access number of newly-increased ring to obtain described more as needed Road speech ciphering equipment is needing while the number of ring after a polling cycle;
It is needed according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, correspondence Want the corresponding ringing-current voltage of all accesses of ring simultaneously;
By the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic chip, institute It states the corresponding access of Codec Slic chip controls and starts ring, complete a multi-path voice equipment ringing-current voltage and intelligently adjust;
Next polling cycle is waited, aforesaid operations are repeated, multi-path voice equipment is obtained and is passing through next polling cycle Need afterwards while the number of ring, the Codec the corresponding access of Slic chip controls start ring, complete multichannel next time Speech ciphering equipment ringing-current voltage is intelligently adjusted.
It is interpreted as being switched to the dynamic of No ringing state by ringing condition it should be noted that cutting bell in the embodiment of the present invention Make.
In the embodiment of the present invention, by a polling cycle, the corresponding number for obtaining once needing ring simultaneously, and carry out One time ringing-current voltage is adjusted, and so as to according to actual needs, adjust the duration of polling cycle, is carried out to ringing-current voltage multiple It adjusts, practicability is more preferable.
It is above-mentioned after first time polling cycle, to need while the number of ring=needing for the first time while the number of ring + need number-needs of newly-increased ring to increase the difference for cutting the number of bell newly.
Specifically, it if multi-path voice equipment needs for the first time while the number of ring is n0, after a polling cycle, needs Increasing newly and cutting the access number of bell is n1, and needing the access number of newly-increased ring is n2, then needs after a polling cycle The number of ring simultaneously is RingPortCnt, then RingPortCnt=n0+n2-n1, and so on, carrying out poll next time After period, needs while the number of ring=number that the last time needs ring simultaneously+needs number-needs of newly-increased ring new Increase the number for cutting bell.In practical applications, all logical when obtaining multi-path voice equipment in the different total numbers of different type After the corresponding ringing-current voltage of road voice, according to the type and total number of the multi-path voice equipment actually used, the reality is found In the case of the corresponding ringing-current voltage of all access voices needed simultaneously further according to the number for needing ring simultaneously to correspond to obtain The corresponding ringing-current voltage of all accesses of ring.
By taking the long line equipment on 32 tunnels as an example, when classifying to the corresponding ringing-current voltage of all access voices, long line is set Standby ringing-current voltage reference value is set as 96V, and ringing-current voltage step values are 5V, then is divided into two grades, first grade of corresponding access is 1 Road~16 tunnels, first grade of ringing-current voltage are 96V, and the corresponding access of second gear is 17 tunnels~32 tunnels, the ringing-current voltage of second gear For 91V.If desired the number of ring simultaneously is 25 tunnels, needs while the number of ring is located at the corresponding access range of second gear It is interior, then it needs while the corresponding ringing-current voltage in 1 tunnel of ring~25 tunnels is 91V;If desired the number of ring simultaneously is 10 tunnels, It needs while the number of ring is located within the scope of first grade of corresponding access, then need while 1 tunnel of ring~10 tunnels are corresponding Ringing-current voltage is 96V.
Embodiment 2
It is shown in Figure 2, the embodiment of the invention provides a kind of multi-path voice equipment ringing-current voltage intelligent adjusting method, Mainly for the multi-path voice equipment of common number, comprising the following steps:
S1: initialization voice service Codec Slic chip, and initialize global variable: count value RingPortCnt is 0, ringing-current voltage value RingAcVol is 0, the ringing-current voltage reference value RingAcVolOVerLong of ultra-long equipment is 106V, length The ringing-current voltage reference value RingAcVolLong of line equipment is the ringing-current voltage reference value of 96V, middle or long line equipment RingAcVolMid is 90V, the ringing-current voltage reference value RingAcVolSho of short-term equipment is 85V, ringing-current voltage step values RingAcVolStep is 5V, and count value RingPortCnt herein can be understood as multi-path voice equipment and need to shake simultaneously for the first time That is, in embodiments of the present invention multi-path voice equipment is needed for the first time while the number of ring is initialized as 0 by the number of bell;
It should be noted that the ringing-current voltage reference value and ringing-current voltage step of different phonetic device type in actual use Long value can be chosen according to the actual situation, be only illustrated herein with conventional voltage value.
S2, a polling cycle is waited, judges whether there is access and need newly-increased section of bell, if so, judgement needs newly-increased cut The number of bell access is n1, otherwise n1 >=1, and go to step S3 jumps directly to step S5;
S3, CPU issue cut a bell instruct to Codec Slic chip, Codec Slic chip controls need newly-increased to cut the logical of bell Road carries out cutting bell operation;
S4, RingPortCnt subtract n1;
S5, judge whether there is access and need newly-increased ring, if so, judge the number for needing to increase ring access newly as n2, N2 >=1, and step S6 is gone to, otherwise turn to step S2;
S6, judge the total number of speech ciphering equipment, if the total number N=2 of speech ciphering equipment, speech ciphering equipment type is short-term equipment, then Go to step S7;If total 2 N≤24 < of number of speech ciphering equipment, speech ciphering equipment type is middle or long line equipment, then goes to step S8;If Total 24 N≤64 < of number of speech ciphering equipment, speech ciphering equipment type are long line equipment or ultra-long equipment, then go to step S9;
Wherein, in multi-path voice equipment, N is positive integer greater than 1, usual N be 2 tunnels, 4 tunnels, 8 tunnels, 16 tunnels, 24 tunnels, 32 tunnels, 48 tunnels, 64 tunnels.
S7:RingAcVol=RingAcVolSho, RingPortCnt add n2, judge the value of RingPortCnt, if The value of RingPortCnt is 2, then goes to step S18 after executing RingAcVol=RingAcVol-RingAcVolStep, no Then, step S18 is directly gone to;
S8:RingAcVol=RingAcVolMid, RingPortCnt add n2, judge the value of RingPortCnt, if The value of RingPortCnt is N/2+1~N, then goes to step after executing RingAcVol=RingAcVol-RingAcVolStep Otherwise S18 directly goes to step S18;
S9: judging speech ciphering equipment type, if long line equipment, then goes to step S10, if ultra-long equipment, then goes to Step S14;
S10: judging the total number of speech ciphering equipment, if the total number N=32 of speech ciphering equipment, goes to step S11, if speech ciphering equipment Total number N=48, then go to step S12, if the total number N=64 of speech ciphering equipment, goes to step S13;
S11:RingAcVol=RingAcVolLong, RingPortCnt add n2, judge the value of RingPortCnt, if The value of RingPortCnt is N/2+1~N, then goes to step after executing RingAcVol=RingAcVol-RingAcVolStep Otherwise S18 directly goes to step S18;
S12:RingAcVol=RingAcVolLong, RingPortCnt add n2, judge the value of RingPortCnt, if The value of RingPortCnt is 2*N/3+1~N, then goes to after executing RingAcVol=RingAcVol-2*RingAcVolStep Step S18 executes RingAcVol=RingAcVol- if the value of RingPortCnt is N/3+1~2*N/3 Step S18 is gone to after RingAcVolStep, otherwise, directly goes to step S18;
S13:RingAcVol=RingAcVolLong, RingPortCnt add n2, judge the value of RingPortCnt, if The value of RingPortCnt is 3*N/4+1~N, then goes to after executing RingAcVol=RingAcVol-3*RingAcVolStep Step S18 executes RingAcVol=RingAcVol-2* if the value of RingPortCnt is 2*N/4+1~3*N/4 Step S18 is gone to after RingAcVolStep, if the value of RingPortCnt is N/4+1~2*N/4, executes RingAcVol= Step S18 is gone to after RingAcVol-RingAcVolStep, otherwise, directly goes to step S18;
S14: judging the total number of speech ciphering equipment, if the total number N=32 of speech ciphering equipment, goes to step S15, if speech ciphering equipment Total number N=48, then go to step S16, if if the total number N=64 of speech ciphering equipment, goes to step S17;
S15:RingAcVol=RingAcVolOverLong, RingPortCnt add n2, judge the value of RingPortCnt, If the value of RingPortCnt is N/2+1~N, step is gone to after executing RingAcVol=RingAcVol-RingAcVolStep Otherwise rapid S18 directly goes to step S18;
S16:RingAcVol=RingAcVolOverLong, RingPortCnt add n2, judge the value of RingPortCnt, If the value of RingPortCnt is 2*N/3+1~N, turn after executing RingAcVol=RingAcVol-2*RingAcVolStep RingAcVol=RingAcVol- is executed if the value of RingPortCnt is N/3+1~2*N/3 to step S18 Step S18 is gone to after RingAcVolStep, otherwise, directly goes to step S18;
S17:RingAcVol=RingAcVolOverLong, RingPortCnt add n2, judge the value of RingPortCnt, If the value of RingPortCnt is 3*N/4+1~N, turn after executing RingAcVol=RingAcVol-3*RingAcVolStep RingAcVol=RingAcVol-2* is executed if the value of RingPortCnt is 2*N/4+1~3*N/4 to step S18 Step S18 is gone to after RingAcVolStep, if the value of RingPortCnt is N/4+1~2*N/4, executes RingAcVol= Step S18 is gone to after RingAcVol-RingAcVolStep, otherwise, directly goes to step S18;
S18: by RingAcVol be handed down to Codec Slic chip, start ring, turn to step S2.
The multi-path voice equipment ringing-current voltage intelligent adjusting method of the embodiment of the present invention, for the multi-path voice of common number Equipment is illustrated, and the ringing-current voltage of multi-path voice equipment can be not only adjusted by intelligence, reduces equipment power dissipation, reduces equipment Hardware cost, and the scope of application is wider, and versatility is stronger.
Embodiment 3
The embodiment of the invention provides a kind of multi-path voice equipment ringing-current voltage intelligent adjusting methods, mainly for 64 tunnels Long line equipment, comprising the following steps:
B1, initialization voice service Codec Slic chip, and initialize global variable: count value RingPortCnt is 0, ringing-current voltage value RingAcVol is 0, the ringing-current voltage reference value RingAcVolLong of long line equipment is 96V, ringing-current voltage Step value RingAcVolStep is 5V;
B2, a polling cycle is waited, judges whether there is access and need newly-increased section of bell, if so, judgement needs newly-increased cut The number of bell access is n1, otherwise n1 >=1, and go to step B3 jumps directly to step B5;
B3, CPU issue cut a bell instruct to Codec Slic chip, Codec Slic chip controls need cut bell access into Row cuts bell operation;
B4, RingPortCnt subtract n1;
B5, judge whether there is access and need newly-increased ring, if so, judge the number for needing to increase ring access newly as n2, N2 >=1, and step B6 is gone to, otherwise turn to step B2;
B6, RingAcVol=RingAcVolLong;
B7, RingPortCnt add n2;
B8, the value for judging RingPortCnt go to step B9 if it is 49~64 tunnels, if it is 33~48 tunnels, Step B10 is gone to, if it is 17~32 tunnels, turns to step B11;If it is 1~16 tunnel, step B12 is turned to;
B9:RingAcVol=RingAcVol-3*RingAcVolStep goes to B12;
B10:RingAcVol=RingAcVol-2*RingAcVolStep goes to B12;
B11:RingAcVol=RingAcVol-RingAcVolStep goes to B12;
B12: by RingAcVol be handed down to Codec Slic chip, start ring, turn to step B2.
In the embodiment of the present invention, by taking the long line equipment on 64 tunnels as an example, in communication equipment standard, the friendship of a master telephone Flow impedance model is 1 6930 Ohmic resistances, 1 8uF capacitor of series connection, and AC impedance is about 7000 ohm.In the present embodiment, Exchange AC ringing voltage is crest voltage, is indicated with V, and exchange AC ringing voltage virtual value is indicated with Vrms, according to exchange AC vibration Bell voltage effective value and AC impedance calculate power consumption, obtain the multi-path voice equipment ringing-current voltage and adjust preceding and parameter adjusted Schematically as follows table 1.
1 multi-path voice equipment ringing-current voltage of table adjusts preceding and parameter list adjusted
As shown in table 1, while ring number is 1~16 tunnel, does not have difference before the adjustment of ringing-current voltage and after adjustment;It shakes simultaneously Bell number is 17~32 tunnels, than before adjusting low in energy consumption 10% after the adjustment of ringing-current voltage;Ring number is 33~48 tunnels, ringing-current simultaneously Than before adjusting low in energy consumption 20% after voltage adjustment;Ring number is 49~64 tunnels simultaneously, than function before adjusting after the adjustment of ringing-current voltage Consume low 29%.
Need to consider the limiting case of all numbers ring simultaneously when communication equipment quotient's conceptual design, after the adjustment of ringing-current voltage The ringing-current power consumption on 64 tunnels is 64 × 0.46904, and ringing-current voltage adjusts the ringing-current power consumption 64 × 0.65863 on preceding 64 tunnel, power consumption difference 64 × (0.65863-0.46904)=12.13W, it is seen then that it is lower to the critical power loss requirement of equipment after the adjustment of ringing-current voltage, it can To save the hardware cost of equipment.
Embodiment 4
The embodiment of the present invention is with the difference for implementing 1: the polling cycle is 10ms.The polling cycle of 10ms is set, The demand that can satisfy more common multi-path voice equipment, not only may be implemented the multiple adjusting to ringing-current voltage, but also will not be because of Polling cycle setting it is too long or it is too short cause ringing-current voltage adjust the frequency it is too low or excessively high, cause regulating effect bad.
Embodiment 5
The embodiment of the invention provides a kind of multi-path voice equipment ringing-current voltage intelligent regulating systems, including central processing unit CPU and voice service Codec Slic chip.
The CPU is used for type and total number according to multi-path voice equipment, by the corresponding ringing-current electricity of all access voices Pressure is classified, and the corresponding ringing-current electricity of multi-path voice equipment all access voices in the different total number of different type is obtained Pressure, and obtain needing simultaneously according to the type of the multi-path voice equipment and total number and the number of needs ring simultaneously, correspondence The corresponding ringing-current voltage of all accesses of ring, by the corresponding ringing-current voltage of access in need while ring be handed down to it is described Voice service Codec Slic chip.
The Codec Slic chip is used for electric according to the corresponding ringing-current of institute's access in need while ring received The corresponding access of voltage-controlled system starts ring.
Multi-path voice equipment ringing-current voltage intelligent regulating system in the embodiment of the present invention, to multi-path voice equipment in difference The corresponding ringing-current voltage of all access voices carries out classification setting in the case of the different total number of type, and according to current multi-path voice It is corresponding to find the corresponding all accesses for needing ring simultaneously for device type and total number and the number for needing ring simultaneously Ringing-current voltage, to have the function that intelligence adjusts multi-path voice equipment ringing-current voltage, and in the prior art, different multichannel languages In different total number, ringing-current voltage is all the same compares for sound equipment, the confession after the adjustment of ringing-current voltage, to power module Electric energy force request reduces, and can reduce equipment power dissipation, reduce the hardware cost of equipment.
Embodiment 6
The embodiment of the present invention is with the difference for implementing 5: the CPU is specifically included:
Setup module is used to preset the ringing-current voltage reference value and ringing-current voltage step size of different phonetic device type Value;
Categorization module is used for total number according to multi-path voice equipment, by the corresponding ringing-current voltage of different access voices It is divided into several gears;
Processing module is used for according to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage step size Value obtains the corresponding ringing-current voltage of all access voices under different stalls.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of multi-path voice equipment ringing-current voltage intelligent adjusting method, which is characterized in that comprising steps of
According to the type of multi-path voice equipment and total number, the corresponding ringing-current voltage of all access voices is classified, is obtained The corresponding ringing-current voltage of multi-path voice equipment all access voices in the different total number of different type;
It is corresponding to obtain needing together according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously The corresponding ringing-current voltage of all accesses of Shi Zhenling;
By the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic chip, it is described Codec the corresponding access of Slic chip controls start ring.
2. multi-path voice equipment ringing-current voltage intelligent adjusting method as described in claim 1, which is characterized in that the basis is more The corresponding ringing-current voltage of all access voices is classified, obtains multi-path voice and set by the type of road speech ciphering equipment and total number For the specific steps of the corresponding ringing-current voltage of access voices all in the different total numbers of different type are as follows:
The ringing-current voltage reference value and ringing-current voltage step values of default different phonetic device type;
It is several gears, then root by the corresponding ringing-current voltage division of different access voices according to total number of multi-path voice equipment According to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage step values, all accesses under different stalls are obtained The corresponding ringing-current voltage of voice.
3. multi-path voice equipment ringing-current voltage intelligent adjusting method as claimed in claim 2, which is characterized in that according to current more The type of road speech ciphering equipment and total number and the number for needing ring simultaneously, it is corresponding to obtain needing all logical of ring simultaneously The specific steps of the corresponding ringing-current voltage in road are as follows:
According to the type and total number of current multi-path voice equipment, all accesses under current multi-path voice equipment different stalls are found The corresponding ringing-current voltage of voice finds corresponding gear further according to the number for needing ring simultaneously, obtains needing ring simultaneously The corresponding ringing-current voltage of all accesses.
4. multi-path voice equipment ringing-current voltage intelligent adjusting method as claimed in claim 2, which is characterized in that the basis is more The corresponding ringing-current voltage division of different access voices is several gears by total number of road speech ciphering equipment method particularly includes:
If total number of multi-path voice equipment is N, gear number M, as N≤32, M=2;As N=48, M=3;Work as N=64 When, M=4.
5. multi-path voice equipment ringing-current voltage intelligent adjusting method as claimed in claim 2, which is characterized in that the basis is more The corresponding ringing-current voltage reference value of road speech ciphering equipment type and ringing-current voltage step values obtain all access voices under different stalls Corresponding ringing-current voltage method particularly includes:
The corresponding ringing-current voltage of all gears is at arithmetic progression, wherein the first term of the arithmetic progression is multi-path voice equipment class The corresponding ringing-current voltage reference value of type, the tolerance of arithmetic progression are the ringing-current voltage step values, and the ringing-current voltage step size Value is negative.
6. multi-path voice equipment ringing-current voltage intelligent adjusting method as claimed in claim 2, it is characterised in that: all gears pair The maximum value for the number answered and the difference of minimum value are equal.
7. multi-path voice equipment ringing-current voltage intelligent adjusting method as described in claim 1, which is characterized in that obtaining multichannel After the corresponding ringing-current voltage of speech ciphering equipment all access voices in the different total number of different type, multi-path voice equipment The specific steps of ringing-current voltage intelligent adjusting method are as follows:
Acquisition multi-path voice equipment needs for the first time while the number of ring;
A polling cycle is waited, multi-path voice equipment is obtained and needs the newly-increased access number for cutting bell and need newly-increased ring Access number, and increase newly as needed and cut the access number of bell and the access number of newly-increased ring is needed to obtain the multichannel language Sound equipment is needing while the number of ring after a polling cycle;
It is corresponding to obtain needing together according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously The corresponding ringing-current voltage of all accesses of Shi Zhenling;
By the corresponding ringing-current voltage of access in need while ring be handed down to voice service Codec Slic chip, it is described The corresponding access of Codec Slic chip controls starts ring, completes a multi-path voice equipment ringing-current voltage and intelligently adjusts;
Next polling cycle is waited, multi-path voice equipment is obtained and is being needed after next polling cycle while the road of ring Number, the Codec the corresponding access of Slic chip controls start ring, complete multi-path voice equipment ringing-current voltage intelligence next time It is adjustable.
8. multi-path voice equipment ringing-current voltage intelligent adjusting method as claimed in claim 7, which is characterized in that by primary After polling cycle, the number=need for the first time simultaneously the number of ring+for needing ring simultaneously needs to increase newly the number-of ring Need the newly-increased number for cutting bell.
9. a kind of multi-path voice equipment ringing-current voltage intelligent regulating system, it is characterised in that: including central processor CPU and voice Business Codec Slic chip;
The CPU is used for according to the type and total number of multi-path voice equipment, by the corresponding ringing-current voltage of all access voices into Row classification obtains the corresponding ringing-current voltage of multi-path voice equipment all access voices in the different total number of different type, And it obtains needing simultaneously according to the type of current multi-path voice equipment and total number and the number of needs ring simultaneously, correspondence The corresponding ringing-current voltage of all accesses of ring, by the corresponding ringing-current voltage of access in need while ring be handed down to it is described Voice service Codec Slic chip;
The Codec Slic chip be used for according to receive the corresponding ringing-current voltage control of access in need while ring It makes corresponding access and starts ring.
10. multi-path voice equipment ringing-current voltage intelligent regulating system as claimed in claim 9, which is characterized in that the CPU packet It includes:
Setup module is used to preset the ringing-current voltage reference value and ringing-current voltage step values of different phonetic device type;
Categorization module is used for total number according to multi-path voice equipment, by the corresponding ringing-current voltage division of different access voices For several gears;
Processing module is used for according to the corresponding ringing-current voltage reference value of multi-path voice device type and ringing-current voltage step values, Obtain the corresponding ringing-current voltage of all access voices under different stalls.
CN201910009453.3A 2019-01-04 2019-01-04 Intelligent ringing voltage adjusting method and system for multi-channel voice equipment Active CN109525742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910009453.3A CN109525742B (en) 2019-01-04 2019-01-04 Intelligent ringing voltage adjusting method and system for multi-channel voice equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910009453.3A CN109525742B (en) 2019-01-04 2019-01-04 Intelligent ringing voltage adjusting method and system for multi-channel voice equipment

Publications (2)

Publication Number Publication Date
CN109525742A true CN109525742A (en) 2019-03-26
CN109525742B CN109525742B (en) 2020-12-08

Family

ID=65798121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910009453.3A Active CN109525742B (en) 2019-01-04 2019-01-04 Intelligent ringing voltage adjusting method and system for multi-channel voice equipment

Country Status (1)

Country Link
CN (1) CN109525742B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5001748A (en) * 1989-08-21 1991-03-19 Siemens Transmission Systems, Inc. Ringing signal generator
CN1582564A (en) * 2001-08-17 2005-02-16 印芬龙科技股份有限公司 Telephone system with adjustable ringer voltage
CN1630327A (en) * 2003-12-19 2005-06-22 上海贝尔阿尔卡特股份有限公司 A circuit for reducing ring current source power consumption
US7010120B2 (en) * 2002-08-30 2006-03-07 Infineon Technologies Ag Method for adjusting a ringing signal current in a subscriber line and circuit arrangement
CN101166164A (en) * 2006-10-18 2008-04-23 鸿富锦精密工业(深圳)有限公司 Network device and its load allocation method
CN101582958A (en) * 2008-05-12 2009-11-18 上海贝尔阿尔卡特股份有限公司 Method and device for ring-current power management in communication equipment
CN101753747A (en) * 2008-12-12 2010-06-23 李晓一 Telephone system with controllable ringing voltage
JP2011041272A (en) * 2009-08-07 2011-02-24 Zarlink Semiconductor (Us) Inc Method and apparatus for controlling ringing voltage
CN105071394A (en) * 2015-08-19 2015-11-18 国家电网公司 Intelligent voltage regulation system and method of power distribution transformer based on response to demand
CN105207466A (en) * 2014-06-12 2015-12-30 联咏科技股份有限公司 Voltage generation circuit and pre-driving signal generation module
EP3143758B1 (en) * 2014-05-16 2018-09-26 Microsemi Corporation Apparatus and method for detection of off-hook phone in reverse power feeding architecture

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5001748A (en) * 1989-08-21 1991-03-19 Siemens Transmission Systems, Inc. Ringing signal generator
CN1582564A (en) * 2001-08-17 2005-02-16 印芬龙科技股份有限公司 Telephone system with adjustable ringer voltage
US7010120B2 (en) * 2002-08-30 2006-03-07 Infineon Technologies Ag Method for adjusting a ringing signal current in a subscriber line and circuit arrangement
CN1630327A (en) * 2003-12-19 2005-06-22 上海贝尔阿尔卡特股份有限公司 A circuit for reducing ring current source power consumption
CN101166164A (en) * 2006-10-18 2008-04-23 鸿富锦精密工业(深圳)有限公司 Network device and its load allocation method
CN101582958A (en) * 2008-05-12 2009-11-18 上海贝尔阿尔卡特股份有限公司 Method and device for ring-current power management in communication equipment
CN101753747A (en) * 2008-12-12 2010-06-23 李晓一 Telephone system with controllable ringing voltage
JP2011041272A (en) * 2009-08-07 2011-02-24 Zarlink Semiconductor (Us) Inc Method and apparatus for controlling ringing voltage
EP3143758B1 (en) * 2014-05-16 2018-09-26 Microsemi Corporation Apparatus and method for detection of off-hook phone in reverse power feeding architecture
CN105207466A (en) * 2014-06-12 2015-12-30 联咏科技股份有限公司 Voltage generation circuit and pre-driving signal generation module
CN105071394A (en) * 2015-08-19 2015-11-18 国家电网公司 Intelligent voltage regulation system and method of power distribution transformer based on response to demand

Also Published As

Publication number Publication date
CN109525742B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US9942851B2 (en) Dynamic power management in a wireless device
CN104951273B (en) A kind of information processing method, electronic equipment and system
EP3739798A1 (en) Resource monitoring method, terminal, and base station
CN108881012A (en) link aggregation method and related product
CN107302528A (en) A kind of transmission method of multi-protocol data and a kind of gateway apparatus
CN106155640A (en) A kind of volume display methods and device
WO2020238584A1 (en) Charging method and apparatus, terminal device, and computer readable storage medium
CN109379773A (en) A kind of switching method, the first output equipment and the second output equipment
CN110505547A (en) A kind of earphone wearing state detection method and earphone
JP2022549899A (en) Resource allocation method, device, equipment and storage medium
CN109525742A (en) A kind of multi-path voice equipment ringing-current voltage intelligent adjusting method and system
CN104243089A (en) System and method for dynamically adjusting data transmission rate
US11190556B2 (en) Systems and methods for data management
WO2023202121A1 (en) Radio frequency circuit and electronic device
CN111586514A (en) TWS earphone control method, TWS earphone and related equipment
CN204482024U (en) A kind of head circuit
CN204993813U (en) Microphone ON -OFF control circuit
CN105763336B (en) The multiple network protocol switching method and switching device of single network interface card
CN207200325U (en) A kind of battery intelligent control device
CN106792466A (en) A kind of equipment end and host side communication means
CN107342873A (en) A kind of power consumption control method and device
CN106208725A (en) A kind of current transformer current equalizing method and device
CN106161779A (en) Phone automatic answering method and system
CN216649966U (en) Earphone circuit and earphone
CN103024127B (en) Volume adjustment device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant