CN1804925A - Data transmission method - Google Patents
Data transmission method Download PDFInfo
- Publication number
- CN1804925A CN1804925A CN 200610023569 CN200610023569A CN1804925A CN 1804925 A CN1804925 A CN 1804925A CN 200610023569 CN200610023569 CN 200610023569 CN 200610023569 A CN200610023569 A CN 200610023569A CN 1804925 A CN1804925 A CN 1804925A
- Authority
- CN
- China
- Prior art keywords
- data
- telepilot
- clone
- televisor
- send
- 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.)
- Pending
Links
Images
Landscapes
- Optical Communication System (AREA)
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a data transmitting method which adopts the infrared encoding-decoding, the data package, the CRC circulating redundancy checking and the data transmitting alternate acknowledge technology to do data transmission between the TV and the clone remote controller, so as to complicate the sets of the TV to other TVs by the clone remote controller.
Description
Technical field
The present invention relates to a kind of data transmission method, relate in particular to the data transmission method in the infrared remote control system in the field of wireless transmission.
Background technology
Existing radio data transmission method is a lot: bluetooth, GPRS (General Packet RadioService, GPRS), 802.11 and infrared ray or the like.Wherein to have a cost low for infrared transmission, realizes characteristics easily, has been applied in every field widely: notebook, mobile phone, telepilot, sensor, temperature measurer or the like.Precision and rate request to infrared transmission in the middle of different fields also have nothing in common with each other, so the method that realizes also has nothing in common with each other.
Summary of the invention
A kind of data transmission method provided by the invention, adopt encapsulation, CRC (Cyclic Redundancy Code) verification and the data transmission alternate acknowledge technology of infra-red code decoding, packet between televisor and clone's telepilot, to carry out data transmission, can copy to all settings of a televisor easily on other televisors by clone's telepilot like this.
In order to achieve the above object, the invention provides a kind of data transmission method, it comprises following steps:
Step 1, employing data transmission alternate acknowledge technology, clone's telepilot transmits data to televisor:
Step 1.1, clone's telepilot send one to televisor and send request (Send Request);
Step 1.2, clone's telepilot begin to send data to televisor after receiving the answer signal (ACK) that televisor sends;
Step 1.3, televisor judge whether the packet that receives is correct, if correct, then preserve data, and send the data answering bag, otherwise send rub-out signal (EER);
Step 1.4, if receive the data answering bag that televisor sends, then clone telepilot and continue to send data; If receive the EER signal that televisor sends, then clone telepilot and resend data;
Step 1.5, clone's telepilot judge whether to have sent to last packet, if not, return step 1.1, if carry out step 1.6;
Step 1.6, clone's telepilot send an end signal (BYE) instruction bag;
Step 1.7, televisor withdraw from communication after receiving BYE instruction bag;
Signal (ReceiveRequest) back that step 2.1, televisor receive the request reception of clone's telepilot transmission sends a request to send signal (Send Request) to clone's telepilot;
Beginning sent data to clone's telepilot after step 2.2, televisor were received the ack signal of cloning the telepilot transmission;
Step 2.3, clone's telepilot judge whether the packet that receives is correct, if correct, then preserve data, and send the data answering bag, otherwise send rub-out signal (EER);
Step 2.4, if receive the data answering bag that clone's telepilot sends, then televisor continues to send data; If receive the EER signal that clone's telepilot sends, then televisor resends data;
Whether what step 2.5, the judgement of clone's telepilot received is last packet, if not, return step 2.1, if carry out step 2.6;
Step 2.6, clone's telepilot send a BYE instruction bag;
Step 2.7, televisor withdraw from communication after receiving BYE instruction bag;
In described step 1 and step 2, to the The data infra-red code decoding of transmission; The form that transmits the packet of data is: the numeric data code of preamble code+16Byte of 24bit;
The form of described preamble code is: the CRC check sign indicating number of Bale No.+2Byte of zone bit+7bit of 1bit; The data message of described zone bit is 1; The data message of described Bale No. is 0~128;
Described infra-red code adopts the serial code of width modulation: it is that 0.5ms, interval 0.5ms, cycle are the combination of 1ms that " 0 " of binary digit is expressed as pulsewidth; It is that 0.5ms, interval 1.5ms, cycle are the combination of 2ms that " 1 " of binary digit is expressed as pulsewidth; Preamble code is expressed as 2ms pulsewidth high level, 1ms pulsewidth low level; The binary code that above-mentioned " 0 " and " 1 " is formed carries out secondary modulation to improve emission efficiency through the carrier frequency of 38kHz;
Described decoding infrared ray is by judging that two time intervals between negative edge data message of definite transmission is " 0 ", " 1 " or preamble code;
The form of described data answering bag ACK is: the Bale No. of zone bit+7bit of 1bit; The data message of described zone bit is 1; The data message of described Bale No. is 0~128;
The form of described BYE instruction bag is: binary complete 1 data value of hexadecimal full F data value+8Byte of packet effective length+2Byte of zone bit+7bit of 1bit; The data message of described zone bit is 1;
In described step 1 and the step 2, televisor and clone's telepilot produce infrared ray by infrared-emitting diode and send data;
In described step 1 and the step 2, televisor and clone's telepilot with the data storage that receives in EEPROM (electricallyerasable ROM (EEROM));
A kind of data transmission method provided by the invention, adopt encapsulation, CRC check and the data transmission alternate acknowledge technology of infra-red code decoding, packet between televisor and clone's telepilot, to carry out data transmission, can copy to all settings of a televisor easily on other televisors by clone's telepilot like this, the notebook data transmission method implements simple and convenient, cost is also very low, portability is also fine, can be applied in a lot of field of data transmission very easily.
Description of drawings
Fig. 1 is the synoptic diagram of the step 1 of a kind of data transmission method provided by the invention;
Fig. 2 is the synoptic diagram of the step 2 of a kind of data transmission method provided by the invention.
Embodiment
Followingly specify a kind of preferred forms of the present invention according to Fig. 1, Fig. 2:
As shown in Figure 1 and Figure 2, the invention provides a kind of data transmission method, it comprises following steps:
Step 1, clone's telepilot 2 transmit data to televisor 1:
Step 1.1, clone's telepilot 2 send one to televisor 1 and send request (Send Request);
Step 1.2, clone's telepilot 2 begin to send data to televisor 1 after receiving the answer signal (ACK) that televisor 1 sends;
Step 1.3, televisor 1 judge whether the packet that receives is correct, if correct, then preserve data, and send the data answering bag, otherwise send rub-out signal;
Step 1.4, if receive the data answering bag that televisor 1 sends, then clone telepilot 2 and continue to send data; If receive the EER signal that televisor 1 sends, then clone telepilot 2 and resend data;
Step 1.5, clone's telepilot 2 judge whether to have sent to last packet, if not, return step 1.1, if carry out step 1.6;
Step 1.6, clone's telepilot 2 send a BYE instruction bag;
Step 1.7, televisor 1 withdraw from communication after receiving BYE instruction bag;
Signal (ReceiveRequest) back that step 2.1, televisor 1 receive the request reception of clone's telepilot 2 transmissions sends a request to send signal (Send Request) to clone's telepilot 2;
Beginning sent data to clone's telepilot 2 after step 2.2, televisor 1 were received the ack signal of cloning telepilot 2 transmissions;
Step 2.3, clone's telepilot 2 judge whether the packet that receives is correct, if correct, then preserve data, and send the data answering bag, otherwise send the EER signal;
Step 2.4, if receive the data answering bag that clone's telepilot 2 sends, then televisor 1 continues to send data; If receive the EER signal that clone's telepilot 2 sends, then televisor 1 resends data;
Whether what step 2.5,2 judgements of clone's telepilot received is last packet, if not, return step 2.1, if carry out step 2.6;
Step 2.6, clone's telepilot 2 send a BYE instruction bag;
Step 2.7, televisor 1 withdraw from communication after receiving BYE instruction bag;
In described step 1 and step 2, to the The data infra-red code decoding of transmission, the form that transmits the packet of data is: the numeric data code of preamble code+16Byte of 24bit;
The form of described preamble code is: the CRC check sign indicating number of Bale No.+2Byte of zone bit+7bit of 1bit; The data message of described zone bit is 1; The data message of described Bale No. is 0~128;
Described infra-red code adopts the serial code of width modulation: it is that 0.5ms, interval 0.5ms, cycle are the combination of 1ms that " 0 " of binary digit is expressed as pulsewidth; It is that 0.5ms, interval 1.5ms, cycle are the combination of 2ms that " 1 " of binary digit is expressed as pulsewidth; Preamble code is expressed as 2ms pulsewidth high level, 1ms pulsewidth low level; The binary code that above-mentioned " 0 " and " 1 " is formed carries out secondary modulation to improve emission efficiency through the carrier frequency of 38kHz;
Described decoding infrared ray is by judging that two time intervals between negative edge data message of definite transmission is " 0 ", " 1 " or preamble code;
The form of described data answering bag ACK is: the Bale No. of zone bit+7bit of 1bit; The data message of described zone bit is 1; The data message of described Bale No. is 0~128;
The form of described BYE instruction bag is: binary complete 1 data value of hexadecimal full F data value+8Byte of packet effective length+2Byte of zone bit+7bit of 1bit; The data message of described zone bit is 1;
In described step 1 and the step 2, televisor 1 and clone's telepilot 2 produce infrared ray by infrared-emitting diode and send data;
In described step 1 and the step 2, televisor 1 and clone's telepilot 2 with the data storage that receives in EEPROM (electricallyerasable ROM (EEROM)).
A kind of data transmission method provided by the invention, adopt encapsulation, CRC check and the data transmission alternate acknowledge technology of infra-red code decoding, packet between televisor and clone's telepilot, to carry out data transmission, can copy to all settings of a televisor easily on other televisors by clone's telepilot like this, the notebook data transmission method implements simple and convenient, cost is also very low, portability is also fine, can be applied in a lot of field of data transmission very easily.
Claims (7)
1. a data transmission method is characterized in that, comprises following steps:
Step 1, clone's telepilot (2) transmit data to televisor (1);
Step 1.1, clone's telepilot (2) send one to televisor (1) and send request;
Beginning sent data to televisor (1) after step 1.2, clone's telepilot (2) received the answer signal that televisor (1) sends;
Step 1.3, televisor (1) judge whether the packet that receives is correct, if correct, then preserve data, and send the data answering bag, otherwise send rub-out signal;
Step 1.4, if receive the data answering bag that televisor (1) sends, then clone telepilot (2) and continue to send data; If receive the rub-out signal that televisor (1) sends, then clone telepilot (2) and resend data;
Step 1.5, clone's telepilot (2) judge whether to have sent to last packet, if not, return step 1.1, if carry out step 1.6;
Step 1.6, clone's telepilot (2) send an end signal instruction bag;
Step 1.7, televisor (1) withdraw from communication after receiving end signal instruction bag;
Step 2, televisor (1) are to clone's telepilot (2) transmission data;
Step 2.1, televisor (1) send a request to send signal to clone's telepilot (2) after receiving the signal that request that clone's telepilot (2) sends receives;
Beginning sent data to clone's telepilot (2) after step 2.2, televisor (1) were received the answer signal of cloning telepilot (2) transmission;
Step 2.3, clone's telepilot (2) judge whether the packet that receives is correct, if correct, then preserve data, and send the data answering bag, otherwise send rub-out signal;
Step 2.4, if receive the data answering bag that clone's telepilot (2) sends, then televisor (1) continues to send data; If receive the rub-out signal that clone's telepilot (2) sends, then televisor (1) resends data;
Whether what step 2.5, clone's telepilot (2) judgement received is last packet, if not, return step 2.1, if carry out step 2.6;
Step 2.6, clone's telepilot (2) send an end signal instruction bag;
Step 2.7, televisor (1) withdraw from communication after receiving end signal instruction bag.
2. a kind of data transmission method as claimed in claim 1 is characterized in that, the form that transmits the packet of data is: the numeric data code of preamble code+16Byte of 24bit; The form of described preamble code is: the CRC check sign indicating number of Bale No.+2Byte of zone bit+7bit of 1bit; The data message of described zone bit is 1; The data message of described Bale No. is 0~128.
3. a kind of data transmission method as claimed in claim 1 is characterized in that, the form of described data answering bag is: the Bale No. of zone bit+7bit of 1bit; The data message of described zone bit is 1; The data message of described Bale No. is 0~128.
4. a kind of data transmission method as claimed in claim 1, it is characterized in that the form of described end signal instruction bag is: binary complete 1 data value of hexadecimal full F data value+8Byte of packet effective length+2Byte of zone bit+7bit of 1bit; The data message of described zone bit is 1.
5. a kind of data transmission method as claimed in claim 1 is characterized in that, described transmits data packets adopts the infra-red code decoding:
Described infra-red code adopts the serial code of width modulation: it is that 0.5ms, interval 0.5ms, cycle are the combination of 1ms that " 0 " of binary digit is expressed as pulsewidth;
It is that 0.5ms, interval 1.5ms, cycle are the combination of 2ms that " 1 " of binary digit is expressed as pulsewidth;
Preamble code is expressed as 2ms pulsewidth high level, 1ms pulsewidth low level;
Described decoding infrared ray is by judging that two time intervals between negative edge data message of definite transmission is " 0 ", " 1 " or preamble code.
6. a kind of data transmission method as claimed in claim 1 is characterized in that, described televisor (1) and clone's telepilot (2) produce infrared ray by infrared-emitting diode and send data.
7. a kind of data transmission method as claimed in claim 1 is characterized in that, described televisor (1) and clone's telepilot (2) with the data storage that receives in electricallyerasable ROM (EEROM).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610023569 CN1804925A (en) | 2006-01-24 | 2006-01-24 | Data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610023569 CN1804925A (en) | 2006-01-24 | 2006-01-24 | Data transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1804925A true CN1804925A (en) | 2006-07-19 |
Family
ID=36866927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610023569 Pending CN1804925A (en) | 2006-01-24 | 2006-01-24 | Data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1804925A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465050B (en) * | 2007-12-19 | 2013-05-08 | 深圳Tcl新技术有限公司 | Method for controlling controlled electric appliance through remote controller and remote controller |
CN104168070A (en) * | 2014-08-13 | 2014-11-26 | 深圳市泛海三江科技发展有限公司 | Data transmission method based on pulse width modulation and voice alarming fire disaster detector |
WO2016192159A1 (en) * | 2015-06-04 | 2016-12-08 | 深圳市吉芯微半导体有限公司 | Data transmission method and device |
CN106530671A (en) * | 2016-12-30 | 2017-03-22 | 深圳Tcl数字技术有限公司 | Infrared remote control, infrared receiving device and infrared coding check method and system |
CN109523773A (en) * | 2018-11-26 | 2019-03-26 | Oppo广东移动通信有限公司 | A kind of processing method of control instruction, mobile terminal and computer storage medium |
-
2006
- 2006-01-24 CN CN 200610023569 patent/CN1804925A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465050B (en) * | 2007-12-19 | 2013-05-08 | 深圳Tcl新技术有限公司 | Method for controlling controlled electric appliance through remote controller and remote controller |
CN104168070A (en) * | 2014-08-13 | 2014-11-26 | 深圳市泛海三江科技发展有限公司 | Data transmission method based on pulse width modulation and voice alarming fire disaster detector |
CN104168070B (en) * | 2014-08-13 | 2016-09-21 | 深圳市泛海三江科技发展有限公司 | A kind of data transmission method based on pulsewidth modulation and audio alert fire detector |
WO2016192159A1 (en) * | 2015-06-04 | 2016-12-08 | 深圳市吉芯微半导体有限公司 | Data transmission method and device |
CN106530671A (en) * | 2016-12-30 | 2017-03-22 | 深圳Tcl数字技术有限公司 | Infrared remote control, infrared receiving device and infrared coding check method and system |
CN109523773A (en) * | 2018-11-26 | 2019-03-26 | Oppo广东移动通信有限公司 | A kind of processing method of control instruction, mobile terminal and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11743022B2 (en) | Method and apparatus for resource allocation for half duplex frequency division duplexing in a wireless communication system | |
CN1137559C (en) | Error control method and apparatus | |
CN1154287C (en) | Sequence numbering range extending method and system for selecting repeat transmission protocols | |
US9137814B2 (en) | Cross-layer scheduling based on lower layer feedback | |
EP2166689A4 (en) | Multicarrier mobile communication system | |
WO2010124238A3 (en) | Method and apparatus for sending hybrid automatic repeat request feedback for component carrier aggregation | |
WO2009015170A1 (en) | Hybrid automatic repeat request (harq) systems and methods for packet-based networks | |
CN1976268A (en) | Adaptive modulation and coding method | |
CN101044710A (en) | A method of formatting and encoding uplink short length data in a wireless communication system | |
CN1394029A (en) | Transmitter, receiver, transceiver and communication system for repeating management | |
EP1845649A3 (en) | Method and apparatus for transmitting and receiving status report in a mobile communication system | |
CN102833051B (en) | Fountain coding broadcast method based on feedback | |
CN1317885A (en) | Multipoint transmitting signal transmitting power control method and base station adopting same | |
CN1804925A (en) | Data transmission method | |
CN101047469A (en) | Channel quality feedback method | |
CN1459164A (en) | Packet transmission system and packet transmission method | |
WO2011021786A3 (en) | The apparatus and method for retransmitting data based on harq scheme in wireless communication system | |
CN1925383A (en) | Data packet retransmitting method and transmitting device and retransmitting system | |
CN1949697A (en) | Data transmission method for ensuring receiver and transmitter data identification | |
CN101699780B (en) | Data transmission method, user equipment, base station and data transmission system | |
CN103095425A (en) | Method and device transmitting acknowledgement frame in wireless local area network | |
CN1770741A (en) | Broadcast information transmission | |
CN1207853C (en) | Base station device, radio communication syste, and packet communication method | |
CN101036348A (en) | System and method for improved power efficiency in a shared resource network | |
CN1249582C (en) | Data transmission method and radio system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |