CN103795757A - Method for remotely controlling local area network equipment, client and server - Google Patents

Method for remotely controlling local area network equipment, client and server Download PDF

Info

Publication number
CN103795757A
CN103795757A CN201210427969.8A CN201210427969A CN103795757A CN 103795757 A CN103795757 A CN 103795757A CN 201210427969 A CN201210427969 A CN 201210427969A CN 103795757 A CN103795757 A CN 103795757A
Authority
CN
China
Prior art keywords
control
message
file
lan
service
Prior art date
Application number
CN201210427969.8A
Other languages
Chinese (zh)
Inventor
曹玉磊
Original Assignee
三星电子(中国)研发中心
三星电子株式会社
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 三星电子(中国)研发中心, 三星电子株式会社 filed Critical 三星电子(中国)研发中心
Priority to CN201210427969.8A priority Critical patent/CN103795757A/en
Publication of CN103795757A publication Critical patent/CN103795757A/en

Links

Abstract

The invention discloses a method for remotely controlling local area network equipment, a server and a client. The method comprises the following steps: a client and a server in a remote local area network agree on a communication protocol in advance, or a communication protocol for communication between the client and the server is predefined; when the client needs to remotely control a piece of local area network equipment, a control command is encapsulated into a control message or a control file according to the predetermined communication protocol, and the control message or the control file is sent to the remote server through a network; the server receives the control message or the control file, analyzes the message or the file according to the predetermined communication protocol, and acquires the to-be-controlled local area network equipment identifier and control content through analysis on the message or the file; and the server sends a control command to the to-be-controlled local area network equipment through an internal interconnection protocol. By the adoption of the method, the client and the server of the invention, remote control on local area network equipment is realized.

Description

The method of Long-distance Control lan device and client, service end

Technical field

The present invention relates to remote control technology field, be specifically related to the method for Long-distance Control lan device and client, service end.

Background technology

Along with scientific and technological progress, present household equipment is as mobile phone, TV, computer, washing machine, water heater, refrigerator, electric rice cookers etc. more and more present intellectuality, the feature of networking, by household equipment interconnection protocol as UPnP (UPNP, Universal Plug and Play), DLNA (DLNA, Digital Living Network Alliance) agreement etc. and the relevant network equipment couple together household equipment, realize centralized management and control as: AllShare etc., be very easy to daily life.

But the scope that these household electrical appliance connect at present is often confined to family lan scope, if want that like this control equipment is wherein just inconvenient outside this home network scope, such as: the water heater of wanting outside to control family.The equipment of carrying due to most probable may be mobile phone, panel computer or notebook computer, but these equipment are outside family lan scope, can not be connected to home network, the equipment in just can not managing family network.

For this situation, the solution that can adopt be by home-network linkups to external server, realize interconnectedly by penetrating between net, such as being connected to cloud service, realize switching.But, provide at present the mechanism of this service to seem also not exist, and also have series of problems urgently to be resolved hurrily and perfect, such as technical problem, safety problem.

Summary of the invention

The invention provides the method for Long-distance Control lan device and client, service end, to realize Long-distance Control lan device.

Technical scheme of the present invention is achieved in that

A method for Long-distance Control lan device, the communication protocol of having made an appointment of the service end in client and remote lan, or, being pre-definedly used on the communication protocol that client is communicated by letter with service end, the method comprises:

In the time that client is wanted Long-distance Control one lan device, according to predefined communication protocol, control command is packaged into and controls message or control documents, send and control message or control documents to remote service end by network;

Service end receives this control message or control documents, resolves this message or file according to predefined communication protocol, parses lan device mark and the Control the content that will control from message or file;

Service end sends control command by interconnected agreement to the lan device that will control.

Described service end further comprises after the lan device that will control sends control command by interconnected agreement:

Service end is returned to control response message to client.

Described control message is Short Message Service SMS information or voice, and described control documents is Email or instant communication file.

Described client is mobile terminal or personal computer PC, and described service end is mobile terminal, PC or TV.

After described service end is resolved this message or file according to predefined communication protocol, parse the lan device mark that will control and Control the content from message or file before, further comprise: service end is according to predefined communication protocol, judge that whether this message or file be legal, if so, carry out and described from message or file, parse that the lan device that will control identifies and the action of Control the content; Otherwise, directly abandon this message or file;

Or, further comprise: service end is carried out authentication according to default authentication information to this message or file, if authentication is passed through, carry out described from message or file, parsing that the lan device that will control identifies and the action of Control the content; Otherwise, directly abandon this message or file.

A kind of client, comprising:

Package module: in the time wanting Long-distance Control one lan device, according to predefined communication protocol, control command is packaged into and controls message or control documents, control message or control documents are sent to transceiver module;

Transceiver module: send and control message or control documents to remote service end by network.

Described client is mobile terminal, or personal computer PC.

A kind of service end, comprising:

Transceiver module: receive control message or control documents that client is sent, this message or file are sent to parsing module;

Parsing module: receive control message or control documents that transceiver module is sent, resolve this message or file according to predefined communication protocol, from message or file, parse lan device mark and the Control the content that will control, this lan device mark and Control the content are sent to control module;

Control module: receive lan device mark and Control the content that parsing module is sent, according to interconnected agreement, send control command to corresponding lan device.

Described parsing module is further used for, in the time receiving control message that transceiver module sends or control documents, according to predefined communication protocol judge this message or file whether legal, if legal, carry out and described from message or file, parse that the lan device that will control identifies and the action of Control the content, otherwise, directly abandon this message or file; Or, according to default authentication information, this message or file are carried out to authentication, if authentication is passed through, carry out described from message or file, parsing that the lan device that will control identifies and the action of Control the content, otherwise, directly abandon this message or file.

Described service end is mobile terminal, personal computer PC or TV.

Compared with prior art, the present invention has realized the Long-distance Control of local area network equipment.

Accompanying drawing explanation

The method flow diagram of the Long-distance Control lan device that Fig. 1 provides for the embodiment of the present invention;

The networking diagram of the remote control of domestic equipment that Fig. 2 provides for the embodiment of the present invention;

The composition schematic diagram of the client that Fig. 3 provides for the embodiment of the present invention;

The composition schematic diagram of the service end that Fig. 4 provides for the embodiment of the present invention.

Embodiment

Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.

The method flow diagram of the Long-distance Control lan device that Fig. 1 provides for the embodiment of the present invention, as shown in Figure 1, its concrete steps are as follows:

Step 100: the communication protocol of having made an appointment of the service end in client and remote lan, or, be pre-definedly used on the communication protocol that client is communicated by letter with service end.

Fig. 2 has provided the networking diagram of the remote control of domestic equipment that the embodiment of the present invention provides, as shown in Figure 2, between client and remote service end, be connected by communication network or internet etc., service end and each household equipment are in same local area network (LAN), and household equipment is as TV, refrigerator, washing machine, microwave oven, electric heater etc.

Step 101: definite Long-distance Control one lan device of wanting of client, according to predefined communication protocol, control command is packaged into and controls message or control documents, send this control message or control documents by network to remote service end.

Controlling message can be the forms such as Short Message Service (SMS, Short Message Service) information or voice, and control documents can be Email, instant communication file etc.

The message type field of controlling in message can represent that this message is the message of Long-distance Control lan device, and for example, message type field value is 0 to be expressed as common message, and value is 1 to be expressed as the message of Long-distance Control lan device.

The object terminal iidentification of controlling in message is: service end mark, and control object is: the lan device mark that control, carry Control the content simultaneously.

Control the content can be: open, close, by temperature adjust to a degree, under temperature b, move n minute, inform this lan device current running status, inform the normal range of operation of a certain parameter of this lan device etc., a, b, n are integer.

For control documents, can adopt: by whole the content of the above-mentioned control message file of putting into.

Client can be mobile terminal as: mobile phone, panel computer etc. can be also personal computers (PC, Personal Computer) etc., and service end can be mobile terminal, PC or TV etc.

For example: the form of controlling message can be as follows:

MsgType?ActionID?ObjectID?CtrlPara1?CtrlPara2…CtrlParaN?Retcode

Wherein, MsgType represents type of message, as: value is 0 expression common message, and value is the message of 1 expression Long-distance Control lan device;

ActionID represents control command, as: open, close etc.;

ObjectID represents the lan device ID controlling;

CtrlPara1 ... CtrlParaN represents the control parameter of attaching, as: temperature parameter, humidity parameter etc.

Step 102: service end receives this control message or control documents, resolves this message or file, finds that this message or file are message or the file of Long-distance Control lan device, obtains lan device mark and the Control the content that will control from message or file.

Service end, receiving after control message, can learn that message is the message of common message or Long-distance Control lan device according to the value of the message type field of message.

After service end finds that message or file are the message or file of Long-distance Control lan device, can first judge that whether this message or file be legal, for example: whether the form that judges this message or file meets predetermined communications protocol format, if, it is legal to determine, continues subsequent action; Otherwise, determine illegally, directly abandon this message or file.

Service end also can first be carried out authentication to this message or file after finding that message or file are the message or file of Long-distance Control lan device, for example: judge the whether safety of source of this message or file, if so, determine that authentication passes through, continue subsequent action; Otherwise, determine failed authentication, directly abandon this message or file.Wherein, service end can be preserved client-side information in advance, controls after message or control documents when receiving, and the client-side information in message or file is mated with the client-side information of preservation, if match, definite authentication is passed through.

Step 103: service end sends control command by interconnected agreement to the lan device that will control.

Between service end and lan device, can realize interconnected by UPNP, DLNA agreement etc.

Service end can also be returned to control response message or control response file to client, to inform client control result: the normal range of operation of success or failure, running status, parameter etc.

Below provide an application example of the present invention:

Running client software in mobile terminal A, in the time wanting Remote Open water heater, according to default format editing formation control order: open water heater, and send with the form of SMS message, SMS message arrives mobile terminal C through carrier network B, and C analyzes after receiving short message, and discovery is the control command to household equipment: open water heater, send and open order to water heater by DLNA agreement, and return to response message with the form of short message to A.

The composition schematic diagram of the client that Fig. 3 provides for the embodiment of the present invention, as shown in Figure 3, it mainly comprises: package module 31 and transceiver module 32, wherein:

Package module 31: in the time wanting Long-distance Control one lan device, according to predefined communication protocol, control command is packaged into and controls message or control documents, control message or control documents are sent to transceiver module 32.

Transceiver module 32: receive control message or control documents that package module 31 is sent, send this control message or control documents by network to remote service end.

In actual applications, client also can further comprise: parsing module, receive control response message or control response file that transceiver module 32 is sent, and resolve this message or file according to predefined communication protocol, message content or file content are shown to user.And transceiver module 32 is further used for, receive control response message or control response file that service end is returned, this message or file are sent to parsing module.

Parsing module also can be further used for, in the time receiving control response message that transceiver module 32 sends or control response file, according to predefined communication protocol judge this message or file whether legal, if legal, carry out the action that message content or file content is shown to user, otherwise, directly abandon this message or file; Or, according to default authentication information, this message or file are carried out to authentication, if authentication is passed through, carry out the action that message content or file content is shown to user, otherwise, directly abandon this message or file.

The composition schematic diagram of the service end that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, it mainly comprises: transceiver module 41, parsing module 42 and control module 43, wherein:

Transceiver module 41: receive control message or control documents that client is sent, this message or file are sent to parsing module 42.

Parsing module 42: receive control message or control documents that transceiver module 41 is sent, resolve this message or file according to predefined communication protocol, from message or file, parse lan device mark and the Control the content that will control, this lan device mark and Control the content are sent to control module 43.

Parsing module 42 is further used for, in the time receiving control message that transceiver module sends or control documents, according to predefined communication protocol judge this message or file whether legal, if legal, carry out and described from message or file, parse that the lan device that will control identifies and the action of Control the content, otherwise, directly abandon this message or file; Or, according to default authentication information, this message or file are carried out to authentication, if authentication is passed through, carry out described from message or file, parsing that the lan device that will control identifies and the action of Control the content, otherwise, directly abandon this message or file.

Control module 43: receive lan device mark and Control the content that parsing module 42 is sent, according to interconnected agreement, send control command to corresponding lan device.

In actual applications, service end also can further comprise: package module, for the control result that control module 43 is sent, be packaged into control response message or control response file according to default communication protocol, and this message or file are sent to client.And control module 43 is further used for, control result is sent to package module.

The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. a method for Long-distance Control lan device, is characterized in that, the communication protocol of having made an appointment of the service end in client and remote lan, or, being pre-definedly used on the communication protocol that client is communicated by letter with service end, the method comprises:
In the time that client is wanted Long-distance Control one lan device, according to predefined communication protocol, control command is packaged into and controls message or control documents, send and control message or control documents to remote service end by network;
Service end receives this control message or control documents, resolves this message or file according to predefined communication protocol, parses lan device mark and the Control the content that will control from message or file;
Service end sends control command by interconnected agreement to the lan device that will control.
2. method according to claim 1, is characterized in that, described service end further comprises after the lan device that will control sends control command by interconnected agreement:
Service end is returned to control response message to client.
3. method according to claim 1, is characterized in that, described control message is Short Message Service SMS information or voice, and described control documents is Email or instant communication file.
4. method according to claim 1, is characterized in that, described client is mobile terminal or personal computer PC, and described service end is mobile terminal, PC or TV.
5. method according to claim 1, it is characterized in that, after described service end is resolved this message or file according to predefined communication protocol, parse the lan device mark that will control and Control the content from message or file before, further comprise: service end is according to predefined communication protocol, judge that whether this message or file be legal, if so, carry out and described from message or file, parse that the lan device that will control identifies and the action of Control the content; Otherwise, directly abandon this message or file;
Or, further comprise: service end is carried out authentication according to default authentication information to this message or file, if authentication is passed through, carry out described from message or file, parsing that the lan device that will control identifies and the action of Control the content; Otherwise, directly abandon this message or file.
6. a client, is characterized in that, comprising:
Package module: in the time wanting Long-distance Control one lan device, according to predefined communication protocol, control command is packaged into and controls message or control documents, control message or control documents are sent to transceiver module;
Transceiver module: send and control message or control documents to remote service end by network.
7. client according to claim 6, is characterized in that, described client is mobile terminal, or personal computer PC.
8. a service end, is characterized in that, comprising:
Transceiver module: receive control message or control documents that client is sent, this message or file are sent to parsing module;
Parsing module: receive control message or control documents that transceiver module is sent, resolve this message or file according to predefined communication protocol, from message or file, parse lan device mark and the Control the content that will control, this lan device mark and Control the content are sent to control module;
Control module: receive lan device mark and Control the content that parsing module is sent, according to interconnected agreement, send control command to corresponding lan device.
9. service end according to claim 8, it is characterized in that, described parsing module is further used for, in the time receiving control message that transceiver module sends or control documents, according to predefined communication protocol judge this message or file whether legal, if legal, carry out described from message or file, parsing that the lan device that will control identifies and the action of Control the content, otherwise, directly abandon this message or file; Or, according to default authentication information, this message or file are carried out to authentication, if authentication is passed through, carry out described from message or file, parsing that the lan device that will control identifies and the action of Control the content, otherwise, directly abandon this message or file.
10. service end according to claim 8, is characterized in that, described service end is mobile terminal, personal computer PC or TV.
CN201210427969.8A 2012-10-30 2012-10-30 Method for remotely controlling local area network equipment, client and server CN103795757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210427969.8A CN103795757A (en) 2012-10-30 2012-10-30 Method for remotely controlling local area network equipment, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210427969.8A CN103795757A (en) 2012-10-30 2012-10-30 Method for remotely controlling local area network equipment, client and server

Publications (1)

Publication Number Publication Date
CN103795757A true CN103795757A (en) 2014-05-14

Family

ID=50671038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210427969.8A CN103795757A (en) 2012-10-30 2012-10-30 Method for remotely controlling local area network equipment, client and server

Country Status (1)

