CN105471686A - Terminal control method, terminal control apparatus and system - Google Patents

Terminal control method, terminal control apparatus and system Download PDF

Info

Publication number
CN105471686A
CN105471686A CN201510991952.9A CN201510991952A CN105471686A CN 105471686 A CN105471686 A CN 105471686A CN 201510991952 A CN201510991952 A CN 201510991952A CN 105471686 A CN105471686 A CN 105471686A
Authority
CN
China
Prior art keywords
party
message
intelligent terminal
primitive
control message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510991952.9A
Other languages
Chinese (zh)
Other versions
CN105471686B (en
Inventor
钱凯
杨鑫
张华新
马舒怡
丁超辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510991952.9A priority Critical patent/CN105471686B/en
Publication of CN105471686A publication Critical patent/CN105471686A/en
Application granted granted Critical
Publication of CN105471686B publication Critical patent/CN105471686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a terminal control method, a terminal control apparatus and a system, belonging to the field of computer networks. The method comprises the following steps that: a gateway device establishes a network connection with at least one third party intelligent terminal, at lest two third party intelligent terminals adopting different third party transmission protocol and/or different third party message format exist; the gateway device acquires a primitive control message, wherein the primitive control message is the one adopting a gateway side transmission protocol; the gateway device converts the primitive control message into a third party control message, wherein the third party control message is the one adopting the third party message format; the gateway device transmits the third party control message to the third party intelligent terminal through the network connection. The method, the apparatus and the system, provided by the invention, solve a problem that the same manufacturer has difficulty in simultaneous manufacturing of the intelligent terminals of all types and application range of the current smart home system is limited, and achieve the effect of implementing unified management and control even if the third party intelligent terminals are manufactured by different manufactures.

Description

Terminal control method, Apparatus and system
Technical field
The embodiment of the present invention relates to computer network field, particularly a kind of terminal control method, Apparatus and system.
Background technology
Intelligent domestic system is by multiple intelligent terminal organic integration system together.Intelligent terminal comprises: the equipment such as smart jack, intelligent electric lamp, intelligent curtain, intelligent air condition, intelligent television and intelligent switch.
Current intelligent domestic system is substantially all based upon on the basis of the Internet of Things set up based on Zigbee (purple peak) module.ZigBee technology is the wireless communication technology of a kind of short distance, low-power consumption.Each Zigbee module needs a dedicated gateway with Zigbee controlling functions and router feature, Zigbee module sets up Zigbee network by this dedicated gateway in the mode of MANET, this dedicated gateway is responsible for smart machine accessing Internet, network process in realization.In whole network range, if the use same transmission protocol of same manufacturer production and the Zigbee module of identical message format, a Zigbee module can connect with multiple Zigbee module, thus realizes carrying out unified management to multiple intelligent household terminal simultaneously.
In the process realizing the embodiment of the present invention, inventor finds that prior art at least exists following problem:
Above-mentioned Zigbee module needs to be the use same transmission protocol of same manufacturer production and the Zigbee module of identical message format, but in fact same manufacturer is difficult to the intelligent terminal producing all kinds simultaneously, cause current intelligent domestic system to be all the intelligent domestic system laying particular emphasis on a certain kind or certain several kind usually, be of limited application.
Summary of the invention
Being difficult to produce the intelligent terminal of all kinds to solve same manufacturer, the problem that current intelligent domestic system is of limited application simultaneously, embodiments providing a kind of terminal control method, Apparatus and system.Described technical scheme is as follows:
First aspect, provides a kind of terminal control method, and described method comprises:
Set up network with at least one third party's intelligent terminal to be connected, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two described third party's intelligent terminals and adopts different described third party transfer agreements and/or different third party's message formats;
Obtain primitive control message, described primitive control message is the message adopting gateway side message format;
Described primitive control message is converted to third party and controls message, it is the message adopting described third party's message format that described third party controls message;
Send described third party by described network connection to described third party's intelligent terminal and control message, described third party's intelligent terminal controls message for performing described third party.
Second aspect, provides a kind of terminal control mechanism, and described device comprises:
Link block, be connected for setting up network with at least one third party's intelligent terminal, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two described third party's intelligent terminals and adopts different described third party transfer agreements and/or different third party's message formats;
Acquisition module, for obtaining primitive control message, described primitive control message is the message adopting gateway side message format;
Modular converter, controls message for described primitive control message is converted to third party, and it is the message adopting described third party transfer agreement that described third party controls message;
Sending module, control message for sending described third party by described network connection to described third party's intelligent terminal, described third party's intelligent terminal controls message for performing described third party.
The third aspect, provides a kind of network system, and described system comprises: user terminal, server, gateway device and third party's intelligent terminal;
Described gateway device, be connected for setting up network with third party's intelligent terminal described at least one, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two described third party's intelligent terminals and adopts different described third party transfer agreements and/or different third party's message formats;
Described user terminal, for sending primitive control message by described server to described gateway device, described primitive control message is the message adopting gateway side message format
Described gateway device, for obtaining described primitive control message; Described primitive control message is converted to third party and controls message, it is the message adopting described third party's message format that described third party controls message;
Described gateway device, controls message for sending described third party by described network connection to described third party's intelligent terminal;
Described third party's intelligent terminal, controls message for performing described third party.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Controlling message by primitive control message being converted to third party by gateway device, being connected by network and controlling message to third party's intelligent terminal transmission third party; Solve the intelligent terminal that same manufacturer is difficult to produce all kinds simultaneously, the problem that current intelligent domestic system is of limited application; Reach connection and control that same gateway device can support third party's intelligent terminal of multiple employing different third party transfer agreement and/or different third party's message formats, even if third party's intelligent terminal is third party's intelligent terminal that different vendor produces, the effect of unified management and control also can be realized.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the network system that one embodiment of the invention provides;
Fig. 2 is the structural representation of the gateway device that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the terminal control method that one embodiment of the invention provides;
Fig. 4 A is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Fig. 4 B is the principle schematic of the terminal control method that Fig. 4 A illustrated embodiment provides;
Fig. 5 is the enforcement schematic diagram of terminal control method when implementing that one embodiment of the invention provides;
Fig. 6 is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Fig. 7 is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Fig. 8 is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Fig. 9 is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Figure 10 is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Figure 11 is the interface schematic diagram of terminal control method when being associated relation that another embodiment of the present invention provides;
Figure 12 is the method flow diagram of the terminal control method that another embodiment of the present invention provides;
Figure 13 is the structural representation of the terminal control mechanism that another embodiment of the present invention provides;
Figure 14 is the structural representation of the terminal control mechanism that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, in fact go out the structural representation of the network system 100 that one embodiment of the invention provides.This network system 100 can be intelligent domestic system.This network system 100 comprises: at least one user terminal 120, server 140, gateway device 160 and at least one third party's intelligent terminal 180.
User terminal 120 can be smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desktop computer etc.Run in user terminal 120 and have predetermined APP (Application, application program), predetermined APP can be instant messaging program, social class application program, Smart Home management-type application program or gateway management class application program.In embodiments of the present invention, be that instant messaging program illustrates for predetermined APP.Social class application program can be microblogging, friend-making software etc.
Be connected by cable network or wireless network between user terminal 120 with server 140.
Server 140 is servers of the background service for providing predetermined APP.Also namely, server 140 can be the background server of the background server of instant messaging program, the background server of social class application program, the background server of Smart Home management-type application program or gateway management class application program.
Be connected by cable network or wireless network between server 140 with gateway device 160.
Gateway device 160 can be router, switch or home media center etc.Gateway device 160 is the gateway devices for finding, connecting and manage third party's intelligent terminal 180.In the embodiment that some are possible, gateway device 160 directly and between user terminal 120 connects, and does not need the transfer by server 140.
Be connected by cable network or wireless network between gateway device 160 with third party's intelligent terminal 180.
Third party's intelligent terminal 180 can be intelligent electric lamp, intelligent fan, intelligent curtain, intelligent video camera head, intelligent pet feeder, smart jack, intelligent air condition, intelligent electric rice cooker, intelligent refrigerator, intelligent watch, intelligent glasses and intelligent shoe etc.Along with the raising of scientific and technological level, kind and the application of third party's intelligent terminal also get more and more.Under normal circumstances, third party's intelligent terminal 180 has different manufacturers from gateway device 120.Third party's intelligent terminal 180 adopts third party transfer agreement and third party's message format.
When there is multiple third party manufacturer, there is different third party's intelligent terminals 180 and adopting different third party transfer agreements and/or different third party's message formats.
Also namely, two third party's smart machines 180 may adopt different third party transfer agreements and identical third party's message format; Or two third party's smart machines 180 adopt identical third party transfer agreement and different third party's message formats; Or two third party's smart machines 180 adopt different third party transfer agreements and different third party's message formats.
Wherein, third party transfer agreement comprises at least one in following agreement:
Based on the host-host protocol of WIFI (WirelessFidelity, Wireless Fidelity) agreement;
Based on the host-host protocol of Zigbee (ZigzagFlyingofBees, purple honeybee) agreement;
Based on the host-host protocol of BLE (BluetoothLowEnergy, Bluetooth Low Energy) agreement;
Based on the host-host protocol of RF (RadioFrequency, radio frequency) 433 agreements, this host-host protocol uses 433Mhz frequency range;
Based on the host-host protocol of RF2.4G agreement, this host-host protocol uses 2.4Ghz frequency range;
Based on the host-host protocol of radio frequency 5G agreement, this host-host protocol uses 5Ghz frequency range;
Based on the host-host protocol of wireless networking specification Z-Wave.
Such as, two third party's smart machines 180 adopt identical third party transfer agreement and different third party's message formats, such as: third party's smart machine 180 adopts Zigbee protocol and message format 1, and another third party's smart machine 180 adopts Zigbee protocol and message format 2.
Again such as, there are at least two third party's intelligent terminals and adopt different third party transfer agreements.Such as, third party's intelligent terminal adopts the host-host protocol based on Zigbee protocol, and another third party's intelligent terminal adopts the host-host protocol based on WiFi agreement.
Please refer to Fig. 2, it illustrates the structural representation of the gateway device 200 that one embodiment of the invention provides.This gateway device 200 comprises: processor 220, memory 240 and at least one network interface card assembly 260.
Processor 220 is control centres of gateway device 200, utilize the various piece of various interface and the whole gateway device 200 of connection, software program in memory 240 and/or module is stored in by running or performing, and call the data be stored in memory 240, perform various function and the deal with data of gateway device 200, thus entirety control is carried out to gateway device 200.Optionally, processor 220 comprises one or more process core.
Processor 220 and memory 240 are electrical connected.
Memory 240 is for storing software program and module.Processor 220 is stored in software program and the module of memory 240 by running, thus performs the application of various function and data processing.Memory 240 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM is (English: StaticRandomAccessMemory, be called for short: SRAM), Electrically Erasable Read Only Memory is (English: ElectricallyErasableProgrammableRead-OnlyMemory, be called for short: EEPROM), Erasable Programmable Read Only Memory EPROM is (English: ErasableProgrammableReadOnlyMemory, be called for short: EPROM), programmable read only memory is (English: ProgrammableRead-OnlyMemory, be called for short: PROM), read-only memory is (English: ReadOnlyMemory, be called for short: ROM), magnetic memory, flash memory, disk or CD.
Processor 220 is also electrical connected with at least one network interface card assembly 260.
Network interface card assembly 260 comprises: at least two kinds in WiFi network interface card assembly 261, Zigbee network interface card assembly 262, the network interface card assembly 263 with RJ45 interface, bluetooth network interface card assembly 264 and radio frequency network interface card assembly 265.The present embodiment, comprises whole five kinds of network interface card assemblies 200 with this gateway device 200 and illustrates.For the network interface card assembly of each type, gateway device 200 can comprise the network interface card assembly 260 of more than one or one the type.Such as, gateway device 200 comprises 5 network interface card assembly 263, WIFI network interface card assemblies 261 with RJ45 interface etc.
Alternatively, the software program stored in memory 240 and module, comprise: gateway ROM (read-onlymemory, read-only storage) 241, network communication program 242, thing connection program 243, third party's intelligent terminal discovery procedure 244, third party's intelligent terminal linker 245, the third Protocol resolve plug-in unit 246 and control law enforcement engine 247 etc.
Wherein, gateway ROM241 represents the read-only memory mirror image being used for gateway.Gateway ROM241 comprises: for realizing code or the instruction of the customizing operating system of gateway device 200.For third party's message format that some are common, gateway ROM241 comprises: for code or the instruction that will the message of gateway side message format be adopted to be converted to the message of third party's message format, and/or, for code or the instruction that will the message of third party's message format be adopted to be converted to the message of gateway side message format.
Network communication program 242 comprises: WiFi communication program, ethernet communication program, third party's intelligent terminal signal procedure etc.Network communication program comprises: for realizing foundation code or the instruction of communication between devices.
Thing connection program 243 comprises: for realizing the code that communicates between gateway device with user terminal or instruction.Such as, when operation in user terminal has instant messaging program, thing connection program is also instant messaging program, and gateway device 200 is modeled as the user in an instant messaging program, thus in the friend relation chain of access instant messaging service; Again such as, the QQ telecommunication customer end of user interface is not had after simplifying; When operation in user terminal has social class application program, thing connection program is also social class application program, and gateway device 200 is modeled as the user in a social class application program, thus accesses in the friend relation chain of social class service.
Third party's intelligent terminal discovery procedure 244 comprises: for finding code or the instruction of the third party's intelligent terminal being in accessible state.Such as, the third party's intelligent terminal being in accessible state sends broadcasting packet, and third party's intelligent terminal discovery procedure is the code for resolving and process this broadcasting packet.
Third party's intelligent terminal linker 245 comprises: the code connected with the third party's intelligent terminal being in accessible state or instruction.
The third Protocol is resolved plug-in unit 246 and is comprised: for code or the instruction that will the message of gateway side message format be adopted to be converted to the message of third party's message format, and/or, for code or the instruction that will the message of third party's message format be adopted to be converted to the message of gateway side message format.Alternatively, for different third party transfer agreements, the third Protocol is resolved plug-in unit 246 and is existed multiple, and it is corresponding with a kind of third party's message format that a kind of third party resolves plug-in unit 246, or it is corresponding with two or more third party's message format that a kind of third party resolves plug-in unit 246.
Control law enforcement engine 247 comprises: for resolving and perform code or the instruction of primitive control instruction.Primitive control instruction can be produced by any one equipment in user terminal, server, gateway device and another third party's intelligent terminal.Primitive control instruction is for realizing controlling to target third party intelligent terminal.Target third party intelligent terminal is third party's intelligent terminal of desired control in the third party's intelligent terminal connected.
Please refer to Fig. 3, it illustrates the method flow diagram of the terminal control method that one embodiment of the invention provides.The present embodiment is applied in this way in gateway device illustrated in fig. 1 and illustrates.The method comprises:
Step 301, set up network with at least one third party's intelligent terminal to be connected, network connects the third party transfer agreement meeting third party's intelligent terminal and support, at least there are two third party's intelligent terminals and adopts different third party transfer agreements and/or different third party's message formats;
If third party's intelligent terminal adopts based on the host-host protocol of WIFI agreement, then gateway device is set up WIFI with third party's intelligent terminal and is connected; If third party's intelligent terminal adopts based on the host-host protocol of Zigbee protocol, then gateway device is set up Zigbee with third party's intelligent terminal and is connected; If third party's intelligent terminal adopts based on the host-host protocol of BLE agreement, then gateway device is set up bluetooth with third party's intelligent terminal and is connected; If third party's intelligent terminal adopts the host-host protocol based on RF433 agreement, the host-host protocol based on RF2.4G agreement, based on the host-host protocol of radio frequency 5G agreement or the host-host protocol based on Z-Wave, then gateway device is set up radio frequency with third party's intelligent terminal and is connected.
Step 302, obtains primitive control message, and primitive control message is the message adopting gateway side message format;
Gateway device adopts gateway side message format.Adopt the control message of gateway side message format, can be described as primitive control message; Adopt the data message of gateway side message format, can be described as primitive data message.
Primitive control message can be produced by any one equipment in the user terminal in Fig. 1, server, gateway device and another third party's intelligent terminal.
Primitive control message is used for controlling target third party intelligent terminal.
Step 303, is converted to third party by primitive control message and controls message, and it is the message adopting third party's message format that third party controls message;
It is corresponding with target third party intelligent terminal that this third party controls third party's message format that message adopts.
Step 304, connected by network and control message to third party's intelligent terminal transmission third party, third party's intelligent terminal controls message for performing third party.
The third party obtained after conversion is controlled message by gateway device, is connected send to third party's intelligent terminal by network.This third party's intelligent terminal is used for, receiving after third party controls message, performing this third party and controlling control command entrained in message.
In sum, the terminal control method that the present embodiment provides, controls message by primitive control message being converted to third party by gateway device, is connected control message to third party's intelligent terminal transmission third party by network; Solve the intelligent terminal that same manufacturer is difficult to produce all kinds simultaneously, the problem that current intelligent domestic system is of limited application; Reach connection and control that same gateway device can support third party's intelligent terminal of multiple employing different third party transfer agreement and/or different third party's message formats, even if third party's intelligent terminal is third party's intelligent terminal that different vendor produces, the effect of unified management and control also can be realized.
Please refer to Fig. 4 A, it illustrates the method flow diagram of the terminal control method that another embodiment of the present invention provides.The present embodiment is applied in the network system described in Fig. 1 with this terminal control method and illustrates.The method comprises:
Step 401, gateway device is associated with user terminal relation;
For the ease of controlling, first gateway device is associated with user terminal relation.Alternatively, this incidence relation be binding relationship, instant messaging service in friend relation, social class service in friend relation and social class service in concern relation in any one.Alternatively, this incidence relation is stored in user terminal or server.
Such as, run in user terminal and have instant messaging program QQ, run in gateway device and have QQ thing to join program, then set up the friend relation between the QQ of user terminal and No. QQ of gateway device in the server.Now, gateway device with the form of an instant messaging good friend, can be presented in the QQ address list of user terminal.
Step 402, gateway device is set up network with at least one third party's intelligent terminal and is connected, this network connects the third party transfer agreement meeting third party's intelligent terminal and support, at least there are two third party's intelligent terminals and adopts different third party transfer agreements and/or different third party's message formats;
Manufacturer due to each third party's intelligent terminal may be identical or different, and the third party transfer agreement that each third party's intelligent terminal adopts and third party's message format also may be identical or different.For each third party's intelligent terminal, gateway device is set up network with this third party's intelligent terminal and is connected.It can be identical or different that the network set up between gateway device and different third party's intelligent terminals connects.
Such as, the intelligent switch that gateway device and A manufacturer produce is set up WiFi and is connected, and the intelligent electric lamp that gateway device is also produced with B manufacturer is set up Zigbee and is connected, and the intelligent refrigerator that gateway device is also produced with C manufacturer is set up bluetooth and is connected.
Step 403, gateway device obtains the facility information of third party's intelligent terminal;
The facility information of third party's intelligent terminal comprises: the production firm of the title of third party's intelligent terminal, the mark of third party's intelligent terminal, third party's intelligent terminal, the function introduction of third party's intelligent terminal, the control of authority information of third party's intelligent terminal, the operating state of third party's intelligent terminal etc.
Step 404, the facility information of third party's intelligent terminal is sent to user terminal by gateway device;
Between gateway device with user terminal, directly set up network when being connected, the facility information of third party's intelligent terminal is connected by this network and sends to user terminal by gateway device;
Between gateway device with user terminal by server indirectly set up network be connected time, the facility information of third party's intelligent terminal is sent to user terminal by server by gateway device.Also namely the facility information of third party's intelligent terminal is first sent to server by gateway device, is transmitted to user terminal by server.Alternatively, the incidence relation between gateway device and user terminal is stored in server.
Step 405, the facility information of user terminal displays third party intelligent terminal;
Alternatively, third party's intelligent terminal shows as addible new equipment by user terminal; Alternatively, third party's intelligent terminal shows as addible instant communication contact or social class application contact by user terminal.
Step 406, user terminal sends bind request to gateway device;
When user wishes to use and manage some third party's intelligent terminals, activated user terminal sends bind request to gateway device, and this bind request carries the mark of this third party's intelligent terminal.This bind request sets up binding relationship between user terminal and third party's intelligent terminal for asking gateway device.
Accordingly, gateway device receives the bind request of user terminal.
Step 407, user terminal and third party's intelligent terminal are set up binding relationship according to bind request by gateway device.
Gateway device stores the binding relationship between user terminal and third party's intelligent terminal.This binding relationship can also be stored in server or user terminal.
After setting up binding relationship, user terminal can control third party's intelligent terminal.
It should be noted that, the message communicated between user terminal with gateway device adopts gateway side message format.Gateway side message format is the host-host protocol that gateway device uses.
Step 408, user terminal sends primitive control message to gateway device;
Between user terminal with gateway device, directly set up network when being connected, primitive control message is connected by this network and directly sends to gateway device by user terminal.
Between user terminal with gateway device by server indirectly set up network be connected time, this primitive control message is sent to gateway device by server by user terminal.Also namely primitive control message is first sent to server by user terminal, is transmitted to gateway device by server.
This primitive control message is used for control objectives third party intelligent terminal, thus trigger target third party intelligent terminal performs scheduled operation.Primitive control message is the message adopting gateway side message format.
Such as, third party's intelligent terminal is intelligent electric lamp, and user wishes that controlling intelligent electric lamp opens, then the information of carrying in this primitive control message comprises: the mark of intelligent electric lamp, open command;
Again such as, third party's intelligent terminal is smart jack, and user wishes to close to smart jack timing, then the information of carrying in this primitive control message comprises: the mark of smart jack, the time of timing closedown, timing out code;
For another example, third party's intelligent terminal is intelligent refrigerator, and user wishes the operational mode that can change this intelligent refrigerator, then the information of carrying in this primitive control message comprises: the mark of intelligent refrigerator, the mark of operational mode.
Alternatively, the mark of gateway device is also carried in primitive control message.
Alternatively, this primitive control message is that user operation user terminal generates; Alternatively, this primitive control message is that user terminal generates automatically according to preset control strategy.
Step 409, primitive control message is converted to third party and controls message by gateway device, and it is the message adopting third party's message format that third party controls message;
Gateway device obtains the mark of third party's intelligent terminal from primitive control message.Third party's message format that gateway device inquiry is corresponding with this third party's intelligent terminal.
If this third party's message format be in gateway device native program support change third party's message format, then this primitive control message is converted to third party by native program and controls message by gateway device;
If this third party's message format is that in gateway device, the third Protocol resolves third party's message format that plug-in unit institute supports to change, then this primitive control message is converted to third party is controlled message by this third Protocol parsing plug-in unit by gateway device.
It should be noted that, the third Protocol is resolved plug-in unit and can be developed by third party manufacturer, and in uploading onto the server after exploitation.Gateway device obtains this third Protocol by update mode or request method and resolves plug-in unit and install from server.
Step 410, gateway device sends third party by network connection to third party's intelligent terminal and controls message;
It is the connection of setting up between gateway device and third party's intelligent terminal that this network connects.
Accordingly, this third party of third party's intelligent terminal for reception controls message.
Step 411, third party's intelligent terminal performs third party and controls message.
Third party's message format is adopted, so this third party can directly be resolved and perform to third party's intelligent terminal control message because this third party controls message.
Such as, for intelligent electric lamp, intelligent electric lamp receives after the third party being used to indicate " unlatching " controls message, is converted to luminance by OFF state.
In sum, the terminal control method that the present embodiment provides, controls message by primitive control message being converted to third party by gateway device, is connected control message to third party's intelligent terminal transmission third party by network; Solve the intelligent terminal that same manufacturer is difficult to produce all kinds simultaneously, the problem that current intelligent domestic system is of limited application; Reach connection and control that same gateway device can support third party's intelligent terminal of multiple employing different third party transfer agreement and/or different third party's message formats, even if third party's intelligent terminal is third party's intelligent terminal that different vendor produces, the effect of unified management and control also can be realized.
The terminal control method that the present embodiment provides, also by generating primitive control message by user terminal, can realize the Long-distance Control of user terminal to third party's intelligent terminal.If user terminal runs instant messaging program or the application of social class, then gateway device and third party's intelligent terminal can be carried out showing and controlling as a contact person.
Due to the content that the normally each third party manufacturer of third party's message format is comparatively secret, third party manufacturer is unwilling to reveal to other manufacturer the detail of third party's message format usually, the terminal control method that the present embodiment provides is by providing the api interface of gateway side message format to third party manufacturer, plug-in unit is resolved by third party manufacturer self-developing the third Protocol, namely can make third party's intelligent terminal accessing gateway equipment, also not need third party manufacturer to reveal out details about third party's message format.
For the ease of understanding, please refer to Fig. 4 B, user terminal 120 sends primitive control message A, primitive control message B, primitive control message C by predetermined APP to gateway device 160.Wherein, primitive control message A is used for controlling third party's smart machine A, and primitive control message B is used for controlling third party's smart machine B, and primitive control message C is used for controlling third party's smart machine C.These three primitive control messages can first be sent to server 140, and server 140, according to the incidence relation prestored, inquires the gateway device 160 corresponding with user terminal 120.Server 140 by three primitive control message repeatings to gateway device 160.Gateway device 160 receives this three primitive control messages by performing inner thing connection program, then primitive control message A is converted to third party by the third Protocol parsing plug-in unit A and controls message A, third party is controlled message A and send to third party's smart machine A; Primitive control message B is converted to third party by the third Protocol parsing plug-in unit B and controls message B, third party is controlled message B and send to third party's smart machine B; Primitive control message C is converted to third party by the third Protocol parsing plug-in unit C and controls message C, third party is controlled message C and send to third party's smart machine C.Third party's message format that third party controls message A, third party controls message B and third party controls message C adopted separately is normally different.
In the embodiment based on Fig. 4 A embodiment, user terminal can with single third party's intelligent terminal for object sends primitive control message, also can with the group comprising at least two third party's intelligent terminals for object sends primitive control message.Illustrate for object sends primitive control message with single third party's intelligent terminal with user terminal in the present embodiment.
Primitive control message performs scheduled operation for the third party's intelligent terminal accessed under triggering gateway device.At user terminal end, primitive control message comprises following several different way of realization:
First, when receiving with the control information of button form input, user terminal directly or by server sends primitive control message to the gateway device with incidence relation indirectly, so that this primitive control message converts to after third party controls message by gateway device, send to third party's intelligent terminal;
Such as, the "ON" in " control of the intelligent electric lamp equipment " interface shown in Fig. 5 or "Off" button.When user clicks "ON" button, user terminal generates and sends the primitive control message for opening intelligent electric lamp, so that this primitive control message converts to after third party controls message by gateway device, sends to intelligent electric lamp.
Second, when receiving the control information of the written form input meeting set form, user terminal directly or by server sends primitive control message to the gateway device with incidence relation indirectly, so that this primitive control message converts to after third party controls message by gateway device, send to third party's intelligent terminal;
In the instant communication client that can be presented at user terminal with the form of contact person due to gateway device or social class applications client, user is to meet the written form input control information of set form, and this control information can adopt the form of the chat message in instant communication client or social class applications client to send to gateway device.
Such as, for intelligent electric lamp, defining set form is "ON", "Off", " dimmed " or " brightening " etc. control information, user directly inputs the control information meeting set form in the chat interface corresponding to intelligent electric lamp: "ON", "Off", " dimmed " or " brightening " etc., forms primitive control message.Primitive control message directly sends to the gateway device with incidence relation with the form of chat message, also the gateway device with incidence relation can indirectly be sent to by server, this primitive control message converted to after third party controls message by gateway device again, send to intelligent electric lamp.
3rd, when receiving with the control information of the written form of on-fixed form input, user terminal is resolved control information and is obtained corresponding primitive control message, directly or by server indirectly send primitive control message to the gateway device with incidence relation, so that this primitive control message converts to after third party controls message by gateway device, send to third party's intelligent terminal;
Such as, for intelligent electric lamp, define set form "ON", "Off", " dimmed " or " brightening " etc. control information.User is " me please be helped to turn on light " corresponding to the chat message inputted in the chat interface of intelligent electric lamp, then user terminal " please help me to turn on light " by the parsing such as character recognition technology and semantics recognition technology control information, obtains the primitive control message for representing "ON".Primitive control message directly sends to the gateway device with incidence relation with the form of chat message, also the gateway device with incidence relation can indirectly be sent to by server, this primitive control message converted to after third party controls message by gateway device again, send to intelligent electric lamp.
4th, when receiving with the control information of the written form of on-fixed form input, user terminal sends the control information of written form to server, after obtaining corresponding primitive control message by server parses control information, primitive control message is sent to the gateway device with incidence relation by server, so that this primitive control message converts to after third party controls message by gateway device, send to third party's intelligent terminal;
Based on the third way of realization above-mentioned, if user terminal does not possess character recognition technology and semantic analytic technique etc., then can send to server by what receive with the control information of the written form of on-fixed form input.Server is resolved control information by character recognition technology and semantics recognition technology etc. and is obtained corresponding primitive control message.
5th, when receiving with the control information of speech form input, user terminal is resolved control information by speech recognition and is controlled message accordingly, directly or by server indirectly sends to third party's intelligent terminal with incidence relation and controls message;
Such as, for intelligent electric lamp, user says " me please be helped to turn on light ", then user terminal " please help me to turn on light " by the parsing such as semantic analysis technology and extraction of semantics technology control information, is controlled message accordingly.Control message and directly can send to third party's intelligent terminal with incidence relation, also can indirectly send to third party's intelligent terminal with incidence relation by server.
6th, when receiving with the control information of speech form input, user terminal sends the control information of speech form to server, primitive control message is sent to the gateway device with incidence relation by server, so that this primitive control message converts to after third party controls message by gateway device, send to third party's intelligent terminal.
Based on above-mentioned 5th kind of way of realization, if user terminal does not possess semantic analysis technology and extraction of semantics technology etc., then can send to server by what receive with the control information of speech form input.Server is resolved control information by semantic analysis technology and extraction of semantics technology etc. and is obtained corresponding primitive control message.
Accordingly, gateway device receives the primitive control message of the user terminal transmission with incidence relation.
In the present embodiment, because the activation pattern of control information is very various, make hommization and the intellectuality more in actual applications of this terminal control method.
In the embodiment that another is possible, primitive control message is generated by server.Now, the step 408 in Fig. 4 A embodiment can alternatively be realized becoming step 608a and step 608b, as shown in Figure 6:
Step 608a, server generates primitive control message according to the first predetermined control strategy;
Alternatively, the first control strategy is the control strategy that user terminal pre-sets in the server.
Alternatively, the first control strategy is the control strategy pre-set in server, and this control strategy can be selected for user terminal.User terminal is after enabling or pay close attention to this first control strategy, and server automatically performs this first control strategy.
Such as, first control strategy comprises: every day, 6:00 sent the primitive control message opening curtain to intelligent curtain, every day, 19:00 sent the primitive control message opening electric light to intelligent electric lamp, and every night, 10:00 sent to intelligent air condition the primitive control message that maintenance indoor temperature is 20 degrees Celsius.
Step 608b, server sends primitive control message to gateway device, and this primitive control message is that server generates according to the first predetermined control strategy.
In the present embodiment, because server can generate primitive control message according to the first predetermined control strategy, even if reach user terminal shutdown, the effect that server also can replace user terminal to control third party's intelligent terminal.
In the embodiment that another is possible, primitive control message is generated by gateway device.Now, the step 408 in Fig. 4 A embodiment can alternatively be realized becoming step 708, as shown in Figure 7:
Step 708, gateway device generates primitive control message according to the second predetermined control strategy;
Alternatively, the second control strategy is the control strategy that user terminal pre-sets in gateway device.
Alternatively, the second control strategy is the control strategy pre-set in gateway device, and this control strategy can be selected for user terminal.User terminal is after enabling or pay close attention to this second control strategy, and gateway device automatically performs this second control strategy.
Such as, second control strategy comprises: every day, 6:00 sent the primitive control message opening curtain to intelligent curtain, every day, 19:00 sent the primitive control message opening electric light to intelligent electric lamp, and every night, 10:00 sent to intelligent air condition the primitive control message that maintenance indoor temperature is 20 degrees Celsius.
In the present embodiment, because gateway device can generate primitive control message according to the second predetermined control strategy, even if reach user terminal shutdown, the effect that gateway device also can replace user terminal to control third party's intelligent terminal.
In the embodiment that another is possible, primitive control message is generated by another third party's intelligent terminal.Suppose that this another third party's intelligent terminal is third party's intelligent terminal A, controlled third party's intelligent terminal is third party's intelligent terminal B.Now, the step 408 in Fig. 4 A embodiment can alternatively be realized becoming step 808a.As shown in Figure 8:
Step 808a, third party's intelligent terminal A send third party to gateway device and control message;
This third party controls message for controlling third party's intelligent terminal.
Be intelligent switch with third party's intelligent terminal A, third party's intelligent terminal is intelligent electric lamp is example, and intelligent switch controls message to gateway device third party, and this third party controls message and carries out opening or closing for controlling intelligent electric lamp.
Alternatively, set up in gateway device between third party's intelligent terminal A and third party's intelligent terminal B and have binding relationship, or third party's intelligent terminal A and third party's intelligent terminal B and same user terminal are bound.Third party's intelligent terminal B is not limited to an equipment, also can be multiple equipment.
Step 808b, gateway device receives this third party and controls message;
Third party controls message and adopts third party's message format, and this third party's message format is corresponding with third party's intelligent terminal A.Third party's message format that third party's message format that third party's intelligent terminal A is corresponding is corresponding from third party's intelligent terminal B is normally different.
Step 808c, third party is controlled message and is converted to the primitive control message adopting gateway side message format by gateway device.
In subsequent step 409, primitive control message is converted to and adopts the third party of the third party message format corresponding with third party's intelligent terminal B to control message by gateway device.
In the present embodiment, coordinated signals can be realized between third party's intelligent terminal and third party's intelligent terminal.Reach the effect that user can use third party's intelligent terminal to control another one or other third party's intelligent terminal several.
It should be noted that, if third party's message format corresponding to the third party's intelligent terminal A third party message format corresponding with third party's intelligent terminal B is identical, then gateway device can directly be transmitted to third party and control message.
Also it should be added that, in the embodiment that the another kind based on each embodiment above-mentioned is possible, third party's intelligent terminal can also send data to user terminal or another third party's intelligent terminal, these data can be the current operating data of third party's intelligent terminal, so that user terminal or another third party's intelligent terminal.With reference to figure 9, above-mentioned terminal control method also comprises the steps:
Step 412, third party's intelligent terminal sends third party's data message to gateway device, and third party's data message is the message adopting third party's message format;
This third party's message format is corresponding with third party's intelligent terminal.
This third party's data message can comprise the operational data of third party's intelligent terminal.
Step 413, gateway device receives third party's data message that third party's intelligent terminal sends, and third party's data message is the message adopting third party's message format;
Step 414, third party's data message is converted to primitive data message by gateway device, and primitive data message is the message adopting gateway side message format;
Step 415, gateway device sends primitive data message to user terminal, or primitive data message is converted to another third party's data message by gateway device, sends this another third party's data message to another third party's intelligent terminal;
When the object equipment of this third party's data message is user terminal, gateway device is direct or indirectly this primitive data message is sent to user terminal by server.
When the object equipment of this third party's data message is another third party's intelligent terminal (third party's intelligent terminal C), primitive data message is converted to another third party's data message by gateway device, and the third party transfer agreement that this another third party's data message adopts is corresponding with another third party's intelligent terminal (third party's intelligent terminal C).Then, gateway device is to another third party's data message obtained after another third party's intelligent terminal (third party's intelligent terminal C) sends this conversion.
Such as, third party's intelligent terminal is intelligent washing machine, and self current laundry state is generated third party's data message by intelligent washing machine, and intelligent washing machine sends to third party's data message to gateway device.Then, gateway device is transmitted to user terminal after this third party's data message is converted to primitive data message.User terminal can be resolved and be obtained laundry state from primitive data message, and shows this laundry state.
It should be noted that, if third party transfer agreement corresponding to the third party's intelligent terminal A third party transfer agreement corresponding with third party's intelligent terminal B is identical, then gateway device can directly be transmitted to third party's data message.
Also it should be noted that, in the present embodiment, step 411 is not limited to step 414 in Fig. 4 embodiment or based on the execution sequence in the embodiment of Fig. 4 embodiment.
In some optional embodiments, the user terminal shown by step 401 is associated with gateway device the process of relation, can alternatively be realized becoming step 401a to step 401, as shown in Figure 10:
Step 401a, user terminal obtains the device identification of gateway device by predetermined manner;
Predetermined manner comprises: the bar code on the Quick Response Code on scanning gateway device, scanning gateway device, receive user's input Word message, identify word on gateway device and/or any one in being communicated with gateway device by wireless short-distance mechanics of communication NFC.
Device identification is generally a character string, and the device identification of different gateway devices is also different.Such as, the device identification of certain gateway device is " 117417255 ", and this device identification obtains a Quick Response Code through coding, then user terminal can by identifying that this Quick Response Code obtains the device identification of gateway device.
It should be noted that, device identification also can directly be imprinted on the specification of gateway device when gateway device dispatches from the factory, and to be attached on gateway device etc. after can also being imprinted on a label.User directly can input this device identification in the user terminal.Alternatively, this device identification is the user account number in instant messaging service, or the user account number in the service of social class.Such as, this device identification is No. QQ in instant messaging program QQ.
Step 401b, user terminal sends the request of carrying the interpolation incidence relation of the device identification of gateway device to server;
The request adding incidence relation carries the device identification of gateway device, and the device identification of gateway device is that user terminal is got by above-mentioned predetermined manner.User terminal needs the incidence relation could determined after server is agreed between gateway device.
Accordingly, the request of carrying the interpolation incidence relation of the device identification of gateway device of server receives user terminal transmission.
Step 401c, whether server detects exists the user terminal of relation of being associated with gateway device first time;
Preferably, in whole instantaneous communication system, set corresponding rights management mechanism, server settings and gateway device first time are associated the user terminal of relation for keeper.After this keeper, to be associated with this gateway device agreement that the user terminal of relation has to pass through keeper of application just can be associated relation.
Step 401d, if testing result is for existing, then server sends authorization requests to the user terminal of the relation that is associated with gateway device first time;
Authorization requests is for inquiring the user terminal of relation of being associated with gateway device first time, and also namely whether keeper agrees to that this gateway device is associated with other user terminals relation.
Specific implementation is: first, and server sends authorization requests to the user terminal of the relation that is associated with gateway device first time; Then, the authorization requests of this user terminal reception server transmission; Secondly, this user terminal receives the input signal of whether permission request; Finally, if input signal represent license this authorization requests, then this user terminal to server send license feedback information so that server receive license feedback information after, to other user terminal send add success response.Wherein, the input signal of whether permission request is that the user of the user terminal of this relation that is associated with gateway device first time inputs.
It should be noted that, if testing result is not for exist, then server directly performs and sends the step of adding success response to user terminal.
Step 401e, server receive with gateway device first time be associated relation user terminal sends license feedback information time, to user terminal send interpolation success response;
Agree to that this user terminal to be associated after relation with this gateway device the user of user terminal of the relation that is associated with gateway device first time, server sends interpolation success response to this user terminal.Add title, IP (InternetProtocol, the agreement interconnected between the network) content such as address and port information that success response carries gateway device usually.
Accordingly, the interpolation success response of user terminal reception server transmission.
Step 401f, after user terminal receives the interpolation success response of server feedback, be associated with gateway device relation;
User terminal is associated after relation with gateway device, the smart machine that user terminal can control to be connected with self according to control command by corresponding control command control gateway device performs scheduled operation.
Step 401g, server sends the order adding incidence relation to gateway device;
The order adding incidence relation carries the device identification of user terminal, and the order adding incidence relation sends after server receives the request of the interpolation incidence relation that user terminal sends.Further, the order of adding incidence relation normally server sends after receiving the license feedback information that sends of user terminal being associated relation with gateway device first time.The order adding incidence relation to be associated with user terminal relation for triggering gateway device.
Accordingly, the order of the interpolation incidence relation of gateway device reception server transmission.
Step 401h, gateway device is associated with user terminal relation;
After gateway device receives the order of the interpolation incidence relation that server sends, be associated with user terminal relation.
After the relation that is successfully associated, the information of display gateway device in " list of devices " of the user terminal shown in Figure 11, the such as information such as device name, device head picture.
It should be noted that, the incidence relation that in the embodiment of the present invention, gateway device and user terminal are set up, can be the incidence relation between the user account number that logs in predetermined APP in gateway device and user terminal.
In the embodiment based on Fig. 4 embodiment, gateway device also needs to identify whether third party's intelligent terminal is trusted intelligent terminal in advance.Also namely, before step 404, also comprise step 4035 as shown in figure 12, step 404 item is become step 404a by alternative realization:
Step 4035, whether gateway device is trusted intelligent terminal according to facility information checking third party intelligent terminal;
The mark of trusted intelligent terminal is stored as trusted list by gateway device in advance.Such as, the vendor A of gateway device is cooperated with the manufacturer B of third party's intelligent terminal, then the device identification list of produced third party's intelligent terminal is supplied to the vendor A of gateway device by the manufacturer B of third party's intelligent terminal, the field vendor A of gateway device by this device identification list storage in gateway device.
Step 404a, the result for third party's intelligent terminal be trusted intelligent terminal time, the facility information of third party's intelligent terminal is sent to user terminal by gateway device.
The result for third party's intelligent terminal be not trusted intelligent terminal time, this third party's intelligent terminal disconnects by gateway device, or, the facility information of this third party's intelligent terminal is not sent to user terminal.
Then, binding relationship is set up between user terminal and third party's intelligent terminal.The binding relationship that in the embodiment of the present invention, third party's intelligent terminal and user terminal are set up also can be the binding relationship between the user account number that logs in predetermined APP in third party's intelligent terminal and user terminal.
In the present embodiment, the facility information of trusted intelligent terminal only can be sent to user terminal by gateway device, so that user terminal binds this trusted intelligent terminal, effectively can protect the fail safe of user terminal.
Please refer to Figure 13, it illustrates the block diagram of the terminal control mechanism that one embodiment of the invention provides.This device can realize becoming all or part of of gateway device by software, hardware or both combinations.This device comprises: link block 1320, acquisition module 1340, modular converter 1360 and sending module 1380;
Link block 1320, be connected for setting up network with at least one third party's intelligent terminal, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two third party's intelligent terminals and adopts different third party transfer agreements and/or different third party's message formats;
Acquisition module 1340, for obtaining primitive control message, described primitive control message is the message adopting gateway side message format;
Modular converter 1360, controls message for described primitive control message is converted to third party, and it is the message adopting described third party's message format that described third party controls message;
Sending module 1380, control message for sending described third party by described network connection to described third party's intelligent terminal, described third party's intelligent terminal controls message for performing described third party.
In sum, the terminal control mechanism that the present embodiment provides, controls message by primitive control message being converted to third party by gateway device, is connected control message to third party's intelligent terminal transmission third party by network; Solve the intelligent terminal that same manufacturer is difficult to produce all kinds simultaneously, the problem that current intelligent domestic system is of limited application; Reach connection and control that same gateway device can support third party's intelligent terminal of multiple employing different third party transfer agreement and/or different third party's message format, even if third party's intelligent terminal is third party's intelligent terminal that different vendor produces, the effect of unified management and control also can be realized.
Please refer to Figure 14, it illustrates the block diagram of the terminal control mechanism that another embodiment of the present invention provides.This device can realize becoming all or part of of gateway device by software, hardware or both combinations.This device comprises: link block 1320, acquisition module 1340, modular converter 1360 and sending module 1380;
Link block 1320, be connected for setting up network with at least one third party's intelligent terminal, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two third party's intelligent terminals and adopts different third party transfer agreements and/or different third party's message formats;
Acquisition module 1340, for obtaining primitive control message, described primitive control message is the message adopting gateway side message format;
Modular converter 1360, controls message for described primitive control message is converted to third party, and it is the message adopting described third party's message format that described third party controls message;
Sending module 1380, control message for sending described third party by described network connection to described third party's intelligent terminal, described third party's intelligent terminal controls message for performing described third party.
Alternatively, described modular converter 1360, controls message for described primitive control message being converted to described third party by native program; Or described modular converter 1360, controls message for described primitive control message being converted to described third party by the third Protocol parsing plug-in unit.
Alternatively, described acquisition module 1340, for receiving the described primitive control message that user terminal sends; Or, described acquisition module 1340, for the described primitive control message that reception server sends, described primitive control message forwards after described server receives the described primitive control message of described user terminal transmission; Or, described acquisition module 1340, for receiving the described primitive control message that described server sends, described primitive control message is that described server generates according to the first predetermined control strategy; Or described acquisition module 1340, for generating described primitive control message according to the second predetermined control strategy; Or, described acquisition module 1340, third party for receiving the described third party's message format of employing that another third party's intelligent terminal sends controls message, described third party is controlled message and is converted to the described primitive control message adopting described gateway side message format.
Alternatively, described device also comprises: receiver module 1330;
Described receiver module 1330, for receiving third party's data message that described third party's intelligent terminal sends, described third party's data message is the message adopting described third party's message format;
Described modular converter 1360, also for described third party's data message is converted to primitive data message, described primitive data message is the message adopting gateway side message format;
Described sending module 1380, also for sending described primitive data message to user terminal, or, described primitive data message is converted to another third party's data message, sends another third party's data message described to another third party's intelligent terminal.
Alternatively, described device also comprises: binding module 1350;
Described acquisition module 1340, for obtaining the facility information of described third party's intelligent terminal;
Described sending module 1380, for sending to user terminal by the facility information of described third party's intelligent terminal;
Described receiver module 1330, for receiving the bind request of described user terminal;
Described binding module 1350, for setting up binding relationship according to described bind request by described user terminal and described third party's intelligent terminal.
Alternatively, described device, also comprises:
Authentication module 1370, for verifying according to described facility information whether described third party's intelligent terminal is trusted intelligent terminal;
Described sending module 1380, when being described trusted intelligent terminal for being described third party's intelligent terminal at the result of described authentication module 1370, sends to described user terminal by the facility information of described third party's intelligent terminal.
Alternatively, described device also comprises: relating module 1390;
Described relating module, for the relation that is associated with user terminal, described incidence relation be binding relationship, instant messaging service in friend relation, social class service in friend relation and social class service in concern relation in any one.
Alternatively, at least there are two described third party's intelligent terminals and adopt different described third party transfer agreements.
Alternatively, described third party transfer agreement comprises at least one in following agreement:
Based on the host-host protocol of Wireless Fidelity WIFI agreement;
Based on the host-host protocol of purple honeybee Zigbee protocol;
Based on the host-host protocol of Bluetooth Low Energy BLE agreement;
Based on the host-host protocol of radio frequency 433 agreement;
Based on the host-host protocol of radio frequency 2.4G agreement;
Based on the host-host protocol of radio frequency 5G agreement;
Based on the host-host protocol of wireless networking specification Z-Wave.
It should be noted that: the terminal control mechanism that above-described embodiment provides is when triggering intelligent network service, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the terminal control mechanism that above-described embodiment provides and terminal control method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a terminal control method, is characterized in that, described method comprises:
Set up network with at least one third party's intelligent terminal to be connected, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two described third party's intelligent terminals and adopts different described third party transfer agreements and/or different third party's message formats;
Obtain primitive control message, described primitive control message is the message adopting gateway side message format;
Described primitive control message is converted to third party and controls message, it is the message adopting described third party's message format that described third party controls message;
Send described third party by described network connection to described third party's intelligent terminal and control message, described third party's intelligent terminal controls message for performing described third party.
2. method according to claim 1, is characterized in that, describedly described primitive control message is converted to third party controls message, comprising:
By native program, described primitive control message is converted to described third party and controls message;
Or,
By the third Protocol parsing plug-in unit, described primitive control message is converted to described third party and controls message.
3. method according to claim 1, is characterized in that, described acquisition primitive control message, comprising:
Receive the described primitive control message that user terminal sends;
Or,
The described primitive control message that reception server sends, described primitive control message forwards after described server receives the described primitive control message of described user terminal transmission;
Or,
Receive the described primitive control message that described server sends, described primitive control message is that described server generates according to the first predetermined control strategy;
Or,
Described primitive control message is generated according to the second predetermined control strategy;
Or,
The third party receiving the described third party's message format of employing that another third party's intelligent terminal sends controls message, described third party is controlled message and is converted to the described primitive control message adopting described gateway side message format.
4. method according to claim 1, is characterized in that, described method also comprises:
Connected the third party's data message receiving described third party's intelligent terminal and send by described network, described third party's data message is the message adopting described third party's message format;
Described third party's data message is converted to primitive data message, and described primitive data message is the message adopting gateway side message format;
Described primitive data message is sent to user terminal, or, described primitive data message is converted to another third party's data message, sends another third party's data message described to another third party's intelligent terminal.
5., according to the arbitrary described method of Claims 1-4, it is characterized in that, described method also comprises:
Obtain the facility information of described third party's intelligent terminal;
The facility information of described third party's intelligent terminal is sent to user terminal;
Receive the bind request of described user terminal;
According to described bind request, described user terminal and described third party's intelligent terminal are set up binding relationship.
6. method according to claim 5, is characterized in that, after the facility information of the described third party's intelligent terminal of described acquisition, also comprises:
Verify whether described third party's intelligent terminal is trusted intelligent terminal according to described facility information;
The described facility information by described third party's intelligent terminal sends to user terminal, comprising:
When the result be described third party's intelligent terminal is described trusted intelligent terminal, the facility information of described third party's intelligent terminal is sent to described user terminal.
7., according to the arbitrary described method of Claims 1-4, it is characterized in that, described method also comprises:
Be associated with user terminal relation, described incidence relation be binding relationship, instant messaging service in friend relation, social class service in friend relation and social class service in concern relation in any one.
8., according to the arbitrary described method of claim 1 to 7, it is characterized in that, described third party transfer agreement comprises at least one in following agreement:
Based on the host-host protocol of Wireless Fidelity WIFI agreement;
Based on the host-host protocol of purple honeybee Zigbee protocol;
Based on the host-host protocol of Bluetooth Low Energy BLE agreement;
Based on the host-host protocol of radio frequency 433 agreement;
Based on the host-host protocol of radio frequency 2.4G agreement;
Based on the host-host protocol of radio frequency 5G agreement;
Based on the host-host protocol of wireless networking specification Z-Wave.
9. a terminal control mechanism, is characterized in that, described device comprises:
Link block, be connected for setting up network with at least one third party's intelligent terminal, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two described third party's intelligent terminals and adopts different described third party transfer agreements and/or different third party's message formats;
Acquisition module, for obtaining primitive control message, described primitive control message is the message adopting gateway side message format;
Modular converter, controls message for described primitive control message is converted to third party, and it is the message adopting described third party's message format that described third party controls message;
Sending module, control message for sending described third party by described network connection to described third party's intelligent terminal, described third party's intelligent terminal controls message for performing described third party.
10. device according to claim 9, is characterized in that,
Described modular converter, controls message for described primitive control message being converted to described third party by native program;
Or,
Described modular converter, controls message for described primitive control message being converted to described third party by the third Protocol parsing plug-in unit.
11. devices according to claim 9, is characterized in that, described acquisition module, for:
Receive the described primitive control message that user terminal sends;
Or,
The described primitive control message that reception server sends, described primitive control message forwards after described server receives the described primitive control message of described user terminal transmission;
Or,
Receive the described primitive control message that described server sends, described primitive control message is that described server generates according to the first predetermined control strategy;
Or,
Described primitive control message is generated according to the second predetermined control strategy;
Or,
The third party receiving the described third party's message format of employing that another third party's intelligent terminal sends controls message, described third party is controlled message and is converted to the described primitive control message adopting described gateway side message format.
12. devices according to claim 9, is characterized in that, described device also comprises: receiver module;
Described receiver module, for receiving third party's data message that described third party's intelligent terminal sends, described third party's data message is the message adopting described third party's message format;
Described modular converter, also for described third party's data message is converted to primitive data message, described primitive data message is the message adopting gateway side message format;
Described sending module, also for sending described primitive data message to user terminal, or, described primitive data message is converted to another third party's data message, sends another third party's data message described to another third party's intelligent terminal.
13. according to the arbitrary described device of claim 9 to 12, and it is characterized in that, described device also comprises: receiver module and binding module;
Described acquisition module, for obtaining the facility information of described third party's intelligent terminal;
Described sending module, for sending to user terminal by the facility information of described third party's intelligent terminal;
Described receiver module, for receiving the bind request of described user terminal;
Described binding module, for setting up binding relationship according to described bind request by described user terminal and described third party's intelligent terminal.
14. devices according to claim 13, is characterized in that, described device, also comprises:
Authentication module, for verifying according to described facility information whether described third party's intelligent terminal is trusted intelligent terminal;
Described sending module, when being described trusted intelligent terminal for being described third party's intelligent terminal at the result of described authentication module, sends to described user terminal by the facility information of described third party's intelligent terminal.
15. according to the arbitrary described device of claim 9 to 12, and it is characterized in that, described device also comprises: relating module;
Described relating module, for the relation that is associated with user terminal, described incidence relation be binding relationship, instant messaging service in friend relation, social class service in friend relation and social class service in concern relation in any one.
16. according to the arbitrary described device of claim 9 to 14, and it is characterized in that, described third party transfer agreement comprises at least one in following agreement:
Based on the host-host protocol of Wireless Fidelity WIFI agreement;
Based on the host-host protocol of purple honeybee Zigbee protocol;
Based on the host-host protocol of Bluetooth Low Energy BLE agreement;
Based on the host-host protocol of radio frequency 433 agreement;
Based on the host-host protocol of radio frequency 2.4G agreement;
Based on the host-host protocol of radio frequency 5G agreement;
Based on the host-host protocol of wireless networking specification Z-Wave.
17. 1 kinds of network systems, is characterized in that, described system comprises: user terminal, server, gateway device and third party's intelligent terminal;
Described gateway device, be connected for setting up network with third party's intelligent terminal described at least one, described network connects the third party transfer agreement meeting described third party's intelligent terminal and support, at least there are two described third party's intelligent terminals and adopts different described third party transfer agreements and/or different third party's message formats;
Described user terminal, for sending primitive control message by described server to described gateway device, described primitive control message is the message adopting gateway side message format
Described gateway device, for obtaining described primitive control message; Described primitive control message is converted to third party and controls message, it is the message adopting described third party's message format that described third party controls message;
Described gateway device, controls message for sending described third party by described network connection to described third party's intelligent terminal;
Described third party's intelligent terminal, controls message for performing described third party.
18. systems according to claim 17, is characterized in that, running in described user terminal has predetermined application, and described server is background server corresponding to described predetermined application;
Described predetermined application is any one in instant messaging program, social class application program, Smart Home management-type application program and gateway management class application program.
CN201510991952.9A 2015-12-26 2015-12-26 Terminal control method, device and system Active CN105471686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510991952.9A CN105471686B (en) 2015-12-26 2015-12-26 Terminal control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510991952.9A CN105471686B (en) 2015-12-26 2015-12-26 Terminal control method, device and system

Publications (2)

Publication Number Publication Date
CN105471686A true CN105471686A (en) 2016-04-06
CN105471686B CN105471686B (en) 2022-01-07

Family

ID=55608996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510991952.9A Active CN105471686B (en) 2015-12-26 2015-12-26 Terminal control method, device and system

Country Status (1)

Country Link
CN (1) CN105471686B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898893A (en) * 2016-05-31 2016-08-24 北京乐美无限科技有限公司 Method for realizing full-duplex communication between mobile terminal and IOT equipment
CN107360071A (en) * 2017-08-15 2017-11-17 中国联合网络通信集团有限公司 Method for sending information, mobile client and the intelligent home gateway of intelligent home network
CN107395583A (en) * 2017-07-14 2017-11-24 北京墨丘科技有限公司 The method and device to be communicated between different application is realized based on natural language
CN107493211A (en) * 2017-08-29 2017-12-19 海信集团有限公司 The control method and device of intelligent home device
CN107547314A (en) * 2016-06-24 2018-01-05 夏普株式会社 System and method for smart home service
CN107801167A (en) * 2017-11-13 2018-03-13 广东聚光电子科技有限公司 The method of mobile terminal and smart device communication and the device for realizing this method
WO2018058970A1 (en) * 2016-09-29 2018-04-05 树实科技(上海)有限公司 Intelligent switch panel
CN107968995A (en) * 2017-11-29 2018-04-27 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment
CN108111465A (en) * 2016-11-24 2018-06-01 华为技术有限公司 A kind of method and apparatus for managing user equipment
CN108111999A (en) * 2017-12-28 2018-06-01 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment
CN109039837A (en) * 2017-06-12 2018-12-18 大唐移动通信设备有限公司 A kind of communication means and intelligent domestic gateway of smart home system
CN109347506A (en) * 2018-10-24 2019-02-15 四川蓝色港湾科技有限公司 A kind of data relay device suitable for a variety of transmission modes
CN109410555A (en) * 2018-12-04 2019-03-01 惠州Tcl移动通信有限公司 Terminal control method, device, terminal and storage medium
CN111435338A (en) * 2019-01-14 2020-07-21 中国移动通信集团终端有限公司 Multi-intelligent hardware unified management and control method, platform, system, equipment and storage medium
CN111478816A (en) * 2020-04-15 2020-07-31 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN112087454A (en) * 2020-09-10 2020-12-15 上海顺舟智能科技股份有限公司 Communication method, device, equipment and storage medium of Internet of things gateway equipment
CN112859620A (en) * 2019-11-12 2021-05-28 西门子(中国)有限公司 Safety protection method and device, smart home system and computer readable medium
CN114363122A (en) * 2021-12-31 2022-04-15 科大讯飞股份有限公司 Gateway device and device access system
CN114554618A (en) * 2022-02-24 2022-05-27 成都西加云杉科技有限公司 Wireless access point device, equipment access method, equipment and storage medium
CN117478449A (en) * 2023-12-28 2024-01-30 珠海格力电器股份有限公司 Control method and device of third party equipment, electronic equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070105549A1 (en) * 2003-11-20 2007-05-10 Yukinori Suda Mobile communication system using private network, relay node, and radio network controller
CN102064959A (en) * 2010-11-16 2011-05-18 西安电子科技大学 Three-network convergence oriented digital home network architecture
CN102802139A (en) * 2012-07-10 2012-11-28 无锡航天飞邻测控技术有限公司 Gateway data adapting system and method of Internet of Things
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
CN103379154A (en) * 2012-04-23 2013-10-30 中兴通讯股份有限公司 Household appliance control method, cloud system, family gateway general control device and household appliance controller
CN103647706A (en) * 2013-12-27 2014-03-19 深圳市众鸿科技股份有限公司 Self-adaptation protocol communication gateway and communication platform
CN103701695A (en) * 2013-12-26 2014-04-02 四川九洲电器集团有限责任公司 Intelligent home gateway control system
CN104079653A (en) * 2014-07-03 2014-10-01 上海积谕信息科技有限公司 Smart home control method and system based on B/S framework

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070105549A1 (en) * 2003-11-20 2007-05-10 Yukinori Suda Mobile communication system using private network, relay node, and radio network controller
CN102064959A (en) * 2010-11-16 2011-05-18 西安电子科技大学 Three-network convergence oriented digital home network architecture
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
CN103379154A (en) * 2012-04-23 2013-10-30 中兴通讯股份有限公司 Household appliance control method, cloud system, family gateway general control device and household appliance controller
CN102802139A (en) * 2012-07-10 2012-11-28 无锡航天飞邻测控技术有限公司 Gateway data adapting system and method of Internet of Things
CN103701695A (en) * 2013-12-26 2014-04-02 四川九洲电器集团有限责任公司 Intelligent home gateway control system
CN103647706A (en) * 2013-12-27 2014-03-19 深圳市众鸿科技股份有限公司 Self-adaptation protocol communication gateway and communication platform
CN104079653A (en) * 2014-07-03 2014-10-01 上海积谕信息科技有限公司 Smart home control method and system based on B/S framework

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898893A (en) * 2016-05-31 2016-08-24 北京乐美无限科技有限公司 Method for realizing full-duplex communication between mobile terminal and IOT equipment
CN107547314A (en) * 2016-06-24 2018-01-05 夏普株式会社 System and method for smart home service
CN107547314B (en) * 2016-06-24 2021-03-12 夏普株式会社 Intelligent household appliance cloud platform and intelligent household cloud system
WO2018058970A1 (en) * 2016-09-29 2018-04-05 树实科技(上海)有限公司 Intelligent switch panel
US11212253B2 (en) 2016-11-24 2021-12-28 Huawei Technologies Co., Ltd. User equipment management method and apparatus
CN108111465A (en) * 2016-11-24 2018-06-01 华为技术有限公司 A kind of method and apparatus for managing user equipment
CN109039837A (en) * 2017-06-12 2018-12-18 大唐移动通信设备有限公司 A kind of communication means and intelligent domestic gateway of smart home system
CN107395583A (en) * 2017-07-14 2017-11-24 北京墨丘科技有限公司 The method and device to be communicated between different application is realized based on natural language
CN107395583B (en) * 2017-07-14 2020-09-04 北京墨丘科技有限公司 Method and device for realizing communication between different applications based on natural language
CN107360071A (en) * 2017-08-15 2017-11-17 中国联合网络通信集团有限公司 Method for sending information, mobile client and the intelligent home gateway of intelligent home network
CN107360071B (en) * 2017-08-15 2020-02-14 中国联合网络通信集团有限公司 Information sending method of intelligent home network, mobile client and intelligent home gateway
CN107493211A (en) * 2017-08-29 2017-12-19 海信集团有限公司 The control method and device of intelligent home device
CN107801167A (en) * 2017-11-13 2018-03-13 广东聚光电子科技有限公司 The method of mobile terminal and smart device communication and the device for realizing this method
CN107968995A (en) * 2017-11-29 2018-04-27 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment
CN108111999B (en) * 2017-12-28 2020-02-28 北京地平线机器人技术研发有限公司 Device sharing request and control method, electronic device and storage medium
CN108111999A (en) * 2017-12-28 2018-06-01 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment
CN109347506A (en) * 2018-10-24 2019-02-15 四川蓝色港湾科技有限公司 A kind of data relay device suitable for a variety of transmission modes
CN109410555A (en) * 2018-12-04 2019-03-01 惠州Tcl移动通信有限公司 Terminal control method, device, terminal and storage medium
CN111435338A (en) * 2019-01-14 2020-07-21 中国移动通信集团终端有限公司 Multi-intelligent hardware unified management and control method, platform, system, equipment and storage medium
CN112859620B (en) * 2019-11-12 2023-05-05 西门子(中国)有限公司 Security protection method, security protection device, intelligent home system and computer readable medium
CN112859620A (en) * 2019-11-12 2021-05-28 西门子(中国)有限公司 Safety protection method and device, smart home system and computer readable medium
CN111478816B (en) * 2020-04-15 2023-04-07 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN111478816A (en) * 2020-04-15 2020-07-31 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN112087454B (en) * 2020-09-10 2021-08-31 上海顺舟智能科技股份有限公司 Communication method, device, equipment and storage medium of Internet of things gateway equipment
CN112087454A (en) * 2020-09-10 2020-12-15 上海顺舟智能科技股份有限公司 Communication method, device, equipment and storage medium of Internet of things gateway equipment
CN114363122A (en) * 2021-12-31 2022-04-15 科大讯飞股份有限公司 Gateway device and device access system
CN114363122B (en) * 2021-12-31 2024-02-13 科大讯飞股份有限公司 Gateway device and device access system
CN114554618A (en) * 2022-02-24 2022-05-27 成都西加云杉科技有限公司 Wireless access point device, equipment access method, equipment and storage medium
CN117478449A (en) * 2023-12-28 2024-01-30 珠海格力电器股份有限公司 Control method and device of third party equipment, electronic equipment and medium
CN117478449B (en) * 2023-12-28 2024-03-15 珠海格力电器股份有限公司 Control method and device of third party equipment, electronic equipment and medium

Also Published As

Publication number Publication date
CN105471686B (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN105471686A (en) Terminal control method, terminal control apparatus and system
US10404832B2 (en) Management of gateway device using virtual gateway device
CN104426750A (en) Method, equipment and system for instant messaging
US8050242B2 (en) Method and system for tailoring device provisioning based on device capability information communicated to network
CN103023681B (en) Smart home control device, update method
CN102802059B (en) The method of configuration machine top box, Apparatus and system
CN103632415B (en) Door control system and control device, doorway machine equipment and communication platform
CN102332983B (en) Utilize broadband gateway in home network, provide the method and system of energy management
EP3288296B1 (en) Method and system for building steady piconet based on bluetooth
CN105139877A (en) Method for connecting multimedia play devices, main device, control terminal and system
CN113572799B (en) Method and device for accessing equipment to control platform and server
CN111856955A (en) Method and apparatus for controlling device for smart home service
CN102932423B (en) A kind of control method limited in region and equipment
CN105530672A (en) Switching method and switching system for mobile terminal and smart home communication network
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
CN110099078A (en) Communication between devices, message synchronization method, apparatus, equipment and storage medium
CN101860534A (en) Method and system for switching network, access equipment and authentication server
CN105049339A (en) Method and device for loading control interface of intelligent device
CN113572669A (en) Scene processing method and device, intelligent gateway and processor
CN112637931A (en) Method and device for establishing network connection
CN103561088A (en) Remote control method and device based on account number log-in
CN105812185A (en) Communication connection method for playing device
CN102298590A (en) Home interconnected information display system and method, and display terminals and server for the same
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
CN110535733A (en) Control method, device, computer equipment and the storage medium of household electrical appliance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant