WO2017084049A1 - 一种链路建立方法及设备 - Google Patents

一种链路建立方法及设备 Download PDF

Info

Publication number
WO2017084049A1
WO2017084049A1 PCT/CN2015/094941 CN2015094941W WO2017084049A1 WO 2017084049 A1 WO2017084049 A1 WO 2017084049A1 CN 2015094941 W CN2015094941 W CN 2015094941W WO 2017084049 A1 WO2017084049 A1 WO 2017084049A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
terminal
access network
routing information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/094941
Other languages
English (en)
French (fr)
Inventor
郑潇潇
毕皓
庞伶俐
黄敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to JP2018525607A priority Critical patent/JP6645677B2/ja
Priority to EP15908546.3A priority patent/EP3370472A4/en
Priority to CN201580084506.8A priority patent/CN108353441B/zh
Priority to PCT/CN2015/094941 priority patent/WO2017084049A1/zh
Publication of WO2017084049A1 publication Critical patent/WO2017084049A1/zh
Priority to US15/982,976 priority patent/US20180270886A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/03Reselecting a link using a direct mode connection
    • H04W36/037Reselecting a link using a direct mode connection by reducing handover delay, e.g. latency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Definitions

  • the present invention relates to the field of mobile communications technologies, and in particular, to a link establishing method and device.
  • a peer-to-peer (Peer-to-Peer) (P2P) service such as a voice service or a video service
  • P2P peer-to-peer
  • the terminal 1 is to perform P2P communication with the terminal 2
  • the path experienced by the service data is : terminal 1 - access network device 1 - core network device - gateway - server - gateway - core network device serving terminal 1 - access network device 2 - terminal 2 serving terminal 2
  • the transmission path is as shown in FIG.
  • the arrow shows.
  • the gateway may include, for example, a PGW and an SGW.
  • the more detailed transmission path may be: the terminal 1 - the access network device serving the terminal 1 - the core network device - the PGW - SGW - the server - the SGW - the PGW - the core network Device - Access Network Device 2 - Terminal 2 serving Terminal 2, this more detailed transmission path is not shown in Figure 1.
  • the present invention provides a method and a device for establishing a link, which are used to solve the technical problem that a service data transmission path is long and a transmission delay is large.
  • a first link establishment method including:
  • the first network device obtains location information of the first terminal and the first information, where the first terminal requests to establish a session with the second terminal, where the first information is location information of the second terminal and/or the Identification information of the session;
  • the first network device obtains first routing information according to the location information of the first terminal and the first information, where the first routing information is a direct link between the first terminal and the second terminal. Routing information.
  • the first network device may obtain location information of the terminals at both ends of the communication, or may Obtaining location information of one of the terminals and identification information of the session, the first network device may obtain routing information (ie, first routing information) of establishing a direct link between the two terminals according to the obtained information, so that two When the terminal is in communication, the transmission path of the service data may be: the first terminal - the first access network device - the second access network device - the second terminal, or may be: the first terminal - the first access network
  • the device-first core network device-second access network device-second terminal, regardless of the path, is shorter than the transmission path in the prior art, thereby reducing the transmission delay and improving the transmission time. Transmission efficiency also saves transmission resources.
  • the first network device is a first access network device that serves the first terminal
  • the first network device Obtaining the first routing information according to the location information of the first terminal and the first information, including:
  • the first network device determines that the first terminal and the second terminal are capable of establishing the direct link, the first network device is configured according to the location information of the first terminal and the first information. Generating the first routing information;
  • the first network device determines that the first terminal and the second terminal can establish the direct link, the first network device sends a first direct route request message to the second core network device, where The first direct route request message is used to indicate that the second core network device allocates the first routing information;
  • the first network device receives the first routing information sent by the second core network device.
  • the first access network device After the first access network device determines that the direct link can be established between the first terminal and the second terminal, the first access network device can directly generate the first routing information, and the process of generating the first routing information is relatively straightforward, and the It is done by other devices.
  • the first access network device may indicate the second The core network device generates the first routing information, and the core network device generates the first routing information, which reduces the burden on the first access network device, reduces the required configuration function of the first access network device, and the first routing information It is generated by the second core network device, and the second core network device naturally knows the direct link established between the first terminal and the second terminal, and does not need to notify the second core network device by the first access network device, thereby reducing transmission.
  • the amount of information The amount of information.
  • the first network device In conjunction with the first possible implementation of the first aspect, in a second possible implementation manner of the first aspect, the first network device generates, according to the location information of the first terminal and the first information, After the first routing information, the method further includes:
  • the first routing information is sent to the device related to the direct link of the first terminal and the second terminal, so that after receiving the first routing information, the corresponding device may
  • the first routing information configures itself, which is equivalent to establishing a direct link. Which devices the first routing information is sent to may be specified by the system or protocol, or may be determined by the first access network device.
  • the first network device sends the second network device to the second access network device that serves the second terminal
  • the first routing information includes:
  • the first network device sends the first routing information to the second access network device by using the second core network device.
  • the direct communication mode may be adopted, or the method of transiting through the second core network device may also be adopted, which is flexible.
  • the first network device sends the first route to the first access network device and the second access network device that serves the second terminal, respectively.
  • the first network device sends the first routing information to the first access network device, the second access network device serving the second terminal, and the first core network device, respectively, include:
  • the first network device sends a first notification message to the second core network device, where the first notification message is used to indicate the direct link established between the first terminal and the second terminal.
  • the first access network device may also notify the second core network device, and a direct link is established between the first terminal and the second terminal, so that the subsequent possible Deleting or switching the direct link also facilitates the participation of the second core network device in the management of the direct link.
  • the core network device sends the first connection release message, where the first connection release message is used to indicate that resources of the session and resources of the direct link are released.
  • the direct link may be deleted, and the first access network device directly sends the first connection to the device related to the direct link (that is, the device that receives the first routing information).
  • the message can be released.
  • the devices can release the resources of the session established by the first terminal and the second terminal and the resources of the direct link, thereby deleting the direct link, which is very simple.
  • the method further includes:
  • the first network device determines that the first terminal is about to switch to the third access network device
  • the network device Transmitting, by the first network device, a handover request to the third access network device, or the first
  • the network device sends a handover request to the third access network device by using the second core network device;
  • the handover request carries location information of the second terminal and/or the first routing information, and the second terminal
  • the location information and/or the first routing information is used to obtain second routing information of a new direct link between the first terminal and the second terminal.
  • the direct link may be switched because the location of the terminal is changed.
  • the first access network device may send a handover request to the third access network device, and the third access may be performed.
  • the network device can obtain the second routing information according to the location information of the second terminal and/or the first routing information carried in the handover request, so that the first terminal can pass the new direct link after switching to the third access network device.
  • the communication process with the second terminal is relatively simple, and the terminal does not need to participate, so as to ensure that the transmission path is shorter after the position of the terminal changes.
  • the first network device is a second core network device
  • the first network device obtains the location information of the first terminal and the first information, including:
  • the first network device obtains the first routing information according to the location information of the first terminal and the first information, including:
  • the first network device determines that the first terminal and the second terminal are capable of establishing the direct link, the first network device is configured according to the location information of the first terminal and the first information. Generating the first routing information.
  • the decision process can be performed by the second core network device, reducing the burden on the access network device.
  • the second core network device may generate the first routing information by determining that the first terminal and the second terminal can establish a direct link, so that when the two terminals are communicating, the transmission path of the service data may be: the first terminal- An access network device - a second access network device - a second terminal, or may be: a first terminal - a first access network device - a first core network device - a second access network device - a second terminal, regardless of Which path is it, Compared with the transmission path in the prior art, the transmission delay is reduced, the transmission delay is reduced, the transmission efficiency is improved, and the transmission resource is also saved.
  • the method further includes:
  • the first routing information is also sent to the device related to the direct link of the first terminal and the second terminal, so that after receiving the first routing information, the corresponding device may
  • the first routing information configures itself, which is equivalent to establishing a direct link. Which devices the first routing information is sent to may be specified by the system or protocol, or may be determined by the second core network device.
  • the method further includes:
  • the first network device sends a first connection release message to the first access network device and the second access network device, respectively, or the first network device respectively sends the first connection network device to the first access network device,
  • the second access network device and the first core network device send a first connection release message, where the first connection release message is used to indicate that resources of the session and resources of the direct link are released.
  • the direct link may be deleted, and if the second core network device decides to establish the direct link, the second core network device may also be connected to the direct link.
  • the related device that is, the device that receives the first routing information
  • the devices may release the resources of the session established by the first terminal and the second terminal, and the direct
  • the resources of the link, thus deleting the direct link are very simple.
  • the method further includes:
  • the first network device receives a second notification message, where the second notification message is used to indicate that the first terminal is about to switch to the third access network device, and the second notification message carries the second terminal Location information and/or the first routing information;
  • the first network device obtains second routing information according to the location information of the second terminal and/or the first routing information; the second routing information is a location after switching to the third access network device. Routing information of a direct link between the first terminal and the second terminal;
  • the first access network device may send the second notification message to the second core network device, and the second core network device may obtain the second routing information, so that the first After the terminal switches to the third access network device, it can communicate with the second terminal through the new direct link, and the handover process is relatively simple, and the terminal does not need to participate, so as to ensure that the transmission path is shorter after the location of the terminal changes. .
  • a second link establishment method including:
  • the second core network device receives the first direct route request message
  • the second core network device generates first routing information according to the first direct routing request message, where the first routing information is routing information of a direct link between the first terminal and the second terminal, where the first The terminal requests to establish a session with the second terminal.
  • the first access network device determines that a direct link can be established between the first terminal and the second terminal, and the first access network device can send the first direct route request message to the second core network device, and then the second The core network device can generate the first routing information, reduce the burden on the first access network device, and reduce the required configuration of the first access network device, which can save the cost of the first access network device to a certain extent.
  • the method further includes:
  • the second core network device respectively provides a first access network device and service serving the first terminal
  • the second access network device of the second terminal sends the first routing information to establish the direct link; or the first network device respectively provides a first service to the first terminal
  • the access network device, the second access network device serving the second terminal, and the first core network device send the first routing information to establish the direct link.
  • the first routing information is sent to the device related to the direct link, so that after receiving the first routing information, the corresponding device may configure itself according to the first routing information, thereby establishing the The direct link enables the first terminal and the second terminal to communicate through the direct link, shortening the transmission path.
  • the method further includes:
  • the second core network device sends a first connection release message to the first access network device and the second access network device, respectively, or the second core network device respectively goes to the first access network
  • the device, the second access network device, and the first core network device send a first connection release message, where the first connection release message is used to indicate that resources of the session and resources of the direct link are released.
  • the method further includes:
  • the second core network device generates the second routing information
  • the second core network device sends the second routing information to the second access network device and the third access network device respectively, or the second core network device sends the second routing information And respectively sent to the second access network device, the third access network device, and the first core network device.
  • the first access network device may determine whether the first terminal and the second terminal can continue to establish a new direct link, if the determination determines that the first terminal and the second terminal can continue to establish a new direct link.
  • the first access network device can send the second straight to the second core network device.
  • the second core network device can directly generate the second routing information. In this way, the work required for the access network device is reduced, and the burden on the access network device is reduced.
  • a third link establishment method including:
  • a handover request sent by the first access network device where the handover request is used to indicate that the first terminal switches from the first access network device to the third access network device, where
  • the handover request carries the location information of the second terminal and/or the first routing information, where the first routing information is that the first terminal accesses the first access network device and the second terminal Routing information of the old direct link; the first terminal and the second terminal are in conversation through the old direct link;
  • the third access network device Obtaining, by the third access network device, the second route of the new direct link between the first terminal and the second terminal according to the location information of the second terminal and/or the first routing information information.
  • the first access network device may send a handover request to the third access network device, and the third access network device may use the location information and/or the second terminal carried in the handover request.
  • a routing information obtains the second routing information, so that after the first terminal switches to the third access network device, the new terminal can continue to communicate with the second terminal, thereby avoiding interruption of the communication process and minimizing transmission. path.
  • the third access network device acquires the first information according to the location information of the second terminal and/or the first routing information.
  • the second routing information of the new direct link between the terminal and the second terminal includes:
  • the third access network device determines that the first terminal and the second terminal are capable of establishing the new direct link, the third access network device is configured according to the location information of the second terminal. And/or the first routing information generates the second routing information;
  • the third access network device determines that the first terminal and the second terminal are capable of establishing the new direct link, the third access network device sends a second to the second core network device. a direct routing request message, where the second direct routing request message is used to instruct the second core network device to allocate the second routing information;
  • the third access network device receives the second routing information sent by the second core network device.
  • the third access network device can directly generate the second routing information, and the second routing information is generated in a simple manner. No longer need to be completed by other devices, and the time required is shorter. Or the third access network device determines that the first terminal and the second terminal can establish a new direct link, and the third access network device can send the second direct routing request message to the second core network device, where the second core The network device can generate the second routing information, which reduces the burden on the third access network device.
  • the third access network device is configured according to location information of the second terminal, and/or After the first routing information generates the second routing information, the method further includes:
  • the network device sends the second routing information to the second access network device serving the second terminal and the first core network device to establish the new direct link.
  • the third access network device further needs to send the second routing information to the device related to the new direct link, thereby establishing a new direct link. If the second core network device generates the second routing information, the second core network device may send the second routing information to the device related to the new direct link, thereby reducing the requirement of the third access network device. work.
  • the third access network device sends the second routing information to serve the second
  • the second access network device of the terminal includes:
  • the third access network device sends the second routing information to the second access network device by using the second core network device.
  • the two access network devices can communicate directly, or can communicate through the core network device in a flexible manner.
  • a fourth link establishment method including:
  • the first terminal When the first terminal establishes a session with the second terminal, the first terminal obtains the location information of the second terminal by using a signaling channel with the second terminal or by using a signaling channel with the network side;
  • the first terminal sends the location information of the first terminal and the location information of the second terminal to the first network device; the location information of the first terminal and the location information of the second terminal are used to obtain First routing information of the direct link between the first terminal and the second terminal.
  • the first terminal only needs to send the location information of the first terminal and the location information of the second terminal to the first network device, and can communicate with the second terminal through the direct link, and the work required for the terminal is very simple.
  • the transmission path between the two terminals is shortened, the transmission resources are saved, and the transmission efficiency is also improved.
  • a network device including:
  • a memory for storing instructions
  • a processor configured to execute the instruction, obtain location information of the first terminal, and first information, where the first terminal requests to establish a session with the second terminal, where the first information is a location of the second terminal Information and/or identification information of the session; obtaining first routing information according to the location information of the first terminal and the first information, where the first routing information is the first terminal and the second terminal Direct link routing information.
  • the network device further includes sending And a receiver; the processor is for:
  • the determination determines that the first terminal and the second terminal are capable of establishing the direct link, generating the first routing information according to the location information of the first terminal and the first information;
  • the determining determines that the first terminal and the second terminal are capable of establishing the direct link, sending, by the sender, a first direct route request message to the second core network device, where the first direct route request message is sent And configured to instruct the second core network device to allocate the first routing information;
  • the processor is further configured to:
  • the processor is used to:
  • the processor is further configured to:
  • the processor is further used to :
  • the first connection release message is directly sent to the second access network device by the transmitter, or is sent to the second access by the transmitter through the second core network device.
  • the network device and/or the first core network device sends the first connection release message, where the first connection release message is used to indicate that resources of the session and resources of the direct link are released.
  • the processor is further configured to:
  • the network device if the network device is a second core network device, the network device further includes a receiver; the processor is configured to:
  • the first routing information is generated according to the location information of the first terminal and the first information.
  • the network device further includes a transmitter, where the processor is further configured to:
  • the first routing information is sent by the sender to the first access network device and the second access network device serving the second terminal, respectively, to establish The direct link; or,
  • the processor is further configured to:
  • the first access network device, the second access network device, and the first core network device send a first connection release message, where the first connection release message is used to indicate that the resource of the session and the direct link are released. resource of.
  • the processor is further configured to:
  • the second notification message is received by the receiver, where the second notification message is used to indicate that the first terminal is about to switch to the third access network device, and the second notification message is Carrying location information of the second terminal and/or the first routing information;
  • the second routing information is the first terminal and the device after switching to the third access network device Routing information of the direct link between the second terminals;
  • a core network device including:
  • a memory for storing instructions
  • a receiver configured to receive a first direct route request message
  • a processor configured to generate the first routing information according to the first direct routing request message received by the receiver, where the first routing information is a direct link between the first terminal and the second terminal The routing information of the path, the first terminal requests to establish a session with the second terminal.
  • the core network device further includes a transmitter, where the processor is configured to:
  • the transmitter After generating the first routing information, the transmitter sends the first access network device to the first access network device serving the first terminal and the second access network device serving the second terminal by using the transmitter, respectively. a routing information to establish the direct link; or,
  • the first access network device serving the first terminal, the second access network device serving the second terminal, and the first core by the transmitter respectively
  • the network device sends the first routing information to establish the direct link.
  • the processor is further configured to:
  • the first access network device, the second access network device, and the first core network device send a first connection release message, where the first connection release message is used to indicate that the resource of the session and the direct link are released. resource of.
  • the receiver is also used to:
  • the second direct route request message is received, where the second direct route request message is used to indicate that the core network device allocates second route information; And the routing information of the direct link between the first terminal and the second terminal after switching to the third access network device;
  • the processor is further configured to:
  • a seventh aspect provides an access network device, including:
  • a memory for storing instructions
  • a receiver configured to receive a handover request sent by the first access network device, where the handover request is used to indicate that the first terminal will switch from the first access network device to the access network device, where the handover request is Carrying the location information of the second terminal and/or the first routing information, where the first routing information is the old between the first terminal and the second terminal when the first terminal accesses the first access network device Route information of the direct link; the first terminal and the second terminal are in a session through the old direct link;
  • a processor configured to execute, by using the location information of the second terminal and/or the first routing information, a new direct link between the first terminal and the second terminal Two routing information.
  • the access network device further includes a transmitter, where the processor is configured to:
  • the determination determines that the first terminal and the second terminal are capable of establishing the new direct link, generating the second routing information according to the location information of the second terminal and/or the first routing information. ;
  • the determining determines that the first terminal and the second terminal are capable of establishing the new direct link, sending, by the sender, a second direct route request message to the second core network device, where the second direct route is The request message is used to instruct the second core network device to allocate the second routing information;
  • the processor is further configured to:
  • the second access network device and the first core network device establish the new direct link.
  • the processor is configured to:
  • a terminal including:
  • a memory for storing instructions
  • a processor configured to execute the instruction, when requesting to establish a session with the second terminal, acquiring the location of the second terminal by using a signaling channel with the second terminal or by using a signaling channel with the network side Transmitting, by the transmitter, the location information of the terminal and the location information of the second terminal to the first network device; the location information of the terminal and the location information of the second terminal are used to obtain the terminal and First routing information of the direct link between the second terminals.
  • a network device comprising a party for performing the first aspect The module of the law.
  • a core network device comprising means for performing the method of the second aspect.
  • an access network device comprising means for performing the method of the third aspect.
  • a terminal comprising means for performing the method of the fourth aspect.
  • 1 is a schematic diagram of a transmission path when performing P2P communication
  • FIG. 2 is a flowchart of a method for establishing a first link according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for establishing a second link according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a third link establishing method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a fourth link establishing method according to an embodiment of the present invention.
  • FIG. 6 is a first flowchart of establishing a direct link according to an embodiment of the present invention.
  • FIG. 7 is a second flowchart of establishing a direct link according to an embodiment of the present invention.
  • FIG. 8 is a first flowchart of deleting a direct link according to an embodiment of the present invention.
  • FIG. 9 is a second flowchart of deleting a direct link according to an embodiment of the present invention.
  • 12A-12B are schematic structural diagrams of a first network device according to an embodiment of the present invention.
  • FIGS. 13A-13B are schematic structural diagrams of a second core network device according to an embodiment of the present invention.
  • FIGS. 14A-14B are schematic structural diagrams of a third access network device according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a first terminal according to an embodiment of the present invention.
  • FIG. 16 is a structural block diagram of a first network device according to an embodiment of the present invention.
  • FIG. 17 is a structural block diagram of a second core network device according to an embodiment of the present invention.
  • FIG. 18 is a structural block diagram of a third access network device according to an embodiment of the present invention.
  • FIG. 19 is a structural block diagram of a first terminal according to an embodiment of the present invention.
  • the solution of the embodiments of the present invention can be applied to existing mobile communication systems, such as a Long Term Evolution (LTE) system, a fifth generation mobile communication system (5G), and other such communication systems.
  • the network side device may be an eNB/RNC/BSC, or may be a base station or a core network node.
  • the functions of the core network and the access network may be further merged or split, and the processing of the embodiment of the present invention is not affected, regardless of the function, and the data transmission corresponding to the terminal is provided.
  • Devices can be called network devices.
  • there may be multiple types of relay devices in the data transmission process and one of the relay devices may also be a user equipment.
  • the relay devices may also be the network devices in the embodiments of the present invention.
  • the session in the embodiment of the present invention may be a P2P session, or may be another type of session.
  • a terminal which is a device that provides voice and/or data connectivity to a user, for example, may include a handheld device with wireless connectivity, or a processing device connected to a wireless modem.
  • the end device can communicate with the core network via a residential access network (RAN) to exchange voice and/or data with the RAN.
  • the terminal may be referred to as a user equipment (UE), a wireless terminal device, a mobile terminal device, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, and a remote. Station (Remote Station), Access Point (AP), Remote Terminal, Access Terminal, User Terminal, User Agent, or User Equipment (User Device) and so on.
  • it can be a mobile phone (or "cellular" phone), a computer with a mobile terminal device, a portable, pocket, handheld, computer built-in or in-vehicle mobile device.
  • PCS Personal Communication Service
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistants
  • a network device may include an access network device, such as a base station (e.g., an access point), and specifically may refer to a device in the access network that communicates with the wireless terminal device over one or more sectors on the air interface. .
  • the base station can be used to convert the received air frame to an Internet Protocol (IP) packet as a router between the wireless terminal device and the rest of the access network, wherein the remainder of the access network can include an IP network.
  • IP Internet Protocol
  • the base station can also coordinate attribute management of the air interface.
  • the base station may be a Radio Network Controller (RNC) or a Base Station Controller (BSC), or may be an evolved base station in an evolved LTE system (LTE-Advanced, LTE-A). (NodeB or eNB or e-NodeB, evolutional Node B), the embodiment of the present invention is not limited.
  • the network device may also include a core network (CN) device, such as a control node in the core network, such as a Mobility Management Entity (MME).
  • CN core network
  • MME Mobility Management Entity
  • the MME is a key control node for accessing the network.
  • P2P calculation can be simply defined as sharing computer resources and services through direct exchange, while the network formed by the peer-to-peer computing model at the application layer is usually called a peer-to-peer network, that is, a P2P network, and a session book through a P2P network. In the embodiment of the invention, it is called a P2P session.
  • a peer-to-peer network that is, a P2P network
  • P2P session book through a P2P network.
  • P2P session In a P2P network environment, Thousands of computers connected to each other are in a peer-to-peer position, and the entire network generally does not rely on dedicated centralized servers. Each computer in the network can act as a requester for network services and respond to requests from other computers to provide resources and services to other computers.
  • these resources and services include: information sharing and exchange, computing resources (such as CPU sharing), storage sharing (such as cache and disk space usage).
  • system and “network” in the embodiments of the present invention may be used interchangeably.
  • Multiple means two or more.
  • the character "/”, unless otherwise specified, generally indicates that the contextual object is an "or" relationship.
  • an embodiment of the present invention provides a first method for establishing a link, and a process of the method is described as follows.
  • Step 201 The first network device obtains the location information of the first terminal and the first information.
  • the first terminal requests to establish a session with the second terminal, where the first information is the location information of the second terminal and/or the identifier information of the session.
  • Step 202 The first network device obtains first routing information according to the location information of the first terminal and the first information, where the first routing information is routing information of a direct link between the first terminal and the second terminal.
  • an embodiment of the present invention provides a second link establishment method, and the process of the method is described as follows.
  • Step 301 When requesting to establish a session with the second terminal, the first terminal acquires location information of the second terminal by using a signaling channel with the second terminal or by using a signaling channel with the network side;
  • Step 302 The first terminal sends the location information of the first terminal and the location information of the second terminal to the first network device.
  • the location information of the first terminal and the location information of the second terminal are used to obtain the first terminal and the second terminal.
  • the first routing information between the direct links are used to obtain the first terminal and the second terminal.
  • an embodiment of the present invention provides a third link establishment method, and a process of the method is described as follows.
  • Step 401 The second core network device receives the first direct route request message.
  • Step 402 The second core network device generates first routing information according to the first direct routing request message, where the first routing information is routing information of the direct link between the first terminal and the second terminal, and the first terminal requests and the second The terminal establishes a session.
  • a fourth method for establishing a link is provided in the embodiment of the present invention.
  • the process of the method is described as follows.
  • Step 501 The third access network device receives the handover request sent by the first access network device, where the handover request is used to indicate that the first terminal will be handed over from the first access network device to the third access network device, and the handover request is carried in the handover request.
  • the terminal and the second terminal are in a conversation through the old direct link;
  • Step 502 The third access network device acquires second routing information of the new direct link between the first terminal and the second terminal according to the location information of the second terminal and/or the first routing information.
  • the access network device is a base station.
  • the access network device may be not limited to the base station, and the first core network device is the SGW, and the second core network device is the MME.
  • the first core network device is not limited to the SGW, and the second core network device is not limited to the MME.
  • any control node in the core network can be used as the second core network device.
  • the description is made by taking a session as a P2P session as an example. In practical applications, it is not limited to the type of session.
  • the first access network device and the second access network device may be the same access network device, for example, may be the same base station, that is, the first terminal and the second terminal may receive services provided by the same base station.
  • the direct link may be a link established under the same base station, or the first access network device and the second access network device may be different base stations, and the direct link needs to cross the base station.
  • the third access network device and the first access network device are not the same base station, and the third access network device and the second access network device are not the same base station.
  • the first network device may be a first access network device serving the first terminal (for example, the access network device may also be referred to as a RAN device), or may be a second core network device.
  • a core network device may also be referred to as a CN device. The following are introduced separately.
  • the first network device is a RAN device serving the first terminal, that is, a first access network device.
  • the first network device (for example, the source RAN device) notifies the first terminal to enable the direct routing (DR) function.
  • the embodiment of the present invention provides a direct routing function in a P2P network.
  • the terminal at the two ends of the communication, the access network device, and the core network device support the function, a direct link can be established between the two terminals.
  • the function can be turned off, the power consumption of the device can be reduced, and the function can be turned on when the function is needed.
  • the source RAN device can notify the first terminal to enable the function.
  • step 1 may not be performed.
  • the first terminal and the second terminal first establish a signaling channel, and the first terminal requests the location information of the second terminal through the signaling channel.
  • the path of the signaling channel may be: a first terminal - a source RAN device - a core network device - a gateway device - a server - a gateway device - a core network device - an access network device serving a second terminal (for example, a target RAN) Equipment) - the second terminal. That is, the path of the signaling channel is the same as the data transmission path of the conventional P2P service (for example, the same as described in the background art).
  • the first terminal may also obtain location information of the second terminal by using a signaling channel with the network side.
  • the location information of the second terminal may include an identity (ID) of the access network device (ie, the second access network device) where the second terminal is located, and an ID of the cell where the second terminal is located. At least one.
  • ID an identity of the access network device (ie, the second access network device) where the second terminal is located
  • ID an ID of the cell where the second terminal is located. At least one.
  • the first terminal If the first terminal supports the Direct Routing function, the first terminal sends the location information of the first terminal to the source RAN device, and if the first terminal acquires the location information of the second terminal, the first terminal may also The location information of the second terminal is sent to the source RAN device.
  • FIG. 6 is an example in which the first terminal sends the location information of the first terminal and the location information of the second terminal to the source RAN device.
  • the source RAN device sends the first routing information to the second access network device (for example, the destination RAN device), or the source RAN device sends the first routing information to the destination RAN device and the first core network. Ready.
  • FIG. 6 is an example of the source RAN device sending the first routing information to the destination RAN device.
  • the source RAN device first determines according to the location information of the first terminal and the location information of the second terminal, or the source RAN device determines according to the location information of the first terminal and the session ID (Session ID) of the current P2P session, to determine the Whether a direct link can be established between a terminal and the second terminal.
  • Session ID session ID
  • the first terminal may not acquire the location information of the second terminal, or the first terminal acquires the location information of the second terminal, if the source RAN device determines the location information of the first terminal and the session ID of the current P2P session.
  • the location information may also not be sent to the source RAN device, and the source RAN device may directly obtain the session ID of the current P2P session.
  • the source RAN device can determine whether the first terminal and the second terminal support Direct according to the location information of the first terminal and the location information of the second terminal, or according to the location information of the first terminal and the session ID of the current P2P session.
  • the routing function if supported, can establish a direct link; the source RAN device can be based on the location information of the first terminal and the location information of the second terminal, or according to the location information of the first terminal and the session ID of the current P2P session.
  • the source RAN device can determine the first according to the location information of the first terminal and the location information of the second terminal, or according to the location information of the first terminal and the session ID of the current P2P session. Whether there is a communication interface (for example, an X2 interface) between the access network device and the second access network device, if any, a direct link can be established, and the like, System.
  • a communication interface for example, an X2 interface
  • the source RAN device determines that a direct link can be established between the first terminal and the second terminal, and the source RAN device can obtain the first routing information, and can configure the first access network device according to the first routing information.
  • the source RAN device can obtain the first routing information when the source RAN device performs the determination.
  • the following examples are as follows:
  • the first type the source RAN device directly generates the first routing information according to the location information of the first terminal and the location information of the second terminal, or according to the location information of the first terminal and the session ID of the current P2P session;
  • the source RAN device sends a direct route to the second core network device (for example, MME).
  • the message is forwarded, for example, the direct route request message is referred to as a first direct route request message, and the first direct route request message is used to instruct the MME to allocate the first route information.
  • the MME may allocate the first route information, and send the first route information to the source RAN device and the destination RAN device, or send the first route information to the source RAN device and the destination RAN device.
  • the first core network device for example, SGW.
  • the source RAN device only needs to send the first direct route request message to the MME, and then receives the first route information sent by the MME, and sends the first route information to the corresponding device. The work done by MME. Then in this case, there is no need to go through the next steps.
  • the destination RAN device may configure the destination RAN device according to the first routing information, so that a direct link between the first terminal and the second terminal is established, and the path of the direct link is: a terminal-source RAN device-destination RAN device-second terminal;
  • the SGW can also receive the first routing information, so that the destination RAN device can configure the destination RAN device according to the first routing information, and the SGW can also use the first routing information to the SGW.
  • the configuration is performed to establish a direct link between the first terminal and the second terminal, where the path of the direct link is: a first terminal-source RAN device-SGW-destination RAN device-second terminal.
  • the source RAN device may send the first routing information to the destination RAN device in two different manners:
  • the first type the source RAN device directly sends the first routing information to the destination RAN device;
  • the second type the source RAN device sends the first routing information to the second core network device, for example, the MME, and the MME sends the first routing information to the destination RAN device.
  • the second core network device for example, the MME
  • the source RAN device sends a first notification message to the MME, where the first notification message is used to indicate the direct link established between the first terminal and the second terminal.
  • the source RAN may use the first terminal.
  • the MME is notified of the information of the direct link established between the second terminal and the second terminal.
  • the first network device is a second core network device.
  • Steps 1 to 3 of FIG. 7 are similar to those of FIG. 6, and are not described in detail. The steps different from FIG. 6 are mainly described below.
  • the source RAN device sends the information sent by the first terminal (for example, the location information including the first terminal and/or the location information of the second terminal) to the second core network device, for example, the MME.
  • the source RAN device may first receive the location information of the first terminal and/or the location information of the second terminal sent by the first terminal, and then the source RAN device may directly send the information to the MME, and the MME determines the first terminal and the MME. Whether the second terminal can establish a direct link and obtain the first routing information when the direct link can be established.
  • the decision process is performed by the MME, that is, after the MME receives the location information of the first terminal and/or the location information of the second terminal, the MME first determines whether the first terminal and the second terminal are determined. The MME can obtain the first routing information.
  • the MME determines that the direct link cannot be established between the first terminal and the second terminal, the MME does not obtain the first routing information, such as the first terminal. Establish a traditional link with the second terminal. For the manner of establishing a traditional link, reference may be made to the prior art, and details are not described in the embodiment of the present invention.
  • the MME sends the first routing information to the source RAN device and the destination RAN device respectively (as shown in FIG. 7), or may send the first routing information to the source RAN device, the destination RAN device, and the SGW.
  • the MME first performs a decision according to the information sent by the first terminal to determine whether a direct link can be established between the first terminal and the second terminal.
  • the MME determines that a direct link can be established between the first terminal and the second terminal, and the MME can obtain the first routing information, and can send the first routing information to the source RAN device and the destination RAN device, respectively, or The first routing information is sent to the source RAN device, the destination RAN device, and the SGW, respectively.
  • the source RAN device and the destination RAN device can respectively configure themselves according to the first routing information, or the source RAN device, the destination RAN device, and the SGW can be configured according to the first A routing information configures itself.
  • the foregoing describes two possible procedures for establishing a direct link. After the direct link is used up, or when there is a problem with the network, the established direct link may need to be deleted. The following describes how to delete a direct link.
  • the first access network device may also be deleted when the direct link is deleted.
  • the decision is made, if it is a direct link established by the core network device decision (refer to FIG. 7), that is, the first network device is the second core network device, the second core network device may also be determined when deleting the direct link. , respectively, introduced below.
  • the first network device is a source RAN device, that is, a first access network device.
  • the first terminal notifies the source RAN device (for example, the first terminal sends a second connection release message to the source RAN device), and the second connection release message is used to indicate that the current P2P session process ends, and the source RAN device can determine the current P2P.
  • the session ends.
  • FIG. 8 is an example in which the first terminal may send a second connection release message to the source RAN device after the end of the current P2P session, or may change the network condition (for example, the network is no longer suitable for using the direct link).
  • the second connection release message is sent by the first terminal or other device to the source RAN device.
  • the source RAN device sends a first connection release message to the second access network device (eg, the destination RAN device) ( As shown in FIG. 8 , the first connection release message is used to indicate that the target RAN device releases the resources of the current P2P session and the resources of the direct link, or if the path of the direct link is the first terminal-source RAN device-
  • the first core network device for example, SGW
  • the source RAN device separately sends a first connection release message to the destination RAN device and the SGW, where the first connection release message is used to indicate the destination RAN device and the SGW. Release the resources of this P2P session and the resources of the direct link.
  • the source RAN device sends the first connection release message to the destination RAN device, which may be used in two ways. the way:
  • the first type the source RAN device directly sends a first connection release message to the destination RAN device;
  • the second type the source RAN device sends a first connection release message to the MME, and the MME sends the second connection release message to the destination RAN device.
  • the source RAN device sends a second notification message to the MME, where the second notification message is used to indicate that the direct link between the first terminal and the second terminal has been deleted.
  • the first network device is a second core network device, for example, an MME.
  • the first terminal or the source RAN device determines that the service ends, and the source RAN device sends a second connection release message to the MME. If the first terminal sends a second connection release message to the MME, the first terminal may send the source RAN device.
  • the MME determines the direct link to which the first connection release message is directed, thereby determining the device corresponding to the direct link, for example, may include the source RAN device and the destination RAN device (as shown in FIG. 9 as an example), or may include, for example, a source.
  • the RAN device, the destination RAN device, and the SGW, the core network device sends a first connection release message to the source RAN device and the destination RAN device respectively (FIG. 9 is taken as an example), and the first connection release message is used to indicate the source RAN device and the destination.
  • the RAN device releases the current P2P session and the direct link, or the core network device sends a first connection release message to the source RAN device, the destination RAN device, and the SGW, respectively, where the first connection release message is used to indicate the source RAN device and the destination RAN.
  • the device and the SGW release the current P2P session and the direct link.
  • the resources of the session and the resources of the direct link may be released.
  • the direct link may be involved, for example, if at least one of the terminals at both ends of the communication occurs. Changes may involve the switching of direct links. The following describes the process of link switching.
  • the network device is the first access network device, and the first access network device may perform the decision when the direct link is switched, if it is the direct link established by the core network device decision (refer to FIG. 7), that is, the first network.
  • the device is a second core network device, and the second core network device may also perform the decision when switching the direct link, which are respectively introduced below.
  • the first network device is a source RAN device, that is, a first access network device.
  • the first terminal performs the switching of the access network as an example.
  • the second terminal may also perform the handover.
  • the processing manner of the second terminal handover refer to the following manner for the first terminal to switch.
  • the source RAN device determines that the first terminal that is communicating with the second terminal through the direct link needs to perform handover across the access network device, and the source RAN device sends a handover request to the third access network device, in the handover request. Carrying location information and/or first routing information of the second terminal.
  • the third access network device is an access network device that the first terminal requests to switch to.
  • the terminal may send a measurement report to the currently accessed access network device, where the measurement report may carry the request for performing the access network device handover and the information of the switched cell. For example, the ID of the cell, and the like. Then, after receiving the measurement report sent by the first terminal, the source RAN device knows that the first terminal needs to perform handover of the access network device.
  • the third access network device determines that the first terminal continues to communicate with the second terminal through the direct link after switching to the third access network device.
  • the third access network device determines that the first terminal is switching to the third access network device according to the location information after the first terminal switches to the third access network device, the location information of the second terminal, and/or the first routing information. Then continue to communicate with the second terminal through the direct link, or restore the traditional link for communication.
  • the first terminal is to be handed over from the source RAN device to the third access network device if the distance between the source RAN device and the third access network device is too far, or if the source RAN device and the third access network device There is no interconnected interface, and so on, the first terminal and the second terminal can no longer communicate through the direct link, but need to restore the traditional link.
  • the manner of re-establishing the traditional link may refer to the prior art, and details are not described in the embodiment of the present invention.
  • FIG. 10 is an example of determining that the first terminal can continue to communicate with the second terminal through the direct link after switching to the third access network device.
  • the third access network device sends the second routing information to the destination RAN device (ie, the second access network device) to establish a new direct link between the first terminal and the second terminal (FIG. 10
  • the third access network device sends the second routing information to the destination RAN device and the SGW to establish a new direct link between the first terminal and the second terminal.
  • the device to which the second routing information is sent is determined by the path of the direct link.
  • FIG. 10 is an example of the third access network device determining that the first terminal and the second terminal can continue to communicate through the direct link, where the third access network device can be based on the location information after the first terminal is switched, and the second The second routing information is obtained by the location information of the terminal and/or the first routing information, where the second routing information is the routing information of the direct link between the first terminal and the second terminal after the first terminal switches to the third access network device. .
  • the second routing information may be obtained in different manners.
  • the third access network device directly generates the second routing information according to the location information after the first terminal is switched, and the location information of the second terminal and/or the first routing information;
  • the second type the third access network device sends a direct route request message to the second core network device (for example, the MME), for example, the direct route request message is referred to as a second direct route request message, and the second direct route request message is used. And instructing the MME to allocate the second routing information. Then, after receiving the second direct route request message, the MME may allocate the second route information, and send the second route information to the third access network device and the destination RAN device, or send the second route information to the third access.
  • the network device, the destination RAN device, and the first core network device for example, SGW).
  • the third access network device only needs to send the second direct routing request message to the MME, and then receives the second routing information sent by the MME, and sends the second routing information to the corresponding device. , are the work done by MME. Then in this case, there is no need to go through the next steps.
  • the third access network device sends the second routing information to the destination RAN device.
  • the first mode the third access network device directly sends the second routing information to the destination RAN device;
  • the second mode the third access network device sends the second routing information to the MME, and the MME sends the second routing information to the destination RAN device.
  • the third access network device may further notify the MME that a direct link is newly established between the first terminal and the second terminal, and the newly established direct link is established.
  • the road uses the second routing information (this step is not shown in Figure 10).
  • the destination RAN device After the destination RAN device receives the second routing information, it is equivalent to acquiring the new DR configuration information, and the destination RAN device can configure the destination RAN device according to the second routing information.
  • the SGW after receiving the second routing information, is equivalent to acquiring the new DR configuration information, and the SGW may configure the SGW according to the second routing information.
  • the order of the step and the step 4 may be arbitrary. This step is not shown in FIG.
  • the first terminal may continue to communicate with the second terminal by using a new direct link corresponding to the second routing information.
  • the first network device is a second core network device, for example, an MME.
  • FIG. 11 continues to use the first terminal to perform handover.
  • the second terminal may also perform handover.
  • For the processing manner of the second terminal handover refer to the following manner for the first terminal to switch.
  • the source RAN device determines that the first terminal that is communicating with the second terminal through the direct link needs to perform the handover of the access network device, and the source RAN device sends a second notification message to the MME, where the second notification message is used to indicate The first terminal is about to switch to the third access network device, and the second notification message may carry the location information and/or the first routing information of the second terminal.
  • the first terminal requests to switch to the third access network device.
  • the MME determines that the first terminal and the second terminal can continue to communicate over the direct link.
  • the MME determines, according to the location information after the first terminal switches to the third access network device, the location information of the second terminal, and/or the first routing information, whether the first terminal and the second terminal continue to communicate through the direct link, or Restore legacy links for communication.
  • the manner of decision can be referred to the description of FIG.
  • Figure 11 is a decision to determine that the first terminal and the second terminal can continue to communicate over the direct link.
  • the MME sends the second routing information to the third access network device and the destination RAN device (ie, the second access network device) to establish a new direct link between the first terminal and the second terminal.
  • the MME sends the second routing information to the third access network device, the destination RAN device, and the SGW, respectively, to establish a new direct link between the first terminal and the second terminal.
  • FIG. 11 is an example of the first network device determining that the first terminal and the second terminal can continue to communicate through the direct link. Then, the MME may be based on the location information after the first terminal is switched, and the location information of the second terminal, and/or The first routing information acquires the second routing information, where the second routing information is the routing information of the direct link between the first terminal and the second terminal after the first terminal switches to the third access network device.
  • the destination RAN device After the destination RAN device receives the second routing information, it is equivalent to acquiring the new DR configuration information, and the destination RAN device can configure the destination RAN device according to the second routing information.
  • step 4 and step 5 may be arbitrary.
  • the SGW can obtain the new DR configuration information, and the SGW can configure the SGW according to the second routing information.
  • the order between the step and the step 4 and the step 5 may be arbitrary. This step is not shown in FIG.
  • the first terminal may continue to communicate with the second terminal by using a new direct link corresponding to the second routing information.
  • the network device can determine a preferred routing path between two terminals at both ends of the communication by using the auxiliary information reported by the terminal, for example, including location information of the terminal, etc., to establish a direct route between the two terminals.
  • Link which can reduce the service transmission delay and save transmission resources.
  • an embodiment of the present invention provides a network device, which may be a first network device as described in the foregoing method embodiment, and the network device may include a memory 1201 and a processor 1202. .
  • the processor 1202 may be a central processing unit (CPU) or an application specific integrated circuit (ASIC), and may be one or more integrated circuits for controlling program execution, and may be a field programmable gate array.
  • the hardware circuit developed by Field Programmable Gate Array (FPGA) can be a baseband chip.
  • the number of memories 1201 may be one or more.
  • the memory 1201 may include a read only memory (ROM), a random access memory (RAM), and a disk storage.
  • the network device may further include a transmitter 1203 and a receiver 1204, see the figure. 12B.
  • the transmitter 1203 and the receiver 1204 may belong to a radio frequency system for performing network communication with an external device, and may specifically communicate with an external device through a network such as an Ethernet, a radio access network, or a wireless local area network.
  • the transmitter 1203 and the receiver 1204 may be the same physical module, for example, may be a physical module capable of implementing a transceiving function, such as a transceiver, or the transmitter 1203 and the receiver 1204 may be separate physical modules.
  • the memory 1201, the transmitter 1203, and the receiver 1204 may be connected to the processor 1202 via a bus (as shown in FIG. 12A to FIG. 12B), or may be separately connected to the processor 1202 through a dedicated connection line.
  • the code corresponding to the method shown above is solidified into the chip, so that the method shown in FIG. 2, FIG. 6 to FIG. 11 can be executed while the chip is in operation.
  • How to design and program the processor 1202 is a technique well known to those skilled in the art, and details are not described herein.
  • the network device can be used to perform the method described above with respect to FIG. 2, FIG. 6 to FIG. 11, for example, the first network device as described above. Therefore, for the functions implemented by the units in the network device, Please refer to the description of the previous method section for details.
  • an embodiment of the present invention provides a core network device, which may include a memory 1301, a processor 1302, and a receiver 1303.
  • the processor 1302 may be a CPU or an ASIC, and may be one or more integrated circuits for controlling program execution, may be hardware circuits developed using an FPGA, and may be a baseband chip.
  • the number of memories 1301 may be one or more.
  • the memory 1301 may include a ROM, a RAM, and a disk storage.
  • the core network device may further include a transmitter 1304, please refer to FIG. 13B.
  • the transmitter 1304 and the receiver 1303 may belong to a radio frequency system for performing network communication with an external device, and may specifically communicate with an external device through a network such as an Ethernet, a radio access network, or a wireless local area network.
  • the transmitter 1304 and the receiver 1303 may be the same physical module, for example, may be a physical module capable of implementing a transceiving function, such as a transceiver, or the transmitter 1304 and the receiver 1303 may be separate physical modules.
  • the memory 1301, the transmitter 1304, and the receiver 1303 may be connected to the processor 1302 via a bus (as shown in FIG. 13A to FIG. 13B), or may be separately connected to the processor 1302 through a dedicated connection line.
  • the code corresponding to the method shown above is solidified into the chip, so that the chip can perform the method shown in FIG. 4 and FIG. 6 to FIG. 11 during operation.
  • How to design and program the processor 1302 is a technique well known to those skilled in the art, and details are not described herein again.
  • the core network device may be used to perform the method described in FIG. 4, FIG. 6 to FIG. 11, and may be, for example, a second core network device as described above. Therefore, for the functions and the like implemented by the units in the core network device, reference may be made to the description of the previous method part, and details are not described herein.
  • an embodiment of the present invention provides an access network device, which may include a memory 1401, a processor 1402, and a receiver 1043.
  • the processor 1402 may be a CPU or an ASIC, and may be one or more integrated circuits for controlling program execution, may be hardware circuits developed using an FPGA, and may be a baseband chip.
  • the number of memories 1401 may be one or more.
  • the memory 1401 may include a ROM, a RAM, and a disk storage.
  • the core network device may further include a transmitter 1404, see FIG. 14B.
  • the transmitter 1404 and the receiver 1403 may belong to a radio frequency system for performing network communication with an external device, and may specifically communicate with an external device through a network such as an Ethernet, a radio access network, or a wireless local area network.
  • the transmitter 1404 and the receiver 1403 may be the same physical module, for example, may be a physical module capable of implementing a transceiving function, such as a transceiver, or the transmitter 1404 and the receiver 1403 may be separate physical modules.
  • the memory 1401, the transmitter 1404, and the receiver 1403 may be connected to the processor 1402 via a bus (as illustrated by way of example in FIGS. 14A-14B), or may be separately coupled to the processor 1402 via a dedicated connection line.
  • the code corresponding to the method shown above is solidified into the chip, so that the chip can perform the method shown in FIG. 5 and FIG. How to design and program the processor 1402 is a technique well known to those skilled in the art, and details are not described herein again.
  • the access network device may be used to perform the method described in FIG. 5, FIG. 6 to FIG. 11, and may be, for example, a third core network device as described above. Therefore, for the functions and the like implemented by the units in the access network device, reference may be made to the description of the previous method part, and details are not described herein.
  • an embodiment of the present invention provides a terminal, which may include a memory 1501, a processor 1502, and a transmitter 1503.
  • the processor 1502 may be a CPU or an ASIC, and may be one or more integrated circuits for controlling program execution, may be hardware circuits developed using an FPGA, and may be a baseband chip.
  • the number of memories 1501 may be one or more.
  • the memory 1501 may include a ROM, a RAM, and a disk storage.
  • the transmitter 1503 may belong to a radio frequency system, and is used for network communication with an external device, and specifically can communicate with an external device through a network such as an Ethernet, a radio access network, or a wireless local area network.
  • These memories 1501 and transmitters 1503 can be connected to the processor 1502 via a bus (Fig. 15 as an example), or may be connected to the processor 1502 through a dedicated connection line.
  • the processor 1502 By designing the processor 1502, the code corresponding to the method shown above is solidified into the chip, so that the method shown in FIG. 3 and FIG. 6 to FIG. 11 can be executed while the chip is in operation. How to design and program the processor 1502 is a technique well known to those skilled in the art, and details are not described herein.
  • the terminal may be used to perform the method described in FIG. 3, FIG. 6 to FIG. 11, and may be, for example, the first terminal as described above. Therefore, for the functions and the like implemented by the units in the terminal, reference may be made to the description of the previous method part, and details are not described herein.
  • an embodiment of the present invention provides another network device, where the network device may include a processing module 1601.
  • the network device may further include a sending module 1602 and a receiving module 1603.
  • the physical device corresponding to the processing module 1601 may be the processor 1202 in FIG. 12A to FIG. 12B, and the physical device corresponding to the receiving module 1603 may be the receiver 1604 in FIG. 12B, and the physical device corresponding to the sending module 1602 may be It is the transmitter 1603 in Fig. 12B.
  • the network device can be used to perform the method described in FIG. 2, FIG. 6 to FIG. 11, for example, the network device can be the first network device. Therefore, for the functions and the like implemented by the units in the network device, reference may be made to the description of the previous method part, and details are not described herein.
  • an embodiment of the present invention provides another core network device, which may include a receiving module 1701 and a processing module 1702.
  • the core network device may further include a sending module 1703.
  • the physical device corresponding to the processing module 1702 may be the processor 1302 in FIG. 13A - FIG. 13B, and the physical device corresponding to the receiving module 1701 may be the receiver 1303 in FIG. 13A - FIG. 13B, and the sending module 1703 corresponds to The physical device may be the transmitter 1304 in Figure 13B.
  • the core network device may be used to perform the method described in FIG. 4 and FIG. 6 to FIG. 11, for example, the core network device may be a second core network device. Therefore, for the functions and the like implemented by the units in the core network device, reference may be made to the description of the previous method part, and details are not described herein.
  • an embodiment of the present invention provides another access network device according to the same inventive concept.
  • the access network device can include a receiving module 1801 and a processing module 1802.
  • the access network device may further include a sending module 1803.
  • the physical device corresponding to the processing module 1802 may be the processor 1402 in FIG. 14A to FIG. 14B, and the physical device corresponding to the receiving module 1801 may be the receiver 1403 in FIG. 14B, and the physical device corresponding to the sending module 1803 may be Is the transmitter 1404 in Figure 14B.
  • the access network device may be used to perform the method described in FIG. 5 and FIG. 6 to FIG. 11, for example, the access network device may be a third access network device. Therefore, for the functions and the like implemented by the units in the access network device, reference may be made to the description of the previous method part, and details are not described herein.
  • an embodiment of the present invention provides another terminal, which may include a sending module 1901 and a processing module 1902.
  • the physical device corresponding to the processing module 1902 may be the processor 1502 in FIG. 15, and the physical device corresponding to the sending module 1901 may be the transmitter 1503 in FIG.
  • the terminal may be used to perform the method described in FIG. 3 and FIG. 6 to FIG. 11 above, for example, the terminal may be the first terminal. Therefore, for the functions and the like implemented by the units in the terminal, reference may be made to the description of the previous method part, and details are not described herein.
  • the first network device may obtain routing information (ie, first routing information) of establishing a direct link between the first terminal and the second terminal, so that when the two terminals are in communication, the service data is
  • the transmission path may be: a first terminal - a first access network device - a second access network device - a second terminal, or may be: a first terminal - a first access network device - a first core network device -
  • the second access network device-second terminal regardless of the path, is shorter than the transmission path in the prior art, thereby reducing the transmission delay, improving the transmission efficiency, and saving transmission resources.
  • the disclosed apparatus and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit or unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical Sexual or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to implement the embodiments of the present invention.
  • the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may also be an independent physical module.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • all or part of the technical solution of the present invention may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, A server, or network device, or the like, or a processor, performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a universal serial bus flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及移动通信技术领域,尤其涉及一种链路建立方法及设备,用以解决业务数据传输路径较长而导致传输时延较大的技术问题;第一网络设备可以获得在第一终端和第二终端之间建立直接链路第一路由信息,这样,两个终端在进行通信时,业务数据的传输路径可以是:第一终端-第一接入网设备-第二接入网设备-第二终端,或可以是:第一终端-第一接入网设备-第一核心网设备-第二接入网设备-第二终端,无论是哪种路径,相对于现有技术中的传输路径来说都较短,从而减小了传输时延,提高了传输效率,也节省了传输资源。

Description

一种链路建立方法及设备 技术领域
本发明涉及移动通信技术领域,尤其涉及一种链路建立方法及设备。
背景技术
目前,对等网络(Peer to Peer,P2P)业务,比如语音业务、视频业务等,一种通信方式可参考图1,例如终端1要与终端2进行P2P通信,则业务数据所经历的路径为:终端1-服务于终端1的接入网设备1-核心网设备-网关-服务器-网关-核心网设备-服务于终端2的接入网设备2-终端2,传输路径如图1中的箭头所示。其中,网关例如可以包括PGW和SGW,即,较为详细的传输路径可以是:终端1-服务于终端1的接入网设备1-核心网设备-PGW-SGW-服务器-SGW-PGW-核心网设备-服务于终端2的接入网设备2-终端2,图1中未示出这条更为详细的传输路径。
可见,目前的业务数据传输路径较长,需要经过较多的设备,显然会增加传输时延,以及,也较为浪费传输资源。
发明内容
本申请提供一种链路建立方法及设备,用以解决业务数据传输路径较长而导致传输时延较大的技术问题。
第一方面,提供第一种链路建立方法,包括:
第一网络设备获得第一终端的位置信息以及第一信息;其中,所述第一终端请求与第二终端建立会话,所述第一信息为所述第二终端的位置信息和/或所述会话的标识信息;
所述第一网络设备根据所述第一终端的位置信息及所述第一信息获得第一路由信息,所述第一路由信息为所述第一终端与所述第二终端的直接链路的路由信息。
本申请中,第一网络设备可以获得通信两端的终端的位置信息,或者可 以获得其中一个终端的位置信息以及会话的标识信息,第一网络设备根据获得的信息就可以获得在这两个终端之间建立直接链路的路由信息(即第一路由信息),这样,两个终端在进行通信时,业务数据的传输路径可以是:第一终端-第一接入网设备-第二接入网设备-第二终端,或可以是:第一终端-第一接入网设备-第一核心网设备-第二接入网设备-第二终端,无论是哪种路径,相对于现有技术中的传输路径来说都较短,从而减小了传输时延,提高了传输效率,也节省了传输资源。
结合第一方面,在第一方面的第一种可能的实现方式中,若所述第一网络设备为服务于所述第一终端的第一接入网设备,则,所述第一网络设备根据所述第一终端的位置信息及所述第一信息获得第一路由信息,包括:
所述第一网络设备根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
若所述第一网络设备判决确定所述第一终端与所述第二终端能够建立所述直接链路,则所述第一网络设备根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息;
所述第一网络设备根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
若所述第一网络设备判决确定所述第一终端与所述第二终端能够建立所述直接链路,则所述第一网络设备向第二核心网设备发送第一直接路由请求消息,所述第一直接路由请求消息用于指示所述第二核心网设备分配所述第一路由信息;
所述第一网络设备接收所述第二核心网设备发送的所述第一路由信息。
第一接入网设备判决确定第一终端与第二终端之间可以建立直接链路后,第一接入网设备可以直接生成第一路由信息,第一路由信息的生成过程较为直接,无需再通过其他设备来完成。或者,第一接入网设备判决确定第一终端与第二终端之间可以建立直接链路后,第一接入网设备可以指示第二 核心网设备生成第一路由信息,由核心网设备来生成第一路由信息,减轻第一接入网设备的负担,可以减少第一接入网设备所需配置的功能,并且,第一路由信息是第二核心网设备生成的,第二核心网设备自然就知晓了第一终端与第二终端之间建立的直接链路,无需第一接入网设备再通知第二核心网设备,减少传输的信息量。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,在所述第一网络设备根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,还包括:
所述第一网络设备向服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,所述第一网络设备分别向服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
第一接入网设备生成第一路由信息后,要将第一路由信息发送给与第一终端和第二终端的直接链路相关的设备,这样相应的设备接收第一路由信息后,可以根据第一路由信息对自身进行配置,从而就相当于建立了直接链路。第一路由信息究竟发送给哪些设备,可以由系统或协议规定,或者也可以由第一接入网设备自行确定。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述第一网络设备向服务于所述第二终端的第二接入网设备发送所述第一路由信息,包括:
所述第一网络设备直接向所述第二接入网设备发送所述第一路由信息;或
所述第一网络设备通过第二核心网设备向所述第二接入网设备发送所述第一路由信息。
第一接入网设备与第二接入网设备进行通信时,可以采用直接通信的方式,或者也可以采用通过第二核心网设备进行中转的方式,较为灵活。
结合第一方面的第二种可能的实现方式或第三种可能的实现方式,在第 一方面的第四种可能的实现方式中,在所述第一网络设备分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,或所述第一网络设备分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息之后,还包括:
所述第一网络设备向第二核心网设备发送第一通知消息,所述第一通知消息用于指示所述第一终端与所述第二终端之间建立的所述直接链路。
如果是第一接入网设备生成的第一路由信息,那么第一接入网设备还可以通知第二核心网设备,第一终端和第二终端之间建立了直接链路,这样便于后续可能删除或切换该直接链路,也便于第二核心网设备参与该直接链路的管理工作。
结合第一方面的第二种可能的实现方式或第三种可能的实现方式或第四种可能的实现方式,在第一方面的第五种可能的实现方式中,在所述直接链路建立之后,还包括:
所述第一网络设备直接向所述第二接入网设备发送第一连接释放消息,或所述第一网络设备通过第二核心网设备向所述第二接入网设备和/或第一核心网设备发送所述第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
在直接链路建立之后,可能会涉及到要删除该直接链路,那么第一接入网设备直接向与该直接链路相关的设备(即接收了第一路由信息的设备)发送第一连接释放消息即可,这些设备接收第一连接释放消息后就可以释放第一终端和第二终端建立的会话的资源以及该直接链路的资源,从而就删除了该直接链路,方式十分简单。
结合第一方面的第二种可能的实现方式或第三种可能的实现方式或第四种可能的实现方式或第五种可能的实现方式,在第一方面的第六种可能的实现方式中,在所述直接链路建立之后,还包括:
所述第一网络设备确定所述第一终端即将切换到第三接入网设备;
所述第一网络设备向所述第三接入网设备发送切换请求,或,所述第一 网络设备通过第二核心网设备向所述第三接入网设备发送切换请求;所述切换请求中携带所述第二终端的位置信息和/或所述第一路由信息,所述第二终端的位置信息和/或所述第一路由信息用于获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
在直接链路建立之后,还可能因为终端的位置发生改变而涉及到要切换该直接链路,那么,第一接入网设备向第三接入网设备发送切换请求即可,第三接入网设备例如可以根据切换请求里携带的第二终端的位置信息和/或第一路由信息获得第二路由信息,从而第一终端切换到第三接入网设备后就可以通过新的直接链路与第二终端进行通信,切换过程较为简单,无需终端参与,尽量保证在终端的位置发生变化后也能使得传输路径较短。
结合第一方面,在第一方面的第七种可能的实现方式中,若所述第一网络设备为第二核心网设备;则,
第一网络设备获得第一终端的位置信息以及第一信息,包括:
所述第一网络设备接收服务于所述第一终端的第一接入网设备发送的所述第一终端的位置信息以及所述第一信息;
所述第一网络设备根据所述第一终端的位置信息及所述第一信息获得第一路由信息,包括:
所述第一网络设备根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
若所述第一网络设备判决确定所述第一终端与所述第二终端能够建立所述直接链路,则所述第一网络设备根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息。
判决过程可以由第二核心网设备进行,减轻接入网设备的负担。第二核心网设备只要判决第一终端与第二终端能够建立直接链路就可以生成第一路由信息,这样,两个终端在进行通信时,业务数据的传输路径可以是:第一终端-第一接入网设备-第二接入网设备-第二终端,或可以是:第一终端-第一接入网设备-第一核心网设备-第二接入网设备-第二终端,无论是哪种路径, 相对于现有技术中的传输路径来说都较短,从而减小了传输时延,提高了传输效率,也节省了传输资源。
结合第一方面的第七种可能的实现方式,在第一方面的第八种可能的实现方式中,在所述第一网络设备生成所述第一路由信息之后,还包括:
所述第一网络设备分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,所述第一网络设备分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
第二核心网设备生成第一路由信息后,同样要将第一路由信息发送给与第一终端和第二终端的直接链路相关的设备,这样相应的设备接收第一路由信息后,可以根据第一路由信息对自身进行配置,从而就相当于建立了直接链路。第一路由信息究竟发送给哪些设备,可以由系统或协议规定,或者也可以由第二核心网设备自行确定。
结合第一方面的第八种可能的实现方式,在第一方面的第九种可能的实现方式中,在所述直接链路建立之后,还包括:
所述第一网络设备分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或所述第一网络设备分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
在直接链路建立之后,可能会涉及到要删除该直接链路,那么,如果是第二核心网设备判决建立的该直接链路,则也可以由第二核心网设备向与该直接链路相关的设备(即接收了第一路由信息的设备)发送第一连接释放消息即可,这些设备接收第一连接释放消息后就可以释放第一终端和第二终端建立的会话的资源以及该直接链路的资源,从而就删除了该直接链路,方式十分简单。
结合第一方面的第八种可能的实现方式或第九种可能的实现方式,在第一方面的第十种可能的实现方式中,在所述直接链路建立之后,还包括:
所述第一网络设备接收第二通知消息,所述第二通知消息用于指示所述第一终端即将切换到第三接入网设备,所述第二通知消息中携带所述第二终端的位置信息和/或所述第一路由信息;
所述第一网络设备根据所述第二终端的位置信息和/或所述第一路由信息获得第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
所述第一网络设备将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或所述第一网络设备将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
在第一终端的位置发生变化需要进行小区切换时,第一接入网设备可能向第二核心网设备发送第二通知消息,那么第二核心网设备就可以获得第二路由信息,从而第一终端切换到第三接入网设备后就可以通过新的直接链路与第二终端进行通信,切换过程较为简单,无需终端参与,尽量保证在终端的位置发生变化后也能使得传输路径较短。
第二方面,提供第二种链路建立方法,包括:
第二核心网设备接收第一直接路由请求消息;
所述第二核心网设备根据所述第一直接路由请求消息生成第一路由信息;其中,所述第一路由信息为第一终端与第二终端的直接链路的路由信息,所述第一终端请求与所述第二终端建立会话。
例如,第一接入网设备判决确定第一终端和第二终端之间可以建立直接链路,那么第一接入网设备可以向第二核心网设备发送第一直接路由请求消息,则第二核心网设备就可以生成第一路由信息,减轻第一接入网设备的负担,减少第一接入网设备所需配置的功能,可以在一定程度上节省第一接入网设备的成本。
结合第二方面,在第二方面的第一种可能的实现方式中,在所述第二核心网设备生成所述第一路由信息之后,还包括:
所述第二核心网设备分别向服务于所述第一终端的第一接入网设备及服 务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,所述第一网络设备分别向服务于所述第一终端的第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
在生成第一路由信息后,要将第一路由信息发送给与该直接链路相关的设备,这样相应的设备接收第一路由信息后,可以根据第一路由信息对自身进行配置,从而建立该直接链路,使得第一终端和第二终端可以通过该直接链路进行通信,缩短传输路径。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,在所述直接链路建立之后,还包括:
所述第二核心网设备分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或所述第二核心网设备分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
结合第二方面的第一种可能的实现方式或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,在所述直接链路建立之后,还包括:
所述第二核心网设备接收第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
所述第二核心网设备生成所述第二路由信息;
所述第二核心网设备将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或所述第二核心网设备将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
在需要切换直接链路时,第一接入网设备可以判决第一终端与第二终端是否可以继续建立新的直接链路,如果判决确定第一终端与第二终端可以继续建立新的直接链路,则第一接入网设备可以向第二核心网设备发送第二直 接路由请求消息,第二核心网设备可以直接生成第二路由信息。这样,减少了接入网设备所需的工作,减轻接入网设备的负担。
第三方面,提供第三种链路建立方法,包括:
第三接入网设备接收第一接入网设备发送的切换请求;所述切换请求用于指示第一终端将从所述第一接入网设备切换到所述第三接入网设备,所述切换请求中携带第二终端的位置信息和/或第一路由信息,所述第一路由信息为所述第一终端在接入所述第一接入网设备时与所述第二终端之间的旧的直接链路的路由信息;所述第一终端与所述第二终端在通过所述旧的直接链路进行会话;
所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
在要切换直接链路时,第一接入网设备可以向第三接入网设备发送切换请求,则第三接入网设备可以根据切换请求中携带的第二终端的位置信息和/或第一路由信息获得第二路由信息,从而,第一终端切换到第三接入网设备后,就可以通过新的直接链路与第二终端继续进行通信,尽量避免通信过程中断,也尽量缩短传输路径。
结合第三方面,在第三方面的第一种可能的实现方式中,所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息,包括:
所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
若所述第三接入网设备判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息;
所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
若所述第三接入网设备判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则所述第三接入网设备向第二核心网设备发送第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配所述第二路由信息;
所述第三接入网设备接收所述第二核心网设备发送的所述第二路由信息。
即,第三接入网设备判决确定第一终端和第二终端可以建立新的直接链路后,第三接入网设备可以直接生成第二路由信息,第二路由信息的生成方式较为简单,无需再通过其他设备来完成,所需的时间较短。或者,第三接入网设备判决确定第一终端和第二终端可以建立新的直接链路后,第三接入网设备可以向第二核心网设备发送第二直接路由请求消息,第二核心网设备可以生成第二路由信息,减轻了第三接入网设备的负担。
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,在所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,还包括:
所述第三接入网设备将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,以建立所述新的直接链路;或,所述第三接入网设备将所述第二路由信息发送给服务于所述第二终端的第二接入网设备及第一核心网设备,以建立所述新的直接链路。
如果第三接入网设备生成了第二路由信息,那么第三接入网设备还需将第二路由信息发送给与新的直接链路相关的设备,从而建立新的直接链路。而如果是第二核心网设备生成第二路由信息,则可以由第二核心网设备将第二路由信息发送给与新的直接链路相关的设备即可,减少第三接入网设备所需的工作。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述第三接入网设备将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,包括:
所述第三接入网设备直接将所述第二路由信息发送给所述第二接入网设备;或
所述第三接入网设备通过第二核心网设备将所述第二路由信息发送给所述第二接入网设备。
同样的,两个接入网设备之间可以直接通信,或者也可以通过核心网设备来进行通信,方式较为灵活。
第四方面,提供第四种链路建立方法,包括:
第一终端在请求与第二终端建立会话时,通过与所述第二终端之间的信令通道或者通过与网络侧的信令通道获取所述第二终端的位置信息;
所述第一终端将所述第一终端的位置信息及所述第二终端的位置信息发送给第一网络设备;所述第一终端的位置信息及所述第二终端的位置信息用于获得所述第一终端及所述第二终端之间的直接链路的第一路由信息。
第一终端只需将第一终端的位置信息及第二终端的位置信息发送给第一网络设备,就可以通过直接链路与第二终端进行通信,对于终端来说所需的工作十分简单,缩短了两个终端之间的传输路径,节省传输资源,也提高了传输效率。
第五方面,提供一种网络设备,包括:
存储器,用于存储指令;
处理器,用于执行所述指令,获得第一终端的位置信息以及第一信息;其中,所述第一终端请求与第二终端建立会话,所述第一信息为所述第二终端的位置信息和/或所述会话的标识信息;根据所述第一终端的位置信息及所述第一信息获得第一路由信息,所述第一路由信息为所述第一终端与所述第二终端的直接链路的路由信息。
结合第五方面,在第五方面的第一种可能的实现方式中,若所述第一网络设备为服务于所述第一终端的第一接入网设备,则所述网络设备还包括发送器和接收器;所述处理器用于:
根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述 第二终端是否能够建立所述直接链路;
若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息;
根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则通过所述发送器向第二核心网设备发送第一直接路由请求消息,所述第一直接路由请求消息用于指示所述第二核心网设备分配所述第一路由信息;
通过所述接收器接收所述第二核心网设备发送的所述第一路由信息。
结合第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述处理器还用于:
在根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,向服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
在根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,分别向服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
结合第五方面的第二种可能的实现方式,在第五方面的第三种可能的实现方式中,所述处理器用于:
通过所述发送器直接向所述第二接入网设备发送所述第一路由信息;或
通过所述发送器、经第二核心网设备向所述第二接入网设备发送所述第一路由信息。
结合第五方面的第二种可能的实现方式或第三种可能的实现方式,在第五方面的第四种可能的实现方式中,所述处理器还用于:
在通过所述发送器分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,或通过所述发送器所述第一网络设 备分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息之后,向第二核心网设备发送第一通知消息,所述第一通知消息用于指示所述第一终端与所述第二终端之间建立的所述直接链路。
结合第五方面的第二种可能的实现方式或第三种可能的实现方式或第四种可能的实现方式,在第五方面的第五种可能的实现方式中,所述处理器还用于:
在所述直接链路建立之后,通过所述发送器直接向所述第二接入网设备发送第一连接释放消息,或通过所述发送器经第二核心网设备向所述第二接入网设备和/或第一核心网设备发送所述第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
结合第五方面的第二种可能的实现方式或第三种可能的实现方式或第四种可能的实现方式或第五种可能的实现方式,在第五方面的第六种可能的实现方式中,所述处理器还用于:
在所述直接链路建立之后,确定所述第一终端即将切换到第三接入网设备;
通过所述发送器向所述第三接入网设备发送切换请求,或,通过所述发送器、经第二核心网设备向所述第三接入网设备发送切换请求;所述切换请求中携带所述第二终端的位置信息和/或所述第一路由信息,所述第二终端的位置信息和/或所述第一路由信息用于获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
结合第五方面,在第五方面的第七种可能的实现方式中,若所述网络设备为第二核心网设备,则所述网络设备还包括接收器;所述处理器用于:
通过所述接收器接收服务于所述第一终端的第一接入网设备发送的所述第一终端的位置信息以及所述第一信息;
根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息。
结合第五方面的第七种可能的实现方式,在第五方面的第八种可能的实现方式中,所述网络设备还包括发送器;所述处理器还用于:
在生成所述第一路由信息之后,通过所述发送器分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
在生成所述第一路由信息之后,通过所述发送器分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
结合第五方面的第八种可能的实现方式,在第五方面的第九种可能的实现方式中,所述处理器还用于:
在所述直接链路建立之后,通过所述发送器分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或通过所述发送器分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
结合第五方面的第八种可能的实现方式或第九种可能的实现方式,在第五方面的第十种可能的实现方式中,所述处理器还用于:
在所述直接链路建立之后,通过所述接收器接收第二通知消息,所述第二通知消息用于指示所述第一终端即将切换到第三接入网设备,所述第二通知消息中携带所述第二终端的位置信息和/或所述第一路由信息;
根据所述第二终端的位置信息和/或所述第一路由信息获得第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或通过所述发送器将所述第二路由信息分别发送给所 述第二接入网设备、所述第三接入网设备和第一核心网设备。
第六方面,提供一种核心网设备,包括:
存储器,用于存储指令;
接收器,用于接收第一直接路由请求消息;
处理器,用于执行所述指令,根据所述接收器接收的所述第一直接路由请求消息生成第一路由信息;其中,所述第一路由信息为第一终端与第二终端的直接链路的路由信息,所述第一终端请求与所述第二终端建立会话。
结合第六方面,在第六方面的第一种可能的实现方式中,所述核心网设备还包括发送器;所述处理器用于:
在生成所述第一路由信息之后,通过所述发送器分别向服务于所述第一终端的第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
在生成所述第一路由信息之后,通过所述发送器分别向服务于所述第一终端的第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
结合第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,所述处理器还用于:
在所述直接链路建立之后,通过所述发送器分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或通过所述发送器分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
结合第六方面的第一种可能的实现方式或第二种可能的实现方式,在第六方面的第三种可能的实现方式中,
所述接收器还用于:
在所述直接链路建立之后,接收第二直接路由请求消息,所述第二直接路由请求消息用于指示所述核心网设备分配第二路由信息;所述第二路由信 息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
所述处理器还用于:
生成所述第二路由信息;
通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
第七方面,提供一种接入网设备,包括:
存储器,用于存储指令;
接收器,用于接收第一接入网设备发送的切换请求;所述切换请求用于指示第一终端将从所述第一接入网设备切换到所述接入网设备,所述切换请求中携带第二终端的位置信息和/或第一路由信息,所述第一路由信息为所述第一终端在接入所述第一接入网设备时与所述第二终端之间的旧的直接链路的路由信息;所述第一终端与所述第二终端在通过所述旧的直接链路进行会话;
处理器,用于执行所述指令,根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
结合第七方面,在第七方面的第一种可能的实现方式中,所述接入网设备还包括发送器;所述处理器用于:
根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
若判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息;
根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端 与所述第二终端是否能够建立所述新的直接链路;
若判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则通过所述发送器向第二核心网设备发送第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配所述第二路由信息;
通过所述接收器接收所述第二核心网设备发送的所述第二路由信息。
结合第七方面的第一种可能的实现方式,在第七方面的第二种可能的实现方式中,所述处理器还用于:
在根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,通过所述发送器将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,以建立所述新的直接链路;或,
在根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,通过所述发送器将所述第二路由信息发送给服务于所述第二终端的第二接入网设备及第一核心网设备,以建立所述新的直接链路。
结合第七方面的第二种可能的实现方式,在第七方面的第三种可能的实现方式中,所述处理器用于:
通过所述发送器直接将所述第二路由信息发送给所述第二接入网设备;或
通过所述发送器、经第二核心网设备将所述第二路由信息发送给所述第二接入网设备。
第八方面,提供一种终端,包括:
存储器,用于存储指令;
处理器,用于执行所述指令,在请求与第二终端建立会话时,通过与所述第二终端之间的信令通道或者通过与网络侧的信令通道获取所述第二终端的位置信息;通过发送器将所述终端的位置信息及所述第二终端的位置信息发送给第一网络设备;所述终端的位置信息及所述第二终端的位置信息用于获得所述终端及所述第二终端之间的直接链路的第一路由信息。
第九方面,提供一种网络设备,该网络设备包括用于执行第一方面的方 法的模块。
第十方面,提供一种核心网设备,该核心网设备包括用于执行第二方面的方法的模块。
第十一方面,提供一种接入网设备,该接入网设备包括用于执行第三方面的方法的模块。
第十二方面,提供一种终端,该终端包括用于执行第四方面的方法的模块。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所介绍的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为进行P2P通信时传输路径示意图;
图2为本发明实施例中第一种链路建立方法的流程图;
图3为本发明实施例中第二种链路建立方法的流程图;
图4为本发明实施例中第三种链路建立方法的流程图;
图5为本发明实施例中第四种链路建立方法的流程图;
图6为本发明实施例中建立直接链路的第一种流程图;
图7为本发明实施例中建立直接链路的第二种流程图;
图8为本发明实施例中删除直接链路的第一种流程图;
图9为本发明实施例中删除直接链路的第二种流程图;
图10为本发明实施例中直接链路切换的第一种流程图;
图11为本发明实施例中直接链路切换的第二种流程图;
图12A-图12B为本发明实施例中第一网络设备的结构示意图;
图13A-图13B为本发明实施例中第二核心网设备的结构示意图;
图14A-图14B为本发明实施例中第三接入网设备的结构示意图;
图15为本发明实施例中第一终端的结构示意图;
图16为本发明实施例中第一网络设备的结构框图;
图17为本发明实施例中第二核心网设备的结构框图;
图18为本发明实施例中第三接入网设备的结构框图;
图19为本发明实施例中第一终端的结构框图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
本发明实施例的方案可以应用于现有的移动通信系统,例如长期演进(Long Term Evolution,LTE)系统,第五代移动通信系统(5G),以及其他此类通信系统。其中网络侧设备可以是eNB/RNC/BSC,也可以是基站或者核心网节点。
在后续的网络架构演进过程中,核心网和接入网的功能可能有进一步的合并或者拆分,都不影响本发明实施例的处理,无论功能如何划分,和终端相对应的提供数据传输的设备都可以称之为网络设备。同时,在数据传输过程中可以有多种类型的中继设备,其中一类中继设备也可以是用户设备,这些中继设备也可以是本发明实施例中的网络设备。
本发明实施例中的会话,可以是P2P会话,或者也可以是其他类型的会话。
以下,对本发明实施例中的部分用语进行解释说明,以便于本领域技术人员理解。
1)终端,是指向用户提供语音和/或数据连通性的设备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终 端设备可以经居民接入网(Residential Access Network,RAN)与核心网进行通信,与RAN交换语音和/或数据。该终端可以称为用户设备(user equipment,UE)、无线终端设备、移动终端设备、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point,AP)、远程终端设备(Remote Terminal)、接入终端设备(Access Terminal)、用户终端设备(User Terminal)、用户代理(User Agent)、或用户装备(User Device)等。例如,可以是移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的或者车载的移动装置。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。
2)网络设备,例如可以包括接入网设备,比如为基站(例如,接入点),具体可以是指接入网中在空中接口上通过一个或多个扇区与无线终端设备通信的设备。基站可用于将收到的空中帧与网际协议(IP)分组进行相互转换,作为无线终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括IP网络。基站还可协调对空中接口的属性管理。例如,基站可以是无线网络控制器(Radio Network Controller,RNC)或基站控制器(Base Station Controller,BSC),或者也可以是演进的LTE系统(LTE-Advanced,LTE-A)中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B),本发明实施例并不限定。
网络设备,例如还可以包括核心网(core network,CN)设备,比如为核心网中的控制节点,例如移动管理实体(Mobility Management Entity,MME)等。MME是接入网络的关键控制节点。
3)P2P计算,可以简单的定义为是通过直接交换来共享计算机资源和服务,而对等计算模型在应用层形成的网络通常称为对等网络,即P2P网络,通过P2P网络进行的会话本发明实施例中称为P2P会话。在P2P网络环境中, 成千上万台彼此连接的计算机都处于对等的地位,整个网络一般来说不依赖专用的集中服务器。网络中的每一台计算机既能充当网络服务的请求者,又对其它计算机的请求作出响应,为其它计算机提供资源和服务。通常,这些资源和服务包括:信息的共享和交换、计算资源(如CPU的共享)、存储共享(如缓存和磁盘空间的使用)等。
4)本发明实施例中的术语“系统”和“网络”可被互换使用。“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。
下面结合说明书附图对本发明实施例作进一步详细描述。
请参见图2,本发明实施例提供第一种链路建立方法,该方法的流程描述如下。
步骤201:第一网络设备获得第一终端的位置信息以及第一信息;其中,第一终端请求与第二终端建立会话,第一信息为第二终端的位置信息和/或会话的标识信息;
步骤202:第一网络设备根据第一终端的位置信息及第一信息获得第一路由信息,第一路由信息为第一终端与第二终端的直接链路的路由信息。
请参见图3,本发明实施例提供第二种链路建立方法,该方法的流程描述如下。
步骤301:第一终端在请求与第二终端建立会话时,通过与第二终端之间的信令通道或者通过与网络侧的信令通道获取第二终端的位置信息;
步骤302:第一终端将第一终端的位置信息及第二终端的位置信息发送给第一网络设备;第一终端的位置信息及第二终端的位置信息用于获得第一终端及第二终端之间的直接链路的第一路由信息。
请参见图4,本发明实施例提供第三种链路建立方法,该方法的流程描述如下。
步骤401:第二核心网设备接收第一直接路由请求消息;
步骤402:第二核心网设备根据第一直接路由请求消息生成第一路由信息;其中,第一路由信息为第一终端与第二终端的直接链路的路由信息,第一终端请求与第二终端建立会话。
请参见图5,本发明实施例提供第四种链路建立方法,该方法的流程描述如下。
步骤501:第三接入网设备接收第一接入网设备发送的切换请求;切换请求用于指示第一终端将从第一接入网设备切换到第三接入网设备,切换请求中携带第二终端的位置信息和/或第一路由信息,第一路由信息为第一终端在接入第一接入网设备时与第二终端之间的旧的直接链路的路由信息;第一终端与第二终端在通过旧的直接链路进行会话;
步骤502:第三接入网设备根据第二终端的位置信息和/或第一路由信息获取第一终端与第二终端之间的新的直接链路的第二路由信息。
图2、图3、图4和图5均为相应的方法,因此下面一起进行介绍。
下面,以接入网设备是基站为例进行描述,在实际应用中,接入网设备可以不限于基站,以第一核心网设备是SGW、第二核心网设备是MME为例进行描述,同样,在实际应用中,第一核心网设备不限于SGW,第二核心网设备也不限于MME,例如,凡是核心网中的控制节点均可作为第二核心网设备。以会话是P2P会话为例进行描述,在实际应用中,不限于会话的类型。
本发明实施例中,第一接入网设备与第二接入网设备可以是同一接入网设备,例如可以是同一基站,即第一终端和第二终端可以接受同一个基站提供的服务,那么直接链路就可以是在同一基站下建立的链路,或者,第一接入网设备与第二接入网设备也可以是不同的基站,那么直接链路就需要跨基站。第三接入网设备与第一接入网设备不是同一基站,第三接入网设备与第二接入网设备也不是同一基站。
本发明实施例中,第一网络设备可以是服务于第一终端的第一接入网设备(例如接入网设备也可以称为RAN设备),或者也可以是第二核心网设备 (例如核心网设备也可以称为CN设备)。下面分别介绍。
一、第一网络设备为服务于第一终端的RAN设备,即第一接入网设备。
请参见图6。
1、第一网络设备(例如称为源RAN设备)通知第一终端,开启直接路由(Direct Routing,DR)功能。
即,本发明实施例提供一种P2P网络下的直接路由功能,在通信两端的终端、接入网设备以及核心网设备均支持该功能时,两个终端之间就可以建立直接链路。在不使用该功能时,可以关闭该功能,可以减小设备的功耗,在需要使用该功能时再开启该功能,例如源RAN设备可以通知第一终端开启该功能。
当然,如果该功能始终开启或者已经开启的话,则可以不执行步骤1。
2、第一终端与第二终端首先建立信令通道,第一终端通过信令通道请求获得第二终端的位置信息。其中,信令通道的路径可以是:第一终端-源RAN设备-核心网设备-网关设备-服务器-网关设备-核心网设备-服务于第二终端的接入网设备(例如称为目标RAN设备)-第二终端。即,信令通道的路径与传统的P2P业务的数据传输路径相同(例如与背景技术中介绍的相同)。
可替换的,第一终端也可以通过与网络侧的信令通道获取第二终端的位置信息。
其中,第二终端的位置信息,可以包括第二终端所在的接入网设备(即第二接入网设备)的身份标识号(identity,ID),及第二终端所在的小区的ID中的至少一种。
3、如果第一终端支持Direct Routing功能,则第一终端将第一终端的位置信息发送给源RAN设备,以及,如果第一终端获取了第二终端的位置信息,则第一终端还可以将第二终端的位置信息发给源RAN设备。图6以第一终端将第一终端的位置信息及第二终端的位置信息发给源RAN设备为例。
4、源RAN设备将第一路由信息发给第二接入网设备(例如称为目的RAN设备),或者源RAN设备将第一路由信息发给目的RAN设备和第一核心网设 备。图6以源RAN设备将第一路由信息发给目的RAN设备为例。
源RAN设备首先根据第一终端的位置信息和第二终端的位置信息进行判决,或源RAN设备根据第一终端的位置信息和本次P2P会话的会话ID(Session ID)进行判决,以决定第一终端与第二终端之间是否可以建立直接链路。
其中,若源RAN设备根据第一终端的位置信息和本次P2P会话的会话ID进行判决,则第一终端也可以不获取第二终端的位置信息,或第一终端即使获取了第二终端的位置信息也可以不发送给源RAN设备,源RAN设备可以直接获取本次P2P会话的会话ID。
例如,源RAN设备根据第一终端的位置信息和第二终端的位置信息,或根据第一终端的位置信息和本次P2P会话的会话ID,可以确定第一终端与第二终端是否均支持Direct Routing功能,若均支持,则可以建立直接链路;源RAN设备根据第一终端的位置信息和第二终端的位置信息,或根据第一终端的位置信息和本次P2P会话的会话ID,可以确定服务于第一终端的接入网设备(即第一接入网设备)与服务于第二终端的接入网设备(即第二接入网设备)之间的距离是否支持建立直接链路,若支持,则可以建立直接链路;源RAN设备根据第一终端的位置信息和第二终端的位置信息,或根据第一终端的位置信息和本次P2P会话的会话ID,可以确定第一接入网设备与第二接入网设备之间是否有通信接口(例如X2接口),若有,则可以建立直接链路,等等,本发明实施例对于判决方式不作限制。
例如,源RAN设备判决确定第一终端与第二终端之间可以建立直接链路,则源RAN设备可以获得第一路由信息,并可以根据第一路由信息对第一接入网设备进行配置。
其中,由源RAN设备进行判决时,源RAN设备获得第一路由信息的方式可以有几种,以下举例介绍:
第一种:源RAN设备直接根据第一终端的位置信息和第二终端的位置信息,或根据第一终端的位置信息和本次P2P会话的会话ID,生成第一路由信息;
第二种:源RAN设备向第二核心网设备(例如为MME)发送直接路由请 求消息,例如将该直接路由请求消息称为第一直接路由请求消息,第一直接路由请求消息用于指示MME分配第一路由信息。那么MME接收第一直接路由请求消息后,就可以分配第一路由信息,并将第一路由信息发给源RAN设备和目的RAN设备,或者将第一路由信息发给源RAN设备、目的RAN设备及第一核心网设备(例如为SGW)。即,在这种情况下,源RAN设备只需将第一直接路由请求消息发给MME,然后接收MME发送的第一路由信息即可,至于将第一路由信息发给相应的设备,都是MME做的工作。那么在这种情况下,就无需进行后面的步骤了。
目的RAN设备接收第一路由信息后,可以根据第一路由信息对目的RAN设备进行配置,这样就建立了第一终端和第二终端之间的直接链路,该直接链路的路径为:第一终端-源RAN设备-目的RAN设备-第二终端;
除了目的RAN设备可以接收第一路由信息之外,SGW也可以接收第一路由信息,这样,目的RAN设备可以根据第一路由信息对目的RAN设备进行配置,SGW也可以根据第一路由信息对SGW进行配置,从而建立第一终端和第二终端之间的直接链路,该直接链路的路径为:第一终端-源RAN设备-SGW-目的RAN设备-第二终端。
显然,无论是哪种路径,都比现有技术中的传输路径(或者称为传统路径)短。
可选的,若源RAN设备生成并发送第一路由信息,则源RAN设备在将第一路由信息发送给目的RAN设备时,可以采用两种不同的方式:
第一种:源RAN设备直接将第一路由信息发送给目的RAN设备;
第二种:源RAN设备将第一路由信息发送给第二核心网设备,例如为MME,由MME再将第一路由信息发送给目的RAN设备。
5、源RAN设备向MME发送第一通知消息,第一通知消息用于指示第一终端和第二终端之间建立的该直接链路。
在确定第一终端和第二终端可以建立直接链路后,或者在将第一路由信息分别发送给第一接入网设备和第二接入网设备后,源RAN可以将第一终端 和第二终端之间建立的直接链路的信息通知MME。
二、第一网络设备为第二核心网设备。
请参见图7。
其中,图7的步骤1-步骤3与图6类似,不多赘述,下面主要介绍与图6不同的步骤。
4、源RAN设备将第一终端发送的信息(例如包括第一终端的位置信息和/或第二终端的位置信息)发给第二核心网设备,例如为MME。
其中,源RAN设备首先会接收第一终端发送的第一终端的位置信息和/或第二终端的位置信息,那么,源RAN设备可以直接将这些信息发给MME,由MME判决第一终端与第二终端是否可以建立直接链路,并在能够建立直接链路时获得第一路由信息。在这种实现方式下,判决过程由MME执行,即,MME接收第一终端的位置信息和/或第二终端的位置信息后要首先进行判决,如果判决确定第一终端与第二终端之间可以建立直接链路,则MME再获取第一路由信息,如果判决确定第一终端与第二终端之间无法建立直接链路,则MME不会获取第一路由信息,比如可能会为第一终端与第二终端建立传统链路。其中,建立传统链路的方式可参考现有技术,本发明实施例不多赘述。
5、MME将第一路由信息分别发送给源RAN设备和目的RAN设备(图7以此为例),或可以将第一路由信息分别发送给源RAN设备、目的RAN设备和SGW。
MME首先根据第一终端发送的信息进行判决,以决定第一终端与第二终端之间是否可以建立直接链路。
MME判决的方式可参考图6中的源RAN设备判决的方式,不多赘述。
例如,MME判决确定第一终端与第二终端之间可以建立直接链路,则MME可以获得第一路由信息,并可以将第一路由信息分别发送给源RAN设备和目的RAN设备,或可以将第一路由信息分别发送给源RAN设备、目的RAN设备和SGW。这样,源RAN设备和目的RAN设备就可以根据第一路由信息分别对自身进行配置,或者,源RAN设备、目的RAN设备和SGW就可以根据第 一路由信息分别对自身进行配置。
前面介绍的是直接链路建立的两种可能的过程,在直接链路使用完毕后,或者在网络出现问题时,可能需要删除已经建立的直接链路。下面介绍删除直接链路的方法。
其中,如果是接入网设备决策建立的直接链路(可参考图6),即第一网络设备为第一接入网设备,那么在删除直接链路时也可以由第一接入网设备进行判决,如果是核心网设备决策建立的直接链路(可参考图7),即第一网络设备为第二核心网设备,那么在删除直接链路时也可以由第二核心网设备进行判决,下面分别介绍。
一、第一网络设备为源RAN设备,即第一接入网设备。
请参见图8。
1、第一终端通知源RAN设备(例如第一终端向源RAN设备发送第二连接释放消息),第二连接释放消息用于指示本次P2P会话过程结束,则源RAN设备可以判决本次P2P会话结束。
其中,图8是以第一终端可以是在本次P2P会话结束后向源RAN设备发送第二连接释放消息为例,或者也可以是在网络情况发生变化(例如网络不再适合使用直接链路)时,由第一终端或其他设备向源RAN设备发送第二连接释放消息。
2、如果直接链路的路径为第一终端-源RAN设备-目的RAN设备-第二终端,则源RAN设备向第二接入网设备(例如为目的RAN设备)发送第一连接释放消息(图8以此为例),第一连接释放消息用于指示目的RAN设备释放本次P2P会话的资源及直接链路的资源,或,如果直接链路的路径为第一终端-源RAN设备-第一核心网设备(例如为SGW)-目的RAN设备-第二终端,则源RAN设备向目的RAN设备和SGW分别发送第一连接释放消息,第一连接释放消息用于指示目的RAN设备和SGW释放本次P2P会话的资源及直接链路的资源。
其中,源RAN设备向目的RAN设备发送第一连接释放消息,可以有两种 方式:
第一种:源RAN设备直接向目的RAN设备发送第一连接释放消息;
第二种:源RAN设备向MME发送第一连接释放消息,由MME将第二连接释放消息发送给目的RAN设备。
3、源RAN设备向MME发送第二通知消息,第二通知消息用于指示第一终端与第二终端之间的直接链路已删除。
二、第一网络设备为第二核心网设备,例如为MME。
请参见图9。
1、第一终端或者源RAN设备判决业务结束,由源RAN设备向MME发送第二连接释放消息。其中,如果是第一终端要给MME发送第二连接释放消息,那么第一终端可以源RAN设备发送。
2、MME确定第一连接释放消息所针对的直接链路,从而确定该直接链路对应的设备,例如可以包括源RAN设备和目的RAN设备(图9以此为例),或者例如可以包括源RAN设备、目的RAN设备和SGW,则核心网设备分别向源RAN设备和目的RAN设备发送第一连接释放消息(图9以此为例),第一连接释放消息用于指示源RAN设备和目的RAN设备释放本次P2P会话以及该直接链路,或者,核心网设备分别向源RAN设备、目的RAN设备和SGW发送第一连接释放消息,第一连接释放消息用于指示源RAN设备、目的RAN设备和SGW释放本次P2P会话以及该直接链路。
3、对应的设备(例如包括源RAN设备和目的RAN设备,或者可以包括源RAN设备、目的RAN设备和SGW)接收第一连接释放消息后,可以释放本次会话的资源和直接链路的资源。
可选的,在建立直接链路后,除了可能会涉及删除该直接链路之外,还可能会涉及到要切换直接链路,例如,如果通信两端的终端中有至少一个终端的位置发生了变化,则就可能涉及到直接链路的切换。下面介绍链路切换的过程。
其中,如果是接入网设备决策建立的直接链路(可参考图6),即第一网 络设备为第一接入网设备,那么在切换直接链路时可以由第一接入网设备进行判决,如果是核心网设备决策建立的直接链路(可参考图7),即第一网络设备为第二核心网设备,那么在切换直接链路时也可以由第二核心网设备进行判决,下面分别介绍。
一、第一网络设备为源RAN设备,即第一接入网设备。
请参见图10。其中,图10是以第一终端进行接入网切换为例,在实际应用中,第二终端也可能会进行切换,对于第二终端切换的处理方式可参考如下对于第一终端切换的方式。
1、源RAN设备确定正在通过直接链路与第二终端通信的第一终端需要发生跨接入网设备的切换,则源RAN设备向第三接入网设备发送切换请求,在该切换请求中携带第二终端的位置信息和/或第一路由信息。其中,第三接入网设备为第一终端请求切换到的接入网设备。
其中,终端在需要切换接入网设备时,可以向当前接入的接入网设备发送测量报告,该测量报告中可以携带用于进行接入网设备切换的请求、以及切换后的小区的信息,例如小区的ID等。那么源RAN设备接收到第一终端发送的测量报告后,就知道第一终端要进行接入网设备的切换。
2、第三接入网设备判决确定第一终端在切换到第三接入网设备后继续通过直接链路与第二终端进行通信。
第三接入网设备根据第一终端切换到第三接入网设备后的位置信息、第二终端的位置信息和/或第一路由信息,判决第一终端在切换到第三接入网设备后是继续通过直接链路与第二终端进行通信,还是恢复传统链路进行通信。
例如,第一终端要从源RAN设备切换到第三接入网设备,如果源RAN设备与第三接入网设备之间的距离太远,或如果源RAN设备与第三接入网设备之间不存在互相连接的接口,等等,则第一终端与第二终端就无法再通过直接链路进行通信,而需要恢复传统链路。
如果第一终端与第二终端需要恢复传统链路,那么重新建立传统链路的方式可参考现有技术,本发明实施例不多赘述。
图10以判决确定第一终端在切换到第三接入网设备后可以继续通过直接链路与第二终端进行通信为例。
3、第三接入网设备将第二路由信息发送给目的RAN设备(即第二接入网设备),以建立第一终端与第二终端之间的新的直接链路(图10以此为例),或第三接入网设备将第二路由信息分别发送给目的RAN设备和SGW,以建立第一终端与第二终端之间的新的直接链路。
其中,第二路由信息究竟发送给哪些设备,是由直接链路的路径决定的。
图10以第三接入网设备确定第一终端和第二终端可以继续通过直接链路进行通信为例,那么,第三接入网设备可以根据第一终端切换后的位置信息、及第二终端的位置信息和/或第一路由信息获取第二路由信息,第二路由信息为第一终端切换到第三接入网设备后第一终端与第二终端之间的直接链路的路由信息。
可选的,第三接入网设备在判决确定第一终端和第二终端可以继续通过直接链路进行通信后,获取第二路由信息可以有不同的方式,以下举例介绍:
第一种:第三接入网设备直接根据第一终端切换后的位置信息、及第二终端的位置信息和/或第一路由信息生成第二路由信息;
第二种:第三接入网设备向第二核心网设备(例如为MME)发送直接路由请求消息,例如将该直接路由请求消息称为第二直接路由请求消息,第二直接路由请求消息用于指示MME分配第二路由信息。那么MME接收第二直接路由请求消息后,就可以分配第二路由信息,并将第二路由信息发给第三接入网设备和目的RAN设备,或者将第二路由信息发给第三接入网设备、目的RAN设备及第一核心网设备(例如为SGW)。即,在这种情况下,第三接入网设备只需将第二直接路由请求消息发给MME,然后接收MME发送的第二路由信息即可,至于将第二路由信息发给相应的设备,都是MME做的工作。那么在这种情况下,就无需进行后面的步骤了。
可选的,若第三接入网设备生成并发送第二路由信息,则第三接入网设备将第二路由信息发送给目的RAN设备,可以有两种方式:
第一种方式:第三接入网设备直接将第二路由信息发送给目的RAN设备;
第二种方式:第三接入网设备将第二路由信息发送给MME,由MME将第二路由信息发送给目的RAN设备。
另外,若第三接入网设备生成并发送第二路由信息,则第三接入网设备还可以通知MME,第一终端与第二终端之间新建立了直接链路,新建立的直接链路使用第二路由信息(图10中未画出该步骤)。
4、目的RAN设备接收第二路由信息后,即相当于获取了新的DR配置信息,则目的RAN设备可以根据第二路由信息配置目的RAN设备。
可选的,如果SGW也接收了第二路由信息,那么SGW接收第二路由信息后,即相当于获取了新的DR配置信息,则SGW可以根据第二路由信息配置SGW。其中,该步骤和步骤4的顺序可以任意。图10中未画出该步骤。
这样,第一终端在切换到第三接入网设备后,可以继续通过第二路由信息对应的新的直接链路与第二终端进行通信。
二、第一网络设备为第二核心网设备,例如为MME。
请参见图11。其中,图11继续以第一终端进行切换为例,在实际应用中,第二终端也可能会进行切换,对于第二终端切换的处理方式可参考如下对于第一终端切换的方式。
1、源RAN设备确定正在通过直接链路与第二终端进行通信的第一终端需要发生跨接入网设备的切换,则源RAN设备向MME发送第二通知消息,第二通知消息用于指示第一终端即将切换到第三接入网设备,在该第二通知消息中可以携带第二终端的位置信息和/或第一路由信息。其中,第一终端请求切换到第三接入网设备。
2、MME判决确定第一终端与第二终端可以继续通过直接链路进行通信。
MME根据第一终端切换到第三接入网设备后的位置信息、第二终端的位置信息和/或第一路由信息,判决第一终端与第二终端是继续通过直接链路进行通信,还是恢复传统链路进行通信。判决方式可参考图10的描述。
如果第一终端与第二终端需要恢复传统链路,那么重新建立传统链路的 方式可参考现有技术,本发明实施例不多赘述。
图11以判决确定第一终端与第二终端可以继续通过直接链路进行通信为例。
3、MME将第二路由信息分别发送给第三接入网设备和目的RAN设备(即第二接入网设备),以建立第一终端与第二终端之间的新的直接链路(图11以此为例),或MME将第二路由信息分别发送给第三接入网设备、目的RAN设备和SGW,以建立第一终端与第二终端之间的新的直接链路。
图11以第一网络设备确定第一终端和第二终端可以继续通过直接链路进行通信为例,那么,MME可以根据第一终端切换后的位置信息、及第二终端的位置信息和/或第一路由信息获取第二路由信息,第二路由信息为第一终端切换到第三接入网设备后第一终端与第二终端之间的直接链路的路由信息。
4、目的RAN设备接收第二路由信息后,即相当于获取了新的DR配置信息,则目的RAN设备可以根据第二路由信息配置目的RAN设备。
5、第三接入网设备接收第二路由信息后,即相当于获取了新的DR配置信息,则第三接入网设备可以根据第二路由信息配置第三接入网设备。其中,步骤4和步骤5的顺序可以任意。
其中,如果MME还把第二路由信息发送给了SGW,那么SGW接收第二路由信息后,即相当于获取了新的DR配置信息,则SGW可以根据第二路由信息配置SGW。同样的,该步骤与步骤4与步骤5之间的顺序也可以任意。图11中未画出该步骤。
这样,第一终端在切换到第三接入网设备后,可以继续通过第二路由信息对应的新的直接链路与第二终端进行通信。
本发明实施例中,通过终端上报的辅助信息(例如包括终端的位置信息等),网络设备可以确定出通信两端的两个终端之间较优的路由路径,以建立两个终端之间的直接链路,从而可以减小业务传输时延,并可以节省传输资源。
下面结合附图介绍本发明实施例中的设备。
请参见图12A,基于同一发明构思,本发明实施例提供一种网络设备,该网络设备可以是如前方法实施例中所述的第一网络设备,该网络设备可以包括存储器1201和处理器1202。
其中,处理器1202可以是中央处理器(CPU)或特定应用集成电路(Application Specific Integrated Circuit,ASIC),可以是一个或多个用于控制程序执行的集成电路,可以是使用现场可编程门阵列(Field Programmable Gate Array,FPGA)开发的硬件电路,可以是基带芯片。
存储器1201的数量可以是一个或多个。存储器1201可以包括只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)和磁盘存储器。
可选的,无论该网络设备为如前所述的第一接入网设备还是如前所述的第二核心网设备,该网络设备均还可以包括发送器1203和接收器1204,请参见图12B。
发送器1203和接收器1204可以属于射频系统,用于与外部设备进行网络通信,具体可以通过以太网、无线接入网、无线局域网等网络与外部设备进行通信。发送器1203和接收器1204可以是同一实体模块,例如可以是能够实现收发功能的实体模块,比如可以称为收发器,或者发送器1203和接收器1204也可以是单独的实体模块。
这些存储器1201、发送器1203和接收器1204可以通过总线与处理器1202相连接(图12A-图12B以此为例),或者也可以通过专门的连接线分别与处理器1202连接。
通过对处理器1202进行设计编程,将前述所示的方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述图2、图6-图11所示的方法。如何对处理器1202进行设计编程为本领域技术人员所公知的技术,这里不再赘述。
该网络设备可以用于执行上述图2、图6-图11所述的方法,例如可以是如前所述的第一网络设备。因此,对于该网络设备中的各单元所实现的功能等, 可参考如前方法部分的描述,不多赘述。
请参见图13A,基于同一发明构思,本发明实施例提供一种核心网设备,该核心网设备可以包括存储器1301、处理器1302和接收器1303。
其中,处理器1302可以是CPU或ASIC,可以是一个或多个用于控制程序执行的集成电路,可以是使用FPGA开发的硬件电路,可以是基带芯片。
存储器1301的数量可以是一个或多个。存储器1301可以包括ROM、RAM和磁盘存储器。
可选的,该核心网设备还可以包括发送器1304,请参见图13B。
发送器1304和接收器1303可以属于射频系统,用于与外部设备进行网络通信,具体可以通过以太网、无线接入网、无线局域网等网络与外部设备进行通信。发送器1304和接收器1303可以是同一实体模块,例如可以是能够实现收发功能的实体模块,比如可以称为收发器,或者发送器1304和接收器1303也可以是单独的实体模块。
这些存储器1301、发送器1304和接收器1303可以通过总线与处理器1302相连接(图13A-图13B以此为例),或者也可以通过专门的连接线分别与处理器1302连接。
通过对处理器1302进行设计编程,将前述所示的方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述图4、图6-图11所示的方法。如何对处理器1302进行设计编程为本领域技术人员所公知的技术,这里不再赘述。
该核心网设备可以用于执行上述图4、图6-图11所述的方法,例如可以是如前所述的第二核心网设备。因此,对于该核心网设备中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
请参见图14A,基于同一发明构思,本发明实施例提供一种接入网设备,该接入网设备可以包括存储器1401、处理器1402和接收器1043。
其中,处理器1402可以是CPU或ASIC,可以是一个或多个用于控制程序执行的集成电路,可以是使用FPGA开发的硬件电路,可以是基带芯片。
存储器1401的数量可以是一个或多个。存储器1401可以包括ROM、RAM和磁盘存储器。
可选的,该核心网设备还可以包括发送器1404,请参见图14B。
发送器1404和接收器1403可以属于射频系统,用于与外部设备进行网络通信,具体可以通过以太网、无线接入网、无线局域网等网络与外部设备进行通信。发送器1404和接收器1403可以是同一实体模块,例如可以是能够实现收发功能的实体模块,比如可以称为收发器,或者发送器1404和接收器1403也可以是单独的实体模块。
这些存储器1401、发送器1404和接收器1403可以通过总线与处理器1402相连接(图14A-图14B以此为例),或者也可以通过专门的连接线分别与处理器1402连接。
通过对处理器1402进行设计编程,将前述所示的方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述图5、图6-图11所示的方法。如何对处理器1402进行设计编程为本领域技术人员所公知的技术,这里不再赘述。
该接入网设备可以用于执行上述图5、图6-图11所述的方法,例如可以是如前所述的第三核心网设备。因此,对于该接入网设备中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
请参见图15,基于同一发明构思,本发明实施例提供一种终端,该终端可以包括存储器1501、处理器1502和发送器1503。
其中,处理器1502可以是CPU或ASIC,可以是一个或多个用于控制程序执行的集成电路,可以是使用FPGA开发的硬件电路,可以是基带芯片。
存储器1501的数量可以是一个或多个。存储器1501可以包括ROM、RAM和磁盘存储器。
发送器1503可以属于射频系统,用于与外部设备进行网络通信,具体可以通过以太网、无线接入网、无线局域网等网络与外部设备进行通信。
这些存储器1501和发送器1503可以通过总线与处理器1502相连接(图 15以此为例),或者也可以通过专门的连接线分别与处理器1502连接。
通过对处理器1502进行设计编程,将前述所示的方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述图3、图6-图11所示的方法。如何对处理器1502进行设计编程为本领域技术人员所公知的技术,这里不再赘述。
该终端可以用于执行上述图3、图6-图11所述的方法,例如可以是如前所述的第一终端。因此,对于该终端中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
请参见图16,基于同一发明构思,本发明实施例提供另一种网络设备,该网络设备可以包括处理模块1601。可选的,请继续参见图16,该网络设备还可以包括发送模块1602和接收模块1603。
在实际应用中,处理模块1601对应的实体设备可以是图12A-图12B中的处理器1202,接收模块1603对应的实体设备可以是图12B中的接收器1604,发送模块1602对应的实体设备可以是图12B中的发送器1603。
该网络设备可以用于执行上述图2、图6-图11所述的方法,例如该网络设备可以是第一网络设备。因此,对于该网络设备中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
请参见图17,基于同一发明构思,本发明实施例提供另一种核心网设备,该核心网设备可以包括接收模块1701和处理模块1702。可选的,请继续参见图17,该核心网设备还可以包括发送模块1703。
在实际应用中,处理模块1702对应的实体设备可以是图13A-图13B中的处理器1302,接收模块1701对应的实体设备可以是图13A-图13B中的接收器1303,发送模块1703对应的实体设备可以是图13B中的发送器1304。
该核心网设备可以用于执行上述图4、图6-图11所述的方法,例如该核心网设备可以是第二核心网设备。因此,对于该核心网设备中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
请参见图18,基于同一发明构思,本发明实施例提供另一种接入网设备, 该接入网设备可以包括接收模块1801和处理模块1802。可选的,请继续参见图18,该接入网设备还可以包括发送模块1803。
在实际应用中,处理模块1802对应的实体设备可以是图14A-图14B中的处理器1402,接收模块1801对应的实体设备可以是图14B中的接收器1403,发送模块1803对应的实体设备可以是图14B中的发送器1404。
该接入网设备可以用于执行上述图5、图6-图11所述的方法,例如该接入网设备可以是第三接入网设备。因此,对于该接入网设备中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
请参见图19,基于同一发明构思,本发明实施例提供另一种终端,该终端可以包括发送模块1901和处理模块1902。
在实际应用中,处理模块1902对应的实体设备可以是图15中的处理器1502,发送模块1901对应的实体设备可以是图15中的发送器1503。
该终端可以用于执行上述图3、图6-图11所述的方法,例如该终端可以是第一终端。因此,对于该终端中的各单元所实现的功能等,可参考如前方法部分的描述,不多赘述。
本发明实施例中,第一网络设备可以获得在这第一终端和第二终端之间建立直接链路的路由信息(即第一路由信息),这样,两个终端在进行通信时,业务数据的传输路径可以是:第一终端-第一接入网设备-第二接入网设备-第二终端,或可以是:第一终端-第一接入网设备-第一核心网设备-第二接入网设备-第二终端,无论是哪种路径,相对于现有技术中的传输路径来说都较短,从而减小了传输时延,提高了传输效率,也节省了传输资源。
在本发明中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电 性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例。
在本发明实施例中的各功能单元可以集成在一个处理单元中,或者各个单元也可以均是独立的物理模块。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:通用串行总线闪存盘(Universal Serial Bus flash drive)、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以对本发明的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本发明实施例的方法,不应理解为对本发明实施例的限制。本技术领域的技术人员可轻易想到的变化或替换,都应涵盖在本发明实施例的保护范围之内。

Claims (60)

  1. 一种链路建立方法,其特征在于,包括:
    第一网络设备获得第一终端的位置信息以及第一信息;其中,所述第一终端请求与第二终端建立会话,所述第一信息为所述第二终端的位置信息和/或所述会话的标识信息;
    所述第一网络设备根据所述第一终端的位置信息及所述第一信息获得第一路由信息,所述第一路由信息为所述第一终端与所述第二终端的直接链路的路由信息。
  2. 如权利要求1所述的方法,其特征在于,若所述第一网络设备为服务于所述第一终端的第一接入网设备,则,所述第一网络设备根据所述第一终端的位置信息及所述第一信息获得第一路由信息,包括:
    所述第一网络设备根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若所述第一网络设备判决确定所述第一终端与所述第二终端能够建立所述直接链路,则所述第一网络设备根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息;
    所述第一网络设备根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若所述第一网络设备判决确定所述第一终端与所述第二终端能够建立所述直接链路,则所述第一网络设备向第二核心网设备发送第一直接路由请求消息,所述第一直接路由请求消息用于指示所述第二核心网设备分配所述第一路由信息;
    所述第一网络设备接收所述第二核心网设备发送的所述第一路由信息。
  3. 如权利要求2所述的方法,其特征在于,在所述第一网络设备根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,还包括:
    所述第一网络设备向服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,所述第一网络设备分别向服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  4. 如权利要求3所述的方法,其特征在于,所述第一网络设备向服务于所述第二终端的第二接入网设备发送所述第一路由信息,包括:
    所述第一网络设备直接向所述第二接入网设备发送所述第一路由信息;或
    所述第一网络设备通过第二核心网设备向所述第二接入网设备发送所述第一路由信息。
  5. 如权利要求3或4所述的方法,其特征在于,在所述第一网络设备分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,或所述第一网络设备分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息之后,还包括:
    所述第一网络设备向第二核心网设备发送第一通知消息,所述第一通知消息用于指示所述第一终端与所述第二终端之间建立的所述直接链路。
  6. 如权利要求3-5任一所述的方法,其特征在于,在所述直接链路建立之后,还包括:
    所述第一网络设备直接向所述第二接入网设备发送第一连接释放消息,或所述第一网络设备通过第二核心网设备向所述第二接入网设备和/或第一核心网设备发送所述第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  7. 如权利要求3-6任一所述的方法,其特征在于,在所述直接链路建立之后,还包括:
    所述第一网络设备确定所述第一终端即将切换到第三接入网设备;
    所述第一网络设备向所述第三接入网设备发送切换请求,或,所述第一 网络设备通过第二核心网设备向所述第三接入网设备发送切换请求;所述切换请求中携带所述第二终端的位置信息和/或所述第一路由信息,所述第二终端的位置信息和/或所述第一路由信息用于获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
  8. 如权利要求1所述的方法,其特征在于,若所述第一网络设备为第二核心网设备;则,
    第一网络设备获得第一终端的位置信息以及第一信息,包括:
    所述第一网络设备接收服务于所述第一终端的第一接入网设备发送的所述第一终端的位置信息以及所述第一信息;
    所述第一网络设备根据所述第一终端的位置信息及所述第一信息获得第一路由信息,包括:
    所述第一网络设备根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若所述第一网络设备判决确定所述第一终端与所述第二终端能够建立所述直接链路,则所述第一网络设备根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息。
  9. 如权利要求8所述的方法,其特征在于,在所述第一网络设备生成所述第一路由信息之后,还包括:
    所述第一网络设备分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,所述第一网络设备分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  10. 如权利要求9所述的方法,其特征在于,在所述直接链路建立之后,还包括:
    所述第一网络设备分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或所述第一网络设备分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接 释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  11. 如权利要求9或10所述的方法,其特征在于,在所述直接链路建立之后,还包括:
    所述第一网络设备接收第二通知消息,所述第二通知消息用于指示所述第一终端即将切换到第三接入网设备,所述第二通知消息中携带所述第二终端的位置信息和/或所述第一路由信息;
    所述第一网络设备根据所述第二终端的位置信息和/或所述第一路由信息获得第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
    所述第一网络设备将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或所述第一网络设备将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
  12. 一种链路建立方法,其特征在于,包括:
    第二核心网设备接收第一直接路由请求消息;
    所述第二核心网设备根据所述第一直接路由请求消息生成第一路由信息;其中,所述第一路由信息为第一终端与第二终端的直接链路的路由信息,所述第一终端请求与所述第二终端建立会话。
  13. 如权利要求12所述的方法,其特征在于,在所述第二核心网设备生成所述第一路由信息之后,还包括:
    所述第二核心网设备分别向服务于所述第一终端的第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,所述第一网络设备分别向服务于所述第一终端的第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  14. 如权利要求13所述的方法,其特征在于,在所述直接链路建立之后,还包括:
    所述第二核心网设备分别向所述第一接入网设备及所述第二接入网设备 发送第一连接释放消息,或所述第二核心网设备分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  15. 如权利要求13或14所述的方法,其特征在于,在所述直接链路建立之后,还包括:
    所述第二核心网设备接收第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
    所述第二核心网设备生成所述第二路由信息;
    所述第二核心网设备将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或所述第二核心网设备将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
  16. 一种链路建立方法,其特征在于,包括:
    第三接入网设备接收第一接入网设备发送的切换请求;所述切换请求用于指示第一终端将从所述第一接入网设备切换到所述第三接入网设备,所述切换请求中携带第二终端的位置信息和/或第一路由信息,所述第一路由信息为所述第一终端在接入所述第一接入网设备时与所述第二终端之间的旧的直接链路的路由信息;所述第一终端与所述第二终端在通过所述旧的直接链路进行会话;
    所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
  17. 如权利要求16所述的方法,其特征在于,所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息,包括:
    所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
    若所述第三接入网设备判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息;
    所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
    若所述第三接入网设备判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则所述第三接入网设备向第二核心网设备发送第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配所述第二路由信息;
    所述第三接入网设备接收所述第二核心网设备发送的所述第二路由信息。
  18. 如权利要求17所述的方法,其特征在于,在所述第三接入网设备根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,还包括:
    所述第三接入网设备将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,以建立所述新的直接链路;或,所述第三接入网设备将所述第二路由信息发送给服务于所述第二终端的第二接入网设备及第一核心网设备,以建立所述新的直接链路。
  19. 如权利要求18所述的方法,其特征在于,所述第三接入网设备将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,包括:
    所述第三接入网设备直接将所述第二路由信息发送给所述第二接入网设备;或
    所述第三接入网设备通过第二核心网设备将所述第二路由信息发送给所述第二接入网设备。
  20. 一种链路建立方法,其特征在于,包括:
    第一终端在请求与第二终端建立会话时,通过与所述第二终端之间的信 令通道或者通过与网络侧的信令通道获取所述第二终端的位置信息;
    所述第一终端将所述第一终端的位置信息及所述第二终端的位置信息发送给第一网络设备;所述第一终端的位置信息及所述第二终端的位置信息用于获得所述第一终端及所述第二终端之间的直接链路的第一路由信息。
  21. 一种网络设备,其特征在于,包括:
    处理模块,用于:
    获得第一终端的位置信息以及第一信息;其中,所述第一终端请求与第二终端建立会话,所述第一信息为所述第二终端的位置信息和/或所述会话的标识信息;
    根据所述第一终端的位置信息及所述第一信息获得第一路由信息,所述第一路由信息为所述第一终端与所述第二终端的直接链路的路由信息。
  22. 如权利要求21所述的网络设备,其特征在于,若所述网络设备为服务于所述第一终端的第一接入网设备,则所述网络设备还包括发送模块和接收模块;所述处理模块用于:
    根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息;
    根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则通过所述发送模块向第二核心网设备发送第一直接路由请求消息,所述第一直接路由请求消息用于指示所述第二核心网设备分配所述第一路由信息;
    通过所述接收模块接收所述第二核心网设备发送的所述第一路由信息。
  23. 如权利要求22所述的网络设备,其特征在于,所述发送模块还用于:
    在所述处理模块根据所述第一终端的位置信息及所述第一信息生成所述 第一路由信息之后,向服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
    在所述处理模块根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,分别向服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  24. 如权利要求23所述的网络设备,其特征在于,所述发送模块用于:
    直接向所述第二接入网设备发送所述第一路由信息;或
    通过第二核心网设备向所述第二接入网设备发送所述第一路由信息。
  25. 如权利要求23或24所述的网络设备,其特征在于,所述发送模块还用于:
    在分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,或分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息之后,所向第二核心网设备发送第一通知消息,所述第一通知消息用于指示所述第一终端与所述第二终端之间建立的所述直接链路。
  26. 如权利要求23-25任一所述的网络设备,其特征在于,所述发送模块还用于:
    在所述直接链路建立之后,直接向所述第二接入网设备发送第一连接释放消息,或通过第二核心网设备向所述第二接入网设备和/或第一核心网设备发送所述第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  27. 如权利要求23-26任一所述的网络设备,其特征在于,
    所述处理模块还用于:在所述直接链路建立之后,确定所述第一终端即将切换到第三接入网设备;
    所述发送模块还用于:向所述第三接入网设备发送切换请求,或,通过第二核心网设备向所述第三接入网设备发送切换请求;所述切换请求中携带所述第二终端的位置信息和/或所述第一路由信息,所述第二终端的位置信息 和/或所述第一路由信息用于获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
  28. 如权利要求21所述的网络设备,其特征在于,若所述网络设备为第二核心网设备,所述网络设备还包括接收模块;则,
    所述处理模块用于:
    通过所述接收模块接收服务于所述第一终端的第一接入网设备发送的所述第一终端的位置信息以及所述第一信息;
    根据所述接收模块接收的所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息。
  29. 如权利要求28所述的网络设备,其特征在于,所述网络设备还包括发送模块,用于:
    在所述处理模块生成所述第一路由信息之后,分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
    在所述处理模块生成所述第一路由信息之后,分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  30. 如权利要求29所述的网络设备,其特征在于,所述发送模块还用于:
    在所述直接链路建立之后,分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  31. 如权利要求29或30所述的网络设备,其特征在于,
    所述处理模块还用于:
    在所述直接链路建立之后,通过所述接收模块接收第二通知消息,所述 第二通知消息用于指示所述第一终端即将切换到第三接入网设备,所述第二通知消息中携带所述第二终端的位置信息和/或所述第一路由信息;
    根据所述第二终端的位置信息和/或所述第一路由信息获得第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
    所述发送模块还用于:
    将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
  32. 一种核心网设备,其特征在于,包括:
    接收模块,用于接收第一直接路由请求消息;
    处理模块,用于根据所述第一直接路由请求消息生成第一路由信息;其中,所述第一路由信息为第一终端与第二终端的直接链路的路由信息,所述第一终端请求与所述第二终端建立会话。
  33. 如权利要求32所述的核心网设备,其特征在于,所述核心网设备还包括发送模块,用于:
    在所述处理模块生成所述第一路由信息之后,分别向服务于所述第一终端的第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
    在所述处理模块生成所述第一路由信息之后,分别向服务于所述第一终端的第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  34. 如权利要求33所述的核心网设备,其特征在于,所述发送模块还用于:
    在所述直接链路建立之后,分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息 用于指示释放所述会话的资源及所述直接链路的资源。
  35. 如权利要求33或34所述的核心网设备,其特征在于,
    所述接收模块还用于:在所述直接链路建立之后,接收第二直接路由请求消息,所述第二直接路由请求消息用于指示所述核心网设备分配第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
    所述处理模块还用于:生成所述第二路由信息;
    所述发送模块还用于:将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
  36. 一种接入网设备,其特征在于,包括:
    接收模块,用于接收第一接入网设备发送的切换请求;所述切换请求用于指示第一终端将从所述第一接入网设备切换到所述接入网设备,所述切换请求中携带第二终端的位置信息和/或第一路由信息,所述第一路由信息为所述第一终端在接入所述第一接入网设备时与所述第二终端之间的旧的直接链路的路由信息;所述第一终端与所述第二终端在通过所述旧的直接链路进行会话;
    处理模块,用于根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
  37. 如权利要求36所述的接入网设备,其特征在于,所述接入网设备还包括发送模块;所述处理模块用于:
    根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息;
    根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则通过所述发送模块向第二核心网设备发送第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配所述第二路由信息;
    通过所述接收模块接收所述第二核心网设备发送的所述第二路由信息。
  38. 如权利要求37所述的接入网设备,其特征在于,所述发送模块还用于:
    在所述处理模块根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,以建立所述新的直接链路;或,
    在所述处理模块根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,将所述第二路由信息发送给服务于所述第二终端的第二接入网设备及第一核心网设备,以建立所述新的直接链路。
  39. 如权利要求38所述的接入网设备,其特征在于,所述发送模块用于:
    直接将所述第二路由信息发送给所述第二接入网设备;或
    通过第二核心网设备将所述第二路由信息发送给所述第二接入网设备。
  40. 一种终端,其特征在于,包括:
    处理模块,用于:
    在所述终端请求与第二终端建立会话时,通过与所述第二终端之间的信令通道或者通过与网络侧的信令通道获取所述第二终端的位置信息;
    将所述终端的位置信息及所述第二终端的位置信息发送给第一网络设备;所述终端的位置信息及所述第二终端的位置信息用于获得所述终端及所述第二终端之间的直接链路的第一路由信息。
  41. 一种网络设备,其特征在于,包括:
    存储器,用于存储指令;
    处理器,用于执行所述指令,获得第一终端的位置信息以及第一信息; 其中,所述第一终端请求与第二终端建立会话,所述第一信息为所述第二终端的位置信息和/或所述会话的标识信息;根据所述第一终端的位置信息及所述第一信息获得第一路由信息,所述第一路由信息为所述第一终端与所述第二终端的直接链路的路由信息。
  42. 如权利要求41所述的网络设备,其特征在于,若所述第一网络设备为服务于所述第一终端的第一接入网设备,则所述网络设备还包括发送器和接收器;所述处理器用于:
    根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息;
    根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则通过所述发送器向第二核心网设备发送第一直接路由请求消息,所述第一直接路由请求消息用于指示所述第二核心网设备分配所述第一路由信息;
    通过所述接收器接收所述第二核心网设备发送的所述第一路由信息。
  43. 如权利要求42所述的网络设备,其特征在于,所述处理器还用于:
    在根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,向服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
    在根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息之后,分别向服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  44. 如权利要求43所述的网络设备,其特征在于,所述处理器用于:
    通过所述发送器直接向所述第二接入网设备发送所述第一路由信息;或
    通过所述发送器、经第二核心网设备向所述第二接入网设备发送所述第一路由信息。
  45. 如权利要求43或44所述的网络设备,其特征在于,所述处理器还用于:
    在通过所述发送器分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,或通过所述发送器所述第一网络设备分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息之后,向第二核心网设备发送第一通知消息,所述第一通知消息用于指示所述第一终端与所述第二终端之间建立的所述直接链路。
  46. 如权利要求43-45任一所述的网络设备,其特征在于,所述处理器还用于:
    在所述直接链路建立之后,通过所述发送器直接向所述第二接入网设备发送第一连接释放消息,或通过所述发送器经第二核心网设备向所述第二接入网设备和/或第一核心网设备发送所述第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  47. 如权利要求43-46任一所述的网络设备,其特征在于,所述处理器还用于:
    在所述直接链路建立之后,确定所述第一终端即将切换到第三接入网设备;
    通过所述发送器向所述第三接入网设备发送切换请求,或,通过所述发送器、经第二核心网设备向所述第三接入网设备发送切换请求;所述切换请求中携带所述第二终端的位置信息和/或所述第一路由信息,所述第二终端的位置信息和/或所述第一路由信息用于获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
  48. 如权利要求41所述的网络设备,其特征在于,若所述网络设备为第二核心网设备,则所述网络设备还包括接收器;所述处理器用于:
    通过所述接收器接收服务于所述第一终端的第一接入网设备发送的所述第一终端的位置信息以及所述第一信息;
    根据所述第一终端的位置信息及所述第一信息判决所述第一终端与所述第二终端是否能够建立所述直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述直接链路,则根据所述第一终端的位置信息及所述第一信息生成所述第一路由信息。
  49. 如权利要求48所述的网络设备,其特征在于,所述网络设备还包括发送器;所述处理器还用于:
    在生成所述第一路由信息之后,通过所述发送器分别向所述第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
    在生成所述第一路由信息之后,通过所述发送器分别向所述第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  50. 如权利要求49所述的网络设备,其特征在于,所述处理器还用于:
    在所述直接链路建立之后,通过所述发送器分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或通过所述发送器分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  51. 如权利要求49或50所述的网络设备,其特征在于,所述处理器还用于:
    在所述直接链路建立之后,通过所述接收器接收第二通知消息,所述第二通知消息用于指示所述第一终端即将切换到第三接入网设备,所述第二通知消息中携带所述第二终端的位置信息和/或所述第一路由信息;
    根据所述第二终端的位置信息和/或所述第一路由信息获得第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所 述第二终端之间的直接链路的路由信息;
    通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
  52. 一种核心网设备,其特征在于,包括:
    存储器,用于存储指令;
    接收器,用于接收第一直接路由请求消息;
    处理器,用于执行所述指令,根据所述接收器接收的所述第一直接路由请求消息生成第一路由信息;其中,所述第一路由信息为第一终端与第二终端的直接链路的路由信息,所述第一终端请求与所述第二终端建立会话。
  53. 如权利要求52所述的核心网设备,其特征在于,所述核心网设备还包括发送器;所述处理器用于:
    在生成所述第一路由信息之后,通过所述发送器分别向服务于所述第一终端的第一接入网设备及服务于所述第二终端的第二接入网设备发送所述第一路由信息,以建立所述直接链路;或,
    在生成所述第一路由信息之后,通过所述发送器分别向服务于所述第一终端的第一接入网设备、服务于所述第二终端的第二接入网设备及第一核心网设备发送所述第一路由信息,以建立所述直接链路。
  54. 如权利要求53所述的核心网设备,其特征在于,所述处理器还用于:
    在所述直接链路建立之后,通过所述发送器分别向所述第一接入网设备及所述第二接入网设备发送第一连接释放消息,或通过所述发送器分别向所述第一接入网设备、所述第二接入网设备和第一核心网设备发送第一连接释放消息,所述第一连接释放消息用于指示释放所述会话的资源及所述直接链路的资源。
  55. 如权利要求53或54所述的核心网设备,其特征在于,
    所述接收器还用于:
    在所述直接链路建立之后,接收第二直接路由请求消息,所述第二直接 路由请求消息用于指示所述核心网设备分配第二路由信息;所述第二路由信息为切换到所述第三接入网设备后的所述第一终端与所述第二终端之间的直接链路的路由信息;
    所述处理器还用于:
    生成所述第二路由信息;
    通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备和所述第三接入网设备,或通过所述发送器将所述第二路由信息分别发送给所述第二接入网设备、所述第三接入网设备和第一核心网设备。
  56. 一种接入网设备,其特征在于,包括:
    存储器,用于存储指令;
    接收器,用于接收第一接入网设备发送的切换请求;所述切换请求用于指示第一终端将从所述第一接入网设备切换到所述接入网设备,所述切换请求中携带第二终端的位置信息和/或第一路由信息,所述第一路由信息为所述第一终端在接入所述第一接入网设备时与所述第二终端之间的旧的直接链路的路由信息;所述第一终端与所述第二终端在通过所述旧的直接链路进行会话;
    处理器,用于执行所述指令,根据所述第二终端的位置信息和/或所述第一路由信息获取所述第一终端与所述第二终端之间的新的直接链路的第二路由信息。
  57. 如权利要求56所述的接入网设备,其特征在于,所述接入网设备还包括发送器;所述处理器用于:
    根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息;
    根据所述第二终端的位置信息和/或所述第一路由信息判决所述第一终端与所述第二终端是否能够建立所述新的直接链路;
    若判决确定所述第一终端与所述第二终端能够建立所述新的直接链路,则通过所述发送器向第二核心网设备发送第二直接路由请求消息,所述第二直接路由请求消息用于指示所述第二核心网设备分配所述第二路由信息;
    通过所述接收器接收所述第二核心网设备发送的所述第二路由信息。
  58. 如权利要求57所述的接入网设备,其特征在于,所述处理器还用于:
    在根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,通过所述发送器将所述第二路由信息发送给服务于所述第二终端的第二接入网设备,以建立所述新的直接链路;或,
    在根据所述第二终端的位置信息和/或所述第一路由信息生成所述第二路由信息之后,通过所述发送器将所述第二路由信息发送给服务于所述第二终端的第二接入网设备及第一核心网设备,以建立所述新的直接链路。
  59. 如权利要求58所述的接入网设备,其特征在于,所述处理器用于:
    通过所述发送器直接将所述第二路由信息发送给所述第二接入网设备;或
    通过所述发送器、经第二核心网设备将所述第二路由信息发送给所述第二接入网设备。
  60. 一种终端,其特征在于,包括:
    存储器,用于存储指令;
    处理器,用于执行所述指令,在请求与第二终端建立会话时,通过与所述第二终端之间的信令通道或者通过与网络侧的信令通道获取所述第二终端的位置信息;通过发送器将所述终端的位置信息及所述第二终端的位置信息发送给第一网络设备;所述终端的位置信息及所述第二终端的位置信息用于获得所述终端及所述第二终端之间的直接链路的第一路由信息。
