TWI694684B - Wireless communication circuit with scheduling circuit in mac layer - Google Patents

Wireless communication circuit with scheduling circuit in mac layer Download PDF

Info

Publication number
TWI694684B
TWI694684B TW107130206A TW107130206A TWI694684B TW I694684 B TWI694684 B TW I694684B TW 107130206 A TW107130206 A TW 107130206A TW 107130206 A TW107130206 A TW 107130206A TW I694684 B TWI694684 B TW I694684B
Authority
TW
Taiwan
Prior art keywords
circuit
media access
access control
control layer
data
Prior art date
Application number
TW107130206A
Other languages
Chinese (zh)
Other versions
TW202010275A (en
Inventor
孫超海
順發 陳
Original Assignee
新加坡商瑞昱新加坡有限公司
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 新加坡商瑞昱新加坡有限公司 filed Critical 新加坡商瑞昱新加坡有限公司
Priority to TW107130206A priority Critical patent/TWI694684B/en
Publication of TW202010275A publication Critical patent/TW202010275A/en
Application granted granted Critical
Publication of TWI694684B publication Critical patent/TWI694684B/en

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A wireless communication circuit includes: a physical-layer circuit, arranged to operably communicate with other wireless communication devices through an antenna; a micro-controller, arranged to operably generate data frames to be transmitted to other wireless communication devices; and a MAC-layer circuit comprising: a MAC-layer storage circuit for storing a data queue; a MAC-layer control circuit, coupled with the physical-layer circuit, the micro-controller, and the MAC-layer storage circuit, arranged to temporarily store the data frames generated by the micro-controller in the data queue; and a scheduling circuit, coupled with the MAC-layer storage circuit and the MAC-layer control circuit, arranged to operably schedule a timing that the MAC-layer control circuit transmits data stored in the data queue to the physical-layer circuit.

Description

具有位於媒體存取控制層電路的排程電路的無線通信電路 Wireless communication circuit with scheduling circuit in circuit of media access control layer

本發明涉及無線通信電路,尤指一種可提升資料傳輸量的無線通信電路。 The invention relates to a wireless communication circuit, in particular to a wireless communication circuit which can increase the data transmission amount.

許多無線通信電路採用載波偵測多重存取(carrier sense multiple access,CSMA)的機制來做為媒體存取控制協議,以實現時分多重存取(time-division multiple access,TDMA)的傳輸目的。在傳統的無線通信電路中,微處理器需要頻繁地讀取媒體存取控制層電路中的暫存器,才能得知媒體存取控制層電路的資料傳輸進度。 Many wireless communication circuits use a carrier sense multiple access (CSMA) mechanism as a media access control protocol to achieve time-division multiple access (TDMA) transmission purposes. In the traditional wireless communication circuit, the microprocessor needs to frequently read the temporary memory in the circuit of the media access control layer to know the progress of data transmission in the circuit of the media access control layer.

然而,前述微處理器頻繁地讀取媒體存取控制層電路中的暫存器的動作,會增加微處理器與媒體存取控制層電路之間的信息溝通量,因而降低了無線通信電路的整體傳輸效能。 However, the aforementioned microprocessor frequently reads the register in the circuit of the media access control layer, which will increase the amount of information communication between the microprocessor and the circuit of the media access control layer, thus reducing the wireless communication circuit. Overall transmission performance.

有鑒於此,如何改善無線通信電路的整理傳輸效能,實為有待解决的問題。 In view of this, how to improve the transmission performance of wireless communication circuits is really a problem to be solved.

本發明提供一種無線通信電路的實施例,其包含:物理層電路,設置成通過天線與其他無線通信裝置進行通信;微處理器,設置成產生要傳送給其他無線通信裝置的資料幀;以及媒體存取控制層電路,該媒體存取控制層電路包含:媒體存取控制層儲存電路,用於儲存資料佇列;媒體存取控制層控制電路,耦接於該物理層電路、該微處理器、與該媒體存取控制層儲存電路,設置成將該微處理器產生的該資料幀,暫存在該資料佇列中;以及排程電路,耦接於該媒體 存取控制層儲存電路與該媒體存取控制層控制電路,設置成控制該媒體存取控制層控制電路將該資料佇列中儲存的資料傳送給該物理層電路的排程。 The present invention provides an embodiment of a wireless communication circuit, including: a physical layer circuit configured to communicate with other wireless communication devices through an antenna; a microprocessor configured to generate data frames to be transmitted to other wireless communication devices; and media An access control layer circuit, the media access control layer circuit includes: a media access control layer storage circuit for storing data queues; a media access control layer control circuit, coupled to the physical layer circuit and the microprocessor , And the storage circuit of the media access control layer, configured to temporarily store the data frame generated by the microprocessor in the data queue; and a scheduling circuit, coupled to the media The access control layer storage circuit and the media access control layer control circuit are configured to control the scheduling of the media access control layer control circuit to transmit the data stored in the data queue to the physical layer circuit.

本發明另提供一種無線通信電路的實施例,其包含:物理層電路,設置成通過天線與其他無線通信裝置進行通信;微處理器,設置成產生要傳送給其他無線通信裝置的資料幀與相關的動作幀;以及媒體存取控制層電路,該媒體存取控制層電路包含:媒體存取控制層儲存電路,用於儲存資料佇列與管理佇列;媒體存取控制層控制電路,耦接於該物理層電路、該微處理器、與該媒體存取控制層儲存電路,設置成將該微處理器產生的該資料幀與相關的動作幀,分別暫存在該資料佇列與該管理佇列中;排程電路,耦接於該媒體存取控制層儲存電路與該媒體存取控制層控制電路,設置成間歇性檢查該資料佇列與該管理佇列的內容,以控制該媒體存取控制層控制電路將該資料佇列與該管理佇列中儲存的資料傳送給該物理層電路的排程;以及媒體存取控制層暫存器,耦接於該媒體存取控制層控制電路與該微處理器,設置成儲存該媒體存取控制層電路的運作狀態值,可供該微處理器據以判斷該媒體存取控制層電路的運作狀態;其中,該媒體存取控制層控制電路將該資料佇列與該管理佇列中儲存的資料傳送給該物理層電路的時序,是由該排程電路控制,而不是由該微處理器控制,倘若該排程電路判定該資料佇列中沒有需要傳送的資料,則該排程電路會控制該媒體存取控制層控制電路將該無線通信電路的網路佔用權提前釋放給其他無線通信裝置。 The present invention also provides an embodiment of a wireless communication circuit, which includes: a physical layer circuit configured to communicate with other wireless communication devices through an antenna; a microprocessor configured to generate data frames and related data to be transmitted to other wireless communication devices Action frame; and a media access control layer circuit, the media access control layer circuit includes: a media access control layer storage circuit for storing data queues and management queues; a media access control layer control circuit, coupled The physical layer circuit, the microprocessor, and the media access control layer storage circuit are configured to temporarily store the data frame and the related action frame generated by the microprocessor in the data queue and the management queue, respectively Row; scheduling circuit, coupled to the media access control layer storage circuit and the media access control layer control circuit, configured to intermittently check the contents of the data queue and the management queue to control the media storage The fetch control layer control circuit sends the data queue and the data stored in the management queue to the schedule of the physical layer circuit; and the media access control layer register is coupled to the media access control layer control circuit And the microprocessor are arranged to store the operating state value of the media access control layer circuit, which can be used by the microprocessor to judge the operating state of the media access control layer circuit; wherein, the media access control layer controls The timing of the circuit transmitting the data queue and the data stored in the management queue to the physical layer circuit is controlled by the scheduling circuit, not by the microprocessor, if the scheduling circuit determines that the data queue If there is no data to be transmitted in the row, the scheduling circuit will control the media access control layer control circuit to release the network occupation right of the wireless communication circuit to other wireless communication devices in advance.

上述實施例的優點之一,是媒體存取控制層電路將資料傳送給該物理層電路的排程,是由媒體存取控制層電路中的排程電路來控制,而不是由媒體存取控制層電路外部的微處理器來控制,因此能够大幅降低微處理器與媒體存取控制層電路之間的溝通負擔,進而提升無線通信電路的整體傳輸效能。 One of the advantages of the above embodiments is that the scheduling of the media access control layer circuit to transmit data to the physical layer circuit is controlled by the scheduling circuit in the media access control layer circuit, not the media access control It is controlled by the microprocessor outside the layer circuit, so it can greatly reduce the communication burden between the microprocessor and the media access control layer circuit, thereby improving the overall transmission performance of the wireless communication circuit.

上述實施例的另一優點,是利用媒體存取控制層電路中的排程電路控制媒體存取控制層控制電路的資料傳輸時序,可提高無線通信電路傳送資料給其他無線通信裝置的時序正確性。 Another advantage of the above embodiment is that the scheduling circuit in the media access control layer circuit is used to control the data transmission timing of the media access control layer control circuit, which can improve the timing accuracy of the wireless communication circuit transmitting data to other wireless communication devices. .

本發明的其他優點將搭配以下的說明和圖式進行更詳細的解說。 Other advantages of the present invention will be explained in more detail with the following description and drawings.

100:無線通信電路(wireless communication circuit) 100: wireless communication circuit (wireless communication circuit)

102~106:無線通信裝置(wireless communication device) 102~106: wireless communication device (wireless communication device)

108:天線(antenna) 108: antenna

110:物理層電路(physical-layer circuit) 110: physical-layer circuit

120:微處理器(micro-controller) 120: Microprocessor (micro-controller)

130:儲存電路(storage circuit) 130: storage circuit

140:資料匯流排(data bus) 140: data bus

150:媒體存取控制層電路(MAC-layer circuit) 150: MAC-layer circuit

151:媒體存取控制層儲存電路(MAC-layer storage circuit) 151: MAC-layer storage circuit

152:資料佇列(data queue) 152: data queue (data queue)

153:管理佇列(management queue) 153: management queue (management queue)

154:媒體存取控制層控制電路(MAC-layer control circuit) 154: MAC-layer control circuit

155:排程電路(scheduling circuit) 155: Scheduling circuit

156:媒體存取控制層暫存器(MAC-layer register) 156: MAC-layer register

圖1為本發明一實施例的無線通信電路簡化後的功能方框圖。 FIG. 1 is a simplified functional block diagram of a wireless communication circuit according to an embodiment of the present invention.

以下將配合相關圖式來說明本發明的實施例。在這些圖式中,相同的標號表示相同或類似的元件或方法流程。 The embodiments of the present invention will be described below in conjunction with related drawings. In these drawings, the same reference numerals indicate the same or similar elements or method flows.

圖1為本發明一實施例的無線通信電路100簡化後的功能方框圖。無線通信電路100可通過天線108與多個無線通信裝置(例如,圖1中的示例性無線通信裝置102~106)以無線傳輸方式進行資料通信。 FIG. 1 is a simplified functional block diagram of a wireless communication circuit 100 according to an embodiment of the present invention. The wireless communication circuit 100 may perform data communication with a plurality of wireless communication devices (for example, the exemplary wireless communication devices 102 to 106 in FIG. 1) through the antenna 108 by wireless transmission.

無線通信電路100採用載波偵測多重存取(CSMA)的機制來做為媒體存取控制協議,以實現時分多重存取(TDMA)的傳輸目的。無線通信電路100與無線信號傳輸範圍內的其他無線通信裝置102~106可共同構成一個無線區域網路(wireless local area network,WLAN),並各自扮演無線區域網路當中的一個網路節點。 The wireless communication circuit 100 uses a carrier detection multiple access (CSMA) mechanism as a media access control protocol to achieve time division multiple access (TDMA) transmission purposes. The wireless communication circuit 100 and other wireless communication devices 102-106 within the wireless signal transmission range can form a wireless local area network (WLAN), and each acts as a network node in the wireless local area network.

在運作時,無線通信電路100與無線通信裝置102~106可採用合適的令牌傳遞(token passing)機制,來决定具有網路佔用權(occupation)的網路節點。一般而言,擁有令牌(token)的網路節點才有權使用網路介質來進行資料傳輸。採用令牌傳遞機制可以極大化無線區域網路的頻寬使用率,以充分利用網路的頻寬。 During operation, the wireless communication circuit 100 and the wireless communication devices 102-106 may adopt an appropriate token passing mechanism to determine network nodes with network occupation rights. Generally speaking, only the network nodes possessing tokens have the right to use network media for data transmission. The use of a token transfer mechanism can maximize the bandwidth usage of the wireless local area network to take full advantage of the network bandwidth.

如圖1所示,無線通信電路100包含有物理層電路110、微處理器120、儲存電路130、資料匯流排140、以及媒體存取控制層電路150。 As shown in FIG. 1, the wireless communication circuit 100 includes a physical layer circuit 110, a microprocessor 120, a storage circuit 130, a data bus 140, and a medium access control layer circuit 150.

微處理器120設置成產生要傳送給其他無線通信裝置102~106的資料幀(data frame)與相關的動作幀(action frame)。前述的動作幀可包含與令牌傳遞機制有關的令牌請求(token request)信息與 令牌釋出(token release)信息。 The microprocessor 120 is configured to generate data frames and related action frames to be transmitted to other wireless communication devices 102-106. The foregoing action frame may include token request information and token request related to the token delivery mechanism. Token release information.

儲存電路130通過資料匯流排140耦接於微處理器120,設置成儲存微處理器120運作所需的軟體程式與相關資料。 The storage circuit 130 is coupled to the microprocessor 120 through a data bus 140, and is configured to store software programs and related data required for the operation of the microprocessor 120.

媒體存取控制層電路150通過資料匯流排140耦接於微處理器120,設置成處理微處理器120所產生的資料幀與相關的動作幀,並在適當的時間點將這些資料幀與相關的動作幀以合適的封包形式傳送給物理層電路110進行處理。 The media access control layer circuit 150 is coupled to the microprocessor 120 through the data bus 140, and is configured to process the data frames and related action frames generated by the microprocessor 120, and connect the data frames and the related action frames at an appropriate time. The action frame is transmitted to the physical layer circuit 110 in a suitable packet form for processing.

物理層電路110耦接於媒體存取控制層電路150,設置成將媒體存取控制層電路150傳來的封包轉換成適當的類比信號,並通過天線108傳送給其他的無線通信裝置102~106。 The physical layer circuit 110 is coupled to the media access control layer circuit 150, and is configured to convert the packets from the media access control layer circuit 150 into an appropriate analog signal and transmit it to other wireless communication devices 102-106 through the antenna 108. .

實作上,前述的無線通信裝置102~106皆可採用具有無線網路通信能力的各種合適裝置來實現,例如,智慧手機、電腦、平板電腦、筆記型電腦等等。另外,無線通信電路100中的物理層電路110、微處理器120、儲存電路130、以及資料匯流排140,皆可用各種既有的合適電路來實現。 In practice, the aforementioned wireless communication devices 102-106 can be implemented with various suitable devices having wireless network communication capabilities, such as smart phones, computers, tablet computers, notebook computers, and so on. In addition, the physical layer circuit 110, the microprocessor 120, the storage circuit 130, and the data bus 140 in the wireless communication circuit 100 can be implemented with various existing suitable circuits.

如圖1所示,本實施例中的媒體存取控制層電路150包含媒體存取控制層儲存電路151、媒體存取控制層控制電路154、排程電路155、以及媒體存取控制層暫存器156。 As shown in FIG. 1, the media access control layer circuit 150 in this embodiment includes a media access control layer storage circuit 151, a media access control layer control circuit 154, a scheduling circuit 155, and a media access control layer temporary storage器156.

媒體存取控制層儲存電路151被區分成至少二個區塊用於分別儲存資料佇列152與管理佇列153,其中,資料佇列152還包括有分別對應於不同的服務品質(Quality of Service,QoS)的複數個資料子佇列。 The storage circuit 151 of the media access control layer is divided into at least two blocks for storing the data queue 152 and the management queue 153 respectively, wherein the data queue 152 further includes quality of service corresponding to different quality of service , QoS) multiple data sub-queues.

