The content of the invention
In view of this, it is an object of the invention to provide a kind of radio-frequency apparatus control method, server, radio frequency main frame and penetrate
Frequency apparatus control system, so as to obtain control of the user by the realization of same terminal to the radio-frequency apparatus based on different communications protocol.
The technical scheme that present invention solution above-mentioned technical problem is used is as follows:
According to an aspect of the present invention, there is provided a kind of radio-frequency apparatus control method, the method includes:User is received to lead to
Cross the control information of terminal transmission, the control information includes that control command to radio-frequency apparatus, the radio-frequency apparatus set
Standby information;The corresponding communications protocol of the radio-frequency apparatus is determined according to the facility information;According to the communications protocol to described
Control command is processed, and obtains radio frequency code initial data;Radio frequency code initial data is entered according to default coding rule
Row coding obtains data flow;The data flow is sent to radio frequency main frame;By the radio frequency main frame by after the Data Stream Processing
The radio-frequency apparatus are transmitted to, the radio-frequency apparatus is performed the corresponding function of the control command.
Alternatively, foregoing method, includes modulation system parameter in the communications protocol;It is sent to by the data flow
Before radio frequency main frame, also include:The modulation system parameter is added in the data flow;By the radio frequency main frame from described
Data flow obtains the modulation system parameter and decoding obtains the radio frequency code initial data, and by the modulation system parameter
Selecting modulation mode, the radio-frequency apparatus are sent to using the modulation system by radio frequency code initial data.
Alternatively, foregoing method, is encoded according to default coding rule to radio frequency code initial data
Data flow, specifically includes:It is multiple time serieses by radio frequency code original data processing;Will be every in the multiple time series
Individual time series and its number of times that need to repeat to send are combined as a unit, and the multiple time series is corresponding multiple single
Unit's composition data flow.
Alternatively, foregoing method, the corresponding communications protocol of the radio-frequency apparatus is determined at according to the facility information, tool
Body includes:From the default database for storing multiple equipment information and corresponding multiple communications protocol, search described
The corresponding communications protocol of facility information of radio-frequency apparatus.
Alternatively, foregoing method, also includes:At least one of database facility information is sent to the end
End.
According to another aspect of the present invention, a kind of server is additionally provided, including:Receiver module, receives user by eventually
Holding the control information for sending, the control information includes control command, the equipment of the radio-frequency apparatus letter to radio-frequency apparatus
Breath;Communications protocol determining module, the corresponding communications protocol of the radio-frequency apparatus is determined according to the facility information;At control command
Reason module, is processed the control command according to the communications protocol, obtains radio frequency code initial data;Coding module, root
Radio frequency code initial data encode obtaining data flow according to default coding rule;Sending module, by the data flow
It is sent to radio frequency main frame;The radio-frequency apparatus will be transmitted to after the Data Stream Processing by the radio frequency main frame, make the radio frequency
Equipment performs the corresponding function of the control command.
Alternatively, foregoing server, includes modulation system parameter in the communications protocol;The coding module, will also
The modulation system parameter is added in the data flow, and the data flow is sent to the radio frequency master by the sending module
Machine;Obtained the modulation system parameter and decoded from the data flow by the radio frequency main frame and obtain the radio frequency code original number
According to, and by the modulation system parameter selecting modulation mode, sent radio frequency code initial data using the modulation system
To the radio frequency main frame.
Alternatively, radio frequency code original data processing is multiple time sequences by foregoing server, the coding module
Row, and each time series in the multiple time series and its number of times that need to repeat to send are combined as a unit,
The corresponding multiple units of the multiple time series are constituted into the data flow.
Alternatively, foregoing server, the communications protocol determining module is from default for storing multiple communications protocol
And in the database of corresponding multiple equipment information, search the corresponding communication association of facility information of the radio-frequency apparatus
View.
Alternatively, foregoing server, the sending module also sends out at least one of database facility information
Give the terminal.
According to another aspect of the present invention, there is provided a kind of radio-frequency apparatus control method, including:Receive from server
The data flow obtained by the corresponding radio frequency code initial data coding of radio-frequency apparatus, wherein being added with the radio frequency in the data flow
The corresponding modulation system parameter of equipment;The modulation system parameter is obtained from the data flow and decoding obtains the radio frequency code
Initial data, and by the modulation system parameter selecting modulation mode;Using the modulation system by the radio frequency code original number
According to being sent to the radio-frequency apparatus.
According to another aspect of the present invention, there is provided a kind of radio frequency main frame, including:Receiver module, receives and comes from server
The data flow obtained by radio-frequency apparatus corresponding radio frequency code initial data coding, wherein being added with described penetrating in the data flow
The corresponding modulation system parameter of frequency equipment;Main control module, obtains the modulation system parameter and decodes from the data flow
To radio frequency code initial data, and by the modulation system parameter selecting modulation mode;Transmitter module, uses the modulation methods
Radio frequency code initial data is sent to the radio-frequency apparatus by formula.
According to another aspect of the present invention, there is provided a kind of radio-frequency apparatus control system, including:Terminal, foregoing service
Device, radio frequency main frame, radio-frequency apparatus;The server receives the control information that user is sent by the terminal, the control letter
Breath includes control command, the facility information of the radio-frequency apparatus to the radio-frequency apparatus;The server sets according to
Standby information determines the corresponding communications protocol of the radio-frequency apparatus;The server is according to the communications protocol to the control command
Processed, obtained radio frequency code initial data;The server is according to default coding rule to radio frequency code initial data
Encode obtaining data flow;The data flow is sent to the radio frequency main frame by the server;Will by the radio frequency main frame
The radio-frequency apparatus are transmitted to after the Data Stream Processing, the radio-frequency apparatus is performed the corresponding function of the control command.
According to above technical scheme, it is known that radio-frequency apparatus control method of the invention, server, radio frequency main frame and radio frequency set
Standby control system at least has the advantages that:
Technology according to the present invention scheme, user after the control instruction that terminal sends is transferred to server, by servicing
After device recognizes the communications protocol of the radio-frequency apparatus, after the control instruction is processed as into the data flow comprising radio frequency code initial data,
It is transferred to radio frequency main frame again to be processed and launched, then radio-frequency apparatus receive the radio frequency code initial data being capable of identify that, so as to hold
The corresponding function of row control instruction, it is seen that in the inventive solutions, user sends the control to radio-frequency apparatus by terminal
Without the concern for the corresponding communications protocol of radio-frequency apparatus during system instruction, voluntarily given birth to according to the communications protocol of radio-frequency apparatus by server
Into recognizable radio frequency code initial data, so as to realize user by a control for the radio-frequency apparatus of terminal-pair difference communications protocol
System.
Specific embodiment
In order that the technical problems to be solved by the invention, technical scheme and beneficial effect are clearer, clear, below tie
Drawings and Examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
It is used to explain the present invention, is not intended to limit the present invention.
As shown in figure 1, providing a kind of radio-frequency apparatus control method in one embodiment of the present of invention, the method includes:
Step S110, receives the control information that user is sent by terminal, and control information includes the control to radio-frequency apparatus
System order, the facility information of radio-frequency apparatus.
In the present embodiment, terminal includes but is not limited to the equipment such as mobile phone, remote control;In the present embodiment, can be at end
An application is realized on end, i.e. APP, user sends control information by APP, and the button of APP detection user's triggerings (should press keying
Make certain radio-frequency apparatus and perform certain function), and obtain the facility information belonging to the button, including but not limited to equipment vendors, set
Standby type information, and function (control command) information to be triggered, are then packaged into information above packet and are sent to clothes
Business device;Server receives the control information to radio-frequency apparatus that user sends, and the control information includes that the equipment of control device is believed
Breath (affiliated manufacturer, model) and control instruction etc..
Step S120, the corresponding communications protocol of radio-frequency apparatus is determined according to facility information.
In the present embodiment, equipment vendors, unit type information of the server in the control information are from database
It is determined that the communications protocol matched with the equipment.
Step S130, is processed control command according to communications protocol, obtains radio frequency code initial data.
In the present embodiment, server is parsed using identified communications protocol to control instruction, generation radio frequency code
Initial data.
Step S140, encode obtaining data flow according to default coding rule to radio frequency code initial data.
Step S150, radio frequency main frame is sent to by data flow;Set radio frequency is transmitted to after Data Stream Processing by radio frequency main frame
It is standby, radio-frequency apparatus is performed the corresponding function of control command.
In the present embodiment, intelligent RF main frame connects internet by WIFI, can be used mobile phone to connect mutual any
Radio-frequency apparatus in the local remote control man of networking, and with time control function, user can be set according to demand.
According to the technical scheme of the present embodiment, without the concern for radio-frequency apparatus when user is sent to radio-frequency apparatus by terminal
Corresponding communications protocol, recognizable radio frequency code initial data is voluntarily generated by server according to the communications protocol of radio-frequency apparatus,
So as to realize user by a control for the radio-frequency apparatus of terminal-pair difference communications protocol.
As shown in Fig. 2 providing a kind of radio-frequency apparatus control method in one embodiment of the present of invention, the method includes:
Step S210, receives the control information that user is sent by terminal, and control information includes the control to radio-frequency apparatus
System order, the facility information of radio-frequency apparatus.
Step S220, from the default database for storing multiple equipment information and corresponding multiple communications protocol
In, the corresponding communications protocol of facility information of the radio-frequency apparatus is searched, modulation system parameter is included in communications protocol.
In the present embodiment, a high in the clouds radio frequency code database can be realized on server, for store distinct device manufacturer,
The information such as the corresponding communications protocol of unit type (including modulation system), database can be with real-time update increasing new instrument factory
Business, unit type and its corresponding communications protocol.
Step S230, is processed control command according to communications protocol, obtains radio frequency code initial data.
Step S240, encode obtaining data flow to radio frequency code initial data, and the modulation system parameter is added to
In the data flow, data flow is sent to radio frequency main frame, modulation system parameter and solution are obtained from data flow by radio frequency main frame
Code obtains radio frequency code initial data, and by modulation system parameter selecting modulation mode, using modulation system by radio frequency code original number
According to being sent to radio frequency main frame.
In the present embodiment, high in the clouds radio frequency code generation system can be realized on the hardware foundation of server, for receiving
The packet that control terminal (APP) sends, can penetrate according to information such as the equipment vendors in the packet, unit types from high in the clouds
Communications protocol corresponding with the equipment is matched in frequency code database, by the communications protocol that matches to being included in packet
Control instruction is parsed, while radio frequency code initial data is generated, further according to default coding rule to radio frequency code initial data
Encoded, then composition data bag is sent to radio frequency main frame.
In the present embodiment, server is encoded by default coding rule to radio frequency code initial data, generates number
According to stream, in order to be transferred to radio frequency main frame;In the present embodiment, radio frequency main frame is parsed to the data flow for receiving, according to
Modulation system parameter switching in data flow is to corresponding modulation system.Then, according to coding rule to the data flow that receives
In the data division comprising radio frequency code decoded, radio frequency code initial data is obtained, by radio frequency code tune of the initial data to set
Examination mode is sent to radio-frequency apparatus, radio-frequency apparatus is performed dependent instruction to realize corresponding function;In the present embodiment, radio frequency
Main frame can in real time change rf-signal modulation mode with communications protocol;With above-mentioned high in the clouds radio frequency code database and high in the clouds radio frequency
Code generation system cooperating, can launch the radio frequency code of Different Modulations, multiple kinds, realize a remote terminal
Can just regulate the market the various radio-frequency apparatus of upper different vendor.
In the present embodiment, another independent step can also be increased on the basis of above-described embodiment:By database
At least one of facility information be sent to terminal.The equipment letter of at least one equipment can be checked in end so as to user
Breath.
In the present embodiment, when user passes through APP connection servers, APP can be by server from the radio frequency yardage
According to obtaining new equipment vendors' list, unit type list in storehouse.In the present embodiment, all of equipment vendors, unit type
Cloud server is all stored in information, the data such as corresponding communications protocol, high in the clouds radio frequency code database is formed;APP with penetrate
Frequency host hardware need not store the information such as any equipment vendors, unit type, when APP starts, can be by server from cloud
End-fire frequency code database obtains equipment vendors' list, the unit type list supported.Therefore, when the instrument factory for needing newly-increased support
When business, unit type, it is only necessary to update the data in the radio frequency code database of high in the clouds, greatly reduce maintenance cost;Not simultaneously
Frequent updating APP, firmware version are needed, Consumer's Experience is improved;In the present embodiment, the radio-frequency apparatus product that server is supported
Board, model can be with real-time update, increases.
A kind of radio-frequency apparatus control method is provided in one embodiment of the present of invention, step S240 includes:
It is multiple time serieses by radio frequency code original data processing.
Each time series in multiple time serieses and its number of times that need to repeat to send are combined as a unit, will be many
The corresponding multiple unit composition data streams of individual time series.
In the present embodiment, the coded system of use is included:1st, radio frequency code modulated signal is represented in the way of time series;
2nd, using a kind of special coded system, the time series is compressed, in order to transmit.
RF equipment on the market is analyzed, finding the modulated signal of radio-frequency apparatus radio frequency code on the market can generally lead to
Cross the time of the high and low level combinations or low and high level long and short combination of certain time length to express data " 0 " and " 1 ", finally may be used
The modulated signal of radio frequency code is represented using a string of time serieses of low and high level.
In actual application, in order to improve the success rate of radio-frequency apparatus control, a certain data segment in each radio frequency code
Need to retransmit N (6<N<20) it is secondary, therefore the time series for finally giving is very long, data volume is larger, is extremely unfavorable for transmission.
Separately, the section that each radio-frequency apparatus radio frequency code is repeated is also different, therefore, we devise a kind of coded system, during to radio frequency code
Between sequence be compressed.Specifically, the section for wherein repeating is screened, being expressed as time series segment using JSON aggravates again
The Object (unit) of number of times, finally gives the packet being made up of several Object, by the packet according to inverse mistake
Cheng Jinhang is parsed, you can obtain former radio frequency code.This coded system can compress radio frequency code, there is compression ratio higher, while compiling
Code, decoding process flow are simple, are a kind of coded systems for taking into account compression ratio and treatment effeciency.
As shown in figure 3, a kind of server is provided in one embodiment of the present of invention, including:
Receiver module 310, receives the control information that user is sent by terminal, and control information is included to radio-frequency apparatus
The facility information of control command, radio-frequency apparatus.
In the present embodiment, terminal includes but is not limited to the equipment such as mobile phone, remote control;In the present embodiment, can be at end
An application is realized on end, i.e. APP, user sends control information by APP, and the button of APP detection user's triggerings (should press keying
Make certain radio-frequency apparatus and perform certain function), and obtain the facility information belonging to the button, including but not limited to equipment vendors, set
Standby type information, and function (control command) information to be triggered, are then packaged into information above packet and are sent to clothes
Business device;Server receives the control information to radio-frequency apparatus that user sends, and the control information includes that the equipment of control device is believed
Breath (affiliated manufacturer, model) and control instruction etc..
Communications protocol determining module 320, the corresponding communications protocol of radio-frequency apparatus is determined according to facility information.
In the present embodiment, equipment vendors, unit type information of the server in the control information are from database
It is determined that the communications protocol matched with the equipment.
Control command processing module 330, is processed control command according to communications protocol, obtains radio frequency code original number
According to.
Coding module 340, encode obtaining data flow according to default coding rule to radio frequency code initial data.
In the present embodiment, server is parsed using identified communications protocol to control instruction, generation radio frequency code
Initial data.
Sending module 350, radio frequency main frame is sent to by data flow;Radio frequency will be transmitted to after Data Stream Processing by radio frequency main frame
Equipment, makes radio-frequency apparatus perform the corresponding function of control command.
In the present embodiment, intelligent RF main frame connects internet by WIFI, can be used mobile phone to connect mutual any
Radio-frequency apparatus in the local remote control man of networking, and with time control function, user can be set according to demand.
According to the technical scheme of the present embodiment, without the concern for radio-frequency apparatus when user is sent to radio-frequency apparatus by terminal
Corresponding communications protocol, recognizable radio frequency code initial data is voluntarily generated by server according to the communications protocol of radio-frequency apparatus,
So as to realize user by a control for the radio-frequency apparatus of terminal-pair difference communications protocol.
As shown in figure 4, a kind of server is provided in one embodiment of the present of invention, including:
Receiver module 410, receives the control information that user is sent by terminal, and control information is included to radio-frequency apparatus
The facility information of control command, radio-frequency apparatus.
Communications protocol determining module 420, from default for storing multiple equipment information and corresponding multiple communication associations
In the database of view, the corresponding communications protocol of facility information of the radio-frequency apparatus is searched, joined comprising modulation system in communications protocol
Number.
In the present embodiment, a high in the clouds radio frequency code database can be realized on server, for store distinct device manufacturer,
The information such as the corresponding communications protocol of unit type (including modulation system), database can be with real-time update increasing new instrument factory
Business, unit type and its corresponding communications protocol.
Control command processing module 430, is processed control command according to communications protocol, obtains radio frequency code original number
According to.
Coding module 440, encode and obtains data flow to radio frequency code initial data, wherein adds modulation methods in data flow
Data flow is sent to radio frequency main frame by formula parameter, sending module 450, by radio frequency main frame from data flow obtain modulation system parameter with
It is using modulation system that radio frequency code is former and decoding obtains radio frequency code initial data, and by modulation system parameter selecting modulation mode
Beginning data is activation is to radio frequency main frame.
In the present embodiment, high in the clouds radio frequency code generation system can be realized on the hardware foundation of server, for receiving
The packet that control terminal (APP) sends, can penetrate according to information such as the equipment vendors in the packet, unit types from high in the clouds
Communications protocol corresponding with the equipment is matched in frequency code database, by the communications protocol that matches to being included in packet
Control instruction is parsed, while radio frequency code initial data is generated, further according to default coding rule to radio frequency code initial data
Encoded, then composition data bag is sent to radio frequency main frame.
In the present embodiment, server is encoded by default coding rule to radio frequency code initial data, generates number
According to stream, in order to be transferred to radio frequency main frame;In the present embodiment, radio frequency main frame is parsed to the data flow for receiving, according to
Modulation system parameter switching in data flow is to corresponding modulation system.Then, according to coding rule to the data flow that receives
In the data division comprising radio frequency code decoded, radio frequency code initial data is obtained, by radio frequency code tune of the initial data to set
Examination mode is sent to radio-frequency apparatus, radio-frequency apparatus is performed dependent instruction to realize corresponding function;In the present embodiment, intelligence
Radio frequency main frame can in real time change rf-signal modulation mode with communications protocol;With above-mentioned high in the clouds radio frequency code database and high in the clouds
Radio frequency code generation system cooperating, can launch the radio frequency code of Different Modulations, multiple kinds, realize a remote control
Terminal can just regulate the market the various radio-frequency apparatus of upper different vendor.
Sending module 450 in the present embodiment is additionally operable to at least one of database facility information to be sent to terminal.
In the present embodiment, when user passes through APP connection servers, APP can be by server from the radio frequency yardage
According to obtaining new equipment vendors' list, unit type list in storehouse.In the present embodiment, all of equipment vendors, unit type
Cloud server is all stored in information, the data such as corresponding communications protocol, high in the clouds radio frequency code database is formed;APP with penetrate
Frequency main frame need not store the information such as any equipment vendors, unit type, when APP starts, can be penetrated from high in the clouds by server
Frequency code database obtains equipment vendors' list, the unit type list supported.Therefore, when need the newly-increased equipment vendors for supporting,
During unit type, it is only necessary to update the data in the radio frequency code database of high in the clouds, greatly reduce maintenance cost;Without the need for
Frequent updating APP, firmware version, improve Consumer's Experience;In the present embodiment, server is supported radio-frequency apparatus brand, type
Number can with real-time update, increase.
A kind of server is provided in one embodiment of the present of invention, radio frequency code original data processing is by coding module 440
Multiple time serieses, and each time series in multiple time serieses and its number of times that need to repeat to send are combined as one
Unit, by the corresponding multiple unit composition data streams of multiple time serieses.
In the present embodiment, the coded system of use is included:1st, radio frequency code modulated signal is represented in the way of time series;
2nd, using a kind of special coded system, the time series is compressed, in order to transmit.
RF equipment on the market is analyzed, finding the modulated signal of radio-frequency apparatus radio frequency code on the market can generally lead to
Cross the time of the high and low level combinations or low and high level long and short combination of certain time length to express data " 0 " and " 1 ", finally may be used
The modulated signal of radio frequency code is represented using a string of time serieses of low and high level.
In actual application, in order to improve the success rate of radio-frequency apparatus control, a certain data segment in each radio frequency code
Need to retransmit N (6<N<20) it is secondary, therefore the time series for finally giving is very long, data volume is larger, is extremely unfavorable for transmission.
Separately, the section that each radio-frequency apparatus radio frequency code is repeated is also different, therefore, we devise a kind of coded system, during to radio frequency code
Between sequence be compressed.Specifically, the section for wherein repeating is screened, being expressed as time series segment using JSON aggravates again
The Object (unit) of number of times, finally gives the packet being made up of several Object, by the packet according to inverse mistake
Cheng Jinhang is parsed, you can obtain former radio frequency code.This coded system can compress radio frequency code, there is compression ratio higher, while compiling
Code, decoding process flow are simple, are a kind of coded systems for taking into account compression ratio and treatment effeciency.
As shown in figure 5, a kind of radio-frequency apparatus control system is provided in one embodiment of the present of invention, including:
The server 520 of terminal 510, previous embodiment, radio frequency main frame 530, radio-frequency apparatus 540.
Server 520 receives the control information that user is sent by terminal 510, and control information is included to radio-frequency apparatus
The facility information of control command, radio-frequency apparatus.
In the present embodiment, the control terminal equipped with APP, used as user mutual center, what APP detection users triggered presses
Key, and the unit type belonging to the button, equipment vendors' information are obtained, and function (control command) information to be triggered, so
Information above is packaged into packet afterwards and is sent to server;(when before this, user adds new radio-frequency apparatus by APP,
User has selected for the information such as equipment vendors, unit type to complete the addition and binding of radio-frequency apparatus).
Server 520 determines the corresponding communications protocol of radio-frequency apparatus according to facility information.
Server 520 is processed control command according to communications protocol, obtains radio frequency code initial data.
In the present embodiment, server is used to receiving, processing the packet that APP sends, and is generated according to information therein
Radio frequency code initial data, is then encoded according to default coding rule, is then forwarded to radio frequency main frame.Server includes high in the clouds
Radio frequency code database and high in the clouds radio frequency code generation system are (equivalent to foregoing communications protocol determining module, control command treatment mould
Block, coding module etc.), radio frequency code database in high in the clouds is used to store distinct device manufacturer, the corresponding communications protocol of unit type (bag
Include modulation system) etc. information, radio frequency code generation system in high in the clouds is used to receive, process the packet that control terminal (APP) sends, root
Assisted according to the communication that lookup is matched with the equipment from high in the clouds radio frequency code database of the facility information (manufacturer, model) in packet
View, is parsed by identified communications protocol to the control instruction in packet, while radio frequency code initial data is generated, then
Radio frequency code initial data is encoded according to default coding rule, then composition data bag is sent to radio frequency main frame;Especially
, the default coding rule being capable of compatible various radio-frequency apparatus communications protocol.
Server 520 encode obtaining data flow according to default coding rule to radio frequency code initial data;
The data flow is sent to radio frequency main frame 530 by server 520, will be sent out after Data Stream Processing by radio frequency main frame 530
Penetrate to radio-frequency apparatus 540, radio-frequency apparatus 540 is performed the corresponding function of control command.
In the present embodiment, the packet that radio frequency main frame is issued for the reception server, by data therein according to coding
Rule obtains radio frequency code initial data after being decoded, radio frequency code initial data is sent into radio-frequency apparatus, you can control this to penetrate
Frequency equipment.It includes main control module, wifi module, radiofrequency emitting module, also including being main control module, wifi module, radio frequency hair
Penetrate the power module that module provides power supply;Multiple modulation mode, multi-communication agreement are supported by the radio-frequency module of master control module controls, its
Comprising a radio-frequency antenna.Radio-frequency apparatus, for receiving the radio frequency code initial data that radio frequency main frame sends, according to what is wherein included
Instruction performs corresponding action, to realize corresponding function.
As shown in fig. 6, a kind of radio-frequency apparatus control method that the present invention is provided, including:
Step S610, receives the data obtained by the corresponding radio frequency code initial data coding of radio-frequency apparatus from server
Stream, is wherein added with the corresponding modulation system parameter of radio-frequency apparatus in data flow.In the present embodiment, the reception server sends
Data flow comprising radio frequency code, wherein data flow include radio frequency code initial data and debud mode parameter, and transmit it to master
Control module is processed.
Step S620, obtains modulation system parameter and decoding obtains radio frequency code initial data from data flow, and by modulation
Mode parameter selecting modulation mode.In the present embodiment, treatment receive comprising radio frequency code data flow, and according to comprising
Parameter (specially modulation system parameter) in the data flow of radio frequency code sends instruction makes radiofrequency emitting module be switched to accordingly
Modulation system, and the data division comprising radio frequency code is decoded according to default coding rule.
Step S630, radio-frequency apparatus are sent to using modulation system by radio frequency code initial data.In the present embodiment, radio frequency
Main frame includes a radio-frequency antenna, and having can switch the function of different modulating mode by instructing, while supporting self-defined radio frequency
The function of code agreement, can be sent to radio-frequency apparatus with the modulation system for setting by the radio frequency of different agreement code by radio wave.
The radio frequency main frame can change modulation system, and can support multiple format, define different radio frequency code agreements, because
This, is capable of achieving to be uniformly controlled different vendor on the market, the various radio-frequency apparatus of different agreement;The radio frequency main frame can also be included
Omnipotent function of infrared remote control, is realizing simultaneously realizing radio-frequency apparatus when being uniformly controlled, also the unified control to infrared equipment
System, to solve the problems such as remote control is various, remote control loss damages no electricity.
As shown in fig. 7, a kind of radio frequency main frame is provided in one embodiment of the present of invention, including:
Receiver module 710, receives and encodes what is obtained by the corresponding radio frequency code initial data of radio-frequency apparatus from server
The corresponding modulation system parameter of radio-frequency apparatus is added with data flow, wherein data flow.
Main control module 720, obtains modulation system parameter and decoding obtains radio frequency code initial data from data flow, and by tune
Mode parameter selecting modulation mode processed.
Transmitter module 730, the radio-frequency apparatus are sent to using modulation system by radio frequency code initial data.
The radio frequency main frame being related in above-described embodiment, including main control module, wifi module (receiver module), radio-frequency transmissions mould
Block, also including providing the power module of power supply, radiofrequency emitting module, wifi for main control module, wifi module, radiofrequency emitting module
Module is connected with main control module respectively;Wherein:
Wifi modules, for the data flow comprising radio frequency code that the reception server sends, wherein data flow includes radio frequency code
Initial data and debud mode parameter, and transmit it to main control module and processed;
Main control module, for processing the data flow comprising radio frequency code for receiving, and according to the data comprising radio frequency code
Parameter (specially modulation system parameter) in stream sends instruction makes radiofrequency emitting module be switched to corresponding modulation system, and will
Data division comprising radio frequency code is decoded according to default coding rule, after the completion of decoding, master control module controls radio frequency hair
Module is penetrated to send radio frequency code;Main control module can synthesize same module with wifi module.
Radiofrequency emitting module, it includes a radio-frequency antenna, and the transmitter module has can switch the not people having the same aspiration and interest by instructing
The function of mode processed, while support the function of self-defined radio frequency code agreement, modulation that can be by the radio frequency of different agreement code to set
Mode is sent to radio-frequency apparatus by radio wave.
The radio frequency main frame can change modulation system, and can support multiple format, define different radio frequency code agreements, because
This, is capable of achieving to be uniformly controlled different vendor on the market, the various radio-frequency apparatus of different agreement;The radio frequency main frame can also be included
Omnipotent function of infrared remote control, is realizing simultaneously realizing radio-frequency apparatus when being uniformly controlled, also the unified control to infrared equipment
System, to solve the problems such as remote control is various, remote control loss damages no electricity.
In the present embodiment, by APP, above-mentioned radio frequency main frame, above-mentioned server group into radio frequency universal remote control system, can be real
Existing being uniformly controlled to the various radio-frequency apparatus of different vendor on the market.
In sum, technology according to the present invention scheme, the high in the clouds radio frequency with hardware, APP independences is realized by server
Code database, data generation system, support online real-time upgrading, maintenance, with extremely low maintenance cost, and preferably user's body
Test;Radio frequency code coding rule with extremely strong compatibility, compatible various conventional, unconventional agreements;Modulation system can be changed, and
It is capable of the radio frequency control terminal hardware of compatible multi-protocols;It is capable of achieving the unified control to the various radio-frequency apparatus of different vendor on the market
System.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in above-mentioned each method embodiment
The hardware that program be can be by instruct correlation is completed, and corresponding program can be stored in a kind of computer-readable recording medium
In, storage medium mentioned above can be read-only storage, disk or CD etc..
Above by reference to the preferred embodiments of the present invention have been illustrated, not thereby limit to interest field of the invention.This
Art personnel do not depart from the scope of the present invention and essence, can have various flexible programs to realize the present invention, for example as one
The feature of individual embodiment can be used for another embodiment and obtain another embodiment.It is all to use institute within technology design of the invention
Any modification, equivalent and the improvement made, all should be within interest field of the invention.