CN101877622B - Method for promoting data transmission efficiency - Google Patents

Method for promoting data transmission efficiency Download PDF

Info

Publication number
CN101877622B
CN101877622B CN200910138101.4A CN200910138101A CN101877622B CN 101877622 B CN101877622 B CN 101877622B CN 200910138101 A CN200910138101 A CN 200910138101A CN 101877622 B CN101877622 B CN 101877622B
Authority
CN
China
Prior art keywords
main control
temporary storage
subsystem
data transmission
data
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.)
Expired - Fee Related
Application number
CN200910138101.4A
Other languages
Chinese (zh)
Other versions
CN101877622A (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.)
MediaTek Inc
Original Assignee
Ralink Technology Corp Taiwan
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 Ralink Technology Corp Taiwan filed Critical Ralink Technology Corp Taiwan
Priority to CN200910138101.4A priority Critical patent/CN101877622B/en
Publication of CN101877622A publication Critical patent/CN101877622A/en
Application granted granted Critical
Publication of CN101877622B publication Critical patent/CN101877622B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for promoting data transmission efficiency in a data transmission system; the data transmission system comprises a main control terminal, a subsystem terminal and a transmission interface and is used for receiving and transmitting data of one temporary storage device of the subsystem terminal through the transmission interface by the main control terminal; the method comprises the following steps: the main control terminal outputs one query command to the subsystem terminal, so as to inquire the state of available space of the temporary storage device of the subsystem terminal; the subsystem terminal outputs a reply message to the main control terminal according to the query command, so as to indicate the state of available space of the temporary storage device; the data transmission operation of the subsystem terminal is controlled by the main control terminal according to the reply message.

Description