媒體存取控制層控制電路154耦接於物理層電路110、微處理器120、與媒體存取控制層儲存電路151,設置成將微處理器120產生的資料幀暫存在資料佇列152中,並將微處理器120產生的動作幀暫存在管理佇列153中。 The media access control layer control circuit 154 is coupled to the physical layer circuit 110, the microprocessor 120, and the media access control layer storage circuit 151, and is configured to temporarily store the data frame generated by the microprocessor 120 in the data queue 152. The operation frame generated by the microprocessor 120 is temporarily stored in the management queue 153.

排程電路155耦接於媒體存取控制層儲存電路151與媒體存取控制層 控制電路154,設置成控制媒體存取控制層控制電路154將資料佇列152與管理佇列153中儲存的資料傳送給物理層電路110的排程。 The scheduling circuit 155 is coupled to the media access control layer storage circuit 151 and the media access control layer The control circuit 154 is configured to control the scheduling of the media access control layer control circuit 154 to transmit the data stored in the data queue 152 and the management queue 153 to the physical layer circuit 110.

媒體存取控制層暫存器156耦接於媒體存取控制層控制電路154與微處理器120,設置成儲存媒體存取控制層電路150的運作狀態值。媒體存取控制層控制電路154在運作的過程中,可將媒體存取控制層電路150的運作狀態(例如資料傳輸進度),以適當的資料格式寫入媒體存取控制層暫存器156中,使得微處理器120可藉由讀取媒體存取控制層暫存器156的內容,來得知媒體存取控制層電路150的相關運作狀態。 The media access control layer register 156 is coupled to the media access control layer control circuit 154 and the microprocessor 120, and is configured to store the operating state value of the media access control layer circuit 150. During the operation of the media access control layer control circuit 154, the operating state of the media access control layer circuit 150 (such as the progress of data transmission) can be written into the media access control layer register 156 in an appropriate data format , So that the microprocessor 120 can learn the relevant operating status of the media access control layer circuit 150 by reading the content of the media access control layer register 156.

