TWI243565B - Network micro controller and the method for transmitting and receiving data through a wireless network system - Google Patents
Network micro controller and the method for transmitting and receiving data through a wireless network system Download PDFInfo
- Publication number
- TWI243565B TWI243565B TW92133796A TW92133796A TWI243565B TW I243565 B TWI243565 B TW I243565B TW 92133796 A TW92133796 A TW 92133796A TW 92133796 A TW92133796 A TW 92133796A TW I243565 B TWI243565 B TW I243565B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- packet
- interface
- scope
- item
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 35
- 238000012545 processing Methods 0.000 claims abstract description 33
- 230000008569 process Effects 0.000 claims abstract description 9
- 230000005540 biological transmission Effects 0.000 claims description 35
- 238000012937 correction Methods 0.000 claims description 18
- 238000013475 authorization Methods 0.000 claims description 5
- 238000012546 transfer Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 239000000463 material Substances 0.000 claims description 4
- 238000013500 data storage Methods 0.000 claims description 3
- 230000003252 repetitive effect Effects 0.000 claims 2
- 210000000078 claw Anatomy 0.000 claims 1
- 239000011362 coarse particle Substances 0.000 claims 1
- 238000002372 labelling Methods 0.000 claims 1
- 238000007726 management method Methods 0.000 claims 1
- 238000007493 shaping process Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 7
- 230000002087 whitening effect Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 2
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 229940121710 HMGCoA reductase inhibitor Drugs 0.000 description 1
- 108700026140 MAC combination Proteins 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000011257 shell material Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
- Multi Processors (AREA)
Abstract
Description
1243565 五、發明說明(l) 【發明所屬之技術領域】 本發明係有關無線網路通訊,特別是關於一種網路控 制器之系統與架構,以管理一無線通訊網路之存取並適用 各種不同遠端(rem〇te)裝置。 【先前技術】 隨著可攜式電子裝置的出現且廣泛使用於工作、家庭 及旅行’已加速對於更彈性及更有效益之無線網路的需 求。目前,無線網路已成為電子通訊的一種方式,故必須 將這些可攜式裝置與與該些網路使用之通訊協定及介面技 術加以整合。在無線網路環境中,具有無線數據機之可攜 式裝置如個人數位助理(PDA)、行動電話及膝上型裝置等 係屬於實體裝置(physical devices),而其藉以運作之空 間或媒體則係由一網路控制器或系統所管理。 一般而言,配置於網路控制器上之媒體存取控制 (medium access control,MAC)協定係可提供以一組織化 且有效率之模式來存取及共享該媒體的能力。在實質上, MAC協定可確保一次僅允許一工作站(stati〇n)來存取媒體 j f 一通道;然而,在無線網路中,每一工作站對於該 體係具有一獨特之觀點,亦即工作站Λ所觀測到之通遠 ^質係無法被預期等同於另一工作站Β所觀測到之通道性 :古廷明顯不同於傳統有線㈣,於傳統有線網路中, 中之^^Ϊ於通道條件係具有相同觀點。而在無線網路 點則起因於媒體並非限制於任何定義明確 耳體遣界(Physical boundary)。1243565 V. Description of the invention (l) [Technical field to which the invention belongs] The present invention relates to wireless network communication, and in particular, to a system and architecture of a network controller to manage access to a wireless communication network and apply various different Remote (remote) device. [Previous Technology] With the advent of portable electronic devices and their widespread use in work, home, and travel, the demand for more flexible and more efficient wireless networks has accelerated. At present, wireless networks have become a means of electronic communication, so these portable devices must be integrated with the communication protocols and interface technologies used with those networks. In a wireless network environment, portable devices with wireless modems, such as personal digital assistants (PDAs), mobile phones, and laptop devices, are physical devices, and the space or media through which they operate are It is managed by a network controller or system. Generally speaking, a medium access control (MAC) protocol configured on a network controller provides the ability to access and share the media in an organized and efficient mode. In essence, the MAC protocol ensures that only one workstation (statin) is allowed to access the media jf one channel at a time; however, in a wireless network, each workstation has a unique perspective on the system, which is workstation Λ The observed quality of Tongyuan ^ cannot be expected to be equivalent to that observed by another workstation B: Guting is obviously different from the traditional wired network. In the traditional wired network, ^^ is based on the channel condition system. Have the same view. In wireless networks, it is because the media is not restricted to any well-defined physical boundary.
第6頁 1243565Page 6 1243565
此外,無線通訊所使用之標準如IEEE 802· 11之技 術,係著重於出入點式(access point,AP)網路及隨意式 網路(ad-hoc network)的媒體存取控制(MAC)及實體層 (physical layer,PHY)協定;換言之,一通訊標準如 IEEE 802.11係定義媒體存取控制(MAC)裝置及一實體裳置 間的"協定及邏輯介面",而非定義MAC裝置如網路控制器 及一實體裝置如手機之間用以"傳送資料封包(data packet)的方法”。然而,一封包之傳送不管是使用一特定 之時脈週期而以一次八平行位元(bits)連續傳送,或以— 次一位元而連續傳送,封包之傳送方法並沒又被完善定 義。如此便導致於MAC裝置如網路控制器之架構對於其所 支援之網路環境的表現將有一直接衝擊;更重要的是,由 於該些協定係定義一狀態導向(state-〇riented)之過程, 故I知較佳之作法僅能在軟體中配置如此之訊息溝通程 序,以便於達到微型化效果且内嵌於硬體中, 控制器中運作的元素。 W網路 一習知微處理式網路控制器如第一圖所示,為其結 塊示意圖,其網路的實體配置係使用一中心結構式; 撲(network topology),用來控制並決定各網路工 =資料傳送的路徑。如第一圖所示,習知網路控制曰 ΐΪίΐ數裝置,如CSMA/CD控制器11,以藉此使該此裝 置不需透過微處理器10而可獨立與主機端交換資二裝In addition, the standards used in wireless communications, such as IEEE 802 · 11 technology, focus on media access control (MAC) and access point (AP) networks and ad-hoc networks. Physical layer (PHY) protocols; in other words, a communication standard such as IEEE 802.11 defines a "protocol and logical interface" between a media access control (MAC) device and a physical device, rather than defining a MAC device such as "A method for transmitting data packets between a network controller and a physical device such as a mobile phone". However, the transmission of a packet is performed in eight parallel bits at a time regardless of the use of a specific clock cycle ( bits) continuous transmission, or-one bit continuous transmission, the packet transmission method has not been well defined. This leads to the performance of the MAC device such as the network controller architecture for the network environment it supports. There will be a direct impact; more importantly, because these agreements define a state-oriented process, I know that better practices can only configure such information communication procedures in software In order to achieve the miniaturization effect, it is embedded in the hardware and the elements that operate in the controller. W network is a well-known micro-processor network controller as shown in the first figure, its block diagram, its network The physical configuration of the system uses a central structure; network topology is used to control and determine the path of each network worker = data transmission. As shown in the first figure, the conventional network control device such as CSMA / CD controller 11 so that the device can independently exchange data with the host without using the microprocessor 10
控制並決定該等裝置間之選路(1^〇11衍叫),網制器、彳I 須具有各種針對CDMA/CD控制器n之獨立介面,如先必To control and determine the routing between these devices (1 ^ 〇11 derivative), the network controller and the controller must have various independent interfaces for the CDMA / CD controller n.
第7頁 1243565 五、發明說明(3) 出傳送行列(transmit first-in first-out queue,TX FIF0)12、先進先出接收行列(receive first 一 in first — out queue,RX FIF0)14、一直接記憶體存取(direct memory access,DMA)介面 16及一輔助匯流排(auxiHary bus ’AUX BUS)介面18。使用此拓撲之缺點係,若微處理 器10需要增加裝置介面,如複數個CSMA/CD控制器n,則 必須相對增加各種介面,如先出傳送行列(transmit first-in first一out queue ,τχ FIF〇)12、先進先出接收 行列(receive first - in first - out queue,RX FIFO) 14、直接 §己憶體存取(direct memory access,DMA)介 面16及一輔助匯流排(auxiliary bus,AUX BUS)介面18, 這使得網路控制器1的擴充性受到限制,或者,必須選擇 功能較強但較昂貴的微處理器。因此,若網路控制器1係 能夠及時地有硃為每一工作站服務,該網路的效能表現將 被維持’然而’若工作站或裝置間之協定或封包結構係不 相同或不協調’則該網路將遭遇許多訊號碰撞或中斷問 題/從而因無效率的頻寬利用而導致效能降低。另一缺點 係微處理,10的架構係非可規格化scaleable),因 f微處冑器10係適應於所溝通之裝置每愈增加之複雜 度。 另一習知微處理式網路控制器如美國專利u. s. 5,636,140 所揭靈 | ^ ^ 網路控制器之方塊干第甘二圖所示1習知微處理式 於搬移資料,一ii=r,其係於所連接之數個裝置間用 網路控制器2係包括一媒體存取控制器2 〇Page 7 1243565 V. Description of the invention (3) transmit first-in first-out queue (TX FIF0) 12, receive first one in-first — out queue (RX FIF0) 14, one A direct memory access (DMA) interface 16 and an auxiliary bus (AUX BUS) interface 18. The disadvantage of using this topology is that if the microprocessor 10 needs to increase the device interface, such as multiple CSMA / CD controllers n, various interfaces must be relatively added, such as transmit first-in first-out queue (τχ FIF) 12. Receive first-in first-out queue (RX FIFO) 14. Direct § direct memory access (DMA) interface 16 and an auxiliary bus (auxiliary bus, AUX BUS) interface 18, which limits the expandability of the network controller 1, or a more powerful but expensive microprocessor must be selected. Therefore, if the network controller 1 is able to serve each workstation in a timely manner, the performance of the network will be maintained. However, 'if the agreement or packet structure between workstations or devices is different or inconsistent' then The network will suffer from many signal collisions or interruptions / and thus performance degradation due to inefficient bandwidth utilization. Another disadvantage is micro-processing. The architecture of 10 is non-scalable, because the f-microprocessor 10 is adapted to the increasing complexity of the communicated devices. Another conventional micro-processor network controller is disclosed in US Patent US 5,636,140 | ^ ^ The block diagram of a network controller is shown in the second figure. 1 A conventional micro-processor is used to move data. ii = r, which is a network controller 2 between several connected devices, including a media access controller 2 〇
第8頁 1243565 五、發明說明(4) 及一收發介面22,其中媒體存取控制器20包含一微處理器 2 02、一用以儲存使用者資料之靜態隨機存取記憶體 (static random access memory,SRAM)204 及一用以儲存 系統程式之快閃記憶體206 ;而收發介面22包括一暫存器 (register set)220、一先進先出傳送行列(τχ FIFO) 222、一先進先出接收行列(RX FIFO)224、一串列FIFO 226及一傳送/接收狀態控制器(transmit/receiver state machine)228 〇 在系統初始化(initialization)時,微處理器202係Page 8 1243565 V. Description of the invention (4) and a transceiver interface 22, wherein the media access controller 20 includes a microprocessor 202, a static random access memory for storing user data (static random access memory) memory (SRAM) 204 and a flash memory 206 for storing system programs; and the transceiver interface 22 includes a register set 220, a first-in-first-out transmission queue (τχ FIFO) 222, and a first-in-first-out RX FIFO 224, a series FIFO 226, and a transmit / receiver state machine 228 〇 During system initialization, the microprocessor 202 is
從快閃e己憶體206中抓取指令並執行之,微處理器202便根 據該些程式指令而初始化暫存器220,進而傳送註冊位元 及接收註冊位元,以設定媒體存取控制器2〇之模式。在 此I微處理器202係藉由改變暫存器220之設定而將狀態控 制器228設定為一特別之傳送及接收模式,使狀態控制器 228控制傳送行列(TX FIF〇)222及接收行列(τχ —fif〇)224 二者之運作;而傳送行列(TX FIF〇)222及接收行列(RX — FIF0)224則係用以在該微處理器202及一實體裝置3間提供 資料緩衝及穩定資料傳輸速率之作用。The instructions are fetched and executed from the flash memory 206, and the microprocessor 202 initializes the register 220 according to the program instructions, and then transmits the registration bits and receives the registration bits to set the media access control.器 2〇 的 模型。 Device 20 mode. Here, the microprocessor 202 sets the state controller 228 to a special transmission and reception mode by changing the setting of the register 220, so that the state controller 228 controls the transmission rank (TX FIF) 222 and the reception rank (Τχ —fif〇) 224 operation; while the transmission queue (TX FIF〇) 222 and the reception queue (RX — FIF0) 224 are used to provide data buffering between the microprocessor 202 and a physical device 3 and The role of stable data transmission rate.
此網路控制器2架構之缺點係當微處理器2〇2kSRAM 2。04及傳送、接收行列222、224之間搬移資料時,微處理 器202係完全被佔用且阻塞而無法執行任何其他工作;再 ί 組態之總處理能力係直接受微處理器202的工作 執灯能力所影響。 另外,各種不同無線裝置如PDA手機及膝上型系統,The disadvantage of this network controller 2 architecture is that when the microprocessor 202kSRAM 2.0 and the data is transferred between the transmission and reception ranks 222 and 224, the microprocessor 202 is completely occupied and blocked to perform any other work. ; The total processing capacity of the configuration is directly affected by the working lamp capacity of the microprocessor 202. In addition, various wireless devices such as PDA phones and laptop systems,
12435651243565
通常係包括不同積體晶片組或微處理器,特別係在基頻通 訊環境中,以適用不同標準。故,不同積體晶片組或微處 理器通常係分別支援不同通訊標準,而無法同時支援多種 通訊標準,限制無線通訊之使用範圍。 因此’本發明係針對上述之種種問題,提出一種網路 微控,器之架構及其傳送、接收資料之方法,以更有效率 地支援及執行各種不同無線通訊標準。 【發明内容】 本發明之主要目的,係在提供一種網路微控制器及其It usually includes different integrated chipsets or microprocessors, especially in the baseband communication environment to apply different standards. Therefore, different integrated chip sets or microprocessors usually support different communication standards, but cannot support multiple communication standards at the same time, limiting the use of wireless communication. Therefore, the present invention is directed to the above-mentioned problems, and proposes a network micro-controller architecture and a method for transmitting and receiving data to more efficiently support and implement various wireless communication standards. [Summary] The main object of the present invention is to provide a network microcontroller and its
在無線網路中傳送及接收資料之方法,以便使資料封包可 有效率地在封包處理元間搬移,而無須打擾内嵌微處理器 執行其他工作,進而達到極有效率地執行各種不同無線通 訊標準之功效,以改善習知訊號碰撞及性能低之問題。 本發明之另一目的,係在提供一種網路微控制器,具 有降低對内嵌微處理器之效能需求,進而達到低功率消耗 之優點者。 — 本發明之再一目的,係在使不同無線通訊標準間達到 容易重組(configurable)之效能者,以適用各種遠端裝 置。 本發明之又一目的,係在提供一可適應所溝通之裝置 每愈增加之複雜度之網路微控制器。 根據本發明,一網路微控制器係包括一系統匯流排, f係作為其他元件間之溝通橋樑而傳送程式指令及資料, 共用記憶體係連接至系統匯流排,該共用記憶體用以儲A method for transmitting and receiving data in a wireless network, so that data packets can be efficiently moved between packet processing elements without disturbing the embedded microprocessor to perform other tasks, thereby achieving a very efficient implementation of various wireless communications Standard efficacy to improve conventional signal collisions and low performance issues. Another object of the present invention is to provide a network microcontroller, which has the advantage of reducing the performance requirement of the embedded microprocessor and thereby achieving the advantage of low power consumption. — Another object of the present invention is to achieve the effect of easily reconfigurable (configurable) between different wireless communication standards, so as to apply to various remote devices. Another object of the present invention is to provide a network microcontroller that can adapt to the increasing complexity of the devices to be communicated. According to the present invention, a network microcontroller includes a system bus, f is used as a communication bridge between other components to transmit program instructions and data, and a shared memory system is connected to the system bus. The shared memory is used to store
第10頁 1243565 五、發明說明(6) 存複數執行程式碼及資料且配置有至少二存取蟑,一第一 存取埠係直接與系統匯流排形成電連接關係,一第二存取 璋則提供連接至複數封包處理元,以使一資料封包係直接 在該等封包處理元間被搬移,且其中一該封包處理元係為 根據複數無線通訊標準運作者,另有一微處 =排’微處理器係用以控制運作元件之作動連;;: 排經由第一存取璋而存取該記憶體中之執行程式 " 以控制至少一該封包處理元之運作。 資料之方:藉::網路微控制器在無線網路中傳送、接收 裝置間相互傳= 端;: = 近端主機 遠端無線傳輸震置所送出之資。;:法係先接收該 轉化資料流透過!化資料流並儲存之,再將該 ::傳送資料之;法:=;=傳送至該主機裝置; 制緩衝介面傳送至一共置=之一資料經由主機控 :f元將該資料轉換:-ΐ料二ί單元,由該共用資料記 ΪΪ::料封包傳送至無線=路Γ再由一無線收發 …線傳輪裝置接收。 、路中,以便由該遠端之 之目的、技術内纟、。坪加說明,當更 特點及其所達成之功 實施方式】 本發明係H由配置一雙存取 ▲ 之記憶體與一系統匯流 容易瞭解本id:例:亡所附的圖式詳加說明 效。 1243565 五、發明說明(8) 128 kilobytes 容量者。 共用資料記憶單元46係為一具有雙存取埠(dua;l -ported)之靜態隨機存取記憶體(SRAM),第一存取埠係直 接與系統匯流排4 0形成介面連接關係,而第二存取埠則係 在一群封包處理元間共用。此一雙存取埠記憶體(dual — port RAM)可以是虛擬者,也可以是實體者。所謂虛擬的 雙存取埠記憶體是指僅具有單一存取璋之記憶體透過記憶 體控制器利用分時多工(time di vi sion mul tipi iex)的存 取方式而達到雙存取埠記憶體功能,但是内嵌微處理器42 具有較尚的優先權利來存取此一記憶體;而實體的雙存取 埠記憶體則是指真正具有雙存取埠的實體記憶體。 另有一暫存器(register)47係透過系統匯流排40而被 微處理器42使用,以儲存功能參數來指揮封包處理元之行 為,進而藉此使一資料封包被生成,且決定何種型式之資 ,封包係被允許傳送。該些封包處理元包括一主機控制緩 面48、一藍芽基頻傳送器5〇、藍芽基頻接收器52及_ 〇iCe)或曰訊(audi〇)編解碼器54,藉由該些封包處 次=ί,用貝料"己憶單元46形成直接介面連接關係,俾使 二旗嫩t可在該些處理元間有效率地被搬移,而不會打斷 理器42所執行的其他工作。為確保每一封包處理 頻i : I : 3 :資料記憶單元46 ’此第二存取埠之容量或 以便將二 t 八到 division multiplex,TDM)者, si〇t 1谷ΐ Z為許多時間片段或時槽(time一slices 心⑻,使其再分派至任一連接之處理元;又,在該網路Page 10 1243565 V. Description of the invention (6) Store plural execution codes and data and configure at least two access cocks. A first access port directly forms an electrical connection relationship with the system bus, and a second access. Then it is provided to connect to a plurality of packet processing elements, so that a data packet is directly moved between the packet processing elements, and one of the packet processing elements is an operator based on a plurality of wireless communication standards, and another micro-point = row ' The microprocessor is used to control the movement of the operating elements; and: access the execution program in the memory via the first access card to control the operation of at least one packet processing element. Data source: Borrow :: The network microcontroller transmits and receives in the wireless network. The devices communicate with each other = end;: = near-end host. The remote wireless transmission transmits the data sent by the device. ;: The law system first receives the conversion data stream through! Stream the data and store it, and then :: send the data; method: =; = send to the host device; transfer the buffering interface to a common set = one of the data is converted by the host control: f yuan:- Unit 2 of the material is recorded by the shared data :: The material packet is transmitted to the wireless = channel Γ and then received by a wireless transmission ... line transmission device. , In the middle of the road, so as to be internalized by the purpose and technology of the remote end. Pingjia explained, when more features and achievements achieved] The present invention is based on the configuration of a memory with a double access ▲ and a system converged to easily understand this id: For example: the attached drawings detailed description effect. 1243565 V. Description of invention (8) 128 kilobytes capacity. The shared data memory unit 46 is a static random access memory (SRAM) with dual access ports (dua; l-ported). The first access port directly forms an interface connection relationship with the system bus 40, and The second access port is shared among a group of packet processing elements. The dual-port RAM (dual-port RAM) can be virtual or physical. The so-called virtual dual-access port memory refers to a memory with only a single access port to achieve dual-access port memory through the memory controller using time di vision mul tipi iex access method Physical function, but the embedded microprocessor 42 has a higher priority to access this memory; and the physical dual-access port memory refers to the physical memory that actually has dual-access ports. Another register 47 is used by the microprocessor 42 through the system bus 40 to store the functional parameters to direct the behavior of the packet processing unit, thereby enabling a data packet to be generated and determining what type As a result, packets are allowed to be transmitted. The packet processing elements include a host control buffer 48, a Bluetooth baseband transmitter 50, a Bluetooth baseband receiver 52 and _iCe) or an audi0 codec 54. The number of packets is ==, and the direct connection relationship is formed with the shell material " self-memory unit 46, so that the two flags can be efficiently moved between these processing elements without interrupting the processor 42. Other work performed. In order to ensure the processing frequency of each packet i: I: 3: data storage unit 46 'the capacity of this second access port or in order to divide two t eight to division multiplex (TDM), si 0 t 1 ΐ Z is a lot of time Slices or time slots (time-slices), and reassign them to any connected processing element;
12435651243565
五、發明說明(9) :控制器4内係設有-看門狗定時及時脈除頻㈣,由於 看門狗定時及時脈除頻器(watchd〇g timeF and eiwk、 d1Vider)56係以約12MHz之頻率運作,故每—時 時槽係相等於該第二存取埠之容量或頻寬的1/6 1其 第六個時間片段或時槽係不被分派的,以確保一時間週期 係不會因再同步(re-synchronizati〇n)或時脈f曲(^〇以 skew)而錯失。因此,每一封包處理元係能夠依需要而對 共用資料記憶單元46具有相同之存取能力。 其中,藉由共用資料記憶單元46之雙存取埠配置,以 透過其中一存取埠連接至系統匯流排4〇而與内嵌微處理器 40電連接,並同時透過另一存取埠直接連接複數封包處理 疋,係可使資料封包透過共用資料記憶單元46而在數個封 包處理元間有效率地搬移,而不會打擾内嵌微處理器42執 行其他工作,進而可確實達成有效率地執行各種不同無線 通訊標準之功效,改善習知訊號碰撞而導致性能低之問 題,同時由於傳輸效率及性能提昇,故本發明同時又兼具 有降低對内嵌微處理器之效能需求,進而達到低功率消^ 之優點者。 / 主機控制緩衝介面48係支援許多工業標準,如UART介 面482、USB介面484及PCI介面486,或是其他的標準記憶 卡介面,如快閃記憶(Compact Flash,CF)、數位安全 (Secured Digital,SD)及Memory Stick 等。主機控制緩 衝介面48係透過其接收埠或傳送埠而與共用資料記憶單元 46父互作用’這允許主機控制緩衝介面直接於共用資料V. Description of the invention (9): The controller 4 is provided with a watchdog timer and a time pulse elimination frequency, because the watchdog timer and time pulse elimination frequency (watchd〇g timeF and eiwk, d1Vider) 56 is about 12MHz frequency operation, so every hour slot is equal to 1/6 of the capacity or bandwidth of the second access port. The sixth time slot or slot is not assigned to ensure a time period. The system will not be missed due to re-synchronization or clock f-curves (^ 〇 to skew). Therefore, each packet processing unit can have the same access capability to the shared data storage unit 46 as needed. Among them, the dual-access port configuration of the shared data memory unit 46 is used to connect to the system bus 40 through one of the access ports and to be electrically connected to the embedded microprocessor 40, and at the same time directly through the other access port The connection of multiple packet processing units enables data packets to be efficiently moved between several packet processing units through the shared data memory unit 46 without disturbing the embedded microprocessor 42 to perform other tasks, thereby achieving efficient efficiency. The performance of various wireless communication standards is implemented to improve the problem of low performance caused by the collision of known signals. At the same time, the transmission efficiency and performance are improved. Therefore, the present invention also has the requirement of reducing the performance of the embedded microprocessor. To achieve the advantages of low power consumption ^. / Host control buffer interface 48 supports many industrial standards, such as UART interface 482, USB interface 484 and PCI interface 486, or other standard memory card interfaces, such as Compact Flash (CF), Digital Security (Secured Digital , SD) and Memory Stick. The host control buffer interface 48 interacts with the shared data memory unit 46 through its receiving port or transmission port. This allows the host control buffer interface to directly interact with the shared data.
1243565 五、發明說明(10) 記憶單元46存放或抓取運載資料(payload data),以減少 任何過度處理,使内嵌微處理器42僅於已經接收一區塊資 料後才會被打擾,同時使網路微控制器4可適應所溝通之 裝置每愈增加之複雜度;又,主機控制緩衝介面48係包含 有一 512位元組(byte)緩衝處理單元,其係分派成二個256 位元組數據段,一數據段係作為傳送緩衝,另一數據段則 作為接收緩衝,以支援該些介面482、484、486。其中, UART、USB及PCI介面482、484、486係為一主機6及網路控 制器4間之實體介面’而在任一給定之時間,只有一介面 係可被選擇及活化。此外,當微處理器42係被允許存取該 主機6時,則該些介面482、484、486係可直接被内嵌微處 理器42存取,此時主機控制緩衝介面48係暫時停止運作。 另,音訊編解碼器54係與共用資料記憶單元46形成介 面連接’且其對於全雙工(full-duplex)音訊通訊提供數 位類比(digital-to-analog,D/A)及類比數位(analog — to digital ’A/D)之轉換;不論係撥入(in 一 b〇und)或撥出 (out-bound),聲音資料係透過共用資料記憶單元中之 特別緩衝區而以一串資料區塊被交換。由於音訊編碼器 54只有單一存取埠分派於搬移所接收及傳送之音訊資料至 共用資料記憶單元46,故該音訊編碼器54係負責撥入及撥 出音訊資料間之調解。 藍芽基頻傳送器50係用以從共用資料記憶單元46傳送 封包資料至一射頻前端電路(RF fr〇nt end)58,而藍芽基 頻接收器52則用以從射頻前端電路58傳輸資料至共用資料1243565 5. Description of the invention (10) The memory unit 46 stores or retrieves payload data to reduce any over-processing, so that the embedded microprocessor 42 will only be interrupted after it has received a block of data, and at the same time The network microcontroller 4 can adapt to the increasing complexity of the communicated devices. In addition, the host control buffer interface 48 includes a 512-byte buffer processing unit, which is allocated into two 256-bit One data segment is used as a transmission buffer, and the other data segment is used as a reception buffer to support the interfaces 482, 484, and 486. Among them, the UART, USB, and PCI interfaces 482, 484, and 486 are physical interfaces between a host 6 and a network controller 4. At any given time, only one interface can be selected and activated. In addition, when the microprocessor 42 is allowed to access the host 6, the interfaces 482, 484, and 486 can be directly accessed by the embedded microprocessor 42. At this time, the host control buffer interface 48 is temporarily stopped. . In addition, the audio codec 54 forms an interface connection with the shared data memory unit 46 and provides digital-to-analog (D / A) and analog digital (analog) for full-duplex audio communications. — To digital 'A / D) conversion; whether it is dial-in (in-bund) or dial-out (out-bound), the sound data is a series of data areas through a special buffer in the shared data memory unit The blocks are swapped. Since the audio encoder 54 has only a single access port for transferring the received and transmitted audio data to the shared data memory unit 46, the audio encoder 54 is responsible for mediation between dialing in and out audio data. The Bluetooth baseband transmitter 50 is used to transmit packet data from the shared data memory unit 46 to an RF front end circuit 58, and the Bluetooth baseband receiver 52 is used to transmit from the RF front end circuit 58 Data to shared data
1243565 五、發明說明(11) 記憶單元46,藍芽基頻傳送器50及藍芽基頻接收器52之詳 細電路及作用將詳述於下。 本發明之資料傳輸係利用非同步傳輸模式 (asynchronous transfer mode,ATM)技術,在瞭解二傳 送、接收器50、52之前,必須先此技術之架構,atm技術 係在傳送資料時,先會將語音、數據及視訊等資料切割成 複數個固定長度的封包(package/ceii),然後傳送到目的 2 ’到達目的地之後,再重組回原來的資料,由於對於語 音、數據及視訊資料都是採取同一種處理方式,所以ATJf 士許在同一個網路上,同時傳遞不同形式的資料,包括語 ^、數據以及視訊資料。ATM的封包係包含兩個資料部 伤,睛參第四圖所示,為一資料封包之示意圖,一資料封 包7係包含一標頭70及一運載資料(payload)72,運載資料 = ^資訊攔,通常為48 bytes,係為運載真正資料者, 曰、數據及視訊資料;而標頭通常為5 bytes,其則 係為地址資料。 ,再參閱第五圖及第六圖所示,分別為本發明網路微 ^ =之藍芽基頻傳送器及接收器的詳細電路方塊示意 却格留圖所不’藍芽基頻傳送器50係用以從共用資料 58,#兀、6傳送封包資料至射頻前端電路(RF front end) 僂读# 程中,所有關於資料搬移及控制之處理係由一 所整人 制器(tranSmitter State machine,TSM)500 令至&误=調,此傳送狀態控制器(TSM) 500亦負責產生指 、列轉換器504,以使傳送序列轉換器5〇4根據該 12435651243565 V. Description of the invention (11) The detailed circuits and functions of the memory unit 46, the Bluetooth baseband transmitter 50 and the Bluetooth baseband receiver 52 will be described in detail below. The data transmission of the present invention uses asynchronous transfer mode (ATM) technology. Before understanding the second transmission and receiver 50 and 52, the structure of this technology must be first. Atm technology will first transfer the data when transmitting data. Voice, data, and video data are cut into multiple fixed-length packets (package / ceii), and then transmitted to destination 2 'after reaching the destination, and then reassembled back to the original data. Because voice, data, and video data are all taken The same processing method, so ATJf Shi Xu on the same network, at the same time pass different forms of data, including language, data and video data. The ATM packet contains two data parts. See Figure 4 for a diagram of a data packet. A data packet 7 contains a header 70 and a payload 72. The payload = ^ info Block, usually 48 bytes, is for carrying real data, ie, data, and video data; while the header is usually 5 bytes, which is address data. Please refer to the fifth and sixth figures, which are detailed circuit blocks of the Bluetooth baseband transmitter and receiver of the network micro ^ = of the present invention, respectively, but are not shown in the figure. 50 is used to transmit the packet data from the common data 58, #, 6 to the RF front end circuit. During the reading process, all the processing of data transfer and control is performed by a tranSmitter state. machine, TSM) 500 order to & false = tune, this transmission state controller (TSM) 500 is also responsible for generating the index and column converter 504, so that the transmission sequence converter 504 according to the 1243565
指令而作動且指揮每一資料封包至不同跳頻;其中,藉由 暫存器(register) 47儲存微處理器42所指定之功能參數 指揮傳送狀態控制器5 0 0之行為,進而藉此使一資料封包$ 被生成’且決定何種型式之資料封包係被允許傳送。、匕 當一資料從共用資料記憶單元46中之傳送緩衝單元傳 送至藍芽基頻傳送器50時,此資料係被傳送序列轉換器 (transmit serializer)504所接收,傳送序列轉換器5〇4 係以八位元為一位元組(eight bits byte)來接收資料, 且將該平行資料轉換為串列資料流(seriai data strean〇 或運載資料72,一旦資料係已被轉換且連成一串,一桿頭 Μ係附加至運載資料72上,以形成一初始資料封包7,$而 後資料封包7係通過一標頭錯誤更正(header error correction,HEC)元 506、一週期性重複查核(cycHcal redundancy check,CRC)元508 及一授權及加密 (encryption and authorization)元510 等功能元的其中 之一或全部。其中標頭錯誤更正元5〇6通常為8位元 (bit) ’用來更正封包標頭7〇的前四個位元組(4 Bytes)中 的任何一個位元錯誤及偵測多位元錯誤;而授權及加密元 51 〇則用以設定使用者權限及資料加密功能,且所有被傳 送之資料係通過前二功能元506、508,以確保標頭70及運 載資料72係適當地組織在一起,而授權及加密元51〇係在 封包7產生之際被韌體所定義之功能,且係在封包7已通過 一個或其他二個功能後才被執行。 資料一旦於完成錯誤更正處理,在其被傳送前,標頭The instructions act and direct each data packet to a different frequency hopping; among them, a register 47 stores the functional parameters designated by the microprocessor 42 to direct the behavior of the transmission state controller 50 0, thereby using this A data packet $ is generated 'and determines what type of data packet is allowed to be transmitted. When a data is transmitted from the transmission buffer unit in the shared data memory unit 46 to the Bluetooth baseband transmitter 50, the data is received by the transmit serializer 504, and the transmit serial converter 504 The data is received in eight bits byte, and the parallel data is converted into a serial data stream (seriai data strean) or carrying data 72. Once the data has been converted and connected into a string A head M is attached to the carrying data 72 to form an initial data packet 7, $ and then the data packet 7 passes a header error correction (HEC) element 506, and a periodic repeat check (cycHcal) One or all of the functional elements such as redundancy check (CRC) element 508 and an encryption and authorization element 510. The header error correction element 506 is usually 8 bits. Any one of the first four bytes (4 Bytes) of the packet header 70 and a multi-bit error detection; the authorization and encryption element 51 〇 is used to set user permissions and data encryption Yes, and all the transmitted data is through the first two functional elements 506 and 508 to ensure that the header 70 and the carrying data 72 are properly organized together, and the authorization and encryption element 51 is encrypted when the packet 7 is generated. The function defined by the system is executed after the packet 7 has passed one or two other functions. Once the data has been processed for error correction, the header is transmitted before it is transmitted.
12435651243565
70及運載資料72二者皆會先送至一資料白化處理元 whitening process)512,資料白化處理係為一種以一特 定語言擾亂(scrambling)標頭70及運載資料72之方法以 便將該資料從一高度冗長之資料模式打散,加以隨機化使 其隨意排列,避免出現連續太長的"〇 ”或,,丨„編碼,且使封 包中之任一直流(DC)偏壓減至最小。其中,在此過程中使 用之該特定語言係以白化多項式g(j)) = + D4 + 1產 生’且隨後再和標頭70及運載資料72作EX OR運算 (exclusive or運算);而傳送狀態控制器5〇〇亦係為另一 封包處理機制’同樣亦控制白化程序之選擇。在完成白化 處理之後,資料封包7係成為其最後型式且被轉交至前向 錯誤更正(forward error correction,FEC)元,以便在 資料封包7傳送至一時槽形成器(si〇t formauer)5i6之前 先更正任何錯誤。時槽形成器516係用以從一同步文字產 生器(圖中未示)、白化處理元512、前向錯誤更正(fec)元 51 4中來選擇輸入資料流;而後資料封包7係被傳送至一發 送模組518,以作射頻(RF)處理且直接傳送至射頻前端電 路58中之數位類比轉換單元(digital-to-anal〇g converter , DAC) 〇 而藍芽基頻接收器52之詳細電路請參第六圖所示,一 藍芽基頻接收器52係用以從射頻前端電路5 8傳輸資料至共 用資料記憶單元46,藍芽基頻接收器52之作用係與藍芽基 頻傳送器50相反,其係接收一輸入之射頻資料且從中抓取 資料,使資料流回復原狀,再集合資料流使其成為一並立Both 70 and the carrying data 72 are first sent to a data whitening process) 512. The data whitening process is a method of scrambling the header 70 and carrying data 72 in a specific language in order to remove the data from A highly verbose data pattern is broken up, randomized to make it randomly arranged, to avoid continuous " 〇 " or ,,, ", and to minimize any direct current (DC) bias in the packet . Among them, the specific language used in this process is generated by a whitening polynomial g (j)) + + D4 + 1 ', and then an EX OR operation (exclusive or operation) with the header 70 and the carrying data 72; and the transmission The state controller 500 is also another packet processing mechanism. It also controls the selection of the whitening process. After the whitening process is completed, the data packet 7 becomes its final type and is forwarded to the forward error correction (FEC) element, so that the data packet 7 is transmitted to a slot former (i0t formauer) 5i6. Correct any errors first. The time slot former 516 is used to select an input data stream from a synchronous text generator (not shown), whitening processing element 512, and forward error correction (fec) element 51 4; then the data packet 7 is transmitted. To a transmitting module 518 for radio frequency (RF) processing and directly transmitting to a digital-to-analog converter (DAC) in the radio frequency front-end circuit 58; and a Bluetooth baseband receiver 52 The detailed circuit is shown in Figure 6. A Bluetooth baseband receiver 52 is used to transmit data from the RF front-end circuit 58 to the shared data memory unit 46. The function of the Bluetooth baseband receiver 52 is the same as that of the Bluetooth baseband receiver. Conversely, the frequency transmitter 50 receives an input radio frequency data and grabs the data from it, so that the data stream returns to the original state, and then the data stream is aggregated to make it stand-alone.
1243565 五、發明說明(15) 以上所述係藉由實施例說明本發明之特點,其目的在 ,熟習該技術者能暸解本發明之内容並據以實施,而非限 疋本發明之專利範圍,故,凡其他未脫離本發明所揭示之 精神所元成之等效修飾或修改,仍應包含在以下所述之 清專利範圍中。 圖號說明: 1網路控制器 10微處理器 12先進先出傳送行列 14先進先出接收行列 1 6直接§己憶體存取介面1 8輔助匯流排介面 2網路控制器 20媒體存取控制器1243565 V. Description of the invention (15) The above description explains the features of the present invention through the examples. The purpose is that those skilled in the art can understand the content of the present invention and implement it based on the scope of the present invention, rather than limiting the patent scope of the invention Therefore, all other equivalent modifications or modifications that do not depart from the spirit disclosed in the present invention should still be included in the scope of patents described below. Description of figure number: 1 network controller 10 microprocessor 12 FIFO transmission rank 14 FIFO reception rank 1 6 direct § memory access interface 1 8 auxiliary bus interface 2 network controller 20 media access Controller
202微處理器 204 SRAM 2 〇 6快閃記憶體 2 2收發介面 22()暫存器 222先進先出傳送行列 224先進先出接收行列226串列FIFO 2 28傳送/接收狀態控制器3實體裝置 4網路微控制器 42内嵌微處理器 46共用資料記憶單元 48主機控制緩衝介面 484 USB介面 50藍芽基頻傳送器 5〇4傳送序列轉換器 5 0 8週期性重複查核元 5 1 2白化處理元 4 0系統匯流排 4 4非揮發性記憶體 47暫存器 482 UART 介面 486 PCI介面 500傳送狀態控制器 506標頭錯誤更正元 510授權及加密元 514前向錯誤更正元202 Microprocessor 204 SRAM 2 〇6 Flash memory 2 2 Transceiver interface 22 () Temporary register 222 FIFO transmission rank 224 FIFO reception rank 226 Serial FIFO 2 28 Transmission / reception status controller 3 Physical device 4 Network microcontroller 42 Built-in microprocessor 46 Shared data memory unit 48 Host control buffer interface 484 USB interface 50 Bluetooth baseband transmitter 5 0 4 Transmit sequence converter 5 0 8 Periodic repeat check unit 5 1 2 Whitening processing element 4 0 System bus 4 4 Non-volatile memory 47 Register 482 UART interface 486 PCI interface 500 Transmission status controller 506 Header error correction element 510 Authorization and encryption element 514 Forward error correction element
1243565 五、發明說明(16)1243565 V. Description of Invention (16)
516時槽形成器 52藍芽基頻接收器 522同步及更正元 5 2 6解碼元 530標頭錯誤更正元 534接收去序列轉換器 54音訊編解碼器 58射頻前端電路 7資料封包 K運載資料 5 1 8發送模組 5 2 0接收狀態控制器 524前向錯誤更正元 5 28去白化元 532週期性重複查核元 56看門狗定時及時脈除頻器 6主機 70標頭516 slot formation 52 Bluetooth baseband receiver 522 synchronization and correction unit 5 2 6 decoding unit 530 header error correction unit 534 receiving deserializer 54 audio codec 58 RF front-end circuit 7 data packet K carrying data 5 1 8 Sending module 5 2 0 Receive status controller 524 Forward error correction element 5 28 De-whitening element 532 Periodic repeat check element 56 Watchdog timing and pulse eliminator 6 Host 70 header
第21頁 1243565 圖式簡單說明 第一圖為習知微處理式網路控制器之結構方塊示意圖。 第二圖為為另一習知微處理式網路控制器之方塊示意圖。 第三圖為本發明之網路微控制器的架構方塊圖。 第四圖為本發明之一資料封包示意圖。 第五圖為本發明網路微控制器中之藍芽基頻傳送器的詳細 電路方塊示意圖。 第六圖為本發明網路微控制器中之藍芽基頻接收器的詳細 電路方塊不意圖。Page 21 1243565 Brief description of the diagram The first diagram is a block diagram of the structure of a conventional microprocessor network controller. The second figure is a block diagram of another conventional microprocessor network controller. The third figure is a block diagram of the network microcontroller of the present invention. The fourth figure is a schematic diagram of a data packet according to the present invention. The fifth figure is a detailed circuit block diagram of the Bluetooth baseband transmitter in the network microcontroller of the present invention. The sixth figure is a detailed circuit block diagram of the Bluetooth baseband receiver in the network microcontroller of the present invention.
第22頁Page 22
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW92133796A TWI243565B (en) | 2003-12-02 | 2003-12-02 | Network micro controller and the method for transmitting and receiving data through a wireless network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW92133796A TWI243565B (en) | 2003-12-02 | 2003-12-02 | Network micro controller and the method for transmitting and receiving data through a wireless network system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW200520487A TW200520487A (en) | 2005-06-16 |
TWI243565B true TWI243565B (en) | 2005-11-11 |
Family
ID=37025418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW92133796A TWI243565B (en) | 2003-12-02 | 2003-12-02 | Network micro controller and the method for transmitting and receiving data through a wireless network system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI243565B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI403905B (en) * | 2008-10-03 | 2013-08-01 | Mstar Semiconductor Inc | Data transmitting method and circuit device capable of automatic interface selection |
US8547985B2 (en) | 2009-11-10 | 2013-10-01 | Realtek Semiconductor Corp. | Network interface controller capable of sharing buffers and buffer sharing method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7747797B2 (en) * | 2004-09-28 | 2010-06-29 | Microsoft Corporation | Mass storage device with near field communications |
-
2003
- 2003-12-02 TW TW92133796A patent/TWI243565B/en not_active IP Right Cessation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI403905B (en) * | 2008-10-03 | 2013-08-01 | Mstar Semiconductor Inc | Data transmitting method and circuit device capable of automatic interface selection |
US8547985B2 (en) | 2009-11-10 | 2013-10-01 | Realtek Semiconductor Corp. | Network interface controller capable of sharing buffers and buffer sharing method |
TWI416336B (en) * | 2009-11-10 | 2013-11-21 | Realtek Semiconductor Corp | Nic with sharing buffer and method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW200520487A (en) | 2005-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3924248B2 (en) | Digital baseband processor and transceiver unit | |
US5566169A (en) | Data communication network with transfer port, cascade port and/or frame synchronizing signal | |
US11736978B2 (en) | Method and apparatus for receiving CPRI data stream, method and apparatus for receiving ethernet frame, and system | |
EP3041177B1 (en) | Data transmission method and apparatus | |
US7873774B2 (en) | Connections and dynamic configuration of interfaces for mobile phones and multifunctional devices | |
JP3593233B2 (en) | Adapter device for wireless network connection | |
JP3412825B2 (en) | Method and apparatus for switching data packets over a data network | |
JP3539747B2 (en) | Local loopback of isochronous data in switching mechanism | |
EP3573297A1 (en) | Packet processing method and apparatus | |
JP5183922B2 (en) | Variable length data packet heterogeneous network switching system and method, and address table construction method using signaling interface | |
US11805053B2 (en) | Data sending method and forwarding device | |
WO2015100734A1 (en) | Method and device for data processing | |
WO2020043175A1 (en) | Method and apparatus for channelizing physical layer ports | |
WO2014086007A1 (en) | Data processing method, communication single board and device | |
EP3468097B1 (en) | Generating a forwarding table in a forwarding device | |
TWI243565B (en) | Network micro controller and the method for transmitting and receiving data through a wireless network system | |
EP1156423A2 (en) | Information processing apparatus, information processing method and bridge utilizing the same | |
WO2006087773A1 (en) | Protocol converting circuit | |
WO2018196833A1 (en) | Message sending method and message receiving method and apparatus | |
CN105099505B (en) | A kind of communication system suitable for pulse ultra-broad band wireless network | |
USRE39395E1 (en) | Data communication network with transfer port, cascade port and/or frame synchronizing signal | |
TW200527865A (en) | ATM communication system and method with expanded UTOPIA communication interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MK4A | Expiration of patent term of an invention patent |