Summary of the invention
In view of this, it is an object of the invention to provide a kind of remote control self-adaptation control method, the method uses single distant
Multiple target devices are controlled by control device respectively, it is possible to strengthen operability and the convenience of control.
In order to achieve the above object, the invention provides a kind of remote control self-adaptation control method, the method includes:
Either objective equipment described in the photographic head arranged on remote controller is used to shoot, the described arbitrary mesh that will photograph
The photo upload of marking device is to server;
Receive the recognition result returned after described either objective equipment photo is identified by server, and export described knowledge
Other result is to the display screen of setting on remote controller, and described recognition result includes the target device list identified;
Receive user's confirmation message to a target device in described target device list, then from prestoring
The remote manipulation interface information that each target device is corresponding is searched the remote manipulation interface that one target device is corresponding, and defeated
Go out the display screen that remote manipulation interface corresponding to one target device is arranged to remote controller.
Present invention also offers a kind of remote controller, this remote controller includes: memory element, uploading unit, reception unit, output
Unit;
Described memory element, for prestoring the remote manipulation interface information that each target device is corresponding;
Described uploading unit, for using the photographic head arranged on this remote controller to clap described either objective equipment
Take the photograph, by the photo upload of described either objective equipment that photographs to server;
Described reception unit, for after uploading unit is by the photo upload of described either objective equipment to server, connects
Receiving the recognition result returned after described either objective equipment photo is identified by server, described recognition result includes identifying
Target device list;After exporting, at output unit, the display screen that described recognition result is arranged to this remote controller, receive
User's confirmation message to a target device in described target device list;
Described output unit, is identified described either objective equipment photo for receiving server at reception unit
During the recognition result of rear return, export the display screen that described recognition result is arranged to this remote controller;For connecing at reception unit
When receiving user to the confirmation message of a target device in described target device list, from memory element prestore each
The remote manipulation interface information that target device is corresponding is searched the remote manipulation interface that one target device is corresponding, and exports
Remote manipulation interface corresponding to one target device is to the display screen arranged on this remote controller.
Present invention also offers a kind of remote control Adaptable System, this system includes: remote controller, server;
Described remote controller, for using the photographic head arranged on this remote controller to shoot either objective equipment, will clap
The photo upload of the described either objective equipment taken the photograph is to server;For receiving server to described either objective equipment photo
After being identified return recognition result and export the display screen that described recognition result is arranged to this remote controller, described identification knot
Fruit includes the target device list identified;For receiving user to a target device in described target device list
Confirm message, then from the remote manipulation interface information that each target device prestored is corresponding, search one target device
Corresponding remote manipulation interface, and export what remote manipulation interface corresponding to one target device was arranged to this remote controller
Display screen;
Described server, for receiving the photo of the described either objective equipment that remote controller is uploaded, to described either objective
The photo of equipment carries out data and processes the characteristic information obtaining described either objective equipment, by the feature of described either objective equipment
Information is mated with the characteristic information of each target device prestored, and the target device list that the match is successful is carried and is knowing
Other result returns to remote controller.
In sum, in the application, remote controller prestores the remote manipulation interface that each target device is corresponding;When needs make
During with either objective equipment, use the photographic head arranged on remote controller that this target device is shot, by the target device of shooting
Photo upload to server, receives recognition result that server returns showing of exporting that described recognition result arranges to remote controller
In display screen;If receiving user's confirmation message to a target device in described recognition result, then export one
The remote manipulation interface that target device is corresponding.Multiple target devices are controlled respectively by the application by using single remote
System, it is possible to strengthen the convenience of operable row and control.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, develop simultaneously embodiment below in conjunction with the accompanying drawings,
Technical scheme is described in detail.
Seeing Fig. 1, Fig. 1 is embodiment of the present invention application networking schematic diagram, including remote controller, server and TV, family
Front yard movie theatre, air-conditioning, Set Top Box, light fixture, Pediluvium apparatus etc. need to use the household electrical appliance of remote control device, wherein, remote controller kimonos
Business device is all connected to network, it is possible to communicated by network.
As it is shown in figure 1, the target that the household electrical appliance such as TV, home theater, air-conditioning, Set Top Box are all remote control device sets
Standby.In order to realize the remote control to each target device, remote controller needs to store the remote manipulation interface that each target device is corresponding
The operational order (key) that each functional keys in information and this remote manipulation interface is corresponding, in order to need to use user
During a certain target device (such as TV), exporting the remote manipulation interface that this target device is corresponding, user can be by this remote control
Each functional keys in operation interface realizes the manipulation to this target device.In practical implementations, user can click on/touch aobvious
Certain functional keys in the remote manipulation interface of display, the operational order corresponding to generate this functional keys in display screen;Remote control
After device receives this operational order, this operational order can be converted to corresponding infrared signal (pulse+pulsewidth) and be sent to this
Target device, thus realize the manipulation to this target device.
Owing to remote controller needs to realize the remote control to multiple target devices, need first to determine and currently want the target of remote control to set
Standby, then could export the remote manipulation interface that this target device is corresponding, so that arrange photographic head and display screen, wherein,
Photographic head is used for taking pictures target device, and display screen is for showing the remote manipulation interface that target device is corresponding.Can make
With the photographic head arranged on remote controller, the mode currently wanting the target device of remote control to shoot is obtained the photograph of target device
Sheet, and by the photo upload of target device that photographs to server, server the photo of target device is identified, so
After recognition result is returned to remote controller.
Server needs to prestore the characteristic information of each target device.Server receives arbitrary mesh that remote controller is uploaded
After the photo of marking device, need that the photo of described either objective equipment is carried out data process and obtain described either objective equipment
Characteristic information, then can be by the spy of the characteristic information of described either objective equipment obtained and each target device prestored
Reference breath mates, and the target device that the match is successful is server and ties the identification of the photo of described either objective equipment
Really.
In actual applications, by the feature of the characteristic information of described either objective equipment with each target device prestored
Information carries out coupling and there are following two kinds of situations:
The first, the characteristic information of the characteristic information of each target device prestored and described either objective equipment is the most not
Coupling.
This situation explanation server not can recognize that described either objective equipment, can be carried by null object list of devices
Remote controller is fed back in recognition result.Remote control is to after the recognition result of server feedback, if it find that recognition result
Middle target device list is empty, then may determine that the server recognition failures to described either objective equipment, therefore can be aobvious
Export a general remote manipulation interface in display screen, universal remote control operation interface can provide basic functional keys, example
Such as power on button, power-off button, user can by universal remote control operation interface complete described either objective equipment basic
Operation.
, there is the characteristic information of one or more target device prestored and described either objective equipment in the second
Characteristic information mates.
This situation explanation server has identified and described either objective equipment, can by the match is successful one or
Multiple target device lists are carried and are returned to remote controller in recognition result, and wherein target device list includes that each mates into
The numbering of the target device information of merit, such as target device.
In actual applications, server is probably mistake to the recognition result of described either objective equipment, it is also possible to
Correct, need to be carried out judging choice by user.Therefore, described either objective equipment is known by remote control to server
After the recognition result not returned afterwards, need to export on display screen by recognition result, user determine that recognition result is the most just
Really or select target device correct in recognition result.
When recognition result is incorrect, user can click on/touch and deny that button is (permissible in the interface of output recognition result
This is provided to deny button), to generate all target devices in recognition result are denied message.Remote control is denied to this
Message, determines server to fail correctly and identifies described either objective equipment, thus can export universal remote control on a display screen
Operation interface, makes user can complete the basic operation to described either objective equipment by universal remote control operation interface.
When recognition result exists correct target device, user can select this correct target device clicking on/
Touch ACK button, to generate the confirmation message of the target device correct to this, confirm message can carry this correct target
Facility information.Remote control is to after this confirmation message, it may be determined that the remote manipulation interface that this correct target device is corresponding,
And export this remote manipulation interface for users described either objective equipment of manipulation on a display screen.
It addition, the characteristic information of target device can include outline data information and the colouring information of this target device, or
Person only includes the outline data information of this target device, and wherein, described colouring information includes color (being determined by the value of R, G, B)
And distribution of color information.Server processes and obtains described either objective the picture of described either objective equipment carries out data
During the characteristic information of equipment, the Polygonal Approximation in Opencv image library technology can be used, specifically, can use
Lattice Lars-Pu Ke (Douglas-Peucker) algorithm obtains the outline data of described either objective equipment;Furthermore it is also possible to
Photo according to described either objective equipment determines the colouring information of described either objective equipment, can use at existing image
The photo of described either objective equipment is processed by reason method, determines the colouring information of described either objective equipment.
It is presented above embodiment of the present invention remote control adaptive approach and the schematic illustration of image identification method, below
It is described in detail respectively in connection with Fig. 2, Fig. 3.
Fig. 2 is the flow chart of embodiment of the present invention remote control self-adaptation control method, is applied to remote controller, described remote control appliance
There are photographic head and display screen, and are previously stored with the remote manipulation interface information that each target device is corresponding;The method mainly includes
Following steps:
Either objective equipment is shot, described in photographing by the photographic head arranged on step 201, use remote controller
The photo upload of either objective equipment is to server.
Step 202, receive the recognition result defeated returned after described either objective equipment photo is identified by server
Going out the display screen that described recognition result is arranged to remote controller, described recognition result includes the target device list identified;
Step 203, receive user's confirmation message to a target device in described target device list, then from advance
The remote manipulation interface information that each target device of first storing is corresponding is searched the remote manipulation that one target device is corresponding
Interface, and export the display screen that remote manipulation interface corresponding to one target device is arranged to remote controller.
In the embodiment of the present invention shown in Fig. 2, described remote controller can also prestore universal remote control operation interface information.Distant
After control device receives the recognition result to described either objective equipment photo that server returns, farther include: described identification
Target device list in result is empty, or, receive user to the institute in the target device list in described recognition result
Have target device denies message, then export the universal remote control operation interface prestored.
It addition, described remote controller can also prestore described universal remote control operation interface in each functional keys corresponding
Operational order;
So, after the display screen that described output universal remote control operation interface to remote controller is arranged, farther include: as
Fruit receives the operational order that user is sent by the functional keys in this universal remote control operation interface, then by described operational order
Be converted to infrared signal send to described either objective equipment.
In the embodiment of the present invention shown in Fig. 2, described remote controller also prestores in the remote manipulation interface that each equipment is corresponding
The operational order that each functional keys is corresponding;
Remote manipulation interface corresponding to described output one target device to after the display screen arranged on remote controller,
Farther include: if receiving the operational order that user is sent by the functional keys in this remote manipulation interface, then by institute
State operational order and be converted to infrared signal transmission to one target device.
In the embodiment of the present invention shown in Fig. 2, server can prestore the characteristic information of each target device.
The method that the photo of described either objective equipment is identified by server is: the photograph to described either objective equipment
Sheet carries out data and processes the characteristic information obtaining described either objective equipment;By the characteristic information of described either objective equipment with pre-
The characteristic information of each target device first stored mates, and the target device list that the match is successful is carried in recognition result
Return to remote controller.
The characteristic information of above-mentioned target device can include the outline data information of this target device.In this case, institute
State the photo to described either objective equipment and carry out data and process the method for characteristic information obtaining target device and be: use polygon
Shape approach method carries out data process to the photo of described either objective equipment, obtains the outline data of described either objective equipment
Information, described outline data information includes the coordinate information of multiple points, the plurality of point in the profile of described either objective equipment
The distance of middle arbitrary neighborhood point-to-point transmission is less than predeterminable range.
The characteristic information of above-mentioned target device can include outline data information and the colouring information of this target device.This
In the case of, the described photo to described either objective equipment carries out the method that data process the characteristic information obtaining target device
For: determine the colouring information of described either objective equipment according to the photo of described either objective equipment, and use polygonal segments
Method carries out data process to the photo of described either objective equipment, obtains the outline data information of described either objective equipment,
Described outline data information includes the coordinate information of multiple points in the profile of described either objective equipment, in the plurality of point arbitrarily
The distance of adjacent point-to-point transmission is less than predeterminable range.Wherein, described either objective is determined according to the photo of described either objective equipment
The colouring information of equipment can use the multiple method of prior art to obtain, and a kind of possible method comprises the following steps: 1), right
Described photo carries out pretreatment and obtains one or more color blocks, and detailed process is: extract R, G, B of each pixel of photo
Value, it is judged that whether this pixel is white, is this pixel color to be set to white, is otherwise provided as black, such that it is able to generate
The binary map that photo is corresponding;2) the one or more color blocks is carried out color extraction and obtains prospect (if selecting white
Color makees background, then can remove all color white blocks, thus obtain prospect);3) Fu in Opencv image library technology is utilized
In leaf transformation method carry out noise reduction process to extracting the prospect that obtains;4) mixed Gauss model is used to carry out the prospect after noise reduction
Modeling, i.e. can get the colouring information of photo.
Above-mentioned Polygonal Approximation is Douglas-Pu Ke Douglas-Peucker algorithm.
Above embodiment of the present invention remote control adaptive approach and image identification method are described in detail, the present invention
Additionally provide a kind of remote controller and a kind of server, below result Fig. 3 be described in detail.
Fig. 3 is the structural representation of remote controller that the embodiment of the present invention provides, and this remote controller includes: memory element 301, on
Leaflet unit 302, reception unit 303, output unit 304;Wherein,
Memory element 301, for prestoring the remote manipulation interface information that each target device is corresponding;
Uploading unit 302, for using the photographic head arranged on this remote controller that described either objective equipment is shot,
By the photo upload of described either objective equipment that photographs to server;
Receive unit 303, be used for after uploading unit 302 is by the photo upload of described either objective equipment to server,
Receiving the recognition result returned after described either objective equipment photo is identified by server, described recognition result includes identifying
The target device list gone out;After exporting, at output unit 304, the display screen that described recognition result is arranged to this remote controller,
Receive user's confirmation message to a target device in described target device list;
Output unit 304, knows described either objective equipment photo for receiving server at reception unit 303
During the recognition result not returned afterwards, export the display screen that described recognition result is arranged to this remote controller;For receiving unit
303 when receiving user to the confirmation message of a target device in described target device list, from memory element 301 in advance
The remote manipulation interface information corresponding to each target device of storage searches remote manipulation circle that one target device is corresponding
Face, and export the display screen that remote manipulation interface corresponding to one target device is arranged to this remote controller.
In said apparatus, described memory element 301, it is used for prestoring universal remote control operation interface information;
Described reception unit 303, is further used for exporting described recognition result at output unit 304 and sets to this remote controller
After the display screen put, receive user and all target devices in described target device list are denied message;
Described output unit 304, the target being further used in receiving the described recognition result that unit 303 receives sets
When standby list be empty, or, reception unit 303 receives no to all target devices in described target device list of user
When recognizing message, then the display screen arranged on the universal remote control operation interface that output memory element 301 prestores to this remote controller.
This remote controller also includes RCU 305;
Described memory element 301, corresponding for prestoring each functional keys in described universal remote control operation interface
Operational order;For prestoring the operation life that in the remote manipulation interface that each target device is corresponding, each functional keys is corresponding
Order;
Described reception unit 303 exports universal remote control at output unit 304 and operates the aobvious of interface setting to this remote controller
After display screen, it is further used for: receive the operational order that user is sent by the functional keys in this universal remote control operation interface;
After output unit 304 exports the remote manipulation interface that one target device is corresponding, it is further used for: receive user and lead to
Cross the operational order that the functional keys in this remote manipulation interface sends;
Described RCU 305, for operation user sent by the functional keys in universal remote control operation interface
Order is converted to infrared signal and sends to described either objective equipment;For user is corresponding by one target device
The operational order that functional keys in remote manipulation interface sends is converted to infrared signal and sends to one target device.
Present invention also offers a kind of remote control adaptive control system, this system includes remote controller, server;Wherein,
Remote controller, for using the photographic head arranged on this remote controller to shoot either objective equipment, will photograph
The photo upload of described either objective equipment to server;For receiving server, described either objective equipment photo is carried out
After identification return recognition result and export the display screen that described recognition result is arranged to this remote controller, described recognition result bag
Include the target device list identified;For receiving user's confirmation to a target device in described target device list
Message, then search one target device corresponding from the remote manipulation interface information that each target device prestored is corresponding
Remote manipulation interface, and export the display that remote manipulation interface corresponding to one target device is arranged to this remote controller
Screen;
Server, for receiving the photo of the described either objective equipment that remote controller is uploaded, to described either objective equipment
Photo carry out data and process and obtain the characteristic information of described either objective equipment, by the characteristic information of described either objective equipment
Mate with the characteristic information of each target device prestored, the target device list that the match is successful is carried and is identifying knot
Remote controller is returned in Guo.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.