CN106681157A - Equipment control method, device and gateway - Google Patents

Equipment control method, device and gateway Download PDF

Info

Publication number
CN106681157A
CN106681157A CN201510765994.0A CN201510765994A CN106681157A CN 106681157 A CN106681157 A CN 106681157A CN 201510765994 A CN201510765994 A CN 201510765994A CN 106681157 A CN106681157 A CN 106681157A
Authority
CN
China
Prior art keywords
equipment
control
message
protocol type
protocol
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
CN201510765994.0A
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510765994.0A priority Critical patent/CN106681157A/en
Publication of CN106681157A publication Critical patent/CN106681157A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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], computer integrated manufacturing [CIM]
    • 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]

Abstract

The invention provides an equipment control method, device and gateway and relates to a field of internet of things. The invention aims to solve a problem of inter-communication incapability of applications and equipments of different specifications. The equipment control method includes obtaining a message of a first equipment in a first protocol type network; converting the message of the first equipment to a control message controlling an executing action of a second equipment in a second protocol type network; sending the control message to the second equipment. Therefore, inter-communication between the first equipment and the second equipment is realized.

Description

A kind of control method of equipment, device and gateway
Technical field
The present invention relates to Internet of Things field, more particularly to a kind of control method of equipment, device and gateway.
Background technology
At present technology of Internet of things is advanced by leaps and bounds, as full-automatic or semi-automatic in smart home product function Change, so as to the household electrical appliances such as refrigerator, colour TV, washing machine extreme enrichment and facilitate daily life.
For current smart home market, need to solve all application problems, it is necessary to by various technologies all Use, by the design of software and hardware, various information integrations are got up.But due to various differences Interconnection technique the characteristics of have itself, and transfer rate and bandwidth are different.Now, in different fields Under conjunction, according to different demands, different technologies are selected to be applied in the family.
Also there are many technologies used on smart home at present, such as:Z-Wave (is by Danish company The wireless networking specification that Zensys is dominated on the other hand), ZigBee protocol ZigBee, AllSeen (Internet of Things industry Normal structure), (Universal Plug and Play, UPnP are a kind of to UPnp for pc machines The architecture connected with the common peer-to-peer network of smart machine (or instrument), especially in the family) etc. Technology.But because the different application that there are different producers of manufacturer in user family, and each manufacturer are adopted Agreement and differ, although there is multiple standards or tissue in the world, but different tissues and standard set Cannot intercommunication between standby.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of control method of equipment, device and gateway, to solve The equipment of different tissues and standard cannot intercommunication problem.
To achieve these goals, the control method of a kind of equipment provided in an embodiment of the present invention, including:
Obtain the message of the first equipment in the first protocol type network;
The message of first equipment is converted to into second equipment of the control in second protocol type network to hold The control message that action is made;
The control message is sent to second equipment.
Further, the message by first equipment is converted to control in second protocol type network The second equipment execution action control message the step of be specially:
The message of first service typonym is provided by first equipment, control second equipment is converted to The control message of second service typonym is provided.
Further, the message by first equipment is converted to control in second protocol type network The second equipment execution action control message the step of be specially:
First equipment is performed into the first message that event title occurs, control second equipment is converted to Perform the second control message that event title occurs.
Further, the message by first equipment is converted to control in second protocol type network The second equipment execution action control message the step of be specially:
First equipment is performed into the first message that event title occurs, control second equipment is converted to And/or provide at least one 3rd clothes at least one of the first protocol type network the 3rd equipment The control message of service type title.
Further, the message by first equipment is converted to control in second protocol type network The second equipment execution action control message the step of be specially:
First equipment is carried into the message of the first file format content, control described second is converted to and is set Standby execution action has the control message of the second file format content.
Further, it is described to be specially the step of send the control message to second equipment:
According to preset routing iinformation, the control message is sent to second equipment.
The control method of wherein described equipment also includes:
Pre-configured monitoring event is obtained, first equipment or second equipment is monitored.
Further, first protocol type be a kind of communication protocol framework Alljoyn agreements or it is general i.e. Plug-and-play UPnp agreement, the second protocol type is the Alljoyn agreements or the UPnp agreements, First protocol type is different from the second protocol type.
The embodiment of the present invention is also provided in a kind of control device of equipment, wherein, including:
Acquisition module, for obtaining the message of the first equipment in the first protocol type network;
Modular converter, for the message of first equipment to be converted to into control in second protocol type network The second equipment execution action control message;
Sending module, for sending the control message to second equipment.
Further, the modular converter includes:
First converting unit, for first equipment to be provided the message of first service typonym, conversion To control the control message that second equipment provides second service typonym.
Further, the modular converter includes:
Second converting unit, for first equipment to be performed into the first message that event title occurs, conversion The second control message that event title occurs is performed to control second equipment.
Further, the modular converter includes:
3rd converting unit, for first equipment to be performed into the first message that event title occurs, conversion For control second equipment and/or at least one of the first protocol type network the 3rd equipment The control message of at least one 3rd COS title is provided.
Further, the modular converter includes:
4th converting unit, for first equipment to be carried the message of the first file format content, turns It is changed to the control message that control the second equipment execution action has the second file format content.
Further, the sending module includes:
Transmitting element, for according to preset routing iinformation, sending the control message to second equipment.
The control device of wherein described equipment also includes:
Module is monitored, for obtaining pre-configured monitoring event, first equipment or second equipment is monitored.
Further, first protocol type be a kind of communication protocol framework Alljoyn agreements or it is general i.e. Plug-and-play UPnp agreement, the second protocol type is the Alljoyn agreements or the UPnp agreements, First protocol type is different from the second protocol type.
The embodiment of the present invention also provides a kind of gateway, wherein, including the control device of equipment described above.
The above-mentioned technical proposal of the embodiment of the present invention has the beneficial effect that:
In the scheme of the embodiment of the present invention, by the first equipment of the first protocol type network that will receive Message is converted to the control message of the second execution action of second protocol type network, then sends out control message The second equipment is given, the intercommunication of the first equipment and the second equipment can be so realized, and need not be set up merely Different vendor opens remote platform and carrys out interactive information, reduces the complexity of equipment, it is not required that increase extra Hardware cost, saved cost.
Description of the drawings
Fig. 1 is a kind of interactive schematic diagram between each equipment of prior art;
Fig. 2 is the another kind interaction schematic diagram between each equipment of prior art;
Fig. 3 is the control method of the equipment of the embodiment of the present invention;
Fig. 4 is the control device of the equipment of the embodiment of the present invention;
Fig. 5 is the structural representation of the gateway of the embodiment of the present invention.
Specific embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
In order to for easily reference is described in greater detail below, in addition it is also necessary to which explanation is:Exist in user family many The different application of producer of different vendor is planted, the agreement that Ge Jia manufacturers adopt simultaneously is differed, existed in the world various Standard and tissue, make great efforts to create the standard agreement that the equipment of different vendor is interconnected, at present not When needing intercommunication with the equipment of manufacturer, at this stage the way of main flow has:
As shown in figure 1, different vendor's opening remote platform (including:Cloud platform A and cloud platform B) Interface, is opened up to each other by the interface of long-range cloud platform, carries out the mutual access of equipment.But in manager Application (including using A1 and apply B1) and equipment (including device A 2 and equipment B2) cannot even Connect the Internet, or long-range cloud platform is when breaking down, will exist the equipment of different vendor or various criterion without The problem of method intercommunication;Or, as shown in Fig. 2 disposing the compatible different short distance of a home gateway at home Communication technology and agreement, wherein short-distance communication equipment include:Wifi wireless devices, bluetooth equipment, 433 Equipment, the RJ45 network equipments (433, RJ45 be a kind of model), purple peak Zigbee equipment.But due to Hardware connection request is different, this project plan comparison is difficult to be implemented (than if any:In short haul connection skill of the same race Under art, the coded system of the agreement of each manufacturer's definition is not quite similar, although sometimes manufacturer can also disclose privately owned volume Code mode, but after agreement upgrading, home gateway will be unable to support follow-up equipment.Such as also have:Short distance More from communication technology species, manufacturer is also numerous, and home gateway supports all of short-range communication technique and factory The operational feasibility of business is almost 0.)
Therefore, as shown in figure 3, in the control method of the equipment of the embodiment of the present invention, including:
Step 301, obtains the message of the first equipment in the first protocol type network.
It should be noted that:Here the first protocol type network refers to the first protocol type application and equipment group Into network, wherein first protocol type be international mainstream standard agreement.Such as first protocol type can Being a kind of Alljoyn (point-to-point near field wifi, Blue-tooth communication method) and BSD (Berkeley Software Distribution, Berkeley Software external member) be Unix flavor) permission agreement) agreement, or UPnP protocol, can also be IGRS (Intelligent Grouping and Resource Sharing, intelligence Packet and resource-sharing), IGRS is can also be, here is not limited, but the first protocol type and the second association View type belongs to different protocol types, any international mainstream standard agreement for needing intercommunication, belongs to this The protection domain of bright embodiment, here is not enumerated.So by compatible various communications protocols and industry master Flow standard, and then compatible distinct device and manufacturer, so as to reduce development cost and implementation cost.
Further, the first equipment here can be the intelligent home device, or tool of different manufacturers production There is the equipment (such as mobile phone, panel computer, computer etc.) of wifi and/or bluetooth, be not limited thereto, connect Enter the equipment of the first protocol type network, and do not need extra increase hardware cost, not only reduce into This, and widened range of application.
Step 302, control is converted in the of second protocol type network by the message of first equipment The control message of two equipment execution actions.
Here second protocol type network refers to the network of second protocol type application and equipment composition, wherein The second protocol type is international mainstream standard agreement.Such as first protocol type can be Alljoyn associations View, or UPnP protocol, can also be IGRS (Intelligent Grouping and Resource Sharing, intelligent packet and resource-sharing), IGRS is can also be, here is not limited, the first protocol class Type and second protocol type belong to different protocol types, any international mainstream standard agreement for needing intercommunication, The protection domain of the embodiment of the present invention is belonged to, here is not enumerated.
Further, the second equipment here can be the intelligent home device, or tool of different manufacturers production There is the equipment (such as mobile phone, panel computer, computer etc.) of wifi and/or bluetooth, be not limited thereto, connect Enter the equipment of the second protocol type network, and do not need extra increase hardware cost, not only reduce into This, and widened range of application.Second equipment can be preassigned or predefined equipment.
Step 303, sends the control message to second equipment.
It should be noted that:This step can be using IP (Internet Protocol, the association interconnected between network View) network is transmitted data.And the step 303 is specially:According to preset routing iinformation, institute is sent Control message is stated to second equipment.Because household equipment supports that IP network is very universal, therefore can With flexibly set be in it is any can be on the equipment of local area network communication, to reduce the complexity of operation.
Here preset routing iinformation refers to the message relationship according to conversion, the link information of foundation.Such as, The message of the first equipment is converted to the message that the second equipment of control performs monitoring by step 302, then pre- by this Routing iinformation is put, is set up with the second equipment for performing monitoring and is connected.
Further, after step 303, also include:Second equipment is received to the anti-of the control message Feedforward information, wherein the feedback information include the second equipment choice receive perform sent control message or Refusal performs sent control message.Feedback information is selected by second equipment autonomously, it is right to improve The active control of the second equipment.
The step of embodiment of the present invention 301 into step 303, by the first protocol type net that will be received The message of the first equipment of network is converted to the control message of the second execution action of second protocol type network, so Afterwards control message is sent to into the second equipment, can so realize the intercommunication of the first equipment and the second equipment, and Different vendor's opening remote platform need not merely be set up and carry out interactive information, reduce the complexity of equipment, Extra hardware cost need not be increased, cost has been saved, can also by the communication mode of network and flexibly Route method of calling, reduces the workload of user, so as to meet different route scenes.
It can further be stated that:Preferably, first protocol type is a kind of communication protocol framework Alljoyn Agreement or UPnP UPnp agreements, the second protocol type is the Alljoyn agreements or institute UPnp agreements are stated, first protocol type is different from the second protocol type.Due to the UPnP associations View or the Alljoyn agreements can be and the compatible specific protocol of the equipment of other agreements.Such as equipment makes With Zigbee protocol, equipment can also follow UPnP protocol or the Alljoyn agreements add network.So Also without the extra hardware cost of increase, it is also possible to which compatibility has wifi, bluetooth and/or Zigbee protocol Equipment adds network, reduces the complexity that user uses.
In addition, for above-mentioned first equipment, the control method of equipment includes:
The other equipment in the first protocol type network in configuration information is obtained, and is built with least one equipment Vertical session connection.The configuration information includes the multiple equipment being pre-configured with the first protocol type network and answers Use information.By taking the first protocol type network as an example, according to the title of configuration information, other application is actively discovered And equipment, and session is actively set up, the target device that this kind of situation is applied in other equipment does not possess actively The ability of connection.Such as, when the first protocol type is Alljoyn agreements, by the first equipment and Alljoyn The application composition Alljoyn protocol networks of agreement, according to the notice title Advertise Name actives of configuration It was found that other application and equipment, and actively session Session is set up therewith.Meanwhile, according to configuration information Title is available for other equipment and application to find, and receives and the session connection between other equipment.This kind of situation The target device being applied in other equipment does not provide notice title, i.e., do not serve as service and set up with other equipment The ability of connection.Such as, there is provided Advertise Name have found for other application and equipment, and receive other Equipment sets up therewith Session.
For above-mentioned first equipment, the control method of equipment also includes:
Receive or forward the generation event information of at least one equipment of the first protocol type network.Such as So that the first protocol type network is for Alljoyn agreements as an example, is received according to interface configuration information or forward other The application of Alljoyn agreements and device events signal.Or, according to interface configuration information and Alljoyn agreements Application and equipment carry out remote method invocation (RMI) (other protocol devices).The interface configuration information includes:The The preset interface of other protocol devices connections that one protocol type network is connected by home gateway.
Further, for above-mentioned second equipment, the control method of equipment includes:In obtaining configuration information Other equipment in second protocol type network, and set up session connection with least one equipment.Confidence should be matched somebody with somebody Breath includes multiple equipment and the application message being pre-configured with second protocol type network.With second protocol class As a example by type network, according to the title of configuration information, other application and equipment are actively discovered, and actively set up meeting Words.Such as, when second protocol type is UPnP protocol, by the second equipment and UPnP protocol should With composition UPnP protocol network, and as control point.Other UPnP associations are actively discovered according to configuration information The application of view and equipment, obtain the other equipment action for performing and the execution action for sending the control message.
For above-mentioned second equipment, the control method of equipment also includes:
The execution action of the control message is performed according to configuration information.Such as, it is in second protocol type During UPnP protocol, according to the application and equipment execution action of configuration information UPnP protocol.
Preferably, in the control method of the equipment of the embodiment of the present invention, the step 302 is specially:
Step 3021, by first equipment message of first service typonym is provided, and is converted to control Second equipment provides the control message of second service typonym.
Here first service typonym refers in various COS titles that the first equipment is provided Individual service name.In the same manner, second service typonym here refers to various service classes that the second equipment is provided A service name in type title.
The step 303 is specially:According to preset routing iinformation, the control message is sent to described second Equipment.
In the embodiment of the present invention, when the first equipment produces message, sent according to first service typonym and held The control message of row second service typonym just can hold to the second equipment, such second equipment with Direct Recognition When OK, so as to the first protocol type network offering services, can be with far call or access service second protocol class Second equipment of type network, realizes the intercommunication of the first equipment and the second equipment, it is also possible to by the communication of network Mode and flexibly route method of calling, reduce the workload of user, so as to meet different route scenes.
The detailed description of the embodiment of the present invention is as follows.
Entitled first service typonym during the first equipment triggering first service, the second equipment triggering first Entitled second service typonym during service, can be by the first service typonym and the second service Typonym is defined as same COS title, can be referred to as first service typonym, it is also possible to It is referred to as second service typonym, or is referred to as a 3rd new COS title.
Preferably, in the control method of the equipment of the embodiment of the present invention, the step 302 is specially:
Step 3022, by first equipment the first message that event title occurs is performed, and is converted to control Second equipment performs the second control message that event title occurs.
Here the first generation event title and the second generation event title may be collectively referred to as generation event title, The generation event title includes:There is event in the title of generation event, the device identification title that event occurs Address name and occur event service name in one or more.
The step 303 is specially:According to preset routing iinformation, the control message is sent to described second Equipment.
In the embodiment of the present invention, when the first equipment produces message, can be sent out according to the first generation event title Send the control message for performing the second generation event to the second equipment, such second equipment just can be held with Direct Recognition OK, the intercommunication of the first equipment and the second equipment is realized, it is also possible to by the communication mode and flexible route of network Method of calling, reduces the workload of user, so as to meet different route scenes.
The detailed description of the embodiment of the present invention is as follows.
Entitled first event title during the first equipment triggering first task, the second equipment triggering first task When entitled second event title, with the second event name definition can be same by the first event title One event title, can be referred to as the first event title, it is also possible to be referred to as second event title, also may be used Being to be referred to as a 3rd new event title.
It is as follows corresponding to above-mentioned detailed description concrete example.
Need explanation:First protocol type is alljoyn agreements or UPnP protocol, and second protocol type is The residue one in alljoyn agreements and UPnP protocol in addition to the first protocol type, the embodiment of the present invention Also illustrate by taking home gateway as an example.There is a video doorbell to support that Alljoyn agreements, TV are supported in family (DIGITAL LIVING NETWORK ALLIANCE, numeral is raw for DLAN based on UPnP protocol Network alliance living).
When there is a ring at the door on doorway, the information on doorway can be transferred to TV by video doorbell by home gateway On.
First, home gateway by the display Mapping and Converting of TV into can receive doorbell information and projection doorbell shooting The video information of head monitoring.
Secondly, when there is a ring at the door on doorway, doorbell sends doorbell event and to home gateway to home gateway The video information of forwarding doorbell camera head monitor.
Again, home gateway forwards doorbell event to TV.
Then, user selects the video information for playing doorbell camera head monitor by TV.
Finally, home gateway projects doorbell monitoring information to TV.
Preferably, in the control method of the equipment of the embodiment of the present invention, the step 302 is specially:
Step 3022, by first equipment the first message that event title occurs is performed, and is converted to control Second equipment and/or at least one of the first protocol type network the 3rd equipment provide to A kind of few control message of the 3rd COS title.
The step 303 is specially:According to preset routing iinformation, the control message is sent to described second Equipment.
In the embodiment of the present invention, when the first equipment produces message, can be sent out according to the first generation event title Send the control message for performing the second generation event to the second equipment and/or the 3rd equipment, such second equipment is not Only can be performed with Direct Recognition, realize the intercommunication of the first equipment and the second equipment, and the 3rd equipment can also Perform the second control message that event occurs, it is also possible to realize the intercommunication between the first equipment, it is also possible to pass through The communication mode of network and flexibly route method of calling, reduce the workload of user, different so as to meet Route scene.
It should be noted that:Above-mentioned 3rd equipment is in the first protocol type network, except first An equipment in other equipment beyond equipment.
Further, above-mentioned generation event title includes:The title of generation event, the device identification name that event occurs Claim, one or more in the address name that event occurs and the service name that event occurs.Concrete example is such as Under, the first protocol type is alljoyn agreements or UPnP protocol, and second protocol type is except the first agreement The residue one in alljoyn agreements and UPnP protocol outside type, the embodiment of the present invention is also with home network Illustrate as a example by pass.
Citing one:Event title is occurred according to the application and equipment execution first of Alljoyn agreements, one is called The application of individual UPnP protocol and the 3rd COS title of equipment.Such as, the Alljoyn agreements in family Anti-intrusion sensor trigger signal is intrusion event, calls all of photographic head in family (including UPnP protocol)
Citing two:The generation event of event title is occurred according to the application and equipment generation first of UPnP protocol Title, there is the device identification title of event, call the application of a kind of Alljoyn agreements and the of equipment Three COS titles.Such as, the smoke detector A triggering fire of the UPnP protocol in the kitchen in family Signal, calls all of alarm (including UPnP) disposed in family to notify owner.
Citing three:The generation thing of event title is occurred according to the application and equipment generation first of Alljoyn agreements The title of part, the device identification title that event occurs, call the application of certain UPnP protocol and the of equipment Three COS titles.Such as, the smoke detector A of Alljoyn agreements triggers fire in the kitchen in family Signal, calls all of alarm (including UPnP) disposed in family to notify owner.
Citing four:The generation event of event title is occurred according to the application and equipment generation first of UPnP protocol Title, call it is all of application and equipment the 3rd COS.Such as, UPnP protocol in family Anti-intrusion sensor trigger signal, calls all of photographic head in family (including Alljoyn)
Citing five:Event title middle finger is occurred according to the application and equipment generation first of Alljoyn agreements fixed The equipment of UPnP protocol, calls corresponding application.Such as, Alljoyn agreements in the bathroom in family Tumble sensor-triggered tumble signal, calls the photographic head disposed in bathroom (to assume only to be deployed in bathroom The photographic head of UPnP protocol)
Citing six:It is fixed according to the first generation event title middle finger of application and the equipment triggering of UPnP protocol The address name of the generation event of the equipment of Alljoyn agreements, calls corresponding application.Such as, in family The tumble sensor-triggered tumble signal of the UPnP protocol in bathroom, calls the photographic head disposed in bathroom (false If the photographic head of Alljoyn agreements is only deployed in bathroom)
The detailed description of the embodiment of the present invention is as follows.
Entitled first event title during the first equipment triggering first task, first the second equipment triggering the Title during entitled first service typonym, second the second equipment triggering first service during one service For second service typonym, entitled 3rd COS title during the 3rd equipment triggering first service, Can be by the first event title and the first service typonym, second service typonym and the 3rd clothes Service type name definition is same name.
It is as follows corresponding to above-mentioned detailed description concrete example.
Need explanation:First protocol type is alljoyn agreements or UPnP protocol, and second protocol type is The residue one in alljoyn agreements and UPnP protocol in addition to the first protocol type, the embodiment of the present invention Also illustrate by taking home gateway as an example.
There are various anti-intrusion sensors to be arranged on door and window in family.Simultaneously multiple photographic head are deployed at home. Due to being different manufacturers production, these are arranged on anti-intrusion sensor and photographic head on door and window, only do not prop up Alljoyn agreements are held, and there are support Upnp agreements, but the title that event occurs not is whole phases Together.
First, it is entitled " invasion " in the newly-built generation event of home gateway, it is somebody's turn to do " invasion " and includes: The events such as all kinds of intrusion events for reporting home gateway, such as illegal " door is opened ", " window is opened ".
Secondly, a newly-built COS is entitled " whole photographic head video recordings " on home gateway, should be " complete Call address of the portion's photographic head video recording " comprising each photographic head (position that i.e. each photographic head is installed, such as The address locations such as living room window, kitchen window).
Again, the preset routing iinformation in home gateway foundation is:" invasion " event occurs, and takes the photograph with whole As head sets up connection so that " whole photographic head video recordings " is serviced.
Then, in family nobody, window opens (such as there is action window outside or is forcibly opened) by illegal, The signal that window opens generation event will now be triggered.
Afterwards, the signal that home gateway detects opening generation event is that " invasion " occurs event.
Finally, home gateway calls " whole photographic head video recordings ", home gateway meeting by preset routing iinformation Call signal is sent to whole photographic head.
In the control method of the equipment of the embodiment of the present invention, the step 302 is specially:
Step 3022, by first equipment message of the first file format content is carried, and is converted to control Make the control message that the second equipment execution action has the second file format content.
The step 303 is specially:According to preset routing iinformation, the control message is sent to described second Equipment.
In the embodiment of the present invention, when the first equipment produces message, can disappearing the first file format content Breath is converted to the control message of the second file format content that the second equipment can be recognized, can so send and hold Action is made to have the control message of the second file format content to the second equipment, and such second equipment just can be with The suitable format content of Direct Recognition, realizes the intercommunication of the first equipment and the second equipment.
The above-mentioned detailed description concrete example of correspondence is as follows.
Need explanation:First protocol type is alljoyn agreements or UPnP protocol, and second protocol type is The residue one in alljoyn agreements and UPnP protocol in addition to the first protocol type, the embodiment of the present invention Also illustrate by taking home gateway as an example.
Have multiple with store function audio amplifier support alljoyn agreements in family, mobile phone supports UPnP protocol, Existing mobile phone needs for mobile phone music to be transferred to some audio amplifier broadcasting.
First, each audio amplifier Mapping and Converting is the corresponding service of UPnP protocol for storing music by home gateway.
Secondly, user can store the audio amplifier of music using mobile phone to UPnP protocol network inquiry.
Again, home gateway returns all audio amplifier list responses for storing music to mobile phone.
Then, cellphone subscriber selects the audio amplifier of one of storage music to carry out storage music, will user's handss Machine storage music format is converted to the form that audio amplifier stores music.
Afterwards, home gateway is delivered to mobile phone music on the audio amplifier of selection, and controls audio amplifier broadcasting thing Part.
Finally, there is the instruction of audio amplifier broadcast event according to control in audio amplifier, play music.
The control method of the equipment of the embodiment of the present invention also includes:
Step 304, obtains pre-configured monitoring event, monitors first equipment or second equipment.
It should be noted that:Here pre-configured monitoring event includes what the equipment with monitor function was monitored Event, specifically can need what is determined according to user.The general pre-configured monitoring event can be down to one or many The monitoring event of individual photographic head or the monitoring event of video doorbell.
In the embodiment of the present invention, by obtaining pre-configured monitoring event, the first equipment of acquisition and the can be monitored The implementation status of two equipment, understands the information of the first equipment and the second equipment, realizes the first equipment and second sets Standby monitor in real time, and need not merely set up different vendor and open remote platform and carry out interactive information, reduce and set Standby complexity, it is not required that increase extra hardware cost, saved cost.
It can further be stated that:For above-mentioned second equipment, the control method of equipment also includes:
According to the monitoring event of pre-configured subscription, the second equipment is monitored.With second protocol type network as UPnP As a example by agreement, according to the monitoring event of pre-configured subscription, application and the equipment of UPnP protocol are monitored.
As shown in figure 4, in the control device of the equipment of the embodiment of the present invention, including:
Acquisition module 401, for obtaining the message of the first equipment in the first protocol type network.
Modular converter 402, for the message of first equipment to be converted to into control in second protocol type The control message of the second equipment execution action of network.
Sending module 403, for sending the control message to second equipment.
In the embodiment of the present invention, by modular converter 402 by the first of the first protocol type network for receiving The message of equipment is converted to the control message of the second execution action of second protocol type network, then passes through again Control message is sent to the second equipment by sending module 403, can so realize the first equipment and the second equipment Intercommunication, and need not set up merely different vendor open remote platform carry out interactive information, reduce equipment Complexity, it is not required that increase extra hardware cost, saved cost, can also be by the communication of network Mode and flexibly route method of calling, reduce the workload of user, so as to meet different route scenes.
It can further be stated that:For above-mentioned first equipment, the control device of equipment includes:
First obtain set up module, for obtaining configuration information in the first protocol type network in other set It is standby, and set up session connection with least one equipment.The configuration information is included in the first protocol type network The multiple equipment being pre-configured with and application message.By taking the first protocol type network as an example, according to configuration information Title, is actively discovered other application and equipment, and actively sets up session, and this kind of situation is applied to other equipment In target device do not possess the ability of actively connection.Such as, it is Alljoyn agreements in the first protocol type When, by the first equipment and the application composition Alljoyn protocol networks of Alljoyn agreements, according to configuration Notify that title Advertise Name is actively discovered other application and equipment, and actively set up session therewith Session.Meanwhile, it is available for other equipment and application to find according to the title of configuration information, and receive and other Session connection between equipment.The target device that this kind of situation is applied in other equipment does not provide notice title, Do not serve as to service and the ability being connected is set up with other equipment.Such as, there is provided Advertise Name supply other Using and equipment find, and receive miscellaneous equipment and set up Session therewith.
For above-mentioned first equipment, the control device of equipment also includes:
Interactive module, for receiving or forwarding the generation of at least one equipment of the first protocol type network Event information.Such as so that the first protocol type network is for Alljoyn agreements as an example, according to interface configuration information Receive or forward application and the device events signal of other Alljoyn agreements.Or, confidence is matched somebody with somebody according to interface The application of breath and Alljoyn agreements and equipment carry out remote method invocation (RMI) (other protocol devices).The interface is matched somebody with somebody Confidence breath includes:First protocol type network passes through the pre- of other protocol devices connections that home gateway is connected Put interface.
Further, for above-mentioned second equipment, the control device of equipment includes:
Second obtain set up module, for obtaining configuration information in second protocol type network in other set It is standby, and set up session connection with least one equipment.The configuration information is included in second protocol type network The multiple equipment being pre-configured with and application message.By taking second protocol type network as an example, according to configuration information Title, is actively discovered other application and equipment, and actively sets up session.Such as, it is in second protocol type During UPnP protocol, by the second equipment and the application composition UPnP protocol network of UPnP protocol, and make For control point.Other UPnP applications and equipment are actively discovered according to configuration information, other equipment are obtained and is performed Action and send the execution action of the control message.
For above-mentioned second equipment, the control device of equipment also includes:
Performing module, for performing the execution action of the control message according to configuration information.Such as, When two protocol types are UPnP protocol, according to configuration information UPnP applications and equipment execution action.
It should be noted that the device that the present invention is provided is the device of the control method of application apparatus, then it is above-mentioned All embodiments of the control method of equipment are applied to the device, and can reach same or analogous beneficial Effect.
In the control device of the equipment of further embodiment of this invention, the modular converter 402 includes:
First converting unit, for first equipment to be provided the message of first service typonym, conversion To control the control message that second equipment provides second service typonym.
In the control device of the equipment of further embodiment of this invention, the modular converter 402 includes:
Second converting unit, for first equipment to be performed into the first message that event title occurs, conversion The second control message that event title occurs is performed to control second equipment.
In the control device of the equipment of further embodiment of this invention, the modular converter 402 includes:
3rd converting unit, for first equipment to be performed into the first message that event title occurs, conversion For control second equipment and/or at least one of the first protocol type network the 3rd equipment The control message of at least one 3rd COS title is provided.
In the control device of the equipment of further embodiment of this invention, the modular converter 402 includes:
4th converting unit, for first equipment to be carried the message of the first file format content, turns It is changed to the control message that control the second equipment execution action has the second file format content.
In the control device of the equipment of further embodiment of this invention, the sending module 403 includes:
Transmitting element, for according to preset routing iinformation, sending the control message to second equipment.
The control device of the equipment of further embodiment of this invention also includes:
Module is monitored, for obtaining pre-configured monitoring event, first equipment or second equipment is monitored.
It should be noted that:Here pre-configured monitoring event includes what the equipment with monitor function was monitored Event, specifically can need what is determined according to user.The general pre-configured monitoring event can be down to one or many The monitoring event of individual photographic head or the monitoring event of video doorbell.
For above-mentioned second equipment, the control device of equipment also includes:
Module is monitored, for according to the monitoring event of pre-configured subscription, monitoring the second equipment.With second protocol Type network is as a example by UPnP protocol, according to the monitoring event of pre-configured subscription, to monitor UPnP protocol Using and equipment.
In the control device of the equipment of further embodiment of this invention, first protocol type is a kind of communication protocols View framework Alljoyn agreements or UPnP UPnp agreements, the second protocol type is described Alljoyn agreements or the UPnp agreements, first protocol type is different from the second protocol type.
The embodiment of the present invention also provides a kind of gateway, including the control device of equipment described above.
As shown in figure 5, the gateway includes the control device of equipment, Alljoyn protocol modules (are for reality Existing Alljoyn protocol devices or application (using 1 and/or apply 2), the communication with the control device of equipment), UPnP protocol module (be to realize UPnP protocol equipment or application (using 1 and/or apply 2), with The communication of the control device of equipment).The Alljoyn protocol devices can be carrying under Alljoyn agreements Wifi and bluetooth equipment are (for example:Mobile phone) or Alljoyn agreements under bluetooth equipment, UPnP protocol module Can be under Upnp agreements with wifi and bluetooth equipment (for example:Mobile phone) or Upnp agreements under Bluetooth equipment.The embodiment of the present invention is illustrated with UPnP protocol and Alljoyn agreements, first First equipment of protocol type network and the second equipment of second protocol type network.Here is simultaneously not construed as limiting.
The webmaster of the embodiment of the present invention can apply in family therefore be referred to as home gateway connection man In Alljoyn agreements application and equipment composition network and UPnP protocol application and equipment composition Network.By the gateway of the embodiment of the present invention, the application of UPnP protocol and equipment can be assisted with Alljoyn The application of view and equipment are communicated with each other.
The control device or method of the equipment of the embodiment of the present invention can with flexible deployment or application at home appoint In the equipment of what local area network communication, such as PC computers, mobile phone, Set Top Box.
The control device of the corresponding equipment due to the embodiment of the present invention, is applied to gateway, therefore, the present invention Embodiment additionally provides a kind of gateway, wherein, the described of the control device of the said equipment realizes that embodiment is fitted In for the embodiment of the gateway, identical technique effect can be also reached.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (17)

