CN2134758Y - Stripe code telephone controller - Google Patents

Stripe code telephone controller Download PDF

Info

Publication number
CN2134758Y
CN2134758Y CN 92239283 CN92239283U CN2134758Y CN 2134758 Y CN2134758 Y CN 2134758Y CN 92239283 CN92239283 CN 92239283 CN 92239283 U CN92239283 U CN 92239283U CN 2134758 Y CN2134758 Y CN 2134758Y
Authority
CN
China
Prior art keywords
links
output
input
interface
line
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.)
Expired - Fee Related
Application number
CN 92239283
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 92239283 priority Critical patent/CN2134758Y/en
Application granted granted Critical
Publication of CN2134758Y publication Critical patent/CN2134758Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The utility model relates to a stripe code telephone controller which can monitor the use state of telephones, which is composed of a single-chip computer system, an output device, a computer expansion input interface, a computer expansion output interface, a timer interface, a level detection interface for telephone lines, a stripe code reader interface and a stripe code reader. The stripe code telephone controller can be directly hung on the telephone lines and automatically complete the right identification of a calling user, namely, the user whether can give a national or international long-distance call, can record the name of the calling user, the number and calling time of the called user. The stripe code telephone controller can automatically cut off the telephone circuit if the calling user is unauthorized.

Description

