CN103235584A - Intelligent furniture control method, device, microprogrammed control unit (MCU) and system - Google Patents

Intelligent furniture control method, device, microprogrammed control unit (MCU) and system Download PDF

Info

Publication number
CN103235584A
CN103235584A CN2013101508295A CN201310150829A CN103235584A CN 103235584 A CN103235584 A CN 103235584A CN 2013101508295 A CN2013101508295 A CN 2013101508295A CN 201310150829 A CN201310150829 A CN 201310150829A CN 103235584 A CN103235584 A CN 103235584A
Authority
CN
China
Prior art keywords
short message
jack
mcu
control
relay
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.)
Granted
Application number
CN2013101508295A
Other languages
Chinese (zh)
Other versions
CN103235584B (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.)
Institute of Microelectronics of CAS
Original Assignee
Institute of Microelectronics of CAS
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 Institute of Microelectronics of CAS filed Critical Institute of Microelectronics of CAS
Priority to CN201310150829.5A priority Critical patent/CN103235584B/en
Publication of CN103235584A publication Critical patent/CN103235584A/en
Application granted granted Critical
Publication of CN103235584B publication Critical patent/CN103235584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the field of the intelligent furniture control, and particularly discloses an intelligent furniture control method, device, MCU and system. The intelligent furniture control method comprises the following steps of judging whether a short message transmitter is authorized or not when receiving a furniture control short message; generating level information corresponding to a control command contained in the furniture control short message, transmitting the level information to an MCU relay port corresponding to a jack to be controlled, and facilitating a relay to actuate the corresponding separation or closing operation so as to control the furniture. According to the intelligent furniture control method, the corresponding MCU, relay and global system for mobile communication (GSM) modules only needs to be arranged on the furniture device to be controlled. The method is applicable to the random combination and change situation of multiple electric appliances in the intelligent furniture, the furniture device is unnecessary to redesign or modify, the cost is low, the realization way is simple, and the method is a universal solution for the light-weight intelligent furniture.

Description

