CN103326848A - Method and system for achieving full duplex for infrared communication - Google Patents

Method and system for achieving full duplex for infrared communication Download PDF

Info

Publication number
CN103326848A
CN103326848A CN2013102610375A CN201310261037A CN103326848A CN 103326848 A CN103326848 A CN 103326848A CN 2013102610375 A CN2013102610375 A CN 2013102610375A CN 201310261037 A CN201310261037 A CN 201310261037A CN 103326848 A CN103326848 A CN 103326848A
Authority
CN
China
Prior art keywords
time
infrared communication
timeslice
full duplex
reception
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
Application number
CN2013102610375A
Other languages
Chinese (zh)
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.)
Shenzhen Comen Medical Instruments Co Ltd
Original Assignee
Shenzhen Comen Medical Instruments 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 Shenzhen Comen Medical Instruments Co Ltd filed Critical Shenzhen Comen Medical Instruments Co Ltd
Priority to CN2013102610375A priority Critical patent/CN103326848A/en
Publication of CN103326848A publication Critical patent/CN103326848A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)
  • Bidirectional Digital Transmission (AREA)

Abstract

The invention relates to a method and system for achieving full duplex for infrared communication. The method includes the steps of defining a time slice in infrared communication and the ratio of transmitting time to receiving time in the time slice in advance, and transmitting data according to the transmitting time in the time slice and receiving data according to the receiving time in the time slice alternatively. According to the method and system for achieving full duplex for infrared communication, by defining of the time slice, the time slice is divided into the transmitting time and the receiving time, data are transmitted according to the transmitting time and data are received according to the receiving time alternatively, full duplex operation of the infrared communication is simulated, what is needed is to regulate the transmitting time and the receiving time and the full duplex operation can be achieved, special infrared communication chips are needless, and cost is reduced.

Description

Infrared communication is realized the method and system of full duplex
Technical field
The present invention relates to the communication technology, particularly relate to the method and system that a kind of infrared communication is realized full duplex.
Background technology
Infrared communication can not have any impact to environment for use owing to adopting sightless infrared waves as transmission medium, so well use prospect the Medical Devices industry person of having, is widely used on the Medical Devices such as plug-in unit patient monitor.
Because easily reflection and refraction caused infrared communication with half-duplex mode work, to have brought difficulty to practical application when light wave conducted in the space.Developed specially the IRDA(Infrared Data Association of suitable infrared transmission, the infrared data tissue for this reason) agreement, and the integrated special-purpose infrared communication chip of IRDA agreement, the simulation full duplex mode work that infrared transmission is tried one's best.Yet, adopt special-purpose infrared communication chip to increase cost.
Summary of the invention
Based on this, be necessary to cause the high problem of cost for the special-purpose infrared communication chip of available technology adopting, provide a kind of infrared communication that can reduce cost to realize the method for full duplex.
In addition, also be necessary to provide a kind of infrared communication that can reduce cost to realize the system of full duplex.
A kind of infrared communication is realized the method for full duplex, comprising:
The ratio of transmitting time and time of reception in timeslice in the pre-defined infrared communication and the described timeslice;
Alternately according to the transmission data of the transmitting time in the described timeslice and according to the time of reception receive data in the described timeslice.
Among embodiment, the timeslice in the described predefined infrared communication is 100 milliseconds therein.
Among embodiment, the ratio of transmitting time and time of reception is 1:1 in the described timeslice therein, and described transmitting time and time of reception respectively account for 50 milliseconds.
Among embodiment, described method also comprises therein:
In described time of reception, surpass Preset Time and do not receive data, then send data.
Among embodiment, described timeslice is 100 milliseconds therein, and described Preset Time is 5 milliseconds.
A kind of infrared communication is realized the system of full duplex, comprising:
The predefine module is used for the ratio of transmitting time and time of reception in the timeslice of pre-defined infrared communication and the described timeslice;
Communication module is used for alternately according to the transmitting time transmission data of described timeslice and according to the time of reception receive data in the described timeslice.
Among embodiment, the timeslice in the described predefined infrared communication is 100 milliseconds therein.
Among embodiment, the ratio of transmitting time and time of reception is 1:1 in the described timeslice therein, and described transmitting time and time of reception respectively account for 50 milliseconds.
Among embodiment, described system also comprises therein:
Judge module is used for judging whether surpassing in the described time of reception Preset Time and does not receive data;
Described communication module sends data for surpassing when Preset Time does not receive data in described time of reception.
Among embodiment, described timeslice is 100 milliseconds therein, and described Preset Time is 5 milliseconds.
Above-mentioned infrared communication is realized the method and system of full duplex, by the definition time sheet, and timeslice is divided into transmitting time and time of reception, and alternately send data and time of reception receive data according to transmitting time, simulation realizes the full duplex mode work of infrared communication, only by the regulation and control transmitting-receiving time, namely reaches full duplex mode work, do not need special-purpose infrared communication chip, reduced cost.
Description of drawings
Fig. 1 is the flow chart that infrared communication is realized the method for full duplex among the embodiment;
Fig. 2 is the structured flowchart that infrared communication is realized the system of full duplex among the embodiment;
Fig. 3 is the structured flowchart that infrared communication is realized the system of full duplex among the embodiment.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, be the flow chart that infrared communication is realized the method for full duplex among the embodiment.This infrared communication is realized the method for full duplex, comprising:
Step S102, the ratio of transmitting time and time of reception in the timeslice in the pre-defined infrared communication and the described timeslice.
Concrete, the timeslice in the predefined infrared communication can be set as required, such as 90 milliseconds, 100 milliseconds or 120 milliseconds etc.In the present embodiment, the timeslice in the predefined infrared communication is 100 milliseconds.Timeslice is elected 100 milliseconds as, realizes that the full-duplex communication effect is better.
The ratio of transmitting time and time of reception can be set as required in this timeslice, such as 1:1, and 2:1,3:1 etc.In the present embodiment, the ratio of transmitting time and time of reception is 1:1 in this timeslice, and this transmitting time and time of reception respectively account for 50 milliseconds.
Step S104 is alternately according to the transmission data of the transmitting time in this timeslice and according to the time of reception receive data in this timeslice.
Concrete, alternately send data and receive data, realize the full duplex mode of infrared communication.
Above-mentioned infrared communication is realized the method for full duplex, by the definition time sheet, and timeslice is divided into transmitting time and time of reception, and alternately send data and time of reception receive data according to transmitting time, simulation realizes the full duplex mode work of infrared communication, only by the regulation and control transmitting-receiving time, namely reaches full duplex mode work, do not need special-purpose infrared communication chip, reduced cost.
In one embodiment, above-mentioned infrared communication is realized the method for full duplex, also comprises: surpass Preset Time and do not receive data in this time of reception, then send data.This timeslice is 100 milliseconds, and time of reception and transmitting time respectively account for 50 millimeters, and this Preset Time is 5 milliseconds.
By judging whether to receive data at Preset Time, can judge whether there is data transmission errors, when having data transmission errors, the data of discardable this time transmission send again again.
In one embodiment, above-mentioned infrared communication is realized the method for full duplex, also comprise: data are set send buffering area, data in data send buffering area are no more than 90 milliseconds data, intercept whether not receiving data above Preset Time, if then begin to send data, if not, then continue to intercept whether do not receive data above Preset Time.By being set, data send the continuity that buffering area can guarantee data.
In addition, also the data receiver buffering area can be set, the data buffer storage that receives at buffering area, is kept the continuity of receive data.
As shown in Figure 2, infrared communication is realized the structured flowchart of the system of full duplex in one embodiment.This infrared communication is realized the system of full duplex, comprises predefine module 220 and communication module 240.Wherein:
Predefine module 220 is used for the ratio of transmitting time and time of reception in the timeslice of pre-defined infrared communication and this timeslice.
Concrete, the timeslice in the predefined infrared communication can be set as required, such as 90 milliseconds, 100 milliseconds or 120 milliseconds etc.In the present embodiment, the timeslice in the predefined infrared communication is 100 milliseconds.Timeslice is elected 100 milliseconds as, realizes that the full-duplex communication effect is better.
The ratio of transmitting time and time of reception can be set as required in this timeslice, such as 1:1, and 2:1,3:1 etc.In the present embodiment, the ratio of transmitting time and time of reception is 1:1 in this timeslice, and this transmitting time and time of reception respectively account for 50 milliseconds.
Communication module 240 is used for alternately according to the transmitting time transmission data of this timeslice and according to the time of reception receive data in this timeslice.
Concrete, alternately send data and receive data, realize the full duplex mode of infrared communication.
Above-mentioned infrared communication is realized the system of full duplex, by the definition time sheet, and timeslice is divided into transmitting time and time of reception, and alternately send data and time of reception receive data according to transmitting time, simulation realizes the full duplex mode work of infrared communication, only by the regulation and control transmitting-receiving time, namely reaches full duplex mode work, do not need special-purpose infrared communication chip, reduced cost.
In another embodiment, as shown in Figure 3, above-mentioned infrared communication is realized the system of full duplex, except comprising predefine module 220 and communication module 240, also comprises judge module 260.Wherein:
Judge module 260 is used for judging whether surpassing in this time of reception Preset Time and does not receive data.
Communication module 240 sends data for surpassing when Preset Time does not receive data in this time of reception.
This timeslice is 100 milliseconds, and time of reception and transmitting time respectively account for 50 millimeters, and this Preset Time is 5 milliseconds.
By judging whether to receive data at Preset Time, can judge whether there is data transmission errors, when having data transmission errors, the data of discardable this time transmission send again again.
In one embodiment, above-mentioned infrared communication is realized the system of full duplex, also comprises module is set.
Wherein, module is set is used for arranging data transmission buffering area, the data in data send buffering area are no more than 90 milliseconds data.Judge module 260 also is used for intercepting whether do not receive data above Preset Time, if then communication module 240 begins to send data, if not, then judge module 260 continues to intercept whether do not receive data above Preset Time.By being set, data send the continuity that buffering area can guarantee data.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. an infrared communication is realized the method for full duplex, comprising:
The ratio of transmitting time and time of reception in timeslice in the pre-defined infrared communication and the described timeslice;
Alternately according to the transmission data of the transmitting time in the described timeslice and according to the time of reception receive data in the described timeslice.
2. infrared communication according to claim 1 is realized the method for full duplex, it is characterized in that, the timeslice in the described predefined infrared communication is 100 milliseconds.
3. infrared communication according to claim 2 is realized the method for full duplex, it is characterized in that, the ratio of transmitting time and time of reception is 1:1 in the described timeslice, and described transmitting time and time of reception respectively account for 50 milliseconds.
4. infrared communication according to claim 1 is realized the method for full duplex, it is characterized in that, described method also comprises:
In described time of reception, surpass Preset Time and do not receive data, then send data.
5. infrared communication according to claim 4 is realized the method for full duplex, it is characterized in that, described timeslice is 100 milliseconds, and described Preset Time is 5 milliseconds.
6. the system of an infrared communication realization full duplex is characterized in that, comprising:
The predefine module is used for the ratio of transmitting time and time of reception in the timeslice of pre-defined infrared communication and the described timeslice;
Communication module is used for alternately according to the transmitting time transmission data of described timeslice and according to the time of reception receive data in the described timeslice.
7. infrared communication according to claim 6 is realized the system of full duplex, it is characterized in that, the timeslice in the described predefined infrared communication is 100 milliseconds.
8. infrared communication according to claim 7 is realized the system of full duplex, it is characterized in that, the ratio of transmitting time and time of reception is 1:1 in the described timeslice, and described transmitting time and time of reception respectively account for 50 milliseconds.
9. infrared communication according to claim 6 is realized the system of full duplex, it is characterized in that, described system also comprises:
Judge module is used for judging whether surpassing in the described time of reception Preset Time and does not receive data;
Described communication module sends data for surpassing when Preset Time does not receive data in described time of reception.
10. infrared communication according to claim 4 is realized the system of full duplex, it is characterized in that, described timeslice is 100 milliseconds, and described Preset Time is 5 milliseconds.
CN2013102610375A 2013-06-26 2013-06-26 Method and system for achieving full duplex for infrared communication Pending CN103326848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102610375A CN103326848A (en) 2013-06-26 2013-06-26 Method and system for achieving full duplex for infrared communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102610375A CN103326848A (en) 2013-06-26 2013-06-26 Method and system for achieving full duplex for infrared communication