Stripe code telephone controller
The utility model is a kind of instrument that the behaviour in service of telephone set is monitored, and can write down calling subscriber's name, called number and air time; If judge that the calling subscriber is illegal person, then this instrument can cut off telephone line automatically.
The toll telephone management of telephone set is the problem that each enterprises and institutions' an urgent demand solves always, takes the special messenger to guard in the past and fills in ticket, and the manual record air time, efficient is low, makes troubles for the people that makes a phone call; Adopt magnetic card type, coin-box telephone set investment greatly, the cost height, uneconomical.Existing calculagraph on the market can't write down that who make a call, and or timing uncertainty true, or needing to provide a special sign signal by telecommunication bureau's switch carries out timing, limitation is also arranged.
The purpose of this utility model provides a kind of new equipment that addresses the above problem.The people (calling subscriber) that makes a phone call holds bar code card.When making a phone call, bar-code reader reads in calling subscriber's bar code number in this instrument, and through predicating validated user, the calling subscriber can begin dialing, otherwise line disconnection.Called subscriber's off-hook, this instrument picks up counting, and calling subscriber's on-hook is considered as talk-through, and this instrument timing finishes.Automatically print (real time print or timed print) then, air time, calling subscriber's bar code number, called subscriber's telephone number.
The utility model by microcontroller system, output equipment, computer expansion input/output interface, timer interface, telephone wire level detection interface, bar code reads in the device interface and bar-code reader is formed.
Microcontroller system is to be made of one chip microcomputer and extender memory and data memory, latch, decoder.The data wire of the central processing unit of one chip microcomputer chip links to each other with the latch input, and 8 outputs of latch are formed 16 bit address lines with the output P2 of one chip microcomputer and linked to each other with the address wire of memory under program and data memory.The data wire of central processing unit links to each other with the data wire of program storage and data memory, the high address A15 of the input of decoder and single-chip microcomputer, A14, A13, A12, A11 links to each other, and the address strobe line of output and required extender memory and data memory, latch is connected to form computer system.The input port of printer interface links to each other with the data wire of computer system; Output links to each other with the input of printer.The input port of timer interface links to each other with the data wire of computer system; The input of computer expansion input/output interface is divided into two ports, and a port links to each other with the data wire of computer system, and another input port links to each other with the parallel output terminal of wand interface; Its output links to each other with the data input pin of LCD interface; The serial output line of wand interface links to each other with the serial ports receiving terminal of computer system, and its input links to each other with the bar code reader output.Words line level detection interface input answer the call line a, b; Line of output connects the middle fracture of computer system, and another line connects an input-output line of computer system.
This instrument advantage has provided a self-contained unit (dual-tone multifrequency, pulse phone all are suitable for), directly hangs on the telephone wire, do not influence the every index of telephone set, not needing to finish power identification automatically under any artificial condition participation, promptly whether can hang domestic or international long-distance to the calling subscriber.Automatically record called subscriber's telephone number and air time, and show or print.
Specify the utility model with embodiment in conjunction with diagram below:
Fig. 1 is the electrical principle block diagram of the utility model instrument
Fig. 2 is the microcontroller system schematic diagram
Fig. 3 is words line level detection interface circuit schematic diagram
Fig. 4 is a computer input and output expansion interface circuit schematic diagram
Fig. 5 is an OCR wand interface circuit schematic diagram
Fig. 6 is the printer interface circuit schematic diagram
Fig. 7 is a timer interface circuit schematic diagram
Fig. 8 is a LCD interface circuit schematic diagram
1. being microcontroller system among Fig. 1, for words line level detection interface, 3. is the timer interface 2., for computer expansion input, output interface, 5. is the bar code reader interface 4., 6. is the output equipment interface.
Microcontroller system 1. by MCS-51 series one chip microcomputer chip 8031 with Add-In memory 2764, data memory 2817 constitutes, and microcontroller system data/address bus DB 1. links to each other with printer interface data-in port 7. and also links to each other with timer interface data-in port 3..Computer input and output expansion interface display data output port PA 4. links to each other with the LCD data receiver, and computer input and output expansion interface bar code parallel data receiving port PB, PC 4. links to each other with bar-code reader interface parallel output line 5.; Bar-code reader interface serial output line 5. links to each other with microcontroller system serial interface receiving end RXT 1..Words line level detection interface receiving terminal 2. links to each other with phone a, b line, fracture INTO in a line order of output sheet computer system O 1. number, and another line links to each other with microcontroller system input/output terminal P17 1..OCR wand adopts the light pen reader, and printer is mini-printer μ P-40.
Fig. 2 is U in the microcontroller system schematic diagram 1Be single-chip microcomputer 8031, U 2Be address latch 74ls373, U 3Be Add-In memory 2764, U 4Be external data memory 2817, U 5Be decoder 74LS139, U 6Be inverter 74LS04.U 1Data wire link to each other U with the input of U2 1The 30th pin (ALE) produce address latch signal, U 28 output lines and U 18 bit address line P20~P27 form 16 bit address lines, the same U of this address wire 3, U 4Address wire link to each other U 1The also same U of data wire 3, U 4Data wire link to each other U 5: the input of A and U 1P25~P26 link to each other U 1P27 through inverter U 6Link to each other with the pin one of U5.U 5: the input of B and U 1P23, P24 link to each other, the decoding back produces control signal.U 1Read-write line 17(RD), 16(WR) link to each other with the read-write line of each chip in the microcontroller system.The function of microcontroller system is that the utility model is monitored, and finishes software flow to control and initialization.
Fig. 3 talks about in the line level detection interface circuit schematic diagram, photoelectrical coupler IC 1With photoelectrical coupler IC 2Output be connected into or the door relation, a line of resistance R T1 one end and telephone wire centering joins, the input of the other end and photoelectrical coupler links to each other; Another line of telephone wire centering and another input of photoelectrical coupler link to each other photoelectrical coupler IC 1And IC 2Output cross-over connection resistance R T2 link to each other with ground, constitute the dial impulse testing circuit like this.Its output is through inverter U 6: D, U6:E, U 6: be connected to U after the F shaping 1Interrupt line on, single-chip microcomputer is dialled the number thereby note caller by interruption times.Line a of capacitor C T2 and telephone wire centering links to each other, touch-tone signal on the words line is received the double-tone multi-frequency decoder circuit that resistance R T7, resistance R T8, resistance R T10, capacitor C T3, crystal oscillator X1 and dual-tone multifrequency coding chip IC4 form, output D01~D04 and the U of double-tone multi-frequency decoder IC4 1Input P10-P13 link to each other, caller dial the number is noted by single-chip microcomputer.Resistance R T4, resistance R T11, resistance R T3 and comparator IC2 constitute zero-crossing comparator, its input links to each other through line a of capacitor C T1 and telephone wire centering, output forms the input that the square wave identical with 450 hertz frequencies received the shift register of double D trigger IC5, IC6 composition, its output and U 1P17 link to each other, by single-chip microcomputer recording impulse number, be used to judge that ring-back tone or busy tone have or not, and then when decision starts timing circuit.
The base stage of triode Q1 and U among Fig. 3 5 Pin 12 link to each other; Collector electrode links to each other with relay R AY, and a line of telephone wire centering is connected by RAY and switch, when single-chip microcomputer concludes that the user is the disabled user, and U then 5 Pin 12 provides signal, and the control relay break-make is used to cut off talk line.
U in Fig. 4 computer expansion input/output interface circuit schematic diagram 7Be EingangsAusgangsSchnittstelle 8155.The PA mouth is the way of output, and PB, PC mouth are input mode, and PB mouth and PC mouth are the interfaces that reads in of bar-code reader, U 7Pin 12~19 and U 1Data port D0-D7 link to each other.
Fig. 5-1, Fig. 5-2 reads in the interface circuit schematic diagram for bar code, and K2, K1 are socket, and R6, R7 are resistance, pin 9-16 and the U of K2 7The PC mouth connect, the PB mouth of the pin of K1 and U7 connects, K2 also joins with bar code decoder data output end, Fig. 5-1, Fig. 5-2 combine and finish the parallel input of barcode data; Barcode data serial input is direct and U with bar code decoder output line 1Serial ports receiving terminal RXT link to each other, finish barcode data serial input.
PRN is for making μ P40 printer interface, U in Fig. 6 printer interface circuit schematic diagram 9Be OR circuit, U 10For with tri-state gate circuit, use Sheng Teluonike (Centronic) the 8 parallel-by-bit interfaces of a standard.
U in Fig. 7 timer interface circuit schematic diagram 11Be programmable interval timer 8253, U 11Data port and U 1Data port link to each other U 5Pin 6 and U 11 Pin 21 link to each other.Be that 8253 inside have 16 2 system counters of three paths of independent, produce ' pulse bit scan cycle ' and ' scan period in pulse spacing ' with these counters.
U in Fig. 8 display interface device circuit theory diagrams 7The PA mouth link to each other with the Data Receiving mouth D0-D7 of LCD chip LCD, finish numeral and show and to cut energy.
This machine operation principle is such, and after the energized, microcomputer resets according to hardware requirement, enters the off-hook scanning imaging system then.In this program, microcomputer constantly detects the phone state, once enter off hook state, opens up new working cell for this conversation immediately, and enters the dial impulse recognizer, will finish following some work in this journey is filled.
1. pulse telephone number receiving is in the scan period, according to the state on the words line, and pulse each, the dialing counter adds 1, starts 128 milliseconds then, sweep time in pulse spacing, enters next pulse detection.
2. if two pulse spacings were to produce with once dialling less than 128 milliseconds with looking altogether, the umber of pulse that one-stage dialing produces is that institute dials the number.
3. if in 128 milliseconds, the words line states did not change after a pulse scanning was finished, then be that a dialing finishes, when surveying again, press one-stage dialing and calculate.
4. after stopping dialing, at first judged whether ring-back tone,, repeated above-mentioned 1.2.3. if promptly do not put through.Judge again whether ring-back tone finishes if having,, judge whether to be busy tone again,, enter the telephoometry program if not then being considered as conversation if finish.
In timing program, program constantly detects whether on-hook, simultaneously with the time with the time: divide: second form on liquid crystal, show, once on-hook stops timing, simultaneously the data in the working cell are printed and store.
Printing is divided into two kinds, selects with dialling wiretap:
I. real time print.Every conversation is once printed called-number, called person code, air time.
II. after the several times, the result is printed together.

