CN105516427B - A kind of communication handle - Google Patents

A kind of communication handle Download PDF

Info

Publication number
CN105516427B
CN105516427B CN201510819030.XA CN201510819030A CN105516427B CN 105516427 B CN105516427 B CN 105516427B CN 201510819030 A CN201510819030 A CN 201510819030A CN 105516427 B CN105516427 B CN 105516427B
Authority
CN
China
Prior art keywords
handle
voltage
phone
state
communication
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
CN201510819030.XA
Other languages
Chinese (zh)
Other versions
CN105516427A (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.)
Beijing Roboler Tech Co Ltd
Original Assignee
Beijing Roboler Tech 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 Beijing Roboler Tech Co Ltd filed Critical Beijing Roboler Tech Co Ltd
Priority to CN201510819030.XA priority Critical patent/CN105516427B/en
Publication of CN105516427A publication Critical patent/CN105516427A/en
Application granted granted Critical
Publication of CN105516427B publication Critical patent/CN105516427B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of communication handle, and communication telephone handle is connect with communication phone, and communication telephone handle includes:Handle disassembles detection module, for whether being in dismantling state using light-sensitive device and the switch detection handle that gets an electric shock;Low-voltage warning module, for detecting handle voltage;Authentication module, the authentication information for obtaining handle;Data transmission blocks generate handle status data for disassembling information, low-voltage early warning and authentication information according to handle, handle status data are sent to phone.Detection module, low-voltage warning module, authentication module and data transmission blocks are disassembled by the way that handle is arranged, the dismantling state of telephone handle can accurately be detected, phone is avoided to be disassembled the voltage condition monitored and understand handle, facilitate the timely replacement of power supply, handle identity is verified, and handle status data is fast and accurately sent to phone, effectively raise safety and the controllability of telephone handle.

Description

A kind of communication handle
Technical field
The present invention relates to communication equipment manufacturing technical fields, particularly relate to a kind of communication handle.
Background technology
In recent years, microelectronics, storage, wireless transmission and battery technology development are swift and violent, fixed-line telephone secrecy can force difference it is weak Point is progressively amplified, and phone end annoyings always military autovon user by the problems such as illegal and machine, switch and dismantling, Responsible consumer especially in leader organ, operational commanding and key departments.In face of interception facility with rapid changepl. never-ending changes and improvements and eavesdropping The user of means, fixed-line telephone is impossible to guard against, the careless slightly generation that may result in secret leaking problem.
Invention content
The technical problem to be solved in the present invention is to provide a kind of communication handles, can improve the safety of communication telephone handle Property, the convenient monitoring to communicating telephone handle state.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of communication handle, the communication telephone handle and Phone connection is communicated, the communication telephone handle includes:
Handle disassembles detection module, for whether being in dismantling state using light-sensitive device and the switch detection handle that gets an electric shock, When handle is in dismantling state, record handle disassembles information;
Low-voltage warning module, for detecting handle voltage, when the handle voltage is less than preset handle voltage When threshold value, low-voltage early warning is generated;
Authentication module, the authentication information for obtaining handle;
Data transmission blocks generate handle shape for disassembling information, low-voltage early warning and authentication information according to handle The handle status data is sent to phone by state data.
Preferably, the handle dismantling detection module includes:
Tear machine testing unit open, for whether being interrupted using microcontroller detection light-sensitive device and the signal that switch is sent out that gets an electric shock, When the signal interruption that light-sensitive device and the switch that gets an electric shock are sent out, determine that handle is in dismantling state, machine status information is torn in generation open;
It tears machine state recording unit open, described machine status information is torn open for recording.
Preferably, the handle dismantling detection module includes:
Handle dismantling inspection unit, for detecting handle voltage when handle is in hook state, when the handle voltage is low When preset handle voltage threshold, low-voltage early warning is generated.
Preferably, the authentication module includes:
ID inquiring instruction reception unit, the ID inquiring instruction for receiving phone transmission, refers to the ID inquiring Order is verified;
Authentication information bill member sends the authentication information of handle when the success of ID inquiring command verification To phone.
Preferably, the data transmission blocks carry out the transmission of data by the way of semiduplex single line communication.
Preferably, the data transmission blocks include:
Status query instruction receiving unit, the handle status query instruction for receiving phone transmission;
Handle state data transmission unit, for sending handle shape to the phone according to the handle status query instruction State data.
Preferably, the communication telephone handle further includes:
Low-power consumption module is more than to preset when the time that handle is in idle condition for the state in detection handle Dormancy time threshold value when, set handle to dormant state, when handle microcontroller state change when change when reply Handle works normally.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
In said program, detection module, low-voltage warning module, authentication module and data are disassembled by the way that handle is arranged Sending module can accurately detect the dismantling state of telephone handle, and phone is avoided to be disassembled the voltage condition monitored and understand handle, The timely replacement for facilitating power supply, verifies handle identity, and handle status data is fast and accurately sent to phone, has Safety and the controllability for improving telephone handle of effect.
Description of the drawings
Fig. 1 is the communication telephone handle structure connection block diagram of the embodiment of the present invention;
Fig. 2 is that the communication handle arrangement of the embodiment of the present invention connects block diagram;
Fig. 3 is the communication handle photosensitive detection circuit circuit diagram of the embodiment of the present invention;
Fig. 4 is the communication handle contact detection circuitry circuit diagram of the embodiment of the present invention.
Specific implementation mode
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
As shown in Figure 1, a kind of communication handle of the embodiment of the present invention, the communication telephone handle is connect with communication phone, The communication telephone handle includes:
Handle disassembles detection module 101, for utilizing whether light-sensitive device and electric shock switch detection handle are in dismantling shape State, when handle is in dismantling state, record handle disassembles information;
Low-voltage warning module 102, for detecting handle voltage, when the handle voltage is less than preset handle electricity When pressing threshold value, low-voltage early warning is generated;
Authentication module 103, the authentication information for obtaining handle;
Data transmission blocks 104 generate handle for disassembling information, low-voltage early warning and authentication information according to handle The handle status data is sent to phone by status data.
The communication telephone handle of the embodiment of the present invention disassembles detection module, low-voltage warning module, body by the way that handle is arranged Part authentication module and data transmission blocks, can accurately detect the dismantling state of telephone handle, phone is avoided to be disassembled monitoring The voltage condition for solving handle, facilitates the timely replacement of power supply, is verified to handle identity, and fast and accurately by handle state Data are sent to phone, effectively raise safety and the controllability of telephone handle.
Preferably, the handle dismantling detection module includes:
Tear machine testing unit open, for whether being interrupted using microcontroller detection light-sensitive device and the signal that switch is sent out that gets an electric shock, When the signal interruption that light-sensitive device and the switch that gets an electric shock are sent out, determine that handle is in dismantling state, machine status information is torn in generation open;
It tears machine state recording unit open, described machine status information is torn open for recording.
In the present embodiment, judge handle whether in dismantling shape using microcontroller detection light-sensitive device and electric shock switch Whether state can fast and accurately determine handle by grafting, and when handle is disassembled, the switch that gets an electric shock disconnects, light-sensitive device impression Change to intensity of illumination, to send out interrupt signal, microcontroller receives interrupt signal, so that it is determined that handle is in dismantling state.
Preferably, the handle dismantling detection module includes:
Handle dismantling inspection unit, for detecting handle voltage when handle is in hook state, when the handle voltage is low When preset handle voltage threshold, low-voltage early warning is generated.
In the present embodiment, when handle is in hook state detects handle voltage and stable and accurate can detect and receive and process subscriptions Voltage generates low-voltage early warning, can remind work people in time when handle voltage is less than preset handle voltage threshold Member carries out the replacement of the maintenance and battery of equipment.
Preferably, the authentication module includes:
ID inquiring instruction reception unit, the ID inquiring instruction for receiving phone transmission, refers to the ID inquiring Order is verified;
Authentication information bill member sends the authentication information of handle when the success of ID inquiring command verification To phone.
It, being capable of basis by the way that ID inquiring instruction reception unit and authentication information bill member is arranged in the present embodiment ID inquiring instructs, and the authentication information of handle is sent to phone, facilitates management of the phone to handle, improves information data The safety of transmission.
Preferably, the data transmission blocks carry out the transmission of data by the way of semiduplex single line communication.
In the present embodiment, the transmission of data is carried out between handle and phone by the way of single line communication, it in this way can be Effectively and timely data communication is carried out in the case of not changing the original appearance of phone and surface lines.I/O port height electricity may be used Raw low level time show no increases in output to carry out the transmission of data.Its characteristic is strong antijamming capability, and fireballing ability can ensure The promptness and correctness of communication.
Communication distinguishes " 0 " and " 1 " with the length of low level time, while having a start bit of certain time length.One It include to obtain control, stablize five delay, start bit, data, release control power parts that a complete byte, which is sent,. Before sending a byte data, if whether detection bus without occupied, draws high level to obtain control just occupied System power.Then in order to ensure the stabilization of follow-up data, the high level delay of certain time is given, is the set time after the delay Start bit, then carries out the transmission of data, and release control is weighed to complete the transmission of a data.Receiving terminal is carried out with interrupt mode The response of message carries out counting by counter and judges low level time and start bit, to data be parsed entire logical News process.
It is inquired specifically, the mode that phone obtains handle data can be timing, at regular intervals, phone is needed to hand Handle sends [D8] byte for obtaining data by single-wire communication.Handle returns to UID, handle successively after receiving [D8] byte Dismantling state, cell voltage state and data.The UID of handle is the identification number for distinguishing handle, and length is four bytes.Hand Handle disassembles state and cell voltage state is sent after handle UID.
Handle and phone needs ensure to stop communicating when phone carries out telephone relation, and after phone on-hook in time Restore communication.After handle off-hook, phone can send [CC] byte notice handle to handle in time to be stopped carrying out communication recovery words Machine is conversed.Equally, after handle on-hook, phone can persistently drag down communication line, and handle detects meeting after prolonged low level Restore communications status.
Preferably, the data transmission blocks include:
Status query instruction receiving unit, the handle status query instruction for receiving phone transmission;
Handle state data transmission unit, for sending handle shape to the phone according to the handle status query instruction State data.
Preferably, the communication telephone handle further includes:
Low-power consumption module is more than to preset when the time that handle is in idle condition for the state in detection handle Dormancy time threshold value when, set handle to dormant state, when handle microcontroller state change when change when reply Handle works normally.
Wherein, it in order to reduce the power consumption of handle inner circuit, needs to close the partial function module inside microcontroller in due course, If ADC module can keep the closed state of module when not in use, other are not required to module to be used and equally remain off. When microcontroller is in idle condition for a long time, dormant state can be entered, output state can be maintained in the dormant state.If Status Change or communication request, microcontroller occur will restore to work normally.
In the present embodiment, by the way that low-power consumption module is arranged, the power consumption of handle can be effectively reduced, making for handle battery is extended With the time, to increase the replacement cycle of handle battery.
Preferably, the communication telephone handle further includes:
Break diagnostic module, requires the order of data to be counted to handle for phone, is not rung when handle is constantly in After answering state to continue certain number, it will determine that handle is in broken string state.
Wherein, handle broken string is carried out using the mode of counting, at the time of phone, which is in, carry out communications status, i.e., non- Off hook state.
Preferably, between phone and handle communication using slave by the way of, phone each Interruption recycle in Handle requires current data, handle to receive and return to specific message and data to phone after corresponding command analysis, when handle will Alarm time can just cancel corresponding alarm after being sent completely, and otherwise will have attempted to carry out the report of non-transmission data.
A kind of communication handle of the embodiment of the present invention, as shown in Fig. 2, the communication handle is connect with communication phone, It is characterized in that, the communication handle includes handle housing (not shown), handle microcontroller 1, contact switch 2, light-sensitive device 3 With battery 4, the handle microcontroller 1, contact switch 2, light-sensitive device 3 and battery 4 are arranged in the handle housing, described Handle microcontroller 1 is connect with contact switch 2, light-sensitive device 3 and battery 4 respectively, the communication phone and the handle microcontroller 1 Connection.
Preferably, the light-sensitive device is photodiode, and the contact switch is microswitch.
Preferably, the contact switch is connect by contact detection circuitry with the microcontroller, and the light-sensitive device passes through Photosensitive detection circuit is connect with the microcontroller.
Preferably, as shown in figure 3, the photosensitive detection circuit includes photodiode and amplifier, photosensitive two pole The anode of pipe is connect with power supply, and the cathode of the photodiode and one end of the positive input of amplifier and first resistor connect It connects, the other end ground connection of the first resistor, the negative input of the amplifier is connect with 1.9V power supplys, the amplifier Output end is connect with handle microcontroller.
Preferably, the 4 of the amplifier good pins connect power supply, the 8 pins ground connection of the amplifier.
Wherein, the photodiode level that device exports when receiving sufficiently high light intensity height can change, and pass through It is compared and enlarged with the voltage of a 1.9V, the detection and place that the low and high levels of output digit signals is interrupted for microcontroller Reason.
Preferably, the contact detection circuitry includes as shown in Figure 4:First microswitch and the second microswitch, it is described First microswitch and the series connection of the second microswitch, the input terminal of first microswitch are connect with power supply, and described second is micro- The defeated place end of dynamic switch is connect with one end of handle microcontroller and second resistance, the other end ground connection of the second resistance.
Wherein, contact detection uses microswitch, and when phone is disassembled, triggering microswitch changes its state, together The detection process that sample output digit signals are interrupted for microcontroller.
Preferably, the handle microcontroller is LGT8F88A microcontrollers.
In the present embodiment, the calculation amount and size of code of handle are assessed, consider that handle end needs hardware money to be used Source, while considering the element of cost and power consumption, handle end MCU selects domestic microcontroller LGT8F88A.
LGT8F88A is a 8 microcontrollers, the FLASH capacity with 8K, 1K byte on-chip SRAMs, the RC of built-in 32M Oscillating circuit, performance is up to 32MIPS, while included completely new program data Encryption Algorithm when working in 32MHz, can protect The safety of user data.Each chip has independent 32 UID, can be used for unique identities identification.
Have the characteristics that peripheral circuit is simple, processing capacity is high, low in energy consumption using the model microcontroller.The microcontroller simultaneously With sleep mode, idle suspend mode may be implemented, wake up on demand, take into account high arithmetic speed and low-power consumption.Also with microcontroller The ADC resources of itself, which can also be achieved, is detected to assess battery capacity the voltage of battery.
In said program, detection module, low-voltage warning module, authentication module and data are disassembled by the way that handle is arranged Sending module can accurately detect the dismantling state of telephone handle, and phone is avoided to be disassembled the voltage condition monitored and understand handle, The timely replacement for facilitating power supply, verifies handle identity, and handle status data is fast and accurately sent to phone, has Safety and the controllability for improving telephone handle of effect.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, several improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (1)

1. a kind of communication handle, the communication telephone handle is connect with communication phone, which is characterized in that the communication telephone handle Including:
Handle disassembles detection module, for whether being in dismantling state using light-sensitive device and the switch detection handle that gets an electric shock, works as hand When handle is in dismantling state, record handle disassembles information;
Low-voltage warning module, for detecting handle voltage, when the handle voltage is less than preset handle voltage threshold When, generate low-voltage early warning;
Authentication module, the authentication information for obtaining handle;
Data transmission blocks generate handle status number for disassembling information, low-voltage early warning and authentication information according to handle According to the handle status data is sent to phone;
Wherein, the handle dismantling detection module includes:
It tears machine testing unit open, for whether being interrupted using microcontroller detection light-sensitive device and the signal that switch is sent out that gets an electric shock, works as light When the signal interruption that sensing device and the switch that gets an electric shock are sent out, determine that handle is in dismantling state, machine status information is torn in generation open;
It tears machine state recording unit open, described machine status information is torn open for recording;
Wherein, the handle dismantling detection module includes:
Handle dismantling inspection unit, for detecting handle voltage when handle is in hook state, when the handle voltage is less than pre- When the handle voltage threshold first set, low-voltage early warning is generated;
Wherein, the authentication module includes:
ID inquiring instruction reception unit, for receive phone transmission ID inquiring instruction, to the ID inquiring instruct into Row verification;
The authentication information of handle is sent to words by authentication information bill member when the success of ID inquiring command verification Machine;
Wherein, the data transmission blocks carry out the transmission of data by the way of semiduplex single line communication;
Wherein, the data transmission blocks include:
Status query instruction receiving unit, the handle status query instruction for receiving phone transmission;
Handle state data transmission unit, for sending handle status number to the phone according to the handle status query instruction According to;
Wherein, the communication telephone handle further includes:
Low-power consumption module is more than preset stop when the time that handle is in idle condition for the state in detection handle When dormancy time threshold, it sets handle to dormant state, handle is replied when changing when the state of handle microcontroller changes Normal work.
CN201510819030.XA 2015-11-24 2015-11-24 A kind of communication handle Expired - Fee Related CN105516427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510819030.XA CN105516427B (en) 2015-11-24 2015-11-24 A kind of communication handle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510819030.XA CN105516427B (en) 2015-11-24 2015-11-24 A kind of communication handle

Publications (2)

Publication Number Publication Date
CN105516427A CN105516427A (en) 2016-04-20
CN105516427B true CN105516427B (en) 2018-10-30

Family

ID=55724052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510819030.XA Expired - Fee Related CN105516427B (en) 2015-11-24 2015-11-24 A kind of communication handle

Country Status (1)

Country Link
CN (1) CN105516427B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760096B (en) * 2021-09-10 2024-05-07 维沃移动通信有限公司 Handle, control method and control device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290105A (en) * 1999-09-24 2001-04-04 广东粤京安移动资讯有限公司 Antitheft vehicle-carried GSM/CDMA-GPS terminal and wireless telephone
CN2710262Y (en) * 2004-06-16 2005-07-13 北京蓝百通科技有限公司 Network safety monitoring system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008271415A (en) * 2007-04-24 2008-11-06 Hitachi Kokusai Electric Inc Received voice output apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290105A (en) * 1999-09-24 2001-04-04 广东粤京安移动资讯有限公司 Antitheft vehicle-carried GSM/CDMA-GPS terminal and wireless telephone
CN2710262Y (en) * 2004-06-16 2005-07-13 北京蓝百通科技有限公司 Network safety monitoring system

Also Published As

Publication number Publication date
CN105516427A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN103809492B (en) One-touch multifunctional control circuit and wearing electronic product
CN205050134U (en) Portable power source TYPE -C interface management circuit
CN103686962A (en) Low-power-consumption mobile terminal awakening method and device
CN109377732A (en) Water logging detector based on WiFi scheme
CN110823277B (en) Equipment anti-dismounting device and equipment with anti-dismounting function
CN109356459A (en) The low-power consumption regulation method, apparatus and intelligent electronic lock of intelligent electronic lock
CN102361104B (en) Battery and battery identification circuit
CN105516427B (en) A kind of communication handle
CN203133817U (en) Multifunctional safe mobile hard disk
CN104979718A (en) Power utilization monitoring type socket
CN205691643U (en) A kind of remote alarming device opposed electricity-stealing in ammeter
CN205080551U (en) Intelligence flash disk
CN105201305B (en) A kind of padlock based on wireless network and positioning
CN204215211U (en) A kind of inspection shaft Monitoring Pinpelines micro power consumption wireless equipment based on wireless sense network
CN103021135B (en) A kind of anti-drowning alarm
CN107134060A (en) Gas meter, flow meter tamper method and tamper gas meter, flow meter based on Internet of Things
CN105722019A (en) Accumulated water detection alarm system and detection method thereof
CN208241794U (en) A kind of intelligent signal interruption alarm device
CN210201854U (en) Safety coefficient based on wifi thing networking
CN207319387U (en) A kind of wireless door magnetic sensing device
CN101751528B (en) Working method and system of cipher machine
CN205091866U (en) Thing networking protector based on monitoring
CN205265773U (en) Communication handle
CN207301716U (en) A kind of detector for being easily installed debugging
CN210606066U (en) Intelligent indoor passive infrared detector based on narrowband Internet of things

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181030

Termination date: 20211124