PCT/CN2015/094941 2015-11-18 2015-11-18 一种链路建立方法及设备 Ceased WO2017084049A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2018525607A JP6645677B2 (ja) 2015-11-18 2015-11-18 リンク確立方法およびデバイス
EP15908546.3A EP3370472A4 (en) 2015-11-18 2015-11-18 Method and device for establishing links
CN201580084506.8A CN108353441B (zh) 2015-11-18 2015-11-18 一种链路建立方法及设备
PCT/CN2015/094941 WO2017084049A1 (zh) 2015-11-18 2015-11-18 一种链路建立方法及设备
US15/982,976 US20180270886A1 (en) 2015-11-18 2018-05-17 Link setup method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/094941 WO2017084049A1 (zh) 2015-11-18 2015-11-18 一种链路建立方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/982,976 Continuation US20180270886A1 (en) 2015-11-18 2018-05-17 Link setup method and device

Publications (1)

Publication Number Publication Date
WO2017084049A1 true WO2017084049A1 (zh) 2017-05-26

Family

ID=58717227

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094941 Ceased WO2017084049A1 (zh) 2015-11-18 2015-11-18 一种链路建立方法及设备

Country Status (5)

Country Link
US (1) US20180270886A1 (zh)
EP (1) EP3370472A4 (zh)
JP (1) JP6645677B2 (zh)
CN (1) CN108353441B (zh)
WO (1) WO2017084049A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527621A (zh) * 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 无线通信网络中建立点到点对等通信的方法和装置
CN102461317A (zh) * 2009-04-06 2012-05-16 英特尔公司 无线网络中的直接对等链路建立
CN103369604A (zh) * 2012-04-06 2013-10-23 中兴通讯股份有限公司 一种实现切换到设备间通信模式的方法、网络装置和终端
CN103648079A (zh) * 2013-12-16 2014-03-19 重庆邮电大学 一种基于c-ran架构下直接通信的虚拟调度方法
CN104254145A (zh) * 2013-06-28 2014-12-31 电信科学技术研究院 一种基于wlan的直接通信建立方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096502B (zh) * 2011-11-03 2016-03-09 华为技术有限公司 建立设备到设备连接的方法、装置和系统
US9345055B2 (en) * 2012-04-27 2016-05-17 Lg Electronics Inc. Method and apparatus for establishing device-to-device connection in wireless communication system
TWI626855B (zh) * 2012-04-27 2018-06-11 內數位專利控股公司 最佳化鄰近資料路徑設置方法及裝置
WO2014084028A1 (ja) * 2012-11-28 2014-06-05 京セラ株式会社 移動通信システム、基地局、プロセッサ、及び通信制御方法
CN102984813B (zh) * 2012-12-03 2015-09-30 中国联合网络通信集团有限公司 数据直通处理方法、设备和系统
HUE034771T2 (en) * 2013-05-16 2018-02-28 Ericsson Telefon Ab L M Wireless device including network nodes and procedures for managing device-to-device (D2D) communications in a wireless telecommunication network during transfer
JP2015082831A (ja) * 2013-10-24 2015-04-27 富士通株式会社 無線通信装置、無線通信方法、および無線通信システム
JP2017515415A (ja) * 2014-05-09 2017-06-08 富士通株式会社 リソース選択装置及び通信システム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527621A (zh) * 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 无线通信网络中建立点到点对等通信的方法和装置
CN102461317A (zh) * 2009-04-06 2012-05-16 英特尔公司 无线网络中的直接对等链路建立
CN103369604A (zh) * 2012-04-06 2013-10-23 中兴通讯股份有限公司 一种实现切换到设备间通信模式的方法、网络装置和终端
CN104254145A (zh) * 2013-06-28 2014-12-31 电信科学技术研究院 一种基于wlan的直接通信建立方法及装置
CN103648079A (zh) * 2013-12-16 2014-03-19 重庆邮电大学 一种基于c-ran架构下直接通信的虚拟调度方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3370472A4 *

