IP Library Granted Patent US 8,050,294
Granted Patent B2
US 8,050,294 · App. 12/515,799 · Granted Nov 1, 2011

Method and system for transmitting in TDM mode

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,050,294
App. No.
12/515,799
Granted
Nov 1, 2011
Kind
B2
Abstract

A method for transmitting data in TDM mode is provided to solve the problem in the prior art that the data processing between a transmitter side and a receiver side could not be real time and the delay time during data transmitting would be longer. The method comprises: packaging TIME DIVISION MULTIPLEXING (TDM) frame head information and data to be sent into a TDM frame at a transmitter side, and transmitting the TDM frame to a receiver side; receiving the TDM frame at the receiver side. With the solution according to the present invention, it is possible to perform real time data processing between the transmitter side and the receiver side and shorten the delay time during data transmitting.

Claims (50)

1. A method for transmitting data in a Time Division Multiplexing, TDM, mode, the method comprising:

providing at a transmitter side at least two transmitting Buffer Descriptors, BDs, which are of a ring structure and each of which comprises current state information, the method comprising:

A: selecting initially a transmitting BD at random as a current transmitting BD, packing, at the transmitter side, TDM frame header information and data to be transmitted into a TDM frame, sequentially searching, at the transmitter side, the transmitting BDs, storing a transmitting address in information of the data to be transmitted into the current transmitting BD, setting a current state in the transmitting BD as a preparation completed state, setting the next transmitting BD as the current transmitting BD, and transmitting the TDM frame to a receiver side according to the transmitting address in the transmitting BD; and

B: receiving, at the receiver side, the TDM frame.

2. The method according to claim 1 , wherein, the receiver side comprises at least two receiving BDs, which are of a ring structure and each of which comprises the current state information, and initially a receiving BD is selected at random as a current receiving BD, and process A further comprises:

adding, at the transmitter side, a tag word to the front of the TDM frame to be transmitted to the receiver side, wherein the TDM frame header information comprises a port number of the receiver side;

and process B comprises:

B1: after receiving a TDM frame with a preset length, searching, at the receiver side, the tag word within a window length, and if the tag word is found, continuing to receive the remaining TDM frame, unpacking the TDM frame, storing the frame header information of the TDM frame into the current receiving BD, setting the current state in the receiving BD as a preparation completed state, and setting the next receiving BD as the current receiving BD; if the tag word is not found, stopping the receiving of the TDM frame and transmitting an alarm information to the transmitter side;

B2: transmitting, at the receiver side, the data to a corresponding receiving port according to the port number in the receiving BD, deleting the information in the receiving BD, and modifying the current state in the receiving BD as an idle state.

3. The method according to claim 2 , wherein the method further comprises, after process B:

C: transmitting, at the receiver side, a receiving completed message to the transmitter side; and

D: checking, at the transmitter side, whether the current state information of the current transmitting BD is the preparation completed state, and if the current state information of the current transmitting BD is the preparation completed state, performing process A; otherwise, returning to process D.

4. The method according to claim 3 , wherein, the method further comprises, after process C:

C1: checking, at the receiver side, whether the current state of the current receiving BD is the preparation completed state, and if the current state of the current receiving BD is the preparation completed state, performing process B; otherwise, returning to process C1.

5. The method according to claim 4 , wherein, in process B1, after receiving the TDM frame with the preset length, the receiver side stops receiving the TDM frame and transmits an alarm message to the transmitter side if no tag word is found within the window length.

6. A Time Division Multiplexing, TDM, transmitting apparatus, comprising:

a transmitting interface module, for packing TDM frame header information and data to be transmitted into a TDM frame and storing the TDM frame into a transmitting storage module, wherein the TDM frame header information comprises a port number of a receiver side, and transmitting to a transmitting Buffer Descriptor, BD, ring module a transmitting address in information of the data to be transmitted;

a transmitting control module, for transmitting the TDM frame in the transmitting storage module to a receiving module according to information in a current transmitting BD stored in the transmitting BD ring module;

the transmitting BD ring module, which is a ring structure consisted of at least two transmitting BDs, for storing the transmitting address into the current transmitting BD, setting a current state in the transmitting BD as a preparation completed state, initially selecting a transmitting BD at random as the current transmitting BD, and when the current state of the current transmitting BD is the preparation completed state, setting the next transmitting BD as the current transmitting BD; and

the transmitting storage module, for storing the TDM frame.

7. The apparatus according to claim 6 , wherein, the TDM transmitting apparatus further comprises:

a transmitting interruption module, for closing a corresponding transmitting port and transmitting an interruption signal to the transmitting control module, after the transmitting control module completes the transmission of the TDM frame; and

a transmitting response module, for, after receiving a receiving completed message, checking the port number via which the message is received, and transmitting a receiving response message containing the port number to the transmitting control module.

8. The apparatus according to claim 7 , wherein, the transmitting control module is further used for:

adding a tag word to a front of the TDM frame stored in the transmitting storage module, transmitting a deleting message to the transmitting BD ring module after receiving the receiving response message containing the transmitting port number transmitted by the transmitting response module, and checking whether the current state of the current transmitting BD stored in the transmitting BD ring module is a preparation completed state after receiving the interruption signal transmitted by the transmitting control interruption module, and if the current state of the current transmitting BD is the preparation completed state, continuing transmitting the data; otherwise, checking the current transmitting BD stored in the transmitting BD ring module; and

the transmitting BD ring module is further used for:

deleting the information in the transmitting BD and setting the current state in the transmitting BD as an idle state, after receiving the deleting message.

9. A receiving apparatus, comprising:

a Time Division Multiplexing, TDM, main receiving module, for searching for a tag word within a window length after receiving a TDM frame with a preset length, and if the tag word is found, continuing to receive the remaining TDM frame, unpacking the TDM frame, transmitting frame header information of the TDM frame to a receiving Buffer Descriptor, BD, ring module, and transmitting data to a TDM receiving module according to a port number in a current receiving BD stored by the receiving BD ring module; and if the data is intended for the TDM main receiving module, transmitting a message of deleting TDM frame header information to the receiving BD ring module;

the TDM receiving module, for transmitting a message of deleting TDM frame header information to the receiving BD ring module after receiving the data transmitted by the TDM main receiving module; and

the receiving BD ring module, which is a ring structure consisted of at least two receiving BDs, for storing the received TDM frame header information into the current receiving BD, setting a current state in the current receiving BD as a preparation completed state, deleting the information in the receiving BD after receiving the message of deleting TDM frame header information, modifying the current state in the receiving BD as an idle state, initially selecting a receiving BD at random as the current receiving BD, and when the current state of the current receiving BD is the preparation completed state, setting the next receiving BD as the current receiving BD.

10. The apparatus according to claim 9 , wherein, the TDM main receiving module comprises:

a receiving response module, for searching for the tag word within the window length after receiving the TDM frame with the preset length, and if the tag word is found, continuing to receive the remaining TDM frame, unpacking the TDM frame, transmitting the frame header information of the TDM frame to the receiving BD ring module, and transmitting the data to the corresponding TDM receiving module according to the port number in the current receiving BD stored by the receiving BD ring modulem; and if the data is intended for the TDM main receiving module, transmitting the message of deleting TDM frame header information to the receiving BD ring module;

a receiving control module, for determining whether the data is intended for the TDM main receiving module according to the port number in the receiving BD stored by the receiving BD ring module after receiving a receiving message transmitted by the receiving response module, and if the data is intended for the TDM main receiving module, transmitting the data in a receiving storage module to a receiving interface module, and transmitting the message of deleting TDM frame header information to the receiving BD ring module; and

the receiving storage module, for storing the data transmitted by the receiving response module.

11. The apparatus according to claim 10 , wherein, the TDM main receiving module further comprises:

the receiving interface module, for transmitting the data to a receiving application module after receiving the data transmitted by the receiving control module.

12. The apparatus according to claim 10 , wherein,

the receiving response module is further used for:

after receiving the TDM frame with the preset length, stopping receiving the TDM frame and transmitting an alarm message to a TDM transmitting module which transmits the TDM frame, if no tag word is found within the window length; and

the receiving control module is further used for:

checking whether the current state of the current receiving BD stored by the receiving BD ring module is the preparation completed state after transmitting the message of deleting TDM frame header information to the receiving BD ring module, and if the current state of the current receiving BD is the preparation completed state, continuing transmitting the data according to the port number in the current receiving BD stored by the receiving BD ring module; otherwise, checking the current state of the current receiving BD stored by the receiving BD ring module.

13. The apparatus according to claim 9 , wherein, the TDM receiving module comprises:

a receiving control module, for transmitting the data in a receiving storage module to a receiving interface module and transmitting a message of deleting TDM frame header information to the receiving BD ring module, after receiving a receiving message transmitted by the TDM main receiving module; and

the receiving storage module, for storing the data transmitted by the TDM main receiving module.

14. The apparatus according to claim 13 , wherein, the receiving control module is further used for:

transmitting a completion message to a receiving response module after transmitting the message of deleting TDM frame header information to the receiving BD ring module; and

the TDM receiving module further comprises:

the receiving response module, for transmitting a receiving completed message to a TDM transmitting module, which transmits the TDM frame after receiving the completion message transmitted by the receiving control module; and

the receiving interface module, for transmitting the data to a receiving application module after receiving the data transmitted by the receiving control module.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 16, 2021
From: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY
To: DATANG MOBILE COMMUNICATIONS EQUIPMENT CO.,LTD.
Reel/Frame 057452/0169 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 13, 2011
From: DATANG MOBILE COMMUNICATIONS EQUIPMENT CO., LTD.
To: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY
Reel/Frame 026273/0244 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 14, 2009
From: GUO, CHANGWANG; LI, JUN
To: DATANG MOBILE COMMUNICATIONS EQUIPMENT CO., LTD
Reel/Frame 023647/0077 →