CN1469610A - Method of controlling radio network access via wired network access interface - Google Patents

Method of controlling radio network access via wired network access interface Download PDF

Info

Publication number
CN1469610A
CN1469610A CNA021407231A CN02140723A CN1469610A CN 1469610 A CN1469610 A CN 1469610A CN A021407231 A CNA021407231 A CN A021407231A CN 02140723 A CN02140723 A CN 02140723A CN 1469610 A CN1469610 A CN 1469610A
Authority
CN
China
Prior art keywords
wireless network
data
access
circuit
descriptor
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.)
Granted
Application number
CNA021407231A
Other languages
Chinese (zh)
Other versions
CN1274126C (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CN 02140723 priority Critical patent/CN1274126C/en
Publication of CN1469610A publication Critical patent/CN1469610A/en
Application granted granted Critical
Publication of CN1274126C publication Critical patent/CN1274126C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides one method of controlling radio network access via wired network access interface. The computer includes one memory, one wired network medium access circuit for access of wired network, and one radio network medium access circuit connected to the wired network medium access circuit via a special interface for access of radio network. The memory has one transmission medium storing space and one receiving medium storing space configured. The radio network medium access circuit accesses the controlling data and package data of the storing space based on one descriptor, and the controlling data is used in controlling radio network medium access circuit and returning the state message of the transmission package and the receiving package.

Description

Method by the access of cable network access interface control wireless network
Technical field
The present invention relates to a kind of method of access wireless network, particularly a kind of method of controlling the wireless network access by a cable network access interface.
Background note
In modern information-intensive society, network can be with lot of data, information, audio and video information and knowledge, form with the digital and electronic signal exchanges propagation apace, promote the lifting of interpersonal communication, experience accumulation, exchange of knowledge and technology, so network has become one of social important foundation of modern money fortune.After the cable network capital construction was extensively popularized, the construction development of wireless network also vigorously launched.The cable network data transmission is comparatively stable, and the safety of data and privacy have preferable guarantee; Wireless network then can be broken away from the constraint of Network transmission line, allows the user can be in the mode of motor-driven (mobile), portable (portable), whenever and wherever possible via wireless network access various network resources.Because cable network, wireless network differ from one another, and how to allow the user reach the terminating machine resource at lower cost and come two kinds of different networks of access effectively, also become the emphasis of information dealer research and development.
Please refer to Fig. 1.Fig. 1 is the functional block diagram of a known computer 10.Be provided with central processor CPU 0, north bridge circuit NB0, south bridge circuit SB0, memory 12, cartographic accelerator card 16, display 18, external device P0, storage device M0 in the computer 10.For access cable network 22A and wireless network 22B, can be equiped with spider lines card 20A and wireless network card 20B in the computer 10.Central processor CPU 0 is used for the operation of master control computer 10; North bridge circuit NB0 is electrically connected between central processor CPU 0 and memory 12, the cartographic accelerator card 16, is used for managing the data contact transmission of triangular high speed.Required data or program when memory 12 is used for storing central processor CPU 0 running in volatile mode.Central processor CPU 0 will be shown in user's graph data, transfers to display 18 after being handled by cartographic accelerator card 16, is displayed it by display 18.South bridge circuit SB0 then is connected in north bridge circuit NB0 and a bus 24 (similarly is a pci bus, peripheral communications interface bus) between, then being connected with external device P0 on the bus (similarly is the input unit of keyboard, mouse etc., or adlib or the like), be used for storing up the storage device M0 (similarly being hard disk, CD player or the like) of data and cable network card 20A, wireless network card 20B in nonvolatile mode.South bridge circuit SB0 is used for respectively installing and 0 transfer of data than low speed of central processor CPU on the management bus 24.
In the network access device of computer 10, cable network card 20A can be a cable network card of following IEEE 802.3 wired Local Area Networks (LAN, Local Area Network) specification; As a cable network circuit, be provided with a medium accesses (Medium Access) circuit MAC1 and an actual layer circuit PHY1 among the cable network card 20A.Wireless network card 20B then can be a wireless network circuit of following IEEE 802.11 radio area networks (WLAN, wireless Local Area Network), equally also is provided with medium accesses circuit MAC2 and physical layer circuit PHY2.At open system interconnection (OSI, Open SystemInterconnection) under the network architecture, medium accesses circuit MAC1 and MAC2 are used for realizing the function of cable network and wireless network medium access control layer (MAC layer, Medium AccessControl layer) respectively.When computer 10 was wanted the access network resource, the medium accesses circuit can be obtained the data of digital pattern by its relevant actual layer circuit, is handled and be uploaded to host computer; Computer 10 will transfer to the data of network, is packed, arranges the physical address of network access by the medium accesses circuit, and the transfer of data after will packing is to corresponding physical layer circuit; Similarly, network is also unpacked it or the like by the medium accesses circuit by the data that correspondent entity layer circuit transmits.
Physical layer circuit PHY1, PHY2 in each network card, it then is physical layer (Physical layer) function that is used for respectively realizing in cable network and the wireless network, the data that transfer to network are after the processing through the medium accesses circuit, transferring to corresponding physical layer circuit, is to be fit to the signal of transmission to transfer out by the physical layer circuit with its coded modulation; The physical layer circuit also can receive signal that network transmits and it is separated the volume demodulation, so that the data in the signal are taken out, is back to corresponding medium accesses circuit.Physical layer circuit PHY1 in the cable network access is connected in cable network 22A (for example being another terminating machine or server in the cable network) with transmission line 23; Physical layer circuit PHY2 in the wireless network access also includes baseband circuit, radio circuit (not shown) or the like circuit, the data that baseband circuit can transmit medium accesses circuit MAC2 are carried out the fundamental frequency processing, by radio circuit it are launched with wireless system again; The wireless radiofrequency electric signal that wireless network transmits also can be received by radio circuit, is converted to electronic data to be back to medium accesses circuit MAC2 by baseband circuit after with its demodulation.
When computer 10 was wanted actual access network resource, each network card all can cooperate a driver that is loaded into memory 12, manages the data of coming and going between computer 10 and network.With cable network card 20A is example, when computer 10 begins to want access cable network 22A, the cable network driver 26A that is loaded in the memory 12 can set up a plurality of tactic descriptors (descriptor) TxA (different descriptors is denoted as TxA (1) respectively ... to TxA (n1)) in memory 12, and the descriptor RxA (different descriptors is denoted as RxA (1) respectively ... to RxA (m1)) that arranges in regular turn; And in memory configuration storage space, for example transmit memory space DTA and receive memory space DRA.Each descriptor is used for writing down the address of a corresponding memory space, to point to this corresponding memory space as a pointer (pointer).When computer 10 will reportedly be transported to cable network 22A with a stroke count, can these data be deposited to memory space DTA by cable network driver 26A, and arrange a descriptor TxA (for example being descriptor TxA (1)) to point to this memory space.When the medium accesses circuit MAC1 among the cable network card 20A will begin that this stroke count reportedly transported to cable network 22A, will from the descriptor TxA (1) the memory 12, find these data to exist among that memory space DTA, and by obtaining this data among this memory space DTA; Next medium accesses circuit MAC1 just can add these data header (header) and mark tail (like FCS FCS, Frame Check Sequence), and transmits it on the cable network 22A by actual layer circuit PHY1 with these data of packing.If a memory space DTA can't write down this data fully, then these data can be stored among a plurality of different memory space DTA by segmentation, and arrange a plurality of descriptor TxA to correspond to these memory spaces DTA respectively.For instance, if these data will leave among three different memory space DTA, cable network driver 26A can arrange three continuous descriptor TxA (1), TxA (2) and TxA (3) to point to this three memory spaces, and in descriptor TxA (1), TxA (2) mark of mark " continuation access ", so that allow medium accesses circuit MAC1 know after access finishes these two descriptors memory space DTA pointed, also to continue the memory space DTA that the next descriptor of access points in proper order.And in the end among the descriptor TxA (3), will be marked with the mark of " stopping access ", allow no longer access subsequent descriptions of medium accesses circuit MAC1 symbol (just after the descriptor TxA (4)) memory space DTA pointed.Via above-mentioned arrangement, medium accesses circuit MAC1 is correct access descriptor TxA (1), TxA (2) of energy and TxA (3) memory space DTA pointed just, the complete data that will transfer to cable network 22A in the memory 12 that obtain.When reality is implemented, medium accesses circuit MAC1 can have directmemoryaccess mechanism (Direct Memory Access engine, DMAengine), allow the data of medium accesses circuit MAC1 in can direct access storage 12, to save the resource of central processor CPU 0, the access efficiency of expedited data.
Be similar to the above-mentioned mechanism that is used for managing the transmission data, cable network driver 26A also can set up in memory 12 and be used for the descriptor RxA of management of data received; Each descriptor RxA has a pointer, points to a corresponding memory space DRA.When cable network card 20A receives the data that will transfer to computer 10 by cable network 22A, also can be combined with data storing after spider lines driver 26A will unpack in a memory space DRA, and set the descriptor RxA (for example being descriptor RxA (1)) that points to this memory space accordingly.So, central processor CPU 0 just can be obtained the data that transmitted by cable network 22A by the memory space DBA that descriptor RxA (1) points to.Be similar to the administrative mechanism of transmission data, if will there be a plurality of different memory spaces in the data that cable network card 20A receives, cable network card 20A also can be combined with spider lines driver 26A and arrange a plurality of corresponding descriptor RxA to point to these memory spaces.Under preferable situation,, all be set to the data structure of ring-type no matter be descriptor TxA or descriptor RxA.With descriptor TxA is example, along with the data that will transfer to cable network 22A are deposited in different memory space DTA by pen, cable network driver 26A can be according to descriptor TxA (1), the order of TxA (2) or the like is pointed to different memory spaces with each descriptor, cable network card 20A also can be according to descriptor TxA (1), the memory space that the order of TxA (2) or the like comes each indicator device of access to point to, by the time use last descriptor TxA (n1), cable network driver 26A will circulate and pull over to first descriptor TxA (1), continues with descriptor TxA (1), the order of TxA (2) is pointed to the memory space of subsequent transmission data storing; And cable network medium accesses circuit MAC1 also can be according to the circular order of descriptor, the memory space that each descriptor of access points to.In like manner, descriptor RxA is recycled according to above-mentioned mode.
Be similar to the principle of above-mentioned cable network access, also be to cooperate wireless network card 20B to set up a plurality of descriptor TxB (different descriptor TxB is denoted as TxB (1) respectively to TxB (n2)) and descriptor RxB (different descriptor RxB is denoted as RxB (1) respectively to RxB (m2)) in the known computer 10, be used to refer to respectively to memory space DTB and DRB with wireless network driver 26B.The data that transfer to wireless network 22B can exist among the descriptor TxB memory space DTB pointed, and the data that received by wireless network 22B then can exist among the descriptor RxB memory space DRB pointed.Utilize descriptor TxB and RxB, medium accesses circuit MAC2 and central processor CPU 0 just can be by obtaining the data that will transfer to wireless network in the memory 12, and by the data that wireless network transmits, realize the purpose of computer 10 access wireless network 22B.
Though cable network card 20A and wireless network card 20B are the related datas of coming the supervising the network access with descriptor, but the employed descriptor of cable network access (just descriptor TxA and RxA) and both data structures of the employed descriptor of wireless network access (just descriptor TxB and RxB) are also inequality.In order to adapt to the special requirement of wireless network, the descriptor of wireless network access also will be indicated the special state of wireless network access in addition.For instance, because there is not the real network transmission line to connect between wireless network 22B and the computer 10, when computer 10 will transmit a wireless communication data to wireless network 22B, computer 10 can't determine also whether this is received by the terminating machine of the wireless network 22B other end with the wireless communication data that wireless mode transfers out smoothly by wireless network card 20B, this moment, central processor CPU 0 can require wireless network 22B after receiving this wireless network data, and response (acknowledge) data that passback one is confirmed to receive are to computer 10.When reality is implemented, when central processing unit CPU0 is stored to a memory space DTB by wireless network driver 26B with this wireless communication data, in the time of can arranging a descriptor TxB to point to this memory space DTB, and special instructions will require the affirmation of this wireless communication data is responded to wireless network 22B in this descriptor TxB; When the medium accesses circuit MAC2 among the wireless network card 20B obtains this wireless communication data according to this descriptor TxB, will obtain and to respond the wireless network requirement by this descriptor TxB.So, when medium accesses circuit MAC2 packs this wireless communication data, will add the related data that requires response at the header place, wireless communication data after will packing again transfers to physical layer circuit PHY2, by physical layer PHY2 it is transferred to wireless network 22B wirelessly.
In fact, under wireless network architecture, except above-mentioned response requires, also have many settings that are different from cable network such as IEEE 802.11.Similarly be that wireless network is to transmit data wirelessly, except the both sides of sending and receiving data, any third party that can receive wireless signal can both intercept and capture wireless transmission data.Do not leak in order to ensure data content, just stipulated basic wired equivalent privacy (WEP under IEEE 802.11 wireless network architectures, Wired-Equivalent Privacy) pattern allows the both sides of sending and receiving data that wireless transmission data is encrypted, and keeps basic data-privacy; And central processor CPU 0 also is to come control medium access circuit MAC2 whether will come the access wireless Internet resources with the pattern of wired equivalent privacy with descriptor TxB, RxB under the wireless network driver 26B.In addition, in order to adapt to the motor-driven characteristic of taking of terminating machine under the wireless network architecture, under wireless network architecture, each terminating machine is to be the relay station of network with an access station (access point, or claim base station).More particularly, when a terminating machine (similarly being computer 10) when wanting the resource of access wireless network 22B, this terminating machine can add a set of basic by an access station tissue (BSS, Basic Service Set) in the mode of radio contact; Under the same set of basic a plurality of terminating machines can be arranged, all get in touch with the access station of this set of basic wirelessly, the wireless network entity address at this access station just can be used as the address (BSSID, BSS identity) of this set of basic.When first terminating machine that is under the jurisdiction of one first set of basic will be got in touch with second terminating machine that belongs to another second set of basic, first terminating machine is the access station of contact first set of basic earlier, by this access station by the compartment system service (DSS under this wireless network, Distribution System Service) the access station of contact second set of basic, get in touch to second terminating machine by the access station of this second set of basic again, finish getting in touch between first terminating machine and second terminating machine.In above-mentioned wireless network associated process, each terminating machine will be got in touch with each access station, add/withdraw from a set of basic, by access station access compartment system service or the like item, all will be by connect address, affirmation (acknowledge), the beacon (beacon) of set of basic during like transfer of data between terminating machine and the access station each other with cura specialis (management), control (cortrol) frame data ... or the like; As the known structure of Fig. 1, must produce the keyholed back plate signal or the state information of many inside between each hardware in the computer, known by central processor CPU 0 and medium accesses circuit MAC2 by descriptor TxB, RxB.In comparison, in the cable network access, because the approach of transfer of data has the guarantee of physical network transmission line, the mechanism of its access control is relatively just comparatively simplified, numerous and diverse the descriptor of the employed descriptor of cable network access in the wireless network access, therefore, both employed descriptors and inequality also can't be shared software and hardware resources in the known technology.
Because the access of cable network 22A and wireless network 22B has above-mentioned difference, the descriptor (TxB and RxB) that the wireless network access is used and the descriptor (TxA, RxA) of cable network access are also inequality can not be compatible.And when computer in the known technology 10 was wanted the wired and wireless network resource of access simultaneously, cable network driver 26A and wireless network driver 26B also will set up different descriptor wired and that wireless network is used separately.In highly networked information-intensive society of modern times, the network concatenation ability has become the primary demand of computer; Effectively integrating the access capability of wire and wireless network, simplify wire and wireless network access controlling mechanism, also is the emphasis that the information industry is endeavoured to research and develop.Yet, in known technology, because the difference of wire and wireless descriptor format makes wired, wireless network driver also can't integrate; In like manner, since the descriptor that wired, wireless driver is set up and incompatible will also be difficult for integrating to simplify circuit structure at hardware aspect by the medium accesses circuit MAC1, the MAC2 that obtain network access-related information in the descriptor.
Summary of the invention
Therefore, main purpose of the present invention is to provide a kind of method and relevant apparatus by the access of cable network access interface control wireless network, with ability wired in the integrate computer terminating machine, the wireless network access, simplifies the configuration of network access.
Have in the known technology, cable network card, wireless network card all will cooperate driver separately respectively, take different memory spaces in the memory of computer, and the data of network access also are to come access by the different descriptor of form respectively; Because descriptor format can not be compatible in wired, the wireless network access, wired, wireless network driver can't be integrated, the hardware net card wired, that the wireless network access is used, its running structure also can't further be simplified.
In preferred embodiment of the present invention, be that driver with the wireless network access is integrated in the driver of cable network access, control wired, wireless network access with the unified descriptor of cable network access and the memory space that these descriptors point to of utilizing.At hardware aspect, then be that the medium accesses of cable network access is circuit integrated in south bridge circuit, make the physical layer circuit that only need be provided with the spider lines access in the cable network card; And wireless network card is the medium accesses circuit that is connected in cable network.When computer will be controlled the wireless network access, be that the keyholed back plate data that originally will be recorded in the wireless network descriptor are used as a control data, be stored in cable network descriptor memory space pointed in the lump together with the data of access wireless network.The medium accesses circuit of cable network can be combined with the driver of spider lines access, by the data of the control data of obtaining the wireless network access in the cable network descriptor and access wireless network and transfer to wireless network card, allow wireless network card can be according to control data with the transfer of data of access wireless network to wireless network.When wireless network card receives the response of data that wireless network transmits and keyholed back plate, also it can be write to the memory space that the cable network descriptor points to, allow the central processing unit in the computer can be combined with the data that the spider lines driver comes the access wireless network to transmit.
The present invention has also disclosed a kind of computer system, and this computer system comprises central processing unit; Memory, required data when being used for temporary this central processing unit running; Be integrated with the chipset of spider lines medium accesses circuit, be coupled to this central processing unit and this memory; This computer system can low-costly expand a wireless network card, and it has wireless network medium access circuit and physical layer circuit.The wireless network medium access circuit couples this physical layer circuit, is coupled to this chipset by the MII interface, is used for and this cable network medium accesses circuit communication (communicate); Wherein the cable network driver of this cable network medium accesses circuit can require this computer in the memory configurations memory space in start process, preferably comprises a transmission memory space and and receives memory space; And this wireless network medium access circuit is by the keyholed back plate data and the bag data of this interface and this this memory space of cable network medium accesses circuit access.
Because the technology that the present invention discloses can be integrated software and hardware resources wired, the wireless network access, simplifies software and hardware configuration wired, the wireless network access, and the access of increase computer terminals is wired, the usefulness of wireless network.
Description of drawings
Fig. 1 is that a known electric brain system is wired, the functional block diagram of wireless network access.
Fig. 2 is the functional block diagram of computer system among the present invention.
Fig. 3 is the schematic diagram of related data in the memory during computer wireless network access among Fig. 2.
Embodiment
Please refer to Fig. 2.Fig. 2 is the functional block diagram of computer 30 preferred embodiments among the present invention.Be provided with central processor CPU 1, north bridge circuit NB1, south bridge circuit SB1, cartographic accelerator card 36, display 38, memory 32, storage device M1, external device P1 in the computer 30; Want access cable network 42A, can add spider lines card 40A in the computer 30; Want access wireless network 42B, can install wireless network card 40B additional in the computer 30.Central processor CPU 1 is used for the running of master control computer 30, and memory 32 is used for the data and the program that need when volatility ground stores central processor CPU 1 running; Computer 30 will be shown in user's graphic picture, then after the graphics process via cartographic accelerator card 36, transfers to display 38 again and shows.North bridge circuit NB1 is electrically connected between memory 32, central processor CPU 1, the cartographic accelerator card 36, and the high-speed data that is used for coordinating between these devices exchanges.Be used for being the storage device M1 (similarly being hard disk, CD player or the like) of non-volatile data storing, and external device P1 (similarly is the input unit of mouse, keyboard etc., or adlib or the like) then being connected in south bridge circuit SB1 by a bus 44 (for example being USB, pci bus), the low speed data of being controlled between these devices and north bridge circuit NB1 by south bridge circuit SB1 transmits.
In the preferred embodiment of the present invention of Fig. 2, the used medium accesses circuit MAC3 of cable network access (for example being the wired Local Area Network under IEEE 802.3 agreements) can be integrated in the same South Bridge chip 41 with south bridge circuit SB1.So, only need be provided with the physical layer circuit PHY3 of spider lines among the cable network card 40A, be connected in cable network 42A with transmission line 43.Medium accesses circuit MAC3 is as a cable network circuit, be combined with the cable network physical layer circuit PHY3 among the spider lines card 40A, just can finish the medium accesses key-course under the open system interconnection network framework and the function of physical layer respectively, allow the computer 30 can access cable network resources.Be similar to the situation of cable network access among Fig. 1, when computer 30 is wanted access cable network 42A, central processor CPU 1 can be written into and carry out a cable network driver 46A in memory 32, and in memory 32, establish the descriptor TxC and the RxC (different descriptor TxC, RxC is denoted as TxC (1) respectively ... TxC (n3), and RxC (1) ... RxC (m3)) of spider lines; Each descriptor all points to corresponding memory space transmission memory space DTC and receives memory space DRC.When computer 30 will reportedly be transported to cable network 42A with a stroke count, then be combined with spider lines driver 46A these data are stored in (or a plurality of) memory space DTC, and arrange descriptor TxC to point to the memory space DTC at this data place.And cable network medium accesses circuit MAC3, just can be according to the descriptor TxC in the memory 32, with the directmemoryaccess mechanism (DMAengine) of medium accesses circuit MAC3 itself, to transfer to data on the cable network 42A by obtaining this in the memory 32.After cable network medium accesses MAC3 is with the packing of this data, just can transmit it to cable network physical layer circuit PHY3, transfer to cable network 42A by physical layer circuit PHY3 after with its coded modulation.In like manner, cable network 42A reaches the data of computer 30 by transmission line 43, also can by cable network physical layer circuit PHY3 receive and the decoding demodulation after, be back to cable network medium accesses circuit MAC3.After cable network access circuit MAC3 unpacked these data, the data storing after just can will unpacking by cable network driver 46A was in (or a plurality of) memory space DRC, and installation corresponding descriptor RxC points to these memory spaces.So, central processor CPU 1 just can pass through to obtain the data that this is transmitted by cable network 42B among the memory space DRC of descriptor RxC sensing.
In the present invention's preferred embodiment shown in Figure 2, among the employed wireless network card 40B of wireless network access, be provided with medium accesses circuit MAC4 and physical layer circuit PHY4, be used for realizing the function of wireless network medium access control layer and physical layer respectively.The present invention and known technology difference, be that the present invention is the medium accesses circuit MAC3 that the medium accesses circuit MAC4 of wireless network is connected in cable network, wireless network transmissions make cable network medium accesses circuit MAC3 that wireless network medium access circuit MAC4 is considered as a physical layer circuit (being similar to physical layer circuit PHY3), so that can be used the software and hardware resources of cable network medium accesses circuit MAC3; And cable network medium accesses circuit MAC3 can unify by a coffret (for example is medium independent interface, MII, Medium IndependentInterface) and the transfer of data that directmemoryaccess mechanism is obtained to cable network card 40A (so that utilizing cable network), or transfer to wireless network card 40B, to utilize wireless network transmissions.Cooperate such hardware structure, wireless network driver 46B also is integrated into cable network driver 46A, cable network driver 46A detect medium accesses circuit MAC3 running to as if cable network card 40B in physical layer circuit PHY3, or be taken as the network access circuit MAC4 of another physical layer circuit among the wireless network card 40C, and select whether to start wireless network driver 46B.So, the cable network access interface that can be provided by cable network medium accesses circuit MAC3 and cable network driver 46A just, the access that comes 30 pairs of wireless networks of controlling computer.
As previously mentioned, known technology employed exclusive descriptor in the wireless network access not only is used to refer to corresponding memory space, also is used for writing down being in particular the designed inside keyholed back plate data of wireless network access; Must produce keyholed back plate (control) signal or state (status) information of many inside between each hardware in the computer, and these information can't co-registered in the employed descriptor of cable network access.So when the present invention will control the wireless network access by the cable network access interface, converging above-mentioned relevent information whole was keyholed back plate data, have in the memory space that the descriptor of spider lines access points to.Please refer to Fig. 3 (and in the lump with reference to figure 2), when Fig. 3 shows the present invention and utilizes the access of cable network access interface control wireless network, the schematic diagram of related data structures in the memory 32.When computer 30 will reportedly be transported to wireless network 42B with a stroke count, the wireless network driver 46B among the cable network driver 46A was packet 50A with these data packings (encapsulate).Packet 50A can be divided into some sections, and wherein these data that will transfer to wireless network are taken as a data pay(useful) load, is recorded among data pay(useful) load (data payload) the district DP; And the associated inner keyholed back plate data of wireless network card access, then the control data district CTx in packet 50A is put in order in remittance.In preferred embodiment of the present invention, wireless driver 46B is to different data pay(useful) loads, produce different identification codes, the data that make each will transfer to wireless network all have the identification code of a uniqueness, and also warded off an identification code field ID0 among the control data district CTx in addition, be used for writing down this identification code.In addition, as previously mentioned, no matter in wired or wireless network access, the data that corresponding wired or wireless driver all can transfer to network add a header with these data of packing, and the transfer of data after will being packed by the physical layer circuit of correspondence again is to network.In the present invention, corresponding to being recorded in the data that will transfer to wireless network among the data pay(useful) load district DP, then be by the employed header of wireless network driver 46B decision wireless network access, and the header of this corresponding data pay(useful) load is recorded in header district H among the packet 50A in the lump.
When wireless network driver 46B packs the data pay(useful) load behind packet 50A in the lump together with the keyholed back plate data of other wireless network accesses, packet 50A just can be by the management of cable network driver 46A, deposit one (or a plurality of) memory space DTC in, and arrange corresponding cable network descriptor TxC to point to these memory spaces DTC, as shown in Figure 3.In other words, although the data among the packet 50A will transfer to wireless network, in the present invention, it is the data that will transfer to cable network that packet 50A can temporarily be used as, and is temporarily stored in the memory space of cable network descriptor TxC sensing.The descriptor TxC that cooperates wired driver 46A and cable network access, the medium accesses circuit MAC3 of cable network just can obtain packet 50A in the memory 32 with storage direct access mechanism (DMA), and packet 50A is transferred among the wireless network card 40B; And wireless network medium access circuit MAC4 is after receiving packet 50A, just can be by taking out the employed keyholed back plate data of wireless network access among the control data district CTx wherein, take out the used header of wireless network transmissions by header district H, by taking out the data pay(useful) load among the data pay(useful) load district DP, just to transfer to the data of wireless network 42B again.Wireless network medium access circuit MAC4 just can utilize header that the data pay(useful) load is packed then, and follow the keyholed back plate Data Control wireless network medium access circuit MAC4 and the physical layer circuit PHY4 of wireless network access, the data pay(useful) load that packing is good utilizes wireless mode to transfer to wireless network 42B.
After wireless network card 40B receives the data that transmitted by wireless network 42B by wireless network 42B, the medium accesses circuit MAC4 of wireless network is with the header in these data, data pay(useful) load and the related radio network access control data that produced, pack respectively in the header district of packet 50B H2, data pay(useful) load district DP2 and control data district CRx, and packet 50B is transferred to the medium accesses circuit MAC3 of cable network.And cable network medium accesses circuit MAC3 can utilize directmemoryaccess mechanism that this packet 50B is stored in (or a plurality of) data space DRC, and arranges corresponding cable network descriptor RxC to point to this data space, as shown in Figure 3.So, central processor CPU 1 just can have been obtained data that wireless network 42B transmits by descriptor RxC.As previously mentioned, when computer 30 is will be with access station in the wireless network interactive, can get in touch back and forth with relevant management, control frame (management frame and control frame) data mutually; And necessary keyholed back plate (control) signal or state (status) information that produces many inside between interior each hardware of computer, when wireless network card 40B produces the keyholed back plate data, the keyholed back plate item of just will being correlated with is recorded among the control data district CRx of packet 50B, for instance, wireless network card 40B is for receiving the bag of coming in, test to judge whether bag itself makes a mistake in transmission course, to produce bag accepting state (status), and wireless driver 46B also obtains packet 50B keyholed back plate data wherein by organic network pointer RxC of wired driver 46A, and does further response.
Further, the configuration in the packet 50A, data that medium accesses circuit MAC4 transmits at wireless network and the packet 50B that produces also can be provided with an identification code field ID1 in control data district CRx.As previously mentioned, when computer 30 with an initial data transfer during to wireless network 42B, can produce a pair of identification code that should a primary data, and can require wireless network 42B passback one to confirm the response data of receiving; When wireless network medium access circuit MAC4 receives the response data that wireless network 42B sends back at this primary data, just can be with this data transmission state, pack in the lump in the control data district of reception (Rx) packet together with its relevant identification code with the accepting state of bag at present, wireless driver 46B can pass through wired driver 46A; Perhaps, after wireless network card 40B whenever spreads out of a bag, can expectation the other side in a scheduled time, pass the response data (Ack frame) that aforesaid affirmation is received back, when exceeding the response data that this scheduled time do not receive that this affirmation is received, wireless network card 40B can try to retransmit (retry), through failure for several times, wireless network card 40B itself can produce corresponding inner keyholed back plate data, through cable network medium accesses circuit MAC3, utilize direct memory access (DMA) (DMA) with this inner keyholed back plate deposit data to descriptor memory pointed, so that the message of this bust this is repaid to host computer.In other words, if the data pay(useful) load among Fig. 3 packet 50B is the response data that wireless network 42B is returned at data pay(useful) load among the packet 50A, then the identification code put down in writing in the field ID1 of packet 50B of the medium accesses circuit MAC4 of wireless network is just the same in the identification code that field ID0 is put down in writing with packet 50A.So, when central processing unit CPU1 obtains the data that wireless network 42B transmits according to descriptor RxC after, just can be by judging in the identification code that these data are whether corresponding to data that transferred to wireless network.On the other hand, whether like wireless network card 40B successfully transfers to wireless network with data, or whether wrong or the like the message about Network Transmission, accepting state of the bag that receives by wireless network card 40B, also can cooperate identification code to be recorded in the lump in the keyholed back plate data.By this side's mode, wireless network card 40B just can be learnt by central processor CPU 1 by the cable network access interface the response of wireless network 42B access.
On the other hand, wireless driver 46B can pass through wired driver 46A, utilize direct memory access (DMA) (DMA) will transmit (Tx) packet, send to cable network medium accesses circuit MAC3, hold to wireless network card 40B again, wireless network card 40B takes out keyholed back plate data in the packet, so that wireless network medium access circuit MAC4 and physical layer circuit PHY4 are carried out hardware controls, for example employed speed, power level (power level) and modulation system, with IEEE 802.11, can adopt CCK modulation or PBCC modulation.
Comprehensively the above is the access of controlling wireless network by the interface of cable network access as can be known among the present invention.Control command and the data pay(useful) load of control wireless network medium access circuit MAC4, can have in the memory space that the spider lines access utilized with the pattern of packet, transferring to wireless network medium access circuit MAC4 by the cable network access interface, and wireless network medium access circuit MAC4 just can carry out corresponding access to wireless network according to control command.And the response of wireless network also can be by wireless network medium access circuit MAC4 by the cable network access interface, return in the mode of packet and to deposit the memory space that is utilized to the cable network access, allow computer 30 can manage the response (similarly being the state of transfer of data, reception) of wireless network access by the descriptor of cable network.
Advantage of the present invention can be described below.At first, no matter the present invention is wired or wireless network access, can both control via the interface (just cable network driver 46A and cable network medium accesses circuit MAC3) of cable network access, can simplify the configuration of memory space in the memory 32, driver wired, the wireless network access is integrated into one, simplifies the structure of software.In addition, in order to control the access of wireless network by the cable network access interface in the mode of keyholed back plate data, originally by the relevant keyholed back plate data of wireless network medium access circuit MAC4 hardware handles, then be that the wireless network driver 46B with central processor CPU 1 executive software handles relevant keyholed back plate data in the present invention.In other words, to the required keyholed back plate data of wireless network data transmission, can be ready to by wireless network driver 46B earlier, the mode with the keyholed back plate data reaches wireless network medium access circuit MAC4 by the cable network access interface again; And the keyholed back plate data that wireless network is responded, then the mode with the keyholed back plate data is back in the memory 32 by the cable network access interface, is determined the mode of subsequent contact again by wireless network driver 46B.So, the hardware circuit function of wireless network medium access circuit MAC4 is just shared by cable network medium accesses circuit MAC3 and driver, thereby simplify the circuit of wireless network medium access circuit MAC4, to reduce the cost that wireless network card 40B design is manufactured.Moreover, in preferred embodiment of the present invention, be with medium independent interface (MII, Medium Independent Interface) is connected between cable network medium accesses circuit MAC3 and the wireless network medium access circuit MAC4, the hardware specification of medium independent interface is simplified than pci bus, make wireless network medium access circuit MAC4 needn't be connected in South Bridge chip 41, also can further simplify the circuit structure of wireless network medium access circuit MAC4 by the pci bus of complex structure.The medium independent interface of simplifying has the high transmission rates bus of transmission data and the low transfer rate approach of a transmission control command, but in the present invention, because the keyholed back plate of 30 pairs of wireless network medium access circuits of computer MAC4 all is to realize with the keyholed back plate data in the packet, also just make the keyholed back plate data can transmit the total line traffic control wireless network of the high transmission rates access circuit MAC4 of data by medium independent interface, the advantage that can not only utilize the medium independent interface specification to simplify can not sacrificed the keyholed back plate efficient to medium accesses circuit MAC4 yet.On the other hand, though comparatively simplifying because of specification, medium independent interface can't provide interruption, handle the inside keyholed back plate data that transmit by wireless network card for central processing unit, the present invention puts in order the state remittance of wireless network data transmission to be keyholed back plate data (the control data CRx among like Fig. 3), allow central processor CPU 1 can obtain the correlation behavior of wireless network data access, the hardware controls of perhaps being correlated with by the high bandwidth of MII interface.
In sum, the present invention discloses a kind of method that applies to a computer with the access wireless network.Have a cable network medium accesses circuit in this computer and couple wireless network card by the MII interface, have wireless network medium access circuit and physical layer circuit on the wireless network card, this wireless network medium access circuit couples this physical layer circuit, the cable network driver of this cable network medium accesses circuit can require this computer to dispose a memory space in start process in a memory, preferably comprises a transmission memory space and and receives memory space.This wireless network medium access circuit is from wireless network receiver packet number certificate, and produce keyholed back plate data, comprise the previous bag data transmission state of an identification code, one relevant with identification code (associated) and the accepting state (Rx status) that should wrap data at present; This wireless network medium access circuit utilizes direct access storage to pass through the MII interface, should wrap data and this keyholed back plate data storing receives memory space to this according to a descriptor.On the other hand, this wireless network medium access circuit is obtained the keyholed back plate data according to a descriptor from the transmission memory space, to control this wireless network medium access circuit and this physical layer circuit, with this wireless network of access, for example, this wireless network medium access circuit is according to this keyholed back plate Data Control one access rate, a power level and a modulation system.
The present invention has also disclosed a kind of computer system, and this computer system comprises central processing unit; Memory, required data when being used for temporary this central processing unit running; Be integrated with the chipset of spider lines medium accesses circuit, be coupled to this central processing unit and this memory; This computer system can low-costly expand a wireless network card, and it has wireless network medium access circuit and physical layer circuit.The wireless network medium access circuit couples this physical layer circuit, is coupled to this chipset by the MII interface, is used for and this cable network medium accesses circuit communication (communicate); Wherein the cable network driver of this cable network medium accesses circuit can require this computer configuration storage space in memory in start process, preferably comprises a transmission memory space and and receives memory space; And this wireless network medium access circuit is by the keyholed back plate data and the bag data of this interface and this this memory space of cable network medium accesses circuit access.
In known technology, the wire and wireless network access is all incompatible aspect software and hardware, makes wired, wireless network access to effectively integrate, and causes the repetition and waste of software and hardware resources.In comparison, preferred embodiment of the present invention is to be formed with the spider lines access interface with cable network access circuit that is integrated in South Bridge chip and cable network driver, and can control wired, wireless network access by such cable network access interface, the software and hardware resources wired to effectively integrate, that the wireless network access is required, simplify software and hardware structure wired, the wireless network access, make computer can have both access capability wired, wireless network, Internet resources can be shared for masses in more succinct mode.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to the covering scope of patent of the present invention.

Claims (10)

1. method that applies to a computer with access one wireless network, this computer has a cable network medium accesses circuit and couples a wireless network medium access circuit by an interface, and this method includes the following step:
One cable network driver of this cable network medium accesses circuit requires this computer in a memory configurations one memory space; And
This wireless network medium access circuit is by the keyholed back plate data and bag data of this interface and this this memory space of cable network medium accesses circuit access.
2. method as claimed in claim 1, wherein this interface is to be an exclusive interface.
3. method as claimed in claim 2, wherein this interface is to be a medium independent interface.
4. method as claimed in claim 2, wherein this memory space comprises a transmission memory space and a reception memory space.
5. method as claimed in claim 4, wherein this wireless network medium access circuit is coupled to a physical layer circuit, this wireless network medium access circuit is to receive this bag data from this wireless network, and produces this keyholed back plate data, should wrap data and this keyholed back plate data storing to this memory space.
6. method as claimed in claim 5, wherein these keyholed back plate data comprise an identification code, a bag data transmission state relevant with this identification code and the accepting state of these bag data.
7. method as claimed in claim 6, wherein this wireless network medium access circuit is according to a descriptor these keyholed back plate data and this bag data storing to be received memory space to this.
8. method as claimed in claim 4, wherein this wireless network medium access circuit is coupled to a physical layer circuit, this wireless network medium access circuit is according to this wireless network medium access circuit of this keyholed back plate Data Control and this actual layer circuit, with this wireless network of access.
9. method as claimed in claim 8, wherein this wireless network medium access circuit is according to a descriptor these keyholed back plate data and this bag data to be read out from this transmission memory space.
10. method as claimed in claim 8, wherein this wireless network medium access circuit is according to this keyholed back plate Data Control one access rate, a power level and a modulation system.
CN 02140723 2002-07-15 2002-07-15 Method of controlling radio network access via wired network access interface Expired - Lifetime CN1274126C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02140723 CN1274126C (en) 2002-07-15 2002-07-15 Method of controlling radio network access via wired network access interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02140723 CN1274126C (en) 2002-07-15 2002-07-15 Method of controlling radio network access via wired network access interface

Publications (2)

Publication Number Publication Date
CN1469610A true CN1469610A (en) 2004-01-21
CN1274126C CN1274126C (en) 2006-09-06

Family

ID=34147639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02140723 Expired - Lifetime CN1274126C (en) 2002-07-15 2002-07-15 Method of controlling radio network access via wired network access interface

Country Status (1)

Country Link
CN (1) CN1274126C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227743A (en) * 2013-04-27 2013-07-31 苏州超锐微电子有限公司 Bridging chip for wireless and wired networks
CN109857468A (en) * 2019-01-04 2019-06-07 烽火通信科技股份有限公司 A kind of method and system for supporting more DTB in single linux system mirror image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227743A (en) * 2013-04-27 2013-07-31 苏州超锐微电子有限公司 Bridging chip for wireless and wired networks
CN109857468A (en) * 2019-01-04 2019-06-07 烽火通信科技股份有限公司 A kind of method and system for supporting more DTB in single linux system mirror image

Also Published As

Publication number Publication date
CN1274126C (en) 2006-09-06

Similar Documents

Publication Publication Date Title
CN102138297B (en) Graphics multi-media ic and method of its operation
CN1244064C (en) Radio terminal with browser
US7330459B2 (en) MAC controller and clock synchronizing method for use with the same
CN1197322C (en) Radio terminal for browsing internet
CN104408003A (en) Enhanced wireless usb protocol and hub
CN1502188A (en) Method and apparatus for authentication using remote multiple access SIM technology
CN111294857B (en) Intelligent display screen, control method, storage medium and electronic equipment
JP2021532621A (en) Host to communicate with FPGA, method to communicate with FPGA, and FPGA interface chip
CN107071744A (en) The method and system of people's car communication
EP4092917B1 (en) Data transmission method, apparatus and system
KR101559089B1 (en) Communication protocol for sharing memory resources between components of a device
CN113645258A (en) Data transmission method and device, storage medium, processor and electronic equipment
US7236482B2 (en) Method for controlling wireless network access through wired network access interface and associated computer system
CN1156781C (en) Radio terminal with browser
CN101160999A (en) Method and apparatus to minimize interference among co-located multiple wireless devices
CN102014115B (en) Method, device and system for anonymizing gateway node
CN1274126C (en) Method of controlling radio network access via wired network access interface
CN1175625C (en) Radio local network clock synchronization method and medium access controller
CN103685353A (en) Method and device for managing terminal through gateway
US20030185185A1 (en) Wireless local area network access controller and related method
CN102185881A (en) Household digital equipment wireless multi-protocol space sharing storage manager and method
CN1452343A (en) Radio local network signal transmission method and related apparatus
CN105760770A (en) Information processing method and electronic device
US20100103909A1 (en) Data packet, system and method for multiple nodes transmitting under ad-hoc network architecture
CN115827548B (en) MDIO interface method and system based on LPC bus

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
CX01 Expiry of patent term

Granted publication date: 20060906

CX01 Expiry of patent term