Also Published As

Publication number Publication date
JP2018534872A (ja) 2018-11-22
CN108353441A (zh) 2018-07-31
EP3370472A4 (en) 2018-11-14
US20180270886A1 (en) 2018-09-20
EP3370472A1 (en) 2018-09-05
JP6645677B2 (ja) 2020-02-14
CN108353441B (zh) 2020-12-01

Similar Documents

Publication Publication Date Title
CN107734573B (zh) 切换方法、基站及通信系统
CN110662308B (zh) 一种通信方法及装置
CN103053199B (zh) 先进lte系统中的中继通信
JP7104143B2 (ja) 通信方法および通信装置
CN110169131A (zh) 下一代系统的rat间切换
CN107079372B (zh) 一种网络终端设备进行通信的方法及装置
CN108605379A (zh) 数据传输的方法、基站及终端设备
CN104303582A (zh) 用于切换的方法和装置
CN109246778A (zh) 功能网元的选择方法及相关设备
CN111654923A (zh) 一种通信控制的方法及相关网元
WO2022082690A1 (zh) 群组切换的方法、装置和系统
CN112492631B (zh) 切换方法和设备
US20180368042A1 (en) Mobility management method, apparatus, and system
WO2021018073A1 (zh) 传输数据的方法、通信装置和通信系统
CN114731723A (zh) 一种通信方法及装置
WO2019076308A1 (zh) 终端设备的状态的确定方法、装置及设备
WO2013170673A1 (zh) 一种接入方法、基站、接入点和用户设备
CN105379405B (zh) 通信资源管理方法、用户设备、基站和系统
CN113661734B (zh) 用于优化系统间切换的方法和装置
TW201836382A (zh) 通信方法、輔網絡節點和終端
CN107005904B (zh) 一种用户设备切换方法和装置
WO2018006359A1 (zh) 一种本地网关之间建立隧道的方法及网关
CN110087269B (zh) 用户设备接入网络的方法和接入设备
WO2022205252A1 (zh) 发送和接收信号的方法、装置和通信系统
CN103477675B (zh) 获取网络节点相邻关系的方法、装置和网络设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15908546

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2018525607

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2015908546

Country of ref document: EP