CN105847019A - Intelligent equipment control method, control node and intelligent equipment - Google Patents

Intelligent equipment control method, control node and intelligent equipment Download PDF

Info

Publication number
CN105847019A
CN105847019A CN201610238268.8A CN201610238268A CN105847019A CN 105847019 A CN105847019 A CN 105847019A CN 201610238268 A CN201610238268 A CN 201610238268A CN 105847019 A CN105847019 A CN 105847019A
Authority
CN
China
Prior art keywords
control
request
smart machine
mdns
module
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.)
Pending
Application number
CN201610238268.8A
Other languages
Chinese (zh)
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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201610238268.8A priority Critical patent/CN105847019A/en
Publication of CN105847019A publication Critical patent/CN105847019A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an intelligent equipment control method, a control node and intelligent equipment. The intelligent equipment control method applied to the control node side comprises the steps of: selecting the controlled intelligent equipment from the discovered intelligent equipment; broadcasting a control request to the discovered intelligent equipment, so that that the controlled intelligent equipment completes control response, wherein the control request carries identity identification information of the controlled intelligent equipment; and receiving control response result information send by the controlled intelligent equipment in a unicast manner. The intelligent equipment control method, the control node and the intelligent equipment realize the unicity of a discovery protocol and a control protocol, reduce software development cost, are low in learning cost, reduce network overhead and enhance the user experience.

Description

Smart machine control method, control node and smart machine
Technical field
The present invention relates to communication field, particularly relate to a kind of smart machine control method, control node and intelligence Can equipment.
Background technology
Along with technology of Internet of things fast development, invent substantial amounts of smart machine.But due to Internet of Things field, Neither one world-accepted standard agreement, causes the agreement that externally can control equipment that each manufacturer formulates, All different styles, difference is huge;Different vendor's smart machine, the intelligence of the most identical producer different model sets Standby, it is achieved to interconnect, all become abnormal difficult.
Summary of the invention
Present invention aim at a kind of smart machine control method being provided, controlling node and smart machine, in order to Realize the intercommunication controlling node with smart machine.
The object of the invention is mainly achieved through the following technical solutions:
According to an aspect of the present invention, the present invention provides a kind of smart machine control method, is applied to control Node side, including:
Controlled smart machine is chosen in the smart machine found;
To the smart machine Broadcasting Control request found, so that described controlled smart machine completes to control response; The described identification information controlling to carry described controlled smart machine in request;
Receive the control response results information that described controlled smart machine clean culture sends.
According to another aspect of the present invention, the present invention also provides for a kind of smart machine control method, is applied to Smart machine side, including:
Receive the control request of the control node broadcasts found;
According to the identification information of the described controlled smart machine carried in control request, confirm described control Whether request is sent to this equipment;
In the case of confirming as being, control request according to described, complete to control response;
Control response results information is sent to controlling node clean culture.
According to another aspect of the present invention, the present invention also provides for a kind of control node, including:
Equipment choice module, for choosing controlled smart machine in the smart machine found;
Control request module, for asking to the smart machine Broadcasting Control found, so that described controlled intelligence Equipment completes to control response;The described identification information controlling to carry described controlled smart machine in request;
Result receiver module, for receiving the control response results information that described controlled smart machine clean culture sends.
According to a further aspect of the invention, the present invention also provides for a kind of smart machine, including:
Request receiver module, for receiving the control request of the control node broadcasts of discovery;
Identity validation module, for the identity according to the described controlled smart machine carried in control request Information, confirms described control asks whether be sent to this equipment;
Control respond module, in the case of confirming as being, control request according to described, complete to control Accordingly;
Result sending module, for controlling node clean culture transmission control response results information.
The present invention has the beneficial effect that:
Control method of the present invention, control node and smart machine and achieve and find the single of agreement and control protocol Property, reduce software development cost and learning cost is low, reduce network overhead, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of smart machine control method in the embodiment of the present invention one;
Fig. 2 is the flow chart of a kind of smart machine control method in the embodiment of the present invention two;
Fig. 3 is the mDNS network signal controlling node in the embodiment of the present invention with multiple smart machines composition Figure;
Fig. 4 is a kind of structural representation controlling node in the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of smart machine in the embodiment of the present invention.
Detailed description of the invention
In order to realize the intercommunication controlling node with smart machine, the invention provides a kind of smart machine controlling party Method, control node and smart machine, below in conjunction with accompanying drawing and embodiment, carried out the present invention the most in detail Describe in detail bright.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, does not limit this Invention.
Embodiment one
The embodiment of the present invention provides a kind of smart machine control method, is applied to control node side, including:
S101, chooses controlled smart machine in the smart machine found;
S102, to the smart machine Broadcasting Control request found, so that described controlled smart machine completes to control Response;The described identification information controlling to carry described controlled smart machine in request;
S103, receives the control response results information that described controlled smart machine clean culture sends.
The embodiment of the present invention achieves discovery agreement and the unicity of control protocol, reduce software development cost and Learning cost is low, reduces network overhead, improves Consumer's Experience.Specifically:
It (can be mobile phone, panel computer, PDA that the embodiment of the present invention can effectively solve existing control node Deng mobile terminal) and the following shortcoming of smart machine (including intelligent appliance) interactive controlling:
1, different vendor defines the privately owned Internet of Things intelligent appliance discovery agreement of oneself, will find how many factories The smart machine of business, it is necessary to compatible how many kinds of finds agreement.
2, different vendor defines the privately owned Internet of Things intelligent appliance control protocol of oneself, controls how many The smart machine of manufacturer, it is necessary to compatible how many kinds of control protocol.
3, there is the situation that multiple standards coexists, ' confusion ' that the most publicly-owned agreement, proprietary protocol coexist, Causing a series of intelligent appliance, the cost of compatible protocol is excessive.
4, the broadcast transmission of discovery feature, reception mechanism are realized, owing to being the privately owned realization of each manufacturer, May cause not optimizing, or optimize unreasonable, easily induction udp storm, causes Network Abnormal Problem.
5, the heading length of Interactive Control Protocol is excessive, and unreasonable structure etc. causes long data packet to be spent Greatly, cause TCP mortality from protocol layer too high, impact and the success rate of intelligent appliance interactive controlling.
Wherein, before the described step choosing controlled smart machine in the smart machine found, it is also possible to bag Include:
Based on mDNS agreement, find some smart machines;
Described to the smart machine Broadcasting Control request found, specifically include:
Create and perform to specify for controlling controlled smart machine the mDNS of function to control request-reply bag;
Broadcast described mDNS to the smart machine found and control request-reply bag.
The embodiment of the present invention, when above-mentioned implementing, by mDNS protocol realization interactive controlling, is so sent out Now can be based on mDNS agreement with interactive controlling, it is achieved that the unicity of agreement;Both can utilize simultaneously The a large amount of ripe mDNS having increase income storehouse, reduce software development cost;And realize having supported mDNS The quickly accessing of smart machine;And using general disclosed mDNS agreement, learning cost is low, reduces Network overhead, improves Consumer's Experience.
General, control node, when smart machine Broadcasting Control is asked, all can carry control in controlling request Information processed, wherein carrying mode can use prior art, but preferably employs as follows in embodiments of the present invention Mode:
Receive the identification information of described controlled smart machine broadcast;
Arranging some control instructions, each control instruction is used for controlling described controlled smart machine and performs to refer to accordingly Determine function;
The identification information of acquisition and the control instruction of setting are filled into described mDNS control to ask to answer Answer in an extra information field in bag.
Specifically, described time some control instructions are set, also include:
By the execution sequence of control instruction, each control instruction is arranged control instruction serial number;And to each Control instruction arranges corresponding appointment function title and controls parameter area accordingly, so that described controlled smart machine Order according to described control instruction serial number, corresponding appointment function title and described corresponding control parameter area, Perform to specify function accordingly.
It is to say, control instruction serial number is specially the numbering to control instruction, embodiment of the present invention method Multiple control instruction can be sent, to each control instruction setup control parameter model to same smart machine simultaneously Enclose.When sending multiple control instruction, controlled smart machine can be made to perform control instruction according to order.
Control parameter area and include that controlling smart machine completes to specify the parameter area of function and/or complete to specify Function executing time etc., such as, it is intended that function is refrigeration, controlling parameter area is 20 degree.
Furtherly, the step of the control response results information that the described controlled smart machine clean culture of described reception sends Suddenly, specifically include:
Receive the mDNS control request respond packet that described controlled smart machine clean culture sends;
Resolve described mDNS and control request respond packet, control the additional of request respond packet from described mDNS Described control response results information is parsed in information field;
Described control response results information at least includes: the identification information of controlled smart machine and controlled intelligence Can perform to specify the object information of function by equipment, it is also possible to include control instruction serial number.Wherein object information Including controlling result (such as successful, failure), the details (the most failed reason) of control result.
Embodiment two
The embodiment of the present invention provides a kind of smart machine control method, is applied to smart machine side, including:
S201, receives the control request of the control node broadcasts found;
S202, according to the identification information of the described controlled smart machine carried in control request, confirms institute State whether control request is sent to this equipment;
S203, in the case of confirming as being, controls request according to described, completes to control response;
S204, sends control response results information to controlling node clean culture.
The embodiment of the present invention achieves discovery agreement and the unicity of control protocol, reduce software development cost and Learning cost is low, reduces network overhead, improves Consumer's Experience.
Wherein, before the described step controlling request receiving the control node broadcasts found, it is also possible to including:
Based on mDNS agreement, find described control node;
The described step controlling request receiving the control node broadcasts found, specifically includes:
The mDNS receiving described control node broadcasts controls request-reply bag, thus obtains described control and ask.
Wherein, described method can also include:
Identification information to described control this equipment of node broadcasts.
The step of S202 and S203, specifically includes:
Resolve described mDNS and control request-reply bag, control the additional of request-reply bag from described mDNS The identification information of controlled smart machine and all for controlling described controlled intelligence is parsed in information field The corresponding control instruction specifying function can be performed by equipment;
The identification information of the identification information parsed with this equipment being compared, comparison result is Time consistent, determine that described control request is destined to this equipment;
In the case of confirming as being, according to parse control instruction, complete control response.
Wherein, each control instruction is provided with control instruction serial number, the corresponding function title and corresponding of specifying When controlling parameter area, what described basis parsed control instruction, complete to control the step of response, specifically Including:
According to the order of all control instruction serial numbers, perform each control instruction;
When performing each described control instruction, specify function accordingly according to what each described control instruction was arranged Title and control parameter area accordingly, performs to specify function accordingly.
Wherein, the described step sending control response results information to control node clean culture, specifically include:
Create mDNS and control request respond packet;
One that described control response results information is filled in described mDNS control request respond packet attached Add in information field;Described control response results information at least includes the identification information of this equipment and originally sets The standby object information performing corresponding appointment function;
Described mDNS control request respond packet is sent to controlling node clean culture.
Control result include control instruction serial number, the code controlling result and control the details of result. Such as: 1 for control successfully, 2 for control unsuccessfully.Details include state or the control of smart machine Failed concrete reason.
Embodiment of the present invention method has constructed effect with method in embodiment one, does not repeats them here.
Below by a concrete application examples, detailed description control node and the main-process stream of smart machine intercommunication:
1, by mDNS, control node and smart machine realizes the mutual of equipment and finds.MDNS is used for base In UDP ip multicast realize lan device and Automatic service discovery agreement.
As it is shown on figure 3, mobile phone side (control node) is it appeared that 3 equipment.
2, control node mDNS txt record (in mdns, represent one service other is attached Add information) field, fill the information of control equipment.
The control request of roller washing machine (controlled smart machine) is initiated in mobile phone side.
Adding description information:
Deviceid=[intelligent appliance uniquely identifies];
Ctrl_sn=[control instruction serial number];
Attribute_name=[needs the Property Name (specifying function title) controlled];
Attribute_value=[needs the property value (control parameter area) controlled];
3, control node is in LAN, sends mdns response bag (mDNS on the former port 5353 of udp Control request-reply bag), in order to send this packet controlling facility information.
The ttl (showing the effective time of record) of mDNS is equal to the time-out time (second) controlled.
4, all smart machines in LAN, all can receive these data.
5, smart machine receives the mdns smart machine of data and resolves the txt record in these mdns data (extra information field), sees the data whether being destined to self.
A) deviceid in txt record is resolved.
B) it is resolved to the value of deviceid, and oneself deviceid own compares.
If c) comparison is consistent, then it is assumed that be destined to oneself data own.
6, smart machine judges if being sent to the data of self, resolves data, completes to control response, This smart machine is controlled smart machine.
A) attribute_name field is resolved.
B) attribute_value field is resolved.
C) legal Property Name, property value, complete to control.
7, controlled smart machine is in the txt record field of mDNS, fills and controls result, former at udp Mdns response bag is sent on port 5353.
Adding description information:
Ctrl_sn=[control instruction serial number]
Ctrl_ack_err_code=[controls the code of result]
Ctrl_ack_err_info=[controls the details of result]
8, controlled smart machine sends (the mDNS control of mdns response bag on the former port 5353 of udp Request respond packet), in order to respond the node initiating to control request.
9, control node and receive the mdns packet controlling result, resolve txt field, obtain the knot controlled Really.
A) ctrl_sn in txt record is resolved.
B) according to ctrl_sn, find control information initial data (deviceid, atrribute_name, atrribute_value)。
C) ctrl_ack_err_code, the ctrl_ack_err_info resolved in txt record knows control result.
Embodiment three
Embodiment of the present invention offer one control node, the device embodiment of embodiment one, including:
Equipment choice module 40, for choosing controlled smart machine in the smart machine found;
Control request module 42, for asking to the smart machine Broadcasting Control found, so that described controlled intelligence Can complete to control response by equipment;The described identification information controlling to carry described controlled smart machine in request;
Result receiver module 44, for receiving the control response results letter that described controlled smart machine clean culture sends Breath.
Specifically, described node can also include equipment discovery module, for based on mDNS agreement, finds Some smart machines;
Wherein, described control request module includes:
Request-reply bag creation module, for creating for controlling controlled smart machine execution appointment function MDNS controls request-reply bag;With
Response bag sending module, controls request-reply bag for broadcasting described mDNS to the smart machine found.
Wherein, described request-reply bag creation module includes:
Identity information acquisition module, for receiving the identification information of described controlled smart machine broadcast;
Instruction arranges module, is used for arranging some control instructions, and each control instruction is used for controlling described controlled Smart machine performs to specify function accordingly;
Control information packing module, is filled into institute with by the identification information of acquisition and the control instruction of setting State in the extra information field that mDNS controls in request-reply bag.
Described instruction arranges module and is additionally operable to, by the execution sequence of control instruction, each control instruction is arranged control Job sequence number processed;And each control instruction is arranged corresponding appointment function title and corresponding control parameter model Enclose, so that described controlled smart machine is according to the order of described control instruction serial number, specify function name accordingly Claim and described corresponding control parameter area, perform to specify function accordingly.
Described result receiver module includes:
Respond packet receiver module, the mDNS sent for receiving described controlled smart machine clean culture controls request Respond packet;
Respond packet parsing module, is used for resolving described mDNS and controls request respond packet, from described mDNS Described control response results information is parsed in controlling the extra information field of request respond packet;Described control rings Object information is answered at least to include: identification information and the controlled smart machine of controlled smart machine perform appointment The object information of function.
Embodiment four
The embodiment of the present invention provides a kind of smart machine, implements the device embodiment of two correspondences, including:
Request receiver module 50, for receiving the control request of the control node broadcasts of discovery;
Identity validation module 52, for the identity mark according to the described controlled smart machine carried in control request Knowledge information, confirms described control asks whether be sent to this equipment;
Control respond module 54, in the case of confirming as being, control request according to described, complete control System response;
Result sending module 56, for controlling node clean culture transmission control response results information.
Specifically, described equipment can also include node discovery module, for based on mDNS agreement, finds Described control node;
Described request receiver module controls request specifically for the mDNS receiving described control node broadcasts should Answer bag, thus obtain described control and ask.
Described equipment also includes identity information sending module;Described identity validation module includes controlling information analysis Module and identities match module:
Described identity information sending module, for the identification information of described control this equipment of node broadcasts;
Described control information analysis module, is used for resolving described mDNS and controls request-reply bag, from described The identity letter of controlled smart machine is parsed in the extra information field of mDNS control request-reply bag Breath and all control instructions performing corresponding appointment function for controlling described controlled smart machine;
Described identities match module, for the identity letter of the identification information that will parse and this equipment Breath is compared, and when comparison result is consistent, determines that described control request is destined to this equipment;
Described control respond module, specifically in the case of confirming as being, according to parse control Instruction, completes to control response.
Wherein, each control instruction is provided with control instruction serial number, the corresponding function title and corresponding of specifying When controlling parameter area, described control respond module is specifically for according to all control instruction serial numbers Sequentially, each control instruction is performed;
When performing each described control instruction, specify function accordingly according to what each described control instruction was arranged Title and control parameter area accordingly, performs to specify function accordingly.
Wherein, described result sending module includes:
Respond packet creation module, is used for creating mDNS and controls request respond packet;
Response message packing module, controls for described control response results information is filled into described mDNS In an extra information field in request respond packet;Described control response results information at least includes this equipment Identification information and this equipment perform the corresponding object information specifying function;
Respond packet sending module, for controlling node clean culture transmission described mDNS control request respond packet.
Embodiment three and embodiment four refering to embodiment one, possess embodiment one and embodiment when implementing The technique effect of two, does not repeats them here.
Although being example purpose, more than have been disclosed for the preferred embodiments of the present invention, but the technology of this area Personnel will be recognized by various improvement, increase and replace also is possible, and therefore, the scope of the present invention should not It is limited to above-described embodiment.