1. a kind of control method of equipment, it is characterised in that include:
Obtain the message of the first equipment in the first protocol type network;
The message of first equipment is converted to into second equipment of the control in second protocol type network to hold The control message that action is made;
The control message is sent to second equipment.
2. the control method of equipment as claimed in claim 1, it is characterised in that described by described first The message of equipment is converted to control of the control in the second equipment execution action of second protocol type network and disappears The step of breath, is specially:
The message of first service typonym is provided by first equipment, control second equipment is converted to The control message of second service typonym is provided.
3. the control method of equipment as claimed in claim 1, it is characterised in that described by described first The message of equipment is converted to control of the control in the second equipment execution action of second protocol type network and disappears The step of breath, is specially:
First equipment is performed into the first message that event title occurs, control second equipment is converted to Perform the second control message that event title occurs.
4. the control method of equipment as claimed in claim 1, it is characterised in that described by described first The message of equipment is converted to control of the control in the second equipment execution action of second protocol type network and disappears The step of breath, is specially:
First equipment is performed into the first message that event title occurs, control second equipment is converted to And/or provide at least one 3rd clothes at least one of the first protocol type network the 3rd equipment The control message of service type title.
5. the control method of equipment as claimed in claim 1, it is characterised in that described by described first The message of equipment is converted to control of the control in the second equipment execution action of second protocol type network and disappears The step of breath, is specially:
First equipment is carried into the message of the first file format content, control described second is converted to and is set Standby execution action has the control message of the second file format content.
6. the control method of the equipment as described in any one of claim 1 to 5, it is characterised in that described The step of control message is sent to second equipment is specially:
According to preset routing iinformation, the control message is sent to second equipment.
7. the control method of the equipment as described in any one of claim 1 to 5, it is characterised in that also wrap Include:
Pre-configured monitoring event is obtained, first equipment or second equipment is monitored.
8. the control method of the equipment as described in any one of claim 1 to 5, it is characterised in that described First protocol type is a kind of communication protocol framework Alljoyn agreements or UPnP UPnp agreements, The second protocol type is the Alljoyn agreements or the UPnp agreements, first protocol type It is different from the second protocol type.
9. a kind of control device of equipment, it is characterised in that include:
Acquisition module, for obtaining the message of the first equipment in the first protocol type network;
Modular converter, for the message of first equipment to be converted to into control in second protocol type network The second equipment execution action control message;
Sending module, for sending the control message to second equipment.
10. the control device of equipment as claimed in claim 9, it is characterised in that the modular converter bag Include:
First converting unit, for first equipment to be provided the message of first service typonym, conversion To control the control message that second equipment provides second service typonym.
The control device of 11. equipment as claimed in claim 9, it is characterised in that the modular converter bag Include:
Second converting unit, for first equipment to be performed into the first message that event title occurs, conversion The second control message that event title occurs is performed to control second equipment.
The control device of 12. equipment as claimed in claim 9, it is characterised in that the modular converter bag Include:
3rd converting unit, for first equipment to be performed into the first message that event title occurs, conversion For control second equipment and/or at least one of the first protocol type network the 3rd equipment The control message of at least one 3rd COS title is provided.
The control device of 13. equipment as claimed in claim 9, it is characterised in that the modular converter bag Include:
4th converting unit, for first equipment to be carried the message of the first file format content, turns It is changed to the control message that control the second equipment execution action has the second file format content.
The control device of 14. equipment as described in any one of claim 9 to 13, it is characterised in that institute Stating sending module includes:
Transmitting element, for according to preset routing iinformation, sending the control message to second equipment.
The control device of 15. equipment as described in any one of claim 9 to 13, it is characterised in that also Including:
Module is monitored, for obtaining pre-configured monitoring event, first equipment or second equipment is monitored.
The control device of 16. equipment as described in any one of claim 9 to 13, it is characterised in that institute The first protocol type is stated for a kind of communication protocol framework Alljoyn agreements or UPnP UPnp agreements, The second protocol type is the Alljoyn agreements or the UPnp agreements, first protocol type It is different from the second protocol type.
17. a kind of gateways, it is characterised in that include the equipment as described in any one of claim 9 to 16 Control device.
CN201510765994.0A 2015-11-11 2015-11-11 Equipment control method, device and gateway Pending CN106681157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510765994.0A CN106681157A (en) 2015-11-11 2015-11-11 Equipment control method, device and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510765994.0A CN106681157A (en) 2015-11-11 2015-11-11 Equipment control method, device and gateway

