Background technology
Along with the development of the communication technology, requirement to communications network service quality improves day by day, in order further to improve data-handling efficiency on existing network basis, reduce data processing cost, design a kind of brand-new network architecture, be called LTE-LAN (Long Term Evolution-LAN, Long Term Evolution local network).Consult shown in Fig. 1, in LTE-LAN system, LTE-LAN-AP (WAP (wireless access point) in LTE-LAN system) utilizes the transmission of existing LTE bottom and access technology to provide wireless data link for terminal, thereby has for terminal provides the communication service that QoS ensures.LTE-LAN-AP and terminal all realize its function separately based on LTE mobile communication system bottom communication technology, realize interconnecting of terminal in the networking of Local wireless network and local network by increasing new management and transmitting and scheduling function, without operator's core net processing in the situation that, realize the IP access of terminal to external network by the network architecture and the upper-layer protocol of transforming existing LTE system, the LTE-LAN-AP that is Local wireless network can directly access external network without core net by the corresponding interface, a kind of like this network configuration of flattening contributes to fast processing and the forwarding of terminal data, reduce the cost of network service, improve efficiency.But in order to reduce system cost, the air interface of air interface (being Uu interface) between terminal and LTE-LAN-AP based in LTE system simplified, and LTE-LAN-AP is two-layer equipment, do not there is the ability that forwards IP datagram literary composition, therefore, communication in order to realize between terminal and external network, between terminal and terminal, needs a kind of addressing addressing mechanism of two layers that is applicable to LTE-LAN system.
Under prior art, existing addressing addressing mechanism exists multiple, for example:
For LTE system, its aloft two layers of addressing addressing mechanism adopting of interface be to adopt RNTI (Radio Network Temporary Identifier, Radio Network Temporary Identifier) identify and distinguish different terminals, in Yi Ge community (cell), a C-RNTI (Cell Radio Network Temporary Identifier/Identity, Cell-RNTI) is for terminal of unique identification.In the time that terminal need to send data to base station or base station and need to send data to terminal, base station need to be based on terminal C-RNTI and relevant information the resource that transmission was used of data is carried out to scheduling and the distribution of Radio Resource as wave point configuration parameter, terminal capability etc., thereby realized terminal and base station is used the Radio Resource of agreement to carry out the transmitting-receiving of data.Because communicating pair between the terminal in a base station service range is base station and terminal, therefore, in the MAC message of actual air interface transmission, do not need explicitly to provide the mark of terminal.
At terminal and PDN GW (Packet Data Network Gateway, grouped data network gateway) between communication data, adopt the tunnel based on GTP-U (General Packet Radio Service TunnellingProtocol-User Plane, general packet radio service tunnel agreement-user face) agreement to realize.The IP datagram literary composition of communicating by letter between terminal and network, completes LTE-air interface form to the mapping between GTP-U data format in base station; Between base station and PDN GW, adopt the carrying of GTP-U tunnel; PDNGW (Packet Data Network Gateway) locate up direction PDN GW complete GTP-U data format to IP datagram literary composition go encapsulation, IP datagram literary composition is encapsulated as GTP-U form by down direction.
For adopting the network (being called for short 802.3 networks) of IEEE 802.3 agreements, the addressing addressing mechanism that it adopts is two layers of addressing technique, adopts MAC Address unique a certain network element entity within the scope of double layer network.In this MAC message, need to clearly provide the MAC Address of receiving-transmitting sides, i.e. the source MAC of message transmitting party and message recipient's target MAC (Media Access Control) address.
For network layer communication mechanism, the addressing addressing mechanism that it adopts is three layers of addressing technique, realizes the intercommunication of equipment based on IP address.At the head of IP message, need to provide the IP address of transmit leg and recipient's IP address.
For (the Wireless Local Area Networks of the WLAN based on IEEE 802.11 serial protocols, WLAN), the addressing addressing mechanism that it adopts is two layers of addressing technique based on air interface and upper connecting port, has continued to use the addressing addressing mechanism based on 802.3 networks.MAC message in its air interface, also needs clearly to provide the MAC Address of receiving-transmitting sides, the i.e. source MAC of message transmitting party and message recipient's target MAC (Media Access Control) address.And the MAC Address using in the MAC Address form of its air interface of WLAN and 802.3 networks, adopts identical address format.
But, for LTE-LAN, because its two layers of the upper connecting ports (being Iu-r interface) of LTE-LAN-AP are based on 802.3 agreements.Based on the consideration of cost, LTE-LAN-AP is two-layer equipment, does not possess IP-based data retransmission ability, and LTE-LAN-AP location adopts the method for layer two to realize the forwarding of data message and do not possess the function of router.Therefore, LTE-LAN-AP is not suitable for three layers of addressing technique, and can not adopt the mapping mechanism that is similar to GTP-U tunnel between LTE-LAN-AP and LTE-LAN-GW (gateway in LTE-LANT system).
Further, because LTE-LAN and WLAN adopt respectively diverse physical-layer techniques, therefore also direct two layers of addressing technique in use WLAN of the air interface of LTE-LAN; And air interface in LTE-LAN is that existing dedicated bearer mechanism has been carried out a large amount of simplification and designed obtaining, as can be only designed a DRB (Data Radio Bearer, Data Radio Bearer) for a terminal.Consider that the communication of LTE-LAN mainly carries out between terminal and LTE-LAN-AP, be therefore also not suitable for introducing based on or two layers of addressing technique of similar 802.3 networks.
As can be seen here, LTE-LAN-UE and LTE-LAN-GW can support the transmitting-receiving of three layer data messages, but LTE-LAN-AP only supports the forwarding of Layer 2 data message, therefore, need to redesign two layers of addressing mechanism that adapt for LTE-LAN system, to realize LTE-LAN-AP and terminal (being LTE-LAN-UE), and intercommunication between LTE-LAN-GW.
Embodiment
In order to realize LTE-LAN-AP (being designated hereinafter simply as AP) and the LTE-LAN-UE (terminal in LTE-LAN system, be designated hereinafter simply as UE) and LTE-LAN-GW (being designated hereinafter simply as GW) between the intercommunication of Layer 2 data message, in the embodiment of the present invention, when AP receives the first data message of the first network element transmission, obtain the identification information of UE according to this first data message, and obtain two layers of identification information for generating the second data message according to the identification information of this UE, and two layers of identification information based on obtaining and the first data message of reception generate corresponding the second data message, again AP is sent to the second network element by described the second data message.
Wherein, the first network element can be UE, can be also GW, and the second network element can be GW, can be also UE.
In the present embodiment, in order to realize technique scheme, set in advance UE and distribute to the mapping relations between the MAC Address based on 802.3 agreements of UE in AP, for example, these mapping relations can be set to the form of table 1:
Table 1
In table 1, the mapping relations between the MAC Address based on 802.3 agreements that the C-RNTI value of UE and AP distribute to UE are recorded, further, also be provided with IP address and the above-mentioned mapping relations between the two of UE, wherein, the MAC Address based on 802.3 agreements that UE is assigned to has 6 bytes, conventionally, front 3 bytes of this MAC Address are used for identifying manufacturer, and rear 3 bytes are distributed voluntarily by this UE manufacturer.Preferably, can adopt the address of actual Ethernet interface of AP as front 3 bytes in the present invention, rear 3 bytes are distributed voluntarily by this AP, for example, UE can carry out unique identification by C-RNTI value on interface aloft, therefore, C-RNTI can place in two bytes in above-mentioned rear 3 bytes, a remaining byte, can freely distribute, preferably, can be set to the mark of the DRB of UE, or, be set to the specific field in the mark of AP, etc.
In addition, if UE has had the MAC Address based on 802.3 agreements, and this UE has WLAN interface or has Ethernet interface, UE can report AP by the existing MAC Address based on 802.3 agreements in signaling message, is preserved according to the form of table 1 and is preserved the mapping relations between UE and the MAC Address based on 802.3 agreements of UE by AP.
Further, IP address as shown in table 1, can also record UE in table 1, with the mapping relations between the MAC Address based on 802.3 agreements of clear and definite UE, UE and the IP address of UE, so that follow-up communication process, this point will be introduced in subsequent embodiment.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
Consult shown in Fig. 1, in the embodiment of the present invention, LTE-LAN system comprises LTE-LAN-UE (referred to as UE), LTE-LAN-AP (referred to as AP) and LTE-LAN-GW (referred to as GW), wherein, between UE and AP, adopt Uu interface to communicate, between AP and GW, communicate based on 802.3 agreements, claim that at present this interface is Iu-r interface.
Consult shown in Fig. 2, in the embodiment of the present invention, AP comprises receiving element 20, acquiring unit 21, generation unit 22 and transmitting element 23, wherein,
Receiving element, the first data message sending for receiving the first network element;
Acquiring unit, for obtaining the identification information of UE according to described the first data message, and obtains two layers of identification information for generating the second data message according to the identification information of this UE;
Generation unit, for generating corresponding the second data message based on described two layers of identification information and described the first data message;
Transmitting element, for being sent to the second network element by described the second data message.
As shown in Figure 2, in the embodiment of the present invention, AP further comprises setting unit 24, for the MAC Address of UE is set for UE, and the MAC Address of C-RNTI and the UE of UE is set, and mapping relations between the IP address of UE,
Consult shown in Fig. 3, in the embodiment of the present invention, the detailed process of AP deal with data message is as follows:
Step 300:AP receives the first data message that the first network element sends.
In the present embodiment, the transmission of data message is divided into both direction:
Up direction, sends uplink message by UE to AP, and AP is forwarded to GW by uplink message after receiving, and carries out three layers of processing by GW.
Down direction: send downlink message by GW to AP, AP is forwarded to UE. by downlink message after receiving
Therefore, the first data message that AP receives can be both uplink message, can be also downlink message, and sent the first network element of the first data message, can be UE, can be also GW.
Step 310:AP obtains the identification information of UE according to the first data message receiving, and obtains two layers of identification information for generating the second data message according to the identification information of this UE.
In the present embodiment, no matter be the first data message that UE sends, or the first data message of GW transmission, all should comprise the identification information of UE, this identification information can be the C-RNTI of UE, can be also the MAC Address of UE, it can also be the IP address of UE, then, AP according to the mapping relations that arrange in table 1, obtains above-mentioned two layers of identification information again, in the present embodiment, so-called two layers of identification information, can be the MAC Address of UE, can be also the C-RNTI of UE.
The two layer identification information of step 320:AP based on obtaining and the first data message of reception generate corresponding the second data message.
In the present embodiment, AP generates the second data message based on two layers of identification information and the first data message, be to forward for the first data message being encapsulated as to Layer 2 data message based on two layers of identification information, like this, just can avoid the first data message to carry out three layer data processing.
The second data message generating is sent to the second network element by step 330:AP.
With step 300 in like manner, AP generate the second data message can be uplink message, can be also downlink message, the second network element can be GW, can be also UE.
Based on above-described embodiment, with three specific embodiments, it is described in detail respectively below.
In the first situation, suppose that the first network element is UE, the second network element is GW, and the first data message is uplink message a, and the second data message is uplink message b, and the executive mode of step 300-step 330 is as follows:
Step 3001:AP receives the uplink message a that UE sends.
In the embodiment of the present invention, the air interface (be Uu interface) of AP based on LTE-LAN receives, and the mac frame form that the uplink message a being sent by UE adopts is specifically as shown in table 2:
Table 2
Wherein,
MAC Header, is that the MAC head based on LTE air interface is realized, and needs definition in LTE-LAN system, still, proposes wherein not comprise the MAC Address of receiving-transmitting sides in the present invention;
SDU, Service Data Unit (service data unit), the IP datagram literary composition sending for recording UE;
PADDING: fill field.
The uplink message a that step 3011:AP sends based on UE, determines the identification information of UE, i.e. the C-RNTI of UE, and obtain the MAC Address of UE according to this C-RNTI, this MAC Address is two layers of identification information for generating the uplink message b that is transmitted to GW.
In the embodiment of the present invention, the C-RNTI of UE is by uplink message a implicit expression notice AP, as, before UE sends uplink message a, system can be carried out scheduling of resource, for UE divides the radio bearer resources that is used in carrying uplink message a, therefore, the radio bearer resources that AP uses while sending uplink message a according to UE can know which UE transmit leg is, can know the C-RNTI of UE.
AP obtains after the C-RNTI of UE, and mapping relations that can be based on arranging in table 1 obtain the MAC Address to should C-RNTI default UE.
Step 3021:AP, according to the uplink message a of the MAC Address of the UE obtaining and UE transmission, generates the uplink message b that sends to GW.
In the present embodiment, the mac frame form that the uplink message b that AP generates adopts is specifically as shown in table 3, and this mac frame form is based on 802.3 agreements:
Table 3
Wherein,
SRC MAC ADDR (source MAC), is set to 6 bytes conventionally, for recording the MAC Address of UE, and the MAC Address based on 802.3 agreements that C-RNTI of definite corresponding UE arranges in step 3011;
DEST MAC ADDR (target MAC (Media Access Control) address), is set to 6 bytes conventionally, and for recording the MAC Address of GW, this MAC Address also meets 802.3 agreements;
In practical application, AP is typically connected to a GW, therefore can obtain by methods such as pre-configured or protocol interactions the MAC Address of this GW.
DATA (data), for recording IP datagram literary composition;
AP need to be by the IP datagram literary composition of recording in the SDU field of uplink message a, do not add modification and be encapsulated in DATA field, preferably, can adopt LLC (Logical Link Control, logic link control) agreement encapsulates, and DATA field length is variable;
In addition, be also provided with following field:
Preamble (preamble field), is set to 7 bytes conventionally, represents the beginning of a mac frame;
TYPE (type), is set to 2 bytes conventionally, fills in 0x8000, and what show to record in DATA field is IP datagram literary composition;
FCS (Frame Check Sequence) is the CRC (Cyclic Redundancy Check, cyclic redundancy check (CRC) code) of 32.
Uplink message b is sent to GW by step 3031:AP.
Like this, AP has just completed the forwarding to the Layer 2 data message of GW by UE, makes GW extract IP datagram literary composition and to carry out three layer data processing the Layer 2 data message receiving.
In the second situation, suppose that the first network element is GW, the second network element UE, the first data message is downlink message a, and the second data message is downlink message b, and the executive mode of step 300-step 330 is as follows:
Step 3002:AP receives the downlink message a that GW sends.
In the embodiment of the present invention, the mac frame form of the downlink message a being sent by GW that AP receives based on upper connecting port (being Iu-r interface) is as shown in table 3, wherein,
SRC MAC ADDR (source MAC), is set to 6 bytes conventionally, and for recording the MAC Address of GW, this MAC Address also meets 802.3 agreements;
DEST MAC ADDR (target MAC (Media Access Control) address), is set to 6 bytes conventionally, for recording the MAC Address of UE, in uplink message a, sends to the MAC Address of the UE of GW;
DATA, the IP datagram literary composition of replying for recording GW;
The set-up mode of all the other fields, with reference to step 3021, does not repeat them here.
The downlink message a that step 3012:AP sends based on GW, determines the identification information of UE, i.e. the MAC Address of UE, and obtain the C-RNTI of UE according to this MAC Address, this C-RNTI is two layers of identification information for generating the downlink message b that is transmitted to UE.
In the embodiment of the present invention, AP obtains after the MAC Address of UE, and mapping relations that can be based on arranging in table 1 obtain the C-RNTI to should MAC Address default UE.
Step 3022:AP, according to the downlink message a of the C-RNTI of the UE obtaining and GW transmission, generates the downlink message b that sends to GW.
Concrete, AP is in the time generating downlink message b, because AP is known the C-RNTI of the UE that receives downlink message b in advance, can determine the radio bearer resources that transmission downlink message b uses according to the C-RNTI of UE and other relevant informations, and carry out the scheduling of radio bearer resources, to guarantee that UE can receive downlink message b.
In the present embodiment, the mac frame form that AP generation downlink message b adopts is specifically as shown in table 2, wherein,
SDU, the IP datagram literary composition sending for recording GW, the i.e. content that DATA field in the downlink message a of GW dispensing is recorded;
The set-up mode of all the other fields, with reference to step 3000, does not repeat them here.
In practical application, the IP datagram literary composition comprising in uplink message due to UE, can only hand to GW processes at AP place, UE also only need to process the IP datagram literary composition that GW returns simultaneously, in step 3022, there is no need to distribute to the MAC Address based on 802.3 agreements of UE and the MAC Address of GW, be placed in MAC field in downlink message b, as addressing information as destination address and source address.
Downlink message b is sent to UE by step 3032:AP.
Like this, AP has just completed the forwarding to the Layer 2 data message of UE by GW, makes UE extract IP datagram literary composition and to carry out three layer data processing the Layer 2 data message receiving.
Be different from above-mentioned two situations, also there are a kind of special circumstances, the first network element and the second network element are GW, the first data message is ARP (Address Resolution Protocol, address resolution protocol) request message, the second data message is for being arp response message, and the executive mode of step 300-step 330 is as follows:
Step 3003:AP receives the downlink message c that GW sends, i.e. ARP request message.
In practical application, in ARP request message, conventionally carry the IP address of a certain network element, its objective is the MAC Address that obtains the network element that uses this IP address, so that follow-up encapsulation also sends corresponding data message, in the embodiment of the present invention, what in the ARP request message that GW sends, carry is the IP address of UE.
On the other hand, AP can obtain the IP address of UE in the process that is initially linked into LTE-LAN system of UE, does not repeat them here.
The ARP request message that step 3013:AP sends based on GW, determines the identification information of UE, i.e. the IP address of UE, and obtain the MAC Address of UE according to this IP address, this MAC Address is two layers of identification information for generating the arp response message that returns to GW.
In the embodiment of the present invention, AP obtains behind the IP address of UE, and mapping relations that can be based on arranging in table 1 obtain the MAC Address to should IP address default UE.
Step 3023:AP, according to the ARP request message of the MAC Address of the UE obtaining and UE transmission, generates the uplink message c that sends to GW, i.e. arp response message.
In the present embodiment, AP is encapsulated in the MAC Address of the UE of acquisition the specific field of uplink message c, returns to GW as arp response message.
Step 3033:AP sends uplink message c, i.e. arp response message to GW.
Different from existing PROXY (agency) AP agreement, in arp response message, what AP returned is the MAC Address based on 802.3 agreements of UE, rather than the MAC Address of AP, therefore, when follow-up GW sends downlink message, can be directly using the MAC Address of UE as target MAC (Media Access Control) address, encapsulate downlink message according to mac frame form as shown in table 3, and downlink message is pass-through to UE by AP, make AP without the downlink message of transparent transmission being done to three layer data processing, can realize the intercommunication between AP and UE, GW.
In sum, in the embodiment of the present invention, AP obtains the identification information of UE according to the first data message being received by the first network element, and obtain two layers of identification information that identification information that should UE is arranged, generate the second data message based on these two layers of identification informations and the first data message again, and the second data message is mail to the second network element, wherein, the first network element and the second network element can be respectively UE and GW, also can be respectively GW and UE, can also be GW, like this, just solved the forwarding problems of the Layer 2 data message in LTE-LAN system, realize the data communication in LTE-LAN system, be UE, intercommunication between AP and GW, save the expense of air interface, on the other hand, owing to having adopted above-mentioned technology, therefore without introduce IP layer forwarding capability in AP, AP does not need to have router feature yet, thereby the equipment cost of AP effectively, also the network design of LTE-LAN system and the cost of operation maintenance have been reduced simultaneously.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.