Publications (1)

Publication Number Publication Date
CN103326848A true CN103326848A (en) 2013-09-25

Family

ID=49195394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102610375A Pending CN103326848A (en) 2013-06-26 2013-06-26 Method and system for achieving full duplex for infrared communication

Country Status (1)

Country Link
CN (1) CN103326848A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5469285A (en) * 1993-01-26 1995-11-21 Royale Consultants Ltd. Method and equipment for bidirectional data transmission (full-duplex)
CN1245605A (en) * 1996-12-09 2000-02-23 艾利森公司 Full duplex asynchronous communication in single communication system
CN1667966A (en) * 2004-03-09 2005-09-14 精工爱普生株式会社 Data transfer control device, electronic instrument, and data transfer control method
CN101150389A (en) * 2006-09-20 2008-03-26 华为技术有限公司 Time division duplex radio communication system and its signal transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5469285A (en) * 1993-01-26 1995-11-21 Royale Consultants Ltd. Method and equipment for bidirectional data transmission (full-duplex)
CN1245605A (en) * 1996-12-09 2000-02-23 艾利森公司 Full duplex asynchronous communication in single communication system
CN1667966A (en) * 2004-03-09 2005-09-14 精工爱普生株式会社 Data transfer control device, electronic instrument, and data transfer control method
CN101150389A (en) * 2006-09-20 2008-03-26 华为技术有限公司 Time division duplex radio communication system and its signal transmission method