The method of promoting data transmission efficiency
Technical field
The present invention refers to a kind of method of promoting data transmission efficiency, espespecially a kind of method of being controlled promoting data transmission efficiency by the flow process between main control end and subsystem end.
Background technology
The development at wireless telecommunications networking changes speed and the convenience of information interchange widely, and therefore, along with the development of correlation technique, increasing electronic installation (as personal computer, handheld apparatus etc.) is provided with wireless transmitter.The running of wireless transmitter is except the circuit by hardware (as antenna, mixer, demodulator etc.) transmission or reception wireless signal, also need to come by software (as driver) running of control hardware, the link between soft and hardware needs by specific coffret.
Please refer to Fig. 1, Fig. 1 is the schematic diagram of given data transmission system 10.Data transmission system 10, for wireless transmitter (as wireless network card), is mainly comprised of a main control end 100, a subsystem end 102 and a coffret 104.Main control end 100 is the software sections corresponding to wireless transmitter, in order to pass through a driver 106, and the running of control subsystem end 102, and subsystem end 102 is corresponding to hardware components, is used for sending or reception data packet.104 of coffrets, between main control end 100 and subsystem end 102, are used in main control end 100 and 102 transmission of signals of subsystem end.The function mode of data transmission system 10 is as follows.The transmission data packet of take is example, driver 106 is first sent to an asynchronous first in first out buffer (the Asynchronous First In First Out in subsystem end 102 by package to be passed through coffret 104, ASYNC FIFO) 108, and be placed in a transmission queue 110; Subsystem end 102 can be with the package to be passed in the mode ,Jiang transmission queue 110 of first in first out through a direct memory access (DMA) (Direct Memory Access, DMA) passage 112, deposits 116 li of the transmission queues of a temporary storage 114 in; Finally, a medium access is controlled (Medium Access Control, MAC) unit 118 package to be passed is sent to an entity transmission circuit 120, to complete the running of transfer of data.On the contrary, when receiving data packet, the package that entity transmission circuit 120 receives can deposit through media storage control unit 118 receiving queue 122 of temporary storage 114 in, again through a DMAC 124, be sent to a receiving queue 126 of asynchronous first in first out buffer 108, finally be sent to driver 106, carry out relevant treatment.
In data transmission system 10, coffret 104 transmits data packet for main control end 100 and 102, subsystem end.When the corresponding wireless transmitter of data transmission system 10 is used for a Portable device for mobile communication (as mobile phone), in order to reduce power, coffret 104 is realized with low-speed interface conventionally, as secure digital I/O (Secure Digital Input/Output, SDIO) interface, sequence peripheral interface (Serial Peripheral Interface, SPI), universal sequence peripheral interface (Generic Serial Peripheral Interface, GSPI) etc.Yet along with the evolution of radio network technique, data processing speed improves relatively, take 802.11n as example, transmission rate has been promoted to 50Mbps.In this case, when coffret 104 carrys out deal with data transmission with low-speed interfaces such as SDIO/SPI/GSPI, the capacity of temporary storage 114 is easy to exhaust, so that transmit and receive package queue in temporary storage 114, may cause race condition (Race Condition), reduce transmission usefulness.
In order to improve the problems referred to above, the mode of intuition is the capacity that increases temporary storage 114, makes temporary storage 114 can not reach easily fully loaded.Yet the mode that increases temporary storage 114 capacity obviously can increase production cost, simultaneously likely because capacity increase causes longer package latent time (Packet Latency), be also unfavorable for transmission rate and transmission quality.
Summary of the invention
Therefore main purpose of the present invention is to provide a kind of method for a data transmission system promoting data transmission efficiency.
The present invention discloses a kind of method for a data transmission system promoting data transmission efficiency, this data transmission system includes a main control end, a subsystem end and a coffret, the method includes this main control end and exports a query statement to this subsystem end by this coffret, to inquire about the free space state of this temporary storage of this subsystem end; According to this query statement, this subsystem end is replied message to this main control end, to indicate the free space state of this temporary storage by this coffret output one; And reply message according to this, control the data transmission operation of this main control end to this subsystem end.
The present invention also discloses a kind of method for a data transmission system promoting data transmission efficiency, this data transmission system includes a main control end, a subsystem end and a coffret, and the method includes this main control end and transmits data to a temporary storage of this subsystem end by this coffret; According to the storing state of this temporary storage, this subsystem end produces an Indication message and by this coffret, this Indication message is sent to this main control end; And according to this Indication message, control the data transmission operation of this main control end to this subsystem end.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of a known data transmission system.
Fig. 2 is the schematic diagram of a data transmission system of the embodiment of the present invention.
Fig. 3 is the schematic diagram of one embodiment of the invention flow process.
Fig. 4 is the schematic diagram of a data transmission system of another embodiment of the present invention.
Fig. 5 is according to the schematic diagram of an embodiment of the control unit of Fig. 4.
Fig. 6 is according to the schematic diagram of another embodiment of the control unit of Fig. 4.
Fig. 7 is the schematic diagram of another embodiment of the present invention flow process.
[main element label declaration]
QUE_CMD query statement
RT_MSG replys message
CTRL_SG control signal
IND_MSG Indication message
The high threshold value that stores of Vth_H
The low storage threshold value of Vth_L
MEM_VAL storage volume value
CTRL_SG1 control signal
10,20,40 data transmission systems
100,200,400 main control end
102,202,402 subsystem ends
104,204,404 coffrets
106 drivers
108 asynchronous first in first out buffers
110, 116 transmission queues
112,124 direct memory access (DMA)
114,208,408 temporary storages
118 medium access are controlled
120,206,406 entity transmission circuits
122,126 receiving queues
210,410 data receiver unit
212 query statement generation units
214 reply unit
216,416 transmission control units
218,412 data transmission unit
414 control units
500 setup units
502 comparing units
600 sliding window generation units
602 sliding windows
604 sliding window maintenance units
606 Indication message generation units
30,70 flow processs
300,302,304,306,308,700,702,704,706,708 steps
Embodiment
Please refer to Fig. 2, Fig. 2 is the schematic diagram of the embodiment of the present invention one data transmission system 20.Data transmission system 20 is preferably for a wireless transmitter (as wireless network card), and in order to promoting data transmission efficiency, it includes a main control end 200, a subsystem end 202 and a coffret 204.Coffret 204 is interfaces for low speed (comparing with subsystem end 202) relatively, as SDIO, SPI, GSPI etc., is used for transmitting the signal of 202, main control end 200 and subsystem end.Main control end 200 includes a data receiver unit 210, a data transmission unit 218, a query statement generation unit 212 and a transmission control unit 216, and subsystem end 202 includes a temporary storage 208, reply unit 214 and an entity transmission circuit 206.About the function mode of data transmission system 20, below divide to receive and send to explain.First, the transmission of data packet or reception are all performed by entity transmission circuit 206.When receiving data packet, entity transmission circuit 206 can receive data packet by radio channel, and in the temporary storage 208 of depositing.Then, data receiver unit 210 receives the stored data packet of temporary storage 208 by coffret 204, and carries out according to this subsequent treatment, to complete the reception running of data packet.On the other hand, when sending data packet, query statement generation unit 212 first produces a query statement QUE_CMD, and by coffret 204, is sent to the reply unit 214 of subsystem end 202.Replying unit 214 can be according to query statement QUE_CMD, the free space state of inquiry temporary storage 208, and reply message RT_MSG by coffret 204 passbacks one, relevant information is returned back to the transmission control unit 216 of main control end 200.Transmission control unit 216 can, according to replying message RT_MSG, be exported a control signal CTRL_SG to data transmission unit 218, to control the data transmission operation of data transmission unit 218.
In simple terms, when main control end 200 wishs send data packets to before subsystem end 202, query statement generation unit 212 can produce query statement QUE_CMD to replying unit 214, require to reply unit 214 passbacks and reply message RT_MSG to transmission control unit 216, to obtain the information of the free space of temporary storage 208.When receiving, reply after message RT_MSG, transmission control unit 216 can judge the free space state of temporary storage 208 according to this, and then controls the data transmission operation of data transmission unit 218.For example, when replying the free space of message RT_MSG indication temporary storage 208 while being greater than a default byte Vth (or particular percentile etc.), transmission control unit 216 can pass through control signal CTRL_SG, control data transmission unit 218 and start by coffret 204, data packet to be sent to the temporary storage 208 of subsystem end 202, to be sent to object communication terminal by entity transmission circuit 206.On the contrary, if reply the free space of message RT_MSG indication temporary storage 208, be less than default byte Vth, transmission control unit 216 can pass through control signal CTRL_SG, controls data transmission unit 218 and stops transmitting data packet to temporary storage 208; Or the size of transmission control unit 216 capable of regulating data packets, to avoid temporary storage 208 fully loaded.
Therefore, when main control end 200 wishs send data packets to before subsystem end 202, whether the temporary storage 208 of the first Query Subsystem end 202 of main control end 200 meeting has enough free spaces, and according to the reply message RT_MSG of subsystem end 202, determines whether transmit.Owing to wanting to carry out data packet whenever main control end 200, send the free space state that all can send query statement QUE_CMD inquiry temporary storage 208 before, therefore, main control end 200 can carried out before data packet transmission each time, according to the reply message RT_MSG of subsystem end 202 passbacks, understand the free space state of temporary storage 208, and control according to this carrying out of transmission or adjust the size that transmits data packet, to improve the utilization rate of temporary storage 208.
Should be noted, the data transmission system 20 shown in Fig. 2 is embodiments of the invention, and those skilled in the art are when doing according to this different modifications or variation.For instance, query statement QUE_CMD can realize by modes such as standard SDIO/SPI/GSPI instruction, exclusive mailbox or other interfaces.Similarly, reply message RT_MSG and preferably can become entrained in a passback package or in modes such as standard SDIO/SPI/GSPI instructions, the available space information of temporary storage 208 is sent to the transmission control unit 216 of main control end 200.
On the other hand, in above stated specification, transmission control unit 216, according to replying message RT_MSG, is controlled data transmission unit 218 and is started or stop transmission.In fact, the mode that transmission control unit 216 is controlled data transmission unit 218 is not limited to the two-stage control of " beginning " and " stopping ".For example, the present invention can set default byte (or percentage) Vth1, the Vth2 corresponding to the capacity of temporary storage 208, and Vth1 < Vth2.When reply message RT_MSG shows that the free space of temporary storage 208 is greater than default byte Vth2, transmission control unit 216 is controlled data transmission unit 218 and is started transmission; When replying free space that message RT_MSG shows temporary storage 208 between default byte Vth1 and Vth2 time, transmission control unit 216 control data transmission unit 218 are transmitted with less data packet; And when reply message RT_MSG shows that the free space of temporary storage 208 is less than default byte Vth1, transmission control unit 216 is controlled data transmission unit 218 and is stopped transmission.Certainly, above-mentioned triphasic control mode is one of possible variation pattern of explanation the present invention, but not in order to limit the scope of the invention.In addition, should be noted, the data transmission system 20 of Fig. 2 is in order to illustrate spirit of the present invention, and in fact, those skilled in the art are when doing suitable variation or modification, to meet different demands.
In known technology, as shown in Figure 1, data transmission system 10 is when main control end 100 sends data packet to subsystem end 102, owing to indicating the now space of temporary storage 114 without any relevant information, use state, making main control end 100 constantly package is sent to temporary storage 114 transmits, cause when the use state of temporary storage 114 has reached full capacity, main control end 100 may cause race condition (Race Condition) at an easy rate, and may cause main control end 100 stop response or transmission speed be seriously affected.In comparison, in data transmission system 20 of the present invention, when main control end 200 sends data packets to before subsystem end 202, main control end 200 all can be inquired about the free space of temporary storage 208, make main control end 200 can grasp fully the use state of temporary storage 208, can there is not the fully loaded phenomenon of temporary storage 208, to avoid race condition, and then improve transmission speed.
Therefore, if when concept of the present invention is applied to the example of data transmission system 10, main control end 100 is sending data packet to subsystem end 102, need first inquire about the space of temporary storage 114 and use state.Thus, for the data transmission system that adopts low speed transmissions interface, as the wireless transmitter for Portable device for mobile communication (as mobile phone), the present invention can be according to the use state of temporary storage, control the carrying out of transmission, avoid temporary storage fully loaded, to promote transmission usefulness.
About the function mode of data transmission system 20, can further be summarized as a control flow 30, as shown in Figure 3.Control flow 30 comprises following steps:
Step 300: start.
Step 302: the query statement generation unit 212 of main control end 200 is the reply unit 214 to subsystem end 202 by coffret 204 output query statement QUE_CMD, with the free space state of the temporary storage 208 of Query Subsystem end 202.
Step 304: reply unit 214 according to query statement QUE_CMD, reply message RT_MSG is back to transmission control unit 216 by coffret 204, in order to indicate the free space state of temporary storage 208.
Step 306: transmission control unit 216, according to replying message RT_MSG, is controlled the data transmission operation of data transmission unit 218.
Step 308: finish.
Flow process 30 is function modes that data transmission system 20 is described, detailed description can, with reference to aforementioned, be not repeated herein.
In data transmission system 20, when main control end 200 wants to send data to subsystem end 202, main control end 200 all needs the use state of the temporary storage 208 of active inquiry subsystem end 202, and then the reply message RT_MSG sending via subsystem end 202 carries out subsequent control.Therefore, in operation, have more main control end 200 and needed the operation of output query statement, and be all will carry out this query manipulation while sending data each time, may affect transmission rate usefulness.In order to improve the problems referred to above, the present invention separately provides a kind of embodiment.Please refer to Fig. 4, Fig. 4 is the schematic diagram of the embodiment of the present invention one data transmission system 40.Data transmission system 40 includes a main control end 400, a subsystem end 402 and a coffret 404.Coffret 404 is interfaces for low speed (comparing with subsystem end 402) relatively, as SDIO, SPI, GSPI etc., is used for transmitting the signal of 402, main control end 400 and subsystem end.Main control end 400 includes a data receiver unit 410, a data transmission unit 412 and a transmission control unit 416, and subsystem end 402 includes a temporary storage 408, a control unit 414 and an entity transmission circuit 406.About the function mode of data transmission system 40, be divided into receiving and sending and make the following instructions.First, the transmission of data packet or reception are all performed by entity transmission circuit 406.When receiving data packet, data packet can receive to entity transmission circuit 406 via radio channel, and in the temporary storage 408 of depositing.Then, data receiver unit 410 can receive the stored data packet of temporary storage 408 by coffret 404, and carries out according to this subsequent treatment, to complete the reception running of data packet.On the other hand, when sending data packet, data transmission unit 412 starts to continue to send data packet to temporary storage 408, when the capacity of temporary storage 408 arrives a default byte Vth (or particular percentile etc.), control unit 414 can send an Indication message IND_MSG, and by coffret 404, transfers to the transmission control unit 416 of main control end 400.416 of transmission control units produce a control signal CTRL_SG1 to data transmission unit 412 according to Indication message IND_MSG, to control the data transmission operation of data transmission unit 412.
In simple terms, main control end 400 before sending data packet, capacity that can " initiatively " inquiry temporary storage 408, but " passive " receives Indication message IND_MSG, and control according to this carrying out of transmission.That is, main control end 400 continues to send data packet to subsystem end 402, when the capacity of temporary storage 408 reaches default byte Vth (or particular percentile etc.), control unit 414 sends Indication message IND_MSG to transmission control unit 416, to control the data transmission operation of data transmission unit 412.
Owing to sending data packets when main control end 400 wishs to before subsystem end 402, main control end 400 does not need the temporary storage 408 of first Query Subsystem end 402 whether to have enough free spaces, can start to transmit, therefore, can omit the operation of main control end 400 active inquiry.That is to say, in data transmission system 40, main control end 400 is non-active behavior, is temporary storage 408 in subsystem end 402 when receiving data packets and having reached default full capacity, initiatively sends the data transmission operation that Indication message IND_MSG controls main control end 400.Thus, owing to dispensing main control end 400, initiatively send query manipulation, meaning does not need to carry out extra query statement, therefore can promote speed and the efficiency of the data processing between interface.
In Fig. 4, control unit 414 is according to the capacity of temporary storage 408, output Indication message IND_MSG, and its implementation can be according to different demands and different.For instance, please refer to Fig. 5, Fig. 5 is the schematic diagram of an embodiment of control unit 414 in Fig. 4.In Fig. 5, control unit 414 is comprised of a setup unit 500 and a comparing unit 502.Setup unit 500 is used for setting the high threshold value Vth_H of storage and a low storage threshold value Vth_L of temporary storage 408, comparing unit 502 is used for, by a storage volume value MEM_VAL of temporary storage 408 and the high threshold value Vth-H of storage and low storage threshold value Vth_L comparison, controlling the data transmission operation of main control end 400 to produce Indication message IND_MSG.Running is as follows in detail, when main control end 400 continues to send data packet to temporary storage 408, comparing unit in control unit 414 502 can inquiry temporary storages 408 storage volume value MEM_VAL, and with setup unit 500 in by the default height of user's (or system), store threshold value Vth_H and low storage threshold value Vth_L comparison (can numerical value or percentage etc. implement).When storage volume value MEM_VAL is greater than high storage threshold value Vth_H, comparing unit 502 is exported corresponding Indication message IND_MSG to transmission control unit 416, transmission control unit 416 can stop by control signal CTRL_SG1 requirement data transmission unit 412 running of transfer of data, to avoid temporary storage 408 fully loaded.When the storage volume value MEM_VAL in temporary storage 408 is brought down below low storage threshold value Vth_L, 502 corresponding Indication message IND_MSG of output of comparing unit are to transmission control unit 416, to require to recover the running of data transmission unit 412 transfer of data.
In Fig. 5, control unit 414 is that the concept that stores threshold value Vth_H and low storage threshold value Vth_L by setting the height of temporary storage 408 realizes, because this mechanism does not need main control end 400, do not carry out extra query manipulation, therefore can promote data processing speed and the efficiency between interface.Yet because the storage volume in temporary storage is dynamic variation, storing threshold value is fixing set point, obtain a suitable storage threshold value has its certain difficulty in response to the temporary storage of dynamic change.Therefore, for improving and promote the effective utilization of temporary storage, the present invention separately provides an embodiment, and it is described in detail as follows.
Please refer to Fig. 6, Fig. 6 is the schematic diagram of another embodiment of control unit 414 in Fig. 4.In Fig. 6, control unit 414 includes a sliding window generation unit 600, a sliding window 602, a sliding window maintenance unit 604 and an Indication message generation unit 606.Sliding window generation unit 600 is used for producing sliding window 602; Sliding window maintenance unit 604 is used for according to every transceiving data of temporary storage 408, adjusts the length of sliding window 602, to record the storage volume value MEM_VAL of temporary storage 408; Indication message generation unit 606 is used for according to the length of sliding window 602, produces the data transmission operation that Indication message IND_MSG controls main control end 400.The function mode of sliding window 602, below enumerates two kinds of control modes.
The first control mode is as follows, when temporary storage 408 receives data, sliding window maintenance unit 604 increases the length of sliding window 602, and when data of temporary storage 408 outputs, reduce the length of sliding window 602, to record the storage volume value MEM_VAL of temporary storage 408.Indication message generation unit 606 according to storage volume value MEM_VAL and a default value Vth3 (or default percentage etc.) relatively, when storage volume value MEM_VAL < default value Vth3, main control end 400, according to the storing state of the indicated temporary storage 408 of the Indication message IND_MSG of Indication message generation unit 606 generations, is adjusted the data packet size that transfers to temporary storage 408; When storage volume value MEM_VAL > default value Vth3, Indication message generation unit 606 output Indication message IND_MSG request main control end 400 stop data transmission operation; And when storage volume value MEM_VAL is by being brought down below default value Vth3 higher than default value Vth3, the 606 output Indication message IND_MSG request main control end 400 resume data transmission runnings of Indication message generation unit.
The second control mode is, when temporary storage 408 receives data, sliding window maintenance unit 604 reduces the length of sliding window 602, and when data of temporary storage 408 outputs, increase the length of sliding window 602, to record the storage volume value MEM_VAL of temporary storage 408.Indication message generation unit 606 according to storage volume value MEM_VAL and a default value Vth3 (or default percentage etc.) relatively, when storage volume value MEM_VAL > default value Vth3, main control end 400, according to the storing state of the indicated temporary storage 408 of the Indication message IND_MSG of Indication message generation unit 606 generations, is adjusted the data packet size that transfers to temporary storage 408; When storage volume value MEM_VAL < default value Vth3, Indication message generation unit 606 output Indication message IND_MSG request main control end 400 stop data transmission operation; And when storage volume value MEM_VAL is by rising to higher than default value Vth3 lower than default value Vth3, the 606 output Indication message IND_MSG request main control end 400 resume data transmission runnings of Indication message generation unit.
Certainly, one of the variation pattern that the explanation the present invention of the control mode of the sliding window of above-mentioned two kinds system is possible, those skilled in the art are when doing according to this different modifications or variation.Should be noted, Indication message IND_MSG can realize by modes such as hardware interrupts, exclusive mailbox or other interfaces.Similarly, Indication message IND_MSG preferably can become entrained in a passback package or in the modes such as control signal between main control end and subsystem end, the storage area information of temporary storage 408 is sent to the transmission control unit 416 of main control end 400.
In Fig. 6, embodiments of the invention are with a sliding window concept, to carry out the usage space of real-time servicing temporary storage, according to every transceiving data, adjust the length of sliding window, can fully grasp the storage volume value of temporary storage, and then control relevant data transmission operation.Because this execution mode does not need main control end, do not carry out extra query manipulation, therefore can promote data processing speed and the efficiency between interface.Moreover, due to sliding window can real time record temporary storage usage space, the temporary storage capacity of dynamic change can be managed effectively, output in real time and Useful Information control the data transmission operation of main control end, and then promote the effective utilization of temporary storage.
From the above, data transmission system 40 is that main control end 400 is non-active flow process controlling mechanism, with data transmission system 20 in comparison, do not need extra query statement QUE_CMD to inquire about the free space state of temporary storage 408, but utilize the related mechanism of control unit 414 to send Indication message IND_MSG to main control end 400 by subsystem end 402, to control the transmission operation of data.Owing to having lacked the step of main control end 400 active inquiry and extra query statement, therefore can promote data processing speed and the efficiency between interface.
About the function mode of data transmission system 40, can further be summarized as a control flow 70, as shown in Figure 7.Control flow 70 comprises following steps:
Step 700: start.
Step 702: main control end 400 transmits data to the temporary storage 408 of subsystem end 402 by coffret 404.
Step 704: subsystem end 402, according to the storing state of temporary storage 408, produces Indication message IND_MSG and by coffret 404, Indication message IND_MSG is sent to main control end 400.
Step 706: main control end 400, according to Indication message IND_MSG, is controlled the data transmission operation of antithetical phrase system end 402.
Step 708: finish.
Flow process 70 is function modes that data transmission system 40 is described, detailed description can, with reference to aforementioned, be not repeated herein.
Therefore, the data transmission system for the data processing speed of subsystem end higher than the data transmission bauds of coffret, as the wireless transmitter for Portable device for mobile communication (as mobile phone), the invention provides two large class control modes.First kind mode is " active " (for main control end), that is by the state of the temporary storage of main control end active inquiry subsystem end.Equations of The Second Kind is " passive type " (equally for main control end), its be by subsystem end according to the state of temporary storage, reply related news in main control end.Wherein, Equations of The Second Kind provides again two kinds of execution modes, applicable to different demands.
In sum, for the data transmission system that adopts low speed transmissions interface, the present invention can effectively avoid the fully loaded generation of temporary storage, and the capacity of temporary storage can be managed effectively, and then promotes transmission speed and efficiency.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the claims in the present invention scope change and modify, and all should belong to covering scope of the present invention.