Publications (1)

Publication Number Publication Date
CN106681157A true CN106681157A (en) 2017-05-17

Family

ID=58865403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510765994.0A Pending CN106681157A (en) 2015-11-11 2015-11-11 Equipment control method, device and gateway

Country Status (1)

Country Link
CN (1) CN106681157A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018209A (en) * 2017-06-08 2017-08-04 郑州云海信息技术有限公司 A kind of method and device for realizing Internet of Things cloud platform
CN109474633A (en) * 2018-12-28 2019-03-15 深圳和而泰数据资源与云技术有限公司 Method for converting protocol, calculates equipment and computer storage medium at device
CN111083163A (en) * 2019-12-30 2020-04-28 杭州海康威视数字技术股份有限公司 Internet of things system and data processing method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002876A1 (en) * 2005-06-21 2007-01-04 Berkman William H Wireless link for power line communications system
CN101056312A (en) * 2007-05-09 2007-10-17 北京中星微电子有限公司 A method and system for communication between the devices
CN101521615A (en) * 2009-03-31 2009-09-02 深圳创维数字技术股份有限公司 Communication method for different networks and internetwork for smart machine
CN102150381A (en) * 2008-09-12 2011-08-10 三星电子株式会社 Unified device management method and system
CN103107927A (en) * 2011-11-15 2013-05-15 海信集团有限公司 Information interactive method of home gateway and home network system and home network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002876A1 (en) * 2005-06-21 2007-01-04 Berkman William H Wireless link for power line communications system
CN101056312A (en) * 2007-05-09 2007-10-17 北京中星微电子有限公司 A method and system for communication between the devices
CN102150381A (en) * 2008-09-12 2011-08-10 三星电子株式会社 Unified device management method and system
CN101521615A (en) * 2009-03-31 2009-09-02 深圳创维数字技术股份有限公司 Communication method for different networks and internetwork for smart machine
CN103107927A (en) * 2011-11-15 2013-05-15 海信集团有限公司 Information interactive method of home gateway and home network system and home network system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018209A (en) * 2017-06-08 2017-08-04 郑州云海信息技术有限公司 A kind of method and device for realizing Internet of Things cloud platform
CN109474633A (en) * 2018-12-28 2019-03-15 深圳和而泰数据资源与云技术有限公司 Method for converting protocol, calculates equipment and computer storage medium at device
CN111083163A (en) * 2019-12-30 2020-04-28 杭州海康威视数字技术股份有限公司 Internet of things system and data processing method thereof

