CN103957249A - Remote control method, server and control device and system - Google Patents

Remote control method, server and control device and system Download PDF

Info

Publication number
CN103957249A
CN103957249A CN201410167082.9A CN201410167082A CN103957249A CN 103957249 A CN103957249 A CN 103957249A CN 201410167082 A CN201410167082 A CN 201410167082A CN 103957249 A CN103957249 A CN 103957249A
Authority
CN
China
Prior art keywords
facility information
server
controlled device
control
control appliance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410167082.9A
Other languages
Chinese (zh)
Inventor
程伯钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201410167082.9A priority Critical patent/CN103957249A/en
Publication of CN103957249A publication Critical patent/CN103957249A/en
Priority to PCT/CN2015/077095 priority patent/WO2015161786A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a remote control method. The method includes the steps that a server receives a control instruction sent by a control device through a webpage Web and first device information of the control device, the server inquires second device information related with the first device information in a preset binding relation, and the control instruction is sent to a controlled device which the second device information points to through the server so that the controlled device can carry out operations instructed by the control instruction. The embodiment of the invention further discloses the server, the control device and a control system. By means of the remote control method, the server and the control device and system, cross-platform development cost is reduced.

Description

A kind of remote control thereof, server, control appliance and system
Technical field
The present invention relates to control field, relate in particular to a kind of remote control thereof, server, control appliance and system.
Background technology
User has increasing equipment, most of equipment is all furnished with remote controller separately, as common television set, Set Top Box, DVD player, power amplifier and sound equipment etc., because the remote controller between each equipment cannot be compatible, each equipment needs to configure a remote controller, the quantity of remote controller can be very many, and user operates very loaded down with trivial details.
In prior art, solution to the problems described above is, specific application program is installed on mobile terminal, the equipment that mobile terminal need to be controlled by the application program controlling of installing, but the problem that this scheme exists is, the mobile terminal of different operating platforms all needs to develop separately a set of specific application program, the application program of simultaneously installing on mobile terminal can only be controlled proprietary equipment, for different equipment, developer need to develop different application programs mates, and need to spend the plenty of time like this for developer.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of remote control thereof, server, control appliance and system are provided.Can solve the cost that reduces remote controller exploitation.
In order to solve the problems of the technologies described above, embodiment of the present invention first aspect provides a kind of remote control thereof, comprising:
The first facility information of the control command that server receiving control apparatus sends by webpage Web and described control appliance;
Described server is inquired about the second facility information being associated with described the first facility information in default binding relationship;
Described control command is sent to the controlled device that described the second facility information points to by described server, so that described controlled device is carried out the operation of described control command instruction.
In conjunction with first aspect, in the possible implementation of the first, before the step of the control command that described server receiving control apparatus sends by webpage Web and the first facility information of described control appliance, also comprise:
The first logging request that server receiving control apparatus sends, and after verifying that described control appliance is legal, connect by WebSocket agreement and described control appliance; And
Described server receives the second logging request that controlled device sends, and after verifying that described controlled device is legal, connects by WebSocket agreement and described controlled device.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, also comprise:
Described server obtains the first facility information of described control appliance, and described the first facility information is pushed to described controlled device; And
Described server obtains the second facility information of described controlled device, and described the second facility information is pushed to described control appliance.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, also comprise:
Described server receives the bind request that described control appliance sends, and described bind request comprises the first facility information of described control appliance and the second facility information of described controlled device;
Described server carries out described the first facility information and the second facility information after associated to be stored in described binding relationship.
In conjunction with first aspect to any one in the third possible implementation, in the 4th kind of possible implementation, host name and the IP address of control appliance described in described the first facility information bag, described the second facility information comprises host name and the IP address of described controlled device.
Embodiment of the present invention second aspect provides a kind of remote control thereof, comprising:
Control appliance receives operational order by webpage Web;
Described control appliance generates control command according to described operational order, and sends described control command and the first facility information of self to server.
In conjunction with second aspect, in the possible implementation of the first, described control appliance also comprises before receiving the step of operational order by webpage Web:
Control appliance sends the first logging request to server, so that described server is verified the legitimacy of described control appliance according to described the first logging request;
If receive the legal message of described server authentication, described control appliance connects by WebSocket agreement and described server.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, also comprise:
Described control appliance receives the facility information set that described server sends, and this facility information set is stored to this locality, and described facility information set comprises the facility information of other clients that at least one and described server connect.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, described control appliance is bound the second facility information of choosing in described the first facility information and described facility information set;
Described control appliance sends bind request to described server, and described bind request comprises described the first facility information and described the second facility information.
The embodiment of the present invention third aspect provides a kind of server, comprising:
Receiver module, the first facility information of the control command sending by webpage Web for receiving control apparatus and described control appliance;
Enquiry module, inquires about the second facility information being associated with described the first facility information for the binding relationship default;
Sending module, the controlled device pointing to for described control command being sent to described the second facility information, so that described controlled device is carried out the operation of described control command instruction.
In conjunction with the third aspect, in the possible implementation of the first, also comprise:
Link block, the first logging request sending for receiving control apparatus, and after verifying that described control appliance is legal, connect by WebSocket agreement and described control appliance; And
Receive the second logging request that controlled device sends, and after verifying that described controlled device is legal, connect by WebSocket agreement and described controlled device.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second, also comprise:
Apparatus information acquiring module, for obtaining the first facility information of described control appliance, and pushes to described controlled device by described the first facility information; And
Obtain the second facility information of described controlled device, and described the second facility information is pushed to described control appliance.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation, relating module, the bind request sending for receiving described control appliance, described bind request comprises the first facility information of described control appliance and the second facility information of described controlled device;
Described the first facility information and the second facility information are carried out after associated being stored in described binding relationship.
In conjunction with the third aspect to any one in the third possible implementation, in the 4th kind of possible implementation, host name and the IP address of control appliance described in described the first facility information bag, described the second facility information comprises host name and the IP address of described controlled device.
Fourth aspect present invention provides a kind of control appliance, comprising:
Monitor module, for receiving operational order by webpage Web;
Instruction sending module, for generating control command according to described operational order, and send described control command and the first facility information of self to server, so that described server is inquired about the second facility information being associated with described the first facility information and the controlled device that described control command is sent to described the second facility information sensing in default binding relationship, so that described controlled device is carried out the operation of described control command instruction.
In conjunction with fourth aspect, in the possible implementation of the first, also comprise:
Login module, for send the first logging request to server, so that described server is according to described the first logging request checking legitimacy;
If receive the legal message of described server authentication, connect by WebSocket agreement and described server.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second, also comprise:
The second receiver module, the facility information set sending for receiving described server, and this facility information set is stored to this locality, described facility information set comprises the facility information of other clients that at least one and described server connect.
In conjunction with the possible implementation of the second of fourth aspect, in the third possible implementation, also comprise:
Binding module, binds for the second facility information that described the first facility information and described facility information set are chosen;
Send bind request to described server, described bind request comprises described the first facility information and described the second facility information, so that described server is set up the binding relationship of described control appliance and described controlled device according to described bind request.
Fifth aspect present invention provides a kind of control system, comprise above-mentioned any one server, above-mentioned any one control appliance and controlled device, wherein, described controlled device is for sending the second logging request to server, so that described server is verified the legitimacy of described controlled device according to described the second logging request; If receive the legal message of described server authentication, described controlled device connects by WebSocket agreement and described server;
Described controlled device receives the control command that described server sends, and carries out the operation of described control command instruction.
Implement the embodiment of the present invention, there is following beneficial effect:
Control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of remote control thereof of first embodiment of the invention;
Fig. 2 is the schematic flow sheet of a kind of remote control thereof of second embodiment of the invention;
Fig. 3 is the schematic flow sheet of a kind of remote control thereof of third embodiment of the invention;
Fig. 4 is the schematic flow sheet of a kind of remote control thereof of fourth embodiment of the invention;
Fig. 5 is the schematic diagram of the webpage Web that in Fig. 4, control appliance shows;
Fig. 6 is the structural representation of a kind of server of first embodiment of the invention;
Fig. 7 is the structural representation of a kind of server of second embodiment of the invention;
Fig. 8 is the structural representation of a kind of server of third embodiment of the invention;
Fig. 9 is the structural representation of a kind of control appliance of first embodiment of the invention;
Figure 10 is the structural representation of a kind of control appliance of second embodiment of the invention;
Figure 11 is the structural representation of a kind of control appliance of third embodiment of the invention;
Figure 12 is the interaction diagrams of a kind of control system of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, be the schematic flow sheet of a kind of remote control thereof of first embodiment of the invention, in the present embodiment, described method comprises:
The control command that S101, server receiving control apparatus send by webpage Web and the first facility information of control appliance.
Concrete, control appliance can be the mobile terminals such as smart mobile phone, panel computer, game machine or Mp4, control appliance and server can connect by WebSocket agreement, and WebSocket agreement is a kind of communication protocol in HTML5, can realize browser and server full-duplex communication.
Simultaneously, in the display unit of control appliance, show the webpage Web of server response, on webpage Web, be provided with the operational controls of the object terminal corresponding for user's control operation, for example, the operational order (as user uses the touch screen operation instruction of touch-screen generation or the mouse action instruction of use mouse generation etc.) that the upper user of control appliance monitoring webpage Web triggers, obtains corresponding control command by aforesaid operations instruction.Control appliance obtains the first facility information of self, and this first facility information is for representing the unique identity information of control appliance at network, for example, and the host name of control appliance and IP address.
S102, server are inquired about the second facility information being associated with the first facility information in default binding relationship.
Concrete, the pre-stored binding relationship that has expression control appliance and controlled device in server, in binding relationship, the facility information of control appliance and controlled device shines upon, server receives the first facility information that control appliance sends, and inquires about the second facility information of the first facility information association in this binding relationship.
Control command is sent to the controlled device that the second facility information points to by S103, server, so that controlled device is carried out the operation of control command instruction.
Concrete, server is according to the second facility information inquiring, and the control command that control appliance is sent is forwarded to the controlled device of the second facility information instruction, and controlled device is carried out corresponding operation according to control command.For example, control command is program adjusting, volume adjusting, start or standby etc.
Controlled device can be the equipment such as Set Top Box, PC or intelligent television, the present invention is not restricted, controlled device can connect by WebSocket agreement and server, and the data interaction between server and controlled device is transmitted by above-mentioned connection of having set up.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Fig. 2, be the schematic flow sheet of a kind of remote control thereof of second embodiment of the invention, in the present embodiment, described method comprises:
The first logging request that S201, server receiving control apparatus send, and access control equipment legal after, connect by WebSocket agreement and control appliance; And server receive that controlled device sends second log in request, and after verifying that controlled device is legal, connect by WebSocket agreement and controlled device.
Concrete, WebSocket Server is installed on server, be used for shaking hands and information interaction with the browser of the upper installation of control appliance and controlled device, the browser of installing on control appliance and controlled device is supported WebSocket agreement.
Web Server is installed on server simultaneously, the URL resource request that the browser that is used for installing on receiving control apparatus and controlled device sends, and send webpage Web to control appliance and controlled device.
The first logging request that server receiving control apparatus sends, for example the first logging request is Start message, whether server is legal according to the identity of the first logging request access control equipment, specifically can adopt account number cipher verification mode to verify, after server authentication control appliance is legal, with control appliance setting up being connected of full duplex by WebSocket agreement.
Server receives the second logging request that controlled device sends, whether server is legal according to the identity of the second logging request checking controlled device, specifically can adopt account number cipher verification mode to verify, after server authentication controlled device is legal, set up being connected of full duplex with controlled device by WebSocket agreement.
S201, server obtain the first facility information of control appliance, and the first facility information is pushed to controlled device; And server obtains the second facility information of controlled device, and the second facility information is pushed to control appliance.
Concrete, in the first logging request, carry the first facility information of control appliance, server extracts the first facility information of control appliance from the first logging request, and the first facility information obtaining is sent to controlled device.In the second logging request, carry the second facility information of controlled device, server extracts the second facility information of controlled device from the second logging request, and the second facility information obtaining is sent to control appliance.
Be understandable that, server can also utilize the function equipment information in WebSocket agreement, for example, the IP address that server obtains client by BSD Socket getpeername function, obtain the hostname host name of client by BSD Socket gethostbyaddr function, server obtains IP address and hostname host name sends to control appliance and controlled device.
The bind request that S203, server receiving control apparatus send, bind request comprises the first facility information of control appliance and the second facility information of controlled device; Server carries out the first facility information and the second facility information after associated to be stored in binding relationship.
Concrete, on the network topological diagram of control appliance on the webpage Web showing, select a client to bind as controlled device, this network topological diagram is for showing the facility information of other clients that connect with server.The bind request that server receiving control apparatus sends, bind request comprises the first facility information of control appliance and second facility information of controlled device of needs binding, server is stored in binding relationship after the facility information of the two is shone upon.
The control command that S204, server receiving control apparatus send by webpage Web and the first facility information of control appliance.
Concrete, in the display unit of control appliance, show the webpage Web of server response, on webpage Web, be provided with the operational controls of the object terminal corresponding for user's control operation, for example, control appliance is monitored the operational order (as touch screen operation instruction or mouse action instruction etc.) that the upper user of webpage Web triggers, and obtains corresponding control command by aforesaid operations instruction.Control appliance obtains the first facility information of self, and this first facility information is for representing the unique identity information of control appliance at network, for example, and the host name of control appliance and IP address.Control command and the first facility information that server can socketobject.onmessage function receiving control apparatus sends.
S205, server are inquired about the second facility information being associated with the first facility information in default binding relationship.
Concrete, the pre-stored binding relationship that has the equipment that represents control appliance and controlled device in server, in binding relationship, the facility information of control appliance and controlled device shines upon, server receives the first facility information that control appliance sends, and inquires about the second facility information of the first facility information association in this binding relationship.
Control command is sent to the controlled device that the second facility information points to by S206, server, so that controlled device is carried out the operation of control command instruction.
Concrete, server is according to the second facility information inquiring, and the control command that control appliance is sent is forwarded to the controlled device of the second facility information instruction, and controlled device is carried out corresponding operation according to control command.For example, control command is program adjusting, volume adjusting, start or standby etc.
In the present embodiment, control appliance and controlled device directly use the general browser of self installing, do not need exploitation and special client control software is installed, development concentrates on WebSocket Server and the WebSocket HTML application on server, and for the Web Server of request and the response of webpage Web.Specifically can adopt the lighttpd assembly of increasing income to develop, and customize lighttpd.conf configuration file and meet development requires.
For example, customization lighttpd increase income in assembly with minor function:
Libwebsocket_create_context function, for setting up WebSocket context;
Libwebsocket_context_destroy function, for destroying context;
Libwebsocket_service function, for providing WebSocket service;
Libwebsocket_write function, for sending to buffer buffering the client of appointment;
Libwebsocket_callback_on_writable_all_protocol function, for sending message to the agreement call back function of WebSocket registration.
WebSocket HTML application, be used for realizing client and server interaction, data exchanging visit, and protocol analysis, the function of use is mainly: onopen function, onmessage function, onclose function, onerror call back function and onmessage function.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Fig. 3, be the schematic flow sheet of a kind of remote control thereof of third embodiment of the invention, in the present embodiment, described method comprises:
S301, control appliance receive operational order by webpage Web.
Concrete, on control appliance, show its webpage Web to server request, on Web, be provided with operational controls, control appliance detects the generation operational order in operational controls, for example, on Web, show the operational controls such as volume control, TV program control or switching on and shutting down control, the operational orders such as touch screen operation instruction, mouse action instruction or the KeyEvent occurring in control appliance detection operational controls.
S302, control appliance generate control command according to operational order, and to server sending controling instruction and the first facility information of self, so that server is inquired about the second facility information being associated with the first facility information and the controlled device that control command is sent to the second facility information sensing in default binding relationship, so that controlled device is carried out the operation of control command instruction.
Concrete, control appliance generates corresponding control command according to the operational order in different operational controls, such as control command is program regulating command, volume adjusting instruction or switching on and shutting down instruction etc., control appliance obtains the first facility information of self, control command is connected and is sent to server by the WebSocket agreement of having set up with the first facility information, concrete, control appliance can be by the socketobject.send function sending controling instruction in WebSocket agreement.The pre-stored binding relationship that has expression control appliance and controlled device in server, in binding relationship, the facility information of control appliance and controlled device shines upon, server receives the first facility information that control appliance sends, and inquires about the second facility information of the first facility information association in this binding relationship.Server is according to the second facility information inquiring, and the control command that control appliance is sent is forwarded to the controlled device that the second facility information points to, and controlled device is carried out corresponding operation according to control command.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Fig. 4 and Fig. 5, be the schematic flow sheet of a kind of remote control thereof of fourth embodiment of the invention, in the present embodiment, described method comprises:
S401, control appliance send the first logging request to server, so that server is according to the legitimacy of the first logging request access control equipment; If receive the legal message of server authentication, control appliance connects by WebSocket agreement and server.
The facility information set that S402, control appliance reception server send, and this facility information set is stored to this locality.
S403, control appliance are bound the second facility information of choosing in the first facility information and facility information set.
S404, control appliance send bind request to server, and bind request comprises the first facility information and the second facility information, so that server is set up the binding relationship of control appliance and controlled device according to bind request.
S405, control appliance receive operational order by webpage Web.
Concrete, on control appliance, show the webpage Web to server request, on Web, be provided with operational controls, generation operational order on control appliance snoop-operations control, the operational orders such as the touch screen operation instruction, mouse action instruction or the KeyEvent that for example, occur on control appliance snoop-operations control.Example as shown in Figure 5, control appliance is touch panel device, control appliance is in advance to server request Web, on Web, there is program to regulate control, volume adjusting control and recording control etc., control appliance detects the touch screen operation instruction occurring on upper each control of Web, generates corresponding control command according to this touch screen operation instruction.
S406, control appliance generate control command according to operational order, and to server sending controling instruction and the first facility information of self.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Fig. 6, be the structural representation of a kind of server of first embodiment of the invention, in the present embodiment, described server comprises receiver module 11, enquiry module 12 and sending module 13.
Receiver module 11, the first facility information of the control command sending by webpage Web for receiving control apparatus and described control appliance;
Enquiry module 12, inquires about the second facility information being associated with described the first facility information for the binding relationship default;
Sending module 13, the controlled device pointing to for described control command being sent to described the second facility information, so that described controlled device is carried out the operation of described control command instruction.
The present embodiment and embodiment of the method one, based on same design, are specifically asked the description of parametric technique embodiment mono-, repeat no more herein.
Further, referring to Fig. 7, be the structural representation of a kind of server of second embodiment of the invention, in the present embodiment, described server, except comprising receiver module 11, enquiry module 12 and sending module 13, also comprises link block 14, apparatus information acquiring module 15 and relating module 16.
Link block 14, the first logging request sending for receiving control apparatus, and after verifying that described control appliance is legal, connect by WebSocket agreement and described control appliance; And
Receive the second logging request that controlled device sends, and after verifying that described controlled device is legal, connect by WebSocket agreement and described controlled device.
Apparatus information acquiring module 15, for obtaining the first facility information of described control appliance, and pushes to described controlled device by described the first facility information; And
Obtain the second facility information of described controlled device, and described the second facility information is pushed to described control appliance.
Relating module 16, the bind request sending for receiving described control appliance, described bind request comprises the first facility information of described control appliance and the second facility information of described controlled device;
Described the first facility information and the second facility information are carried out after associated being stored in described binding relationship.
The present embodiment and embodiment of the method two, based on same design, are specifically asked the description of parametric technique embodiment bis-, repeat no more herein.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Fig. 8, be the structural representation of a kind of server of third embodiment of the invention, in the present embodiment, server 1 comprises processor 61 and memory 62, and the quantity of the processor 61 in server 1 can be one or more, and Fig. 8 is taking a processor as example.In some embodiments of the present invention, processor 61 can be connected by bus or other modes with memory 62, in Fig. 8, is connected to example with bus.
Wherein, in memory 62, store batch processing code, and processor 61 is for calling the program code of memory 62 storages, for carrying out following operation:
The first facility information of the control command that receiving control apparatus sends by webpage Web and described control appliance;
The second facility information that inquiry is associated with described the first facility information in default binding relationship;
Described control command is sent to the controlled device that described the second facility information points to, so that described controlled device is carried out the operation of described control command instruction.
In some embodiments of the invention, processor 61 is also for carrying out:
The first logging request that receiving control apparatus sends, and after verifying that described control appliance is legal, connect by WebSocket agreement and described control appliance; And
Receive the second logging request that controlled device sends, and after verifying that described controlled device is legal, connect by WebSocket agreement and described controlled device.
In some embodiments of the invention, processor 61 is also for carrying out:
Obtain the first facility information of described control appliance, and described the first facility information is pushed to described controlled device; And
Obtain the second facility information of described controlled device, and described the second facility information is pushed to described control appliance.
In some embodiments of the invention, processor 61 is also for carrying out:
Receive the bind request that described control appliance sends, described bind request comprises the first facility information of described control appliance and the second facility information of described controlled device;
Described the first facility information and the second facility information are carried out after associated being stored in described binding relationship.
In some embodiments of the invention, described in described the first facility information bag control appliance draw together host name and IP address, described the second facility information comprises host name and the IP address of described controlled device.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Fig. 9, be the structural representation of a kind of control appliance of first embodiment of the invention, in embodiments of the present invention, described control appliance comprises monitors module 21 and instruction sending module 22.
Monitor module 21, for receiving operational order by webpage Web;
Instruction sending module 22, for generating control command according to described operational order, and send described control command and the first facility information of self to server, so that described server is inquired about the second facility information being associated with described the first facility information and the controlled device that described control command is sent to described the second facility information sensing in default binding relationship, so that described controlled device is carried out the operation of described control command instruction.
Referring to Figure 10, for the structural representation of a kind of control appliance of second embodiment of the invention, in embodiments of the present invention, described control appliance is monitored module 21 and instruction sending module 22 except comprising, also comprises: log in module 23, facility information receiver module 24 and binding module 25.
Login module 23, for send the first logging request to server, so that described server is according to described the first logging request checking legitimacy;
If receive the legal message of described server authentication, connect by WebSocket agreement and described server.
Facility information receiver module 24, the facility information set sending for receiving described server, and this facility information set is stored to this locality, described facility information set comprises the facility information of other clients that at least one and described server connect.
Binding module 25, binds for the second facility information that described the first facility information and described facility information set are chosen; Send bind request to described server, described bind request comprises described the first facility information and described the second facility information, so that described server is set up the binding relationship of described control appliance and described controlled device according to described bind request.
Referring to Figure 11, for the structural representation of a kind of control appliance of third embodiment of the invention, in the present embodiment, control appliance 2 comprises processor 71, memory 72, input unit 73 and output device 74, the quantity of the processor 71 in control appliance 2 can be one or more, and Figure 11 is taking a processor as example.In some embodiments of the present invention, processor 71, memory 72, input unit 73 and output device 74 can be connected by bus or other modes, in Figure 11, are connected to example with bus.
Wherein, in memory 72, store batch processing code, and processor 71 is for calling the program code of memory 72 storages, for carrying out following operation:
Receive operational order by webpage Web;
Generate control command according to described operational order, and send described control command and the first facility information of self to server, so that described server is inquired about the second facility information being associated with described the first facility information and the controlled device that described control command is sent to described the second facility information sensing in default binding relationship, so that described controlled device is carried out the operation of described control command instruction.
In some embodiments of the invention, processor 71 is also for carrying out:
Send the first logging request to server, so that described server is according to described the first logging request checking legitimacy;
If receive the legal message of described server authentication, connect by WebSocket agreement and described server.
In some embodiments of the invention, processor 71 is also for carrying out:
Receive the facility information set that described server sends, and this facility information set is stored to this locality, described facility information set comprises the facility information of other clients that at least one and described server connect.
In some embodiments of the invention, processor 71 is also for carrying out:
The second facility information of choosing in described the first facility information and described facility information set is bound;
Send bind request to described server, described bind request comprises described the first facility information and described the second facility information, so that described server is set up the binding relationship of described control appliance and described controlled device according to described bind request.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
Referring to Figure 12, for the interaction diagrams of a kind of control system of the embodiment of the present invention, control system comprises control appliance 2, server 1 and controlled device 3, and the quantity of the controlled device being connected with server can be for multiple, in the present embodiment, taking one as example, interaction flow comprises:
S501, control appliance send the first logging request to server.
S502, controlled device send the second logging request to server.
The legitimacy of S503, server authentication control appliance and controlled device.
After S504, server are legal according to the first logging request access control equipment, connect by WebSocket agreement and control appliance.
S505, server connect by WebSocket agreement and controlled device after verifying that according to the second logging request controlled device is legal.
S506, server obtain the first facility information of control appliance and the second facility information of controlled device.
S507, server send the second facility information to control appliance.
S508, server send the first facility information to controlled device.
S509, user end to server send bind request, carry the first facility information and the second facility information in bind request.
S510, server are bound the first facility information and the second facility information, set up the mapping relations of control appliance and controlled device.
S511, control appliance are to server sending controling instruction and the first facility information.
The second facility information of S512, server lookup the first facility information association.
Control command is forwarded to the controlled device that the second facility information points to by S513, server.
S514, controlled device are carried out the operation of control command instruction.
Pass through embodiments of the invention, control appliance passes through webpage Web to server sending controling instruction and the facility information of self, server is inquired about the facility information of the controlled device being associated with the facility information of control appliance in binding relationship, control command is forwarded to controlled device, so that controlled device is carried out the operation of control command instruction, make control appliance realize the function of the multiple equipment of remote control, control appliance does not need to develop proprietary client software, the function that only general browser need to be installed and just can realize remote controller, has reduced development cost.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only a kind of preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and the equivalent variations of doing according to the claims in the present invention, still belong to the scope that invention is contained.

Claims (19)

1. a remote control thereof, is characterized in that, comprising:
The first facility information of the control command that server receiving control apparatus sends by webpage Web and described control appliance;
Described server is inquired about the second facility information being associated with described the first facility information in default binding relationship;
Described control command is sent to the controlled device that described the second facility information points to by described server, so that described controlled device is carried out the operation of described control command instruction.
2. remote control thereof as claimed in claim 1, is characterized in that, before the step of the control command that described server receiving control apparatus sends by Web and the first facility information of described control appliance, also comprises:
The first logging request that server receiving control apparatus sends, and after verifying that described control appliance is legal, connect by WebSocket agreement and described control appliance; And
Described server receives the second logging request that controlled device sends, and after verifying that described controlled device is legal, connects by WebSocket agreement and described controlled device.
3. remote control thereof as claimed in claim 2, is characterized in that, also comprises:
Described server obtains the first facility information of described control appliance, and described the first facility information is pushed to described controlled device; And
Described server obtains the second facility information of described controlled device, and described the second facility information is pushed to described control appliance.
4. remote control thereof as claimed in claim 3, is characterized in that, also comprises:
Described server receives the bind request that described control appliance sends, and described bind request comprises the first facility information of described control appliance and the second facility information of described controlled device;
Described server carries out described the first facility information and the second facility information after associated to be stored in described binding relationship.
5. the remote control thereof as described in claim 1-4 any one, is characterized in that, host name and the IP address of control appliance described in described the first facility information bag, and described the second facility information comprises host name and the IP address of described controlled device.
6. a remote control thereof, is characterized in that, comprising:
Control appliance receives operational order by webpage Web;
Described control appliance generates control command according to described operational order, and send described control command and the first facility information of self to server, so that described server is inquired about the second facility information being associated with described the first facility information and the controlled device that described control command is sent to described the second facility information sensing in default binding relationship, so that described controlled device is carried out the operation of described control command instruction.
7. remote control thereof as claimed in claim 6, is characterized in that, described control appliance also comprises before receiving the step of operational order by Web:
Control appliance sends the first logging request to server, so that described server is verified the legitimacy of described control appliance according to described the first logging request;
If receive the legal message of described server authentication, described control appliance connects by WebSocket agreement and described server.
8. remote control thereof as claimed in claim 7, is characterized in that, also comprises:
Described control appliance receives the facility information set that described server sends, and this facility information set is stored to this locality, and described facility information set comprises the facility information of other clients that at least one and described server connect.
9. remote control thereof as claimed in claim 8, is characterized in that, also comprises:
Described control appliance is bound the second facility information of choosing in described the first facility information and described facility information set;
Described control appliance sends bind request to described server, described bind request comprises described the first facility information and described the second facility information, so that described server is set up the binding relationship of described control appliance and described controlled device according to described bind request.
10. a server, is characterized in that, comprising:
Receiver module, the first facility information of the control command sending by webpage Web for receiving control apparatus and described control appliance;
Enquiry module, inquires about the second facility information being associated with described the first facility information for the binding relationship default;
Sending module, the controlled device pointing to for described control command being sent to described the second facility information, so that described controlled device is carried out the operation of described control command instruction.
11. servers as claimed in claim 10, is characterized in that, also comprise:
Link block, the first logging request sending for receiving control apparatus, and after verifying that described control appliance is legal, connect by WebSocket agreement and described control appliance; And
Receive the second logging request that controlled device sends, and after verifying that described controlled device is legal, connect by WebSocket agreement and described controlled device.
12. servers as claimed in claim 11, is characterized in that, also comprise:
Apparatus information acquiring module, for obtaining the first facility information of described control appliance, and pushes to described controlled device by described the first facility information; And
Obtain the second facility information of described controlled device, and described the second facility information is pushed to described control appliance.
13. servers as claimed in claim 12, is characterized in that, also comprise:
Relating module, the bind request sending for receiving described control appliance, described bind request comprises the first facility information of described control appliance and the second facility information of described controlled device;
Described the first facility information and the second facility information are carried out after associated being stored in described binding relationship.
14. servers as described in claim 10-13 any one, is characterized in that, host name and the IP address of control appliance described in described the first facility information bag, and described the second facility information comprises host name and the IP address of described controlled device.
15. 1 kinds of control appliances, is characterized in that, comprising:
Monitor module, for receiving operational order by webpage Web;
Instruction sending module, for generating control command according to described operational order, and send described control command and the first facility information of self to server, so that described server is inquired about the second facility information being associated with described the first facility information and the controlled device that described control command is sent to described the second facility information sensing in default binding relationship, so that described controlled device is carried out the operation of described control command instruction.
16. control appliances as claimed in claim 15, is characterized in that, also comprise:
Login module, for send the first logging request to server, so that described server is according to described the first logging request checking legitimacy;
If receive the legal message of described server authentication, connect by WebSocket agreement and described server.
17. control appliances as claimed in claim 16, is characterized in that, also comprise:
Facility information receiver module, the facility information set sending for receiving described server, and this facility information set is stored to this locality, described facility information set comprises the facility information of other clients that at least one and described server connect.
18. control appliances as claimed in claim 17, is characterized in that, also comprise:
Binding module, binds for the second facility information that described the first facility information and described facility information set are chosen;
Send bind request to described server, described bind request comprises described the first facility information and described the second facility information, so that described server is set up the binding relationship of described control appliance and described controlled device according to described bind request.
19. 1 kinds of control system, it is characterized in that, comprise control appliance and controlled device as described in the server of claim 10-14 any one, 15-18 any one, described controlled device is for sending the second logging request to server, so that described server is verified the legitimacy of described controlled device according to described the second logging request; If receive the legal message of described server authentication, described controlled device connects by WebSocket agreement and described server;
Described controlled device receives the control command that described server sends, and carries out the operation of described control command instruction.
CN201410167082.9A 2014-04-23 2014-04-23 Remote control method, server and control device and system Pending CN103957249A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410167082.9A CN103957249A (en) 2014-04-23 2014-04-23 Remote control method, server and control device and system
PCT/CN2015/077095 WO2015161786A1 (en) 2014-04-23 2015-04-21 Remote control method, server, control device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410167082.9A CN103957249A (en) 2014-04-23 2014-04-23 Remote control method, server and control device and system

Publications (1)

Publication Number Publication Date
CN103957249A true CN103957249A (en) 2014-07-30

Family

ID=51334472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410167082.9A Pending CN103957249A (en) 2014-04-23 2014-04-23 Remote control method, server and control device and system

Country Status (2)

Country Link
CN (1) CN103957249A (en)
WO (1) WO2015161786A1 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615456A (en) * 2014-12-30 2015-05-13 联想(北京)有限公司 Information processing method and center control equipment
CN104618440A (en) * 2014-12-31 2015-05-13 腾讯科技(深圳)有限公司 Intelligent equipment control method and device
WO2015161786A1 (en) * 2014-04-23 2015-10-29 华为终端有限公司 Remote control method, server, control device and system
CN105072171A (en) * 2015-07-31 2015-11-18 安一恒通(北京)科技有限公司 Method and apparatus for remote control of terminal
CN105959187A (en) * 2016-05-19 2016-09-21 青岛海信传媒网络技术有限公司 Remote timing task control method and system
CN106161385A (en) * 2015-04-15 2016-11-23 腾讯科技(上海)有限公司 The long-range control method of a kind of equipment and device
CN106161341A (en) * 2015-03-27 2016-11-23 上海科泰世纪科技有限公司 Control method, control server and control system
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN106936935A (en) * 2017-04-28 2017-07-07 新华三技术有限公司 A kind of long-range control method and device
CN107509198A (en) * 2017-08-31 2017-12-22 高创(苏州)电子有限公司 The control method and its relevant apparatus of a kind of digital photo frame
CN107979524A (en) * 2016-10-21 2018-05-01 李佰聪 Method and device architecture for remote device control through instant communication system
CN108170536A (en) * 2016-12-07 2018-06-15 北大医疗信息技术有限公司 The expanding method and device of web program
CN109981891A (en) * 2019-02-27 2019-07-05 维沃移动通信有限公司 A kind of terminal control method, device and terminal device
CN113452588A (en) * 2021-06-29 2021-09-28 青岛海尔科技有限公司 Display method and device of equipment binding list, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009014375A1 (en) * 2007-07-23 2009-01-29 Lg Electronics Inc. Remote controller, and system and method for remotely controlling digital television
CN102223402A (en) * 2011-05-31 2011-10-19 佘培嘉 Universal remote controller control system for virtual key control through non-man-machine interface
CN103024503A (en) * 2012-07-05 2013-04-03 合一网络技术(北京)有限公司 System and method for achieving remote control through mobile communication equipment terminal
CN103049190A (en) * 2012-12-12 2013-04-17 北京奇虎科技有限公司 Mobile communication terminal and method controlling device operation
CN103399548A (en) * 2013-07-31 2013-11-20 惠州Tcl移动通信有限公司 Remote controlling method of intelligent equipment, mobile terminal, intelligent equipment and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112171A1 (en) * 2004-11-19 2006-05-25 Rader Shawn T System and method to control devices using a remote control device via hypertext transfer protocol (HTTP)
CN103105944A (en) * 2013-02-28 2013-05-15 用友软件股份有限公司 Operating terminal and server and remote control system and remote control method
CN103957249A (en) * 2014-04-23 2014-07-30 华为终端有限公司 Remote control method, server and control device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009014375A1 (en) * 2007-07-23 2009-01-29 Lg Electronics Inc. Remote controller, and system and method for remotely controlling digital television
CN102223402A (en) * 2011-05-31 2011-10-19 佘培嘉 Universal remote controller control system for virtual key control through non-man-machine interface
CN103024503A (en) * 2012-07-05 2013-04-03 合一网络技术(北京)有限公司 System and method for achieving remote control through mobile communication equipment terminal
CN103049190A (en) * 2012-12-12 2013-04-17 北京奇虎科技有限公司 Mobile communication terminal and method controlling device operation
CN103399548A (en) * 2013-07-31 2013-11-20 惠州Tcl移动通信有限公司 Remote controlling method of intelligent equipment, mobile terminal, intelligent equipment and system

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015161786A1 (en) * 2014-04-23 2015-10-29 华为终端有限公司 Remote control method, server, control device and system
CN104615456A (en) * 2014-12-30 2015-05-13 联想(北京)有限公司 Information processing method and center control equipment
US10264424B2 (en) 2014-12-30 2019-04-16 Lenovo (Beijing) Co., Ltd. Information processing method and central control device
CN104615456B (en) * 2014-12-30 2019-02-05 联想(北京)有限公司 A kind of information processing method and control device
CN104618440B (en) * 2014-12-31 2018-03-23 腾讯科技(深圳)有限公司 Smart machine control method and device
CN104618440A (en) * 2014-12-31 2015-05-13 腾讯科技(深圳)有限公司 Intelligent equipment control method and device
US10834237B2 (en) 2014-12-31 2020-11-10 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10326861B2 (en) 2014-12-31 2019-06-18 Tencent Technology (Shenzhen) Company Limited Method for controlling cooperation of multiple intelligent devices and apparatus thereof
CN106161341A (en) * 2015-03-27 2016-11-23 上海科泰世纪科技有限公司 Control method, control server and control system
CN106161385B (en) * 2015-04-15 2020-06-16 腾讯科技(上海)有限公司 Remote control method and device for equipment
CN106161385A (en) * 2015-04-15 2016-11-23 腾讯科技(上海)有限公司 The long-range control method of a kind of equipment and device
WO2017020523A1 (en) * 2015-07-31 2017-02-09 安一恒通(北京)科技有限公司 Method and apparatus for remote control of terminal
CN105072171A (en) * 2015-07-31 2015-11-18 安一恒通(北京)科技有限公司 Method and apparatus for remote control of terminal
CN105959187A (en) * 2016-05-19 2016-09-21 青岛海信传媒网络技术有限公司 Remote timing task control method and system
CN107979524A (en) * 2016-10-21 2018-05-01 李佰聪 Method and device architecture for remote device control through instant communication system
CN108170536A (en) * 2016-12-07 2018-06-15 北大医疗信息技术有限公司 The expanding method and device of web program
CN108170536B (en) * 2016-12-07 2023-07-04 北大医疗信息技术有限公司 Expanding method and device of WEB program
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN106936935A (en) * 2017-04-28 2017-07-07 新华三技术有限公司 A kind of long-range control method and device
CN106936935B (en) * 2017-04-28 2021-02-23 新华三技术有限公司 Remote control method and device
CN107509198A (en) * 2017-08-31 2017-12-22 高创(苏州)电子有限公司 The control method and its relevant apparatus of a kind of digital photo frame
US10831816B2 (en) 2017-08-31 2020-11-10 K-Tronics (Suzhou) Technology Co., Ltd. Method for controlling electronic picture frame, electronic picture frame, electronic picture frame cloud platform and mobile terminal
CN109981891A (en) * 2019-02-27 2019-07-05 维沃移动通信有限公司 A kind of terminal control method, device and terminal device
CN113452588A (en) * 2021-06-29 2021-09-28 青岛海尔科技有限公司 Display method and device of equipment binding list, storage medium and electronic device

Also Published As

Publication number Publication date
WO2015161786A1 (en) 2015-10-29

Similar Documents

Publication Publication Date Title
CN103957249A (en) Remote control method, server and control device and system
CN103020687B (en) Quick Response Code sharing method and system
CN103065178B (en) A kind of Quick Response Code sharing apparatus, access means and sharing method
US7412727B2 (en) Media streaming home network system and method for operating the same
JP6072132B2 (en) Method of establishing a communication path using active connection of relay server of mobile terminal
CN104079653A (en) Smart home control method and system based on B/S framework
CN102368214B (en) Automatic interface generation method and system
WO2014090016A1 (en) Device control method and mobile communication terminal
CN103049190A (en) Mobile communication terminal and method controlling device operation
CN104144093A (en) Intelligent device control method, relevant device and system
CN104412252A (en) System and method for accessing remote disk images using a vmedia client and through a remote access appliance
CN104346198A (en) Information processing apparatus, server apparatus, information processing method, and program
CN100465950C (en) Web browser command button for client support
CN105095220A (en) Browser implementation method, terminal and virtualized agent device
CN104486383A (en) Method for installing application program on smart mobile device
CN105812413B (en) Communication method and device
CN104660655A (en) Method, device and system for controlling terminal
CN103634675A (en) System updating method and device in intelligent television
JP4754432B2 (en) Remote operation system, communication terminal, server device, and computer program
CN105792025A (en) Device information obtaining method and terminal
CA2938293A1 (en) Control program for accessing browser data and for controlling appliance
JP2006302031A (en) Distribution method for application program, and server device used therefor
CN106154852A (en) Intelligent appliance equipment and control method thereof and intelligent appliance control system
CN105263194A (en) Method and device for establishing communication connection between mobile equipment and fixed equipment
EP3236635B1 (en) Data communication method and device

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: 20140730