The content of the invention
It is an object of the invention to provide infrared pattern acquisition methods, Cloud Server, infrared transponder and system, to solve
Above-mentioned the problem of.
Infrared pattern acquisition methods are provided in an embodiment of the present invention, including:Receive the infrared pattern that user sends
Request instruction, wherein the infrared pattern request instruction includes remote control information;From red with the remote control information matches
In outer pattern storehouse, the infrared pattern specified by the infrared pattern request instruction is obtained;By the remote control information and the finger
Fixed infrared pattern is issued to infrared transponder with data frame format through infrared transponder main frame, so that the infrared transponder solution
The data frame of the infrared transponder main frame forwarding is analysed, corresponding infrared control pattern is generated.
Preferably, the infrared pattern request instruction for receiving user's transmission, including:Specify distant according to user's request addition
Control the remote control addition instruction of device, corresponding function button generated in the client of user, wherein the function button with it is described
Button on remote control addition instruction remote control is corresponded;Receive user and trigger the infrared of the function button transmission
Pattern request instruction.
Preferably, it is described to ask addition to specify the remote control of remote control to add instruction according to user, in the client of user
Corresponding function button is generated, including:The remote control addition instruction that user sends is received, wherein remote control addition refers to
The remote control information of remote control to be added is carried in order;Issued and the remote control information matches to the client of the user
Remote controller key information;Client according to the remote controller key information in the user generates corresponding function button;
Or, the remote control information of remote control to be added is carried in the remote control addition instruction, in the sheet of the client of the user
Retrieval and the remote controller key information of the remote control information matches in ground database, according to the remote controller key information in institute
The client for stating user generates corresponding function button.
Preferably, the corresponding function of client generation according to the remote controller key information in the user is pressed
Key, including:Corresponding analog telecommand device interface is generated in the client of the user according to the remote controller key information, it is described
Include the function button on analog telecommand device interface.
Preferably, it is described by the remote control information and the infrared pattern specified with data frame format through infrared forwarding
Device main frame is issued to infrared transponder, including:Infrared code is generated using the remote control information and the infrared pattern specified
Type data frame;The infrared pattern data frame is issued to and the infrared pattern master corresponding to the infrared pattern request instruction
Machine;The infrared pattern data frame is converted to RF control signal by the infrared pattern main frame, and is sent to it and matched
Infrared transponder;The infrared transponder parses the RF control signal and generates corresponding infrared control pattern.
The embodiment of the present invention additionally provides a kind of infrared pattern acquisition methods, including:Infrared transponder main frame is received to send
RF control signal, wherein the RF control signal by the infrared transponder main frame according to Cloud Server issue it is infrared
Pattern data frame is converted to, and the infrared pattern data frame includes the infrared pattern information of the infrared pattern of user's request;
The parsing reduction RF control signal, generation infrared control pattern corresponding with the infrared pattern information.
The embodiments of the invention provide a kind of Cloud Server, including:Receiving module, the infrared code for receiving user's transmission
Type request instruction, the infrared pattern request instruction includes remote control information;Infrared pattern matching module, for from it is described
In the infrared pattern storehouse of remote control information matches, the infrared pattern specified by the infrared pattern request instruction is obtained;Send mould
Block, for the remote control information and the infrared pattern specified to be issued to data frame format through infrared transponder main frame
Infrared transponder, so that the infrared transponder parses the data frame of the infrared transponder main frame forwarding, generation is corresponding
Infrared control pattern.
The embodiment of the present invention additionally provides a kind of infrared transponder, including:RF receiving and transmission module, for receiving infrared forwarding
Device main frame send RF control signal, wherein the RF control signal by the infrared transponder main frame according to Cloud Server
The infrared pattern data frame issued is converted to, and the infrared pattern data frame includes the infrared of the infrared pattern of user's request
Pattern information;Infrared pattern processing module, for parsing the reduction RF control signal, generation and the infrared pattern information
Corresponding infrared control pattern.
The embodiment of the present invention additionally provides a kind of infrared pattern and obtains system, including:Client, Cloud Server, infrared turn
Send out device main frame and infrared transponder;The client, for sending infrared pattern request instruction, wherein institute to the Cloud Server
Stating infrared pattern request instruction includes remote control information;The Cloud Server, for from the remote control information matches
In infrared pattern storehouse, the infrared pattern specified by the infrared pattern request instruction is obtained;It is additionally operable to the remote control information
And the infrared pattern specified is issued to the infrared transponder with data frame format through the infrared transponder main frame;It is described
Infrared transponder, the data frame for parsing the infrared transponder main frame forwarding, generates corresponding infrared control pattern.
Infrared pattern acquisition methods provided in an embodiment of the present invention, server, infrared transponder and system, utilize user's
Client is sent to Cloud Server includes the infrared pattern request instruction of remote control information, and Cloud Server is according to request, to corresponding
Infrared transponder main frame issue and include its data frame for asking infrared pattern, infrared transponder goes out to obtain the data from main frame
Frame, remote control information and infrared pattern are obtained by parsing the data frame, and according to the remote control information and infrared pattern of acquisition
The corresponding infrared pattern of generation.It is therefore seen that the infrared pattern acquisition methods of the embodiment of the present invention, server, infrared transponder and
System, directly obtains the infrared pattern needed, overcome needs to learn each button in correlation technique from Cloud Server
Process, it is simple and easy to operate.
Embodiment
The present invention is described in further detail below by specific embodiment and with reference to accompanying drawing.
The embodiments of the invention provide a kind of infrared pattern acquisition methods, this method is based on Cloud Server side, such as Fig. 1 institutes
Show, main processing steps include:
Step S11:The infrared pattern request instruction that user sends is received, wherein infrared pattern request instruction includes remote control
Device information;
Step S12:From the infrared pattern storehouse with remote control information matches, obtain specified by infrared pattern request instruction
Infrared pattern;
Step S13:Remote control information and the infrared pattern specified are issued with data frame format through infrared transponder main frame
To infrared transponder, so that the data frame of infrared transponder parsing infrared transponder main frame forwarding, generates corresponding infrared control
Pattern.
The infrared pattern learning method of the embodiment of the present invention, being sent from subscription client to Cloud Server includes remote control letter
The infrared pattern request instruction of breath, Cloud Server is issued red including its request according to request to corresponding infrared transponder main frame
The data frame of outer pattern, infrared transponder obtains the data frame at main frame, by parse obtain corresponding remote control information and
Infrared pattern, and remote control information and the corresponding infrared control pattern of infrared pattern generation according to acquisition.Can be with from this method
Find out, the infrared pattern acquisition methods of the embodiment of the present invention, the infrared pattern needed is directly obtained from Cloud Server, phase is overcome
Need the process learnt to each button simple and easy to operate in the technology of pass.
In the infrared pattern acquisition methods of the embodiment of the present invention, cloud server user by client send it is infrared
Pattern request instruction, specifically, in client, receives the remote control addition instruction that remote control is specified in user's request addition, according to
The remote control addition instruction of user, generates corresponding function button, wherein function button adds with remote control in the client of user
Plus the button on instruction remote control is corresponded;The infrared pattern request for receiving the transmission of user's Trigger Function button refers to
Order.
For example, when user is intended to control television set by infrared transponder, according to the particular type of television set first wife's remote control
Number etc. information to client send request addition TV remote controller request add instruct, according to the request add instruction and it is distant
The information such as concrete model of device is controlled, it is one-to-one to generate each button for including with television set first wife's remote control in subscription client
Function button, user is by triggering the function button in client to the infrared pattern request instruction of Cloud Server transmission, wherein sending out
The infrared pattern request instruction sent includes remote control information, the model of such as remote control, model of infrared equipment to be controlled etc..
Because each model infrared equipment the use of the button included by IR remote controller, the position of button is substantially fixed
, therefore when the remote control for receiving the specified model remote control of user's request addition adds instruction, according to the instruction, in user
Client generation analog telecommand device interface, wherein number, arrangement position and the reality of the function button on analog telecommand device interface
Button on the IR remote controller of border is corresponded, and is thus easy to user to send corresponding infrared pattern request using client and is referred to
Order, more conforms to the use habit of user.
In addition, the infrared pattern transponder in correlation technique, for the same distant control function button of client, when its study
After the infrared pattern of one IR remote controller, when being intended to the other infrared equipments of switching controller, study need to be re-started, and learn before
The infrared pattern practised is capped, such as the current infrared transponder learning and memory infrared pattern of TV remote controller, when it is desirable that profit
When being acted with infrared transponder control curtain, the infrared pattern of curtain control remote control can only be learnt using infrared transponder, and
The infrared pattern of TV remote controller is capped, can only be to infrared forwarding when again wanting to control TV using infrared transponder
Device is relearned, it can be seen that infrared transponder, which can only be remembered, recognizes a kind of infrared pattern of IR remote controller, is unsatisfactory for using
The actual demand of a variety of infrared equipments of family remote control.
And the infrared pattern learning method of the embodiment of the present invention, add instructing according to the remote control of user, can be in user
Client add multiple analog telecommand devices, wherein one-to-one with actual remote control to that should have on each analog telecommand device
Function button, when being intended to control different infrared equipments, need to only be switched between the analog telecommand device of addition.
For example, the client in user is added with TV analog remote control and curtain analog telecommand device, when TV to be controlled
During action, corresponding infrared pattern request instruction, cloud are sent to Cloud Server using the function button on TV analog remote control
Server responds the request and the data frame for including infrared pattern is sent to infrared transponder main frame, and infrared transponder goes out from main frame
Data frame analyzing is obtained to obtain infrared pattern and send the control that corresponding infrared signal realizes TV.When progress curtain control
When, it is switched to curtain analog telecommand device and the action control for realizing curtain is operated using the above method.It is therefore seen that, the present invention is implemented
In the infrared pattern acquisition methods of example, infrared transponder can obtain the remote control information and infrared code for recognizing multiple infrared equipments
Type, and switched by subscription client between multiple infrared patterns, it is simple to operation, it can more meet user and utilize infrared forwarding
Device controls the actual demand of multiple infrared equipments.
Further, ask addition to specify the remote control of remote control to add according to user to instruct, give birth in the client of user
Mode into corresponding function button has a variety of, for example, client is received after the remote control addition instruction of user, this is instructed
Send to Cloud Server, the remote control sent by cloud server user, which is added, to be instructed, wherein taken in remote control addition instruction
Remote control information with remote control to be added;Cloud Server issues the remote control with remote control information matches to the client of user
Device key information;Client according to remote controller key information in user generates corresponding function button.
Can also be in the method for subscription client generation corresponding function button:The remote control that subscription client is received adds
Plus the remote control information of remote control to be added is carried in instruction, client is received after remote control addition instruction, user's
Retrieval and the remote controller key information of remote control information matches, exist according to remote controller key information in the local data base of client
The client of user generates corresponding function button.
After the infrared pattern request instruction that cloud server is sent by client to user, the instruction is responded, is utilized
Remote control information in infrared pattern request instruction and the infrared pattern specified generate infrared pattern data frame;Cloud Server will be red
Outer pattern data frame is issued to and the infrared pattern main frame corresponding to infrared pattern request instruction;Infrared pattern main frame is by infrared code
Type data frame is converted to RF control signal, and sends to the infrared transponder matched with it;Infrared transponder parses radio frequency control
The corresponding infrared pattern of signal acquisition processed.
Specifically, infrared transponder main frame by the RF control signal that infrared pattern data frame is converted to 433MHz send to
Infrared transponder, infrared transponder is received after RF control signal, using the infrared pattern reducing program being locally stored to penetrating
Frequency control signal carries out parsing and obtains corresponding infrared pattern and remote control information, and utilizes the infrared pattern and remote control obtained
Information generates corresponding infrared control pattern.
The embodiment of the present invention additionally provides a kind of infrared pattern acquisition methods, and this method is based on infrared transponder side, such as Fig. 2
Shown, main processing steps include:
Step S21:The RF control signal that infrared transponder main frame is sent is received, wherein RF control signal is by infrared turn
The infrared pattern data frame that hair device main frame is issued according to Cloud Server is converted to, and infrared pattern data frame includes user's request
Infrared pattern infrared pattern information;
Step S22:Parsing reduction RF control signal, generates infrared control pattern corresponding with infrared pattern information.
The brand, type, product system of all infrared patterns consistent with Cloud Server have been locally stored in infrared transponder
Row and model, when infrared transponder receives the infrared pattern data frame of infrared transponder main frame forwarding, can have been stored
Infrared pattern analysis protocol carries out parsing reduction to infrared pattern, so as to obtain corresponding infrared pattern, and then drives transmission phase
The infrared signal answered.
Accordingly, the embodiment of the present invention additionally provides a kind of infrared transponder, as shown in figure 3, the infrared transponder includes:
RF receiving and transmission module 31, the RF control signal for receiving the transmission of infrared transponder main frame, wherein RF control signal is by red
The infrared pattern data frame that outer transponder main frame is issued according to Cloud Server is converted to, and infrared pattern data frame includes user
The infrared pattern information of the infrared pattern of request;Infrared pattern processing module 32, for parsing reduction RF control signal, generation
Infrared control pattern corresponding with infrared pattern information.
Also include infrared transceiver module 33 in infrared transponder in addition, infrared transponder is obtained after infrared pattern, is utilized
Infrared transceiver module 33 drives to infrared equipment 34 and sends the corresponding control of infrared signal realization.
In addition, also turning die block 35 including direct current in infrared transponder, for dc source 36 to be converted into infrared turn
Voltage needed for the work of other modules in hair device.
It should be noted that the infrared transponder of the embodiment of the present invention also has the learning functionality of infrared signal.
The embodiments of the invention provide a kind of Cloud Server, as shown in figure 4, mainly including:
Receiving module 41, the infrared pattern request instruction for receiving user's transmission, wherein in infrared pattern request instruction
Including remote control information;
Infrared pattern matching module 42, for from the infrared pattern storehouse with remote control information matches, obtaining infrared pattern
Infrared pattern specified by request instruction;
Sending module 43, for by remote control information and the infrared pattern specified with data frame format through infrared transponder master
Machine is issued to infrared transponder, so that the data frame of infrared transponder parsing infrared transponder main frame forwarding, obtains corresponding distant
Device information and infrared pattern are controlled, and utilizes remote control information and infrared pattern generation infrared control pattern.
The embodiment of the present invention additionally provides a kind of infrared pattern and obtains system, as shown in figure 5, including:Client 51, cloud clothes
Business device 52, infrared transponder main frame 53 and infrared transponder 54;Client 51, please for sending infrared pattern to Cloud Server 52
Instruction is asked, wherein infrared pattern request instruction includes remote control information;Cloud Server 52, for from remote control information matches
Infrared pattern storehouse in, obtain the infrared pattern specified by infrared pattern request instruction;It is additionally operable to remote control information and specifies
Infrared pattern infrared transponder 54 is issued to through infrared transponder main frame 53 with data frame format;Infrared transponder 54, is used for
The data frame of the forwarding of infrared transponder main frame 53 is parsed, corresponding remote control information and infrared pattern is obtained, and utilize acquisition
Remote control information and infrared pattern generation infrared control pattern.
The infrared transponder of the embodiment of the present invention receive infrared transponder main frame forwarding infrared pattern data frame when,
Frame format is parsed, the infrared pattern of remote control that Cloud Server is issued is obtained, obtains the corresponding equipment brand of the pattern, type, production
Strain is arranged and model.Then the pattern data in frame message, are transferred corresponding infrared by the local function library of transponder
Pattern reducing program, then drives infrared transceiver module, launches infrared signal.
It is local in infrared transponder, store the brand, type, product system of all infrared patterns consistent with Cloud Server
Row and model, can recognize the agreement for all infrared patterns that Cloud Server is forwarded by main frame, and according to the association being locally stored
View is effectively reduced.
Rely on the infrared pattern storehouse that is locally stored, infrared transponder can be recognized and compatible conventional all red currently on the market
Outer remote control class household electrical appliance, are obtained, instruction is resolved to infrared pattern generation, can reliably realize home wiring control from pattern.
After subscription client addition infrared transponder, so that it may any existing electrical equipment brand is selected in the room of setting
And model, add corresponding remote control.Each remote controller key is learnt one by one again without user, the same of remote control is added
When, the infrared pattern of reality has been corresponded to, it is easy to operate.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.