實作上,媒體存取控制層電路150中的媒體存取控制層儲存電路151、媒體存取控制層控制電路154、以及媒體存取控制層暫存器156,皆可用各種既有的合適電路來實現。排程電路155則可利用具有資料讀取能力與判斷能力的數位電路來實現。 In practice, the media access control layer storage circuit 151, the media access control layer control circuit 154, and the media access control layer register 156 in the media access control layer circuit 150 can all use various existing suitable circuits. to fulfill. The scheduling circuit 155 can be implemented by a digital circuit with data reading capability and judgment capability.

另外,前述無線通信電路100中的不同功能方塊可分別用不同的電路來實現,也可整合在一單一電路晶片中。 In addition, the different functional blocks in the aforementioned wireless communication circuit 100 can be implemented by different circuits, or can be integrated into a single circuit chip.

請注意,在無線通信電路100中,媒體存取控制層電路150將相關的資料幀和/或動作幀傳送給物理層電路110進行處理的時序,並不是由微處理器120來控制,而是由媒體存取控制層電路150中的排程電路155來控制。 Please note that in the wireless communication circuit 100, the timing at which the media access control layer circuit 150 transmits related data frames and/or action frames to the physical layer circuit 110 for processing is not controlled by the microprocessor 120, but rather It is controlled by the scheduling circuit 155 in the media access control layer circuit 150.