Claims (22)

1. the method for a data transmission system, this data transmission system comprises a main control end, a subsystem end and a coffret, by this main control end of cause, by this coffret, receive and dispatch the data of a temporary storage of this subsystem end, the method includes:
This main control end is exported a query statement to this subsystem end by this coffret, to inquire about the free space state of this temporary storage of this subsystem end;
According to this query statement, this subsystem end is replied message to this main control end, to indicate the free space state of this temporary storage by this coffret output one; And
According to this, reply message, control the data transmission operation of this main control end to this subsystem end,
Wherein this main control end is corresponding to the software section of this data transmission system, and this subsystem end is corresponding to the hardware components of this data transmission system.
2. method according to claim 1, wherein this reply message is trapped in a package.
3. method according to claim 1, wherein according to this reply message, control the step of this main control end to the data transmission operation of this subsystem end, be when this reply message shows that the free space of this temporary storage is less than a default value, stop this main control end and by this coffret, data are sent to this temporary storage of this subsystem end.
4. method according to claim 1, wherein according to this reply message, control the step of this main control end to the data transmission operation of this subsystem end, be when this reply message shows that the free space of this temporary storage is greater than a default value, control this main control end and by this coffret, data are sent to this temporary storage of this subsystem end.
5. method according to claim 1, wherein according to this reply message, control the step of this main control end to the data transmission operation of this subsystem end, be according to the free space state of this indicated temporary storage of this reply message, adjust the data packet size that this main control end transfers to this subsystem end.
6. method according to claim 1, wherein the data processing speed of this subsystem end is higher than the data transmission bauds of this coffret.
7. method according to claim 1, wherein this coffret is secure digital input/output interface, sequence peripheral interface or universal sequence peripheral interface.
8. for a method for a data transmission system, this data transmission system comprises a main control end, a subsystem end and a coffret, and the method includes:
This main control end transmits data to a temporary storage of this subsystem end by this coffret;
According to the storing state of this temporary storage, this subsystem end produces an Indication message and by this coffret, this Indication message is sent to this main control end; And
According to this Indication message, control the data transmission operation of this main control end to this subsystem end,
Wherein this main control end is corresponding to the software section of this data transmission system, and this subsystem end is corresponding to the hardware components of this data transmission system.
9. method according to claim 8, wherein according to the storing state of this temporary storage, this subsystem end produces this Indication message and by this coffret, this Indication message is sent to the step of this main control end, includes:
Set high threshold value and the low storage threshold value of storing of this temporary storage; And
One storage volume value of this temporary storage and this height are stored to threshold value and this low storage threshold value comparison, to produce this Indication message and by this coffret, this Indication message to be sent to this main control end.
10. method according to claim 9, wherein according to this Indication message, control the step of this main control end to the data transmission operation of this subsystem end, be when this Indication message indicates this storage volume value to store threshold value higher than this height, stop this main control end and by this coffret, data are sent to this temporary storage of this subsystem end.
11. methods according to claim 10, it is also contained in this Indication message and indicates this storage volume value when being brought down below this low storage threshold value higher than this low storage threshold value, recovers this main control end and by this coffret, data is sent to this temporary storage of this subsystem end.
12. methods according to claim 8, wherein according to the storing state of this temporary storage, this subsystem end produces this Indication message and by this coffret, this Indication message is sent to the step of this main control end, includes:
Produce a sliding window;
According to each transceiving data of this temporary storage, adjust the length of this sliding window, to record the storage volume value of this temporary storage; And
According to the length of this sliding window, this subsystem end produces this Indication message and by this coffret, this Indication message is sent to this main control end.
13. methods according to claim 12, wherein according to each transceiving data of this temporary storage, adjust the length of this sliding window, to record the step of the storage volume value of this temporary storage, be when this temporary storage receives data, increase the length of this sliding window, and when data of this temporary storage output, reduce the length of this sliding window, to record the storage volume value of this temporary storage.
14. methods according to claim 13, wherein according to this Indication message, control the step of this main control end to the data transmission operation of this subsystem end, be when this Indication message indicates the length of this sliding window to be greater than a default value, stop this main control end and by this coffret, data are sent to this temporary storage of this subsystem end.
15. methods according to claim 14, it is also contained in length that this Indication message indicates this sliding window when being brought down below this default value higher than this default value, recovers this main control end and by this coffret, data is sent to this temporary storage of this subsystem end.
16. methods according to claim 12, wherein according to each transceiving data of this temporary storage, adjust the length of this sliding window, to record the step of the storage volume value of this temporary storage, be when this temporary storage receives data, reduce the length of this sliding window, and when data of this temporary storage output, increase the length of this sliding window, to record the storage volume value of this temporary storage.
17. methods according to claim 16, wherein according to this Indication message, control the step of this main control end to the data transmission operation of this subsystem end, be when this Indication message indicates the length of this sliding window to be less than a default value, stop this main control end and by this coffret, data are sent to this temporary storage of this subsystem end.
18. methods according to claim 17, it is also contained in length that this Indication message indicates this sliding window when rising to higher than this default value lower than this default value, recovers this main control end and by this coffret, data is sent to this temporary storage of this subsystem end.
19. methods according to claim 8, wherein according to this Indication message, control the step of this main control end to the data transmission operation of this subsystem end, be according to the storing state of this indicated temporary storage of this Indication message, adjust the data packet size that this main control end transfers to this subsystem end.
20. methods according to claim 8, wherein this Indication message is trapped in a package.
21. methods according to claim 8, wherein the data processing speed of this subsystem end is higher than the data transmission bauds of this coffret.
22. methods according to claim 8, wherein this coffret is secure digital input/output interface, sequence peripheral interface or universal sequence peripheral interface.
CN200910138101.4A 2009-04-30 2009-04-30 Method for promoting data transmission efficiency Expired - Fee Related CN101877622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910138101.4A CN101877622B (en) 2009-04-30 2009-04-30 Method for promoting data transmission efficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910138101.4A CN101877622B (en) 2009-04-30 2009-04-30 Method for promoting data transmission efficiency