Claims (20)

1. a smart machine control method, is applied to control node side, it is characterised in that including:
Controlled smart machine is chosen in the smart machine found;
To the smart machine Broadcasting Control request found, so that described controlled smart machine completes to control response; The described identification information controlling to carry described controlled smart machine in request;
Receive the control response results information that described controlled smart machine clean culture sends.
2. the method for claim 1, it is characterised in that described to the smart machine broadcast found Control the step of request, specifically include:
Create and perform to specify for controlling controlled smart machine the mDNS of function to control request-reply bag;
Broadcast described mDNS to the smart machine found and control request-reply bag.
3. method as claimed in claim 2, it is characterised in that described establishment is used for controlling controlled intelligence Equipment performs the step specifying the mDNS of function to control request-reply bag, also includes:
Receive the identification information of described controlled smart machine broadcast;
Arranging some control instructions, each control instruction is used for controlling described controlled smart machine and performs to refer to accordingly Determine function;
The identification information of acquisition and the control instruction of setting are filled into described mDNS control to ask to answer Answer in an extra information field in bag.
4. method as claimed in claim 3, it is characterised in that described time some control instructions are set, Also include:
By the execution sequence of control instruction, each control instruction is arranged control instruction serial number;And to each Control instruction arranges corresponding appointment function title and controls parameter area accordingly, so that described controlled smart machine Order according to described control instruction serial number, corresponding appointment function title and described corresponding control parameter area, Perform to specify function accordingly.
5. the method as described in claim 1-4 any one, it is characterised in that the described quilt of described reception The step of the control response results information that control smart machine clean culture sends, specifically includes:
Receive the mDNS control request respond packet that described controlled smart machine clean culture sends;
Resolve described mDNS and control request respond packet, control the additional of request respond packet from described mDNS Described control response results information is parsed in information field;
Described control response results information at least includes: the identification information of controlled smart machine and controlled intelligence Can perform to specify the object information of function by equipment.
6. a smart machine control method, is applied to smart machine side, it is characterised in that including:
Receive the control request of the control node broadcasts found;
According to the identification information of the described controlled smart machine carried in control request, confirm described control Whether request is sent to this equipment;
In the case of confirming as being, control request according to described, complete to control response;
Control response results information is sent to controlling node clean culture.
7. method as claimed in claim 6, it is characterised in that the control node that described reception finds is wide The step controlling request broadcast, specifically includes:
The mDNS receiving described control node broadcasts controls request-reply bag, thus obtains described control and ask.
8. method as claimed in claim 7, it is characterised in that described according to controlling to carry in request The identification information of described controlled smart machine, confirms the described step controlling and asking whether be sent to this equipment Before Zhou, also include:
Identification information to described control this equipment of node broadcasts;
The described identification information according to the described controlled smart machine carried in control request, confirms described Control whether request is sent to this equipment;In the case of confirming as being, control request according to described, complete Control the step of response, specifically include:
Resolve described mDNS and control request-reply bag, control the additional of request-reply bag from described mDNS The identification information of controlled smart machine and all for controlling described controlled intelligence is parsed in information field The corresponding control instruction specifying function can be performed by equipment;
The identification information of the identification information parsed with this equipment being compared, comparison result is Time consistent, determine that described control request is destined to this equipment;
In the case of confirming as being, according to parse control instruction, complete control response.
9. method as claimed in claim 8, it is characterised in that each control instruction is provided with control When job sequence number, corresponding appointment function title and corresponding control parameter area, the control that described basis parses System instruction, completes to control the step of response, specifically includes:
According to the order of all control instruction serial numbers, perform each control instruction;
When performing each described control instruction, specify function accordingly according to what each described control instruction was arranged Title and control parameter area accordingly, performs to specify function accordingly.
10. the method as described in claim 6-9 any one, it is characterised in that described to controlling node Clean culture sends the step controlling response results information, specifically includes:
Create mDNS and control request respond packet;
One that described control response results information is filled in described mDNS control request respond packet attached Add in information field;Described control response results information at least includes the identification information of this equipment and originally sets The standby object information performing corresponding appointment function;
Described mDNS control request respond packet is sent to controlling node clean culture.
11. 1 kinds control node, it is characterised in that including:
Equipment choice module, for choosing controlled smart machine in the smart machine found;
Control request module, for asking to the smart machine Broadcasting Control found, so that described controlled intelligence Equipment completes to control response;The described identification information controlling to carry described controlled smart machine in request;
Result receiver module, for receiving the control response results information that described controlled smart machine clean culture sends.
12. nodes as claimed in claim 11, it is characterised in that described control request module includes:
Request-reply bag creation module, for creating for controlling controlled smart machine execution appointment function MDNS controls request-reply bag;With
Response bag sending module, controls request-reply bag for broadcasting described mDNS to the smart machine found.
13. nodes as claimed in claim 12, it is characterised in that described request-reply bag creation module Including:
Identity information acquisition module, for receiving the identification information of described controlled smart machine broadcast;
Instruction arranges module, is used for arranging some control instructions, and each control instruction is used for controlling described controlled Smart machine performs to specify function accordingly;
Control information packing module, is filled into institute with by the identification information of acquisition and the control instruction of setting State in the extra information field that mDNS controls in request-reply bag.
14. nodes as claimed in claim 13, it is characterised in that described instruction arranges module and is additionally operable to By the execution sequence of control instruction, each control instruction is arranged control instruction serial number;And to each control Instruction is arranged corresponding specify function title and controls parameter area accordingly so that described controlled smart machine according to The order of described control instruction serial number, corresponding appointment function title and described corresponding control parameter area, hold Row specifies function accordingly.
15. nodes as described in claim 11-14 any one, it is characterised in that described result receives Module includes:
Respond packet receiver module, the mDNS sent for receiving described controlled smart machine clean culture controls request Respond packet;
Respond packet parsing module, is used for resolving described mDNS and controls request respond packet, from described mDNS Described control response results information is parsed in controlling the extra information field of request respond packet;Described control rings Object information is answered at least to include: identification information and the controlled smart machine of controlled smart machine perform appointment The object information of function.
16. 1 kinds of smart machines, it is characterised in that including:
Request receiver module, for receiving the control request of the control node broadcasts of discovery;
Identity validation module, for the identity according to the described controlled smart machine carried in control request Information, confirms described control asks whether be sent to this equipment;
Control respond module, in the case of confirming as being, control request according to described, complete to control Response;
Result sending module, for controlling node clean culture transmission control response results information.
17. equipment as claimed in claim 16, it is characterised in that described request receiver module is specifically used Control request-reply bag in the mDNS receiving described control node broadcasts, thus obtain described control and ask.
18. equipment as claimed in claim 17, it is characterised in that described equipment also includes identity information Sending module;Described identity validation module includes controlling information analysis module and identities match module:
Described identity information sending module, for the identification information of described control this equipment of node broadcasts;
Described control information analysis module, is used for resolving described mDNS and controls request-reply bag, from described The identity letter of controlled smart machine is parsed in the extra information field of mDNS control request-reply bag Breath and all control instructions performing corresponding appointment function for controlling described controlled smart machine;
Described identities match module, for the identity letter of the identification information that will parse and this equipment Breath is compared, and when comparison result is consistent, determines that described control request is destined to this equipment;
Described control respond module, specifically in the case of confirming as being, according to parse control Instruction, completes to control response.
19. equipment as claimed in claim 18, it is characterised in that each control instruction is provided with control When job sequence number processed, corresponding appointment function title and corresponding control parameter area, described control response Module, specifically for the order according to all control instruction serial numbers, performs each control instruction;
When performing each described control instruction, specify function accordingly according to what each described control instruction was arranged Title and control parameter area accordingly, performs to specify function accordingly.
20. equipment as described in claim 16-19 any one, it is characterised in that described result sends Module includes:
Respond packet creation module, is used for creating mDNS and controls request respond packet;
Response message packing module, controls for described control response results information is filled into described mDNS In an extra information field in request respond packet;Described control response results information at least includes this equipment Identification information and this equipment perform the corresponding object information specifying function;
Respond packet sending module, for controlling node clean culture transmission described mDNS control request respond packet.
CN201610238268.8A 2016-04-18 2016-04-18 Intelligent equipment control method, control node and intelligent equipment Pending CN105847019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610238268.8A CN105847019A (en) 2016-04-18 2016-04-18 Intelligent equipment control method, control node and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610238268.8A CN105847019A (en) 2016-04-18 2016-04-18 Intelligent equipment control method, control node and intelligent equipment

