A kind of method and apparatus for establishing adjacent communication, system
Technical field
The present invention relates to moving communicating field, more particularly to a kind of method and apparatus for establishing adjacent communication, system.
Background technology
3GPP (3 at presentrdGeneration Partnership Project, third generation partner program) ProSe works
Organize the adjacent communication problem just between research equipment and equipment, if its main application scenarios be when communication equipment distance compared with
Closely, it is desirable to the clothes that the data transfer between equipment and equipment can directly be carried out or connected by equipment between both devices
It is engaged in base station forwarding, and without pass through core net, the cost of serving of reduction operator while so as to improve Consumer's Experience.
3GPP is desirable to provide the adjacent communication service completely under network control.
The communication process of two equipment rooms defined in 3GPP, its data channel are as shown in Figure 1 in the prior art:UE1
(User Equipment, user equipment) transmits data to the eNB (evolved Node B, evolved base station) of service, and
ENB can pass data to the equipment of the core network Serving GW (Serving GateWay, gateway) and PGW of service
(Packet GateWay, packet data gateway), PGW can be routed data to according to routing table UE2 service PGW and
The Serving GW of Serving GW, UE2 services pass data to the eNB of UE2 services, then pass to UE2 by eNB.Fig. 1
Shown in example be scene when the Serving GW and PGW that UE1 and UE2 is serviced is identical, now eliminate and serviced for UE1
PGW route data to for UE2 service PGW process.
As seen from Figure 1, even if Wei Ge are very close between two terminals of communication, communication data is also required to pass through
The eNB each serviced, core net get to opposite end, and communication delay is very big, but also can take the resource of network.Therefore
3GPP is studying on the communication technology between nearby device now, even communicating pair apart from it is close when, two can be realized
High-speed traffic is realized in communication or the transmission only only by eNB between individual UE.
Fig. 2 (a), Fig. 2 (b) are to realize the data transfer path figure after adjacent communication between terminal.As shown in Fig. 2 (a),
UE1 and UE2 can be transmitted directly, it is not necessary to which by mobile network appliance, or as shown in Fig. 2 (b), two UE are connected to same
Data can be forwarded by the eNB of service during eNB, without data are routed through into core net.This transmission means can subtract
Lack the delay of data transfer, and the resource of network can be saved, particularly the Internet resources of core net.
The demand of adjacent communication is being discussed in 3GPP SA1 at present, according to discussion result, adjacent communication substantially can be with
Be divided into two major class problems, a kind of problem is the proximity relations discovery procedure between terminal, the second class problem be then neighbouring UE how
The problem of realizing direct communication.
Proximity relations discovery procedure between terminal is not only to realize the premise of adjacent communication, at the same it is also many should
Use scene.Such as businessman can send Discount Promotion advertisement by detecting proximity relations to passer-by's terminal, user can be with
Information, the bus station such as the restaurant searched for by proximity relations discovery feature near Dang Qian Wei Ge and supermarket can be according to proximity relations
Discovery feature forecast public transport is arrived at a station information etc..
On the adjacent communication between terminal, 3GPP it is contemplated that network control under connection setup and safeguarded
Journey, and terminal can obtain simultaneously adjacent communication service and traditional EPS (Evolved Packet System, evolved point
System is united) carrying data, services.Adjacent communication is achieved many things at one stroke:The data transfer loads in core net can be alleviated in operator;With
Family can obtain the shorter communication service of time delay;The adjacent communication demand of public safety and business application is met.SA2 is in neighbour
Have in the project verification file closely to communicate described below:
Adjacent communication:Two neighbouring UE pass through the communication for the communication path established between UE.The nearly communication of neck can be divided into two
Kind:Direct communication between UE, the communication being route by eNB between UE.Original English text is as follows:
ProSe Communication:a communication between two Ues in proximity by
means of a communication path established between the Ues.
The path for discovery and communication could for example be
established
-directly between the Ues
-network based,e.g.routed via local eNB(s).
Other background technologies of the present invention are introduced below.
SDF(Service Data Flow, server data stream) refer to the IP bags with certain " feature ".People can use name
Word comes " mark ", or with identity card come " mark ", IP bags are identified with the combination of the data field of IP heads in IP bags.For TCP
(Transmission Control Protocol, transmission control protocol)/UDP (User Datagram Protocol, user
Data protocol) IP packets, be by following five IP header fields(Abbreviation IP five-tuples)To represent:(Above three are located at IP heads,
2 next in UDP or TCP header):Source IP address, target ip address, protocol type(UDP or TCP), source port Port, mesh
Mark Port.TFT (Traffic Flow Template, data flow template) is exactly that one or more IP five-tuples are formed.SDF
Exactly by TFT come the IP bags that identify.IP bags i.e. corresponding to a SDF have identical TFT.
User can use multiple IP operations simultaneously.Each IP operation corresponds to one or more SDF.Some different SDFs
With identical QoS (Quality of Service, service quality), some different SDFs do not have identical QoS.Same
Under one PDN (Packet Data Network, Packet Data Network) connection, identical QoS SDFs should be by same
EPS is carried to transmit.With different Q CI (QoS Class Identifier, QoS level identifier) or ARP(Allocation
And Retention Priority, distribution and reservation priority)QoS SDFs be can not be by same EPS Bearer
To transmit.
One PDN connection corresponds to one or more EPS Bearer.Each EPS Bearer must have different QCI
Or ARP.There can be one or more SDF under one EPS Bearer.When an EPSBearer is established, this EPS
Bearer just has QCI+ARP, and has UL_TFT(Up-link TFT)+DL_TFT(Downlink TFT)
As the SDF_TFT ∈ corresponding to a SDF(Some)During Bearer_TFT, this SDF is then come by this Bearer
Transmission.Therefore, be only possible to different SDF under same PDN connections and transmitted by same Bearer.
When an IP packet arrives, its IP five-tuple is extracted, then judges IP five-tuples ∈(Some)Bearer_
During TFT, then this IP packet is transmitted by this EPS Bearer.
One business is not to send an IP bag, but priority have sent many packets, these IP numbers at different moments
A SDF is just constituted according to bag.The IP five-tuples intersection of all IP bags just constitutes SDF TFT.
The process that one SDF is mapped into an EPS Bearer to transmit is referred to as BB, and (Bearer Binding, carrying are tied up
It is fixed), the entity for completing DL data BB functions is BBERF (Bearer binding and event reporting
Function, bearing binding and reporting events function) or PCEF (Policy and Charging enforcement
Function, strategy and charging execution function entity), the BB of up UL data is completed in UE.The signal of EPS bearing bindings is as schemed
Shown in 3.
LTE at present(Long Term Evolved, Long Term Evolution)In system, the communication between UE is connected by PDN
EPS carrying realize, if having proximity relations between terminal, terminal should can pass through direct or local adjacent communication
Path is communicated.Prior art do not provide 3GPP networks provide adjacent communication service when terminal between communication in EPS
The method switched between carrying and adjacent communication path.
The content of the invention
It is adjacent for being provided in network the embodiments of the invention provide a kind of method and apparatus for establishing adjacent communication, system
During nearly communication service, the communication between terminal is switched into adjacent communication path from EPS carryings, ensure user's communication do not interrupt into
OK.
A kind of method for establishing adjacent communication provided in an embodiment of the present invention includes:
Serve the first user equipment (UE) the first mobility management entity MME receive network entity send be used for indicate
The communication instruction that first UE and the 2nd UE are communicating;
Determine that the first UE and the 2nd UE has contracted adjacent communication after the first MME is receiving the communication instruction, and really
When fixed first UE and the 2nd UE has proximity relations, the first MME is sent for indicating that the eNB is the to evolved base station eNB
One UE and the 2nd UE establishes the adjacent communication instruction of adjacent communication.
A kind of mobility management entity MME equipment provided in an embodiment of the present invention includes:
Communication instruction receiving unit, for receive network entity transmission be used for indicate the first user equipment (UE) and the 2nd UE
The communication instruction to communicate;
Adjacent communication determining unit, it is neighbouring for determining that the first UE and the 2nd UE has contracted after the communication instruction is received
Communication, and determine that the first UE and the 2nd UE has proximity relations, trigger adjacent communication instruction sending unit;
Adjacent communication instruction sending unit, for evolved base station eNB send for indicate the eNB for the first UE with
2nd UE establishes the adjacent communication instruction of adjacent communication.
A kind of communication system provided in an embodiment of the present invention includes:
Serve the first UE mobility management entity MME, for receive network entity transmission be used for indicate the first UE
The communication instruction to be communicated with the 2nd UE;It is neighbouring to determine that the first UE and the 2nd UE has contracted after the communication instruction is being received
When communicating, and determining that the first UE and the 2nd UE has proximity relations, sent to evolved base station eNB for indicating the eNB
The adjacent communication instruction of adjacent communication is established for the first UE and the 2nd UE;
ENB, the adjacent communication instruction sent for receiving the MME;It can be the first UE and the 2nd UE to determine this base station
Establish adjacent communication;Resource needed for adjacent communication is distributed for the first UE and the 2nd UE;The first UE and the 2nd UE is controlled to establish neighbouring
Communication.
Network entity, for being sent according to the message from application server to the MME for indicating the first UE and the
The communication instruction that two UE are communicating.
As seen through the above technical solutions, first mobile management of the present invention by serving the first user equipment (UE) is real
Body MME receives the communication instruction for being used to indicate the first UE and the 2nd UE and communicating that network entity is sent;When the first MME is connecing
Determine that the first UE and the 2nd UE has contracted adjacent communication after receiving the communication instruction, and it is adjacent to determine that the first UE and the 2nd UE has
During nearly relation, the first MME is sent for indicating that the eNB establishes neighbouring lead to for the first UE and the 2nd UE to evolved base station eNB
The adjacent communication instruction of letter, realize when network provides adjacent communication service, the communication between terminal is carried from EPS and switched
To adjacent communication path, communication when ensure that switching adjacent communication between user will not be interrupted.
Brief description of the drawings
The data channel schematic diagram that Fig. 1 communicates between prior art UE;
The data channel schematic diagram of Fig. 2 (a) direct communications between adjacent communication UE;
The communication data channel schematic diagram that Fig. 2 (b) is route between adjacent communication UE by eNB;
Fig. 3 is EPS bearing bindings schematic diagram in the prior art;
Fig. 4 is a kind of schematic flow sheet for the method for establishing adjacent communication provided in an embodiment of the present invention;
Fig. 5 is LTE network user plane path schematic diagram;
Fig. 6 (a), Fig. 6 (b) are the schematic diagram that application server increases extra field in the packet;
Fig. 7 is a kind of schematic flow sheet for method for establishing adjacent communication that the specific embodiment of the invention provides;
Fig. 8 is a kind of schematic flow sheet for method for establishing adjacent communication that another specific embodiment of the present invention provides;
Fig. 9 is a kind of schematic flow sheet for method for establishing adjacent communication that another specific embodiment of the present invention provides;
Figure 10 is a kind of schematic flow sheet for method for establishing adjacent communication that another specific embodiment of the present invention provides;
Figure 11 is a kind of structural representation of mobility management entity MME equipment provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation of communication system provided in an embodiment of the present invention.
Embodiment
It is adjacent for being provided in network the embodiments of the invention provide a kind of method and apparatus for establishing adjacent communication, system
During nearly communication service, the communication between terminal is switched into adjacent communication path from EPS carryings, ensure user's communication do not interrupt into
OK.
The present invention needs application and Virtual network operator to reach the agreement of adjacent communication service.
Assuming that the first UE and the 2nd UE are communicated using the carrying service of 3GPP networks(Speech, data etc.), with
The movement of terminal, two terminals are provided with the condition for carrying out adjacent communication.The inventive method is initiated and controlled by network side
The switching in adjacent communication path is carried into user plane path from EPS, to establish adjacent communication.
Referring to Fig. 4, a kind of method for establishing adjacent communication provided in an embodiment of the present invention includes:
S401, the first MME (Mobility Management Entity, the mobility for serving the first user equipment (UE)
Management entity) receive the communication instruction for being used to indicate the first UE and the 2nd UE and communicating that network entity is sent;
S402, determine that the first UE and the 2nd UE has contracted adjacent communication after the first MME is receiving the communication instruction, and
And when determining that the first UE and the 2nd UE has proximity relations, the first MME is sent for indicating the eNB to evolved base station eNB
The adjacent communication instruction of adjacent communication is established for the first UE and the 2nd UE.
Preferably, the communication instruction includes:First UE mark, the 2nd UE mark, the first UE and the second UE communication
The Evolved Packet System EPS carrying marks used.
Preferably, mark, the 2nd UE mark of the first UE are international mobile subscriber identity IMSI
(International Mobile Subscriber Identifier, international mobile subscriber identifier) identifies.
When the first MME determines not serve two UE, preferably, the first MME identifies inquiry by the 2nd UE IMSI
HSS (Home Subscriber Servier, home subscriber server), determine that the 2nd UE has contracted adjacent communication.Preferably,
This method also includes:First MME inquires about HSS by the 2nd UE IMSI marks, it is determined that serving the 2nd UE the 2nd MME;The
One MME obtains the 2nd UE temporary mark by the 2nd MME.
For MME when adjacent communication instruction is sent to eNB, the first UE mark is with the 2nd UE's in adjacent communication instruction
Mark is S-TMSI (Shortened-Temporary Mobile Subscriber Identity, the interim movement of shortening
Contracted user identifies), also referred to as temporary mark, for identifying UE in interface Uu in the air;UE for not being MME services,
Then need inquiry to serve the MME of the UE and obtain S-TMSI.
Preferably, the first MME determines that the first UE and the 2nd UE have proximity relations, including:When the communication instruction is also wrapped
When including the first UE and the 2nd UE has the instruction of proximity relations, the first MME determines the first UE and second according to the communication instruction
UE has proximity relations;When the communication instruction, which does not include the first UE and the 2nd UE, has the instruction of proximity relations, the first MME
Determine that the first UE and the 2nd UE have proximity relations according to preset algorithm.I other words the first UE is may indicate that in communication instruction
There is proximity relations with the 2nd UE, and when not having the instruction of above proximity relations during communication indicates, by MME according to pre- imputation
Method voluntarily judges whether the first UE and the 2nd UE has proximity relations.
Preferably, after the first MME sends adjacent communication instruction to the evolved base station eNB for serving the first UE,
This method also includes:When it is determined that the first UE and the 2nd UE have established adjacent communication, the first UE and the first MME interactive information, with
Delete the EPS carryings or close data flow template TFT corresponding with the data flow of the second UE communication in the EPS carryings;
And when it is determined that the first UE and the 2nd UE have established adjacent communication, the 2nd UE MME interactive information corresponding with the 2nd UE, with
Delete the EPS carryings or close data flow template TFT corresponding with the data flow of the first UE communication in the EPS carryings.
Network side will control the switching for completing user plane, it is necessary to meet precondition:Two terminals communicate.And network
The communication instruction that entity is sent then is used to indicate that two terminals communicate.In specific implementation, network entity can be PGW or
Adjacent communication server.
When network entity is PGW, there are two kinds of embodiments to correspond respectively to two different originals that PGW sends communication instruction
Cause.One of which embodiment is to determine that two terminals communicate and send communication by application server to be indicated to PGW, another real
It is that PGW is according to application service under IPv6 (Internet Protocol version6, IPv 6) scene to apply example
The packet of device forwarding communicates determining two terminals and sends communication instruction.
The user plane path to be communicated between embodiment one, current LTE network UE is as shown in Figure 5(In figure, eNB1 and
ENB2 can be that same eNB, SGW1 and SGW2 can be that same SGW, PGW1 and PGW2 can be same PGW, by UE
A service MME is designated as MME1, and UE B service MME is designated as MME2).As seen from the figure, the data of UE A and UE B communications are necessary
Forwarded by application server, therefore application server is known that UE A and UE B communicate.
Preferably, the first mobility management entity MME receive that packet data network gateway PGW sends be used to indicate the
The communication instruction that one user equipment (UE) and the 2nd UE are communicating, including:First MME receives PGW hairs by gateway SGW
The communication instruction for being used to indicate the first user equipment (UE) and the 2nd UE and communicating sent.
The instruction of the communication from application server received is turned preferably, the communication instruction is the PGW
Get in return.
Preferably, the class of the mark and the 2nd UE mark for the first UE that the communication instruction from application server includes
Type is:MSISND(Mobile subscriber ISND number, mobile contracted user's ISDN ISDN number)
Mark, or outer logo, or application identities.
Preferably, the PGW is by inquiring about in the communication instruction of home subscriber server HSS self-application in future servers
First UE and the 2nd UE mark is converted to IMSI marks.IMSI marks are the marks that MME is capable of Direct Recognition.
Embodiment two, when applied to IPv6 agreements, the present invention propose packet can be carried out by application server
Reason, and detected by PGW and find communicating between UE.
Preferably, the communication instruction be the PGW when according to the packet from application server determine the first UE and
What the 2nd UE was sent when communicating.
Preferably, the PGW determines that the first UE and the 2nd UE are communicating, including:The PGW carrys out self-application to reception
The address information of the packet for being sent to the first UE of server is detected;Wherein, the address information of the packet uses
IPv 6 IPv6 agreements;The PGW is according to the packet for being sent to the first UE from application server
Source UE addresses, determine that the first UE and the 2nd UE communicate.Such as:PGW detects that (source address is application from application server
The address of server) the source UE addresses of the packet for being sent to the first UE (destination address is the first UE address) be the 2nd UE
Address, it is determined that the first UE and the 2nd UE communicate.
As shown in Fig. 6 (a), Fig. 6 (b), preferably, the application server the 2nd UE packet is sent to it is described
Before PGW, increase the field for recording source UE addresses in the packet.
In IPv6 agreements, source address and destination address be it has been specified that packet in two addresses must providing, point
Not Dui Yingyu packet transmitting terminal address, and the address of the receiving terminal of packet;And source UE addresses, refer to sending the number
According to the UE of bag address.Because packet can pass through multiple equipment in transmitting procedure, therefore source address can change, and send
The UE of packet address information can lose, therefore application server, after the extra field of increase source UE addresses, PGW is just
It can be found that it is that the 2nd UE is sending packet to the first UE.
Preferably, the PGW is sent to first to packet of the reception from the first UE and from application server
The address information of UE packet is detected, and has been contracted the finger of adjacent communication in the first UE for receiving the first MME transmissions
Carried out when showing.For example, when PDN connections are established, MME provides the UE instruction with adjacent communication signing to PGW, is easy to
The packet that PGW has the UE for adjacent communication of having contracted is detected.
Preferably, this method also includes:The PGW, it is determined that serving the 2nd UE PGW, leads to according to the 2nd UE address
Cross the mark that the PGW for serving the 2nd UE determines the 2nd UE;Or the PGW is carried out reversely according to the 2nd UE address
DNS(Domain Name Service, domain name service)Inquiry, determine the 2nd UE mark.
When network entity is adjacent communication server, determine that two terminals communicate and send communication by application server
It is indicated to adjacent communication server.
Preferably, the communication instruction is communication from application server of the adjacent communication server to receiving
Indicate what is be converted to.
Preferably, the class of the mark and the 2nd UE mark for the first UE that the communication instruction from application server includes
Type is:Mobile contracted user's comprehensive service digital net number MSISND marks, or outer logo, or application identities.
Preferably, the adjacent communication server is changed to the instruction of the communication from application server received,
Including:During communication of the adjacent communication server by inquiring about home subscriber server HSS self-application in future servers indicates
The first UE and the 2nd UE mark be converted to IMSI mark.
Preferably, the communication instruction, in addition to:First UE and the 2nd UE has contracted the instruction of adjacent communication, and/or,
First UE and the 2nd UE has the instruction of proximity relations.Therefore, the first UE and the 2nd UE has contracted adjacent communication, and/or first
UE and the 2nd UE have proximity relations, can voluntarily be judged to determine by MME, can also be by MME according to adjacent communication server
Instruction determines.Preferably, by adjacent communication server determine the first UE and the 2nd UE contracted adjacent communication when, adjacent communication clothes
Business device determines that the first UE and the 2nd UE has contracted adjacent communication by inquiring about HSS, or the signing information by receiving in advance is true
Fixed first UE and the 2nd UE has contracted adjacent communication.Preferably, the communication instruction that adjacent communication server is sent to MME includes the
When one UE and the 2nd UE have the instruction of proximity relations, the instruction is carried in the communication instruction of application server, either
Determine that the first UE and the 2nd UE has what is sent after proximity relations according to preset algorithm by adjacent communication server.
The specific embodiment of the present invention is given below:
Specific embodiment one, the present embodiment scene are as follows:The UE's that application server provides is identified as MSISDN, UE A and
UE B are attached to MME1, and communication instruction does not include the instruction of proximity relations.As shown in fig. 7, it is flow corresponding to the present embodiment
Schematic diagram, specifically include following steps:
1st, after application server finds that UE A and UE B communicate,(Directly or indirectly through intermediate node)To UE A's
Service PGW1 hair control messages, control message include UE A mark MSISDN_A, UE B mark MSISDN_B, UEA with
The instruction that UE B are communicating.
2nd, PGW1 obtains out UE A EPS carrying marks by the address of application server and UE A mark, performs mark
Know mapping, i.e., UE A and UE B mark are each mapped to IMSI_A and IMSI_B, by IMSI_A, IMSI_B, communication instruction
MME1 is sent to UE A EPS carryings mark, the message needs to forward by SGW1.
3rd, MME1 judges that UE A and UE B have the signing of adjacent communication(Judge locally there are UE B by UE B mark
MM context (MM Context, Mobility Management)).MME calls the side that proximity relations is found
Method, it is found that UE A and UE B have proximity relations.
4th, MME1 sends S1-AP message to eNB, and message includes adjacent communication order, UE A mark S-TMSI_A, UE
B mark S-TMSI_B, UE A radio bearer(EPS is carried)Mark.
5th, eNB is that UE A and UE B distribution are neighbouring according to QoS corresponding to radio bearer identification, local resource, channel condition
Resource needed for communication.
6th, eNB controls UE A and UE B to establish adjacent communication path;Adjacent communication passes through S1-AP message after the completion of establishing
Notify MME1.
7th, for UE A, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE A are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE B communications of carrying.
8th, for UE B, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE B are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE A communications of carrying.
Specific embodiment two, the scene of the present embodiment and the difference of specific embodiment one are, include in communication instruction
The mark of proximity relations, specifically includes following steps:
1st, application server sends to PGW1 and controlled it is determined that UE A and UE B are communicating and when the two has proximity relations
Message processed, in control message except mark MSISDN_A, the UE B including UE A mark MSISDN_B, UEA and UE B
Outside the instruction of communication, include UE A and UE B neighbouring mark.
2nd, PGW1 obtains out UE A EPS carrying marks by the address of application server and UE A mark, performs mark
Know mapping, i.e., UE A and UE B mark are each mapped to IMSI_A and IMSI_B, by IMSI_A, IMSI_B, the instruction that communicates,
UE A EPS carryings mark and neighbouring mark is sent to MME1, and the message needs to forward by SGW1.
3rd, MME1 judges that UE A and UE B have the signing of adjacent communication(Judge locally there are UE B by UE B mark
MM context), it is not necessary to UE A and UE B proximity relations are judged.
4th, MME1, which issues eNB message, includes adjacent communication order, UE A neighbouring mark S-TMSI_A, UE B neighbour
Nearly mark S-TMSI_B, EPS carrying mark.
5th, eNB is that UE A and UE B distribute resource needed for adjacent communication according to channel condition, local resource and tactful Pei Ge.
6th, eNB controls UE A and UE B to establish adjacent communication path;Adjacent communication is led to after the completion of establishing by S1-AP message
Know MME1.
7th, it is necessary to, to adjacent communication path, be by data flow handoff corresponding to all TFT in carrying for UE A
This, UE A are deleted by what UE requested bearer resource modification procedure requests MME1 was carried
Remove.
8th, for UE B, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE B are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE A communications of carrying.
Specific embodiment three, the scene of the present embodiment are as follows:Communication instruction includes proximity relations mark, application server
Outer logo is used in the message of transmission, UE A and UE B are attached to different MME.As shown in figure 8, it is corresponding to the present embodiment
Schematic flow sheet, specifically include following steps:
1st, after application server finds that UE A and UE B are communicating and UE A and UE B has proximity relations,(Directly or
Indirectly by intermediate node)Service PGW1 hair control messages to UE A, control message include UE A outer logo
The instruction that external-ID_A, UE B outer logo external-ID_B, UEA and UE B are communicating, and neighbouring pass
System's mark.
2nd, PGW1 obtains out UE A EPS carrying marks by the address of application server and UE A mark, inquires about HSS
UE A and UE B outer logo are each mapped to IMSI_A and IMSI_B, by IMSI_A, IMSI_B, UEA and UE B are
The instruction of communication, proximity relations mark and UE A EPS carryings mark are sent to MME1, and the message needs to forward by SGW1.
3rd, MME1 judges that UE A and UE B have the signing of adjacent communication(HSS is inquired about by UE B mark IMSI_B to obtain
UE B service MME2 is obtained, inquiry MME2 obtains UE B mark S-TMSI and adjacent communication signing information).
4th, MME1 sends S1-AP message to eNB, and message includes adjacent communication order, UE A mark S-TMSI_A, UE
B mark S-TMSI_B, UE A radio bearer identification.
5th, for eNB according to QoS corresponding to radio bearer identification, local resource is that UE A and UE B distribute money needed for adjacent communication
Source.
6th, eNB controls UE A and UE B to establish adjacent communication path;Adjacent communication is led to after the completion of establishing by S1-AP message
Know MME1.
7th, for UE A, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE A are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE B communications of carrying.
8th, it is necessary to by data flow handoff corresponding to whole TFT in carrying to adjacent communication path, UE for UE B
The deletion that B is carried by UE requested bearer resource modification procedure requests MME2.
Specific embodiment four, the scene of the present embodiment and the difference of specific embodiment one are that UE A and UEB adhere to respectively
To MME1, MME2, following steps are specifically included:
1st, application server is when it is determined that UE A and UE B communicate, and control message is sent to PGW1, in control message
The instruction that mark MSISDN_B, UEA and the UE B of mark MSISDN_A, UE B including UE A is communicating.
2nd, PGW1 sends out IMSI_A, IMSI_B, the instruction that UEA and UE B are communicating, and UE A EPS carrying marks
Give MME1.
3rd, MME1 needs to judge UE A and UE B proximity relations.
4th, MME1, which issues eNB message, includes nearly communications command, UE A mark S-TMSI_A, UE B mark S-
TMSI_B。
5th, eNB foundation local resources are He Pei Ge strategies distribute resource needed for adjacent communication for UE A and UE B.
6th, eNB controls UE A and UE B to establish adjacent communication path;Adjacent communication is led to after the completion of establishing by S1-AP message
Know MME1.
7th, for UE A, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE A are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE B communications of carrying.
8th, it is necessary to, to adjacent communication path, be by data flow handoff corresponding to all TFT in carrying for UE B
This, UE B are deleted by what UE requested bearer resource modification procedure requests MME2 was carried
Remove.
Specific embodiment five, using IPv6 release protocols, PGW has found that UE A and UE B communicate, as shown in figure 9, tool
Body comprises the following steps:
0th, during PDN connections foundation, MME notices PGW UE A have adjacent communication signing.The process can be same
Process is established in the PDN connections that execution or UE are individually initiated during attach.
1st, UE As of the PGW for being contracted with adjacent communication communication data packet carries out packet and carries out deep-packet detection,
By IP packets with extended format find UE A with UE communication.PGW passes through the UE B provided in packet IP
Address carries out the IMSI that inverse dns nailing obtains UE B.
Optionally, PGW can obtain UE B PGW addresses or mark using UE B IP address prefix, then with UE B
PGW interactions obtain UE B IMSI marks.
2nd, IMSI_A, IMSI_B, communication instruction and UE A EPS carryings mark are sent to MME1 by PGW1, and the message needs
To be forwarded by SGW1.
3rd, MME1 judges that UE A and UE B have the signing of adjacent communication(Judge locally there are UE B by UE B mark
MM context).MME calls the method that proximity relations is found, it is found that UE A and UE B have proximity relations.
4th, MME1 sends S1-AP message to eNB, and message includes adjacent communication order, UE A mark S-TMSI_A, UE
B mark S-TMSI_B, UE A radio bearer identification.
5th, eNB is that UE A and UE B distribution are neighbouring according to QoS corresponding to radio bearer identification, local resource, channel condition
Resource needed for communication.
6th, eNB controls UE A and UE B to establish adjacent communication path;Adjacent communication is led to after the completion of establishing by S1-AP message
Know MME1.
7th, for UE A, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE A are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE B communications of carrying.
8th, for UE B, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE B are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE A communications of carrying.
Specific embodiment 6, in the present embodiment, communication instruction is forwarded by adjacent communication server.Referring to Figure 10, specifically include
Following steps:
1st, after application server finds that UE A and UE B communicate, send and disappear to service UE A adjacent communication server
Breath, message include the instruction that UE A mark MSISDN_A, UE B mark MSISDN_B, UEA and UE B is communicating.
2nd, adjacent communication server perform identity map, i.e., by UE A and UE B mark be each mapped to IMSI_A and
IMSI_B;And inquire about HSS and determine that UE A and UE B have contracted adjacent communication.By IMSI_A, IMSI_B, communication instruction and UE
The instruction that A and UE B have the signing of adjacent communication is sent to MME1.
3rd, MME1 calls the method that proximity relations is found, it is found that UE A and UE B have proximity relations.
4th, MME1 sends S1-AP message to eNB, and message includes adjacent communication order, UE A mark S-TMSI_A, UE
The QoS demand of B mark S-TMSI_B, UE A business.
5th, eNB is that UE A and UEB distribute adjacent communication based on the QoS demand in communications command, local resource, channel condition
Required resource.
6th, eNB controls UE A and UE B to establish adjacent communication path;Adjacent communication is led to after the completion of establishing by S1-AP message
Know MME1.
7th, for UE A, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE A are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE B communications of carrying.
8th, for UE B, it is only necessary to by data flow handoff corresponding to the part TFT in carrying to adjacent communication path,
The modification that UE B are carried by UE requested bearer resource modification procedure requests MME1,
Close the upper TFT corresponding with the data flow of UE A communications of carrying.
Optionally, in step 2, adjacent communication server determines that the first UE and the 2nd UE has contracted adjacent communication by HSS
While, determine that UE A and UE B have proximity relations always according to preset algorithm;Correspondingly, in step 3, MME1 need not be carried out
The judgement of proximity relations.MME1 directly sends S1-AP message according to the instruction of adjacent communication server to eNB.
Referring to Figure 11, a kind of mobility management entity MME equipment bag for serving the first UE provided in an embodiment of the present invention
Include:
Communication instruction receiving unit 1001, for receive network entity transmission be used for indicate the first user equipment (UE) and the
The communication instruction that two UE are communicating;
Adjacent communication determining unit 1002, for determining that the first UE and the 2nd UE has contracted after the communication instruction is received
Adjacent communication, and determine that the first UE and the 2nd UE has proximity relations, trigger adjacent communication instruction sending unit;
Adjacent communication instruction sending unit 1003, for being sent to evolved base station eNB for indicating that the eNB is first
UE and the 2nd UE establishes the adjacent communication instruction of adjacent communication.
Preferably, the communication instruction includes:First UE mark, the 2nd UE mark, the first UE and the second UE communication
The Evolved Packet System EPS carrying marks used.
Preferably, mark, the 2nd UE mark of the first UE are international mobile subscriber identity IMSI marks.
Preferably, when the first MME determines that the adjacent communication determining unit passes through the 2nd UE's when not serving two UE
IMSI mark inquiry home signature user server HSS, determine that the 2nd UE has contracted adjacent communication.
Preferably, when adjacent communication determining unit 1002 is used to determine that the first UE and the 2nd UE has proximity relations, specifically
For:When the communication instruction, which also includes the first UE and the 2nd UE, has the instruction of proximity relations, indicated according to the communication
Determine that the first UE and the 2nd UE have proximity relations;There is proximity relations when the communication instruction does not include the first UE and the 2nd UE
Instruction when, determine that the first UE and the 2nd UE have proximity relations according to preset algorithm.
Preferably, the equipment also includes:Releasing unit is carried, for having established neighbouring lead to as determination the first UE and the 2nd UE
During letter, and the first UE interactive information, carried or closed in the EPS carryings and the number of the second UE communication with deleting the EPS
According to data flow template TFT corresponding to stream.
Preferably, when this device service is in two UE, the carrying releasing unit is additionally operable to:When it is determined that the first UE and
When two UE have established adjacent communication, and the 2nd UE interactive information, carry or close in the EPS carryings to delete the EPS
Data flow template TFT corresponding with the data flow of the first UE communication.
Referring to Figure 12, a kind of communication system provided in an embodiment of the present invention includes:
Mobility management entity MME1101, for receive network entity transmission be used for indicate the first UE and the 2nd UE just
Indicated in the communication of communication;Determine that the first UE and the 2nd UE has contracted adjacent communication after the communication instruction is being received, and
When determining that the first UE and the 2nd UE have proximity relations, to evolved base station eNB send for indicate the eNB for the first UE with
2nd UE establishes the adjacent communication instruction of adjacent communication;
ENB1102, the adjacent communication instruction sent for receiving the MME;It can be the first UE and the to determine this base station
Two UE establish adjacent communication;Resource needed for adjacent communication is distributed for the first UE and the 2nd UE;The first UE and the 2nd UE is controlled to establish
Adjacent communication.
Network entity 1103, for being sent according to the message from application server 1104 to the MME for indicating the
The communication instruction that one UE and the 2nd UE are communicating.
When the network entity is packet data network gateway PGW, including following two embodiments.
Embodiment one, preferably, the PGW by gateway SGW to the MME send for indicate the first user set
The communication instruction that standby UE and the 2nd UE is communicating.
The instruction of the communication from application server received is turned preferably, the communication instruction is the PGW
Get in return.
Preferably, the class of the mark and the 2nd UE mark for the first UE that the communication instruction from application server includes
Type is:Mobile contracted user's comprehensive service digital net number MSISND marks, or outer logo, or application identities.
Preferably, when the PGW is used to change the instruction of the communication from application server received, it is specific to use
In:
The first UE and the 2nd UE in communication instruction by inquiring about home subscriber server HSS self-application in future servers
Mark be converted to IMSI mark.
Embodiment two, preferably, the communication instruction is the PGW is determined when according to the packet from application server
What the first UE and the 2nd UE were sent when communicating.
Preferably, when the PGW determines that the first UE and the 2nd UE communicate, it is specifically used for:Self-application is come to reception
The address information of the packet for being sent to the first UE of server is detected;Wherein, the address information of the packet uses
IPv 6 IPv6 agreements;According to the source UE of the packet for being sent to the first UE from application server
Location, determine that the first UE and the 2nd UE communicate.
Preferably, the address of the source UE is the 2nd UE address;The application server 1104 is additionally operable to by second
UE packet is sent to before the PGW, increases the field for recording source UE addresses in the packet.
Preferably, when the PGW does not serve two UE, the PGW1103 is additionally operable to the address according to the 2nd UE, really
Surely the 2nd UE PGW is served, the 2nd UE mark is determined by the PGW for serving the 2nd UE;It is or described
PGW1103 carries out reverse domain name service DNS query according to the 2nd UE address, determines the 2nd UE mark.
Preferably, the PGW is sent to first to packet of the reception from the first UE and from application server
The address information of UE packet is detected, and has been contracted adjacent communication receiving the first UE that the MME1101 sends
Instruction after carry out.
When the network entity is adjacent communication server, preferably, the communication instruction is the adjacent communication clothes
Business device is converted to the communication instruction from application server received.
Preferably, the class of the mark and the 2nd UE mark for the first UE that the communication instruction from application server includes
Type is:Mobile contracted user's comprehensive service digital net number MSISND marks, or outer logo, or application identities.
It is used to change the instruction of the communication from application server received preferably, stating adjacent communication server
When, it is specifically used for:The first UE and the in communication instruction by inquiring about home subscriber server HSS self-application in future servers
Two UE mark is converted to IMSI marks.
Preferably, the communication instruction, in addition to:First UE and the 2nd UE has contracted the instruction of adjacent communication, and/or,
First UE and the 2nd UE has the instruction of proximity relations.I.e. it is neighbouring to determine that the first UE and the 2nd UE has contracted for adjacent communication server
Communication, and/or, adjacent communication server determines that the first UE and the 2nd UE have proximity relations.
In summary, the embodiments of the invention provide a kind of method and apparatus for establishing adjacent communication, system, in net
When network provides adjacent communication service, the communication between terminal is switched into adjacent communication path from EPS carryings, ensures user's communication
Do not interrupt progress.
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 and optical memory etc.)The shape of the computer program product of upper implementation
Formula.
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 dress Ge 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
Ling Zhuan Ge manufacture, the Zhi Ling Zhuan Ge 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.
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.