Publications (2)

Publication Number Publication Date
CN101877622A CN101877622A (en) 2010-11-03
CN101877622B true CN101877622B (en) 2014-02-19

Family

ID=43020096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910138101.4A Expired - Fee Related CN101877622B (en) 2009-04-30 2009-04-30 Method for promoting data transmission efficiency

Country Status (1)

Country Link
CN (1) CN101877622B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI538425B (en) * 2014-04-14 2016-06-11 微晶片科技公司 Data transmission system and method for bluetooth interface

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI98023C (en) * 1995-05-09 1997-03-25 Nokia Telecommunications Oy Sliding window-based data flow control using an adjustable window size
GB0129614D0 (en) * 2001-12-11 2002-01-30 Nokia Corp Asynchronous serial data interface
US7388904B2 (en) * 2003-06-03 2008-06-17 Vativ Technologies, Inc. Near-end, far-end and echo cancellers in a multi-channel transceiver system
US7743183B2 (en) * 2005-05-23 2010-06-22 Microsoft Corporation Flow control for media streaming

Also Published As

Publication number Publication date
CN101877622A (en) 2010-11-03

Similar Documents

Publication Publication Date Title
US11176068B2 (en) Methods and apparatus for synchronizing uplink and downlink transactions on an inter-device communication link
JP4896904B2 (en) Method, device and process for distributing tasks over time in mobile terminals
US20090089459A1 (en) Schedule and data caching for wireless tranmission
US20190227971A1 (en) Architecture for consolidating multiple sources of low-bandwidth data over a serial bus
EP2397949B1 (en) Flow control for universal serial bus (USB)
CN100517284C (en) Method and device for external controlling DMA controller
US20050232197A1 (en) Command queuing for multimedia storage devices
US20190227962A1 (en) Function-specific communication on a multi-drop bus for coexistence management
TWI423032B (en) Method for enhancing data transmission efficiency
US7099961B2 (en) System including real-time data communication features
CN101937413B (en) Communication method of I2C bus
JP2005504392A (en) Bus system and bus interface
CN101877622B (en) Method for promoting data transmission efficiency
US7840722B2 (en) Method for receiving data over an SDIO interface and device using the same
CN114553776B (en) Signal disorder control and rate self-adaptive transmission device and transmission method thereof
JP2005504393A (en) Bus system and bus interface
CN103744807B (en) Storage card based on PLD accesses control system
CN110727619B (en) Communication system based on SDIO interface and data transmission method
US9367495B1 (en) High speed integrated circuit interface
US11023408B2 (en) I3C single data rate write flow control
US10572439B1 (en) I3C read from long latency devices
US20100216506A1 (en) System and Methods for Supporting Multiple Communications Protocols on a Mobile Phone Device
CN112148667B (en) Cache system and method based on FPGA soft core
CN116700986A (en) UART controller circuit supporting DMA communication mode
CN101718981B (en) Sampler for data of network of distributed control 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
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: LIANFA SCIENCE AND TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: RALINK TECHNOLOGY INC.

Effective date: 20140722

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20140722

Address after: Hsinchu Science Industrial Park, Taiwan, China

Patentee after: MediaTek.Inc

Address before: Hsinchu County, Taiwan, China

Patentee before: Ralink Technology Inc.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140219

Termination date: 20170430

CF01 Termination of patent right due to non-payment of annual fee