Claims (7)

1, a kind of bar code telephone controller is characterized in that: by microcontroller system, output equipment, computer expansion input/output interface, timer interface, telephone wire level detection interface, bar code reads in the device interface and bar-code reader is formed; Microcontroller system is by one chip microcomputer and extender memory and data memory, latch, decoder constitutes, the data wire of the central processing unit of one chip microcomputer chip links to each other with the latch input, 8 outputs of latch are formed 16 bit address lines with the output P2 of one chip microcomputer and are linked to each other with the address wire of memory under program and data memory, the data wire of central processing unit links to each other with the data wire of program storage and data memory, the high address A15 of the input of decoder and single-chip microcomputer, A14, A13, A12, A11 links to each other, output and required extender memory and data memory, the address strobe line of latch is connected to form computer system, and the input port of printer interface links to each other with the data wire of computer system; Output links to each other with the input of printer, and the input port of timer interface links to each other with the data wire of computer system; The input of computer expansion input/output interface is divided into two ports, and a port links to each other with the data wire of computer system, and another input port links to each other with the parallel output terminal of wand interface; Its output links to each other with the data input pin of LCD interface; The serial output line of wand interface links to each other with the serial ports receiving terminal of computer system, and its input links to each other with the bar code reader output, words line level detection interface input answer the call line a, b; Line of output connects the middle fracture of computer system, and another line connects an input-output line of computer system.
2, according to the described device of claim 1, it is characterized in that: output equipment is by the LCD interface, and LCD is formed, or by printer interface, printer is formed, or by the charactron display interface device, the charactron display is formed, or by display interface device, display is formed.
3, according to claim 1 and 2 described devices, it is characterized in that: microcontroller system by MCS-51 series one chip microcomputer chip 8031 with Add-In memory 2764, data memory 2817 constitutes, the data/address bus DB of microcontroller system links to each other with the data-in port of printer interface, link to each other with the data-in port of timer interface, also the data input pin with computer expansion input/output interface links to each other, the display data output port PA of computer expansion input/output interface links to each other with the LCD data receiver, the bar code parallel data receiving port PB of computer expansion input/output interface, PC links to each other with the parallel output line of OCR wand interface; The serial output line of OCR wand interface links to each other with the serial interface receiving end RXT of microcontroller system, the receiving terminal of words line level detection interface links to each other with phone a, b line, fracture INTO in O number of a line order of output sheet computer system, another line links to each other with the input/output terminal P17 of microcontroller system, OCR wand adopts the light pen reader, and printer is mini-printer μ P-40.
4, according to claim 1 and 3 described devices, it is characterized in that: single-chip microcomputer is 8031 in the microcontroller system, address latch is 74LS373, for the Add-In memory is 2764, the external data memory is 2817, decoder is 74LS139, inverter is 74LS04,8031 data wire links to each other with the input of 74LS373,8031 the 30th pin (ALE) produces address latch signal, 8 output lines of 74LS373 and 8 bit address line P20~P27 of 8031 form 16 bit address lines, this address wire is with 2764,2817 address wire links to each other, 8031 data wire is also with 2764,2817 data wire links to each other, the input of 74LS139:A links to each other with P25~P26 of 8031, and 8031 P27 links to each other with the pin one of 74LS139 through inverter 74LS04, the input of 74LS139:B and 8031 P23, P24 links to each other, the decoding back produces control signal, 8031 read-write line 17(RD), 16(WR) link to each other with the read-write line of each chip in the microcontroller system.
5, according to claim 1 and 3 described devices, it is characterized in that: in the words line level detection interface circuit, the output of photoelectrical coupler PC733 and another photoelectrical coupler PC733 is connected into or the relation of door, a line of the end of resistance R T1 and telephone wire centering joins, and the input of another line and photoelectrical coupler links to each other; Another input of the other end of telephone wire centering and photoelectrical coupler links to each other, the output cross-over connection resistance R T2 of photoelectrical coupler PC733 and another PC733 links to each other with ground, constitute the dial impulse testing circuit like this, its output is through inverter 74LS04:D, 74LS04:E, be connected to after the 74LS04:F shaping on 8031 the interrupt line, single-chip microcomputer passes through interruption times, thereby noting caller dials the number, line a of electric capacity and telephone wire centering links to each other, touch-tone signal on the words line is received resistance R T7, resistance R T8, resistance R T10, capacitor C T3, the double-tone multi-frequency decoder circuit that crystal oscillator and dual-tone multifrequency coding chip 8870 are formed, output D01~D04 of double-tone multi-frequency decoder IC4 links to each other with 8031 input P10-P13, caller dial the number is noted by single-chip microcomputer, resistance R T4, resistance R T11, resistance R T3 and comparator LM311 constitute zero-crossing comparator, its input links to each other through line a of capacitor C T1 and telephone wire centering, output forms the input that the square wave identical with 450 hertz frequencies received the shift register of two double D trigger 74LS74 one-tenth, and its output links to each other with 8031 P17; The base stage of triode Q1 links to each other with the pin of 7,4LS,139 12; Collector electrode links to each other with relay, and a line of telephone wire centering is connected by relay and switch.
6, according to claim 1 and 3 described devices, it is characterized in that: computer input and output expansion interface circuit EingangsAusgangsSchnittstelle is 8155, the PA mouth is the way of output, PB, the PC mouth is an input mode, and the PA mouth links to each other with the Data Receiving mouth D0-D7 of LCD chip, finishes the numeral demonstration and cuts energy, PB mouth and PC mouth are the interfaces that reads in of bar code decoder, and 8155 pin 12~19 links to each other with 8031 data port D0-D7.
7, according to claim 1 and 3 described devices, it is characterized in that: it is socket that bar code is read in interface circuit K2, K1, R6, R7 are resistance, the pin 9-16 of K2 and 8155 PC mouth connect, the PB mouth of the pin of K1 and U7 connects, K2 also joins with bar code decoder data output end, finishes the parallel input of barcode data; Barcode data serial input is that bar code decoder output line is directly linked to each other with 8031 serial ports receiving terminal RXT.
CN 92239283 1992-11-06 1992-11-06 Stripe code telephone controller Expired - Fee Related CN2134758Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 92239283 CN2134758Y (en) 1992-11-06 1992-11-06 Stripe code telephone controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 92239283 CN2134758Y (en) 1992-11-06 1992-11-06 Stripe code telephone controller