Publications (1)

Publication Number Publication Date
CN105847019A true CN105847019A (en) 2016-08-10

Family

ID=56590114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610238268.8A Pending CN105847019A (en) 2016-04-18 2016-04-18 Intelligent equipment control method, control node and intelligent equipment

Country Status (1)

Country Link
CN (1) CN105847019A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961426A (en) * 2017-03-09 2017-07-18 深圳创维-Rgb电子有限公司 The means of communication and device of smart machine
CN107801167A (en) * 2017-11-13 2018-03-13 广东聚光电子科技有限公司 The method of mobile terminal and smart device communication and the device for realizing this method
CN110045631A (en) * 2019-06-03 2019-07-23 四川长虹电器股份有限公司 Smart home intersection control routine and its implementation with self-teaching function
CN110311797A (en) * 2019-08-05 2019-10-08 苏州极目机器人科技有限公司 Communication means and device based on automatic control system
CN110798537A (en) * 2020-01-03 2020-02-14 北京信安世纪科技股份有限公司 Method, device and system for message propagation
CN111371536A (en) * 2018-12-25 2020-07-03 中移(杭州)信息技术有限公司 Control instruction sending method and device
CN112350901A (en) * 2020-10-19 2021-02-09 珠海格力电器股份有限公司 Device control method, storage medium, mobile terminal, and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841443A (en) * 2009-03-16 2010-09-22 苹果公司 Service discovery funtionality utilizing personal area network protocols
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841443A (en) * 2009-03-16 2010-09-22 苹果公司 Service discovery funtionality utilizing personal area network protocols
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961426A (en) * 2017-03-09 2017-07-18 深圳创维-Rgb电子有限公司 The means of communication and device of smart machine
CN106961426B (en) * 2017-03-09 2020-04-24 深圳创维-Rgb电子有限公司 Communication method and device of intelligent equipment
CN107801167A (en) * 2017-11-13 2018-03-13 广东聚光电子科技有限公司 The method of mobile terminal and smart device communication and the device for realizing this method
CN111371536A (en) * 2018-12-25 2020-07-03 中移(杭州)信息技术有限公司 Control instruction sending method and device
CN110045631A (en) * 2019-06-03 2019-07-23 四川长虹电器股份有限公司 Smart home intersection control routine and its implementation with self-teaching function
CN110311797A (en) * 2019-08-05 2019-10-08 苏州极目机器人科技有限公司 Communication means and device based on automatic control system
CN110798537A (en) * 2020-01-03 2020-02-14 北京信安世纪科技股份有限公司 Method, device and system for message propagation
CN112350901A (en) * 2020-10-19 2021-02-09 珠海格力电器股份有限公司 Device control method, storage medium, mobile terminal, and electronic device