Similar Documents

Publication Publication Date Title
GB2460202A (en) A method for receiving ack/nack signal in mobile communicating system
KR102194839B1 (en) Method of Controlling for Transmission Power and Device therefor
US9118420B2 (en) Method and apparatus for optical communication using a retro-reflector
TW200735583A (en) I/O systems, methods and devices for interfacing a pump controller
BRPI0418655A (en) method for duplex communications, communications device, system comprising one or more transceivers, computer programs, and a carrier medium
BR112012011671A2 (en) method for carrier aggregation and method for implementing dynamic spectrum allocation.
GB201101983D0 (en) Telecommunication method and systen
BR112015025079A2 (en) receiver module, transceiver module, communication device, and method for activating a receiver
RU2020104351A (en) COMMUNICATION EQUIPMENT AND COMMUNICATION METHOD
SG126081A1 (en) Universal safety i/o module
MX2012014580A (en) Multi-protocol electronic toll collection system.
WO2011156114A3 (en) Transmitting data in a wireless white space network
WO2011137375A3 (en) Ultrasonic communication systems for communication through rf-impervious enclosures and abutted structures
WO2010016725A3 (en) Method and apparatus for transmitting and receiving an uplink acknowledgement channel for a downlink data channel in a mobile communication system using orthogonal frequency division multiple access
WO2011089423A3 (en) An apparatus and a method for secure authentication
US20220141775A1 (en) Information transmission method and terminal
UA108325C2 (en) METHOD AND DEVICES FOR IMPROVING MANAGEMENT OF NFC LOGICAL CONNECTIONS
WO2009098558A3 (en) Apparatuses and method for controlling co-existence of communications units of a multimode communications device
TW200705171A (en) Method of preventing error propagation in a PCI/PCI-X/PCI express link
GB201112734D0 (en) Data flow control
WO2010129378A3 (en) Validated signal resumption in dsl systems
CN102542986A (en) Light-emitting diode (LED) display system and data transmission method thereof
EP4191304A4 (en) Optical module, communication device, and poe device
EP4293927A3 (en) Coordinated transmission performed to simultaneously transmit frames comprising the same data
EP2229741A4 (en) Unified optical connector architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130925

RJ01 Rejection of invention patent application after publication