在一實施例中,由於媒體存取控制層電路150將相關的資料幀和/或動作幀傳送給物理層電路110進行處理的時序,並不是由微處理器120來控制,故可以將微處理器120進行上述控制所需的軟體程序進行移除。也就是,在此實施例中,儲存於儲存電路130中的軟體程序不包括有微處理器120控制相關的資料幀和/或動作幀傳送給物理層電路110進行處理的時序的相關軟體程序。 In an embodiment, because the timing of the media access control layer circuit 150 transmitting related data frames and/or action frames to the physical layer circuit 110 for processing is not controlled by the microprocessor 120, the microprocessing can be performed The software program required by the device 120 to perform the above control is removed. That is, in this embodiment, the software program stored in the storage circuit 130 does not include the relevant software program that controls the timing at which the microprocessor 120 controls the transmission of related data frames and/or action frames to the physical layer circuit 110 for processing.

在運作時,排程電路155會間歇性地檢查資料佇列152與管理佇列153的內容,以判斷是否有需要傳遞給其他無線通信裝置的資料, 並依據判斷的結果來控制媒體存取控制層控制電路154將資料佇列152與管理佇列153中儲存的資料傳送給物理層電路110的時序。例如,排程電路155可定期檢查資料佇列152與管理佇列153中要傳送給個別無線通信裝置的剩餘資料量。 During operation, the scheduling circuit 155 intermittently checks the contents of the data queue 152 and the management queue 153 to determine whether there is data that needs to be transmitted to other wireless communication devices, According to the result of the judgment, the timing of the media access control layer control circuit 154 transmitting the data stored in the data queue 152 and the management queue 153 to the physical layer circuit 110 is controlled. For example, the scheduling circuit 155 may periodically check the amount of remaining data in the data queue 152 and the management queue 153 to be transmitted to individual wireless communication devices.

倘若排程電路155判定資料佇列152和/或管理佇列153中有需要傳送給特定無線通信裝置的資料,則排程電路155會在無線通信電路100具有網路佔用權時,控制媒體存取控制層控制電路154將資料佇列152和/或管理佇列153中的資料傳送給物理層電路110進行處理,並通過天線108傳送給相應的無線通信裝置,例如,前述無線通信裝置102~106的其中一個或多個裝置。 If the scheduling circuit 155 determines that there is data in the data queue 152 and/or management queue 153 that needs to be transmitted to a specific wireless communication device, the scheduling circuit 155 will control the media storage when the wireless communication circuit 100 has the network occupation right The control layer control circuit 154 transmits the data in the data queue 152 and/or the management queue 153 to the physical layer circuit 110 for processing, and transmits the corresponding wireless communication device through the antenna 108, for example, the aforementioned wireless communication device 102~ One or more of 106 devices.

另一方面,倘若排程電路155判定資料佇列152與管理佇列153中沒有需要傳送給其他無線通信裝置的資料,則排程電路155會控制媒體存取控制層控制電路154將無線通信電路100的網路佔用權提前釋出給其他無線通信裝置使用。 On the other hand, if the scheduling circuit 155 determines that there is no data in the data queue 152 and the management queue 153 that needs to be transmitted to other wireless communication devices, the scheduling circuit 155 controls the media access control layer control circuit 154 to convert the wireless communication circuit The 100 network occupancy rights are released in advance for use by other wireless communication devices.

如此一來,便可在無線通信電路100無需傳送資料給其他無線通信裝置102~106的情况下,縮短無線通信電路100佔用網路介質的時間,以使其他無線通信裝置102~106得以提早取得網路介質的使用權。 In this way, when the wireless communication circuit 100 does not need to send data to other wireless communication devices 102-106, the time that the wireless communication circuit 100 occupies the network medium can be shortened, so that the other wireless communication devices 102-106 can be obtained early The right to use network media.

由前述說明可知,媒體存取控制層控制電路154將資料佇列152與管理佇列153中儲存的資料傳送給物理層電路110的排程及時序,是由排程電路155控制,而不是由微處理器120控制。 As can be seen from the foregoing description, the schedule and timing at which the media access control layer control circuit 154 transmits the data stored in the data queue 152 and the management queue 153 to the physical layer circuit 110 is controlled by the schedule circuit 155, not by The microprocessor 120 controls.

因此,微處理器120不需要頻繁地讀取媒體存取控制層暫存器156,所以能够大幅降低微處理器120與媒體存取控制層電路150之間的溝通負擔,進而提升無線通信電路100的整體傳輸效能。 Therefore, the microprocessor 120 does not need to read the media access control layer register 156 frequently, so the communication load between the microprocessor 120 and the media access control layer circuit 150 can be greatly reduced, thereby improving the wireless communication circuit 100 The overall transmission performance.

另外,由於媒體存取控制層電路150中的排程電路155可直接讀取並檢查資料佇列152與管理佇列153中的資料,所以能够精確且即時得知媒體存取控制層控制電路154的資料傳輸進度。因此,利用排程 電路155來控制媒體存取控制層控制電路154的資料傳輸時序,可提高無線通信電路100傳送資料給其他無線通信裝置的時序正確性,避免資料的傳送端與接收端出現不同步的情况。 In addition, since the scheduling circuit 155 in the media access control layer circuit 150 can directly read and check the data in the data queue 152 and the management queue 153, the media access control layer control circuit 154 can be accurately and instantly informed Progress of data transmission. Therefore, use the schedule The circuit 155 controls the data transmission timing of the media access control layer control circuit 154, which can improve the timing accuracy of the wireless communication circuit 100 transmitting data to other wireless communication devices, and avoid the situation where the transmitting end and the receiving end of the data are out of synchronization.

請注意,前述的電路架構只是本發明的一實施例,並非局限本發明的實際實施方式。例如,在某些實施例中,前述的資料匯流排140可用其他合適的資料及指令傳輸機制來取代。 Please note that the aforementioned circuit architecture is only an embodiment of the present invention and does not limit the actual implementation of the present invention. For example, in some embodiments, the aforementioned data bus 140 may be replaced with other suitable data and command transmission mechanisms.

又例如,在另一實施例中,排程電路155可耦接於媒體存取控制層暫存器156,並可藉由讀取媒體存取控制層暫存器156的內容,來得知媒體存取控制層控制電路154的資料傳輸進度。在此情况下,排程電路155便無需檢查資料佇列152與管理佇列153的內容,所以也無需耦接於媒體存取控制層儲存電路151。 For another example, in another embodiment, the scheduling circuit 155 can be coupled to the media access control layer register 156, and the media storage can be learned by reading the content of the media access control layer register 156. Take the data transmission progress of the control layer control circuit 154. In this case, the scheduling circuit 155 does not need to check the contents of the data queue 152 and the management queue 153, so it does not need to be coupled to the storage circuit 151 of the media access control layer.

在說明書及申請專利範圍中使用了某些詞彙來指稱特定的元件,而本領域內的技術人員可能會用不同的名詞來稱呼同樣的元件。本說明書及申請專利範圍並不以名稱的差異來做為區分元件的方式,而是以元件在功能上的差異來做為區分的基準。在說明書及申請專利範圍中所提及的「包含」為開放式的用語,應解釋成「包含但不限定於」。另外,「耦接」一詞在此包含任何直接及間接的連接手段。因此,若文中描述第一元件耦接於第二元件,則代表第一元件可通過電性連接或無線傳輸、光學傳輸等信號連接方式而直接地連接於第二元件,或通過其它元件或連接手段間接地電性或信號連接至第二元件。 Certain words are used in the specification and patent application scope to refer to specific elements, and those skilled in the art may use different terms to refer to the same element. This specification and the scope of patent application do not use the difference in names as a means of distinguishing elements, but the difference in function of elements as a basis for distinguishing. "Inclusion" mentioned in the description and the scope of patent application is an open term and should be interpreted as "including but not limited to." In addition, the term "coupled" here includes any direct and indirect connection means. Therefore, if it is described that the first element is coupled to the second element, it means that the first element can be directly connected to the second element through electrical connection, wireless transmission, optical transmission, or other signal connection, or through other elements or connections The means is indirectly electrically or signally connected to the second element.

在說明書中所使用的「和/或」的描述方式,包含所列舉的其中一個項目或多個項目的任意組合。另外,除非說明書中特別指明,否則任何單數格的用語都同時包含複數格的含義。 The description method of "and/or" used in the specification includes any one of the listed items or any combination of multiple items. In addition, unless otherwise specified in the specification, any singular expressions also include the plural meaning.

以上僅為本發明的較佳實施例,凡依本發明請求項所做的等效變化與修改,皆應屬本發明的涵蓋範圍。 The above are only preferred embodiments of the present invention, and any equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

100:無線通信電路 100: wireless communication circuit

102~106:無線通信裝置 102~106: wireless communication device

108:天線 108: antenna

110:物理層電路 110: Physical layer circuit

120:微處理器 120: Microprocessor

130:儲存電路 130: storage circuit

140:資料匯流排 140: data bus

150:媒體存取控制層電路 150: Media access control layer circuit

151:媒體存取控制層儲存電路 151: Media access control layer storage circuit

152:資料佇列 152: Data Queue

153:管理佇列 153: Management Queue

154:媒體存取控制層控制電路 154: Media access control layer control circuit

155:排程電路 155: Schedule circuit

156:媒體存取控制層暫存器 156: Media access control layer register

Claims (7)

一種無線通信電路(100),包含:物理層電路(110),設置成通過天線(108)與其他無線通信裝置進行通信;微處理器(120),設置成產生要傳送給其他無線通信裝置的資料幀;以及媒體存取控制層電路(150),該媒體存取控制層電路(150)包含:媒體存取控制層儲存電路(151),用於儲存資料佇列(152);媒體存取控制層控制電路(154),耦接於該物理層電路(110)、該微處理器(120)、與該媒體存取控制層儲存電路(151),設置成將該微處理器(120)產生的該資料幀,暫存在該資料佇列(152)中;以及排程電路(155),耦接於該媒體存取控制層儲存電路(151)與該媒體存取控制層控制電路(154),設置成控制該媒體存取控制層控制電路(154)將該資料佇列(152)中儲存的資料傳送給該物理層電路(110)的排程,並設置成間歇性檢查該資料佇列(152)的內容,以調整該媒體存取控制層控制電路(154)將該資料佇列(152)中儲存的資料傳送給該物理層電路(110)的時序;其中,該媒體存取控制層控制電路(154)將該資料佇列(152)中儲存的資料傳送給該物理層電路(110)的排程及時序,並不是由該微處理器(120)控制,而是由該排程電路(155)控制,以降低該微處理器(120)與該媒體存取控制層電路(150)之間的溝通負擔。 A wireless communication circuit (100), including: a physical layer circuit (110) configured to communicate with other wireless communication devices through an antenna (108); a microprocessor (120) configured to generate signals to be transmitted to other wireless communication devices Data frame; and media access control layer circuit (150), the media access control layer circuit (150) includes: media access control layer storage circuit (151) for storing data queue (152); media access The control layer control circuit (154), coupled to the physical layer circuit (110), the microprocessor (120), and the media access control layer storage circuit (151), is configured to configure the microprocessor (120) The generated data frame is temporarily stored in the data queue (152); and the scheduling circuit (155) is coupled to the media access control layer storage circuit (151) and the media access control layer control circuit (154) ), set to control the scheduling of the media access control layer control circuit (154) to transmit the data stored in the data queue (152) to the physical layer circuit (110), and set to intermittently check the data queue The content of the row (152) to adjust the timing of the media access control layer control circuit (154) transmitting the data stored in the data queue (152) to the physical layer circuit (110); wherein, the media access The control layer control circuit (154) sends the data stored in the data queue (152) to the physical layer circuit (110) for scheduling and timing, not controlled by the microprocessor (120), but by the The scheduling circuit (155) controls to reduce the communication burden between the microprocessor (120) and the media access control layer circuit (150). 如請求項1所述的無線通信電路(100),其中,倘若該排程電路(155)判定該資料佇列(152)中沒有需要傳送的資料,則該排程 電路(155)會控制該媒體存取控制層控制電路(154)將該無線通信電路(100)的網路佔用權(occupation)提前釋出給其他無線通信裝置使用。 The wireless communication circuit (100) according to claim 1, wherein if the scheduling circuit (155) determines that there is no data to be transmitted in the data queue (152), the scheduling The circuit (155) controls the media access control layer control circuit (154) to release the network occupation right (occupation) of the wireless communication circuit (100) to other wireless communication devices in advance. 如請求項2所述的無線通信電路(100),其中,該微處理器(120)還設置成產生與該資料幀相應的動作幀,而該媒體存取控制層控制電路(154)還設置成將該動作幀暫存在該媒體存取控制層儲存電路(151)的管理佇列(153)中;其中,該排程電路(155)還設置成間歇性檢查該管理佇列(153)的內容,以調整該媒體存取控制層控制電路(154)將該管理佇列(153)中儲存的資料傳送給該物理層電路(110)的時序。 The wireless communication circuit (100) according to claim 2, wherein the microprocessor (120) is further configured to generate an action frame corresponding to the data frame, and the media access control layer control circuit (154) is further provided The action frame is temporarily stored in the management queue (153) of the media access control layer storage circuit (151); wherein, the scheduling circuit (155) is also configured to intermittently check the management queue (153) Content to adjust the timing of the media access control layer control circuit (154) transmitting the data stored in the management queue (153) to the physical layer circuit (110). 如請求項1所述的無線通信電路(100),還包含:儲存電路(130),耦接於該微處理器(120),設置成儲存該微處理器(120)運作所需的軟體程式與相關資料,其中,儲存於該儲存電路(130)的軟體程序不包括有控制資料幀和動作幀傳送給該物理層電路(110)進行處理的時序的相關軟體程序。 The wireless communication circuit (100) according to claim 1, further comprising: a storage circuit (130), coupled to the microprocessor (120), configured to store software programs required for the operation of the microprocessor (120) And related data, wherein the software program stored in the storage circuit (130) does not include the related software program that controls the timing of sending data frames and action frames to the physical layer circuit (110) for processing. 如請求項1所述的無線通信電路(100),其中,該媒體存取控制層電路(150)還包含:媒體存取控制層暫存器(156),耦接於該媒體存取控制層控制電路(154)與該微處理器(120),設置成儲存該媒體存取控制層電路(150)的運作狀態值,可供該微處理器(120)據以判斷該媒體存取控制層電路(150)的運作狀態。 The wireless communication circuit (100) according to claim 1, wherein the media access control layer circuit (150) further includes: a media access control layer register (156) coupled to the media access control layer The control circuit (154) and the microprocessor (120) are configured to store the operating state value of the media access control layer circuit (150), which can be used by the microprocessor (120) to determine the media access control layer The operating state of the circuit (150). 如請求項1所述的無線通信電路(100),其中,該微處理器(120)還設置成產生與該資料幀相應的動作幀,而該媒體存取控制層控制電路(154)還設置成將該動作幀暫存在該媒體存取控制層儲存電路(151)的管理佇列(153)中;其中,該排程電路(155)還設置成間歇性檢查該管理佇列(153)的內容,以調整該媒體存取控制層控制電路(154)將該管理 佇列(153)中儲存的資料傳送給該物理層電路(110)的時序。 The wireless communication circuit (100) according to claim 1, wherein the microprocessor (120) is further configured to generate an action frame corresponding to the data frame, and the media access control layer control circuit (154) is further provided The action frame is temporarily stored in the management queue (153) of the media access control layer storage circuit (151); wherein, the scheduling circuit (155) is also configured to intermittently check the management queue (153) Content to adjust the media access control layer control circuit (154) to manage The timing of the data stored in the queue (153) is sent to the physical layer circuit (110). 一種無線通信電路(100),包含:物理層電路(110),設置成通過天線(108)與其他無線通信裝置進行通信;微處理器(120),設置成產生要傳送給其他無線通信裝置的資料幀與相關的動作幀;以及媒體存取控制層電路(150),該媒體存取控制層電路(150)包含:媒體存取控制層儲存電路(151),用於儲存資料佇列(152)與管理佇列(153);媒體存取控制層控制電路(154),耦接於該物理層電路(110)、該微處理器(120)、與該媒體存取控制層儲存電路(151),設置成將該微處理器(120)產生的該資料幀與相關的動作幀,分別暫存在該資料佇列(152)與該管理佇列(153)中;排程電路(155),耦接於該媒體存取控制層儲存電路(151)與該媒體存取控制層控制電路(154),設置成間歇性檢查該資料佇列(152)與該管理佇列(153)的內容,以控制該媒體存取控制層控制電路(154)將該資料佇列(152)與該管理佇列(153)中儲存的資料傳送給該物理層電路(110)的排程及時序;以及媒體存取控制層暫存器(156),耦接於該媒體存取控制層控制電路(154)與該微處理器(120),設置成儲存該媒體存取控制層電路(150)的運作狀態值,可供該微處理器(120)據以判斷該媒體存取控制層電路(150)的運作狀態;其中,該媒體存取控制層控制電路(154)將該資料佇列(152)與該管理佇列(153)中儲存的資料傳送給該物理層電路(110)的時序,是由該排程電路(155)控制,而不是由該微處理器(120)控制,以降低該微處理器(120)與該媒體存取控制層 電路(150)之間的溝通負擔;其中,倘若該排程電路(155)判定該資料佇列(152)中沒有需要傳送的資料,則該排程電路(155)會控制該媒體存取控制層控制電路(154)將該無線通信電路(100)的網路佔用權提前釋放給其他無線通信裝置。 A wireless communication circuit (100) includes: a physical layer circuit (110) configured to communicate with other wireless communication devices through an antenna (108); a microprocessor (120) configured to generate signals to be transmitted to other wireless communication devices Data frames and related action frames; and a media access control layer circuit (150), the media access control layer circuit (150) includes: a media access control layer storage circuit (151) for storing data queues (152) ) And management queue (153); media access control layer control circuit (154), coupled to the physical layer circuit (110), the microprocessor (120), and the media access control layer storage circuit (151) ), configured to temporarily store the data frame and related action frame generated by the microprocessor (120) in the data queue (152) and the management queue (153), respectively; the scheduling circuit (155), The media access control layer storage circuit (151) and the media access control layer control circuit (154) are coupled to intermittently check the contents of the data queue (152) and the management queue (153), To control the scheduling and timing of the media access control layer control circuit (154) to transmit the data stored in the data queue (152) and the management queue (153) to the physical layer circuit (110); and the media The access control layer register (156), coupled to the media access control layer control circuit (154) and the microprocessor (120), is configured to store the operating state of the media access control layer circuit (150) Value for the microprocessor (120) to determine the operating state of the media access control layer circuit (150); where the media access control layer control circuit (154) queues the data (152) and The timing at which the data stored in the management queue (153) is sent to the physical layer circuit (110) is controlled by the scheduling circuit (155), not by the microprocessor (120), to reduce the micro Processor (120) and the media access control layer The communication burden between the circuits (150); wherein, if the scheduling circuit (155) determines that there is no data to be transmitted in the data queue (152), the scheduling circuit (155) will control the media access control The layer control circuit (154) releases the network occupation right of the wireless communication circuit (100) to other wireless communication devices in advance.
TW107130206A 2018-08-29 2018-08-29 Wireless communication circuit with scheduling circuit in mac layer TWI694684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107130206A TWI694684B (en) 2018-08-29 2018-08-29 Wireless communication circuit with scheduling circuit in mac layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107130206A TWI694684B (en) 2018-08-29 2018-08-29 Wireless communication circuit with scheduling circuit in mac layer

Publications (2)

Publication Number Publication Date
TW202010275A TW202010275A (en) 2020-03-01
TWI694684B true TWI694684B (en) 2020-05-21

Family

ID=70766371

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107130206A TWI694684B (en) 2018-08-29 2018-08-29 Wireless communication circuit with scheduling circuit in mac layer

Country Status (1)

Country Link
TW (1) TWI694684B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI829470B (en) * 2022-12-13 2024-01-11 大陸商星宸科技股份有限公司 Media access control circuit and packet management method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100278062A1 (en) * 2009-04-09 2010-11-04 Qualcomm Incorporated Mac architectures for wireless communications using multiple physical layers
US20120236789A1 (en) * 2006-03-31 2012-09-20 Qualcomm Incorporated Memory management for high speed media access control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120236789A1 (en) * 2006-03-31 2012-09-20 Qualcomm Incorporated Memory management for high speed media access control
US20100278062A1 (en) * 2009-04-09 2010-11-04 Qualcomm Incorporated Mac architectures for wireless communications using multiple physical layers

Also Published As

Publication number Publication date
TW202010275A (en) 2020-03-01

Similar Documents

Publication Publication Date Title
CN108605056B (en) Unidirectional clock signaling in high speed serial links
US6539488B1 (en) System with a plurality of media access control circuits with a shared memory for storing data and synchronizing data from a clock domain to a host clock domain
US7565467B2 (en) USB hub, USB-compliant apparatus, and communication system
US6910092B2 (en) Chip to chip interface for interconnecting chips
US20100188980A1 (en) Explicit Flow Control in a Gigabit/10 Gigabit Ethernet System
US7613849B2 (en) Integrated circuit and method for transaction abortion
US8111623B2 (en) Node, method and system for control of communication including a buffer
US20070047443A1 (en) Channelized flow control
TWI411264B (en) Non-block network system and packet arbitration method thereof
TWI694684B (en) Wireless communication circuit with scheduling circuit in mac layer
US7584307B2 (en) Direct memory access DMA with positional information and delay time
KR20180030985A (en) Method and system for USB 2.0 bandwidth reservation
TW540206B (en) Apparatus and method for sharing memory using a single ring data bus connection configuration
TWI449381B (en) Communication method and bluetooth device
US8732325B2 (en) System and method for transmitting data
CN110875754B (en) Wireless communication circuit capable of improving data transmission efficiency
US6868461B1 (en) Link layer controller that provides a memory status signal to a network layer system in a communication device
US10185606B2 (en) Scalable autonomic message-transport with synchronization
US10701001B2 (en) Wireless communication circuit with scheduling circuit in MAC layer
US7411972B2 (en) Link layer device with non-linear polling of multiple physical layer device ports
CN101594291B (en) Unblock network system and subgroup arbitration method thereof
JP2002185560A (en) Serial transfer method
TWI756444B (en) Network interface cards, fabric cards, and line cards for loop avoidance in a chassis switch
CN103544123A (en) SDRAM controller and access method for SDRAM memory space
JP3043742B1 (en) Bandwidth generation device for uplink transmission information