Publications (1)

Publication Number Publication Date
CN2134758Y true CN2134758Y (en) 1993-05-26

Family

ID=33780059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 92239283 Expired - Fee Related CN2134758Y (en) 1992-11-06 1992-11-06 Stripe code telephone controller

Country Status (1)

Country Link
CN (1) CN2134758Y (en)

Similar Documents

Publication Publication Date Title
US5369680A (en) Pro-active billing and routing test set
CN2134758Y (en) Stripe code telephone controller
US5651057A (en) Method of communicating data from remote devices to a central computer via a telecommunications link
CN1078789C (en) Method and system for intercepting malicious calling and automatically notifying user
CN201515424U (en) Embedded phone system playing voice according to keystroke
CN2186976Y (en) Portable general telephone fee counter
CN2150685Y (en) Computer cipher controller for long-distance telephone
CN2187859Y (en) Card type telephone managing device
CN2141154Y (en) Small-sized all-automatic telephone exchange
CN2508486Y (en) Mobile phone controlled newspaper vending circuit
CN2323526Y (en) Computerized telephone number lock for telephone
CN2322329Y (en) Imitating subscriber telephone calling intelligent tester
CN1170293A (en) IC card controlled telephone
CN1078416C (en) Pro-active billing and routing test set
CN2270326Y (en) Management tax-meter for multichannel linear telephone
AU607417B2 (en) Telephone exchange with calling telephone identification
CN2137058Y (en) Telephone urgent calling device
CN2225736Y (en) Intelligent telephone set
CN2112913U (en) Long-distance call limiting and recording telephone
CN2852497Y (en) Power load monitoring system apparatus
CN2422784Y (en) Dial routing device for IP telephone
CN2484710Y (en) Multi-path telephone information monitor
CN2329123Y (en) Anti-frandulent use of telephone and cipher limiting dialing and automatic dialing alarm
CN2192994Y (en) Charging telephone
CN2155114Y (en) Domestic intelligence programe control telephone charge counter

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee