Multifunctional terminal device
Technical field
The utility model relates to terminal device, more particularly, relates to a kind of terminal device with warning and household electrical appliance control function.
Background technology
The fast development of wireless communication technique makes that user's use cost is more and more lower, and in developed country, mobile phone is just presenting the trend that substitutes wire telephony gradually.Use the user of the terminal device that mobile operator provides more and more in family, office space, particularly in place and the high place of stringing cost that the fixed line line does not cover.The difference of terminal device and portable terminal (mobile phone) is that the position of terminal device is not move, and portable terminal (mobile phone) is to need to move.The difference of terminal device and normal telephone is, terminal device is to be connected to network by unlimited mode, is connected to network and normal telephone is wired mode by telephone wire.Existing terminal device can be realized data services such as voice call and short message.
For the domestic consumer, when having no talent at home, hope can be grasped the indoor abnormal conditions that whether have at any time, swarms into gas leakage etc. if any the burglar simultaneously; Also wish to realize the Long-distance Control to the household electrical appliance switch simultaneously, these demands are not also well realized so far.
The utility model content
The technical problems to be solved in the utility model is, can not satisfy people at prior art and wish to grasp indoor situation whenever and wherever possible, and implement the demand of control, adds parts and realize functions such as alarm, control, remote meter reading on terminal device.
The technical scheme that its technical matters that solves the utility model adopts is: by power module, monitoring probe, I/O control module, speech processing module, main control module, radio-frequency module, data acquisition module compositing terminal device hardware, cooperate running software, provide by short message alarm, short message control and remote meter-reading function.According to the difference of the wireless network that connects, what adopt the GSM network is the GSM terminal device, and what adopt CDMA is the CDMA terminal device.Each module of terminal device specifically composed as follows:
1, power module
Power module mainly comprises three parts for other circuit of terminal device provide power supply, the one, and ac power circuit, effect is that the AC voltage conversion with civil power 220V is the direct supply of terminal device need of work; The 2nd, reserve battery, the 3rd, commutation circuit, Switching power is used for monitoring current power supply electric power thus supplied, after detecting the alternating current dead electricity, can automatically battery be switched to other circuit supplies.
2, telepilot
Whether telepilot is used for to alarming, and adopts the short message alarm also to be to use the high-decibel loudspeaker to carry out the scene alarm and waits alarm parameter to be provided with; Telepilot has double-direction radio radio frequency transmission function, can receive the radio-frequency (RF) control signal of I/O control module emission, and converts the control signal that receives the control of corresponding infrared signal realization to household electrical appliances to.Store the duty of household electrical appliances in the telepilot, controlled household electrical appliances duty feedback also can be provided simultaneously.
3, I/O control module
The I/O control module comprises radio-frequency module, interface circuit and main control singlechip, main control singlechip links to each other with radio-frequency module by interface circuit, the wireless transmission of realization and monitoring probe, telepilot, main control singlechip also can realize wired connection by interface circuit and monitoring probe.All alarm signals that interface circuit receives all send the main control singlechip that is connected with interface circuit to, and main control singlechip is handled the alarm data that the back forms certain format with these alarm signals.
4, data acquisition module
Data acquisition module comprises and is used to realize remote meter reading RS232, TTL, RS485 interface, also the exchanges data that can realize and show by radio-frequency module.
5, speech processing module
Speech processing module comprises audio decoding circuit, high-decibel loudspeaker and microphone.Microphone is used for on-the-spot voice is converted to the sound signal of simulation, and the audio coding decoding circuit is realized the sound signal of simulation and the conversion between the voice data.The high-decibel loudspeaker provides the warning signal of on-the-spot high-decibel, is used for threatening the burglar.
6, main control module
Main control module comprises single-chip microcomputer, be used for storage running program and memory of data 1, be used to store the storer 2 (as SIM card) of the user profile of wireless network protocol requirement, and storer 1 and storer 2 can described single-chip microcomputer be same chip.And the work of other circuit parts of may command, the duty of inquiring about other circuit.Main control module will be converted to from the alarm data that the I/O control module receives and meet wireless network and require short message data.Main control module can also be control or query manipulation to data acquisition module, I/O control module with the short message conversion that receives by radio-frequency module, the response or the Query Result of control are converted to short message way equally, send to the phone of receiving a crime report by radio-frequency module by network again.
7, radio-frequency module
Radio-frequency module comprises modulation-demodulation circuit and antenna.Modulating part is modulated into the radiofrequency signal that wireless network protocol requires with the digital signal of low frequency, and the demodulation part is demodulated into the radiofrequency signal that receives the digital signal of low frequency.The signal that antenna is used for modulating sends by form of electromagnetic wave, can receive the electromagnetic wave that network side sends simultaneously.
The beneficial effects of the utility model are, utilize device of the present utility model can be under very hidden situation, recognize situation around the terminal device by wireless network, and can realize that sound alarm bell is reported to the police or noiseless short message is reported to the police, can also realize that remote meter reading reaches the Long-distance Control to household electrical appliance simultaneously.
Description of drawings
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the circuit block diagram of the utility model terminal device;
Fig. 2 is the application connection diagram of the utility model terminal device;
Fig. 3 is the processing flow chart of receiving a crime report of the utility model terminal device;
Fig. 4 is the warning querying flow figure of the utility model terminal device;
Fig. 5 is the remote meter reading operational flowchart of the utility model terminal device;
Fig. 6 is control household electrical appliances process flow diagrams;
Fig. 7 is the charged power module frame chart;
Fig. 8 is the telepilot block diagram;
Fig. 9 is the circuit theory diagrams of warning processing unit;
Figure 10 is the circuit theory diagrams of control module.
Embodiment
One, introduce the function of each several part among Fig. 1 below:
Frame of broken lines is the structural representation of terminal device among the figure, terminal device comprises compositions such as power module 101, monitoring probe 102, I/O control module 103, speech processing module 104, main control module 105, radio-frequency module 106 as the GSM multifunctional terminal device in the present embodiment.Power module 101 mainly comprises three parts for other circuit of terminal device provide power supply, the one, and ac power circuit, effect is that the AC voltage conversion with civil power 220V is the direct supply of terminal device need of work; The 2nd, reserve battery, the 3rd, power supply switch circuit, power supply Switching power are used for monitoring current power supply electric power thus supplied, after detecting the alternating current dead electricity, can automatically battery be switched to other circuit supplies.Monitoring probe 102 has a plurality of, is used to collect various warning information and is converted into electricity or electromagnetic wave signal sends the I/O control module to, and monitoring probe 102 transmits the wired and wireless dual mode of person of mode of warning information, can select as required.Telepilot 107 is used for being provided with alarm parameter such as whether alarming, and the control signal that receives is converted to the infrared signal of control corresponding household electrical appliances.I/O control module 103 comprises radio-frequency module, interface circuit and main control singlechip, and its physical circuit schematic diagram goes out as shown in Figure 9, and main control singlechip links to each other with radio-frequency module by interface circuit, the wireless transmission of realization and monitoring probe, telepilot; Main control singlechip also can be realized wired connection by interface circuit and monitoring probe; All signals that interface circuit receives all send connected main control singlechip to, and main control singlechip is handled the alarm data that the back forms certain format with these alarm signals.Data acquisition module 108 comprises and is used to realize remote meter reading RS232 interface, specifically implements circuit as shown in figure 10.Speech processing module 104 comprises audio decoding circuit, high-decibel loudspeaker and microphone, microphone is used for on-the-spot voice is converted to the sound signal of simulation, audio decoding circuit is realized the sound signal of simulation and the conversion between the voice data, the high-decibel loudspeaker provides the warning signal of on-the-spot high-decibel, is used for threatening the burglar.Main control module 105 comprises single-chip microcomputer, stored programme and memory of data, and the SIM card of GSM.Single-chip microcomputer is 16, can provide two-way RS232 interface, eight road I/O control mouth to be used to connect radio-frequency module, data processing collector and the I/O control module of GSM.The work of main control module 105 other circuit parts of control, the duty that also can inquire about other circuit, main control module 105 will be converted to from the alarm data that the I/O control module receives and meet GSM requirement short message data, main control module 105 can also be control or query manipulation to data acquisition module 108, I/O control module 103 with the short message conversion that receives by radio-frequency module, the response or the Query Result of control are converted to short message way equally, send to the phone of receiving a crime report by radio-frequency module 106 by the GSM network again.Radio-frequency module 106 comprises modulation-demodulation circuit and antenna.Modulating part is modulated into the GMSK modulation signal of GSM with the digital signal of low frequency, and the demodulation part is demodulated into the GMSK signal that receives the digital signal of low frequency.The signal that antenna is used for modulating sends by form of electromagnetic wave, can receive the electromagnetic wave that the GSM network side sends simultaneously.
Two, illustrate that below in conjunction with Fig. 2 the utility model application connects:
Monitoring probe 102 is by wired and wireless dual mode and multifunctional terminal device communication, telepilot is realized wireless telecommunications by radio-frequency module and multifunctional terminal device, needs water meter, ammeter or the gas meter of remote meter reading to be connected to the data acquisition module of terminal device.Terminal device connects alarm mobile phone, alarm call and control center by the GSM network.
Three, below in conjunction with Fig. 3 the utility model process of receiving a crime report is described:
At first need alarm parameter to be set by telepilot or short message, and unlatching warning function, after alarm is opened, terminal device just is ready, in case there is alarm to be triggered, then according to the setting of alarm parameter, can take two kinds of alarm modes: one is on-the-spot alarm, and the alerting signal of sending high-decibel by the high-decibel loudspeaker threatened not name; Two is that short message is alarmed, promptly at first send the short message of warning message, and then dial automatically and be alarm call to the mobile phone of receiving a crime report, and after alarm call is connected, the at first alarm voice signal of played pre-recorded, and then transmission on-the-spot voice.
Four, below in conjunction with Fig. 4 the utility model warning query script is described:
At first send the short message of query warning by the cellphone subscriber that receives a crime report to terminal device, after terminal device was received this short message, the warning information that inside is preserved sent to user's mobile phone of receiving a crime report by short message.
Five, below in conjunction with Fig. 6 the utility model household electrical appliance control procedure is described:
The user sends the short message of inquiry or control household electrical appliance switch to terminal device, when terminal device is received the inquiry short message, the switching information of household electrical appliance is sent to user mobile phone by short message; When terminal device is received the control short message, then according to the parameter in the short message of receiving, decision is carried out switching manipulation to household electrical appliance, the concrete I/O control module 103 of passing through is to telepilot 107 emitting radio frequency signals, 107 telepilots receive that radiofrequency signal is converted into the infrared signal of control corresponding household electrical appliance, hold this order after household electrical appliance receive orders; Can also in the household electrical appliance of needs control, the charged power module be set, comprise radio-frequency module, single-chip microcomputer, relay, described radio-frequency module is received the radiofrequency signal that the I/O control module sends, thereby reaches the purpose of control household electrical appliance through main control singlechip processing controls relay switch.Store the duty of household electrical appliances in the telepilot, controlled household electrical appliances duty feedback also can be provided simultaneously.
Six, below in conjunction with Fig. 5 the utility model remote meter reading process is described:
Carrying out remote meter reading by short message at first will be connected to water meter, ammeter or the gas meter of supporting RS232, RS485 or TTL remote meter reading on the interface of data acquisition module of terminal device; Also can realize simultaneously the communication of water meter, ammeter or gas meter and data acquisition module by radio-frequency module.After aforesaid operations was finished, the control center that is responsible for checking meter sent the order check meter to terminal device, and terminal device reads the currency of table by interface or radio-frequency module, sent to the control center that checks meter in the mode of short message.