A kind of intelligent home furnishing control method and system
Technical field
The invention belongs to smart home fields, more particularly, to a kind of intelligent home furnishing control method and system.
Background technique
Nowadays, smart home category is complicated, there is Wi-Fi equipment, zigbee equipment, z-wave equipment etc..User buys every
A single-item class smart machine all individually controls, and every kind of brand has an APP, and is not in contact between equipment, to realize
Smart home must just buy the smart machine of same ecology, otherwise multiple APP or purchase other equipment will be used corresponding
Gateway.Smart home scheme protocol disunity can not form an entirety between each equipment, and user experience is lower.
The patent of publication number CN108055181A discloses a kind of smart home wireless control system, each sensor node
Between connection wireless transport module in a manner of ad hoc network with master controller connect and compose home Intranet;Sensor section
Collected data are wirelessly transmitted to master controller through home Intranet by point;Equipment working condition AM access module is used for
Access the real time execution floor data of each equipment;Information acquisition module acquires specified monitoring management section for detection at regular time and quantity
Voltage, electric current, frequency, load, electric field strength and magnetic field strength;Remote server is centrally stored described for receiving and standardizing
Data transmitted by master controller, while being calculated and being conducive to using more grouping differential evolution algorithm optimizations according to these data
Improve the device cluster combined dispatching scheme of household situation.The achievable user of the invention carries out browsing by different intelligent terminal and checks
And the function of indoor equipment is controlled, while having the advantages that client operation is at low cost, maintenance cost is low etc..But the invention is only applicable in
In Wi-Fi protocol-intelligent equipment, the linkage of more category smart home products cannot achieve.
Compared with prior art, the present invention is by an agreement coordinator built in wireless router, while by that can expand
The USB interface of exhibition carries out the extension of communication firmware, the agreements such as parameter information of the command information of switch endpoint equipment, smart machine
Content meets the demand of user, improves the experience of user to realize that the agreement of various equipment is unified and manages.
Summary of the invention
For the disadvantages described above and Improvement requirement of the prior art, the present invention provides a kind of intelligent home furnishing control method and is
System, its purpose is to provide the Intelligent housings that a kind of agreement that can be realized each category smart home device is unified and manages
Thus method solves the problems, such as that control category of the existing technology is single.
To achieve the above object, the present invention provides a kind of intelligent home furnishing control methods, including step:
S1. the command information that receiving terminal apparatus is sent;
S2. the received command information is parsed, and is converted to the intelligence specified in the received command information
It can the identifiable instruction of equipment;
S3., the instruction being converted into is sent to the smart machine specified in described instruction information.
It further, further include step before step S1:
The parameter information that smart machine is sent is received, and is converted to the identifiable parameter information of terminal device.
It further, further include step before step S1:
The parameter information being converted into is sent to terminal device, so that user knows the equipment state of smart machine.
It further, after step s 3, further include step:
Receive the instruction execution result that the specified smart machine of described instruction information returns.
It further, after step s 3, further include step:
The received instruction execution result is fed back into terminal device.
Correspondingly, a kind of intelligent home control system is additionally provided, including:
First receiving module, the command information sent for receiving terminal apparatus;
Parsing module, for parsing the received command information;
Conversion module, for the received command information to be converted to the intelligence specified in the received command information
The identifiable instruction of equipment;
First sending module is set for the instruction being converted into be sent to the intelligence specified in described instruction information
It is standby.
Further, further include:
Second receiving module, for receiving the parameter information of smart machine transmission;
Conversion module, for the received parameter information to be converted to the identifiable parameter information of terminal device.
Further, further include:
Second sending module, for the parameter information being converted into be sent to terminal device.
Further, further include:
Third receiving module, the instruction execution result returned for receiving the specified smart machine of described instruction information.
Further, further include:
Feedback module, for the received instruction execution result to be fed back to terminal device.
Compared with prior art, the present invention having the following advantages:
Communication firmware is carried out in an agreement coordinator built in wireless router, while by expansible USB interface
Extension, the protocol contents such as parameter information of the command information of switch endpoint equipment, smart machine, to realize the association of various equipment
View is unified and manages, and meets the demand of user, improves the experience of user.
Detailed description of the invention
Fig. 1 is a kind of intelligent home furnishing control method flow chart that embodiment one provides;
Fig. 2 is a kind of intelligent home control system structure chart that embodiment one provides;
Fig. 3 is a kind of intelligent home furnishing control method flow chart that embodiment two provides;
Fig. 4 is a kind of intelligent home control system structure chart that embodiment two provides.
Specific embodiment
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
Embodiment one
The present embodiment provides a kind of intelligent home furnishing control methods, as shown in Figure 1, including step:
S11. the command information that receiving terminal apparatus is sent;
S12. the received command information is parsed, and is converted to the intelligence specified in the received command information
It can the identifiable instruction of equipment;
S13., the instruction being converted into is sent to the smart machine specified in described instruction information.
The software of a built-in agreement coordinator in wireless router, the dynamically load of the software support protocol-driven,
Zigbee agreement conversion driving, z-wave protocol conversion driving can be loaded.Terminal device can be used to send command information for user, when
After wireless router receives the command information of terminal device transmission, the command information received is parsed, is known with this
User wants the specific smart machine of control, then according to the type of the smart machine, is coordinated by the agreement of preset configuration
Received command information is converted into the identifiable instruction of the smart machine by device software.
After conversion instruction success, then the instruction converted is sent to the smart machine that user specifies.Due to wireless routing
Therefore device itself can not carry out direct communication with the smart machine of all categories can be led to by expansible USB interface
The extension for believing firmware, is achieved in the communication of wireless router Yu each category smart machine.
User is not necessarily to download a variety of APP or buys different gateway products individually to control Household intelligent device, and
Direct communication only can be carried out by a cell phone application and wireless router, and finally realize the control to whole smart machines.
It further, further include step before step S11:
The parameter information that smart machine is sent is received, and is converted to the identifiable parameter information of terminal device.
It further, further include step before step S11:
The parameter information being converted into is sent to terminal device, so that user knows the equipment state of smart machine.
Before user issues command information by terminal device, smart machine first reports parameter to believe to wireless router
Breath, is then converted to the identifiable parameter information of terminal device by wireless router, and the parameter information that will convert into is sent to
Terminal device, user can know the current state of smart machine as a result, determine how convenient for user and set to the intelligence of desired control
Preparation goes out control instruction.
Correspondingly, a kind of intelligent home control system is also provided, as shown in Fig. 2, including:
First receiving module 11, the command information sent for receiving terminal apparatus;
Parsing module 12, for parsing the received command information;
Conversion module 13, for the received command information to be converted to the intelligence specified in the received command information
It can the identifiable instruction of equipment;
First sending module 14 is set for the instruction being converted into be sent to the intelligence specified in described instruction information
It is standby.
The command information that first receiving module, 11 receiving terminal apparatus is sent, by parsing module 12 by the first receiving module 11
The command information received is parsed, according to parsing module 12 parse as a result, conversion module 13 to command information into
Row conversion, is converted into the identifiable instruction of smart machine specified in the received command information, then by the first sending module
14 instructions for generating conversion module 13 are sent to the smart machine specified in the received command information.
Further, further include:
Second receiving module 15, for receiving the parameter information of smart machine transmission;
Conversion module 13, for the received parameter information to be converted to the identifiable parameter information of terminal device.
Further, further include:
Second sending module 16, for the parameter information being converted into be sent to terminal device.
Second receiving module 15 receives the parameter information that smart machine is sent, and is sent to conversion module 13 to received parameter
Information is converted, and the identifiable parameter information of terminal device is converted into, and is believed by the parameter that the second sending module 16 will convert into
Breath is sent to terminal device, so that user knows the equipment state and relevant device information of smart machine.
The present embodiment by an agreement coordinator built in wireless router, while by expansible USB interface into
The extension of row communication firmware, the protocol contents such as parameter information of the command information of switch endpoint equipment, smart machine, to realize
The agreement of various equipment is unified and manages, and meets the demand of user, improves the experience of user.
Embodiment two
The present embodiment provides a kind of intelligent home furnishing control methods, as shown in figure 3, including step:
S21. the command information that receiving terminal apparatus is sent;
S22. the received command information is parsed, and is converted to the intelligence specified in the received command information
It can the identifiable instruction of equipment;
S23., the instruction being converted into is sent to the smart machine specified in described instruction information.
It further, further include step before step S21:
The parameter information that smart machine is sent is received, and is converted to the identifiable parameter information of terminal device.
It further, further include step before step S21:
The parameter information being converted into is sent to terminal device, so that user knows the equipment state of smart machine.
It further, further include step after step S23:
S24. the instruction execution result that the specified smart machine of described instruction information returns is received.
It further, further include step after step S23:
S25. the received instruction execution result is fed back into terminal device.
What is different from the first embodiment is that further including step S24, S25.
S24. the instruction execution result that the specified smart machine of described instruction information returns is received.
S25. the received instruction execution result is fed back into terminal device.
When the identifiable instruction of smart machine specified in the received command information that wireless router will convert into
After being sent to the smart machine, implementing result is returned to wireless router, then by nothing then according to instruction execution by smart machine
The instruction execution result received is fed back to terminal device by line router, so as to user know instruction execution as a result, going forward side by side
One step judges whether need to carry out next step instruction.
The present embodiment the advantage is that compared to embodiment one:
It is described specified after user is sent to specified smart home device by the command information that terminal device issues
Smart home device, which needs to execute to the instruction of user and the result of instruction execution is fed back to user, to be known, so as to user
Judge whether to need to carry out further operating, in this way, meeting the demand of user, improves the experience of user.
Correspondingly, a kind of intelligent home control system is additionally provided, as shown in figure 4, including:
First receiving module 21, the command information sent for receiving terminal apparatus;
Parsing module 22, for parsing the received command information;
Conversion module 23, for the received command information to be converted to the intelligence specified in the received command information
It can the identifiable instruction of equipment;
First sending module 24 is set for the instruction being converted into be sent to the intelligence specified in described instruction information
It is standby.
Further, further include:
Second receiving module 25, for receiving the parameter information of smart machine transmission;
Conversion module 23, for the received parameter information to be converted to the identifiable parameter information of terminal device.
Further, further include:
Second sending module 26, for the parameter information being converted into be sent to terminal device.
Further, further include:
Third receiving module 27, the instruction execution result returned for receiving the specified smart machine of described instruction information.
Further, further include:
Feedback module 28, for the received instruction execution result to be fed back to terminal device.
What is different from the first embodiment is that further including third receiving module 27, feedback module 28.
When the instruction being converted into is sent to the smart machine specified in described instruction information by the first sending module 24
Afterwards, which is received by third receiving module 27 and sets the instruction execution result than return, then by feedback module 28 by the reception
Instruction instruction results feed back to terminal device.
It is described specified after user is sent to specified smart home device by the command information that terminal device issues
Smart home device, which needs to execute to the instruction of user and the result of instruction execution is fed back to user, to be known, so as to user
Judge whether to need to carry out further operating, in this way, meeting the demand of user, improves the experience of user.
Specific embodiment described herein is only an example for the spirit of the invention.The neck of technology belonging to the present invention
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.