Intelligent home furnishing control method, device, MCU and system
Technical field
The present invention relates to Smart Home control field, particularly relate to a kind of intelligent home furnishing control method, device, MCU and system.
Background technology
Since the first building intelligent building in the world in 1984 after the U.S. occurs, the development of intelligent building is swift and violent day by day.The annual floor area of building that is completed of China is about 2,000,000,000 square metres at present, expects the year two thousand twenty, and the floor area of building that China is completed will reach 30,000,000,000 square metres, and wherein the output value of intelligent building is at least more than 1 to 2 trillion yuan.
In this case, how to realize the control of each household in the intelligent building is become a research focus.In the prior art when realizing Smart Home control, mainly be to pass through technology of Internet of things, with the various device in the family, connect together as audio ﹠ video equipment, illuminator, curtain control system, air-conditioner control system, safety-protection system, Active-Movie system etc., rely on the Internet of Things realization to the control of home equipments such as household electrical appliances, illumination and curtain.
But the inventor finds in the application's research process, realizes the method for Smart Home control in the prior art, need redesign or transform each home equipment, cost height, and implementation complexity.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of intelligent home furnishing control method, device, MCU and intelligent home control system, specific embodiments is as follows:
A kind of intelligent home furnishing control method, described method is applied to MCU, described MCU is connected with gsm module, and be connected with a plurality of relays respectively by MCU relay port, described MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, and the other end and jack connect one to one, wherein, described intelligent home furnishing control method comprises:
Receive the household control short message of gsm module transmission, comprise in the described household control short message: the identification code of control short message sign, jack to be controlled, the control command corresponding with the identification code of described jack, described control command comprise and open or close order;
Judge that whether the short message transmit leg of described household control short message correspondence is through authorizing;
Learn that in judgement described short message transmit leg is through after authorizing, produce the level information corresponding with described control command, and by the MCU relay port corresponding with described jack to be controlled, described level information is transferred to corresponding relay, so that described relay is carried out corresponding the disconnection or closed procedure, realization is to the control of household, and wherein said level information is low level information or high level information.
Preferably, described described level information is transferred to corresponding relay after, described intelligent home furnishing control method also comprises:
Detect the level information of each MCU relay port output;
According to described level information, generate corresponding jack status information, described jack status information comprises: the state of each jack, the identification code of described each jack, the state of wherein said jack comprises: on-state and off-state;
With described jack status information transmission to described gsm module, so that described gsm module transmits it to described short message transmit leg.
Preferably, described intelligent home furnishing control method also comprises:
Receive the short message enquiry breath of gsm module transmission, described short message enquiry breath comprises: short message enquiry breath sign, or described short message enquiry breath comprises: the identification code of short message enquiry breath sign and jack to be checked;
Judge that whether the corresponding short message transmit leg of described short message enquiry breath is through authorizing;
Learn described note transmit leg through after authorizing in judgement, when described short message enquiry breath comprises short message enquiry breath sign, inquire about the level information of all MCU relay port outputs, generate the jack status information that comprises all jacks accordingly; When described short message enquiry breath comprises the identification code of short message enquiry breath sign and jack to be checked, obtain the level information of described MCU relay port output to be checked, and generation comprises the jack status information of jack to be checked accordingly;
Described jack status information transmission to described gsm module, so that transmitting it to described short message enquiry, described gsm module is ceased corresponding short message transmit leg.
Preferably, before the household control short message or short message enquiry breath of described reception gsm module transmission, described intelligent home furnishing control method also comprises:
Receive the mandate short message of gsm module transmission, comprise in the described mandate short message: authorize the sign of short message sign, short message transmit leg to be authorized and the unique identification coding of socket;
Judge the unique identification coding of the described socket that comprises in the described mandate short message, whether identical with the unique identification coding of the socket that prestores among the MCU;
Learn under the two identical situation in judgement, store the sign of short message transmit leg described to be authorized, so that according to the sign of short message transmit leg described to be authorized, whether the household control short message that judgement receives or the short message transmit leg of short message enquiry breath be through authorizing.
Accordingly, the invention also discloses a kind of intelligent home control device, described device is applied to the described MCU of MCU and is connected with gsm module, and be connected with a plurality of relays respectively by MCU relay port, described MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, and the other end and jack connect one to one, wherein, described intelligent home control device comprises:
First receiver module, be used for receiving the household control short message of gsm module transmission, comprise in the described household control short message: the identification code of control short message sign, jack to be controlled, the control command corresponding with the identification code of described jack, described control command comprise and open or close order;
First judge module is used for judging that whether the short message transmit leg of described household control short message correspondence is through authorizing;
The level information output module, be used for learning that in judgement described short message transmit leg is through after authorizing, produce the level information corresponding with described control command, and by the MCU relay port corresponding with described jack to be controlled, described level information is transferred to corresponding relay, so that described relay is carried out corresponding the disconnection or closed procedure, realize the control to household, wherein said level information is low level information or high level information.
Preferably, described intelligent home control device also comprises:
Detection module is for detection of the level information of each MCU relay port output;
The first status information generation module, be used for according to described level information, generate corresponding jack status information, described jack status information comprises: the state of each jack, the identification code of described each jack, the state of wherein said jack comprises: on-state and off-state;
First transport module is used for described jack status information transmission to described gsm module, so that described gsm module transmits it to described short message transmit leg.
Preferably, described intelligent home control device also comprises:
Second receiver module be used for to receive the short message enquiry breath of gsm module transmission, and described short message enquiry breath comprises: short message enquiry breath sign, or described short message enquiry breath comprises: the identification code of short message enquiry breath sign and jack to be checked;
Second judge module is used for judging that whether the corresponding short message transmit leg of described short message enquiry breath is through authorizing;
The second status information generation module, be used for learning that in judgement described note transmit leg is through after authorizing, when described short message enquiry breath comprises short message enquiry breath sign, inquire about the level information of all MCU relay port outputs, generate the jack status information that comprises all jacks accordingly; When described short message enquiry breath comprises the identification code of short message enquiry breath sign and jack to be checked, obtain the level information of described MCU relay port output to be checked, and generation comprises the jack status information of jack to be checked accordingly;
Second transport module is used for described jack status information transmission to described gsm module, so that described gsm module transmits it to the corresponding short message transmit leg of described short message enquiry breath.
Preferably, described Smart Home device also comprises:
The 3rd receiver module be used for to receive the mandate short message of gsm module transmission, comprises in the described mandate short message: authorize the sign of short message sign, short message transmit leg to be authorized and the unique identification coding of socket;
The 3rd judge module, whether the unique identification that is used for the described socket that comprises of the described mandate short message of judgement is encoded, identical with the unique identification coding of the socket that prestores among the MCU;
Memory module, be used for learning under the two identical situation in judgement, store the sign of short message transmit leg described to be authorized, so that according to the sign of short message transmit leg described to be authorized, whether the household control short message that judgement receives or the short message transmit leg of short message enquiry breath be through authorizing.
Accordingly, the invention also discloses a kind of MCU, comprising:
Aforesaid intelligent home control device.
Accordingly, a kind of intelligent home control system comprises:
Aforesaid MCU;
The gsm module that is connected with described MCU;
By a plurality of relays that MCU relay port is connected with described MCU, described relay and described MCU relay port connect one to one, and an end of described relay is connected with live wire, and the other end is connected with corresponding jack.
In the scheme disclosed in this invention, long-range user utilizes terminal to produce and transmission household control short message, receive described household control short message after, judge that whether its corresponding short message transmit leg is through authorizing; Under through the situation of authorizing, produce with described household and control the corresponding level information of the control command that comprises in the short message, and described level information transferred to the corresponding MCU relay port of jack to be controlled, thereby make described relay carry out corresponding the disconnection or closed procedure, realize the control to household.When using the control of the disclosed scheme realization of this programme Smart Home, only needing to acquire corresponding MCU, relay and gsm module at home equipment place to be controlled gets final product, be applicable to the arbitrary combination of multiple electrical equipment in the Smart Home, the situation of conversion, do not need home equipment is redesigned or transforms, with low cost, implementation is simple, is a kind of solution of universal intelligent household of lightweight.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the workflow synoptic diagram of the disclosed a kind of intelligent home furnishing control method of the embodiment of the invention;
Fig. 2 is the workflow synoptic diagram of disclosed another intelligent home furnishing control method of the embodiment of the invention;
Fig. 3 is the workflow synoptic diagram of disclosed another intelligent home furnishing control method of the embodiment of the invention;
Fig. 4 is the workflow synoptic diagram of disclosed another intelligent home furnishing control method of the embodiment of the invention;
Fig. 5 is the structural representation of the disclosed a kind of intelligent home control device of the embodiment of the invention;
Fig. 6 is the structural representation of the disclosed a kind of intelligent home control system of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
In order to solve in the prior art when realizing Smart Home control, the cost height that has, implementation complicated problems, the application disclose a kind of intelligent home furnishing control method, device, MCU and intelligent home control system.
Intelligent home furnishing control method disclosed in this invention is applied to MCU (Micro Control Unit, micro-control unit), wherein, described MCU is connected with gsm module, and is connected with a plurality of relays respectively by MCU relay port, and described MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, the other end and jack connect one to one, and referring to workflow synoptic diagram shown in Figure 1, described intelligent home furnishing control method comprises:
The household control short message of step S11, the transmission of reception gsm module, comprise in the described household control short message: the identification code of control short message sign, jack to be controlled, the control command corresponding with the identification code of described jack, described control command comprise and open or close order.
GSM(Global System of Mobile communication, global system for mobile communications) module, be that GSM radio frequency chip, baseband processing chip, storer, power discharging device etc. are integrated on the wiring board, have independently operating system, GSM radio frequency processing, Base-Band Processing and the functional module of standard interface is provided, have and send SMS(Short Message Service, SMS (Short Message Service)) function.In this application, gsm module is connected with MCU, the user of gsm module receiving remote is by the short message of terminal transmission, and transmits it to described MCU, so that described MCU carries out corresponding operation according to the short message that receives.Wherein, described terminal can be passed through implemented in many forms, for example, and mobile phone, palm PC PDA, computing machine etc.
When needs were controlled household, the user produced household control short message by terminal, and gsm module can transmit it to MCU after receiving described household control short message.In order to distinguish the short message of described Smart Home control short message and other types, in described household control short message, comprise control short message sign, wherein said control short message sign can be the character that is carried in the short message.In addition, in described household control short message, also comprise the identification code of jack to be controlled, the control command corresponding with the identification code of described jack.
Step S12, judge described household control short message correspondence the short message transmit leg whether through authorizing, if, the then operation of execution in step S13, if not, then suspend this operation, return step S11, by the time after receiving household control short message, carry out corresponding control operation more next time.
In order to improve security, the reliability in the household control procedure, after receiving described household control short message, need to judge that the short message transmit leg whether through authorizing, under the situation of authorizing, continues to carry out follow-up controlling.
Step S13, learn that in judgement described short message transmit leg is through after authorizing, export the level information corresponding with described control command, and by the MCU relay port corresponding with described jack to be controlled, described level information is transferred to corresponding relay, so that described relay is carried out corresponding the disconnection or closed procedure, realization is to the control of household, and described level information is high level information or low level information.
When the short message transmit leg process that produces described household control short message was authorized, MCU produced corresponding level information according to described household control short message.MCU distributes a series of port as MCU relay port, is connected with relay.Wherein, described relay is generally electromagnetic relay, is used for realizing certainly, also can being other forms of relay by light current control forceful electric power, and the present invention does not do restriction.When determining that according to described household control short message a certain jack needs to be controlled are opened, be attached thereto the MCU relay port output low level that connects, the relay that receives low level information disconnects, thereby makes jack and live wire disconnect, and the household electric appliances that is connected on the jack quits work.When determining that according to described household control short message a certain jack needs to be controlled are closed, be attached thereto the MCU relay port output high level that connects, receive the relay closes of high level information, this moment, relay was connected, jack is connected with live wire, the electrical equipment operate as normal on the jack.
Step S11 disclosed in this invention is to the disclosed scheme of step S13, and long-range user utilizes terminal to produce and transmission household control short message, receive described household control short message after, judge that whether its corresponding short message transmit leg is through authorizing; Under through the situation of authorizing, produce with described household and control the corresponding level information of the control command that comprises in the short message, and described level information transferred to the corresponding MCU relay port of jack to be controlled, thereby make described relay carry out corresponding the disconnection or closed procedure, realize the control to household.When using the control of the disclosed scheme realization of this programme Smart Home, only needing to acquire corresponding MCU, relay and gsm module at home equipment place to be controlled gets final product, be applicable to the arbitrary combination of multiple electrical equipment in the Smart Home, the situation of conversion, do not need home equipment is redesigned or transforms, with low cost, implementation is simple, is a kind of solution of universal intelligent household of lightweight.
Further, referring to workflow synoptic diagram shown in Figure 2, described in the step S13 described level information is transferred to corresponding relay after, intelligent home furnishing control method disclosed in this invention also comprises:
Step S14, detect the level information of each MCU relay port output;
Step S15, according to described level information, generate corresponding jack status information, described jack status information comprises: the state of each jack, the identification code of described each jack, the state of wherein said jack comprises: on-state and off-state;
Step S16, with described jack status information transmission to described gsm module, so that described gsm module transmits it to described short message transmit leg.
After the control that realizes according to household control short message household, for the state of clear and definite each jack, the present invention comprises that also step S14 is to the disclosed scheme of step S15.In this scheme, detect the level information of each MCU relay port output, and produce corresponding jack status information according to the identification code of the jack of each MCU relay port correspondence.Wherein, described jack status information comprises: the state of each jack, and the identification code of the jack corresponding with described each jack, the state of described jack comprises: on-state and off-state; For example, the level information of exporting when a MCU relay port is low level information, and the identification code of the jack of a described MCU relay port correspondence is 1 o'clock, illustrates that then jack 1 is off-state; The level information of exporting when the 2nd MCU relay port is high level information, the identification code of the jack of described the 2nd MCU relay port correspondence is 2 o'clock, illustrate that jack 2 is on-state, the jack status information of generation is specifically as follows [" jack 1 "+" disconnection "; " jack 2 "+" connection "] form, certainly, described jack status information also can be other forms, the present invention does not do restriction.According to the jack status information, can make the user know the working condition of each home equipment.
Further, referring to workflow synoptic diagram shown in Figure 3, intelligent home furnishing control method disclosed in this invention also comprises:
Step S21, receive the short message enquiry breath of gsm module transmission, described short message enquiry breath comprises: short message enquiry breath sign, or described short message enquiry breath comprises: the identification code of short message enquiry breath sign and jack to be checked.
When the user wishes to learn the duty of each household, can utilize terminal to produce and transmit corresponding short message enquiry to cease.Gsm module can transmit it to MCU after receiving described inquiry short message.In order to distinguish the short message of described short message enquiry breath and other types, in described short message enquiry breath, comprise short message enquiry breath sign, wherein said short message enquiry breath sign can be the character that is carried in the described short message enquiry breath.
In addition, when the user need know the duty of the home equipment that all are connected with jack, described short message enquiry breath comprises short message enquiry breath sign, when the user only need know the duty of part home equipment, described short message enquiry breath comprises: short message enquiry breath sign, and the identification code of the to be checked jack corresponding with above-mentioned part home equipment.
Step S22, judge the corresponding short message transmit leg of described short message enquiry breath whether through authorizing, if, the then operation of execution in step S23, if not, then suspend this query manipulation, return execution in step S21, after receiving the short message enquiry breath again, then continue to carry out corresponding query manipulation.
Step S23, learn described note transmit leg through after authorizing in judgement, when described short message enquiry breath comprises short message enquiry breath sign, inquire about the level information of all MCU relay ports outputs, generate the jack status information that comprises all jacks accordingly; When the short breath of described inquiry comprises the identification code of short message enquiry breath sign and jack to be checked, obtain the level information of the MCU relay port output corresponding with described jack to be checked, and generation comprises the jack status information of jack to be checked accordingly.
In the described jack status information, comprise the state of corresponding each jack, the identification code of each jack corresponding with described each jack, the state of wherein said jack comprises: on-state and off-state.
Step S24, with described jack status information transmission to described gsm module, so that described gsm module transmits it to the corresponding short message transmit leg of described short message enquiry breath.
By the operation of step S21 to step S24, when the user need know the duty of home equipment, only need get final product to gsm module transmission inquery short message.MCU is after receiving described short message enquiry breath, inquire about the level information of corresponding MCU relay port output, and generate corresponding jack status information, transmit it to the user by gsm module, thereby make the user learn the break-make situation of each jack, in order to know the duty of home equipment.
Further, referring to workflow synoptic diagram shown in Figure 4, in order to improve security and the reliability in the Smart Home control procedure, before the household control short message or short message enquiry breath of described reception gsm module transmission, intelligent home furnishing control method disclosed in this invention also comprises:
Step S31, receive the mandate short message of gsm module transmission, comprise in the described mandate short message: authorize the sign of short message sign, short message transmit leg to be authorized and the unique identification coding of socket.
The unique identification coding of the described socket that comprises in step S32, the described mandate short message of judgement, whether identical with the unique identification coding of the socket that prestores among the MCU, if, the operation of execution in step S33, if not, then refuse this Authorized operation, return the operation of execution in step S31, with wait until receive next time authorize short message after, authorize again.
In MCU, store the unique identification coding of socket in advance.In addition, the short message transmit leg of described mandate be designated can unique expression transmit leg sign, the IP address of terminal for example, when described terminal was mobile phone, the sign of described transmit leg can select for use phone number to realize, the present invention does not do restriction to this.
In described mandate short message, load the unique identification coding of socket, play the effect to the authentication determination of described mandate short message.When specifically carrying out decision operation, the identification code that comprises in the described mandate short message and the identification code that is stored among the described MCU are in advance compared, when the two is identical, just continue to carry out operation afterwards.
Step S33, learn under the two identical situation in judgement, store the sign of short message transmit leg described to be authorized, so that according to the sign of short message transmit leg described to be authorized, whether the household control short message that judgement receives or the short message transmit leg of short message enquiry breath be through authorizing.
The unique identification that prestores in unique identification coding that the socket that comprises in the described mandate short message is learnt in judgement and MCU is encoded when identical, illustrate that described mandate short message is effective, then store the sign of short message transmit leg described to be authorized, in described MCU, be provided with subscriber authorisation tabulation, the sign of short message transmit leg described to be authorized is stored in the subscriber authorisation tabulation gets final product.Wherein, short message transmit leg described to be authorized be designated can unique expression transmit leg sign.When described terminal is mobile phone, described short message transmit leg be designated phone number the time, after receiving described household control short message and short message enquiry breath, when judging whether the short message transmit leg passes through mandate, check the phone number of described short message transmit leg whether to be stored among the MCU, can learn that whether described household control short message or short message enquiry breath are through authorizing.
Wherein said " the unique identification coding of socket " and " identification code of jack " are also inequality.Each socket is commonly called as terminal block, has unique socket unique identification coding, adopts long character string usually, is used for carrying out the checking when the short message transmit leg authorized, and judges user's legitimacy.In MCU, store the unique identification coding of socket in advance.Each jack on socket has the identification code of a jack, is used for distinguishing and controlling different jacks, uses when inquiry and executivecontrol function, adopts the character of weak point usually.For example, four jacks are arranged on party A-subscriber's the socket, the identification code that the unique identification of this socket is encoded to " ID123fedsa " four jacks is respectively " 1 ", " 2 ", " 3 " and " 4 ".When the party A-subscriber sends the mandate short message need for this socket, need to comprise in the described mandate short message: authorize the short message sign, the sign of short message transmit leg to be authorized and the unique identification of socket coding, in this case, described mandate short message is generally the form of [" this be authorize note "+" socket unique identification coding "+" authorization terminal number "], wherein, authorization terminal number is the sign of short message transmit leg to be authorized, therefore the terminal of using as the party A-subscriber is mobile phone, when this phone number is " 15088888888 ", then described authorization terminal number is: 15088888888, when the mandate short message that sends is [" this is to authorize note "+" ID123fedsa "+" 15088888888 "], the gsm module that receives this mandate short message transmits it to the MCU that is arranged in the socket, MCU is after receiving described mandate short message, the identification code that the identification code ID123fedsa that judgement receives stores in advance with self is identical, then checking is passed through, and terminal number " 15088888888 " is added in the subscriber authorisation tabulation.If the mandate short message that the party A-subscriber sends is [" this is to authorize note "+" IDABCDEFG "+" 15088888888 "], after MCU receives this mandate short message, judge that the identification code of storing among the unique identification coding learn the socket that wherein comprises and the MCU is inequality, then the MCU refusal is this time authorized the request of short message, authorization failure.Certainly, the mandate short message among the present invention also can other forms realize that the present invention does not do restriction.
When the party A-subscriber sent household control short message, the form with [" this is the control note "+" on/off commands "+" jack numbering "] realized usually, for example, and [" this is the control note "+" opening "+" 2 "].After receiving described household control short message, whether MCU judges the short message transmit leg through mandate by the inquiring user grant column list, and under the situation through mandate, to the MCU relay port output high level information of jack 2 correspondences, so that corresponding jack is connected.
The invention discloses a kind of intelligent home furnishing control method, this method is applied among the MCU, and described MCU is connected with gsm module, and be connected with a plurality of relays respectively by MCU relay port, wherein said MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, the other end and jack connect one to one, in the intelligent home furnishing control method disclosed in this invention, receive the short message that the user sends by gsm module, and transfer to MCU and carry out dissection process.Wherein, described short message comprises three kinds at least: authorize short message, household control short message and short message enquiry breath, when receiving described mandate short message, whether the unique identification coding of the socket that includes is wherein wrapped in check correct, and under correct situation, the sign of the short message transmit leg to be authorized that comprises in the described mandate short message is stored in the subscriber authorisation tabulation of MCU; When receiving described control short message, sign according to short message stored transmit leg in the described subscriber authorisation tabulation, judge that whether the short message transmit leg of described household control short message correspondence is through authorizing, and under the situation of authorizing, change the level of MCU relay port transmission according to described control short message, the switching of pilot relay, realize being switched on or switched off of jack, thereby realize the control to home equipment, detect the level information of each MCU relay port output afterwards, produce corresponding jack status information and transfer to long-range user by gsm module; After receiving described short message enquiry breath, sign according to short message stored transmit leg in the described subscriber authorisation tabulation, judge that whether the corresponding short message transmit leg of described short message enquiry breath is through authorizing, under the situation of authorizing, inquire about the level information of corresponding MCU relay port output, generate corresponding jack status information, and transfer to long-range user by gsm module.
Intelligent home furnishing control method disclosed according to the present invention, realization is during to the control of Smart Home, only needing at the jack place corresponding gsm module, MCU and relay to be set gets final product, need not redesign or transform home equipment, the home equipment that is connected on the jack can increase and decrease arbitrarily, makes up and change, and has realized the solution of the universal intelligent household of lightweight.
Accordingly, the invention also discloses a kind of intelligent home control device, described device is applied to MCU, described MCU is connected with gsm module, and be connected with a plurality of relays respectively by MCU relay port, described MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, the other end and jack connect one to one, referring to structural representation shown in Figure 5, described intelligent home control device comprises: first receiver module 11, first judge module 12 and level information output module 13, wherein
Described first receiver module 11, be used for receiving the household control short message of gsm module transmission, comprise in the described household control short message: the identification code of control short message sign, jack to be controlled, the control command corresponding with the identification code of described jack, described control command comprise and open or close order;
Described first judge module 12 is used for judging that whether the short message transmit leg of described household control short message correspondence is through authorizing;
Described level information output module 13, be used for learning that in judgement described short message transmit leg is through after authorizing, produce the level information corresponding with described control command, and by the MCU relay port corresponding with described jack to be controlled, described level information is transferred to corresponding relay, so that described relay is carried out corresponding the disconnection or closed procedure, realize the control to household, wherein said level information is low level information or high level information.
Intelligent home control device disclosed in this invention does not need home equipment is carried out again design or transformation, and implementation is simple, and cost is low, has realized the solution of the universal intelligent household of lightweight.
Further, intelligent home control device disclosed in this invention also comprises: detection module 14, the first status information generation module 15 and first transport module 16, wherein,
Described detection module 14 is for detection of the level information of each MCU relay port output;
The described first status information generation module 15, be used for according to described level information, generate corresponding jack status information, described jack status information comprises: the state of each jack, the identification code of described each jack, the state of wherein said jack comprises: on-state and off-state;
Described first transport module 16 is used for described jack status information transmission to described gsm module, so that described gsm module transmits it to described short message transmit leg.
Further, described intelligent home control device also comprises: second receiver module, second judge module, the second status information generation module and second transport module, wherein,
Described second receiver module be used for to receive the short message enquiry breath of gsm module transmission, and described short message enquiry breath comprises: short message enquiry breath sign, or described short message enquiry breath comprises: the identification code of short message enquiry breath sign and jack to be checked;
Described second judge module is used for judging that whether the corresponding short message transmit leg of described short message enquiry breath is through authorizing;
The described second status information generation module, be used for learning that in judgement described note transmit leg is through after authorizing, when described short message enquiry breath comprises short message enquiry breath sign, inquire about the level information of all MCU relay port outputs, generate the jack status information that comprises all jacks accordingly; When described short message enquiry breath comprises the identification code of short message enquiry breath sign and jack to be checked, obtain the level information of described MCU relay port output to be checked, and generation comprises the jack status information of jack to be checked accordingly;
Described second transport module is used for described jack status information transmission to described gsm module, so that described gsm module transmits it to the corresponding short message transmit leg of described short message enquiry breath.
Further, Smart Home device disclosed in this invention also comprises: the 3rd receiver module, the 3rd judge module and memory module, wherein,
Described the 3rd receiver module be used for to receive the mandate short message of gsm module transmission, comprises in the described mandate short message: authorize the sign of short message sign, short message transmit leg to be authorized and the unique identification coding of socket;
Described the 3rd judge module, whether the unique identification that is used for the described socket that comprises of the described mandate short message of judgement is encoded, identical with the unique identification coding of the socket that prestores among the MCU;
Described memory module, be used for learning under the two identical situation in judgement, store the sign of short message transmit leg described to be authorized, so that according to the sign of short message transmit leg described to be authorized, whether the household control short message that judgement receives or the short message transmit leg of short message enquiry breath be through authorizing.
Accordingly, the invention also discloses a kind of MCU, described MCU comprises above-mentioned intelligent home control device, wherein said intelligent home control device comprises: first receiver module 11, first judge module 12 and level information output module 13, and, described intelligent home control device can also comprise: detection module 14, the first status information generation module 15 and first transport module 16, and second receiver module, second judge module, the second status information generation module, second transport module, the 3rd receiver module, the 3rd judge module and memory module.
Accordingly, the invention also discloses a kind of intelligent home control system, referring to the disclosed structural representation of Fig. 6, described intelligent home control system comprises: aforesaid MCU1, the gsm module 2 that is connected with described MCU, and a plurality of relay 3.
Wherein, described relay 3 is connected with described MCU1 by MCU relay port, and described relay 3 connects one to one with described MCU relay port, and an end of described relay 3 is connected with live wire, and the other end is connected with corresponding jack.
Described MCU1 allocates the GSM port Port GSM that is connected with gsm module 2 in advance, realized communicating by letter between MCU1 and the gsm module 2 by Port GSM, be used for resolving the short message of described gsm module 2 transmission, and handle according to described short message, export corresponding level information, realization is to the control of relay 3, and is used for editor's jack status information, transmits it to gsm module 2.
Simultaneously, MCU1 allocates the MCU relay port Port Control that is connected with relay 3 in advance, and by Port Control, MCU1 is according to the control of the level information realization of exporting to relay 3 break-makes, thereby realization is to the control of home equipment.
Described relay 3 is generally electromagnetic relay, realize being connected by Port Control with MCU1, and according to the level information of described Port Control output, carry out corresponding the disconnection or closed procedure, thereby the break-make between control jack and the live wire realizes the control to the home equipment that is connected with jack.
Intelligent home control system disclosed in this invention, be integrated in the connector socket, realize and long-range user's communications by gsm module, and resolve the short message that receives by MCU, control the break-make of described relay according to described short message, realize the control to home equipment.In this process, do not need home equipment is carried out again design and transformation, implementation is succinct, and cost is low, has broad application prospects.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions still are that software mode is carried out with hardware actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for using distinct methods to realize described function to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and is the convenience described and succinct, and the concrete course of work of the system of foregoing description, device and unit can not repeat them here with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provides, should be understood that disclosed system, apparatus and method can realize by other mode.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or directly to be coupled or to communicate to connect can be by some interfaces, the indirect coupling of device or unit or communicate to connect can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of unit to realize the purpose of present embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.
If described function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments herein.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the wideest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. intelligent home furnishing control method, it is characterized in that, described method is applied to MCU, described MCU is connected with gsm module, and is connected with a plurality of relays respectively by MCU relay port, and described MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, the other end and jack connect one to one, and wherein, described intelligent home furnishing control method comprises:
Receive the household control short message of gsm module transmission, comprise in the described household control short message: the identification code of control short message sign, jack to be controlled, the control command corresponding with the identification code of described jack, described control command comprise and open or close order;
Judge that whether the short message transmit leg of described household control short message correspondence is through authorizing;
Learn that in judgement described short message transmit leg is through after authorizing, produce the level information corresponding with described control command, and by the MCU relay port corresponding with described jack to be controlled, described level information is transferred to corresponding relay, so that described relay is carried out corresponding the disconnection or closed procedure, realization is to the control of household, and wherein said level information is low level information or high level information.
2. method according to claim 1 is characterized in that, described described level information is transferred to corresponding relay after, described intelligent home furnishing control method also comprises:
Detect the level information of each MCU relay port output;
According to described level information, generate corresponding jack status information, described jack status information comprises: the state of each jack, the identification code of described each jack, the state of wherein said jack comprises: on-state and off-state;
With described jack status information transmission to described gsm module, so that described gsm module transmits it to described short message transmit leg.
3. method according to claim 1 is characterized in that, described intelligent home furnishing control method also comprises:
Receive the short message enquiry breath of gsm module transmission, described short message enquiry breath comprises: short message enquiry breath sign, or described short message enquiry breath comprises: the identification code of short message enquiry breath sign and jack to be checked;
Judge that whether the corresponding short message transmit leg of described short message enquiry breath is through authorizing;
Learn described note transmit leg through after authorizing in judgement, when described short message enquiry breath comprises short message enquiry breath sign, inquire about the level information of all MCU relay port outputs, generate the jack status information that comprises all jacks accordingly; When described short message enquiry breath comprises the identification code of short message enquiry breath sign and jack to be checked, obtain the level information of described MCU relay port output to be checked, and generation comprises the jack status information of jack to be checked accordingly;
Described jack status information transmission to described gsm module, so that transmitting it to described short message enquiry, described gsm module is ceased corresponding short message transmit leg.
4. according to claim 1 or 3 described methods, it is characterized in that before the household control short message or short message enquiry breath of described reception gsm module transmission, described intelligent home furnishing control method also comprises:
Receive the mandate short message of gsm module transmission, comprise in the described mandate short message: authorize the sign of short message sign, short message transmit leg to be authorized and the unique identification coding of socket;
Judge the unique identification coding of the described socket that comprises in the described mandate short message, whether identical with the unique identification coding of the socket that prestores among the MCU;
Learn under the two identical situation in judgement, store the sign of short message transmit leg described to be authorized, so that according to the sign of short message transmit leg described to be authorized, whether the household control short message that judgement receives or the short message transmit leg of short message enquiry breath be through authorizing.
5. intelligent home control device, it is characterized in that, described device is applied to MCU, described MCU is connected with gsm module, and is connected with a plurality of relays respectively by MCU relay port, and described MCU relay port and relay are corresponding one by one, and an end of described relay is connected with live wire, the other end and jack connect one to one, and wherein, described intelligent home control device comprises:
First receiver module, be used for receiving the household control short message of gsm module transmission, comprise in the described household control short message: the identification code of control short message sign, jack to be controlled, the control command corresponding with the identification code of described jack, described control command comprise and open or close order;
First judge module is used for judging that whether the short message transmit leg of described household control short message correspondence is through authorizing;
The level information output module, be used for learning that in judgement described short message transmit leg is through after authorizing, produce the level information corresponding with described control command, and by the MCU relay port corresponding with described jack to be controlled, described level information is transferred to corresponding relay, so that described relay is carried out corresponding the disconnection or closed procedure, realize the control to household, wherein said level information is low level information or high level information.
6. device according to claim 5 is characterized in that, described intelligent home control device also comprises:
Detection module is for detection of the level information of each MCU relay port output;
The first status information generation module, be used for according to described level information, generate corresponding jack status information, described jack status information comprises: the state of each jack, the identification code of described each jack, the state of wherein said jack comprises: on-state and off-state;
First transport module is used for described jack status information transmission to described gsm module, so that described gsm module transmits it to described short message transmit leg.
7. device according to claim 5 is characterized in that, described intelligent home control device also comprises:
Second receiver module be used for to receive the short message enquiry breath of gsm module transmission, and described short message enquiry breath comprises: short message enquiry breath sign, or described short message enquiry breath comprises: the identification code of short message enquiry breath sign and jack to be checked;
Second judge module is used for judging that whether the corresponding short message transmit leg of described short message enquiry breath is through authorizing;
The second status information generation module, be used for learning that in judgement described note transmit leg is through after authorizing, when described short message enquiry breath comprises short message enquiry breath sign, inquire about the level information of all MCU relay port outputs, generate the jack status information that comprises all jacks accordingly; When described short message enquiry breath comprises the identification code of short message enquiry breath sign and jack to be checked, obtain the level information of described MCU relay port output to be checked, and generation comprises the jack status information of jack to be checked accordingly;
Second transport module is used for described jack status information transmission to described gsm module, so that described gsm module transmits it to the corresponding short message transmit leg of described short message enquiry breath.
8. according to claim 5 or 7 described devices, it is characterized in that described Smart Home device also comprises:
The 3rd receiver module be used for to receive the mandate short message of gsm module transmission, comprises in the described mandate short message: authorize the sign of short message sign, short message transmit leg to be authorized and the unique identification coding of socket;
The 3rd judge module, whether the unique identification that is used for the described socket that comprises of the described mandate short message of judgement is encoded, identical with the unique identification coding of the socket that prestores among the MCU;
Memory module, be used for learning under the two identical situation in judgement, store the sign of short message transmit leg described to be authorized, so that according to the sign of short message transmit leg described to be authorized, whether the household control short message that judgement receives or the short message transmit leg of short message enquiry breath be through authorizing.
9. a MCU is characterized in that, comprising:
As claim 5 to each described intelligent home control device of claim 8.
10. an intelligent home control system is characterized in that, comprising:
MCU as claimed in claim 9;
The gsm module that is connected with described MCU;
By a plurality of relays that MCU relay port is connected with described MCU, described relay and described MCU relay port connect one to one, and an end of described relay is connected with live wire, and the other end is connected with corresponding jack.
CN201310150829.5A 2013-04-26 2013-04-26 Intelligent home furnishing control method, device, MCU and system Active CN103235584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310150829.5A CN103235584B (en) 2013-04-26 2013-04-26 Intelligent home furnishing control method, device, MCU and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310150829.5A CN103235584B (en) 2013-04-26 2013-04-26 Intelligent home furnishing control method, device, MCU and system

