CN102710754B - Whole-media parent-daughter type timer and implementation method thereof - Google Patents

Whole-media parent-daughter type timer and implementation method thereof Download PDF

Info

Publication number
CN102710754B
CN102710754B CN201210149574.6A CN201210149574A CN102710754B CN 102710754 B CN102710754 B CN 102710754B CN 201210149574 A CN201210149574 A CN 201210149574A CN 102710754 B CN102710754 B CN 102710754B
Authority
CN
China
Prior art keywords
module
machine tool
handset
gprs
daughter
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
CN201210149574.6A
Other languages
Chinese (zh)
Other versions
CN102710754A (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.)
University of Shaoxing
Original Assignee
University of Shaoxing
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 University of Shaoxing filed Critical University of Shaoxing
Priority to CN201210149574.6A priority Critical patent/CN102710754B/en
Publication of CN102710754A publication Critical patent/CN102710754A/en
Application granted granted Critical
Publication of CN102710754B publication Critical patent/CN102710754B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention mainly discloses a whole-media parent-daughter type timer and an implementation method thereof. The timer comprises a parent module, at least one daughter module, a terminal mobile phone, a mobile communication network, a personal computer (PC), a general packet radio service (GPRS) network and a plurality of controlled objects. The parent module receives time table data in such three manners that the parent module is connected with the terminal mobile phone through the mobile communication network, and receives and sends short messages, the parent module is connected with the personal computer to carry out input and output, and the parent module carries out remote data exchange through the GPRS network. The parent module and the daughter module adopt a wireless radio frequency mode to exchange data. The parent module is connected to at least two controlled objects. The daughter module is connected to one controlled object. The timer has the characteristics of anti-interference capability, good fault tolerance, and good mobility of a daughter unit, can realize self-starting of systems under the condition of accident breakdown through hardware and software watchdog modules, and meets the requirement of unmanned on duty.

Description

A kind of full media primary-auxiliary type timer and its implementation
Technical field
The present invention relates to technical field of electronic communication, special relevant with one full media primary-auxiliary type timer and its implementation.
Background technology
Timer is widely used in production and life.Such as, along with household modernization and living standard improve, household electrical appliance get more and more, and out on tours is day by day frequent, controlled in wireless in the urgent need to address and multi-channel control problem, the water seasoning problem of durante absentia family in the urgent need to address flowers and trees.The timer of current use, most is single channel output, and mostly is button setting-up time information, wired control mode.And computer and mobile phone are now very universal.If by SMS and computer network setting-up time or timetable, realize controlling household electrical appliance and other equipment whenever and wherever possible, traditional timer can be allowed to catch up with informationalized paces, realize intelligent and networking, performance is more reliable, uses more flexible.Given this, select to have developed this brand-new time controller.
Full media primary-auxiliary type timer can wired, controlled in wireless, can the setting of long-range, short range, can fix, mobilely to use, realize controlling by the timing switch of control object whenever and wherever possible, therefore the present inventor designs full media primary-auxiliary type timer and its implementation, and this case produces thus.
Summary of the invention
The object of this invention is to provide a kind of full media primary-auxiliary type timer, mother and sons' isolating construction, multistage multiple-channel output controls, antijamming capability is strong, zmodem, handset mobility is good, realizes the self-starting of system in unexpected paralysis situation and recovers, meet unattended requirement by hard, soft watchdog module.
Another object of the present invention is also the implementation method providing a kind of full media primary-auxiliary type timer, one is time setting means innovation, comprise the setting of GSM short message, PC wire communication sets, WEB webpage setting (by means of mobile wireless network GPRS), twireless radio-frequency communication mode setting etc., setting means breaches region restriction flexibly, achieves Long-distance Control anywhere or anytime; Two is structure innovations, and adopt mother and sons' separate type, machine tool and handset adopt radio connection; Three be control mode innovation, machine tool control two-way and more than, each handset control a road and more than, handset and machine tool wirelessly exchange message.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
Full media primary-auxiliary type timer, comprises machine tool module, at least one handset module, terminal phone, mobile communications network, PC, GPRS network and some control objects; Machine tool module receives the timetable data of three kinds of modes, and one, is connected with terminal phone by mobile communications network, receives and sends short message; It is two by carrying out input and output with PC wired connection; Its three, carry out teledata exchange by GPRS network; Wireless radio frequency mode is adopted to carry out exchanges data between machine tool module and handset module, machine tool model calling at least two control objects, handset model calling control object.
The working power that described machine tool module comprising GSM/GPRS module for carrying out exchanges data with mobile radio communication, providing the clock unit of electronic clock function, main control unit and powering for above-mentioned parts; Main control unit comprises machine tool wireless module, serial ports, machine tool relay; GSM/GPRS module, clock unit are connected with main control unit respectively by independent serial ports, relay connection control object.
Described handset module comprises handset wireless module, son control unit and the working power for both power supplies, and handset wireless module control unit with son and is connected and carries out exchanges data, and sub unit of controlling passes through handset relay connection control object.
Full media primary-auxiliary type timer realization method, setting machine tool module and handset module, machine tool module is to send note write, by writing with PC serial communication mode, by three kinds of mode time of reception table data such as GPRS network webpage remote inputs through terminal phone, timetable carries out extracting and sending by machine tool module, machine tool module and handset module scan respective timetable with some cycles, and control respective controlled device execution switch motion according to timetable output control overflow.
Described machine tool module and handset module are provided with watchdog module.
After adopting such scheme, the present invention has many beneficial effects:
One is that setting-up time mode is innovated: GSM short message sets, and PC wire communication sets, and WEB webpage setting (by means of mobile wireless network GPRS), twireless radio-frequency communication mode sets, so the present invention really realizes " full media ".
Two is control mode innovations: mother and sons' separate type, machine tool module controls two-way or multichannel, each at least one road of handset module controls, handset module and machine tool module wirelessly exchange message, handset mobility is good.Compared with existing similar products or design, have the feature of the control of multichannel multistage and at least one road of removable control object, in addition, the setting of schedule information is by wired or that mobile network is wireless mode, breach region restriction, achieve Long-distance Control anywhere or anytime.
Three, reliability is high.Mobile phone terminal or long-range by GPRS network by WEB set information send after, note or the information of the loopback of full media primary-auxiliary type timer can be received, show arrange state so that user confirm success or not is set.
Full media primary-auxiliary type timer antijamming capability is strong, zmodem, realizes the self-starting of system in unexpected paralysis situation and recovers, meet unattended requirement by hard, soft watchdog module.
Accompanying drawing explanation
Fig. 1 is the overall general principle block schematic illustration of present pre-ferred embodiments;
Fig. 2 is functional schematic between the machine tool module of present pre-ferred embodiments and handset module;
Fig. 3 is the machine tool functions of modules block diagram of present pre-ferred embodiments;
Fig. 4 is the handset functions of modules block diagram of present pre-ferred embodiments;
Fig. 5 is the total working schematic flow sheet of present pre-ferred embodiments;
Fig. 6 is the machine tool block process schematic diagram of present pre-ferred embodiments;
Fig. 7 is the handset block process schematic diagram of present pre-ferred embodiments.
Embodiment
By reference to the accompanying drawings, present pre-ferred embodiments is described in further details.
Full media primary-auxiliary type timer, full medium technique mode is adopted to realize, mainly refer in the present invention and can set timing information by four kinds of modes: one is by wire communication mode setup times table by means of PC serial ports, two is by SMS setup times table by means of GSM, three is via GPRS(mobile wireless network by WEB) setting-up time table, four is less radio-frequency (RF) communication mode setting-up time tables.Schedule information automatic distributing is to machine tool and handset.Machine tool can comprise more than two-way and export, and handset one tunnel exports.By less radio-frequency (RF) communication mode between machine tool and handset.
Schedule information at least can arrange 10, can set the in such a month, and on such a day some time point to start to open or close, in such a month, and on such a day a some time point end open or close.
Machine tool module 1 and handset module 2 are all core with singlechip microcontroller.For ensureing long-term unattended operation requirements of one's work, guaranteeing reliability, in system, taking into full account fault-tolerance and anti-interference.System, in unexpected paralysis situation, can be recovered by autoboot.
As shown in Figure 1, the parts that full media primary-auxiliary type timer relates to comprise machine tool module 1, at least one handset module 2, terminal phone 3, mobile communications network (GSM) 4, PC 5, GPRS network 6 and some control objects 7 to general principle.
Machine tool module 1 includes three circuit-switched data input and output, the setting of time of reception table, and does feedback processing after receiving timetable.One, communicates with terminal phone 3 by mobile communications network 4, receives and sends short message.And choosing terminal phone 3 number, can set in single-chip microcomputer internal processes in machine tool module 1.It two carries out input and output by PC wired connection.Its three, carry out teledata exchange by GPRS network.Mainly can pass through http protocol, to Day Settings in the Remote WEB page, be delivered in machine tool module 1.
As shown in Figure 2, adopt less radio-frequency 315M/433M mode to carry out exchanges data between the two, the timetable belonging to handset module 2 is sent in each handset module 2 by wireless radio frequency mode by machine tool module 1 for machine tool module 1 and handset module 2.
Each machine tool module controls at least two control objects 7 in the present embodiment, and handset module 2 connects at least one control object 7.
The inside of machine tool module 1 as shown in Figure 3, mainly comprises the working power 14 for carrying out the GSM/GPRS module 11 of exchanges data, clock unit 12, main control unit 13 and power for above-mentioned parts with mobile radio communication.Main control unit 13 is singlechip microcontroller system, mainly comprises machine tool wireless module 131, serial ports 1, serial ports 2 133, machine tool relay 1, machine tool relay 2 135.
GSM/GPRS module 11 is mainly used for machine tool module 2 and carries out short message sending and reception with mobile communications network 4, by wireless remote WEB setting-up time table information, be connected by serial ports 1 with main control unit 13.Clock unit 12 is connected on main control unit 13 by serial ports 2 133, mainly provides the function of an electronic clock, relay connection control object.Be provided with two relays in the present embodiment to export, be machine tool relay 1, machine tool relay 2 135 respectively, connect independently control object 7 respectively.Relay output end produces signal according to the program in main control unit 13, the power supply of startup or closing control object 7.
Handset module 2, as shown in Figure 4, comprises handset wireless module 21, son control unit 22 and the working power 23 for both power supplies.Handset wireless module 21 is parts corresponding with machine tool wireless module 131, forms the twireless radio-frequency communication between machine tool module 1 and handset module 2 by these two parts.In the singlechip microcontroller system of sub-control unit 22 namely handset module 2, son control unit 22 connects outside control object 7 by handset relay 24.Control principle is identical with machine tool module 1.
Master control flow process composition graphs 5 in the present invention, system initialization after starting up, machine tool module 1 waits for that the write time is shown, and timetable writing mode comprises GSM message, PC setting, GPRS setting.After timetable write, in machine tool module 1, timetable is screened, the schedule information belonged in handset module 2 is extracted, and be sent in handset module 2 by wireless radio frequency mode.Machine tool module 1 and handset module 2, all according to some cycles table sweep time, when the time period of the upper setting of table time of advent time, are produced corresponding control signal, are exported in control object 7 by respective relay.
As shown in Figure 6, the program circuit in machine tool module 1 is that the short message in system initialization, SIM card deletes sky, stand-by period table information write.When showing write if having time, then doing feedback information process according to different approaches, such as automatically postbacking and note, PC show feedback result or fed back on remote web page by GPRS.Then show update time, and the schedule information belonged in handset module 2 is carried out extract, distribute, then through house dog process, be back to stand-by period table information write.When there's no timetable write time, scan original effect timetable according to some cycles, when the time period of the upper setting of table time of advent time, produce corresponding control signal, export in control object 7 by respective relay, finally same through house dog process be back to the stand-by period table information write.
As shown in Figure 7, program circuit in handset module 2 is system initialization, waits for machine tool module transmitting time table information, information is shown when received, then receive feedback processing, send to machine tool module 1 and receive signal, be then back to through house dog process and wait for machine tool module transmitting time table information.When not receiving schedule information, then scan original effect timetable by some cycles and export control, being then back to through house dog process and waiting for machine tool module 1 transmitting time table information.
Above-described embodiment only illustrates inventive concept of the present invention for explaining, but not the restriction to rights protection of the present invention, all changes utilizing this design the present invention to be carried out to unsubstantiality, all should fall into protection scope of the present invention.

Claims (1)

1. full media primary-auxiliary type timer, is characterized in that: comprise machine tool module, at least one handset module, terminal phone, mobile communications network, PC machine, GPRS network and some control objects; Machine tool module receives the timetable data of three kinds of modes, and one, is connected with terminal phone by mobile communications network, receives and sends short message; It is two by carrying out input and output with PC machine wired connection; Its three, carry out teledata exchange by GPRS network; Wireless radio frequency mode is adopted to carry out exchanges data between machine tool module and handset module, machine tool model calling at least two control objects, handset model calling control object; The working power that described machine tool module comprising GSM/GPRS module for carrying out exchanges data with mobile radio communication, providing the clock unit of electronic clock function, main control unit and powering for above-mentioned parts; Main control unit comprises machine tool wireless module, serial ports, machine tool relay; GSM/GPRS module, clock unit are connected with main control unit respectively by independent serial ports, relay connection control object; Described handset module comprises handset wireless module, son control unit and the working power for both power supplies, and handset wireless module control unit with son and is connected and carries out exchanges data, and sub unit of controlling passes through handset relay connection control object; The control method of full media primary-auxiliary type timer, setting machine tool module and handset module, machine tool module is to send note write, by writing, by three kinds of mode time of reception table data such as GPRS web page remote inputs with PC machine serial communication mode through terminal phone, timetable carries out extracting and sending by machine tool module, machine tool module and handset module scan respective timetable with some cycles, and control respective controlled device execution switch motion according to timetable output control overflow;
Described machine tool module and handset module are provided with watchdog module.
CN201210149574.6A 2012-05-15 2012-05-15 Whole-media parent-daughter type timer and implementation method thereof Expired - Fee Related CN102710754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210149574.6A CN102710754B (en) 2012-05-15 2012-05-15 Whole-media parent-daughter type timer and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210149574.6A CN102710754B (en) 2012-05-15 2012-05-15 Whole-media parent-daughter type timer and implementation method thereof

Publications (2)

Publication Number Publication Date
CN102710754A CN102710754A (en) 2012-10-03
CN102710754B true CN102710754B (en) 2015-06-24

Family

ID=46903300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210149574.6A Expired - Fee Related CN102710754B (en) 2012-05-15 2012-05-15 Whole-media parent-daughter type timer and implementation method thereof

Country Status (1)

Country Link
CN (1) CN102710754B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794773A (en) * 2005-10-14 2006-06-28 北京联合大学 System and method for remote monitoring controlled equipment by short message information
CN101038483A (en) * 2006-03-16 2007-09-19 松下电工株式会社 Time switch
CN101043779A (en) * 2006-03-22 2007-09-26 东芝照明技术株式会社 Lighting controller and lighting control system using same
CN102413611A (en) * 2011-11-22 2012-04-11 成都智汇科技有限公司 Street lamp energy-saving and managing system based on internet of things
CN202587042U (en) * 2012-05-15 2012-12-05 绍兴文理学院 Full-media primary-secondary type timer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794773A (en) * 2005-10-14 2006-06-28 北京联合大学 System and method for remote monitoring controlled equipment by short message information
CN101038483A (en) * 2006-03-16 2007-09-19 松下电工株式会社 Time switch
CN101043779A (en) * 2006-03-22 2007-09-26 东芝照明技术株式会社 Lighting controller and lighting control system using same
CN102413611A (en) * 2011-11-22 2012-04-11 成都智汇科技有限公司 Street lamp energy-saving and managing system based on internet of things
CN202587042U (en) * 2012-05-15 2012-12-05 绍兴文理学院 Full-media primary-secondary type timer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
用于群控的时间控制器;沈红卫;《电测与仪表》;19980430;第35卷(第388期);正文第1、2、4章 *

Also Published As

Publication number Publication date
CN102710754A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102882077B (en) A kind of method and smart jack of controlling consumer power switch
CN203366312U (en) Household appliance upgrading system and household appliance
CN105472542A (en) Data transmission method and system for smart wearable equipment and mobile terminal based on low-power consumption Bluetooth standard
CN203732979U (en) Long-distance multiport power source restart control device
CN106788835B (en) One kind more radio station remote control apparatuses Internet-based and method
CN204129933U (en) A kind of internet of things intelligent household control device of wireless
CN203984450U (en) Intelligent domestic gateway
CN202975723U (en) Household intelligent controller and remote household control system
CN201909990U (en) Wireless intelligent control system
CN105406883A (en) Wireless communication device
CN102710754B (en) Whole-media parent-daughter type timer and implementation method thereof
CN202587042U (en) Full-media primary-secondary type timer
CN103188536A (en) Intelligent television remote control device based on module card
CN203101978U (en) GSM (Global System for Mobile Communications) based intelligent home control system
CN203444473U (en) Expansion and anti-interference device for IO (Input/Output) serial port
CN204392247U (en) A kind of repeater
CN104318753A (en) Intelligent control system for household appliances
CN204559567U (en) A kind of power carrier communication system
CN210807670U (en) Agricultural internet of things communication system with multiple cards and single standby
CN204314689U (en) Based on the PLC wireless control system of Bluetooth transmission
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN106370253A (en) Concentrator system applied to remote transmitting gas meter
CN201917799U (en) Multipath controlled intelligent home controller
CN204859225U (en) Electric power efficiency monitoring system
CN203504768U (en) Green non-driven wireless modem/WIFI router device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
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: 20150624

Termination date: 20180515