A kind of path establishment method and equipment of the adjacent communication of terminal room
Technical field
The present invention relates to communication technical field, the path establishment method of more particularly to a kind of adjacent communication of terminal room and set
It is standby.
Background technology
Third generation partner program at present(3rd Generation Partnership Project, 3GPP)Defined in
Two user equipmenies(User Equipment, UE)Between communication process, it is shown in Figure 1, UE1 to UE2 send data
Process include:
UE1 transmits data to the eNB1 for its service;ENB1 after receiving the data, delivers the data to service network
Close(Serving Gateway, SGW)/ packet data gateway(Packet Data Network Gateway, PDN GW);SGW/
PGW, according to UE1 Route Distinguisher, routes the data to the SGW/PGW for UE1 services after the data are received;Due in figure
UE1 is identical with UE2 SGW/PGW, is that the SGW/PGW of UE2 services delivers the data to the eNB2 for UE2 services;Finally
ENB2 delivers the data to UE2, and the process of data is sent to complete UE1 to UE2;If the UE1 SGW/PGW serviced and it is
The SGW/PGW of UE2 services is differed, then the also service PGW including UE1 of the communication process between UE1 and UE2 is routed data to
UE2 service PGW process.
From said process as can be seen that even if the position between two user equipmenies being in communication with each other is very near, number is transmitted
According to when be also required to get to opposite end by the eNB each to service and core net so that communication delay is very big, but also meeting
Take more Internet resources.Therefore, 3GPP is being studied on the communication technology between nearby device(That is adjacent communication),
I.e.:When distance between two UE for needing to communicate is close, direct transmission data between two UE, its data transfer are realized
Path can directly transmit data referring to shown in Fig. 2A between UE1 and UE2, without passing through any mobile network appliance;Or
Person is only by base station(Such as eNB)Transmission realize high-speed traffic between two UE, its data transfer path is referring to Fig. 2 B institutes
Show, UE1 and UE2 are connected to same eNB, realize only needs the data that send by eNB forwardings, without by data road
By being forwarded to core net.Above two transmission means greatly reduces the delay of data transfer, and can save network
Resource, especially save the Internet resources of core net.
At present, 3GPP services and system orientation working group SA1(Service and System, SA)Discussing between UE
Adjacent communication problem of implementation, in order to realize the adjacent communication between UE, it is necessary to solve following two large problems:First, between UE
Proximity relations discovery procedure, two have been to determine between the UE of proximity relations how to realize adjacent communication.
In summary, 3GPP define only the demand established for adjacent communication, the use for meeting proximity relations at present
The path of adjacent communication is established between the equipment of family, does not provide specific solution.
The content of the invention
It is existing for solving the embodiments of the invention provide a kind of path establishment method and equipment of the adjacent communication of terminal room
Have present in technology for meeting that the path of adjacent communication between the user equipment of proximity relations is established, do not provide specific
The problem of solution.
The embodiments of the invention provide a kind of path establishment method of the adjacent communication of terminal room, including:
First base station is according to the first adjacent communication request to create received, for the adjacent communication allocation of downlink of first terminal
Address;
The first base station obtains the descending address for the same adjacent communication that the second base station is second terminal distribution, and will obtain
Upper row address of the descending address got as the adjacent communication of the first terminal;
The first base station obtains the descending address for the same adjacent communication that the second base station is second terminal distribution, and will obtain
Upper row address of the descending address got as the adjacent communication of the first terminal;
Wherein, the first base station is the base station that the first terminal is currently resident;The first terminal and described second
Terminal is two different terminals for needing to establish in the adjacent communication;Second base station is that the second terminal is currently resident
Base station.
The embodiments of the invention provide a kind of base station, including:
First distribute module, it is first terminal for first base station according to the first adjacent communication request to create received
Adjacent communication allocation of downlink address;
First acquisition module, for obtaining the descending address for the same adjacent communication that the second base station is second terminal distribution,
And using the descending address got as upper row address corresponding to the first terminal;
Wherein, the first terminal is two different terminals in the adjacent communication from the second terminal;It is described
Second base station is the base station that the second terminal is currently resident.
The embodiments of the invention provide a kind of MME, including:
First request to create sending module, it is neighbouring that the first base station for being currently resident to the first terminal sends first
Communicate request to create, and the first adjacent communication request to create is used to ask the first base station adjacent for first terminal distribution
Nearly communication and descending address;
First announcement information sending module, notified for sending the first adjacent communication to the first terminal, described first
Adjacent communication notifies to be used to notify that adjacent communication path has been established corresponding to the first terminal.
First base station of the embodiment of the present invention is the neighbouring of first terminal according to the first adjacent communication request to create received
The descending address of allocation of communications;And the first base station obtains the descending of the same adjacent communication that the second base station is second terminal distribution
Address, and the upper row address using the descending address got as the adjacent communication of first terminal, to establish first terminal
Adjacent communication corresponding to path, it is achieved thereby that first terminal and second terminal carry out data transmission via base station it is neighbouring logical
Letter, and the embodiment of the present invention is not required to introduce new control node.
Brief description of the drawings
Process schematics of the Fig. 1 for terminal room in background technology via core network data;
Fig. 2A is the Organization Chart of the first adjacent communication of terminal room in background technology;
Fig. 2 B are the Organization Chart of second of adjacent communication of terminal room in background technology;
Fig. 3 is the path establishment method of the adjacent communication of terminal room of the embodiment of the present invention;
Fig. 4 is the network architecture diagram of the first adjacent communication of the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of first specific embodiment of the present invention;
Fig. 6 is the network architecture diagram of second of adjacent communication of the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of second specific embodiment of the present invention;
Fig. 8 is the network architecture diagram of the third adjacent communication of the embodiment of the present invention;
Fig. 9 is the schematic flow sheet of the 3rd specific embodiment of the present invention;
Figure 10 is the schematic flow sheet of the 4th specific embodiment of the present invention;
Figure 11 is the schematic flow sheet of the 4th specific embodiment of the present invention;
Figure 12 is the schematic flow sheet of the 5th specific embodiment of the present invention;
Figure 13 is the structural representation of base station provided in an embodiment of the present invention;
Figure 14 is MME provided in an embodiment of the present invention structural representation.
Embodiment
First base station of the embodiment of the present invention is the neighbouring of first terminal according to the first adjacent communication request to create received
The descending address of allocation of communications;And the descending address for the same adjacent communication that the second base station is second terminal distribution is obtained, and will
Upper row address of the descending address got as the adjacent communication of first terminal, to establish the adjacent communication of first terminal
Corresponding path.
In the embodiment of the present invention, it is assumed that there is proximity relations between two terminals, and meet to establish via base station route
The condition of adjacent communication;
Wherein, whether there is proximity relations between two terminals, method can be found by the proximity relations based on terminal
Judged, can also find that method is judged by network proximity relations, the neighbour based on application can also be passed through
Nearly relation finds that method is judged;
Two terminals need to meet following three conditions, and network side can be established via base station between two terminals
The adjacent communication of route:
1st, signing conditions, i.e.,:Two terminals all have the signing information using adjacent communication service, and two terminals are all
Agreement is serviced using adjacent communication;
2nd, channel condition, i.e.,:The business and/or data flow transmitted between two terminals can be entered using adjacent communication mode
Row transmission;
3rd, the radio link conditions of two terminal rooms are unsatisfactory for establishing directapath(direct path)Condition, or,
The network configuration of two terminals is that proximal subscribers establish the adjacent communication being route via base station.
In the embodiment of the present invention, technical scheme, has used " first ", " second " printed words for convenience of description,
To needing two different terminals for establishing adjacent communication to make a distinction, first terminal represents an end in the adjacent communication
End, second terminal represent another terminal in the adjacent communication;Further, first base station represents the current resident of first terminal
Base station, the second base station represent the currently resident base station of second terminal, wherein, first base station is identical with the second base station possibility, also may be used
Can be different;First MME represents that the service MME of first terminal, the 2nd MME represent the service MME of second terminal, wherein, the first MME
It is identical with the 2nd MME possibility, it is also possible to different.
The embodiment of the present invention is described in further detail with reference to Figure of description.
It is shown in Figure 3, the path establishment method of the adjacent communication of terminal room provided in an embodiment of the present invention, including it is following
Step:
Step 31, first base station are according to the first adjacent communication request to create received, for the adjacent communication of first terminal
Allocation of downlink address;
Wherein, first terminal is two different terminals in the adjacent communication from second terminal;First base station is first
The base station that terminal is currently resident, the second base station are the base station that second terminal is currently resident;
Step 32, first base station obtain the descending address for the same adjacent communication that the second base station is second terminal distribution, and
Using the descending address got as upper row address corresponding to first terminal, so as to complete the road of the adjacent communication of first terminal
Footpath is established.
In the embodiment of the present invention, the mark of first terminal is carried in the first adjacent communication request to create that first base station receives
Know the ID of trace route path of the adjacent communication of information and first terminal.
In the embodiment of the present invention, before the path of adjacent communication is established between first terminal and second terminal, exist
Following two situations:
The first, established the data transfer path via core net between the first terminal and second terminal;
Can be first terminal if in this case, meeting the condition of adjacent communication between first terminal and second terminal
The path of adjacent communication is established between second terminal, by first terminal and second terminal via the data of core network, is cut
Shift to and be transmitted via base station;
In this case, when the path of adjacent communication is established between first terminal and second terminal, reusable first terminal
(Second terminal)The Evolved Packet System for the carrying established between core net(Evolved Packet System, EPS)
Adjacent communication of the carrying mark for first terminal;It is that first terminal distributes new EPS carrying marks that the first MME, which can also be used,
Adjacent communication for first terminal;
Further, if the adjacent communication of first terminal reuses the EPS for the carrying established between first terminal and core net
Carrying identifies, then is also carried in the first adjacent communication request to create that first base station receives between first terminal and core net
The EPS carrying marks for the carrying established;Preferably, should if qos parameter corresponding to the current first terminal is changed
Qos parameter corresponding to first terminal is also carried in first adjacent communication request to create.
Accordingly, in step 31, first base station carries mark according to the EPS carried in the first adjacent communication request to create
Know, determine qos parameter corresponding to first terminal, and according to the ID of trace route path carried in the first adjacent communication request to create and certainly
Qos parameter corresponding to the first terminal that body determines, it is the adjacent communication distribution of first terminal and descending address.
Further, if in this case, the adjacent communication of first terminal distributes new EPS for first terminal using the first MME
Carrying mark is used for the adjacent communication of first terminal, then is also carried in the first adjacent communication request to create that first base station receives
There is qos parameter corresponding to first terminal;Preferably, new EPS carryings can also be carried in the first adjacent communication request to create
Mark.
Accordingly, under which, in step 31, first base station is according to the road carried in the first adjacent communication request to create
Qos parameter corresponding to footpath mark and first terminal, it is the adjacent communication distribution of first terminal and descending address.
Secondth, the path of any data transfer is not established between the first terminal and second terminal;
Can be first terminal if in this case, meeting the condition of adjacent communication between first terminal and second terminal
The path of adjacent communication is established between second terminal, the first MME that service is provided for first terminal is first terminal distribution
New EPS carrying marks, the adjacent communication for the first terminal;For second terminal provide service the 2nd MME be this second
The new EPS carrying marks of terminal distribution, the same adjacent communication for the second terminal;
Further, in this case, also carrying first in the first adjacent communication request to create that then first base station receives
Qos parameter corresponding to terminal;Preferably, new EPS carrying marks can also be carried in the first adjacent communication request to create.
Accordingly, under which, in step 31, first base station is according to the road carried in the first adjacent communication request to create
Qos parameter corresponding to footpath mark and first terminal, it is the adjacent communication distribution of first terminal and descending address.
The the second adjacent communication request to create received due to the second base station and first base station are received first neighbouring logical
Believe that request to create is similar, here is omitted.
In the embodiment of the present invention, first base station and the second base station can be same base station, or different base station;Together
Sample, the first MME and the 2nd MME can be same MME, or different MME.
The embodiment of the present invention is described in detail from following three kinds of situations below.
The first situation:First base station and the second base station are same base station, and the first MME and the 2nd MME is same MME;
In the present embodiment, first terminal receives the first adjacent communication request to create in step 31, specifically includes:
First MME is it is determined that need to establish adjacent communication, and the determination first base station for first terminal and second terminal
When meeting to establish the condition of adjacent communication with the second base station, the first adjacent communication request to create is sent to first base station.
Wherein, the condition for establishing adjacent communication includes:
First base station and the second base station are same base station;Or, first base station and the second base station are different base station and the first base
Stand and interface connection between the second base station be present.
Because the first MME is first terminal and the service MME of second terminal, therefore, the first MME can preserve according to itself
The contextual information of first terminal obtain QoS ginsengs corresponding to the first base station and the first terminal that the first terminal is currently resident
Number, and the contextual information of the second terminal preserved according to itself obtain the second currently resident base station of the second terminal and are somebody's turn to do
Qos parameter corresponding to second terminal;First MME can believe according to the identification information of first base station and the mark of the second base station
Breath, determine that first base station and the second base station are same base station, and then determine that the first terminal and the second terminal can establish neighbour
Nearly communication.
Further, in the present embodiment, the first adjacent communication request to create also carry second terminal identification information and
Its parameter information related to establishing adjacent communication.
In the present embodiment, step 31 specifically includes:
First base station is according to the first adjacent communication request to create, and respectively first terminal and second terminal is same neighbouring
The descending address of allocation of communications.
Further, first base station is the adjacent communication established between first terminal and second terminal, it is also necessary to for first eventually
End and second terminal distribute the adjacent communication respectively, and the resource is specifically included suitable for the adjacent communication and first terminal(Or the
Two terminals)Qos parameter requirement interface-free resources and base station in transfer resource.
In the present embodiment, step 32 specifically includes:
First base station is obtained from the descending address of the same adjacent communication as second terminal distribution, and will get down
Row address is as upper row address corresponding to first terminal;
First base station is obtained from the descending address as first terminal distribution, and using the descending address got as second
Upper row address corresponding to terminal.
In the present embodiment, first base station be respectively first terminal and second terminal distribution descending address can be two not
The same complete Tunnel End Point Identifier of General Packet Radio System user plane tunnel protocol(User plane part of GPRS
Tunneling Protocol Fully qualified-Tunnel Endpoint Identity, GTP-U F-TEID;
General Paccket Radio System, GPRS), or two different to be used to carry out data in this inside of base station
The local mark of forwarding(Local ID);
Wherein, GTP-U F-TEID include GTP-U TEID and IP address.
In the present embodiment, after step 32, this method also includes:
First base station notifies that the first MME itself has completed first terminal and the path of the same adjacent communication of second terminal is built
It is vertical.
Accordingly, the first MME sends the first adjacent communication to first terminal and led to after the notice of first base station is received
Know, first adjacent communication notifies to be used to notify first terminal adjacent communication to establish;
First MME sends the second adjacent communication notice to second terminal, and second adjacent communication notifies to be used to notify second
Terminal adjacent communication has been established.
Wherein, EPS carryings mark corresponding to the first terminal is carried in first adjacent communication notice;This is second neighbouring logical
EPS carryings mark corresponding to the second terminal is carried in letter notice.Specifically:
If having established the data transfer path via core net between the first terminal and second terminal, first is neighbouring
The EPS carryings that the EPS carryings carried in communication notifications are identified as the carrying that first terminal is established with core net identify;
Any carry out data transmission path, the first adjacent communication if not established between the first terminal and second terminal
The EPS carryings carried in notice are identified as the new EPS carrying marks for being used for adjacent communication that the first MME is first terminal distribution
Know.
If likewise, established the data transfer path via core net between the first terminal and second terminal,
The EPS carryings that the EPS carryings carried in second adjacent communication notice are identified as the carrying that second terminal is established with core net identify;
Any carry out data transmission path, the second adjacent communication if not established between the first terminal and second terminal
The EPS carryings carried in notice are identified as the new EPS carrying marks for being used for adjacent communication that the first MME is second terminal distribution
Know.
Preferably, neighbours of the first MME between first terminal and second terminal is also carried in first adjacent communication notice
The ID of trace route path of nearly allocation of communications;
The first MME adjacent communications between first terminal and second terminal point are also carried in second adjacent communication notice
The ID of trace route path matched somebody with somebody.
Further, if having established the data transfer path via core net and first between first terminal and second terminal
Qos parameter is changed corresponding to terminal, then also carrying QoS corresponding to first terminal in first adjacent communication notice joins
Number;
If the data transfer path and second terminal pair via core net are established between first terminal and second terminal
The qos parameter answered is changed, then also carries qos parameter corresponding to second terminal in second adjacent communication notice.
Further, if not establishing any path carried out data transmission between first terminal and second terminal, this
Qos parameter corresponding to first terminal is also carried in one adjacent communication notice;
If not establishing any path carried out data transmission between first terminal and second terminal, this is second neighbouring logical
Qos parameter corresponding to second terminal is also carried in letter notice.
Preferably, first adjacent communication notice and second adjacent communication notice are respectively via first base station transparent forwarding
To first terminal and second terminal.
Now, established between first terminal and second terminal via the path of the adjacent communication of first base station route, should
The path of adjacent communication is:First terminal --- first base station --- second terminal;First terminal and second terminal can pass through
The adjacent communication carries out data transmission.
Second of situation:First base station and the second base station are different base station, and the first MME and the 2nd MME is same MME;
In the present embodiment, first base station receives the first adjacent communication request to create in step 31, specifically includes:
First MME sends the after it is determined that needing to establish adjacent communication for first terminal and second terminal, to first base station
One adjacent communication request to create;And
First MME sends the second adjacent communication request to create to the second base station, and the second adjacent communication request to create is used for
Ask the distribution of same adjacent communication and descending address that the second base station is second terminal.
Because the first adjacent communication request to create that the first MME is sent is identical with the first situation, and the first MME is sent
The second adjacent communication request to create it is similar to the first adjacent communication request to create, here is omitted.
It is it should be noted that not neighbouring to the first MME the first adjacent communication requests to create of transmission and second in the present embodiment
The order of communication request to create is defined, and the first MME first can send the first adjacent communication request to create to first base station, then
The second adjacent communication request to create is sent to the second base station;First MME first can also send the second adjacent communication to the second base station
Request to create, then send the first adjacent communication request to create to first base station.
Because the first MME is first terminal and the service MME of second terminal, therefore, the first MME can preserve according to itself
The contextual information of first terminal obtain qos parameter corresponding to the base station and the first terminal that the first terminal is currently resident,
And the contextual information of the second terminal preserved according to itself obtains base station and second end that the second terminal is currently resident
Qos parameter corresponding to end;
First MME can determine first base station according to the identification information of first base station and the identification information of the second base station
It is different base station with the second base station;Further the first MME is it needs to be determined that whether there is between first base station and the second base station has
Interface connects(Such as X2 interface)If interface connection be present, the first MME determines that the first terminal can be established with the second terminal
Adjacent communication.
Further, in the present embodiment, in step 31, first base station is the path for the adjacent communication for establishing first terminal, also
Need to distribute resource needed for the adjacent communication for first terminal, wherein, the resource includes being applied to the adjacent communication and first
Transfer resource between the interface-free resources of the qos parameter requirement of terminal and base station.
Likewise, the second base station is the path for the adjacent communication for establishing second terminal, it is also necessary to should for second terminal distribution
Resource needed for adjacent communication, wherein, the resource includes the sky suitable for the adjacent communication and the requirement of the qos parameter of second terminal
Transfer resource between mouth resource and base station, because the processing procedure of the second base station and the processing procedure of first base station are identical, herein
Repeat no more.
In the present embodiment, after step 31, and before step 32, this method also includes:
First base station notifies the first MME itself to complete the distribution of the descending address of adjacent communication corresponding to first terminal,
And carry the descending address that itself is distributed for adjacent communication corresponding to first terminal.
Accordingly, descending address corresponding to first terminal is transmitted to by the first MME after the notice of first base station is received
Second base station;
It should be noted that because the service MME of the second base station is the first MME, herein, the first MME is receiving first
After descending address corresponding to the first terminal that base station is sent to, the second base station is directly forwarded to.
Further, the second base station receives descending address corresponding to the first terminal that the first MME is sent, and will receive down
Row address is as upper row address corresponding to second terminal.
Because the processing procedure of the second base station and the processing procedure of first base station are identical, therefore, the second base station is for second
The adjacent communication of terminal distribute and descending address after, it is adjacent to be also notified that the first MME itself has been completed corresponding to second terminal
The distribution of the descending address closely to communicate, and carry the descending address that itself is distributed for adjacent communication corresponding to second terminal.
Accordingly, the first MME carries descending address corresponding to second terminal receive that the second base station is sent to
Notice after, descending address corresponding to the second terminal is directly forwarded to first base station.
In the present embodiment, step 32 specifically includes:
First base station receives descending address corresponding to the second terminal that the first MME is sent, and the descending address that will be received
As upper row address corresponding to first terminal.
In the present embodiment, first base station is that the descending address of the adjacent communication distribution of first terminal is GTP-U F-TEID;
Second base station is that the descending address of the adjacent communication distribution of second terminal is GTP-U F-TEID;
Wherein, GTP-U F-TEID include GTP-U TEID and IP address.
In the embodiment of the present invention, first base station notifies the first MME itself to complete adjacent communication corresponding to first terminal
After the distribution of descending address, this method also includes:
First MME sends the first adjacent communication notice after the notice of first base station is received, to first terminal, and this first
Adjacent communication is notified for notifying the path of first terminal adjacent communication to establish.
Preferably, first adjacent communication notice is transparently forwarded to first terminal via first base station.
Lead to likewise, the first MME sends the second adjacent communication after the notice of the second base station is received, to second terminal
Know, second adjacent communication is notified for notifying the path of second terminal adjacent communication to establish.
Preferably, second adjacent communication notice is transparently forwarded to second terminal via the second base station.
In the embodiment of the present invention, the second base station is the same neighbouring logical of second terminal according to the second adjacent communication request to create
Letter distribution and the process of descending address, and the interaction between the second base station and the first MME, it is treated with first base station
Cheng Xiangtong, refers to the processing procedure of first base station, and the present invention no longer illustrates to the processing procedure of the second base station.
Now, the adjacent communication being route between first terminal and second terminal via first base station has been established, and this is neighbouring logical
The path of letter is:First terminal --- first base station --- the second base station --- second terminal;First terminal and second terminal can
To be carried out data transmission by the adjacent communication.
The third situation, the first MME and the 2nd MME are different MME(In this case, first base station may with the second base station
It is identical, it is also possible to different);Further, including following two modes:
Mode A, the first MME determine itself not it is determined that need to establish adjacent communication for first terminal and second terminal
Be second terminal service MME after, send adjacent communication to the 2nd MME and establish request, and according to the 2nd MME feedback, carry out
Processing.
In the present embodiment, this method also includes:
First MME is sent neighbouring after it is determined that needing to establish adjacent communication for first terminal and second terminal to the 2nd MME
Connection setup is asked, and the adjacent communication establishes in request the identification information for carrying first base station and the mark letter of second terminal
Breath;
Preferably, the adjacent communication establish request in also carry first terminal EPS carrying mark and this first eventually
Qos parameter corresponding to end;
Wherein, if having established the data transfer path via core net between first terminal and second terminal,:The neighbour
What is carried in nearly connection setup request is the EPS carrying marks for the carrying established between the first terminal and core net;
If not establishing the path of any data transfer between the first terminal and second terminal,:The adjacent communication is built
What is carried in vertical request is the new EPS carrying marks that the first MME is first terminal distribution.
2nd MME establishes request according to the adjacent communication received, judges whether first base station meets to build with the second base station
The condition of vertical adjacent communication;
Wherein, the condition for establishing adjacent communication includes:
First base station and the second base station are same base station;Or, first base station and the second base station are different base station and the first base
Stand and interface connection between the second base station be present(Such as X2 interface).
Accordingly, due to the service MME that the 2nd MME is second terminal, therefore, the 2nd MME can be according to second terminal
Identification information, from the contextual information of itself preservation, the contextual information of second terminal is obtained, and according to the second terminal
Contextual information, determine the second currently resident base station of the second terminal and its identification information.
Wherein, the 2nd MME can judge the first base according to the identification information of first base station and the identification information of the second base station
Stand and whether the second base station is same base;Specifically:
If the identification information of first base station is identical with the identification information of the second base station, the 2nd MME determine first base station with
Second base station is same base station;
If the identification information of first base station is different from the identification information of the second base station, the 2nd MME determine first base station with
Second base station is different base station.
Further, if the 2nd MME determines that first base station and the second base station are different base station, the 2nd MME judges the first base
Stand and connected between the second base station with the presence or absence of interface.
In the present embodiment, judged result includes following three kinds of possibility:
First, judged result is:First base station and the second base station are same base station, then:
If the adjacent communication received establishes in request the EPS carryings mark and the first terminal for also carrying first terminal
Corresponding qos parameter, the 2nd MME sends the first adjacent communication request to create to first base station, to ask first base station to be respectively
First terminal and the distribution of the same adjacent communication of second terminal and descending address;Or
If the adjacent communication that receives establish in request the EPS carryings mark that does not carry first terminal and this first eventually
Qos parameter corresponding to end, the 2nd MME returns to the configured information for carrying judged result to the first MME, and carries second terminal
Qos parameter corresponding to EPS carryings mark and the second terminal.
Wherein, the EPS carryings mark of second terminal and the EPS carryings mark of first terminal are similar, and here is omitted.
Accordingly, if the first MME receives the configured information of the 2nd MME transmissions, the first MME is sent to first base station
First adjacent communication request to create, to ask the same adjacent communication distribution that first base station is respectively first terminal and second terminal
And descending address.
It should be noted that bit data can be used to represent different judged results in the configured information, such as " 0 " represents
First base station and the second base station be same base station, and " 1 " represents that first base station and the second base station are different base station, and first base station and
Interface connection between second base station be present;It is of course also possible to use other information represents different judged results, but need thing
The first MME is first allowed to know what implication is each information represent respectively.
It should be noted that under the scene, first base station receives the processing procedure after the first adjacent communication request to create
And first base station and the first MME(Or the 2nd MME)Interaction, it is identical with the first situation, refer to the first situation
Under processing procedure and interaction, here is omitted.
2nd, judged result is:First base station and the second base station are different base station, and are deposited between first base station and the second base station
Connected in interface;Then:
2nd MME returns to the configured information for carrying judged result to the first MME.
Accordingly, the first MME is after the configured information of the 2nd MME transmissions is received, it is determined that sending first to first base station
Adjacent communication request to create, to ask adjacent communication distribution and descending address of the first base station as first terminal.
Further, after judged result determination, this method also includes:
2nd MME sends the second adjacent communication request to create to the second base station, to ask the second base station as second terminal
Same adjacent communication distribution and descending address.
It should be noted that under the scene, first base station receives the processing procedure after the first adjacent communication request to create
And first base station and the first MME interaction, and the second base station receives the place after the second adjacent communication request to create
Reason process and the second base station and the 2nd MME interaction, it is identical with second of situation, refer to the place in the case of second
Reason process and interaction, here is omitted.
The 3rd, if judged result is:First base station and the second base station are different base station, and between first base station and the second base station
Connected in the absence of any interface;Then:
2nd MME refuses the adjacent communication that the first MME is sent and establishes request.
It should be noted that during the present invention is implemented, the first terminal that is carried in the first adjacent communication request to create(And second
Terminal)Identification information be the terminal iidentification that can identify of first base station, as temporarily the system architecture evolution of first terminal moves
CUSTOMER ID(SAE-Temporary Mobile Subscriber Identity, S-TMSI;System
Architecture Evolution, SAE);
The identification information of the second terminal carried in second adjacent communication request to create is the end that the second base station can identify
End mark, such as the S-TMSI of first terminal;
The identification information that adjacent communication establishes in request the second terminal carried is the terminal mark that the 2nd MME can be identified
Know, such as international mobile subscriber identity(International Mobile Subscriber Identity, IMSI);
The adjacent communication establishes in request the identification information of the first base station carried, such as evolved universal GSM land
Ground wireless access network Cell Global Identity(E-UTRAN Cell Global Identifier, ECGI;Evolved UMTS
Terrestrial Radio Access Network, E-UTRAN;Universal Mobile Telecommunications
System, UMTS)Deng.
Five specific embodiments are set forth below, the neighbouring of terminal room is realized to the embodiment of the present invention with reference to concrete application scene
Interaction during communication between each equipment is described in detail, and following examples are between first terminal and second terminal
Do not establish exemplified by the path of any data transfer what is illustrated, established between the first terminal and second terminal via
The situation of the data transfer path of core net refers to foregoing description, and the present invention no longer illustrates one by one.
Embodiment 1, assume that UE_A and UE_B meets proximity relations and meets foundation via the adjacent communication of base station route
Condition;The application scenarios of the present embodiment are that UE_A is identical from UE_B service MME and serving BS is different, UE_A serving BS
For eNB1, UE_B serving BS is eNB2, and bearing interface connects between eNB1 and eNB2, and its network architecture is referring to Fig. 4 institutes
Show.In the present embodiment, the process of the adjacent communication via base station route is established, it is shown in Figure 5, comprise the following steps:
Step 51, MME are determined as UE_A and UE_B and establish the adjacent communication being route through base station, and between UE_A and UE_B
Adjacent communication distribution adjacent communication ID of trace route path(It is designated as ProSe-Path-ID);
Step 52a, MME is that UE_A distributes EPS carrying marks(It is designated as bearer-ID-A), and send neighbouring lead to eNB1
Believe request to create message, ProSe-Path-ID, UE_A identification information are carried in the request message(Such as UE_A S-TMSI)With
And the information such as UE_A qos parameter;
Step 52b, MME is that UE_B distributes EPS carrying marks(It is designated as bearer-ID-B), and send neighbouring lead to eNB2
Believe request to create message, ProSe-Path-ID, UE_B identification information are carried in the request message(Such as UE_B S-TMSI)With
And the information such as UE_B qos parameter;
In the present embodiment, step 52a and step 52b execution sequence are not limited, step 52a can be first carried out,
Step 52b is performed again;Step 52b can also be first carried out, then performs step 52a;Step 52a and step can also be performed simultaneously
52b。
Step 53a, after the adjacent communication request to create message of MME transmissions is received, eNB1 is UE_A ID of trace route path
The interface-free resources required for ProSe-Path-ID adjacent communication distribution suitable for the adjacent communication and qos parameter of the UE_A
The descending GTP-U F-TEID corresponding to transfer resource and the adjacent communication between base station(Including GTP-U TEID and IP address)
(It is designated as F-TEID-1);And sent to MME and create adjacent communication response message, carry F-TEID-1 in the response message;
Step 53b, after the adjacent communication request to create message of MME transmissions is received, eNB2 is being identified as UE_B
ProSe-Path-ID adjacent communication path allocation eats dishes without rice or wine to provide suitable for adjacent communication and the qos parameter requirement of the UE_B
Transfer resource and descending GTP-U F-TEID between source and base station(Including GTP-U TEID and IP address)(It is designated as F-TEID-
2);And sent to MME and create adjacent communication response message, carry F-TEID-2 in the response message;
In the present embodiment, step 53a and step 53b execution sequence are not limited, step 53a can be first carried out,
Step 53b is performed again;Step 53b can also be first carried out, then performs step 53a;Step 53a and step can also be performed simultaneously
53b。
Step 54a, after the response message of eNB1 returns is received, MME is by changing adjacent communication message by eNB1 points
The F-TEID-1 matched somebody with somebody is sent to eNB2, and the ID of trace route path ProSe- of adjacent communication is also carried in the modification adjacent communication message
Path-ID;
Step 54b, after the response message of eNB2 returns is received, MME is by changing adjacent communication message by eNB2 points
The F-TEID-2 matched somebody with somebody is sent to eNB1, and the ID of trace route path ProSe- of adjacent communication is also carried in the modification adjacent communication message
Path-ID;
In the present embodiment, step 54a and step 54b execution sequence are not limited, step 54a can be first carried out,
Step 54b is performed again;Step 54b can also be first carried out, then performs step 54a;Step 54a and step can also be performed simultaneously
54b。
Step 55a, MME sends adjacent communication notification message to UE_A, to notify that it is neighbouring logical that UE_A can be carried out with UE_B
The transmission of letter, and the ID of trace route path ProSe-Path-ID of the adjacent communication, the UE_A EPS carryings are carried in an announcement message
Identify bearer-ID-A, the qos parameter of the UE_A;
Further, the adjacent communication notification message is transparently forwarded to UE_A via eNB1;
Now, UE_A can carry out the transmission of upstream data using the adjacent communication path established;
Step 55b, MME sends adjacent communication notification message to UE_B, to notify that it is neighbouring logical that UE_B can be carried out with UE_A
The transmission of letter, and the EPS for carrying in the notification message ID of trace route path ProSe-Path-ID, the UE_B of the adjacent communication is held
Carry mark bearer-ID-B, the qos parameter of the UE_B;
Further, the adjacent communication notification message is transparently forwarded to UE_B via eNB8;
Now, UE_B can carry out the transmission of upstream data using the adjacent communication path established;
In the present embodiment, step 55a and step 55b execution sequence are not limited, step 55a can be first carried out,
Step 55b is performed again;Step 55b can also be first carried out, then performs step 55a;Step 55a and step can also be performed simultaneously
55b。
Step 56a, eNB1 determines UE_A adjacent communication after the modification adjacent communication message of MME transmissions is received
Upper row address is F-TEID-2, and notifies the path of MME adjacent communications is established to complete by changing adjacent communication response message,
The ID of trace route path ProSe-Path-ID of the adjacent communication is carried in the message;
Step 56b, eNB2 determines UE_B adjacent communication after the modification adjacent communication message of MME transmissions is received
Upper row address is F-TEID-1, and notifies the path of MME adjacent communications is established to complete by changing adjacent communication response message,
The ID of trace route path ProSe-Path-ID of the adjacent communication is carried in the message;
In the present embodiment, step 56a and step 56b execution sequence are not limited, step 56a can be first carried out,
Step 56b is performed again;Step 56b can also be first carried out, then performs step 56a;Step 56a and step can also be performed simultaneously
56b。
In the present embodiment, the path of the adjacent communication of foundation is:UE_A --- eNB1 --- eNB2 --- UE_B, UE_A and
UE_B can be asked to apply and connected by adjacent communication to carry out data transmission.
In the present embodiment, step 55a and step 55b and step 56a and step 56b execution sequence are not limited,
Step 55a and step 55b can be performed before step 56a and step 56b, and step 55a and step 55b can also be in steps
Performed after 56a and step 56b, step 55a and step 55b can also be performed simultaneously with step 56a and step 56b.
Embodiment 2, assume that UE_A and UE_B meets proximity relations and meets foundation via the adjacent communication of base station route
Condition;The application scenarios of the present embodiment are that UE_A is identical with UE_B service MME and serving BS is identical, its network architecture referring to
Shown in Fig. 6.In the present embodiment, establish via base station route adjacent communication process it is shown in Figure 7, comprise the following steps:
Step 71, MME are determined as UE_A and UE_B and establish the adjacent communication being route through base station, and between UE_A and UE_B
Adjacent communication distribution adjacent communication ID of trace route path(It is designated as ProSe-Path-ID);
Step 72, MME are that UE_A distributes EPS carrying marks(It is designated as bearer-ID-A), and distribute EPS carryings for UE_B
Mark(It is designated as bearer-ID-B);And adjacent communication request to create message is sent to eNB, carried in the request message
ProSe-Path-ID, UE_A identification information(Such as UE_A S-TMSI), the UE_A qos parameter(It is designated as qos parameter A)、
UE_B identification information(Such as UE_B S-TMSI)And the qos parameter of the UE_B(It is designated as qos parameter B)Etc. information;
Step 73, receive MME transmission adjacent communication request to create message after, the ID of trace route path that eNB is UE_A is
ProSe-Path-ID adjacent communication distribution suitable for the UE_A adjacent communication and qos parameter A requirement interface-free resources,
And descending GTP-U F-TEID corresponding to the adjacent communication(Including GTP-U TEID and IP address)(It is designated as F-TEID-1);With
And the adjacent communication for the being identified as ProSe-Path-ID distribution that eNB is UE_B is applied to the UE_B adjacent communications and qos parameter
It is required that interface-free resources and descending GTP-U F-TEID(Including GTP-U TEID and IP address)(It is designated as F-TEID-2);
ENB determines that the upper row address of the UE_A adjacent communication for being identified as ProSe-Path-ID is F-TEID-2;And
ENB determines that the upper row address of the UE_B adjacent communication for being identified as ProSe-Path-ID is F-TEID-1.
Step 74, eNB are sent to MME creates adjacent communication response message, and the adjacent communication is carried in the response message
ID of trace route path ProSe-Path-ID, to notify path of the MME ID of trace route paths as ProSe-Path-ID adjacent communication to establish;
Step 75a, MME sends adjacent communication notification message to UE_A, to notify that it is neighbouring logical that UE_A can be carried out with UE_B
The transmission of letter, and the ID of trace route path ProSe-Path-ID of the adjacent communication, the UE_A EPS carryings are carried in an announcement message
Identify bearer-ID-A, the qos parameter of the UE_A;
Now, UE_A can carry out the transmission of upstream data using the adjacent communication path established;
Step 75b, MME sends adjacent communication notification message to UE_B, to notify that it is neighbouring logical that UE_B can be carried out with UE_A
The transmission of letter, and the EPS for carrying in the notification message ID of trace route path ProSe-Path-ID, the UE_B of the adjacent communication is held
Carry mark bearer-ID-B, the qos parameter of the UE_B;
Now, UE_B can carry out the transmission of upstream data using the adjacent communication path established;
In the present embodiment, step 75a and step 75b execution sequence are not limited, step 75a can be first carried out,
Step 75b is performed again;Step 75b can also be first carried out, then performs step 75a;Step 75a and step can also be performed simultaneously
75b。
In the present embodiment, the path of the adjacent communication of foundation is:UE_A --- eNB --- UE_B, UE_A and UE_B can be with
Request application is connected by adjacent communication to carry out data transmission.
In the present embodiment, step 73 may be replaced by:
After the adjacent communication request to create message of MME transmissions is received, the ID of trace route path that eNB is UE_A is ProSe-
The interface-free resources and be somebody's turn to do that Path-ID adjacent communication distribution requires suitable for the adjacent communication and qos parameter A of the UE_A
Locally identified corresponding to adjacent communication(It is designated as Local-ID-1);And the neighbour for being identified as ProSe-Path-ID that eNB is UE_B
Nearly allocation of communications is applied to the interface-free resources of the UE_B adjacent communications and qos parameter requirement and different from Local-ID-1
Local mark(It is designated as Local-ID-2);
ENB determines that the upper row address of the UE_A adjacent communication for being identified as ProSe-Path-ID is Local-ID-2;And
ENB determines that the upper row address of the UE_B adjacent communication for being identified as ProSe-Path-ID is Local-ID-1.
Embodiment 3, assume that UE_A and UE_B meets proximity relations and meets foundation via the adjacent communication of base station route
Condition, the application scenarios of the present embodiment are different from UE_B service MME for UE_A, and UE_A is identical with UE_B serving BS, false
If it is eNB.
Assuming that UE_A service MME is MME1, UE_B service MME is MME2, wherein, MME1 is different from MME2, its net
Network framework is shown in Figure 8.In the present embodiment, establish via base station route adjacent communication process it is shown in Figure 9, including
Following steps:
Step 901, MME1 are determined as UE_A and UE_B and establish the adjacent communication being route through base station, and for UE_A and UE_B it
Between adjacent communication distribution adjacent communication ID of trace route path(It is designated as ProSe-Path-ID);
Step 902, MME1 are that UE_A distributes EPS carrying marks(It is designated as bearer-ID-A);
Step 903, MME1 are sent to MME2 establishes adjacent communication request message, and this is established in adjacent communication request message and taken
Identification information with ProSe-Path-ID, UE_B(Such as IMSI), UE_A be currently resident the identification information of base station, UE_A QoS ginsengs
Number and UE_A EPS carrying marks;
Step 904, MME2 judge the base that UE_A and UE_B is currently resident after receiving and establishing adjacent communication request message
Stand and whether meet the condition for establishing adjacent communication;
In the present embodiment, judged result is that UE_A and UE_B is currently resident same base station.
Step 905, MME2 are that UE_B distributes EPS carrying marks(It is designated as bearer-ID-B);
Step 906, MME2 send adjacent communication request to create message to eNB, and ProSe-Path- is carried in the request message
ID, UE_A identification information(Such as UE_A S-TMSI), UE_A qos parameter, UE_B identification information(Such as UE_B S-
TMSI)And the information such as UE_B qos parameter;
Step 907, receive MME2 transmission adjacent communication request to create message after, eNB be UE_A ID of trace route path
Eat dishes without rice or wine to provide suitable for adjacent communication and qos parameter the A requirement of the UE_A for ProSe-Path-ID adjacent communication distribution
Descending GTP-U F-TEID corresponding to source and the adjacent communication(Including GTP-U TEID and IP address)(It is designated as F-TEID-
1);And eNB be UE_B the adjacent communication for being identified as ProSe-Path-ID distribution suitable for the UE_B adjacent communications and
The interface-free resources of qos parameter requirement and descending GTP-U F-TEID(Including GTP-U TEID and IP address)(It is designated as F-
TEID-2);
ENB determines that the upper row address of the UE_A adjacent communication for being identified as ProSe-Path-ID is F-TEID-2;And
ENB determines that the upper row address of the UE_B adjacent communication for being identified as ProSe-Path-ID is F-TEID-1.
Step 908, eNB are sent to MME1 creates adjacent communication response message, to notify MME1UE_A adjacent communication
Path is established and completed;
Step 909, eNB are sent to MME2 creates adjacent communication response message, to notify MME2UE_B adjacent communication
Path is established and completed;
Step 910, MME1 send adjacent communication notification message to UE_A, to notify that it is neighbouring logical that UE_A can be carried out with UE_B
The transmission of letter, and the EPS for carrying in the notification message ID of trace route path ProSe-Path-ID, the UE_A of the adjacent communication is held
Carry the information such as mark bearer-ID-A and UE_A qos parameter;
Hereafter, UE_A can carry out the transmission of upstream data using the adjacent communication path established;
Preferably, the adjacent communication notification message is transparently forwarded to UE_B via eNB.
Step 911, MME2 send adjacent communication notification message to UE_B, to notify that it is neighbouring logical that UE_B can be carried out with UE_A
The transmission of letter, and the EPS for carrying in the notification message ID of trace route path ProSe-Path-ID, the UE_B of the adjacent communication is held
Carry the information such as mark bearer-ID-B and UE_B qos parameter;
Hereafter, UE_B can carry out the transmission of upstream data using the adjacent communication path established;
Preferably, the adjacent communication notification message is transparently forwarded to UE_B via eNB.
In the present embodiment, step 907 may be replaced by:
After the adjacent communication request to create message of MME2 transmissions is received, the ID of trace route path that eNB is UE_A is ProSe-
The interface-free resources and be somebody's turn to do that Path-ID adjacent communication distribution requires suitable for the adjacent communication and qos parameter A of the UE_A
Locally identified corresponding to adjacent communication(It is designated as Local-ID-1);And the neighbour for being identified as ProSe-Path-ID that eNB is UE_B
Nearly allocation of communications is applied to the interface-free resources of the UE_B adjacent communications and qos parameter requirement and different from Local-ID-1
Local mark(It is designated as Local-ID-2);
ENB determines that the upper row address of the UE_A adjacent communication for being identified as ProSe-Path-ID is Local-ID-2;And
ENB determines that the upper row address of the UE_B adjacent communication for being identified as ProSe-Path-ID is Local-ID-1.
In the present embodiment, the path of the adjacent communication of foundation is:UE_A --- eNB --- UE_B, UE_A and UE_B can be with
Request application is connected by adjacent communication to carry out data transmission.
In the present embodiment, the execution sequence of step 908 and step 909 is not defined, step 908 can be first carried out,
Step 909 is performed again;Step 909 can also be first carried out, then performs step 908;
Likewise, not also being defined to the execution sequence of step 910 and step 911, step 910 can be first carried out, then
Perform step 911;Step 911 can also be first carried out, then performs step 910.
Embodiment 4, assume that UE_A and UE_B meets proximity relations and meets foundation via the adjacent communication of base station route
Condition, the application scenarios of the present embodiment are different from UE_B service MME for UE_A, and UE_A is identical with UE_B serving BS, false
If it is eNB.
Assuming that UE_A service MME is MME1, UE_B service MME is MME2, wherein, MME1 is different from MME2, its net
Network framework is shown in Figure 8.In the present embodiment, bag shown in Figure 10 via the process of the adjacent communication of base station route is established
Include following steps:
Step 1001, MME1 are determined as UE_A and UE_B and establish the adjacent communication being route through base station, and are UE_A and UE_B
Between adjacent communication distribution adjacent communication ID of trace route path(It is designated as ProSe-Path-ID);
Step 1002, MME1 are that UE_A distributes EPS carrying marks(It is designated as bearer-ID-A);
Step 1003, MME1 are sent to MME2 establishes adjacent communication request message, and this is established in adjacent communication request message
Carry ProSe-Path-ID, UE_B identification information(Such as IMSI), UE_A currently be resident base station identification information;
Step 1004, MME2 judge that UE_A and UE_B is currently resident after receiving and establishing adjacent communication request message
Whether base station meets the condition for establishing adjacent communication;
In the present embodiment, judged result is that UE_A and UE_B is currently resident same base station.
Step 1005, MME2 are that UE_B distributes EPS carrying marks(It is designated as bearer-ID-B);
Step 1006, MME2 return to MME1 establishes adjacent communication response message, carries judged result and UE_B QoS
Parameter and UE_B EPS carrying marks;
After receiving this and establishing adjacent communication response message, sending adjacent communication establishment to eNB please by step 1007, MME1
Message is sought, ProSe-Path-ID, UE_A identification information are carried in the request message(Such as UE_A S-TMSI), UE_A QoS
The identification information of parameter, UE_B(Such as UE_B S-TMSI)And the information such as UE_B qos parameter;
Step 1008, receive MME1 transmission adjacent communication request to create message after, eNB be UE_A ID of trace route path
Eat dishes without rice or wine to provide suitable for adjacent communication and qos parameter the A requirement of the UE_A for ProSe-Path-ID adjacent communication distribution
Descending GTP-U F-TEID corresponding to source and the adjacent communication(Including GTP-U TEID and IP address)(It is designated as F-TEID-
1);And eNB be UE_B the adjacent communication for being identified as ProSe-Path-ID distribution suitable for the UE_B adjacent communications and
The interface-free resources of qos parameter requirement and descending GTP-U F-TEID(Including GTP-U TEID and IP address)(It is designated as F-
TEID-2);
ENB determines that the upper row address of the UE_A adjacent communication for being identified as ProSe-Path-ID is F-TEID-2;And
ENB determines that the upper row address of the UE_B adjacent communication for being identified as ProSe-Path-ID is F-TEID-1.
Step 1009, eNB are sent to MME1 creates adjacent communication response message, to notify MME1UE_A adjacent communication
Path is established and completed;
Step 1010, eNB are sent to MME2 creates adjacent communication response message, to notify the road of MME2UE_B adjacent communications
Footpath is established and completed;
Step 1011, MME1 send adjacent communication notification message to UE_A, to notify that it is neighbouring that UE_A can be carried out with UE_B
The transmission of communication, and carry in the notification message ID of trace route path ProSe-Path-ID, the UE_A of the adjacent communication EPS
The information such as carrying mark bearer-ID-A and UE_A qos parameter;
Hereafter, UE_A can carry out the transmission of upstream data using the adjacent communication path established;
Preferably, the adjacent communication notification message is transparently forwarded to UE_B via eNB.
Step 1012, MME2 send adjacent communication notification message to UE_B, to notify that it is neighbouring that UE_B can be carried out with UE_A
The transmission of communication, and carry in the notification message ID of trace route path ProSe-Path-ID, the UE_B of the adjacent communication EPS
The information such as carrying mark bearer-ID-B and UE_B qos parameter;
Hereafter, UE_B can carry out the transmission of upstream data using the adjacent communication path established;
Preferably, the adjacent communication notification message is transparently forwarded to UE_B via eNB.
In the present embodiment, step 1008 may be replaced by:
After the adjacent communication request to create message of MME1 transmissions is received, the ID of trace route path that eNB is UE_A is ProSe-
The interface-free resources and be somebody's turn to do that Path-ID adjacent communication distribution requires suitable for the adjacent communication and qos parameter A of the UE_A
Locally identified corresponding to adjacent communication(It is designated as Local-ID-1);And the neighbour for being identified as ProSe-Path-ID that eNB is UE_B
Nearly allocation of communications is applied to the interface-free resources of the UE_B adjacent communications and qos parameter requirement and different from Local-ID-1
Local mark(It is designated as Local-ID-2);
ENB determines that the upper row address of the UE_A adjacent communication for being identified as ProSe-Path-ID is Local-ID-2;And
ENB determines that the upper row address of the UE_B adjacent communication for being identified as ProSe-Path-ID is Local-ID-1.
In the present embodiment, the path of the adjacent communication of foundation is:UE_A --- eNB --- UE_B, UE_A and UE_B can be with
Request application is connected by adjacent communication to carry out data transmission.
In the present embodiment, the execution sequence of step 909 and step 910 is not defined, step 909 can be first carried out,
Step 910 is performed again;Step 910 can also be first carried out, then performs step 909;
Likewise, not also being defined to the execution sequence of step 911 and step 912, step 911 can be first carried out, then
Perform step 912;Step 912 can also be first carried out, then performs step 911.
Embodiment 5, assume that UE_A and UE_B meets proximity relations and meets foundation via the adjacent communication of base station route
Condition, the application scenarios of the present embodiment are different from UE_B service MME for UE_A, and UE_A is different from UE_B serving BS.
Assuming that UE_A serving BS is eNB1 and service MME is MME1, UE_B serving BS is eNB2 and service MME
For MME2, wherein, MME1 is different from MME2, and eNB1 is different from eNB2, and its network architecture is shown in Figure 11.In the present embodiment,
The process of the adjacent communication via base station route is established, it is shown in Figure 12, comprise the following steps:
Step 1201, MME1 are determined as UE_A and UE_B and establish the adjacent communication being route through base station, and are UE_A and UE_B
Between adjacent communication distribution adjacent communication ID of trace route path(It is designated as ProSe-Path-ID);
Step 1202, MME1 are sent to MME2 establishes adjacent communication request message, and this is established in adjacent communication request message
Carry ProSe-Path-ID, UE_B identification information(Such as IMSI), UE_A currently be resident base station identification information and F-
TEID-1;
Step 1203, MME2 judge that UE_A and UE_B is currently resident after receiving and establishing adjacent communication request message
Whether base station is whether to have interface between the base station that same base station or UE_A and UE_B are currently resident;
Further, however, it is determined that the base station that UE_A and UE_B is currently resident is different base station, and is not connect between two base stations
Mouthful, then MME2 refusals MME1 adjacent communication of establishing is asked, and terminates this flow.
Step 1204, it is determined that the base station that UE_A and UE_B are currently resident connects between same base station or two base stations
Mouthful;MME2 is that UE_B distributes EPS carrying marks(It is designated as bearer-ID-B);
Step 1205, MME2 send adjacent communication request to create message to eNB2, and ProSe- is carried in the request message
Path-ID, UE_B identification information(Such as UE_B S-TMSI), UE_B qos parameter and the information such as F-TEID-1;
Step 1206, after the adjacent communication request to create message of MME2 transmissions is received, eNB2 is that UE_B is identified as
ProSe-Path-ID adjacent communication path allocation eats dishes without rice or wine to provide suitable for adjacent communication and the qos parameter requirement of the UE_B
Transfer resource and descending GTP-U F-TEID between source and base station(Including GTP-U TEID and IP address)(It is designated as F-TEID-
2);And determine that the upper row address of the adjacent communication of the UE_B is F-TEID-1;
Step 1207, eNB2 are sent to MME2 creates adjacent communication response message, and F-TEID-2 is carried in the response message,
And notify the path of MME2 adjacent communications is established to complete;
Step 1208, MME2 return to MME1 establishes adjacent communication response message, and it is neighbouring logical that this is carried in the response message
The ID of trace route path ProSe-Path-ID and F-TEID-2 of letter;
Step 1209, MME1 are that UE_A distributes EPS carrying marks, are designated as bearer-ID-A;
Step 1210, MME1 send adjacent communication request to create message to eNB1, and ProSe- is carried in the request message
Path-ID, UE_A identification information(Such as UE_A S-TMSI)And the information such as UE_A qos parameter;MME1 notices simultaneously
ENB1, UE_A upper row address are F-TEID-2;
Step 1211, receive MME1 transmission adjacent communication request to create message after, eNB1 be UE_A path mark
Know and eat dishes without rice or wine to provide suitable for the adjacent communication of the UE_A and qos parameter requirement for ProSe-Path-ID adjacent communication distribution
Descending GTP-U F-TEID corresponding to transfer resource and the adjacent communication between source and base station(Including GTP-U TEID and IP
Location)(It is designated as F-TEID-1);The upper row address F-TEID-2 of the adjacent communication of eNB1 record MME1 forwardings;
Step 1212, eNB1 are sent to MME1 creates adjacent communication response message, and F-TEID-1 is carried in the response message;
Step 1213, MME1 send adjacent communication notification message to UE_A, to notify that it is neighbouring that UE_A can be carried out with UE_B
The transmission of communication, and carry the ID of trace route path ProSe-Path-ID of the adjacent communication in an announcement message, the EPS of the UE_A is held
Carry mark bearer-ID-A, the qos parameter of the UE_A;
Preferably, the adjacent communication notification message is transparently forwarded to UE_A via eNB1;
Step 1214, MME1 are by establishing descending address F- of the adjacent communication completion message by eNB1 for UE_A distribution
TEID-1 is transmitted to MME2;
The eNB1 F-TEID-1 distributed are transmitted to eNB2 by step 1215, MME2 by changing adjacent communication message;
Step 1216, the F-TEID-1 of eNB2 record MME2 forwardings, and using F-TEID-1 as up corresponding to UE_B
Location;
Step 1217, eNB2 notice MME2 adjacent communications are established and completed;
Step 1218, MME2 send adjacent communication notification message to UE_B, to notify that it is neighbouring that UE_B can be carried out with UE_A
The transmission of communication, and carry the ID of trace route path ProSe-Path-ID of the adjacent communication in an announcement message, the EPS of the UE_B is held
Carry mark bearer-ID-B, the qos parameter of the UE_B;
Further, the adjacent communication notification message is transparently forwarded to UE_B via eNB2.
In the present embodiment, the path of the adjacent communication of foundation is:UE_A --- eNB1 --- eNB2 --- UE_B, UE_A and
UE_B can be asked to apply and connected by adjacent communication to carry out data transmission.
Above method handling process can realize that the software program can be stored in storage medium with software program, when
When the software program of storage is called, above method step is performed.
Based on above-described embodiment, the embodiment of the present invention additionally provides a kind of base station, because the base station solves the principle of problem
It is similar to the path establishment method of the adjacent communication of the terminal room shown in Fig. 3, therefore the implementation of the base station may refer to method
Implement, repeat part and repeat no more.
It is shown in Figure 13, base station provided in an embodiment of the present invention, including:
First distribute module 131A, for according to the first adjacent communication request to create for receiving, for currently resident the
The adjacent communication allocation of downlink address of one terminal;
First acquisition module 132A, for obtain the second base station be second terminal distribution same adjacent communication downstream
Location, and using the descending address got as upper row address corresponding to first terminal;
Wherein, first terminal is two different terminals in adjacent communication from second terminal;Second base station is second whole
The currently resident base station in end.
Further, the base station also includes:
First notification module 133A, the first MME itself for notifying to provide service for first terminal have completed first eventually
The distribution of the descending address of the adjacent communication at end.
Further, if itself and the second base station are same base station, base station also includes:
Second distribute module 131B, for being the same neighbouring logical of second terminal according to the first adjacent communication request to create
Believe allocation of downlink address.
Further, the base station also includes:
Second acquisition module 132B, for being obtained from the descending address of the adjacent communication as first terminal distribution, and will
The descending address got is as upper row address corresponding to second terminal;
First acquisition module 131A is specifically used for:
The descending address of the adjacent communication as second terminal distribution is obtained from, and regard the descending address got as the
Upper row address corresponding to one terminal.
Further, the base station also includes:
Second notification module 133B, the 2nd MME itself for notifying to provide service for second terminal have completed second eventually
The distribution of the descending address of the adjacent communication at end.
Further, if itself and the second base station are different base station, the first notification module 133A is additionally operable to:
Carry descending address corresponding to first terminal.
Further, if itself and the second base station are different base station, the first acquisition module 131A is specifically used for:
Descending address corresponding to the second terminal for the first MME forwardings that first terminal provides service is received as, and will be received
To descending address as upper row address corresponding to first terminal;
Wherein, descending address corresponding to second terminal is in the same adjacent communication distribution for second terminal by the second base station
Behind complete and descending address, it is transmitted to and provides the 2nd MME's serviced for second terminal.
Based on above-described embodiment, the embodiment of the present invention additionally provides a kind of MME, due to the MME solve problem principle with
The path establishment method of the adjacent communication of terminal room shown in Fig. 3 is similar, therefore the implementation of the MME may refer to the reality of method
Apply, repeat part and repeat no more.
It is shown in Figure 14, MME provided in an embodiment of the present invention, including:
First request to create sending module 141A, it is neighbouring that the first base station for being currently resident to first terminal sends first
Communicate request to create, and the first adjacent communication request to create is used to ask first base station to establish the road for closing on communication for first terminal
Footpath;
First announcement information sending module 142A, for sending the first adjacent communication notice to first terminal, first is neighbouring
Communication notifications are used to notify that adjacent communication path has been established corresponding to first terminal.
Further, if currently resident the second base station of first base station and second terminal be different base station, and itself is with being the
The service MME of two terminals is identical, and MME also includes:
Second request to create sending module 141B, for the second base station send the second adjacent communication request to create, second
It is the path that second terminal establishes same adjacent communication that adjacent communication request to create, which is used to ask the second base station,;
Second announcement information sending module 142B, for receive the second base station transmission be used for indicate that itself has been completed
After the path of first terminal and the same adjacent communication of second terminal is established, the second adjacent communication notice is sent to second terminal,
Second adjacent communication notifies to be used to notify that adjacent communication path has been established corresponding to second terminal;
First logical information sending module 142A is specifically used for:Receive first base station transmission be used for indicate that itself is complete
After being established into the path of first terminal and the same adjacent communication of second terminal, send the first adjacent communication to first terminal and lead to
Know.
Further, if the second base station that first base station is currently resident with second terminal is different base station, MME also includes:
First forwarding module 143A, for the descending address that first base station is the adjacent communication that first terminal distributes to be forwarded
To the second base station;
Second forwarding module 143B, for the descending address by the second base station for the same adjacent communication of second terminal distribution
It is transmitted to first base station.
It should be noted that if itself is identical with the service MME of second terminal, the first forwarding module 143A is received and come from
Descending address corresponding to the first terminal that first base station is sent, and descending address corresponding to the first terminal is transmitted directly to the
Two base stations;Second forwarding module 143B directly receives descending address corresponding to the second terminal of the second base station transmission, and by this
Descending address is sent to first base station corresponding to two terminals;
If itself is different from the service MME of second terminal, the first forwarding module 143A receives to be sent from first base station
First terminal corresponding to descending address, and descending address corresponding to the first terminal is turned by the service MME of second terminal
Issue the second base station;Second forwarding module 143B receives the second terminal of the second base station transmission by the service MME of second terminal
Corresponding descending address, and descending address corresponding to the second terminal is sent to first base station.
Further, if itself is different from for the service MME of second terminal, MME also includes:
Request sending module 144 is established, the service MME to second terminal sends adjacent communication and establishes request, adjacent communication
Establishing request is used to ask the service MME of second terminal to judge whether first base station meets to establish adjacent communication with the second base station
Condition, and adjacent communication establishes in request the identification information for carrying first base station and the identification information of second terminal;
Configured information receiving module 145, the finger for carrying judged result that the service MME for receiving second terminal is sent
Show information.
Further, configured information receiving module 145 is additionally operable to:
If judged result is first base station and the second base station be same base station, the first request to create sending module 141A of triggering
And the second request to create sending module 141B;
If judged result is first base station and the second base station be different base station, the first request to create sending module of triggering
141A。
Further, if itself is different from for the service MME of second terminal, MME also includes:
Determination module 146, after the adjacent communication for being sent in the service MME for receiving second terminal establishes request, sentence
Whether disconnected first base station and the second base station meet the condition for establishing adjacent communication;
If judged result is first base station and the second base station be same base station, the first request to create sending module of triggering and the
Two request to create sending modules;Or the service MME to second terminal sends the configured information for carrying judged result;
If judged result is first base station and the second base station be different base station, the first request to create sending module of triggering;With
And the service MME to second terminal sends the configured information for carrying judged result.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation
The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.