Similar Documents

Publication Publication Date Title
CN105807617B (en) The control method and device of smart home device
US7941528B2 (en) Methods, systems and computer program products for providing a multimedia applications gateway
US10887160B2 (en) Management method for home network device and network management system
WO2011153737A1 (en) Device, system and method for implementing smart home applications
CN110830841B (en) Screen projection method, system and intelligent device under different local area networks
CN101218797A (en) House gateway system for household network service
CN112448933B (en) Method and system for self-adapting compatible platform inter-domain protocol
CN105338023A (en) Intelligent equipment control method, apparatus and system
Lee et al. A home cloud-based home network auto-configuration using SDN
CN103533432A (en) Method and system for starting television application
CN106681157A (en) Equipment control method, device and gateway
KR20090078719A (en) Upnp apparatus for providing remote access service and method thereof
CN101867508B (en) Method, system and device for realizing home network interconnection
JP5357920B2 (en) Home device cooperation control device and home device cooperation control method
CN108111379A (en) A kind of method and apparatus for controlling smart home device
CN108964970A (en) For providing the equipment, system and method for additional function to device
JP2010245681A (en) Home gateway device and home network system
JP2011015170A (en) Relay device, relay method, relay program, communication system, and instruction conversion information generating device
KR100637559B1 (en) Method for notify service of home network monitoring
CN105306620B (en) A kind of transmission control system of data
CN101207632A (en) System and method for implementing intelligent home control under architecture of soft exchanging system
EP1624398A1 (en) Interactive system and method for controlling household appliances
KR20050078544A (en) Server system for providing home network service
CN207117674U (en) A kind of Intelligent weak current case based on Internet of Things
KR101041292B1 (en) Method for remote software upgrading in the home network serving node

Legal Events

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

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication