Summary of the invention
Present disclose provides a kind of long-distance remote-control method, equipment, server and systems, at least to solve long-range control at present
The technical issues of technology can not pass through vision inspections control effect in long-range control, and can also solve can not to it is multiple not
The technical issues of same type equipment is remotely controlled.
On the one hand the disclosure provides a kind of long-range control method, comprising: the image information that server is sent is received, according to
Described image information sends user instruction to server.
It further, include: to receive the Path Setup that server is sent to ask before receiving the image information that server is sent
It asks, establishes the data transmission channel with server according to user instructions.
Further, this method further include: the audio and/or text information that the server is sent are received, to server
Send audio user and/or text information.
On the other hand the disclosure provides a kind of long-range control method, comprising: the control for obtaining target device remote controler refers to
Enable collection;Image information is sent to server;The control instruction set that server is sent based on the received controls target device.
Further, obtain target device remote controler control instruction collection mode be it is following any one: according to described
The model of target device remote controler obtains the corresponding control instruction collection of the model from server;Or, obtaining user from server
Pre-set target remote control control instruction set;Or, obtaining the control instruction collection of target device by way of infrared learning
And the control instruction collection is sent to server.
On the other hand the disclosure provides a kind of long-range control method, comprising: receive the user instruction that first terminal is sent;
The corresponding control instruction set of the user instruction is obtained according to the user instruction;The control instruction set is sent described in
Second terminal.
On the other hand the disclosure provides a kind of remote control equipment, be configured as remote control terminal, including processor,
Memory, display device, the memory storage processor executable instruction, wherein the processor and the memory interface
To execute the processor-executable instruction, the remote control equipment is accordingly to execute following operation: receiving server and sends
Image information, according to described image information to server send user instruction;The display device is for showing image information.
On the other hand the disclosure provides a kind of remote control equipment, be configured as remote control terminal, including processor,
Memory, the memory storage processor executable instruction, the processor and the memory interface are to execute the place
Device executable instruction is managed, the remote control equipment is accordingly to realize following operation: the control for obtaining target device remote controler refers to
Collection is enabled, sends image information to server, target device is controlled according to the control instruction set that server is sent.
Further, the equipment further includes image collecting device, and described image acquisition device is for acquiring described image
Information.
On the other hand the disclosure provides a kind of server, be configured as service node, including processor, memory, institute
It is executable to execute the processor to state memory storage processor executable instruction, the processor and the memory interface
Instruction, the server realizes following operation accordingly: receiving the user instruction that first terminal is sent;It is obtained according to the user instruction
Take the corresponding control instruction set of the user instruction;The control instruction set is sent to the second terminal.
On the other hand the disclosure provides a kind of tele-control system, including first terminal, second terminal and server,
In, the first terminal sends user to server according to described image information for receiving the image information of server transmission
Instruction;The server obtains the user according to the user instruction and refers to for receiving the user instruction of first terminal transmission
Enable corresponding control instruction set;The control instruction set is sent to the second terminal;The second terminal obtains target
The control instruction collection of appliance remote control;Image information is sent to server;The control instruction set control sent according to server
Target device.
Disclosure remote equipment transmits image, by image mode to long-range control effect while real time remote control
Visual inspection is carried out, it can not be in long-range control through vision inspections control effect at least to solve current remote control technology
Technical problem, and the technical issues of can not remotely being controlled multiple and different type equipments can also be solved.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
The embodiment of the invention provides a kind of long-range control method, Fig. 1 is the long-range control of one kind according to the embodiment of the present disclosure
Method flow diagram one processed, as shown in Figure 1, this method comprises:
S101: the image information that server is sent is received;
S102: user instruction is sent to server according to described image information.
It further, include: to receive the Path Setup that server is sent to ask before receiving the image information that server is sent
It asks, establishes the data transmission channel with server according to user instructions.
When long-range control, remote control commands are sent to cloud, and controller is found according to the account information of requestor in cloud
Information, and push on control notification message to terminal device.After controller confirms control, control model is opened.Terminal is connected to
Media relays establish picture and check channel, and establish instruction sendaisle.
Further, this method further include: the audio and/or text information that the server is sent are received, to server
Send audio user and/or text information.
On the other hand the disclosure provides a kind of long-range control method, Fig. 2 is remotely controlled according to one kind of the embodiment of the present disclosure
Method flow diagram two processed includes: as described in Figure 2
S201: the control instruction collection of target device remote controler is obtained;
S202: image information is sent to server;
S203: the control instruction set that server is sent based on the received controls target device.
Controlled person acquires controlled object equipment image, for example, if target device is television set, can use Image Acquisition
Device acquires television image, such as intercepts television image and power amplifier control panel with by the self-contained camera of controlling terminal
Picture, the media relays that pictorial information arrives cloud are sent after terminal squeezed, cloud to controller's transmission image information, or
Person directly sends image information to controlling terminal.
Controller indicates that controlling terminal sends remote control command according to image information, and cloud will instruction after receiving instruction
Being sent in controlling terminal, may then pass through by the infrared function or Bluetooth function of controlling terminal or other wireless function
Remote control commands can be sent to target device, such as home theater etc..
Further, obtain target device remote controler control instruction collection mode be it is following any one: according to described
The model of target device remote controler obtains the corresponding control instruction collection of the model from server;Or, obtaining user from server
Pre-set target remote control control instruction set;Or, obtaining the control instruction collection of target device by way of infrared learning
And the control instruction collection is sent to server.
The pre-set target remote control control instruction set of user is obtained if it is from server, terminal is obtained from server
It is added by controlling terminal, such as remote controler information to user.The interface for obtaining remote controler information is as follows:
HTTP request: remote controler information is obtained
GET/api/hbo/v1/remotecontrols
If obtaining the corresponding control instruction collection of the model from server according to the model of the target device remote controler,
The corresponding appliance brand of remote controler and type information are got from server by controlling terminal, corresponding interface is as follows:
HTTP request: the corresponding appliance brand of remote controler is obtained
GET/api/hbo/v1/remotecontrols/brands
HTTP request: corresponding model under the corresponding appliance brand of remote controler is obtained
GET/api/hbo/v1/remotecontrols/brands/{brandID}/types
Wherein { brandID } indicates appliance brand mark
If instruction set, in instruction database, already present instruction set is to by control terminal remote control list in addition instruction database
In.It is a kind of possible implementation below:
HTTP request: already present remote controler user remote controller list in addition instruction database
POST/api/hbo/v1/remotecontrols/brands/{brandID}/types/{typeid}
{
" userid ": "<userid>"
}
The corresponding storage model of user remote controller is as follows:
{
“userid”:“<userid>”
“remoteControlsName”:“<remoteControlsName>”
“systemCode”:“<systemCode>”
“remoteControl”:{
“powerSwitch”:“<powerFuncCode>”
" input ": "<inputFuncCode>"
“up”:“<upFuncCode>”
“down”:“<downFuncCode>”
“left”:“<leftFuncCode>”
......
}
}
Wherein { brandID } indicates appliance brand mark
The model of { typeid } expression remote controler
<userid>indicate user account
<remoteControlsName>indicates remote controler title
<systemCode>indicates the system coding namely identification code of remote controler, it is used to refer to the type of remote control system.
<xxxFuncCode>identifies the function code namely instruction code of remote controler, it is used to refer to each key of remote controler
Control function.
If the instruction set added needed for can not find user in library, user can be with custom instruction collection.By with red
The terminal of outer function, user can be by way of infrared learning or other modes learn instruction set.Finger is completed in user
After enabling collection addition, user can carry out control scene layout according to instruction set, and the output result of layout is user instruction, user
Instruction may include the control instruction set of one or more type equipment.Such as one scene watched movie of editor, it can be with
It is as follows to arrange the i.e. control instruction set of user instruction:
The input of television set is set as HDMI1;
The output of power amplifier is set as HDMI2;
The input of power amplifier is set as HDMI1;
The acoustics of power amplifier is arranged are as follows: film mode;
Set-top box is opened to movie channel.
The interface of addition remote control scene is as follows:
HTTP request: addition remote control scene
Wherein<userid>indicate user account
<senceName>indicates scene title
<relayTime>indicates to instruct the delay time after issuing
Terminal is not limited to using the mobile phone with infrared function, can also be using individually with the intelligence of infrared remote control ability
Can home sensor replace.Difference is, if needing hand by the smart home sensor with infrared remote control ability
Machine client goes to control the docking of this sensor realization and remote controler, this control can be directly, can also be indirect
(as passed through sensor host machine or cloud).
On the other hand the disclosure provides a kind of long-range control method, Fig. 3 is remotely controlled according to one kind of the embodiment of the present disclosure
Method flow diagram three processed;As shown in Figure 3, comprising:
S301: the user instruction that first terminal is sent is received;
S302: the corresponding control instruction set of the user instruction is obtained according to the user instruction;
S303: the control instruction set is sent to the second terminal.
On the other hand the disclosure provides a kind of remote control equipment, Fig. 4 is remotely controlled according to one kind of the embodiment of the present disclosure
Control equipment block diagram;As shown in figure 4, including processor 41, memory 42, display device, the memory storage processor can hold
Row instruction, wherein the processor and the memory interface are to execute the processor-executable instruction, it is described long-range accordingly
Control equipment is to execute following operation: receiving the image information that server is sent, is sent according to described image information to server
User instruction;The display device is for showing image information.
Long-range control can be received and performed the control instruction set of server by equipment;Control target device, such as family
Relevant device in the movie theatre of front yard.The control instruction set of server may include addition, delete remote command collection, send infrared
Instruction and configuration-direct etc..The relevant device in target device, such as home theater is controlled, the side of infrared remote control can be used
Formula, the docking of infrared remote control information, which can be, manually docks with remote controler, and being also possible to will be infrared distant by server
The information of control is sent to this equipment to realize.
On the other hand the disclosure provides a kind of remote control equipment, be configured as remotely by controlling terminal, including processing
Device, memory, the memory storage processor executable instruction, the processor and the memory interface are described to execute
Processor-executable instruction, the remote control equipment is accordingly to realize following operation: obtaining the control of target device remote controler
Instruction set sends image information to server, controls target device according to the control instruction set that server is sent.
Three functions remotely may include by controlling terminal, first is that remote controler is to connection function;Second is that remote assistance function, packet
Containing single device remote control and scene remote control, video playing or picture viewing client-side, speech talkback etc.;Third is that remote help function,
Client comprising video record and picture shooting, speech talkback etc., if the client as video record and picture shooting,
The ability of image collecting device then can be remotely had both by controlling terminal.
Image collecting device: being the image information for obtaining target device, and image information includes picture or video information, so
Output is to mobile client after video information coding is compressed afterwards.
On the other hand the disclosure provides a kind of server, Fig. 5 is according to a kind of server block diagram of the embodiment of the present disclosure, such as
Shown in Fig. 5, including processor, memory, the memory storage processor executable instruction, the processor and the storage
Device interface is to execute the processor-executable instruction, and the server realizes following operation accordingly: receiving first terminal and sends
User instruction;The corresponding control instruction set of the user instruction is obtained according to the user instruction;The control is sent to refer to
Set is enabled to arrive the second terminal.
Service node may include three functions.First is that receive and handle the instruction from mobile client, it can be in the future
The control instruction to remote control module is converted into from the user instruction of mobile client;Second is that control and management remote control mould
Block;Three are to provide media relay function.
On the other hand the disclosure provides a kind of tele-control system, Fig. 6 is the long-range control of one kind of the embodiment of the present disclosure
System architecture diagram, as shown in fig. 6, including first terminal, second terminal and server, wherein the first terminal, for receiving
The image information that server is sent sends user instruction to server according to described image information;The server, for receiving
The user instruction that first terminal is sent obtains the corresponding control instruction set of the user instruction according to the user instruction;Hair
Send the control instruction set to the second terminal;The second terminal obtains the control instruction collection of target device remote controler;
Image information is sent to server;Target device is controlled according to the control instruction set that server is sent
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification,
Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.