Country Link
CN (1) CN103795757A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158877A (en) * 2014-08-15 2014-11-19 杭州古北电子科技有限公司 Remote control method, and device and system
CN104754502A (en) * 2015-04-22 2015-07-01 三星电子(中国)研发中心 Equipment pairing method and equipment pairing system supporting multiple protocols
CN106161592A (en) * 2016-06-21 2016-11-23 微梦创科网络科技(中国)有限公司 A kind of method and device realizing that remote command performs
CN108173912A (en) * 2017-12-19 2018-06-15 浪潮金融信息技术有限公司 Apparatus control method and device, computer readable storage medium, terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277545A (en) * 2008-05-12 2008-10-01 中山大学 General-purpose digital household arrangement telecontrol system for multiple networks
EP2159961A1 (en) * 2008-09-01 2010-03-03 Alcatel, Lucent Method, device and module for optimising the remote management of home network devices
CN101924758A (en) * 2010-07-28 2010-12-22 中兴通讯股份有限公司 Media server and method thereof for providing services
CN102013998A (en) * 2010-11-30 2011-04-13 广东星海数字家庭产业技术研究院有限公司 Tr-069 protocol-based management method for realizing home network
CN102404413A (en) * 2011-12-29 2012-04-04 Tcl集团股份有限公司 Method and system for realizing automatic matching of function applications among household digital devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277545A (en) * 2008-05-12 2008-10-01 中山大学 General-purpose digital household arrangement telecontrol system for multiple networks
EP2159961A1 (en) * 2008-09-01 2010-03-03 Alcatel, Lucent Method, device and module for optimising the remote management of home network devices
CN101924758A (en) * 2010-07-28 2010-12-22 中兴通讯股份有限公司 Media server and method thereof for providing services
CN102013998A (en) * 2010-11-30 2011-04-13 广东星海数字家庭产业技术研究院有限公司 Tr-069 protocol-based management method for realizing home network
CN102404413A (en) * 2011-12-29 2012-04-04 Tcl集团股份有限公司 Method and system for realizing automatic matching of function applications among household digital devices

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158877A (en) * 2014-08-15 2014-11-19 杭州古北电子科技有限公司 Remote control method, and device and system
CN104754502A (en) * 2015-04-22 2015-07-01 三星电子(中国)研发中心 Equipment pairing method and equipment pairing system supporting multiple protocols
CN104754502B (en) * 2015-04-22 2018-10-16 三星电子(中国)研发中心 A kind of device pairing method and system for supporting multi-protocols
CN106161592A (en) * 2016-06-21 2016-11-23 微梦创科网络科技(中国)有限公司 A kind of method and device realizing that remote command performs
CN106161592B (en) * 2016-06-21 2019-11-29 微梦创科网络科技(中国)有限公司 A kind of method and device realizing remote command and executing
CN108173912A (en) * 2017-12-19 2018-06-15 浪潮金融信息技术有限公司 Apparatus control method and device, computer readable storage medium, terminal

Similar Documents

Publication Publication Date Title
AU2017210535B2 (en) Efficient communication for devices of a home network
EP3219118B1 (en) Connectivity module for internet of things (iot) devices
EP2959641B1 (en) Methods to discover, configure, and leverage relationships in internet of things (iot) networks
US8666560B2 (en) Power control system and method
US10257159B2 (en) Methods, systems, and apparatuses for providing a single network address translation connection for multiple devices
CN102945029B (en) Intelligent gateway, smart home system and intelligent control method for home appliance equipment
CN102938729B (en) The long-range control method of intelligent gateway, intelligent domestic system and home appliance
US20150121470A1 (en) Peer-to-peer onboarding of internet of things (iot) devices over various communication interfaces
US20160041534A1 (en) Method and apparatus for automatically generating an events dictionary in an internet of things (iot) network
US20190222426A1 (en) Smart Object Identification In The Digital Home
CN102789682B (en) A kind of method and system of remote control home electrical appliance
WO2015106702A1 (en) Cloud platform control method, based on sdmp protocol, for smart device
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
CN103997442B (en) The monitoring method and system and intelligent domestic system of intelligent domestic system
US20160081128A1 (en) Location and pairing of devices on a local area network using a unique identifier
TWI514802B (en) Smart home network system and its signal conversion device
US9774709B2 (en) Service discovery
JP4901863B2 (en) Residential gateway system for home network service
KR100944603B1 (en) Legacy device bridge for residential or non-residential networks
EP2448185B1 (en) Internet connection system and server for routing connections to client device
KR101615624B1 (en) Device and method for controlling remote user interface device
US9763247B2 (en) Optimizing network performance using band-switching operations
US9596603B2 (en) Distributed bulk onboarding process
US7912972B2 (en) Method of controlling device connected to universal plug and play home network via internet, and system and device for the method
CN103326907B (en) Intelligent home network system and household appliance registration method thereof

Legal Events

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

Application publication date: 20140514