Publications (2)

Publication Number Publication Date
CN103235584A true CN103235584A (en) 2013-08-07
CN103235584B CN103235584B (en) 2016-02-10

Family

ID=48883630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310150829.5A Active CN103235584B (en) 2013-04-26 2013-04-26 Intelligent home furnishing control method, device, MCU and system

Country Status (1)

Country Link
CN (1) CN103235584B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988373A (en) * 2016-07-17 2016-10-05 太原科技大学 Bluetooth intelligent home power supply management system on Android APP and control method thereof
CN106646021A (en) * 2016-10-19 2017-05-10 青岛海信移动通信技术股份有限公司 Card support detection method and device
CN108900940A (en) * 2018-06-21 2018-11-27 珠海市杰理科技股份有限公司 A kind of audio input circuit of the straight ear pushing machine of direct-coupling MCU
CN110597205A (en) * 2019-09-16 2019-12-20 上海庆科信息技术有限公司 Control method and device of intelligent power strip, processor and intelligent power strip
CN113391559A (en) * 2021-06-30 2021-09-14 青岛海信智慧生活科技股份有限公司 Smart home equipment control method and terminal equipment
CN114719396A (en) * 2022-03-17 2022-07-08 北京小米移动软件有限公司 Air conditioner control method and device
CN117555309A (en) * 2024-01-12 2024-02-13 北京中航泰瑞电子技术有限公司 Multi-way switch control optimization method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892719A (en) * 2005-07-01 2007-01-10 海尔集团公司 Method and apparatus for controlling domestic electric appliance using short message
CN201307685Y (en) * 2008-09-26 2009-09-09 鲁东大学 Intelligent power socket based on short message service (SMS) control
CN101616381A (en) * 2008-06-23 2009-12-30 中国移动通信集团重庆有限公司 A kind of tele-control system and method based on short message
US20100124938A1 (en) * 2008-11-20 2010-05-20 Chien-Hsun Wu Method and Related Apparatus for Managing Short Messages in a Mobile Communication System
US20100240403A1 (en) * 2009-03-18 2010-09-23 Jihye Yu Mobile terminal, communication system and method of managing missing mode using same
CN102355644A (en) * 2011-10-17 2012-02-15 张光前 Method based on short message remote control power converter and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892719A (en) * 2005-07-01 2007-01-10 海尔集团公司 Method and apparatus for controlling domestic electric appliance using short message
CN101616381A (en) * 2008-06-23 2009-12-30 中国移动通信集团重庆有限公司 A kind of tele-control system and method based on short message
CN201307685Y (en) * 2008-09-26 2009-09-09 鲁东大学 Intelligent power socket based on short message service (SMS) control
US20100124938A1 (en) * 2008-11-20 2010-05-20 Chien-Hsun Wu Method and Related Apparatus for Managing Short Messages in a Mobile Communication System
US20100240403A1 (en) * 2009-03-18 2010-09-23 Jihye Yu Mobile terminal, communication system and method of managing missing mode using same
CN102355644A (en) * 2011-10-17 2012-02-15 张光前 Method based on short message remote control power converter and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988373A (en) * 2016-07-17 2016-10-05 太原科技大学 Bluetooth intelligent home power supply management system on Android APP and control method thereof
CN106646021A (en) * 2016-10-19 2017-05-10 青岛海信移动通信技术股份有限公司 Card support detection method and device
CN106646021B (en) * 2016-10-19 2019-09-20 青岛海信移动通信技术股份有限公司 A kind of Kato detection method and device
CN108900940A (en) * 2018-06-21 2018-11-27 珠海市杰理科技股份有限公司 A kind of audio input circuit of the straight ear pushing machine of direct-coupling MCU
CN110597205A (en) * 2019-09-16 2019-12-20 上海庆科信息技术有限公司 Control method and device of intelligent power strip, processor and intelligent power strip
CN113391559A (en) * 2021-06-30 2021-09-14 青岛海信智慧生活科技股份有限公司 Smart home equipment control method and terminal equipment
CN114719396A (en) * 2022-03-17 2022-07-08 北京小米移动软件有限公司 Air conditioner control method and device
CN117555309A (en) * 2024-01-12 2024-02-13 北京中航泰瑞电子技术有限公司 Multi-way switch control optimization method and system
CN117555309B (en) * 2024-01-12 2024-03-29 北京中航泰瑞电子技术有限公司 Multi-way switch control optimization method and system

Also Published As

Publication number Publication date
CN103235584B (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN103235584A (en) Intelligent furniture control method, device, microprogrammed control unit (MCU) and system
US20160132029A1 (en) Method for configuring and controlling smart home products
CN104426750A (en) Method, equipment and system for instant messaging
CN103973748A (en) Intelligent home system and monitoring method implemented by same
CN204189289U (en) A kind of WIFI universal remote control device and control system
CN104503378A (en) Robot and household electrical appliance control method based on robot
CN103699097A (en) Intelligent home control system and method
CN104157115A (en) Cloud service based networked all-purpose remote control device and method
CN102891796A (en) Mining intelligent transmission gateway
Lien et al. Remotely controllable outlet system for home power management
CN104332045A (en) Intelligent infrared remote controlsystem based on wireless network and method
CN101425223A (en) Wireless remote controller
CN203149804U (en) Wireless remote controller
CN104267694A (en) Intelligent home management system
CN103561088A (en) Remote control method and device based on account number log-in
CN203135915U (en) Intelligent household gateway
CN103561087A (en) Equipment interconnection method and device
CN203931168U (en) A kind of Radio infrared control terminal
CN203732953U (en) Intelligent home control system
CN110636147A (en) Network distribution method and device of double-control switch, switch and intelligent switch system
CN105024236A (en) Automatic code matching intelligent socket and automatic code matching method thereof
CN105591847A (en) Household appliance remote control system and method thereof
CN205787665U (en) A kind of intelligent home control switch based on Internet of Things
CN207319445U (en) A kind of intelligent infrared ray remote control system
CN203490829U (en) Intelligent infrared integration control terminal equipment

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