Similar Documents

Publication Publication Date Title
CN105847019A (en) Intelligent equipment control method, control node and intelligent equipment
CA2788655C (en) Connection priority services for data communication between two devices
CN103152624A (en) Remote control processing method, device and system
CN106332224A (en) Equipment networking method, equipment networking device and equipment networking system
US8521877B2 (en) Method for configuring access rights, control point, device and communication system
CN105142007B (en) Control method, multi-screen interactive equipment between multi-screen interactive equipment and system
EP3331247A1 (en) Multi-screen control method and device
CN101951368A (en) Service authority control method, terminal and system based on subnet
CN106094547A (en) Intelligent home equipment control method and system
CN102164312A (en) Set-top box configuration method and system for Internet protocol television
CN105871995A (en) Method for controlling intelligent device by router and the router
CN102710612B (en) Realize method and the device of interactive communication application in many ways
CN105530268A (en) Heterogeneous protocol interconnection method and controller
CN106788612B (en) Bluetooth mode adjusting method based on A2DP protocol and Bluetooth device
CN102594883A (en) Method and system for determining business operation mode
CN105246129B (en) The network-building method and device of a kind of intelligent terminal
CN105812185A (en) Communication connection method for playing device
CN103439934A (en) Intelligent electrical appliance control method, server and system
CN103401954B (en) The implementation method of virtual DHCP
CN106162313A (en) A kind of multi-screen interaction method and system
CN107769979B (en) Method for synchronous configuration between routers
CN101877861B (en) Node information acquisition method, client and server
CN112311633B (en) Distribution network control method, distribution network control device, household appliance and storage medium
CN105246128B (en) The network-building method and device of a kind of intelligent terminal
CN103138961B (en) server control method, controlled server and central control server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810

RJ01 Rejection of invention patent application after publication