CN103077596B - Communication system, remote control thereof and remote control equipment - Google Patents

Communication system, remote control thereof and remote control equipment Download PDF

Info

Publication number
CN103077596B
CN103077596B CN201210591468.3A CN201210591468A CN103077596B CN 103077596 B CN103077596 B CN 103077596B CN 201210591468 A CN201210591468 A CN 201210591468A CN 103077596 B CN103077596 B CN 103077596B
Authority
CN
China
Prior art keywords
remote control
key
electronic equipment
control equipment
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210591468.3A
Other languages
Chinese (zh)
Other versions
CN103077596A (en
Inventor
龙涛
刘正东
龙江
唐元浩
严松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Huitong Group Co Ltd
Original Assignee
Jiangsu Huitong Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Huitong Group Co Ltd filed Critical Jiangsu Huitong Group Co Ltd
Priority to CN201210591468.3A priority Critical patent/CN103077596B/en
Publication of CN103077596A publication Critical patent/CN103077596A/en
Application granted granted Critical
Publication of CN103077596B publication Critical patent/CN103077596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

A kind of communication system, remote control thereof and remote control equipment, described remote control thereof comprises: when described remote control equipment detects the first key commands that its key-press matrix sends, and request and described electronic equipment match; When the pairing request response of described electronic equipment to remote control equipment is effective, described remote control equipment and electronic equipment carry out key change; When described key change success, described remote control equipment and electronic equipment carry out data interaction.Described remote control equipment comprises: the pairing request unit carrying out matching according to the first key commands request and electronic equipment, carry out the key exchange unit of key change with electronic equipment and carry out the data interaction unit of data interaction with electronic equipment.The present invention makes remote control equipment and electronic equipment match whenever and wherever possible to be connected, the signal such as WIFI, bluetooth can be avoided the interference of communication process.

Description

Communication system, remote control thereof and remote control equipment
Technical field
The present invention relates to telecontrol engineering field, particularly a kind of communication system, remote control thereof and remote control equipment.
Background technology
Contemporary life be unable to do without each class of electronic devices, such as televisor.Putting of each class of electronic devices often has certain distance with user position, and user will control electronic equipment just needs remote control equipment, and such as user uses a teleswitch control televisor.
Prior art generally uses infrared remote control equipment to carry out remote control to electronic equipment, user must aim at the infrared remote receiver on electronic equipment when using infrared remote control operate, when the putting position of electronic equipment changes, user is in order to aim at remote control equipment with the infrared remote receiver on electronic equipment, also remote control direction must be changed, operation inconvenience.
Moreover, for large scale electronic equipment, because electronic equipment volume is excessive, when remote control equipment distance electronic equipment relatively, the infrared remote receiver of electronic equipment is easily in outside remote control equipment radiation angle or centre has object to stop, now, the signal that remote control equipment sends is not received; Further, because electronic equipment volume increases, the receiving unit relative decrease of infrared remote receiver, antijamming capability also weakens relatively, and as in high-brightness environment, light can disturb the infrared emitting head of remote control equipment.
In addition, infrared remote controller can only unidirectional control electronic equipment, cannot realize the bi-directional of signal.
Publication number is that the Chinese patent application of CN101489062A discloses a kind of television set remote controller on July 22nd, 2009, comprise the battery of power supply, MCU single-chip microcomputer are provided, the frequency-selecting toggle switch that connects MCU single-chip microcomputer with 2.4G data transmit-receive module, is connected the RF transmitter module of 2.4G data transmit-receive module and the wake-up key-press matrix of connection battery and MCU single-chip microcomputer.By being modulated to 2.4Ghz frequency transceiving data, the position of televisor and the sensing of telepilot need not be considered, in operation degree of freedom and amphicheirality, design freedom etc., there is very large advantage, facilitate data can duplicate transmissions, confirmation etc. between telepilot and receiver, many Function Extensions can be realized thus, search as increased on telepilot, telepilot and increase the functions such as earphone.But because RF telepilot adopts 2.4Ghz frequency transceiving data, the application such as WIFI, bluetooth in addition of this band operation that coexists, therefore RF telepilot and communication between electronic are very easily interfered.
In prior art, the transmission interface of remote control equipment changes from infrared ray to 2.4GHz frequency band (RF), as the RF telepilot of a kind of televisor that the application's background technology is mentioned.But, the wireless specification of RF remote control equipment is numerous and disorderly, and in 2.4GHz frequency band, also there is the undesired signals such as part WIFI signal and Bluetooth signal, the performance of RF remote control equipment is not good, even, RF remote control equipment is difficult to carry out function study and adjustment as infrared remote controller; On the other hand, the compatibility of prior art RF remote control equipment is also more weak, and this each product of interface embodying corresponding RF remote control equipment is on an electronic device inconsistent, the poor compatibility namely between electronic equipment interfaces.
Inventor finds.General RF remote control equipment (RF telepilot) is mainly for set by the electronic equipment such as televisor or Set Top Box possessing wireless network card chip (traditional WIFI chip), and namely electronic equipment itself has possessed traditional WIFI chip; And most of wireless network card chip all drives support WIFIdirect communication protocol by upgrading, and need not improve the hardware of chip, if the chip possessed with electronic equipment itself carries out the application of interface, can solve the problem of poor compatibility between above-mentioned electronic equipment interfaces, what realize between remote control equipment and each electronic equipment is pervasive.Review WIFI direct communication protocol, it is based on 802.11 communication protocols, a kind of new communication protocol of the upper-layer protocol of 802.11 communication protocols being changed and being formed, employing WIFI direct communication protocol realizes the communication between remote control equipment and electronic equipment, is the key point of technical solution of the present invention technical solution problem.
Summary of the invention
The technical matters that the present invention solves how to overcome the Communication Jamming between remote control equipment and electronic equipment.
In order to solve the problems of the technologies described above, technical solution of the present invention provides a kind of remote control thereof, can realize the communication between remote control equipment and electronic equipment, comprise:
When described remote control equipment detects the first key commands that its key-press matrix sends, request and described electronic equipment match;
When the pairing request response of described electronic equipment to remote control equipment is effective, described remote control equipment and electronic equipment carry out key change;
When described key change success, described remote control equipment and electronic equipment carry out data interaction.
Optionally, when described electronic equipment is in response to described pairing request, the first confirmation signal is fed back to described remote control equipment; The signal intensity of the first confirmation signal received when described remote control equipment is more than the first threshold value, and described electronic equipment to the pairing request response of remote control equipment effectively.
Optionally, described remote control equipment and electronic equipment carry out key change and comprise:
When described remote control equipment detects the second key commands that its key-press matrix sends in setting-up time, described remote control equipment sends service selection request;
When the service selection request response of described electronic equipment to remote control equipment is effective, described remote control equipment and electronic equipment carry out key change.
Optionally, when described electronic equipment is in response to described service selection request, the second confirmation signal is fed back to described remote control equipment; The signal intensity of the second confirmation signal received when described remote control equipment is more than the second threshold value, and described electronic equipment to the service selection request response of remote control equipment effectively.
Optionally, described remote control equipment and electronic equipment carry out key change and comprise:
Described electronic equipment is in response to described pairing request and display word command;
When described remote control equipment detects that the 3rd key commands that its key-press matrix sends is mated with described digital command, described remote control equipment and electronic equipment carry out key change.
Optionally, described remote control equipment and electronic equipment carry out data interaction and comprise:
When described remote control equipment detects the 4th key commands that its key-press matrix sends, described 4th key commands is carried out data encryption by described key by its protocol stack, make described 4th key commands change the first order of the described electronic equipment of sensing into, send described first order by its data transmission unit;
When the data receipt unit of described remote control equipment receives the second order of the described remote control equipment of sensing that described electronic equipment sends, the protocol stack of remote control equipment by described exchange double secret key described in the second order be decrypted and perform the corresponding actions in the second order.
Optionally, described remote control equipment and electronic equipment carry out data interaction and also comprise:
Wait for that described electronic equipment is in response to described first order and to described remote control equipment feedback the 3rd confirmation signal;
If the stand-by period is overtime, then again sends described first and order and wait for.
In order to solve the problems of the technologies described above, technical solution of the present invention additionally provides a kind of remote control equipment, can realize the communication between electronic equipment, comprise:
Key-press matrix;
Key-press matrix scanning element, for detecting the key commands on described key-press matrix;
Pairing request unit, for exporting the first key commands request according to described key-press matrix scanning element and described electronic equipment matches;
Key exchange unit, for responding effectively pairing request when described electronic equipment, carries out key change with electronic equipment;
Data interaction unit, for when described key change success, carries out data interaction with electronic equipment.
Optionally, described key exchange unit comprises:
First receiving element, for when described electronic equipment is in response to described pairing request, receives the first confirmation signal of electronic equipment feedback;
First judging unit, for the signal intensity when described first confirmation signal more than the first threshold value, judges that described electronic equipment to the pairing request response of remote control equipment effectively.
Optionally, described key exchange unit comprises:
Service selection request unit, sends service selection request for exporting the second key commands according to key-press matrix scanning element described in setting-up time;
First key change subelement, for responding effectively the service selection request of remote control equipment when described electronic equipment, carries out key change with electronic equipment.
Optionally, described first key change subelement comprises:
Second receiving element, for when described electronic equipment is in response to described service selection request, receives the second confirmation signal of electronic equipment feedback;
Second judging unit, for the signal intensity when described second confirmation signal more than the second threshold value, judges that described electronic equipment to the service selection request response of remote control equipment effectively.
Optionally, described key exchange unit comprises:
3rd judging unit, for judging that described key-press matrix scanning element exports the 3rd key commands and whether mates with digital command; Described digital command is the display command of described electronic equipment in response to described pairing request gained;
Second key change subelement, for being yes when described 3rd judging unit exports, carries out key change with electronic equipment.
Optionally, described data interaction unit, comprises protocol stack, data transmission unit and data receipt unit;
Described protocol stack, carries out data encryption for the 4th key commands described key-press matrix scanning element exported by described key, makes described 4th key commands change the first order of the described electronic equipment of sensing into; And, to be decrypted by the key of described exchange for the second order that data receipt unit is received and to perform the corresponding actions in the second order;
Described data transmission unit, for sending described first order;
Described data receipt unit, for receiving described second order; Described second order is the particular command of the described remote control equipment of sensing that described electronic equipment sends.
Optionally, described data interaction unit, also comprises:
Stand-by period computing unit, to order in response to described first for calculating described electronic equipment and to feed back to the stand-by period of described remote control equipment the 3rd confirmation signal;
4th judging unit, for judging that whether the described stand-by period is overtime;
Control module, for being yes when described 4th judging unit exports, starts described data transmission unit and stand-by period computing unit again.
In order to solve the problems of the technologies described above, technical solution of the present invention additionally provides a kind of communication system, comprises above-mentioned remote control equipment and carries out with it the electronic equipment that communicates.
Technical solution of the present invention at least comprises following beneficial effect:
The present invention adopts the WIFI Direct communication technology, remote control equipment and electronic equipment is matched whenever and wherever possible and is connected, realize two-way communication; Other signals (as WIFI signal, Bluetooth signal etc.) can be avoided the interference of communication process after pairing connects.
Technical solution of the present invention directly directly can be connected with the remote control equipment possessing WIFI Direct protocol communication ability on the electronic equipment possessing traditional WIFI chip, only need to rewrite according to WIFI Direct agreement the transmission chip of remote control equipment, cost-saving.
In a preferred approach, the function that technical solution of the present invention still further provides " close to pairing ": when remote control equipment receives the confirmation signal of electronic equipment feedback, by judging whether the signal intensity of this confirmation signal exceedes corresponding threshold value (the first threshold value, the second threshold value) and determine that whether pairing request response is effective, and the electronic equipment that is close to remote control equipment is only effectively to the response function that remote control equipment sends; When remote control equipment exists some electronic equipments in the environment, mismatching between remote control equipment and neighbours' electronic equipment can be prevented.
In possibility, technical solution of the present invention additionally provides two kinds of matching methods: the first matching method can improve the usability of equipment, when user wants to obtain certain service, the second key commands possessing this information on services can be sent, be connected with the electronic equipment service of foundation, help user to confirm available service; The second matching method possesses stronger security performance, which simplify the process setting up secure connection between remote control equipment and electronic equipment, makes user input the PIN code consistent with the numeral that electronic equipment shows (PIN code), easily creates secure connection.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the remote control thereof of the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet to data encryption to be sent in the remote control thereof of the embodiment of the present invention 1;
Fig. 3 is the schematic flow sheet to data accepted deciphering in the remote control thereof of the embodiment of the present invention 1;
Fig. 4 is the schematic flow sheet of the remote control thereof of the embodiment of the present invention 2;
Fig. 5 is the structural representation of the remote control equipment of the embodiment of the present invention 3;
Fig. 6 is the structural representation of the remote control equipment of the embodiment of the present invention 4;
Fig. 7 is the structural representation of the communication system of the embodiment of the present invention 5.
Embodiment
Embodiment 1
A kind of remote control thereof as shown in Figure 1, the communication between remote control equipment and electronic equipment can be realized, remote control equipment is a kind of RF remote control equipment, such as RF telepilot, electronic equipment possesses wireless network card chip, can be such as the TVs such as smartTV or Set Top Box, and remote control equipment adopts the wireless protocols transmission of 2.4Ghz frequency band, the two realizes data interaction based on WIFI direct communication protocol, specifically comprises:
Step S101: when described remote control equipment detects the first key commands that its key-press matrix sends, request and described electronic equipment match.
Wherein, the first key commands is the command information that user sends when being connected with electronic equipment by remote control equipment, and the specifically instruction request of pressing in the key-press matrix of remote control equipment that is specially carries out matching with electronic equipment the button be connected.
Step S102: when the pairing request response of described electronic equipment to remote control equipment is effective, described remote control equipment and electronic equipment carry out key change.
In step S102, about how judging that electronic equipment to the pairing request response of remote control equipment effectively, comprises the steps:
Step S121: when described electronic equipment is in response to described pairing request, feed back the first confirmation signal to described remote control equipment;
Step S122: the signal intensity of the first confirmation signal received when described remote control equipment is more than the first threshold value, and described electronic equipment to the pairing request response of remote control equipment effectively.
How to carry out key change about described remote control equipment and electronic equipment, specifically comprise the steps:
Step S123: when described remote control equipment detects the second key commands that its key-press matrix sends in setting-up time, described remote control equipment sends service selection request;
Step S124: when the service selection request response of described electronic equipment to remote control equipment is effective, described remote control equipment and electronic equipment carry out key change.
Wherein, the respective services that the display screen display of carrying out matching rear remote control equipment due to remote control equipment and electronic equipment provides, served according to required selection by user, on key-press matrix, button is selected and is formed described second key commands, according to the second key commands, remote control equipment sends service selection request and is again connected with electronic equipment.
Key used is in the present embodiment the key adopting WPA2 encryption technology to be formed, and WPA2 is a kind of authenticated encryption mode of WIFI Direct, the AES encryption that cryptographic algorithm adopts.Start to carry out exchange key after remote control equipment and electronic equipment confirmation pairing, key is the one group of data produced at random by electronic equipment, and preserve after remote control equipment receives also as the key of AES encryption during communication, AES encryption flow process can participate in Fig. 2.
How to judge in step S124 that described electronic equipment is to the service selection request response of remote control equipment effectively then similar step S121 ~ S122, comprises the following steps:
Step S124.1: when described electronic equipment is in response to described service selection request, feed back the second confirmation signal to described remote control equipment;
Step S124.2: the signal intensity of the second confirmation signal received when described remote control equipment is more than the second threshold value, and described electronic equipment to the service selection request response of remote control equipment effectively.
In above-mentioned steps, the first threshold value and the second threshold value are all measure the one of signal intensity.In environment residing for remote control equipment except with its sharing electron equipment except also there are other electronic equipments, each electronic equipment possesses and has compatible wireless network card chip, the request response that can send remote control equipment feedback acknowledgment signal, each electronic equipment now existed in remote control equipment and environment matches the problem of connection error.
Consider: electronic equipment is by antenna transmission wireless signal, the signal of aerial radiation often transmits certain distance in space and will produce certain decay, can think on the ground of infinity and decay to 0, only in the certain limit of signal source, signal just has higher intensity, utilize this principle that above-mentioned threshold value is set to determine that the distance between electronic equipment and remote control equipment is within the specific limits, eliminate the electronic equipment beyond distance range with this, prevent remote control equipment and other electronic equipments from matching the problem of connection error.More specifically, we from following formula, can obtain the concrete numerical value of threshold settings:
PL(dB)=46+10×n×log D(m) (1)
Formula (1) is the experimental formula that radio signal attenuation calculates.Wherein, PL (dB) is for path D(m) prolongation and the path attenuation situation produced, measure with unit dB; D is travel path, and m is the length (with the distance of signal source) of travel path; N is decay factor.For different wireless environments, the value of decay factor n is different; In free space, square being directly proportional of path attenuation and distance, namely decay factor is 2.In buildings, distance obviously will be greater than free space to the impact of path loss; Numerical value 46 is the empirical constant in formula (1).In general, be 2.0 ~ 2.5 for the value of n under Full-open environment; Be 2.5 ~ 3.0 for the value of n under semi-open environment; Be 3.0 ~ 3.5 for the value compared with n under enclosed environment.Calculate with indoor 2m distance, n value is 3, then attenuation is: PL=46+10 × 3 × log2=55dB, calculates with antenna delivery outlet power 10dBm, then, after indoor 50m decay, signal intensity is: 10dBm-55dB=-45dBm.In the present embodiment, the first threshold value and the second threshold value can setting signal intensity be all-45dBm.
Step S103: when described key change success, described remote control equipment and electronic equipment carry out data interaction.
Step S103 is further comprising the steps:
Step S131: when described remote control equipment detects the 4th key commands that its key-press matrix sends, described 4th key commands is carried out data encryption by described key by its protocol stack, make described 4th key commands change the first order of the described electronic equipment of sensing into, send described first order by its data transmission unit;
In step S131, also comprise the step (S131.1 ~ S131.2) judging that whether the stand-by period is overtime:
Step S131.1: wait for that described electronic equipment is in response to described first order and to described remote control equipment feedback the 3rd confirmation signal;
Step S131.2: if the stand-by period is overtime, then again send described first and order and wait for.
What step S131 described is the process that remote control equipment carries out message transmission, wherein:
4th key commands is arbitrary sensing electronic equipment and makes electronic equipment make the press key message of specific action.After described remote control equipment detects the 4th key commands that its key-press matrix sends, first this press key message is delivered to protocol layer with the form of packet in application layer by its network protocol stack; Protocol layer, by data packing verification, adds check bit, and is encrypted according to exchanging with electronic equipment the double secret key packet obtained, be sent to MAC layer; Data after encryption are packed by MAC layer again, and are sent to the transmitting element (transmitter module) of remote control equipment after adding check bit, the packet now sent and described first order.
The process be encrypted data can, see Fig. 2, be AES encryption, as can be known from Fig. 2, protocol layer encryption to as if 128 bit data:
Steps A 1, first divides into groups (forming the matrix that row, column is formed) to 128 bit data, this multi-group data and key is carried out XOR,
Steps A 2, carries out the conversion of S box, line translation, rank transformation to this multi-group data successively, and again the multi-group data after conversion and key is carried out XOR; Repeat this process, until eliminate the row in grouping;
Steps A 3, again the conversion of S box, line translation are carried out to this multi-group data (only the matrix of surplus row), multi-group data after this being converted and key carry out XOR, and form 128 final bit encryption data, these 128 bit encryption data are data that protocol layer is sent to MAC layer.
After transmitting element sends the first order, opening timing device while wait electronic equipment returns MAC layer confirmation of receipt (the 3rd confirmation signal), timer is the stand-by period computing unit on control module (MCU), acknowledge receipt of in during electronic equipment returns confirmation (or confirming bag) in MAC layer, stand-by period is calculated, if wait timeout, MAC layer does not receive the confirmation that electronic equipment returns, then repeat: the data after encryption are packed by MAC layer again, and after adding check bit, be sent to the data transmission unit of remote control equipment, and opening timing device again.If MAC layer receives the confirmation that electronic equipment returns, send end.
Step S132: when the data receipt unit of described remote control equipment receives the second order of the described remote control equipment of sensing that described electronic equipment sends, the protocol stack of remote control equipment by described exchange double secret key described in the second order be decrypted and perform the corresponding actions in the second order.
What step S132 described is the process that remote control equipment carries out message sink, wherein:
The receiving element of remote control equipment receives WIFI signal, and this WIFI signal is the sensing remote control equipment of electronic equipment transmission and makes remote control equipment do the order of specific action, i.e. described second order.First the protocol stack of remote control equipment confirms in MAC layer whether the target MAC (Media Access Control) address on the packet of WIFI signal transmission is identical with Self address and verifies errorless, Protocol layer data is uploaded to protocol layer and returns confirmation, otherwise abandoning; The data being successfully uploaded to protocol layer are decrypted by the key of protocol layer according to pairing, are verified, and be uploaded to application layer, otherwise abandon after confirmation is errorless; The data received then are converted to the instruction that can perform corresponding actions by application layer.
Can, see Fig. 3, be the inverse process of Fig. 2 to the process of decrypt data in protocol layer:
Step B1, first divides into groups (only the matrix of surplus row) to 128 bit encryption data, this multi-group data and key is carried out XOR,
Step B2, carries out the conversion of anti-S box, anti-line translation to this multi-group data (only the matrix of surplus row);
Step B3, carries out the conversion of anti-S box, anti-line translation, anti-rank transformation to the multi-group data after inverse transformation successively, and again the multi-group data (forming the matrix that row, column is formed) after inverse transformation is carried out XOR with key; Repeat this process, until recover to obtain 128 data decryptions, these 128 bit encryption data are data that protocol layer is sent to application layer.
Embodiment 2
A kind of remote control thereof as shown in Figure 4, can realize the communication between remote control equipment and electronic equipment, is step S223 ~ S224 with the difference of embodiment, and other each steps are consistent with embodiment 1, specifically comprise:
Step S201: when described remote control equipment detects the first key commands that its key-press matrix sends, request and described electronic equipment match; Wherein, the first key commands is the command information that user sends when being connected with electronic equipment by remote control equipment, is specially and presses specific button in the key-press matrix of remote control equipment.
Step S202: when the pairing request response of described electronic equipment to remote control equipment is effective, described remote control equipment and electronic equipment carry out key change.
In step S202, about how judging that electronic equipment to the pairing request response of remote control equipment effectively, comprises the steps:
Step S221: when described electronic equipment is in response to described pairing request, feed back the first confirmation signal to described remote control equipment;
Step S222: the signal intensity of the first confirmation signal received when described remote control equipment is more than the first threshold value, and described electronic equipment to the pairing request response of remote control equipment effectively.
How to carry out key change about described remote control equipment and electronic equipment, specifically comprise the steps:
Step S223: described electronic equipment is in response to described pairing request and display word command;
Step S224: when described remote control equipment detects that the 3rd key commands that its key-press matrix sends is mated with described digital command, described remote control equipment and electronic equipment carry out key change.
Here embody rule directly to create the process of secure connection between remote control equipment and electronic equipment, user can according to the digital command that electronic equipment display screen shows (PIN code), by the key commands that the key-press matrix input of remote control equipment is mated with digital command, easily create secure connection; Need not through the such services selection of embodiment 1, the action of direct instruction electronic equipment.
Step S203: when described key change success, described remote control equipment and electronic equipment carry out data interaction.
Step S203 is further comprising the steps:
Step S231: when described remote control equipment detects the 4th key commands that its key-press matrix sends, described 4th key commands is carried out data encryption by described key by its protocol stack, make described 4th key commands change the first order of the described electronic equipment of sensing into, send described first order by its data transmission unit;
In step S231, also comprise the step (S231.1 ~ S231.2) judging that whether the stand-by period is overtime:
Step S231.1: wait for that described electronic equipment is in response to described first order and to described remote control equipment feedback the 3rd confirmation signal;
Step S231.2: if the stand-by period is overtime, then again send described first and order and wait for.
Step S232: when the data receipt unit of described remote control equipment receives the second order of the described remote control equipment of sensing that described electronic equipment sends, the protocol stack of remote control equipment by described exchange double secret key described in the second order be decrypted and perform the corresponding actions in the second order.
Embodiment 3
Present embodiments provide a kind of remote control equipment as shown in Figure 5, corresponding to embodiment 1, the communication between electronic equipment can be realized, comprising:
Key-press matrix 301;
Key-press matrix scanning element 302, for detecting the key commands on key-press matrix 301;
Pairing request unit 303, for exporting the first key commands request according to key-press matrix scanning element 302 and electronic equipment 300 matches;
Key exchange unit 304, for responding effectively when electronic equipment 300 pairs of pairing request, carries out key change with electronic equipment;
Data interaction unit 305, for when key change success, carries out data interaction with electronic equipment 300.
The remote control equipment of the present embodiment specifically can be applied and make RF telepilot, and pairing request unit 303, key exchange unit 304 and data interaction unit 305 are integrated on same MCU; Adopt SoC chip in remote control equipment, and this MCU is a part for SoC chip.Adopt SoC chip realization based on the two-way communication of WIFI Direct agreement, greatly can not only shorten the R&D cycle, compatibility can also be realized with existing remote control equipment well.
Key exchange unit 304 comprises further:
First receiving element 341, for when electronic equipment 300 is in response to described pairing request, receives the first confirmation signal that electronic equipment 300 feeds back;
First judging unit 342, for the signal intensity when the first confirmation signal more than the first threshold value, judges the pairing request response of electronic equipment 300 pairs of remote control equipments effectively.
Service selection request unit 343, sends service selection request for the second key commands exported according to key-press matrix scanning element 302 in setting-up time;
First key change subelement 344, for the service selection request response when electronic equipment 300 pairs of remote control equipments effectively, carries out key change with electronic equipment 300.
Further, the first key change subelement 344 also comprises:
Second receiving element 345, for when electronic equipment 300 is in response to service selection request, receives the second confirmation signal that electronic equipment 300 feeds back;
Second judging unit 346, for the signal intensity when the second confirmation signal more than the second threshold value, judges the service selection request response of electronic equipment 300 pairs of remote control equipments effectively.
Data interaction unit 305, comprises protocol stack 351, data transmission unit 352 and data receipt unit 353 further, and wherein, protocol stack 351 can be based upon on the physics Flash equipment of remote control equipment.
Protocol stack 351, adopts WIFI Direct agreement, carries out data encryption for the 4th key commands key-press matrix scanning element 302 exported by exchanging the key obtained, and makes the 4th key commands change the first order of sensing electronic equipment 300 into; And, be decrypted for the second order that data receipt unit 352 is received by the key exchanged and perform the corresponding actions in the second order; Data handling procedure concrete in protocol stack 351, can the related procedure of reference example 1.
Data transmission unit 352, for sending the first order;
Data receipt unit 353, for receiving the second order; Second order is the particular command of the sensing remote control equipment that electronic equipment 300 sends;
Stand-by period computing unit 354, to order in response to first for calculating electronic equipment 300 and feeds back to stand-by period of remote control equipment the 3rd confirmation signal;
4th judging unit 355, for judging that whether the stand-by period is overtime;
Control module 356, for when the 4th judging unit export be yes, again start transmitting element and stand-by period computing unit, particularly, by the MAC layer of protocol stack 351, the data after protocol layer encryption are packed again, and be sent to data transmission unit 352 after adding check bit, and opening timing device (stand-by period computing unit 354) again.
Because the power consumption of carrying out communicating based on WIFI Direct agreement is comparatively large, SoC chip is set, make data interaction unit 305 when sending or accept data just startup corresponding units carry out work, other time be in dormant state.This function is by arranging key-press matrix 301 for the realization of wake-up key-press matrix: when key-press matrix scanning element 302 detects the trigger pip of key-press matrix 301, remote control equipment recovers to start MCU(SoC chip from dormant state) state, then the trigger pip (key commands) detected by key-press matrix scanning element 302 on key-press matrix 301 is continued, (each unit is connected by interface the state of reading the corresponding interface, as key-press matrix scanning element 302 is connected with MCU by interface, in MCU, establishing is to request unit 303, key exchange unit 304, data interaction unit 305), start corresponding functional module and (comprise pairing request unit 303, key exchange unit 304 and data interaction unit 305), perform corresponding actions, after being finished, judge whether the trigger pip on key-press matrix 301 stops, after a period of time, key-press matrix scanning element 302 does not receive the trigger pip (key commands) of key-press matrix 301, MCU(SoC chip) again enter dormant state.
Embodiment 4
Present embodiments provide a kind of remote control equipment as shown in Figure 6, corresponding to embodiment 2, can realize the communication between electronic equipment, be the functional structure of key exchange unit 304 with embodiment 3 difference, key exchange unit 304 comprises at the present embodiment:
First receiving element 341, for when electronic equipment 300 is in response to described pairing request, receives the first confirmation signal that electronic equipment 300 feeds back;
First judging unit 342, for the signal intensity when the first confirmation signal more than the first threshold value, judges the pairing request response of electronic equipment 300 pairs of remote control equipments effectively.
3rd judging unit 347, for judging that key-press matrix scanning element 302 exports the 3rd key commands and whether mates with digital command; Described digital command is the display command of electronic equipment 300 in response to pairing request gained;
Second key change subelement 348, for being yes when described 3rd judging unit exports, carries out key change with electronic equipment.
In other embodiments, key exchange unit 304 also can comprise service selection request unit 343, first key change subelement 344, the 3rd judging unit 347 and the second key change subelement 348 simultaneously, is selected to make key carry out the matching method exchanged by user.
Other structures of the present embodiment remote control equipment are consistent with embodiment 3.
Embodiment 5
A kind of communication system as shown in Figure 7, comprise intelligent TV set 400(electronic equipment) and the remote control equipment of RF telepilot 500(as shown in embodiment 3 or embodiment 4), wherein, intelligent TV set 400 uses traditional wireless network card to drive 401, RF telepilot 500 to use Soc chip 501.
The wireless network card of intelligent TV set 400 drives 401 to carry out data interaction with the Soc chip 501 of RF telepilot 500 by WIFI Direct agreement, intelligent TV set 400 can not only be set up with RF telepilot 500 and directly be bi-directionally connected on the basis of traditional wireless network card driving 401, can also pass through access point (AP) accesses network (Internet) simultaneously.RF telepilot 500 is connected by Soc chip 501 and intelligent TV set 400, management equipment.
Although the present invention with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; the Method and Technology content of above-mentioned announcement can be utilized to make possible variation and amendment to technical solution of the present invention; therefore; every content not departing from technical solution of the present invention; the any simple modification done above embodiment according to technical spirit of the present invention, equivalent variations and modification, all belong to the protection domain of technical solution of the present invention.

Claims (7)

1. a remote control thereof, can realize the communication between remote control equipment and electronic equipment, it is characterized in that, comprise:
When described remote control equipment detects the first key commands that its key-press matrix sends, request and described electronic equipment match;
It is the first confirmation signal that the described pairing request of response sends that described remote control equipment receives described electronic equipment;
When the signal intensity of described first confirmation signal is more than the first threshold value, the pairing request response of described electronic equipment to described remote control equipment is effective, described electronic equipment display word command;
When described remote control equipment detects that the 3rd key commands that its key-press matrix sends is mated with described digital command, described remote control equipment and described electronic equipment carry out key change; And
When described key change success, described remote control equipment and described electronic equipment carry out data interaction.
2. remote control thereof as claimed in claim 1, it is characterized in that, described remote control equipment and electronic equipment carry out data interaction and comprise:
When described remote control equipment detects the 4th key commands that its key-press matrix sends, described 4th key commands is carried out data encryption by described key by its protocol stack, make described 4th key commands change the first order of the described electronic equipment of sensing into, send described first order by its data transmission unit;
When the data receipt unit of described remote control equipment receives the second order of the described remote control equipment of sensing that described electronic equipment sends, the protocol stack of remote control equipment by described exchange double secret key described in the second order be decrypted and perform the corresponding actions in the second order.
3. remote control thereof as claimed in claim 2, it is characterized in that, described remote control equipment and electronic equipment carry out data interaction and also comprise:
Wait for that described electronic equipment is in response to described first order and to described remote control equipment feedback the 3rd confirmation signal;
If the stand-by period is overtime, then again sends described first and order and wait for.
4. a remote control equipment, can realize the communication between electronic equipment, it is characterized in that, comprise:
Key-press matrix;
Key-press matrix scanning element, for detecting the key commands on described key-press matrix;
Pairing request unit, for exporting the first key commands request according to described key-press matrix scanning element and described electronic equipment matches;
Key exchange unit, for responding effectively when described electronic equipment to pairing request, key change is carried out with electronic equipment, described key exchange unit comprises the first receiving element and the first judging unit, described first receiving element is for receiving the first confirmation signal that described electronic equipment is the feedback that the described pairing request of response sends, described first judging unit is used for when the signal intensity of described first confirmation signal is more than the first threshold value, judges that described electronic equipment to the pairing request response of described remote control equipment effectively;
3rd judging unit, for judging that described key-press matrix scanning element exports the 3rd key commands and whether mates with digital command, described digital command is the display command of described electronic equipment in response to described pairing request gained;
Second key change subelement, for being yes when described 3rd judging unit exports, carries out key change with electronic equipment; And
Data interaction unit, for when described key change success, carries out data interaction with described electronic equipment.
5. remote control equipment as claimed in claim 4, it is characterized in that, described data interaction unit, comprises protocol stack, data transmission unit and data receipt unit;
Described protocol stack, carries out data encryption for the 4th key commands described key-press matrix scanning element exported by described key, makes described 4th key commands change the first order of the described electronic equipment of sensing into; And, to be decrypted by the key of described exchange for the second order that data receipt unit is received and to perform the corresponding actions in the second order;
Described data transmission unit, for sending described first order;
Described data receipt unit, for receiving described second order; Described second order is the particular command of the described remote control equipment of sensing that described electronic equipment sends.
6. remote control equipment as claimed in claim 5, it is characterized in that, described data interaction unit, also comprises:
Stand-by period computing unit, to order in response to described first for calculating described electronic equipment and to feed back to the stand-by period of described remote control equipment the 3rd confirmation signal;
4th judging unit, for judging that whether the described stand-by period is overtime;
Control module, for being yes when described 4th judging unit exports, starts described data transmission unit and stand-by period computing unit again.
7. a communication system, comprise remote control equipment and carry out with it the electronic equipment that communicates, it is characterized in that, described remote control equipment is the remote control equipment described in any one of claim 4 to 6.
CN201210591468.3A 2012-12-31 2012-12-31 Communication system, remote control thereof and remote control equipment Active CN103077596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210591468.3A CN103077596B (en) 2012-12-31 2012-12-31 Communication system, remote control thereof and remote control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210591468.3A CN103077596B (en) 2012-12-31 2012-12-31 Communication system, remote control thereof and remote control equipment

Publications (2)

Publication Number Publication Date
CN103077596A CN103077596A (en) 2013-05-01
CN103077596B true CN103077596B (en) 2015-08-26

Family

ID=48154114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210591468.3A Active CN103077596B (en) 2012-12-31 2012-12-31 Communication system, remote control thereof and remote control equipment

Country Status (1)

Country Link
CN (1) CN103077596B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103908215B (en) * 2014-03-26 2015-08-05 重庆金山科技(集团)有限公司 For controlling the method for transmitting power in capsule endoscope system
CN103873960B (en) * 2014-04-08 2017-11-10 江苏惠通集团有限责任公司 The matching method of wireless device, control device and wireless device and control device
CN103888905A (en) * 2014-04-08 2014-06-25 江苏惠通集团有限责任公司 Wireless device and method for pairing wireless device with control device
CN103957443A (en) * 2014-05-20 2014-07-30 华侨大学 Accurate 2.4G remote controller code matching method
CN104464260B (en) * 2014-12-05 2018-01-05 深圳市创荣发电子有限公司 Based on short-range remote control matching method and remote control pairing circuit
WO2016093768A1 (en) * 2014-12-12 2016-06-16 Razer (Asia-Pacific) Pte. Ltd. Radio communication devices and methods for controlling a radio communication device
CN104506908A (en) * 2014-12-17 2015-04-08 乐视致新电子科技(天津)有限公司 Remote control data processing method, remote control data processing device and remote control data processing system
CN104703009A (en) * 2015-02-11 2015-06-10 四川长虹电器股份有限公司 Smart pairing radio frequency remote control system and smart pairing method thereof
CN108171946B (en) * 2016-12-07 2020-05-22 欧姆龙株式会社 Wireless switch
CN107393275B (en) * 2017-08-17 2020-02-14 广州智航电子科技有限公司 Remote controller control method, remote controller and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359423A (en) * 2007-08-03 2009-02-04 中兴通讯股份有限公司 Remote control method and device for permanent magnet operating mechanism
CN101783932B (en) * 2010-01-04 2011-07-20 深圳市鼎盛威电子有限公司 Remote control monitoring system and monitoring method
CN102542768A (en) * 2012-02-10 2012-07-04 华为终端有限公司 Radio frequency equipment pairing method and system, and radio frequency equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309436B (en) * 2008-07-02 2012-04-18 三一重工股份有限公司 Matching authentication method, apparatus and system for radio communication apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359423A (en) * 2007-08-03 2009-02-04 中兴通讯股份有限公司 Remote control method and device for permanent magnet operating mechanism
CN101783932B (en) * 2010-01-04 2011-07-20 深圳市鼎盛威电子有限公司 Remote control monitoring system and monitoring method
CN102542768A (en) * 2012-02-10 2012-07-04 华为终端有限公司 Radio frequency equipment pairing method and system, and radio frequency equipment

Also Published As

Publication number Publication date
CN103077596A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN103077596B (en) Communication system, remote control thereof and remote control equipment
CN102843278B (en) Intelligent domestic network system and registration control device and household appliance registration method thereof
CN202976430U (en) System for achieving pairing, and control terminal and controlled terminal for achieving pairing
EP1550037B1 (en) Set-up of wireless consumer electronics device using a learning remote control
US8406735B2 (en) Method for pairing electronic equipment in a wireless network system
CN202771602U (en) Near field communication (NFC) remote-control unit, device and system
CN105139196A (en) Infrared payment terminal, infrared adaptive terminal, infrared payment system and payment method
CN101753690A (en) Electrical equipment remote control method and remote control unit thereof
WO2004057553A2 (en) Remote control system and authentication method
CN203325206U (en) Infrared remote-control learning and control device
CN103176445A (en) BLC2200-based intelligent household control system and control method thereof
EP4391445A3 (en) Provisioning method and system with message conversion
CN103209009B (en) Server wireless input device adopting near field communication (NFC) matching and working method thereof
CN204721613U (en) A kind of Wi-Fi Internet of things system and Wi-Fi internet of things equipment
CN104679142A (en) Docking station for intelligent electronic equipment
CN101359423B (en) Remote control method for permanent magnet operating mechanism
WO2012009835A1 (en) Universal serial bus wireless extension system
CN101540854A (en) Digital television terminal, remote control method and remote controller thereof
CN106326164A (en) Multifunctional wireless serial port communication equipment
CN206264989U (en) A kind of automobile PKE systems
WO2007016603A3 (en) Remote control association methodology
CN102339529A (en) Radio frequency remote control device with infrared learning function
US20070298743A1 (en) Data communication device for wireless microphone
TW201319821A (en) Method, system and conversion device applicable to wireless communications for hosts of human interface devices
CN201270085Y (en) Bluetooth remote controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant