Summary of the invention
The technical problem to be solved in the present invention is to overcome the deficiency that above-mentioned prior art exists, a kind of method and circuit thereof of realizing the preceding line signalling of telephone switch incoming call off-hook is provided, by increasing telephone subscribers feeder line signalling, can realize when incoming call, on telephone set, press certain button incoming call carried out different processing, for example refusing incoming call, come electrotransfer, voice suggestion etc.
The invention provides a kind of method that realizes the preceding line signalling of telephone switch incoming call off-hook, may further comprise the steps:
(1) calling enters, and during called subscriber's ringing telephone stations, telephone set produces at least one conducting pulse of scheduled duration between A, B line;
(2) open circuit, the conducting state between telephone exchange user circuit board cycle detection telephone wire A, the B line;
(3) if A, the conducting of B line then pick up counting and continue cycle detection A, B line status;
(4) if A, B line open circuit, whether the time of judging A, the conducting of B line in this predetermined duration scope, if then report rejection message to switch switched connection control section, if not then not reporting any message; If A, B line are not open-circuit conditions, whether the time of then calculating A, the conducting of B line surpasses the upper limit of this scheduled duration, if then report offhook message, and line signalling detects before finishing this off-hook, if not then getting back to step (2);
(5) the switched connection control section of telephone exchange judges whether subsets are in ringing condition, if whether then further detection has the rejection information reporting; And
(6) if receive rejection message, then switch judges that this calling is Home Exchange Call or goes into junction call, carries out corresponding operating according to the data setting again.
The present invention also provides a kind of circuit of realizing the preceding line signalling of telephone switch incoming call off-hook, comprise the telephone set network that is connected on subscriber's telephone line A, the B line, also comprise conducting pulse-generating circuit that is connected on described A, the B line and the rejection trigger button that links to each other with described conducting pulse-generating circuit.
Described conducting pulse-generating circuit further comprises power-supply circuit, the circuit and the monostable trigger of loop is provided.
Described power-supply circuit and provide the circuit of loop all to be connected on telephone wire A, the B line; Power-supply circuit links to each other with the circuit that loop is provided, monostable trigger respectively; Monostable trigger links to each other with the circuit that loop is provided; The rejection trigger button links to each other with monostable trigger.
The present invention has following useful effect: the present invention has expanded the basic functions of telephone exchange, make the called subscriber before off-hook is connected phone, possess control ability, can effectively eliminate function such as make nuisance calls, realize that courteous refusing incoming call, the controlled switching of incoming call, incoming call voice generations is answered.And for realizing that other new business have kept interface in the future.The subscriber exchange that telecommunications, Netcom's telephone exchange and constituent parts use that can be used for upgrading is used for producing the telephone set that brings electric receiving rejection function simultaneously.Make landline telephone unit of operation possess realization and open professional abilities such as incoming call blocking to the user.
Embodiment
The present invention's line signalling before the off-hook of realizing sending a telegram here, be by: increase a button in telephone set one side, when pressing this button, telephone set will produce one or more conducting pulses (for example conducting pulse of 30ms-200ms) on the A of subscribers feeder, B line.In telephone exchange one side, when being in hook state, report a new information that increases to higher level's software when detecting the conducting pulse, the signaling (being named as Reject Message) before the expression user off-hook.Just think off-hook during greater than a certain duration (for example greater than 200ms) when detecting the off-hook time.When the switched connection control section software of telephone exchange receives Reject Message message according to set realizing refusing incoming call, coming function before the off-hooks such as electrotransfer, tone information.
Please refer to shown in Fig. 1-2, the present invention realizes that the circuit of the preceding line signalling of wire telephone incoming call off-hook comprises the existing telephone set network 1 that is connected on telephone wire A, the B line, with newly-increased, be connected conducting pulse-generating circuit 2 on A, the B line and the rejection trigger button that links to each other with conducting pulse-generating circuit 2 (abbreviation RJ button) 3 equally.Rejection trigger button 3 system is usually set up on telephone set, also can use with the Flash bonding of existing telephone machine.
Please refer to shown in Figure 3ly again, conducting pulse-generating circuit 2 further comprises power-supply circuit 21, the circuit 22 and the monostable trigger 23 of loop is provided.Power-supply circuit 21 and provide the circuit 22 of loop all to be connected on telephone wire A, the B line; Power-supply circuit 21 links to each other with the circuit 22 that loop is provided, monostable trigger 23 respectively, is used for to its power supply; Monostable trigger 23 links to each other with the circuit 22 that loop is provided; The rejection trigger button links to each other with monostable trigger 23.
Please be simultaneously with reference to shown in Figure 4, button S1 is a rejection trigger button 3; Monostable trigger 23 comprises chip U1 (74121); Power-supply circuit 21 comprises resistance R 1, R2, R3, capacitor C 1, C2, C3, and rectification circuit DB1 and diode Z1 produce VCC voltage by the tinkle of bells electric current; Provide the circuit 22 of loop to comprise triode Q1, Q2 and resistance R 5; Org telphone partly is existing telephone set network part.
In above-mentioned circuit, press button S1, at rising edge of 5 pin generation of U1 (74121), 6 pin of U1 (74121) will produce a high potential pulse
Pulse width range is that 30ns is to 28s, by R10 and the decision of C6 value.The high potential that 6 pin of U1 (74121) produce makes the Q2 conducting, and the Q2 conducting makes the Q1 conducting, and the Q2 conducting makes the A line of telephone wire and B line pass through
resistance R 5 conductings, realizes the generation of conducting pulse.This pulse duration can be made an appointment at telephone set and inter-exchange, is generally 30ms-200ms.Determine it is user's rejection when simultaneously, also reducible settled switch detects conducting pulse in several 30ms-200ms.Be understandable that circuit shown in Figure 4 only is a kind of concrete execution mode of Fig. 3,
The present invention realizes that the principle of the method for the preceding line signalling of telephone switch incoming call off-hook is: the telephone set hook state triggers by the rejection button down, (or a plurality of) conducting pulse that produces certain time length (for example 30ms-200ms) on the A of the pair of telephone lines of its connection, B line, telephone exchange passes through to detect this conducting pulse, and whether takes a decision as to whether the rejection signal according to the conducting duration of conducting pulse in preset range.
Please refer to shown in Figure 5ly, a kind of method that realizes line signalling before the telephone switch incoming call off-hook provided by the invention may further comprise the steps:
(1) calling enters, during called subscriber's ringing telephone stations, press the rejection trigger button on the telephone set, telephone set produces the conducting pulse of at least one scheduled duration (for example 30ms-200ms) between A, B line, the A line of the subscribers feeder that connects with telephone set and B line are disconnected after the conducting scheduled duration at once.
(2) open circuit, the conducting state between telephone exchange user circuit board cycle detection telephone wire A, the B line.
(3) if A, the conducting of B line then pick up counting and continue cycle detection A, B line status.
(4) if A, B line open circuit, whether the time of judging A, the conducting of B line in this predetermined duration scope, if then report rejection message (Reject Message) to switch switched connection control section, if not then not reporting any message; If A, B line are not open-circuit conditions, whether the time of then calculating A, the conducting of B line surpasses the upper limit (for example greater than 200ms) of this scheduled duration, if then report offhook message, and line signalling detects before finishing this off-hook, if not then getting back to step (2).
(5) the switched connection control section of telephone exchange judges whether subsets are in ringing condition, if whether then further detection has the rejection information reporting; And
(6) if receive rejection message, then switch judges that this calling is Home Exchange Call or goes into junction call, operations such as again according to the data setting, execution is taken out stitches, calling transfer, sending voice prompting.And memory number of incoming call this time, be arranged on same incoming call according to data and do operations such as automatic rejection once more during incoming call.
The present invention can realize pressing the rejection trigger button on telephone set incoming call being carried out different processing when sending a telegram here by increasing telephone subscribers feeder line signalling, for example refusing incoming call, come electrotransfer, voice suggestion etc.
The present invention by the incoming call off-hook before line signalling realize landline telephone refusing incoming call, come before the off-hooks such as electrotransfer, voice suggestion after the function, fixed-line telecom carrier's telecommunications, company of Netcom can provide this business to the user, collect certain expense in every month.Several hundred million of China existing landline telephone installation users, the benefit of generation is with considerable.