WO2010102561A1 - Data local exchange method, device and system thereof - Google Patents

Data local exchange method, device and system thereof Download PDF

Info

Publication number
WO2010102561A1
WO2010102561A1 PCT/CN2010/070949 CN2010070949W WO2010102561A1 WO 2010102561 A1 WO2010102561 A1 WO 2010102561A1 CN 2010070949 W CN2010070949 W CN 2010070949W WO 2010102561 A1 WO2010102561 A1 WO 2010102561A1
Authority
WO
WIPO (PCT)
Prior art keywords
bearer
receiving end
address information
requesting
port number
Prior art date
Application number
PCT/CN2010/070949
Other languages
French (fr)
Chinese (zh)
Inventor
李铮铮
阳建军
刘孟红
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010102561A1 publication Critical patent/WO2010102561A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present invention relates to the field of communications, and in particular, to a data local exchange method, apparatus, and system.
  • the base station parses each uplink data packet to obtain a source IP (Internet Protocol Internet Protocol) address, a destination IP address, and a service type of each data packet, and then the base station determines the service according to the service type. Whether the local exchange is supported, and whether the two terminals are under the base station according to the source IP address and the destination IP address, if the two judgments meet the requirements of the local exchange, the base station performs local exchange.
  • a source IP Internet Protocol Internet Protocol
  • the base station when receiving the uplink data, the base station must determine whether the transmitting end and the receiving end of the data are under the base station by detecting the IP address corresponding to the uplink data. Therefore, the base station needs to parse each uplink data packet. At the same time, it is also necessary to determine whether the service type corresponding to the data supports local exchange, thereby increasing the workload of the base station, and the effectiveness is not high.
  • a technical problem to be solved by embodiments of the present invention is to provide a data local exchange method, apparatus, and system.
  • a data local exchange method including: the network side acquires the first address information in the process of establishing a bearer with the requesting end, and acquires the second in the process of establishing the bearer with the receiving end. Address information; when the first address information and the second address information In the same case, the requesting end and the receiving end are bound, and the data exchanged on the binding requesting end or the receiving end performs local exchange.
  • a base station device including:
  • the information receiving unit is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and the second address information is obtained.
  • the network-side mobility management entity MME acquires the bearer process with the receiving end;
  • the binding unit is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same; Perform local exchange on the data sent by the requesting or receiving end bound by the binding unit on the bearer.
  • a gateway device including:
  • a first information receiving unit configured to receive first address information and second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and second The address information is obtained by the network-side mobility management entity MME in the process of establishing a bearer with the receiving end;
  • the first binding unit is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same;
  • An execution unit configured to perform local exchange on the data sent by the requesting end or the receiving end bound by the first binding unit on the bearer.
  • a data local exchange system including a communication terminal, and further comprising: a base station, configured to receive first address information and second address information sent by a network side mobility management entity MME, where the first address information is received by the network
  • the MME is obtained in the process of establishing a bearer with the requesting end, and the second address information is obtained by the network-side mobile management entity MME in establishing a bearer with the receiving end; when the first address information is the same as the second address information, The requesting end and the receiving end are bound; performing local exchange on the data sent by the binding requesting end or the receiving end on the bearer.
  • a data local switching system including a terminal of the communication terminal, and further comprising: a base station, configured to send information of the requesting end or the receiving end to the gateway, and send the information of the gateway to the requesting end or the receiving end; And receiving the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and the second address information is moved by the network side.
  • the management entity MME acquires the bearer process with the receiving end; when the first address information is the same as the second address information, the requesting end and the receiving end are bound; and the binding requesting end or the receiving end performs the data sent on the bearer.
  • a data local exchange system including a terminal of the communication terminal, and further comprising: a base station, configured to acquire first address information and second address information, where the first address information is a base station establishing a bearer with the requesting end The requesting end IP address, the requesting port number, the receiving end IP address, and the receiving port number obtained from the non-access stratum message, and the second address information is that the base station establishes a bearer process with the receiving end, and the non-access stratum The receiving end IP address, the receiving port number, the requesting end IP address, and the requesting port number obtained in the message; when the first address information is the same as the second address information, binding the requesting end and the receiving end; The requesting or receiving end performs local switching on the data sent on the bearer.
  • the base station determines the first and second address information sent by the network side, where the first address information and the second address information both include the IP address and the port number of the requesting end and the receiving end;
  • the first and second address information are the same, indicating that the requesting end and the receiving end can perform local switching, and the base station binds the requesting end and the receiving end, and when the base station receives the bound requesting end or the receiving end sends the binding on the binding bearer.
  • the local exchange is performed when the data is used, so that the base station does not need to parse each uplink data packet, reduce the number of times the base station performs local exchange matching on the uplink data packet, and improves the effectiveness, thereby reducing the workload of the base station.
  • FIG. 2 is a flowchart of Embodiment 1 of a data local exchange method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of Embodiment 2 of a data local exchange method according to an embodiment of the present invention
  • FIG. 5 is a flowchart of Embodiment 4 of a data local exchange method according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a fourth embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of an embodiment of a gateway device according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an embodiment of a data local switching system according to an embodiment of the present invention.
  • Embodiments of the present invention provide a data local exchange method, apparatus, and system.
  • the prior art analyzes each uplink data packet by using a base station, obtains a source IP address, a destination IP address, and a service type of the data packet, and sends the data packet according to the parsing.
  • the source IP address and the destination IP address of the data packet are used to determine whether the two terminals are under the base station, and determine whether the service type of the data packet supports local exchange; if both terminals are in the same base station, and between them
  • the service type supports local switching, and the base station performs local switching.
  • FIG. 2 is a flowchart of Embodiment 1 of a data local exchange method according to the present invention, including: Step 201: A network side acquires first address information, and obtains the first address information in a bearer process with a requesting end. Sending to the base station or the gateway to which the requesting end belongs; and, in the process of establishing a bearer with the receiving end, acquiring the second address information, and transmitting the second address information to the base station or gateway to which the receiving end belongs;
  • the address information may be an IP address and a port number of the requesting end and the receiving end.
  • the network side device mobility management entity MME establishes a bearer with the requesting end, and the network side device mobility management entity MME establishes a bearer relationship with the requesting end, if the service on the requesting end or the receiving end carries the local switching.
  • the obtaining the first address information includes: when the base station or the gateway of the access network device establishes a bearer with the requesting end, acquiring the requesting end IP address, the requesting port number, and the receiving end IP address from the non-access stratum message, The receiving port number; obtaining the second address information includes: the access network device base station or the gateway acquires the requesting end IP address, the requesting port number, and the receiving end IP address from the non-access stratum message during the establishment of the bearer with the receiving end , the receiving port number.
  • Step 202 When the first address information and the second address information are the same, the requesting end and the receiving end End binding
  • the IP address and port number of the requesting end, the IP address and port number of the receiving end, the bearer ID (identity identifier) of the requesting end, and the bearer ID of the receiving end are bound; the bearer ID of the requesting end is bound to the bearer ID of the receiving end, and the request is
  • the port bearer ID is the port number on the IP address of the requesting end and the bearer ID established by the corresponding service on the port number.
  • the bearer ID of the receiving end is the port number on the IP address of the receiving end and the bearer ID established by the corresponding service on the port number.
  • the base station or the gateway on the network side forwards the uplink data packet on the bearer of the requesting end directly on the bearer of the receiving end;
  • the base station or the gateway of the network side forwards the uplink data packet on the bearer of the receiving end directly on the bearer of the requesting end.
  • Step 203 Perform local exchange on the data sent by the bound requesting end or the receiving end on the binding bearer.
  • the base station or the gateway on the network side parses the uplink data packet on the bearer of the requesting end, and obtains the IP address of the receiving end of the data packet, the port number of the receiving end, and the corresponding receiving. After the bearer carries the ID, the uplink data packet is forwarded on the bearer of the receiving end;
  • the base station or the gateway on the network side parses the uplink data packet on the bearer of the receiving end, and obtains the IP address of the requesting end, the port number of the requesting end, and the corresponding request of the data packet. After the bearer carries the ID, the uplink data packet is forwarded on the requesting end bearer.
  • the operation of acquiring the first and second address information may be performed by the network side device mobility management entity MME, the base station, or the gateway, where the address information may include an IP address and a port number of the requesting end and the receiving end, if The first address information received by the base station or the gateway is the same as the second address information, and the requesting end and the receiving end belong to the same base station or gateway, and after the requesting end and the receiving end are bound, the requesting end or the receiving end sends the bearer on the bearer.
  • the data performs local exchange, so that the base station does not need to parse each uplink data packet to obtain address information contained in the data packet, which reduces the number of times the base station matches the local exchange of the data packet, improves the effectiveness, and reduces the work of the base station. the amount.
  • the operation of obtaining the address information is performed by the network side device mobility management entity MME, and the local exchange is performed by the base station, including:
  • Step 301 The network side device mobility management entity obtains address information in the process of establishing a bearer with the requesting end.
  • the obtained address information may specifically be a requesting end IP address, a requesting port number, and a receiving end IP.
  • the address, the receiving port number, and the obtained address information is sent to the base station to which the requesting end belongs.
  • the method further includes a step 3011 of the MME pre-processing; in step 3011, the MME queries the core network whether the service on the bearer supports the local exchange, and if the service on the bearer can support the local exchange, the MME is The IP address and port number of the requesting end are obtained during the bearer establishment process, and the IP address and port number of the receiving end are obtained.
  • the IP address and port number of the receiving end obtained here may be multiple.
  • Step 302 The base station determines whether to perform local exchange.
  • the MME sends the obtained IP address and port number of the requesting end, and the IP address and port number of the receiving end to the base station to which the requesting end belongs.
  • the base station saves the address information, and when the base station receives the receiving end IP address and port number sent by the MME again. And the IP address and the port number information of the requesting end, the base station determines whether the newly received IP address and the port number have been saved, and if it has been saved, the terminal of the communication terminal accesses the same base station, and supports local exchange, if not If the local exchange is supported, the communication service is forwarded through the core network according to the prior art, and the specific process is not described here.
  • the information sent by the MME received by the eNB is obtained in the process of establishing a bearer between the MME and the receiving end.
  • the receiving end communicates with the requesting end, the requesting end and the receiving end are in the same base station. Then, the information received by the base station is the same as the information obtained by the MME in step 301 to be sent to the base station.
  • the receiving end does not communicate with the requesting end, but the receiving end is in the same base station as the requesting end, the base station receives the same again. The information is different from the information obtained by the MME in step 301 and sent to the base station;
  • Step 303 The base station binds the terminal of the communication terminal that supports the local exchange
  • the following parameters are bound (requesting end IP address and port number, receiving end IP address and port number, requesting end bearer ID, receiving end carrying ID), usually one terminal corresponds to one IP address, one terminal There may be multiple port numbers, each port number corresponding to one service, and each terminal may establish multiple bearers according to service requirements, each bearer having a unique bearer ID; therefore, when binding the communication terminal, the requester end
  • the IP address and port number and the bearer ID established by the corresponding service on the port number are bound to the IP address and port number of the receiving end and the bearer ID established by the corresponding service on the port number.
  • the forwarding address of the service on the bearer ID of the requesting end may be set as the receiving end IP address and the receiving port number; and the forwarding address of the service on the receiving end bearer ID is set as the requesting end IP address and the requesting port number.
  • the bearer ID to be bound may be a radio bearer ID between the terminal and the base station. Because the service forwarding address on a certain bearer of the requesting end can be more Each receiving end has its own IP address and port number, so a bearer ID of the requesting end may be bound to the bearer ID of multiple receiving ends.
  • Step 304 The base station performs local exchange.
  • the requesting end sends the data packet to the base station by using the bearer ID of the requesting end, and the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the requesting end with the binding information, if the requesting end carries the ID only A receiving end carries an ID binding, and the base station directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the base station parses the received data packet, and obtains The destination IP address and port number of the data packet, the destination IP address and the port number of the obtained packet are used to determine the forwarding address of the data packet (ie, the receiving end bearer ID) and forwarded to the corresponding receiving end.
  • step 304 if the receiving end sends the data packet to the base station by using the bearer ID of the receiving end, the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the receiving end with the binding information, if The bearer ID of the receiving end is only bound to one bearer ID of the requesting end, and the base station directly forwards the data packet to the requesting end on the bearer of the requesting end.
  • the base station or the gateway parses the uplink data packet on the bearer of the receiving end, and obtains the IP address of the requesting end, the port number of the requesting end, and the corresponding requesting end bearer ID of the data packet. Forwarding the upstream data packet on the requesting side bearer.
  • the process includes the process of establishing a bearer between the terminal of the communication terminal and the MME.
  • the base station After receiving the bearer request sent by the MME, the base station establishes a radio bearer with the requesting end, and the requesting end responds to the setup bearer request, and the base station carries the bearer.
  • the establishment response information is sent to the MME, and the bearer establishment of the requesting end is completed.
  • the MME sends a bearer request to the base station to which the receiving end belongs, and the base station establishes a radio bearer with the receiving end, and the receiving end responds to the setup bearer request, and the base station sends the bearer setup response information to the MME, and the bearer establishment of the receiving end is completed.
  • the MME completes the work of obtaining the address information and sends it to the base station. In this way, the base station only needs to match the received address information to determine whether the communication terminal can perform local exchange, thereby reducing the workload of the base station; the MME establishes with the communication terminal.
  • the address information is obtained in the process of bearer, instead of blindly detecting all uplink data packets, which improves the effectiveness of local exchange matching.
  • the base station determines whether the communication terminal supports the local exchange. If the communication terminal supports local exchange, the base station performs binding on the communication terminal and performs local exchange; the communication terminal can also access the same gateway.
  • an embodiment of the method of the invention given below The third embodiment is directed to the local exchange of services between different terminals in the same gateway. As shown in FIG. 4, the embodiment specifically includes:
  • Step 401 The network side device mobility management entity obtains the address information of the requesting end and the receiving end in the process of establishing a bearer with the requesting end, and sends the obtained address information to the gateway to which the requesting end belongs;
  • the address information may include an IP address of the requesting end, a requesting port number, a receiving end IP address, and a receiving end port number.
  • the gateway sends a bearer request to the base station to which the requesting end belongs, and then the base station forwards the establishing radio bearer request to the requesting end.
  • the requesting end responds to the establishment of the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information to the MME, and the bearer of the requesting end is established.
  • the gateway sends a bearer request to the receiving end.
  • the base station forwards the radio bearer request to the receiving end, and the receiving end responds to the establishing the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information to the MME, and the bearer of the receiving end is established. carry out.
  • the method further includes: Step 4011: MME pre-processing; specifically, the MME queries the core network whether the service on the bearer supports local exchange, and if the service on the bearer can support local exchange, the MME is in the bearer establishment process.
  • MME pre-processing specifically, the MME queries the core network whether the service on the bearer supports local exchange, and if the service on the bearer can support local exchange, the MME is in the bearer establishment process.
  • Obtain the address information of the requesting end and the receiving end, including the IP address and port number of the requesting end, the IP address and port number of the receiving end, and the IP address and port number of the receiving end obtained here may be multiple.
  • Step 402 The gateway determines whether local switching can be performed.
  • the gateway After the MME sends the obtained address information of the requesting end to the gateway to which the requesting end belongs, the gateway saves the address information.
  • the address information includes the receiving end IP address and the port. The number and the IP address and port number of the requesting end. The gateway determines whether the newly received IP address and port number have been saved. If it has been saved, the terminal of the communication terminal accesses the same gateway, that is, supports local switching, if local switching is not supported. Then, the communication service is forwarded through the core network according to the prior art, and the specific process is not described again.
  • the gateway binds the terminal of the communication terminal that supports the local exchange; specifically, the IP address and port number of the requesting end are bound to the IP address and port number of the receiving end, and the bearer ID of the requesting end is bound to the bearer ID of the receiving end.
  • the bearer ID of the binding refers to the bearer ID between the base station and the gateway. Since a certain bearer of the requesting end may initiate a service to multiple receiving ends, a bearer ID of the requesting end may be bound to a bearer ID of multiple receiving ends.
  • the gateway performs local exchange.
  • the requesting end sends the uplink data packet to the gateway by using the bearer ID of the requesting end.
  • the gateway After receiving the uplink data packet, the gateway identifies that the data packet is sent on the bearer ID of the binding, and the gateway matches the bearer ID of the requesting end with the binding information.
  • the gateway directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the gateway parses The received data packet obtains the destination IP address and port number of the data packet, and determines the forwarding address of the data packet by using the obtained destination IP address and port number, that is, the receiving end carries the ID, and forwards it to the corresponding receiving end.
  • the MME completes the work of acquiring the address information and sends the information to the gateway, and the gateway determines whether the communication terminal can perform the local exchange, and the gateway performs the address exchange, thereby greatly reducing the workload of the base station. .
  • the gateway determines whether the communication terminal supports the local exchange, and the gateway binds the two terminals to each other and performs local exchange.
  • the function of the gateway may be a function of forwarding.
  • Step 501 The network side device mobility management entity MME obtains the address information of the requesting end and the receiving end in the process of establishing a bearer with the requesting end, and sends the obtained address information to the base station to which the requesting end belongs;
  • the address information includes a requesting end IP address, a requesting port number, a receiving end IP address, and a receiving end port number.
  • the MME sends a bearer setup request to the gateway, and the gateway forwards the bearer request to the base station to which the requesting end belongs, and then the base station establishes a wireless.
  • the bearer request is forwarded to the requesting end, and the requesting end responds to the establishing the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information to the MME, and the bearer of the requesting end is established. Similarly, the gateway will be established.
  • the bearer request is sent to the base station to which the receiving end belongs, and the base station sends a radio bearer request to the receiving end, and the receiving end responds to the establishing the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information.
  • the bearer establishment of the receiving end is completed.
  • the method further includes a step 5011 of the MME pre-processing, and the MME queries the core network whether the service on the bearer supports the local exchange. If the service on the bearer can support the local exchange, the MME obtains the request in the bearer establishment process.
  • the address information of the terminal and the receiving end the address information includes the IP address and port number of the requesting end, and the IP address and port number of the receiving end. There may be multiple IP addresses and port numbers of the receiving end obtained here.
  • Step 502 The base station determines whether to perform local exchange.
  • the gateway forwards the received address information to the base station to which the requesting end belongs, and the base station saves the address information, and the base station receives the gateway information again.
  • the address information includes the terminal IP address and port number and the IP address and port number of the communication peer
  • the base station determines whether the newly received address information has been saved. If it has been saved, the terminal of the communication terminal accesses the same base station, that is, The local exchange is supported. If the local exchange is not supported, the communication service is forwarded through the core network according to the existing technology. The specific process is not described here.
  • Step 503 The base station binds the determined communication terminal that supports the local exchange; specifically, binding the IP address and port number of the requesting end to the IP address and port number of the receiving end, and binding the bearer ID of the requesting end to the bearer ID of the receiving end.
  • the bearer ID of the binding refers to the radio bearer ID between the terminal and the base station.
  • a bearer ID of a requesting end may be bound to a bearer ID of multiple receiving ends because a certain bearer on the requesting end may initiate a service to multiple receiving ends.
  • Step 504 The base station performs local exchange.
  • the requesting end sends the data packet to the base station by using the bearer ID of the requesting end, and the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the requesting end with the binding information, if the requesting end carries the ID only A receiving end carries an ID binding, and the base station directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the base station parses the received data packet, and obtains The destination IP address and port number of the data packet are determined by obtaining the destination IP address and port number in the address information, and determining the forwarding address of the data packet (that is, the receiving end bearer ID) and forwarding it to the corresponding receiving end.
  • the MME completes the work of obtaining the address information and sends the information to the base station.
  • the base station only needs to match the received address information to determine whether the communication terminal can perform local exchange, thereby reducing the workload of the base station.
  • the MME obtains the address information in the process of establishing the bearer with the communication terminal, instead of blindly detecting all the uplink data packets, thereby improving the effectiveness of the local exchange matching.
  • the MME obtains the address information of the terminal of the communication terminal, and may acquire the address information of the terminal of the communication terminal without using the MME, but identify and acquire the address information of the terminal of the communication terminal by the base station or the gateway itself, at this time, the base station or The gateway has the function of identifying the non-access stratum message in the S1AP (S1 Application Protocol) message, and the following base station obtains the terminal address of both the transit terminals.
  • S1AP S1 Application Protocol
  • the terminal of the communication terminal is added.
  • the base station After receiving the bearer request for the requesting end, the base station identifies and obtains the address information in the request information, where the address information includes the requesting end IP address, the requesting port number, the receiving end IP address, the receiving port number, and the base station. Save the obtained address information.
  • the base station sends a radio bearer request to the requesting end, and the requesting end responds to the establishment of the radio bearer request, and the base station sends the bearer setup response information to the MME, and the bearer of the requesting end is established.
  • the base station sends a radio bearer request to the receiving end. The receiving end responds to the establishment of the radio bearer request, and the base station sends the bearer setup response information to the MME, and the 7-carrier establishment of the receiving end is completed.
  • the base station obtains the IP address of the receiving end, the port number of the receiving end, the IP address of the requesting end, and the port number of the requesting end. The base station determines whether the obtained address information has been saved. If it has been saved, the two parties indicate that the communicating party The terminal accesses the same base station, that is, supports local exchange.
  • the base station binds the terminal of the communication terminal that supports the local exchange, and specifically binds the IP address and port number of the requesting end to the IP address and port number of the receiving end, and binds the bearer ID of the requesting end to the bearer ID of the receiving end, where the binding is performed.
  • the fixed bearer ID refers to the radio bearer ID between the terminal and the base station.
  • a bearer ID of a requesting end may be bound to a bearer ID of multiple receiving ends because a certain bearer on the requesting end may initiate a service to multiple receiving ends.
  • the base station performs local switching.
  • the requesting end sends the data packet to the base station by using the bearer ID of the requesting end, and the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the requesting end with the binding information, if the requesting end carries the ID only A receiving end carries an ID binding, and the base station directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the base station parses the received data packet, and obtains The destination IP address and port number of the data packet, the destination IP address and the port number of the obtained packet are used to determine the forwarding address of the data packet (ie, the receiving end bearer ID) and forwarded to the corresponding receiving end.
  • the specific implementation manner in which the gateway obtains the terminal address information of the two parties and performs local exchange is the same as the embodiment in which the base station obtains the terminal address information of the two parties and performs local exchange, and the base station or the gateway identifies the non-access stratum message in the S1AP message to obtain the address information.
  • the base station or the gateway does not need to detect each uplink data packet blindly, which improves the effectiveness of the local exchange matching.
  • the present invention also provides an embodiment of a base station device.
  • the method includes: The information receiving unit 601 is configured to receive the first address information and the second address information sent by the network side mobility management entity MME.
  • the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and the second address is obtained.
  • the information is obtained by the network-side mobility management entity MME in establishing a bearer process with the receiving end;
  • the binding unit 602 is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same;
  • the executing unit 603 is configured to perform local exchange on the data sent by the binding requesting end or the receiving end on the binding bearer.
  • the base station device by using the address information sent by the MME obtained by the information receiving unit 601, it is determined whether the communication terminal supports local exchange to determine whether to perform local exchange with the communication terminals. This can reduce the base station blindly detecting the above data packet and reduce the workload of the base station.
  • the present invention provides an embodiment of a gateway device, see FIG. 7, including:
  • the first information receiving unit 701 is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, The second address information is obtained by the network side mobility management entity MME in establishing a bearer process with the receiving end;
  • the first binding unit 702 is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same;
  • the first executing unit 703 is configured to perform local exchange on the data sent by the bound requesting end or the receiving end on the binding bearer.
  • the gateway device in this embodiment determines whether the communication terminal supports local exchange by using the address information sent by the MME obtained by the first information receiving unit 701 to determine whether to perform local exchange on the communication terminal.
  • the work of obtaining the address information is completed by the MME, and it is judged whether the communication dual-party terminal supports the local exchange, and the work of performing local exchange on the communication terminal terminals is completed by the gateway, which can reduce the workload of the base station.
  • the present invention also provides an embodiment of a data local switching system, including a terminal of both communication terminals, and further comprising:
  • the base station is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is established by the network side mobility management entity MME on the requesting end Obtaining, the second address information is obtained by the network side mobility management entity MME in establishing a bearer process with the receiving end; when the first address information is the same as the second address information, binding the requesting end and the receiving end; The requester or the receiver performs local exchange on the data sent on the binding bearer.
  • the address information sent by the MME obtained by the base station is used to determine whether the communication terminal supports the local exchange to determine whether to perform local exchange on the communication terminal. This can reduce the base station blindly detecting the above data packet and reduce the workload of the base station.
  • the work performed by the base station can be performed by the gateway. Referring to another embodiment shown in FIG. 8, different embodiments are provided.
  • the local switching system including the communication terminal 800, further includes:
  • the base station 801 is configured to send information of the requesting end or the receiving end to the gateway, and send the information of the gateway to the requesting end or the receiving end;
  • the gateway 802 is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, where the second address information is obtained by The network-side mobility management entity MME acquires the bearer process when the bearer is established with the receiving end.
  • the requesting end and the receiving end are bound; the bound requesting end or the receiving end is in the binding bearer.
  • the data sent on is performed locally.
  • the address information sent by the MME obtained by the gateway is used by the gateway to determine whether the communication terminal supports local exchange to determine whether to perform local exchange on the communication terminal terminals.
  • the operation of obtaining the address information is completed by the MME, and it is determined whether the terminals of the communication terminals are Supporting local switching, and performing local switching on terminals of both communicating parties is done by the gateway, which can reduce the workload of the base station.
  • the base station having the function of identifying the non-access stratum message in the S1AP (S1 Application Protocol) message may be used, and the data local exchange system implemented by the base station having the S1 AP identification includes: Also includes:
  • the base station is configured to obtain the first address information and the second address information, where the first address information is a requesting end IP address, a requesting port number, and a receiving end obtained by the base station from the non-access stratum message during the bearer establishment process with the requesting end
  • the IP address of the terminal, the port number of the receiving port, and the second address information are the IP address of the receiving end, the port number of the receiving end, the IP address of the receiving end, and the requesting end obtained by the base station in the process of establishing the bearer with the receiving end.
  • Port number when the first address information is the same as the second address information, binding the requesting end and the receiving end; performing local switching on the data sent by the binding requesting end or the receiving end on the binding bearer.
  • the beneficial effect of this embodiment is that the base station or the gateway in the system does not need to be used for each uplink. Packets are blindly detected, improving the effectiveness of local exchange matching.
  • a data local switching device including:
  • the module that binds the requesting end and the receiving end, and the data that is sent by the requesting end or the receiving end to the opposite end are And the module that performs the local exchange on the bearer established by the requesting end and the bearer established by the receiving end.
  • the module for obtaining the first address information in the process of establishing a bearer with the requesting end including:
  • the module for acquiring the second address information in the process of establishing a bearer with the receiving end including:
  • the second address information is obtained by the MME in the process of establishing a bearer with the receiving end.
  • the module for binding the requesting end to the receiving end when the first address information is the same as the second address information includes:
  • a unit for binding an IP address of the requesting end to an IP address of the receiving end a unit for binding a port number of the requesting end with a port number of the receiving end; And a unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end.
  • the device also includes:
  • the unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the bearer corresponding to the service is established on the port number of the receiving end. Transmitting, by the port number of the requesting end, a module of an uplink data packet on a bearer established by the service; or
  • the unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end When the bearer ID of the bearer established by the corresponding service on the port number of the receiving end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the bearer corresponding to the service is established on the port number of the requesting end.
  • the unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the corresponding service established on the port number of the requesting end is parsed.
  • the port at the receiving end After receiving the uplink data packet, obtaining the IP address of the receiving end of the uplink data packet, the port number of the receiving end, and the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the port at the receiving end a module that forwards the uplink data packet on a bearer established by the corresponding service; or
  • the bearer ID of the bearer corresponding to the service established on the port number of the requesting end is bound, the uplink data packet on the bearer established by the corresponding service on the port number of the receiving end is parsed, and the IP address of the requesting end of the uplink data packet is obtained.
  • the module After the address, the port number of the requesting end, and the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the module that forwards the uplink data packet on the bearer established by the corresponding service on the port number of the requesting end .
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

The embodiments of the present invention provide a data local exchange method which includes: the network side obtains a first address information during the bearer establishment process with a request terminal, and obtains a second address information during the bearer establishment process with a receiving terminal; when the first address information is the same as the second address information, the request terminal and the receiving terminal are bound, and the data are locally exchanged, which are sent by the bound request terminal or receiving terminal on bearers. By using the embodiments of the present invention, without the base station analysis of the every uplink data packet, the local exchange match times of the base station for the uplink data packets are reduced, the efficiency is improved, and therefore the workload of the base station is reduced.

Description

一种数据本地交换方法、 装置和*** 本申请要求了 2009年 03月 10日提交的, 申请号为 200910127036. 5,发 明名称为 "一种数据本地交换方法、 装置和***" 的中国申请的优先权, 其 全部内容通过引用结合在本申请中。 技术领域  The present invention claims the priority of the Chinese application filed on March 10, 2009, the application number is 200910127036. 5, the invention name is "a data local exchange method, device and system" The entire contents of which are incorporated herein by reference. Technical field
本发明涉及通讯领域, 尤其涉及一种数据本地交换方法、 装置和***。  The present invention relates to the field of communications, and in particular, to a data local exchange method, apparatus, and system.
背景技术 Background technique
随着通讯技术的发展, 人们越来越多的使用通信网络进行信息的交换。 通常的通信业务的交换都要经过核心网来完成, 若通信双方终端处于同一个 基站下, 业务数据仍经由核心网转发, 不仅浪费传输成本, 还带来不必要的 延时, 因此提出了本地交换技术。  With the development of communication technologies, people are increasingly using communication networks for information exchange. The exchange of the usual communication services is performed through the core network. If the terminals of the communication terminals are under the same base station, the service data is still forwarded through the core network, which not only wastes transmission costs but also introduces unnecessary delays. Exchange technology.
现有的本地交换技术中, 基站对每个上行数据包都进行解析, 得到每个 数据包的源 IP ( Internet Protocol 互联网协议 )地址、 目的 IP地址和业务类型, 然后基站根据业务类型判断该业务是否支持本地交换, 并根据源 IP地址和目 的 IP地址判断双方终端是否在本基站下, 如果两次判断都符合本地交换的要 求, 则基站执行本地交换。  In the existing local switching technology, the base station parses each uplink data packet to obtain a source IP (Internet Protocol Internet Protocol) address, a destination IP address, and a service type of each data packet, and then the base station determines the service according to the service type. Whether the local exchange is supported, and whether the two terminals are under the base station according to the source IP address and the destination IP address, if the two judgments meet the requirements of the local exchange, the base station performs local exchange.
现有本地交换技术中, 基站收到上行数据时, 必须通过检测该上行数据 对应的 IP地址判断该数据的发送端与接收端是否处于该基站下, 因此, 基站 需要对每个上行数据包解析, 同时, 还要判断该数据对应的业务类型是否支 持本地交换, 由此增大了基站的工作量, 有效性不高。  In the existing local switching technology, when receiving the uplink data, the base station must determine whether the transmitting end and the receiving end of the data are under the base station by detecting the IP address corresponding to the uplink data. Therefore, the base station needs to parse each uplink data packet. At the same time, it is also necessary to determine whether the service type corresponding to the data supports local exchange, thereby increasing the workload of the base station, and the effectiveness is not high.
发明内容 Summary of the invention
本发明实施例要解决的技术问题是提供一种数据本地交换方法、 装置和 ***。  A technical problem to be solved by embodiments of the present invention is to provide a data local exchange method, apparatus, and system.
为了解决上述问题, 一方面, 提供了一种数据本地交换方法, 包括: 网络侧在同请求端建立承载过程中, 获取第一地址信息, 以及, 在同接 收端建立承载过程中, 获取第二地址信息; 当第一地址信息与第二地址信息 相同时, 将请求端和接收端绑定, 对绑定的请求端或接收端在^载上发送的 数据执行本地交换。 In order to solve the above problem, on the one hand, a data local exchange method is provided, including: the network side acquires the first address information in the process of establishing a bearer with the requesting end, and acquires the second in the process of establishing the bearer with the receiving end. Address information; when the first address information and the second address information In the same case, the requesting end and the receiving end are bound, and the data exchanged on the binding requesting end or the receiving end performs local exchange.
另一方面, 还提供了一种基站设备, 包括:  In another aspect, a base station device is provided, including:
信息接收单元,用于接收网络侧移动管理实体 MME发送的第一地址信息 和第二地址信息,第一地址信息由网络侧移动管理实体 MME在同请求端建立 承载过程中获取,第二地址信息由网络侧移动管理实体 MME在同接收端建立 承载过程中获取; 绑定单元, 用于当第一地址信息与第二地址信息相同时, 将请求端和接收端绑定; 执行单元, 用于对绑定单元绑定的请求端或接收端 在承载上发送的数据执行本地交换。  The information receiving unit is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and the second address information is obtained. The network-side mobility management entity MME acquires the bearer process with the receiving end; the binding unit is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same; Perform local exchange on the data sent by the requesting or receiving end bound by the binding unit on the bearer.
再一方面, 还提供了一种网关设备, 包括:  In still another aspect, a gateway device is provided, including:
第一信息接收单元,用于接收网络侧移动管理实体 MME发送的第一地址 信息和第二地址信息,第一地址信息由网络侧移动管理实体 MME在同请求端 建立承载过程中获取,第二地址信息由网络侧移动管理实体 MME在同接收端 建立承载过程中获取; 第一绑定单元, 用于当第一地址信息与第二地址信息 相同时, 将请求端和接收端绑定; 第一执行单元, 用于对第一绑定单元绑定 的请求端或接收端在承载上发送的数据执行本地交换。  a first information receiving unit, configured to receive first address information and second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and second The address information is obtained by the network-side mobility management entity MME in the process of establishing a bearer with the receiving end; the first binding unit is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same; An execution unit, configured to perform local exchange on the data sent by the requesting end or the receiving end bound by the first binding unit on the bearer.
还一方面, 提供了一种数据本地交换***, 包括通信双方终端, 还包括: 基站,用于接收网络侧移动管理实体 MME发送的第一地址信息和第二地址信 息,第一地址信息由网络侧移动管理实体 MME在同请求端建立承载过程中获 取,第二地址信息由网络侧移动管理实体 MME在同接收端建立承载过程中获 取; 当第一地址信息与第二地址信息相同时, 将请求端和接收端绑定; 对绑 定的请求端或接收端在承载上发送的数据执行本地交换。  In another aspect, a data local exchange system is provided, including a communication terminal, and further comprising: a base station, configured to receive first address information and second address information sent by a network side mobility management entity MME, where the first address information is received by the network The MME is obtained in the process of establishing a bearer with the requesting end, and the second address information is obtained by the network-side mobile management entity MME in establishing a bearer with the receiving end; when the first address information is the same as the second address information, The requesting end and the receiving end are bound; performing local exchange on the data sent by the binding requesting end or the receiving end on the bearer.
又一方面, 提供了一种数据本地交换***, 包括通信双方终端, 还包括: 基站, 用于将请求端或接收端的信息发送给网关, 将网关的信息发送给 请求端或接收端; 网关,用于接收网络侧移动管理实体 MME发送的第一地址 信息和第二地址信息,第一地址信息由网络侧移动管理实体 MME在同请求端 建立承载过程中获取,第二地址信息由网络侧移动管理实体 MME在同接收端 建立承载过程中获取; 第一地址信息与第二地址信息相同时, 将请求端和接 收端绑定; 对绑定的请求端或接收端在承载上发送的数据执行本地交换。 又一方面, 提供了一种数据本地交换***, 包括通信双方终端, 还包括: 基站, 用于获取第一地址信息和第二地址信息, 第一地址信息为基站在 同请求端建立承载过程中, 从非接入层消息中获取的请求端 IP地址、 请求端 端口号和接收端 IP地址、 接收端端口号, 第二地址信息为基站在同接收端建 立承载过程中, 从非接入层消息中获取的接收端 IP地址、 接收端端口号和请 求端 IP地址、 请求端端口号; 当第一地址信息与第二地址信息相同时, 将请 求端和接收端绑定; 对绑定的请求端或接收端在承载上发送的数据执行本地 交换。 In another aspect, a data local switching system is provided, including a terminal of the communication terminal, and further comprising: a base station, configured to send information of the requesting end or the receiving end to the gateway, and send the information of the gateway to the requesting end or the receiving end; And receiving the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and the second address information is moved by the network side. The management entity MME acquires the bearer process with the receiving end; when the first address information is the same as the second address information, the requesting end and the receiving end are bound; and the binding requesting end or the receiving end performs the data sent on the bearer. Local exchange. In another aspect, a data local exchange system is provided, including a terminal of the communication terminal, and further comprising: a base station, configured to acquire first address information and second address information, where the first address information is a base station establishing a bearer with the requesting end The requesting end IP address, the requesting port number, the receiving end IP address, and the receiving port number obtained from the non-access stratum message, and the second address information is that the base station establishes a bearer process with the receiving end, and the non-access stratum The receiving end IP address, the receiving port number, the requesting end IP address, and the requesting port number obtained in the message; when the first address information is the same as the second address information, binding the requesting end and the receiving end; The requesting or receiving end performs local switching on the data sent on the bearer.
与现有技术相比, 本发明实施例中基站对网络侧发送的第一、 二地址信 息进行判断, 第一地址信息和第二地址信息都包括请求端和接收端的 IP地址 和端口号; 如果第一、 二地址信息相同, 则说明请求端和接收端可以进行本 地交换, 基站将请求端和接收端进行绑定, 当基站接收到绑定的请求端或接 收端在绑定承载上发送的数据时执行本地交换, 这样基站不需要对每一个上 行数据包都进行解析, 减少基站对上行数据包本地交换匹配的次数, 提高了 有效性, 从而降低了基站的工作量。 附图说明  Compared with the prior art, in the embodiment of the present invention, the base station determines the first and second address information sent by the network side, where the first address information and the second address information both include the IP address and the port number of the requesting end and the receiving end; The first and second address information are the same, indicating that the requesting end and the receiving end can perform local switching, and the base station binds the requesting end and the receiving end, and when the base station receives the bound requesting end or the receiving end sends the binding on the binding bearer. The local exchange is performed when the data is used, so that the base station does not need to parse each uplink data packet, reduce the number of times the base station performs local exchange matching on the uplink data packet, and improves the effectiveness, thereby reducing the workload of the base station. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单的介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为现有技术中数据本地交换的流程图;  1 is a flow chart of data local exchange in the prior art;
图 2为本发明实施例提供的一种数据本地交换方法的实施例一流程图; 图 3为本发明实施例提供的一种数据本地交换方法的实施例二流程图; 图 4为本发明实施例提供的一种数据本地交换方法的实施例三流程图; 图 5为本发明实施例提供的一种数据本地交换方法的实施例四流程图; 图 6为本发明实施例提供的一种基站设备实施例的结构示意图; 图 7为本发明实施例提供的一种网关设备实施例的结构示意图; 图 8为本发明实施例提供的一种数据本地交换***实施例的结构示意图。 具体实施方式 本发明实施例提供了一种数据本地交换方法、 装置和***。 下面将结合 本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施 例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前 提下所获得的所有其他实施例, 都属于本发明保护的范围。 FIG. 2 is a flowchart of Embodiment 1 of a data local exchange method according to an embodiment of the present invention; FIG. 3 is a flowchart of Embodiment 2 of a data local exchange method according to an embodiment of the present invention; FIG. 5 is a flowchart of Embodiment 4 of a data local exchange method according to an embodiment of the present invention; FIG. 6 is a flowchart of a fourth embodiment of the present invention; FIG. 7 is a schematic structural diagram of an embodiment of a gateway device according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram of an embodiment of a data local switching system according to an embodiment of the present invention. detailed description Embodiments of the present invention provide a data local exchange method, apparatus, and system. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图 1 所示, 执行本地交换的过程中, 现有技术是通过基站解析每个上 行数据包, 获得该数据包的源 IP地址、 目的 IP地址和业务类型, 根据解析得 到的发送该数据包的源 IP地址和接收该数据包的目的 IP地址来判断双方终端 是否在该基站下, 并判断该数据包的业务类型是否支持本地交换; 如果双方 终端在同一个基站下, 同时它们之间的业务类型支持本地交换, 则基站执行 本地交换。  As shown in FIG. 1 , in the process of performing local exchange, the prior art analyzes each uplink data packet by using a base station, obtains a source IP address, a destination IP address, and a service type of the data packet, and sends the data packet according to the parsing. The source IP address and the destination IP address of the data packet are used to determine whether the two terminals are under the base station, and determine whether the service type of the data packet supports local exchange; if both terminals are in the same base station, and between them The service type supports local switching, and the base station performs local switching.
图 2示出了本发明一种数据本地交换方法的实施例一的流程图, 包括: 步骤 201, 网络侧在同请求端建立承载过程中, 获取第一地址信息, 并将该第 一地址信息发送至请求端所属的基站或网关; 以及, 在同接收端建立承载过 程中, 获取第二地址信息, 并将该第二地址信息发送至接收端所属的基站或 网关;  FIG. 2 is a flowchart of Embodiment 1 of a data local exchange method according to the present invention, including: Step 201: A network side acquires first address information, and obtains the first address information in a bearer process with a requesting end. Sending to the base station or the gateway to which the requesting end belongs; and, in the process of establishing a bearer with the receiving end, acquiring the second address information, and transmitting the second address information to the base station or gateway to which the receiving end belongs;
在步骤 201中, 该地址信息可以为请求端和接收端的 IP地址和端口号。 其中, 若请求端或接收端承载上的业务支持本地交换, 网络侧设备移动 管理实体 MME同请求端建立承载,获取第一地址信息包括网络侧设备移动管 理实体 MME在同请求端建立承载过程中获取请求端 IP地址、 请求端端口号 和接收端 IP地址、 接收端端口号, 并将获取的地址信息发送至请求端所属的 基站或网关;获取第二地址信息包括, 网络侧设备移动管理实体 MME在同接 收端建立承载过程中获取接收端 IP地址、接收端端口号和请求端 IP地址、请 求端端口号, 并将获取的地址信息发送至接收端所属的基站或网关。  In step 201, the address information may be an IP address and a port number of the requesting end and the receiving end. The network side device mobility management entity MME establishes a bearer with the requesting end, and the network side device mobility management entity MME establishes a bearer relationship with the requesting end, if the service on the requesting end or the receiving end carries the local switching. Obtaining the requesting end IP address, the requesting port number, the receiving end IP address, and the receiving port number, and sending the obtained address information to the base station or gateway to which the requesting end belongs; obtaining the second address information includes: the network side device mobility management entity The MME obtains the receiving end IP address, the receiving port number, the requesting end IP address, and the requesting port number in the process of establishing the bearer with the receiving end, and sends the obtained address information to the base station or gateway to which the receiving end belongs.
步骤 201 中, 获取第一地址信息包括, 接入网设备基站或网关在同请求 端建立承载过程中, 从非接入层消息中获取请求端 IP地址、 请求端端口号和 接收端 IP地址、 接收端端口号; 获取第二地址信息包括, 接入网设备基站或 网关在同接收端建立承载过程中, 从非接入层消息中获取请求端 IP地址、 请 求端端口号和接收端 IP地址、 接收端端口号。  In step 201, the obtaining the first address information includes: when the base station or the gateway of the access network device establishes a bearer with the requesting end, acquiring the requesting end IP address, the requesting port number, and the receiving end IP address from the non-access stratum message, The receiving port number; obtaining the second address information includes: the access network device base station or the gateway acquires the requesting end IP address, the requesting port number, and the receiving end IP address from the non-access stratum message during the establishment of the bearer with the receiving end , the receiving port number.
步骤 202, 当该第一地址信息和该第二地址信息相同时,将请求端和接收 端绑定; Step 202: When the first address information and the second address information are the same, the requesting end and the receiving end End binding
具体包括将请求端 IP地址及端口号、接收端 IP地址及端口号、请求端承 载 ID ( Identity 身份标识)、 接收端承载 ID绑定; 即将请求端承载 ID同接收 端承载 ID绑定, 请求端承载 ID是请求端的 IP地址上的端口号以及该端口号 上对应业务所建立的承载 ID, 接收端承载 ID是接收端的 IP地址上的端口号 以及该端口号上对应业务所建立的承载 ID。  Specifically, the IP address and port number of the requesting end, the IP address and port number of the receiving end, the bearer ID (identity identifier) of the requesting end, and the bearer ID of the receiving end are bound; the bearer ID of the requesting end is bound to the bearer ID of the receiving end, and the request is The port bearer ID is the port number on the IP address of the requesting end and the bearer ID established by the corresponding service on the port number. The bearer ID of the receiving end is the port number on the IP address of the receiving end and the bearer ID established by the corresponding service on the port number. .
当请求端承载 ID与一个接收端承载 ID绑定时, 网络侧的基站或网关直 接在该接收端承载上转发请求端承载上的上行数据包;  When the bearer ID of the requesting end is bound to the bearer ID of the receiving end, the base station or the gateway on the network side forwards the uplink data packet on the bearer of the requesting end directly on the bearer of the receiving end;
或者当接收端承载 ID与一个请求端承载 ID绑定时, 网络侧的基站或网 关直接在该请求端承载上转发接收端承载上的上行数据包。  Or when the bearer ID of the receiving end is bound to a bearer ID of the requesting end, the base station or the gateway of the network side forwards the uplink data packet on the bearer of the receiving end directly on the bearer of the requesting end.
步骤 203,对绑定的请求端或接收端在绑定承载上发送的数据执行本地交 换。  Step 203: Perform local exchange on the data sent by the bound requesting end or the receiving end on the binding bearer.
当请求端承载 ID与多个接收端承载 ID绑定时, 网络侧的基站或网关解 析请求端承载上的上行数据包, 获得该数据包的接收端 IP地址、 接收端端口 号和对应的接收端承载 ID后, 在接收端承载上转发该上行数据包;  When the bearer ID of the requesting end is bound to the bearer ID of multiple receiving ends, the base station or the gateway on the network side parses the uplink data packet on the bearer of the requesting end, and obtains the IP address of the receiving end of the data packet, the port number of the receiving end, and the corresponding receiving. After the bearer carries the ID, the uplink data packet is forwarded on the bearer of the receiving end;
当接收端承载 ID与多个请求端承载 ID绑定时, 网络侧的基站或网关解 析接收端承载上的上行数据包, 获得该数据包的请求端 IP地址、 请求端端口 号和对应的请求端承载 ID后, 在请求端承载上转发该上行数据包。  When the bearer ID of the receiving end is bound to the bearer ID of multiple requesting ends, the base station or the gateway on the network side parses the uplink data packet on the bearer of the receiving end, and obtains the IP address of the requesting end, the port number of the requesting end, and the corresponding request of the data packet. After the bearer carries the ID, the uplink data packet is forwarded on the requesting end bearer.
在实施步骤 201 时, 获取该第一、 第二地址信息的工作可以由网络侧设 备移动管理实体 MME、基站或网关来完成, 该地址信息可以包括请求端和接 收端的 IP地址和端口号, 若基站或网关接收的第一地址信息与第二地址信息 相同, 则请求端和接收端属于同一个基站或网关, 将请求端和接收端绑定后, 对请求端或接收端在承载上发送的数据执行本地交换, 这样基站就不需要对 每个上行数据包进行解析来获得数据包包含的地址信息, 减少了基站对数据 包本地交换进行匹配的次数, 提高了有效性, 减少了基站的工作量。 图 3 示 出的本发明方法的具体实施例二中, 获取地址信息的工作由网络侧设备移动 管理实体 MME完成, 执行本地交换的工作由基站来完成, 包括:  When the step 201 is implemented, the operation of acquiring the first and second address information may be performed by the network side device mobility management entity MME, the base station, or the gateway, where the address information may include an IP address and a port number of the requesting end and the receiving end, if The first address information received by the base station or the gateway is the same as the second address information, and the requesting end and the receiving end belong to the same base station or gateway, and after the requesting end and the receiving end are bound, the requesting end or the receiving end sends the bearer on the bearer. The data performs local exchange, so that the base station does not need to parse each uplink data packet to obtain address information contained in the data packet, which reduces the number of times the base station matches the local exchange of the data packet, improves the effectiveness, and reduces the work of the base station. the amount. In the second embodiment of the method of the present invention, the operation of obtaining the address information is performed by the network side device mobility management entity MME, and the local exchange is performed by the base station, including:
步骤 301, 网络侧设备移动管理实体 MME在同请求端建立承载过程中获 取地址信息;  Step 301: The network side device mobility management entity obtains address information in the process of establishing a bearer with the requesting end.
该获取的地址信息具体可以是请求端 IP地址、请求端端口号和接收端 IP 地址、 接收端端口号, 并将获取的地址信息发送至请求端所属的基站。 The obtained address information may specifically be a requesting end IP address, a requesting port number, and a receiving end IP. The address, the receiving port number, and the obtained address information is sent to the base station to which the requesting end belongs.
在 MME同请求端建立承载之前, 还包括 MME预处理的步骤 3011 ; 步骤 3011 中, MME向核心网查询该承载上的业务是否支持本地交换, 若承载上的业务能支持本地交换, 则 MME在承载建立过程中获取请求端的 IP地址和端口号, 同时获取接收端的 IP地址和端口号, 这里获取的接收端的 IP地址和端口号可能有多个。  Before the MME establishes a bearer with the requesting end, the method further includes a step 3011 of the MME pre-processing; in step 3011, the MME queries the core network whether the service on the bearer supports the local exchange, and if the service on the bearer can support the local exchange, the MME is The IP address and port number of the requesting end are obtained during the bearer establishment process, and the IP address and port number of the receiving end are obtained. The IP address and port number of the receiving end obtained here may be multiple.
步骤 302, 基站判断是否执行本地交换;  Step 302: The base station determines whether to perform local exchange.
MME将获取的请求端的 IP地址和端口号, 以及接收端的 IP地址和端口 号发送给请求端所属的基站, 基站将这些地址信息保存, 当基站再次收到 MME发送的接收端 IP地址和端口号, 以及请求端的 IP地址和端口号信息, 基站判断新收到的 IP地址和端口号等信息是否已经保存, 如果已经保存, 则 说明通信双方终端接入同一个基站, 则支持本地交换, 如果不支持本地交换, 则按照现有技术中通过核心网转发通信业务, 具体流程不再赘述。  The MME sends the obtained IP address and port number of the requesting end, and the IP address and port number of the receiving end to the base station to which the requesting end belongs. The base station saves the address information, and when the base station receives the receiving end IP address and port number sent by the MME again. And the IP address and the port number information of the requesting end, the base station determines whether the newly received IP address and the port number have been saved, and if it has been saved, the terminal of the communication terminal accesses the same base station, and supports local exchange, if not If the local exchange is supported, the communication service is forwarded through the core network according to the prior art, and the specific process is not described here.
在实施步骤 302时,基站再次收到的 MME发送的信息是 MME同接收端 建立承载的过程中获取的, 当接收端是同上述请求端进行通信时, 并且请求 端和接收端在同一个基站下, 那么基站再次收到的信息同步骤 301 中 MME 获取并发给基站的信息相同; 当接收端不是同上述请求端进行通信, 但接收 端同请求端在同一个基站下, 那么基站再次收到的信息同步骤 301 中 MME 获取并发给基站的信息就不相同;  When the step 302 is performed, the information sent by the MME received by the eNB is obtained in the process of establishing a bearer between the MME and the receiving end. When the receiving end communicates with the requesting end, the requesting end and the receiving end are in the same base station. Then, the information received by the base station is the same as the information obtained by the MME in step 301 to be sent to the base station. When the receiving end does not communicate with the requesting end, but the receiving end is in the same base station as the requesting end, the base station receives the same again. The information is different from the information obtained by the MME in step 301 and sent to the base station;
步骤 303, 基站将支持本地交换的通信双方终端绑定;  Step 303: The base station binds the terminal of the communication terminal that supports the local exchange;
具体包括将下述的参数进行绑定(请求端 IP地址及端口号,接收端 IP地 址及端口号, 请求端承载 ID, 接收端承载 ID ), 通常情况下一个终端对应一 个 IP地址, 一个终端可以有多个端口号, 每个端口号对应一个业务, 而且每 个终端可以根据业务需求建立多个承载, 每个承载有唯一的承载 ID; 所以在 绑定通信终端的时候, 要将请求端的 IP地址和端口号以及该端口号上对应业 务所建立的承载 ID同接收端的 IP地址和端口号以及该端口号上对应业务所 建立的承载 ID对应绑定。 在具体设置时, 可以将请求端承载 ID上业务的转 发地址设为接收端 IP地址和接收端端口号; 将接收端承载 ID上业务的转发 地址设为请求端 IP地址和请求端端口号。 其中绑定的承载 ID可以是终端和 基站间的无线承载 ID。 由于请求端的某一个承载上的业务转发地址可以是多 个接收端各自的 IP地址和端口号, 因此请求端的一个承载 ID可能与多个接 收端的承载 ID绑定。 Specifically, the following parameters are bound (requesting end IP address and port number, receiving end IP address and port number, requesting end bearer ID, receiving end carrying ID), usually one terminal corresponds to one IP address, one terminal There may be multiple port numbers, each port number corresponding to one service, and each terminal may establish multiple bearers according to service requirements, each bearer having a unique bearer ID; therefore, when binding the communication terminal, the requester end The IP address and port number and the bearer ID established by the corresponding service on the port number are bound to the IP address and port number of the receiving end and the bearer ID established by the corresponding service on the port number. In a specific setting, the forwarding address of the service on the bearer ID of the requesting end may be set as the receiving end IP address and the receiving port number; and the forwarding address of the service on the receiving end bearer ID is set as the requesting end IP address and the requesting port number. The bearer ID to be bound may be a radio bearer ID between the terminal and the base station. Because the service forwarding address on a certain bearer of the requesting end can be more Each receiving end has its own IP address and port number, so a bearer ID of the requesting end may be bound to the bearer ID of multiple receiving ends.
步骤 304, 基站执行本地交换。  Step 304: The base station performs local exchange.
请求端通过请求端承载 ID将数据包发送给基站, 基站识别到该数据包是 来自绑定的承载 ID上的, 于是基站将请求端承载 ID同绑定信息匹配, 如果 请求端承载 ID只与一个接收端承载 ID绑定, 则基站直接在该接收端承载上 向接收端转发该数据包; 若请求端承载 ID与多个接收端承载 ID绑定, 则基 站解析收到的数据包, 获得该数据包的目的 IP地址及端口号, 通过获得的目 的 IP地址及端口号判断数据包的转发地址(即接收端承载 ID )并转发到对应 的接收端。  The requesting end sends the data packet to the base station by using the bearer ID of the requesting end, and the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the requesting end with the binding information, if the requesting end carries the ID only A receiving end carries an ID binding, and the base station directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the base station parses the received data packet, and obtains The destination IP address and port number of the data packet, the destination IP address and the port number of the obtained packet are used to determine the forwarding address of the data packet (ie, the receiving end bearer ID) and forwarded to the corresponding receiving end.
在执行步骤 304时,如果接收端通过接收端承载 ID将数据包发送给基站, 基站识别到该数据包是来自绑定的承载 ID上的, 基站将接收端承载 ID同绑 定信息匹配, 如果接收端承载 ID只与一个请求端承载 ID绑定, 则基站直接 在该请求端承载上向请求端转发该数据包。 当接收端承载 ID与多个请求端承 载 ID绑定时, 基站或网关解析接收端承载上的上行数据包, 得到该数据包的 请求端 IP地址、请求端端口号和对应的请求端承载 ID, 在请求端承载上转发 该上行数据包。  When performing step 304, if the receiving end sends the data packet to the base station by using the bearer ID of the receiving end, the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the receiving end with the binding information, if The bearer ID of the receiving end is only bound to one bearer ID of the requesting end, and the base station directly forwards the data packet to the requesting end on the bearer of the requesting end. When the bearer ID of the receiving end is bound to the bearer ID of multiple requesting ends, the base station or the gateway parses the uplink data packet on the bearer of the receiving end, and obtains the IP address of the requesting end, the port number of the requesting end, and the corresponding requesting end bearer ID of the data packet. Forwarding the upstream data packet on the requesting side bearer.
在上述具体方案实施的过程中,也包括有通信双方终端同 MME建立承载 的过程,基站收到 MME发送的建立承载请求后同请求端建立无线承载,请求 端响应该建立承载请求, 基站将承载建立响应信息发送给 MME, 请求端的承 载建立完成。 同样的, MME将建立承载请求发给接收端所属的基站, 该基站 同接收端建立无线承载, 接收端响应该建立承载请求, 基站将承载建立响应 信息发送给 MME, 接收端的承载建立完成。  In the process of implementing the foregoing specific solution, the process includes the process of establishing a bearer between the terminal of the communication terminal and the MME. After receiving the bearer request sent by the MME, the base station establishes a radio bearer with the requesting end, and the requesting end responds to the setup bearer request, and the base station carries the bearer. The establishment response information is sent to the MME, and the bearer establishment of the requesting end is completed. Similarly, the MME sends a bearer request to the base station to which the receiving end belongs, and the base station establishes a radio bearer with the receiving end, and the receiving end responds to the setup bearer request, and the base station sends the bearer setup response information to the MME, and the bearer establishment of the receiving end is completed.
MME完成获取地址信息的工作并发送给基站, 这样, 基站只需要对收到 的地址信息进行匹配就可以判断通信双方终端是否可以执行本地交换, 减轻 了基站的工作量; MME在同通信终端建立承载的过程中获取地址信息, 而不 是盲目的对所有上行数据包进行检测, 提高了本地交换匹配的有效性。  The MME completes the work of obtaining the address information and sends it to the base station. In this way, the base station only needs to match the received address information to determine whether the communication terminal can perform local exchange, thereby reducing the workload of the base station; the MME establishes with the communication terminal. The address information is obtained in the process of bearer, instead of blindly detecting all uplink data packets, which improves the effectiveness of local exchange matching.
上面的实施例中, 基站对通信双方终端是否支持本地交换进行判断, 若 通信双方终端支持本地交换, 基站对通信双方终端进行绑定后执行本地交 换;, 通信双方终端也可以接入同一个网关, 下面给出的本发明方法的实施例 三是针对同一个网关下接入不同的终端之间业务的本地交换的情况, 如图 4 所示, 该实施例具体包括: In the above embodiment, the base station determines whether the communication terminal supports the local exchange. If the communication terminal supports local exchange, the base station performs binding on the communication terminal and performs local exchange; the communication terminal can also access the same gateway. , an embodiment of the method of the invention given below The third embodiment is directed to the local exchange of services between different terminals in the same gateway. As shown in FIG. 4, the embodiment specifically includes:
步骤 401, 网络侧设备移动管理实体 MME在同请求端建立承载过程中获 取请求端与接收端的地址信息, 并将获取的该地址信息发送至请求端所属的 网关;  Step 401: The network side device mobility management entity obtains the address information of the requesting end and the receiving end in the process of establishing a bearer with the requesting end, and sends the obtained address information to the gateway to which the requesting end belongs;
该地址信息可以包括请求端的 IP地址、 请求端端口号和接收端 IP地址、 接收端端口号, 网关将建立承载请求发给请求端所属的基站, 然后由基站将 建立无线承载请求转发给请求端, 请求端响应该建立无线承载请求, 基站将 承载建立响应信息发送给网关, 由网关将该承载建立响应信息转发给 MME, 请求端的承载建立完成; 同样的, 网关将建立承载请求发给接收端所属的基 站, 该基站将建立无线承载请求转发给接收端, 接收端响应该建立无线承载 请求, 基站将承载建立响应信息发送给网关, 网关将该承载建立响应信息转 发给 MME, 接收端的承载建立完成。  The address information may include an IP address of the requesting end, a requesting port number, a receiving end IP address, and a receiving end port number. The gateway sends a bearer request to the base station to which the requesting end belongs, and then the base station forwards the establishing radio bearer request to the requesting end. The requesting end responds to the establishment of the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information to the MME, and the bearer of the requesting end is established. Similarly, the gateway sends a bearer request to the receiving end. The base station, the base station forwards the radio bearer request to the receiving end, and the receiving end responds to the establishing the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information to the MME, and the bearer of the receiving end is established. carry out.
在 MME请求建立承载之前, 还包括步骤 4011 : MME预处理; 具体包括 MME向核心网查询该承载上的业务是否支持本地交换,若承载上的业务能支 持本地交换,则 MME在承载建立过程中获取请求端与接收端的地址信息, 包 括请求端的 IP地址和端口号,接收端的 IP地址和端口号,这里获取的接收端 的 IP地址和端口号可能有多个。  Before the MME requests to establish a bearer, the method further includes: Step 4011: MME pre-processing; specifically, the MME queries the core network whether the service on the bearer supports local exchange, and if the service on the bearer can support local exchange, the MME is in the bearer establishment process. Obtain the address information of the requesting end and the receiving end, including the IP address and port number of the requesting end, the IP address and port number of the receiving end, and the IP address and port number of the receiving end obtained here may be multiple.
步骤 402, 网关判断是否能进行本地交换;  Step 402: The gateway determines whether local switching can be performed.
MME将获取的请求端的地址信息发送给请求端所属的网关后, 网关保存 该地址信息, 当网关再次收到 MME发送的接收端与请求端的地址信息时,该 地址信息包括接收端 IP地址和端口号以及请求端 IP地址和端口号,网关判断 新收到的 IP地址和端口号是否已经保存, 如果已经保存, 则说明通信双方终 端接入同一个网关, 即支持本地交换, 如果不支持本地交换, 则按照现有技 术中通过核心网转发通信业务, 具体流程不再赘述。  After the MME sends the obtained address information of the requesting end to the gateway to which the requesting end belongs, the gateway saves the address information. When the gateway receives the address information of the receiving end and the requesting end sent by the MME again, the address information includes the receiving end IP address and the port. The number and the IP address and port number of the requesting end. The gateway determines whether the newly received IP address and port number have been saved. If it has been saved, the terminal of the communication terminal accesses the same gateway, that is, supports local switching, if local switching is not supported. Then, the communication service is forwarded through the core network according to the prior art, and the specific process is not described again.
步骤 403, 网关将判断得到的支持本地交换的通信双方终端绑定; 具体指将请求端 IP地址及端口号和接收端 IP地址及端口号绑定,请求端 承载 ID, 和接收端承载 ID绑定, 其中绑定的承载 ID指基站和网关间的承载 ID。 由于请求端的某一个承载上可能向多个接收端发起业务, 因此请求端的 一个承载 ID可能与多个接收端的承载 ID绑定。 步骤 404, 网关执行本地交换。 In step 403, the gateway binds the terminal of the communication terminal that supports the local exchange; specifically, the IP address and port number of the requesting end are bound to the IP address and port number of the receiving end, and the bearer ID of the requesting end is bound to the bearer ID of the receiving end. The bearer ID of the binding refers to the bearer ID between the base station and the gateway. Since a certain bearer of the requesting end may initiate a service to multiple receiving ends, a bearer ID of the requesting end may be bound to a bearer ID of multiple receiving ends. In step 404, the gateway performs local exchange.
请求端通过请求端承载 ID将上行数据包发送到网关, 网关收到该上行数 据包后,识别该数据包是绑定的承载 ID上发送的, 于是网关将请求端承载 ID 同绑定信息匹配, 如果请求端承载 ID只与一个接收端承载 ID绑定, 则网关 直接在接收端承载上向接收端转发该数据包; 若请求端承载 ID与多个接收端 承载 ID绑定, 则网关解析收到的数据包, 获得该数据包的目的 IP地址及端 口号, 通过获得的目的 IP地址及端口号判断数据包的转发地址, 即接收端承 载 ID, 并转发到对应的接收端。 在上述第三个具体实施例中, MME完成获 取地址信息的工作并发送给网关, 由网关来判断通信双方终端是否可以执行 本地交换, 并且由网关来执行地址交换, 大大减轻了基站的工作量。  The requesting end sends the uplink data packet to the gateway by using the bearer ID of the requesting end. After receiving the uplink data packet, the gateway identifies that the data packet is sent on the bearer ID of the binding, and the gateway matches the bearer ID of the requesting end with the binding information. If the requesting end bearer ID is only bound to one receiving end bearer ID, the gateway directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the gateway parses The received data packet obtains the destination IP address and port number of the data packet, and determines the forwarding address of the data packet by using the obtained destination IP address and port number, that is, the receiving end carries the ID, and forwards it to the corresponding receiving end. In the foregoing third specific embodiment, the MME completes the work of acquiring the address information and sends the information to the gateway, and the gateway determines whether the communication terminal can perform the local exchange, and the gateway performs the address exchange, thereby greatly reducing the workload of the base station. .
上面的实施例中由网关对通信双方终端是否支持本地交换进行判断, 并 由网关对通行双方终端进行绑定, 并执行本地交换。 网关的作用可以是起到 转发的功能, 具体实施方式可以参见图 5示出的本发明方法的实施例四, 包 括:  In the above embodiment, the gateway determines whether the communication terminal supports the local exchange, and the gateway binds the two terminals to each other and performs local exchange. The function of the gateway may be a function of forwarding. For a specific implementation, refer to Embodiment 4 of the method of the present invention shown in FIG. 5, including:
步骤 501, 网络侧设备移动管理实体 MME在同请求端建立承载过程中获 取请求端与接收端的地址信息, 并将获取的该地址信息发送至请求端所属的 基站;  Step 501: The network side device mobility management entity MME obtains the address information of the requesting end and the receiving end in the process of establishing a bearer with the requesting end, and sends the obtained address information to the base station to which the requesting end belongs;
该地址信息包括请求端 IP地址、请求端端口号和接收端 IP地址、接收端 端口号, MME向网关发送建立承载请求, 网关将建立承载请求转发给请求端 所属的基站, 然后基站将建立无线承载请求转发给请求端, 请求端响应该建 立无线承载请求, 基站将承载建立响应信息发送给网关, 网关再将该承载建 立响应信息转发给 MME, 请求端的承载建立完成; 同样的, 网关将建立承载 请求发给接收端所属的基站, 该基站将建立无线承载请求发送给接收端, 接 收端响应该建立无线承载请求, 基站将承载建立响应信息发送给网关, 网关 再将该承载建立响应信息转发给 MME, 接收端的承载建立完成。  The address information includes a requesting end IP address, a requesting port number, a receiving end IP address, and a receiving end port number. The MME sends a bearer setup request to the gateway, and the gateway forwards the bearer request to the base station to which the requesting end belongs, and then the base station establishes a wireless. The bearer request is forwarded to the requesting end, and the requesting end responds to the establishing the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information to the MME, and the bearer of the requesting end is established. Similarly, the gateway will be established. The bearer request is sent to the base station to which the receiving end belongs, and the base station sends a radio bearer request to the receiving end, and the receiving end responds to the establishing the radio bearer request, and the base station sends the bearer setup response information to the gateway, and the gateway forwards the bearer setup response information. To the MME, the bearer establishment of the receiving end is completed.
在 MME请求建立承载之前, 还包括 MME预处理的步骤 5011, MME向 核心网查询该承载上的业务是否支持本地交换, 若承载上的业务能支持本地 交换,则 MME在承载建立过程中获取请求端与接收端接的地址信息,该地址 信息包括请求端的 IP地址和端口号, 与接收端的 IP地址和端口号, 这里获取 的接收端的 IP地址和端口号可能有多个。 步骤 502, 基站判断是否执行本地交换; Before the MME requests to establish a bearer, the method further includes a step 5011 of the MME pre-processing, and the MME queries the core network whether the service on the bearer supports the local exchange. If the service on the bearer can support the local exchange, the MME obtains the request in the bearer establishment process. The address information of the terminal and the receiving end, the address information includes the IP address and port number of the requesting end, and the IP address and port number of the receiving end. There may be multiple IP addresses and port numbers of the receiving end obtained here. Step 502: The base station determines whether to perform local exchange.
MME将获取的请求端与接收端的地址信息发送给接收端所属的网关后, 网关将接收到的该地址信息转发给请求端所属的基站, 基站保存该地址信息, 当基站再次收到网关发送的地址信息, 包括终端 IP地址和端口号以及通信对 端的 IP地址和端口号时, 基站判断新收到的地址信息是否已经保存, 如果已 经保存, 则说明通信双方终端接入同一个基站下, 即支持本地交换, 如果不 支持本地交换, 则按照现有技术通过核心网转发通信业务, 具体流程不再赘 述。  After the MME sends the obtained address information of the requesting end and the receiving end to the gateway to which the receiving end belongs, the gateway forwards the received address information to the base station to which the requesting end belongs, and the base station saves the address information, and the base station receives the gateway information again. When the address information includes the terminal IP address and port number and the IP address and port number of the communication peer, the base station determines whether the newly received address information has been saved. If it has been saved, the terminal of the communication terminal accesses the same base station, that is, The local exchange is supported. If the local exchange is not supported, the communication service is forwarded through the core network according to the existing technology. The specific process is not described here.
步骤 503, 基站将判断得到的支持本地交换的通信双方终端绑定; 具体指将请求端 IP地址及端口号与接收端 IP地址及端口号绑定,请求端 承载 ID与接收端承载 ID绑定,其中绑定的承载 ID指终端和基站间的无线承 载 ID。 由于请求端的某一个承载上可能向多个接收端发起业务, 因此请求端 的一个承载 ID可能与多个接收端的承载 ID绑定。  Step 503: The base station binds the determined communication terminal that supports the local exchange; specifically, binding the IP address and port number of the requesting end to the IP address and port number of the receiving end, and binding the bearer ID of the requesting end to the bearer ID of the receiving end. The bearer ID of the binding refers to the radio bearer ID between the terminal and the base station. A bearer ID of a requesting end may be bound to a bearer ID of multiple receiving ends because a certain bearer on the requesting end may initiate a service to multiple receiving ends.
步骤 504, 基站执行本地交换。  Step 504: The base station performs local exchange.
请求端通过请求端承载 ID将数据包发送给基站, 基站识别到该数据包是 来自绑定的承载 ID上的, 于是基站将请求端承载 ID同绑定信息匹配, 如果 请求端承载 ID只与一个接收端承载 ID绑定, 则基站直接在该接收端承载上 向接收端转发该数据包; 若请求端承载 ID与多个接收端承载 ID绑定, 则基 站解析收到的数据包, 获得该数据包的目的 IP地址及端口号, 通过获得地址 信息中的目的 IP地址及端口号判断数据包的转发地址(即接收端承载 ID )并 转发到对应的接收端。  The requesting end sends the data packet to the base station by using the bearer ID of the requesting end, and the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the requesting end with the binding information, if the requesting end carries the ID only A receiving end carries an ID binding, and the base station directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the base station parses the received data packet, and obtains The destination IP address and port number of the data packet are determined by obtaining the destination IP address and port number in the address information, and determining the forwarding address of the data packet (that is, the receiving end bearer ID) and forwarding it to the corresponding receiving end.
在上述实施例四中, MME 完成获取地址信息的工作并发送给基站, 这 样, 基站只需要对收到的地址信息进行匹配就可以判断通信双方终端是否可 以执行本地交换, 减轻了基站的工作量; MME在同通信终端建立承载的过程 中获取地址信息, 而不是盲目的对所有上行数据包进行检测, 提高了本地交 换匹配的有效性。  In the fourth embodiment, the MME completes the work of obtaining the address information and sends the information to the base station. In this way, the base station only needs to match the received address information to determine whether the communication terminal can perform local exchange, thereby reducing the workload of the base station. The MME obtains the address information in the process of establishing the bearer with the communication terminal, instead of blindly detecting all the uplink data packets, thereby improving the effectiveness of the local exchange matching.
上述的实施例中,通过 MME获取通信双方终端的地址信息,也可以不通 过 MME获取通信双方终端的地址信息,而是通过基站或网关本身识别并获取 通信双方终端的地址信息, 这时基站或网关具备识别 S1AP ( S1 Application Protocol ) 消息中非接入层消息的功能, 下面举个基站获取通行双方终端地址 信息并执行本地交换的实施例, 包括: In the foregoing embodiment, the MME obtains the address information of the terminal of the communication terminal, and may acquire the address information of the terminal of the communication terminal without using the MME, but identify and acquire the address information of the terminal of the communication terminal by the base station or the gateway itself, at this time, the base station or The gateway has the function of identifying the non-access stratum message in the S1AP (S1 Application Protocol) message, and the following base station obtains the terminal address of both the transit terminals. Examples of information and performing local exchanges, including:
在网络侧发起的承载建立请求的非接入层消息中, 加入通信双方终端的 In the non-access stratum message of the bearer setup request initiated by the network side, the terminal of the communication terminal is added.
IP地址及端口号; IP address and port number;
基站收到网络侧为请求端建立承载请求后, 识别并获取该请求信息中的 地址信息,该地址信息包含的请求端 IP地址、请求端端口号和接收端 IP地址、 接收端端口号, 基站将获取的该地址信息保存。 同时基站将建立无线承载请 求发给请求端, 请求端响应该建立无线承载请求, 基站将承载建立响应信息 发送给 MME, 请求端的承载建立完成; 同样的, 基站将建立无线承载请求发 给接收端, 接收端响应该建立无线承载请求, 基站将承载建立响应信息发送 给 MME, 接收端的 7 载建立完成。  After receiving the bearer request for the requesting end, the base station identifies and obtains the address information in the request information, where the address information includes the requesting end IP address, the requesting port number, the receiving end IP address, the receiving port number, and the base station. Save the obtained address information. At the same time, the base station sends a radio bearer request to the requesting end, and the requesting end responds to the establishment of the radio bearer request, and the base station sends the bearer setup response information to the MME, and the bearer of the requesting end is established. Similarly, the base station sends a radio bearer request to the receiving end. The receiving end responds to the establishment of the radio bearer request, and the base station sends the bearer setup response information to the MME, and the 7-carrier establishment of the receiving end is completed.
与接收端建立承载过程中, 基站获取到接收端 IP地址、 接收端端口号和 请求端 IP地址、 请求端端口号, 基站判断所获取的地址信息是否已经保存, 如果已经保存, 则说明通信双方终端接入同一个基站, 即支持本地交换。  During the establishment of the bearer with the receiving end, the base station obtains the IP address of the receiving end, the port number of the receiving end, the IP address of the requesting end, and the port number of the requesting end. The base station determines whether the obtained address information has been saved. If it has been saved, the two parties indicate that the communicating party The terminal accesses the same base station, that is, supports local exchange.
基站将判断得到的支持本地交换的通信双方终端绑定, 具体指将请求端 IP地址及端口号与接收端 IP地址及端口号绑定, 请求端承载 ID与接收端承 载 ID绑定, 其中绑定的承载 ID指终端和基站间的无线承载 ID。 由于请求端 的某一个承载上可能向多个接收端发起业务, 因此请求端的一个承载 ID可能 与多个接收端的承载 ID绑定。  The base station binds the terminal of the communication terminal that supports the local exchange, and specifically binds the IP address and port number of the requesting end to the IP address and port number of the receiving end, and binds the bearer ID of the requesting end to the bearer ID of the receiving end, where the binding is performed. The fixed bearer ID refers to the radio bearer ID between the terminal and the base station. A bearer ID of a requesting end may be bound to a bearer ID of multiple receiving ends because a certain bearer on the requesting end may initiate a service to multiple receiving ends.
基站执行本地交换。 请求端通过请求端承载 ID将数据包发送给基站, 基 站识别到该数据包是来自绑定的承载 ID上的, 于是基站将请求端承载 ID同 绑定信息匹配, 如果请求端承载 ID只与一个接收端承载 ID绑定, 则基站直 接在该接收端承载上向接收端转发该数据包; 若请求端承载 ID与多个接收端 承载 ID绑定, 则基站解析收到的数据包, 获得该数据包的目的 IP地址及端 口号, 通过获得的目的 IP地址及端口号判断数据包的转发地址(即接收端承 载 ID )并转发到对应的接收端。  The base station performs local switching. The requesting end sends the data packet to the base station by using the bearer ID of the requesting end, and the base station recognizes that the data packet is from the bearer ID of the binding, and the base station matches the bearer ID of the requesting end with the binding information, if the requesting end carries the ID only A receiving end carries an ID binding, and the base station directly forwards the data packet to the receiving end on the receiving end bearer; if the requesting end bearer ID is bound to multiple receiving end bearer IDs, the base station parses the received data packet, and obtains The destination IP address and port number of the data packet, the destination IP address and the port number of the obtained packet are used to determine the forwarding address of the data packet (ie, the receiving end bearer ID) and forwarded to the corresponding receiving end.
网关获取通行双方终端地址信息并执行本地交换的具体实现方式同基站 获取通行双方终端地址信息并执行本地交换的实施例相同, 在基站或网关识 别 S1AP消息中的非接入层消息从而获取地址信息的实施例中,基站或网关不 需要对每个上行数据包盲目的进行检测, 提高了本地交换匹配的有效性。  The specific implementation manner in which the gateway obtains the terminal address information of the two parties and performs local exchange is the same as the embodiment in which the base station obtains the terminal address information of the two parties and performs local exchange, and the base station or the gateway identifies the non-access stratum message in the S1AP message to obtain the address information. In an embodiment, the base station or the gateway does not need to detect each uplink data packet blindly, which improves the effectiveness of the local exchange matching.
本发明还给出了一种基站设备实施例, 参见图 6, 包括: 信息接收单元 601,用于接收网络侧移动管理实体 MME发送的第一地址 信息和第二地址信息;第一地址信息由网络侧移动管理实体 MME在同请求端 建立承载过程中获取,第二地址信息由网络侧移动管理实体 MME在同接收端 建立承载过程中获取; The present invention also provides an embodiment of a base station device. Referring to FIG. 6, the method includes: The information receiving unit 601 is configured to receive the first address information and the second address information sent by the network side mobility management entity MME. The first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, and the second address is obtained. The information is obtained by the network-side mobility management entity MME in establishing a bearer process with the receiving end;
绑定单元 602, 用于当第一地址信息与第二地址信息相同时,将请求端和 接收端绑定;  The binding unit 602 is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same;
执行单元 603,用于对绑定的请求端或接收端在绑定承载上发送的数据执 行本地交换。  The executing unit 603 is configured to perform local exchange on the data sent by the binding requesting end or the receiving end on the binding bearer.
采用本实施例中的基站设备, 通过利用信息接收单元 601 获取的 MME 发送的地址信息, 对通信终端是否支持本地交换进行判断以决定是否对通信 双方终端执行本地交换。 这样可以减少了基站盲目的检测上述数据包, 减少 了基站的工作量。  With the base station device in this embodiment, by using the address information sent by the MME obtained by the information receiving unit 601, it is determined whether the communication terminal supports local exchange to determine whether to perform local exchange with the communication terminals. This can reduce the base station blindly detecting the above data packet and reduce the workload of the base station.
本发明给出了一种网关设备实施例, 参见图 7, 包括:  The present invention provides an embodiment of a gateway device, see FIG. 7, including:
第一信息接收单元 701,用于接收网络侧移动管理实体 MME发送的第一 地址信息和第二地址信息,第一地址信息由网络侧移动管理实体 MME在同请 求端建立承载过程中获取,第二地址信息由网络侧移动管理实体 MME在同接 收端建立承载过程中获取;  The first information receiving unit 701 is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, The second address information is obtained by the network side mobility management entity MME in establishing a bearer process with the receiving end;
第一绑定单元 702, 用于当第一地址信息与第二地址信息相同时, 将请求 端和接收端绑定;  The first binding unit 702 is configured to bind the requesting end and the receiving end when the first address information and the second address information are the same;
第一执行单元 703,用于对绑定的请求端或接收端在绑定承载上发送的数 据执行本地交换。  The first executing unit 703 is configured to perform local exchange on the data sent by the bound requesting end or the receiving end on the binding bearer.
采用本实施例中的网关设备, 通过利用第一信息接收单元 701 获取的 MME发送的地址信息,对通信终端是否支持本地交换进行判断以决定是否对 通信双方终端执行本地交换。获取地址信息的工作由 MME完成,判断通信双 方终端是否支持本地交换, 和对通信双方终端执行本地交换的工作由网关来 完成, 这样可以减少基站的工作量。  The gateway device in this embodiment determines whether the communication terminal supports local exchange by using the address information sent by the MME obtained by the first information receiving unit 701 to determine whether to perform local exchange on the communication terminal. The work of obtaining the address information is completed by the MME, and it is judged whether the communication dual-party terminal supports the local exchange, and the work of performing local exchange on the communication terminal terminals is completed by the gateway, which can reduce the workload of the base station.
本发明还给出了一种数据本地交换***的实施例, 包括通信双方终端, 还包括:  The present invention also provides an embodiment of a data local switching system, including a terminal of both communication terminals, and further comprising:
基站,用于接收网络侧移动管理实体 MME发送的第一地址信息和第二地 址信息,第一地址信息由网络侧移动管理实体 MME在同请求端建立承载过程 中获取,第二地址信息由网络侧移动管理实体 MME在同接收端建立承载过程 中获取; 当第一地址信息与第二地址信息相同时, 将请求端和接收端绑定; 对绑定的请求端或接收端在绑定承载上发送的数据执行本地交换。 The base station is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is established by the network side mobility management entity MME on the requesting end Obtaining, the second address information is obtained by the network side mobility management entity MME in establishing a bearer process with the receiving end; when the first address information is the same as the second address information, binding the requesting end and the receiving end; The requester or the receiver performs local exchange on the data sent on the binding bearer.
本实施例利用基站获取的 MME发送的地址信息,对通信终端是否支持本 地交换进行判断以决定是否对通信双方终端执行本地交换。 这样可以减少了 基站盲目的检测上述数据包, 减少了基站的工作量。  In this embodiment, the address information sent by the MME obtained by the base station is used to determine whether the communication terminal supports the local exchange to determine whether to perform local exchange on the communication terminal. This can reduce the base station blindly detecting the above data packet and reduce the workload of the base station.
在上述给出的一种数据本地交换***实施例中, 基站进行的工作可以由 网关来执行, 参见图 8 示出的另一个实施例, 给出了不同的实施方式, 该实 施例一种数据本地交换***, 包括通信双方终端 800, 还包括:  In an embodiment of the data local switching system given above, the work performed by the base station can be performed by the gateway. Referring to another embodiment shown in FIG. 8, different embodiments are provided. The local switching system, including the communication terminal 800, further includes:
基站 801, 用于将请求端或接收端的信息发送给网关, 将网关的信息发送 给请求端或接收端;  The base station 801 is configured to send information of the requesting end or the receiving end to the gateway, and send the information of the gateway to the requesting end or the receiving end;
网关 802,用于接收网络侧移动管理实体 MME发送的第一地址信息和第 二地址信息,第一地址信息由网络侧移动管理实体 MME在同请求端建立承载 过程中获取,第二地址信息由网络侧移动管理实体 MME在同接收端建立承载 过程中获取; 第一地址信息与第二地址信息相同时, 将请求端和接收端绑定; 对绑定的请求端或接收端在绑定承载上发送的数据执行本地交换。  The gateway 802 is configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, where the second address information is obtained by The network-side mobility management entity MME acquires the bearer process when the bearer is established with the receiving end. When the first address information and the second address information are the same, the requesting end and the receiving end are bound; the bound requesting end or the receiving end is in the binding bearer. The data sent on is performed locally.
本实施例中通过网关获取的 MME发送的地址信息,利用网关对通信终端 是否支持本地交换进行判断以决定是否对通信双方终端执行本地交换, 获取 地址信息的工作由 MME完成,判断通信双方终端是否支持本地交换,和对通 信双方终端执行本地交换的工作由网关来完成, 这样可以减少基站的工作量。  In this embodiment, the address information sent by the MME obtained by the gateway is used by the gateway to determine whether the communication terminal supports local exchange to determine whether to perform local exchange on the communication terminal terminals. The operation of obtaining the address information is completed by the MME, and it is determined whether the terminals of the communication terminals are Supporting local switching, and performing local switching on terminals of both communicating parties is done by the gateway, which can reduce the workload of the base station.
在具体实施数据本地交换***时, 可以采用具备识别 S1AP ( S1 Application Protocol ) 消息中非接入层消息功能的基站, 采用具备识别 S 1 AP 的基站实现数据本地交换***具体包括: 通信双方终端, 还包括:  When the data local exchange system is implemented, the base station having the function of identifying the non-access stratum message in the S1AP (S1 Application Protocol) message may be used, and the data local exchange system implemented by the base station having the S1 AP identification includes: Also includes:
基站, 用于获取第一地址信息和第二地址信息, 第一地址信息为基站在 同请求端建立承载过程中, 从非接入层消息中获取的请求端 IP地址、 请求端 端口号和接收端 IP地址、 接收端端口号, 第二地址信息为基站在同接收端建 立承载过程中, 从非接入层消息中获取的接收端 IP地址、 接收端端口号和请 求端 IP地址、 请求端端口号; 当第一地址信息与第二地址信息相同时, 将请 求端和接收端绑定; 对绑定的请求端或接收端在绑定承载上发送的数据执行 本地交换。 本实施例的有益效果是该***中的基站或网关不需要对每个上行 数据包盲目的进行检测, 提高了本地交换匹配的有效性。 The base station is configured to obtain the first address information and the second address information, where the first address information is a requesting end IP address, a requesting port number, and a receiving end obtained by the base station from the non-access stratum message during the bearer establishment process with the requesting end The IP address of the terminal, the port number of the receiving port, and the second address information are the IP address of the receiving end, the port number of the receiving end, the IP address of the receiving end, and the requesting end obtained by the base station in the process of establishing the bearer with the receiving end. Port number; when the first address information is the same as the second address information, binding the requesting end and the receiving end; performing local switching on the data sent by the binding requesting end or the receiving end on the binding bearer. The beneficial effect of this embodiment is that the base station or the gateway in the system does not need to be used for each uplink. Packets are blindly detected, improving the effectiveness of local exchange matching.
在一个实施例中, 提供了一种数据本地交换装置, 包括:  In one embodiment, a data local switching device is provided, including:
用于同请求端建立承载, 且同接收端建立承载的模块;  A module for establishing a bearer with the requesting end and establishing a bearer with the receiving end;
用于在同所述请求端建立承载过程中获取第一地址信息的模块, 所述第 一地址信息包括所述请求端的地址信息和所述发送端的地址信息;  a module for acquiring first address information in the process of establishing a bearer with the requesting end, where the first address information includes address information of the requesting end and address information of the sending end;
用于在同所述接收端建立承载过程中获取第二地址信息的模块, 所述第 二地址信息包括所述请求端的地址信息和所述发送端的地址信息;  And a module for acquiring second address information in the process of establishing a bearer with the receiving end, where the second address information includes address information of the requesting end and address information of the sending end;
用于当所述第一地址信息与所述第二地址信息相同时, 将所述请求端和 所述接收端绑定的模块, 以及将所述请求端或接收端向对端发送的数据在所 述同所述请求端建立的承载以及所述同所述接收端建立的承载上执行本地交 换的模块。  When the first address information is the same as the second address information, the module that binds the requesting end and the receiving end, and the data that is sent by the requesting end or the receiving end to the opposite end are And the module that performs the local exchange on the bearer established by the requesting end and the bearer established by the receiving end.
所述用于在同所述请求端建立承载过程中获取第一地址信息的模块, 包 括:  And the module for obtaining the first address information in the process of establishing a bearer with the requesting end, including:
用于在同所述请求端建立承载过程中, 从非接入层消息中获取所述第一 地址信息的单元; 或  a unit for obtaining the first address information from a non-access stratum message during a bearer setup with the requesting end; or
用于接收移动管理实体 MME发送的所述第一地址信息的单元,所述第一 地址信息由所述 MME在同请求端建立承载过程中获取;  a unit for receiving the first address information sent by the mobility management entity MME, where the first address information is obtained by the MME in establishing a bearer process with the requesting end;
所述用于在同所述接收端建立承载过程中获取第二地址信息的模块, 包 括:  And the module for acquiring the second address information in the process of establishing a bearer with the receiving end, including:
用于在同所述接收端建立承载过程中, 从非接入层消息中获取所述第二 地址信息的单元; 或  a unit for acquiring the second address information from a non-access stratum message during a bearer setup with the receiving end; or
接收移动管理实体 MME发送的所述第二地址信息的单元,所述第二地址 信息由所述 MME在同接收端建立承载过程中获取。  Receiving, by the MME, the second address information that is sent by the MME, the second address information is obtained by the MME in the process of establishing a bearer with the receiving end.
所述用于当所述第一地址信息与所述第二地址信息相同时, 将所述请求 端和所述接收端绑定的模块, 包括:  The module for binding the requesting end to the receiving end when the first address information is the same as the second address information includes:
用于将所述请求端的 IP地址和所述接收端的 IP地址绑定的单元; 用于将所述请求端的端口号和所述接收端的端口号绑定的单元; 用于将所述请求端的端口号上对应业务所建立的承载的承载身份标识 ID 与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定的单 元。 a unit for binding an IP address of the requesting end to an IP address of the receiving end; a unit for binding a port number of the requesting end with a port number of the receiving end; And a unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end.
所述装置还包括:  The device also includes:
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份 标识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID 绑定的单元将所述请求端的端口号上对应业务所建立的承载的承载 ID与一个 所述接收端的端口号上对应业务所建立的承载的承载 ID绑定时, 在所述接收 端的端口号上对应业务所建立的承载转发所述请求端的端口号上对应业务所 建立的承载上的上行数据包的模块; 或者,  The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the bearer corresponding to the service is established on the port number of the receiving end. Transmitting, by the port number of the requesting end, a module of an uplink data packet on a bearer established by the service; or
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份 标识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID 绑定的单元将所述接收端的端口号上对应业务所建立的承载的承载 ID与一个 所述请求端的端口号上对应业务所建立的承载的承载 ID绑定时, 在所述请求 端的端口号上对应业务所建立的承载上转发所述接收端的端口号上对应业务 所建立的承载上的上行数据包的模块; 或者,  The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, When the bearer ID of the bearer established by the corresponding service on the port number of the receiving end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the bearer corresponding to the service is established on the port number of the requesting end. a module that forwards the uplink data packet on the bearer established by the corresponding service on the port number of the receiving end; or
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份 标识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID 绑定的单元将所述请求端的端口号上对应业务所建立的承载的承载 ID与多个 所述接收端的端口号上对应业务所建立的承载的承载 ID绑定时, 解析所述请 求端的端口号上对应业务所建立的承载上的上行数据包, 获得所述上行数据 包的接收端的 IP地址、 所述接收端的端口号和所述接收端的端口号上对应业 务所建立的承载的承载 ID后, 在所述接收端的端口号上对应业务所建立的承 载上转发所述上行数据包的模块; 或者,  The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the corresponding service established on the port number of the requesting end is parsed. After receiving the uplink data packet, obtaining the IP address of the receiving end of the uplink data packet, the port number of the receiving end, and the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the port at the receiving end a module that forwards the uplink data packet on a bearer established by the corresponding service; or
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份 标识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID 绑定的单元将所述接收端的端口号上对应业务所建立的承载的承载 ID与多个 所述请求端的端口号上对应业务所建立的承载的承载 ID绑定时, 解析所述接 收端的端口号上对应业务所建立的承载上的上行数据包, 获得所述上行数据 包的请求端的 IP地址、 所述请求端的端口号和所述请求端的端口号上对应业 务所建立的承载的承载 ID后, 在所述请求端的端口号上对应业务所建立的承 载上转发所述上行数据包的模块。 The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, The bearer ID of the bearer established by the corresponding service on the port number of the receiving end and multiple When the bearer ID of the bearer corresponding to the service established on the port number of the requesting end is bound, the uplink data packet on the bearer established by the corresponding service on the port number of the receiving end is parsed, and the IP address of the requesting end of the uplink data packet is obtained. After the address, the port number of the requesting end, and the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the module that forwards the uplink data packet on the bearer established by the corresponding service on the port number of the requesting end .
本说明书中各个实施例采用递进的方式描述, 每个实施例重点说明的都 是与其他实施例的不同之处, 各个实施例之间相同相似部分互相参见即可。 对于实施例公开的装置而言, 由于其与实施例公开的方法相对应, 所以描述 的比较简单, 相关之处参见方法部分说明即可。  The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
专业人员可以理解, 结合本文中所公开的实施例描述的各示例的单元及 方法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清楚 地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地描述了 各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来执行, 取决于技 术方案的特定应用和设计约束条件。 专业技术人员可以对每个特定的应用来 使用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范 围。  It will be understood by those skilled in the art that the elements and method steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate the interchangeability of hardware and software. The composition and steps of the examples have been generally described in terms of functions in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 计算机可读取存储介质中, 程序在执行时, 可包括如上述各方法的实施例的 流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随才 储记忆体 ( Random Access Memory, RAM )等。 对所公开的实施例的上述说明, 使本领域专业技术人员能够实现或使用本发 明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下, 在其 它实施例中实现。 因此, 本发明将不会被限制于本文所示的这些实施例, 而 是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, the program can be stored in a computer readable storage medium, and the program is executed. At the time, the flow of the embodiment of each method as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded to the broadest scope of the principles and novel features disclosed herein.

Claims

权 利 要求 书 Claim
1、 一种数据本地交换方法, 其特征在于, 包括:  A data local exchange method, comprising:
网络侧在同请求端建立承载过程中, 获取第一地址信息, 以及, 在同接收 端建立承载过程中, 获取第二地址信息;  The network side acquires the first address information in the process of establishing the bearer with the requesting end, and acquires the second address information in the process of establishing the bearer with the receiving end;
当所述第一地址信息与所述第二地址信息相同时, 将所述请求端和接收端 绑定, 对所述绑定的请求端或接收端在所述承载上发送的数据执行本地交换。  When the first address information is the same as the second address information, binding the requesting end and the receiving end, and performing local exchange on the data sent by the bound requesting end or the receiving end on the bearer. .
2、 根据权利要求 1所述的方法, 其特征在于: 所述地址信息包括请求端和 接收端的 IP地址和端口号。  2. The method according to claim 1, wherein: the address information comprises an IP address and a port number of the requesting end and the receiving end.
3、 根据权利要求 1所述的方法, 其特征在于:  3. The method of claim 1 wherein:
所述获取第一地址信息包括,网络侧设备移动管理实体 MME在同请求端建 立承载过程中获取请求端 IP地址、请求端端口号和接收端 IP地址、接收端端口 号, 并将获取的地址信息发送至请求端所属的基站或网关;  The obtaining the first address information includes: the network side device mobility management entity MME acquires the requesting end IP address, the requesting port number, the receiving end IP address, the receiving end port number, and the obtained address in the process of establishing the bearer with the requesting end. The information is sent to the base station or gateway to which the requesting end belongs;
所述获取第二地址信息包括,网络侧设备移动管理实体 MME在同接收端建 立承载过程中获取接收端 IP地址、接收端端口号和请求端 IP地址、请求端端口 号, 并将获取的地址信息发送至接收端所属的基站或网关。  The obtaining the second address information includes: the network side device mobility management entity MME acquires the receiving end IP address, the receiving port number, the requesting end IP address, the requesting port port number, and the obtained address in the process of establishing the bearer with the receiving end. The information is sent to the base station or gateway to which the receiving end belongs.
4、 根据权利要求 3所述的方法, 其特征在于: 还包括: 若所述请求端或接 收端承载上的业务支持本地交换, 则 MME同请求端或接收端建立承载。  The method according to claim 3, further comprising: if the service on the requesting end or the receiving end supports local switching, the MME establishes a bearer with the requesting end or the receiving end.
5、 根据权利要求 1所述的方法, 其特征在于:  5. The method of claim 1 wherein:
所述获取第一地址信息包括, 接入网设备基站或网关在同请求端建立承载 过程中,从非接入层消息中获取请求端 IP地址、请求端端口号和接收端 IP地址、 接收端端口号;  The obtaining the first address information includes: when the base station or the gateway of the access network device establishes a bearer with the requesting end, acquiring the IP address of the requesting end, the port number of the requesting end, the IP address of the receiving end, and the receiving end from the non-access stratum message The port number;
所述获取第二地址信息包括, 接入网设备基站或网关在同接收端建立承载 过程中,从非接入层消息中获取请求端 IP地址、请求端端口号和接收端 IP地址、 接收端端口号。  The obtaining the second address information includes: when the base station or the gateway of the access network device establishes a bearer with the receiving end, acquiring the IP address of the requesting end, the port number of the requesting end, the IP address of the receiving end, and the receiving end from the non-access stratum message The port number.
6、根据权利要求 1所述的方法,其特征在于, 所述将请求端和接收端绑定, 包括:  The method according to claim 1, wherein the binding the requesting end and the receiving end comprises:
将请求端承载 ID同接收端承载 ID绑定,所述请求端承载 ID是请求端的 IP 地址上的端口号以及该端口号上对应业务所建立的承载 ID, 所述接收端承载 ID 是接收端的 IP地址上的端口号以及该端口号上对应业务所建立的承载 ID。 The bearer ID of the requesting end is bound to the bearer ID of the receiving end. The bearer ID of the requesting end is the port number on the IP address of the requesting end and the bearer ID established by the corresponding service on the port number, and the bearer ID of the receiving end is the receiving end. The port number on the IP address and the bearer ID established by the corresponding service on the port number.
7、 根据权利要求 1所述的方法, 其特征在于, 所述执行本地交换具体为: 当请求端承载 ID与一个接收端承载 ID绑定时, 网络侧的基站或网关直接 在该接收端承载上转发所述请求端承载上的上行数据包; The method according to claim 1, wherein the performing the local exchange is specifically: when the requesting end bearer ID is bound to a receiving end bearer ID, the base station or the gateway on the network side directly bears at the receiving end Upgoing the uplink data packet on the request side bearer;
或者当接收端承载 ID与一个请求端承载 ID绑定时, 网络侧的基站或网关 直接在该请求端承载上转发所述接收端承载上的上行数据包。  Or, when the bearer ID of the receiving end is bound to a bearer ID of the requesting end, the base station or the gateway on the network side forwards the uplink data packet on the bearer of the receiving end directly on the bearer of the requesting end.
8、 根据权利要求 1所述的方法, 其特征在于, 所述执行本地交换具体为: 当请求端承载 ID与多个接收端承载 ID绑定时, 网络侧的基站或网关解析 所述请求端承载上的上行数据包, 获得该数据包的接收端 IP地址、 接收端端口 号和对应的接收端承载 ID后, 在所述接收端承载上转发该上行数据包;  The method according to claim 1, wherein the performing the local exchange is specifically: when the requesting end bearer ID is bound to the multiple receiving end bearer IDs, the base station or the gateway on the network side parses the requesting end After the uplink data packet is carried, the IP address of the receiving end of the data packet, the port number of the receiving end, and the corresponding bearer ID of the receiving end are obtained, and the uplink data packet is forwarded on the receiving end bearer;
当接收端承载 ID与多个请求端承载 ID绑定时, 网络侧的基站或网关解析 所述接收端承载上的上行数据包, 获得该数据包的请求端 IP地址、 请求端端口 号和对应的请求端承载 ID后, 在所述请求端承载上转发该上行数据包。  When the bearer ID of the receiving end is bound to the bearer IDs of the multiple requesting ends, the base station or the gateway on the network side parses the uplink data packet on the bearer of the receiving end, and obtains the IP address of the requesting end, the port number of the requesting end, and the corresponding After the requesting end carries the ID, the uplink data packet is forwarded on the requesting end bearer.
9、 一种基站设备, 其特征在于, 包括:  A base station device, comprising:
信息接收单元,用于接收网络侧移动管理实体 MME发送的第一地址信息和 第二地址信息,所述第一地址信息由网络侧移动管理实体 MME在同请求端建立 承载过程中获取,所述第二地址信息由网络侧移动管理实体 MME在同接收端建 立承载过程中获取;  The information receiving unit is configured to receive the first address information and the second address information that are sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, The second address information is obtained by the network-side mobility management entity MME during the establishment of the bearer with the receiving end;
绑定单元, 用于当第一地址信息与第二地址信息相同时, 将所述请求端和 接收端绑定;  a binding unit, configured to bind the request end and the receiving end when the first address information is the same as the second address information;
执行单元, 用于对绑定单元绑定的请求端或接收端在所述承载上发送的数 据执行本地交换。  And an execution unit, configured to perform local exchange on the data sent by the requesting end or the receiving end bound by the binding unit on the bearer.
10、 一种网关设备, 其特征在于, 包括:  10. A gateway device, comprising:
第一信息接收单元,用于接收网络侧移动管理实体 MME发送的第一地址信 息和第二地址信息,所述第一地址信息由网络侧移动管理实体 MME在同请求端 建立承载过程中获取,所述第二地址信息由网络侧移动管理实体 MME在同接收 端建立承载过程中获取;  a first information receiving unit, configured to receive the first address information and the second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, The second address information is obtained by the network-side mobility management entity MME in establishing a bearer process with the receiving end;
第一绑定单元, 用于当第一地址信息与第二地址信息相同时, 将所述请求 端和接收端绑定;  a first binding unit, configured to bind the request end and the receiving end when the first address information and the second address information are the same;
第一执行单元, 用于对第一绑定单元绑定的请求端或接收端在所述承载上 发送的数据执行本地交换。 a first execution unit, where the requesting end or the receiving end that is bound to the first binding unit is on the bearer The sent data performs a local exchange.
11、 一种数据本地交换***, 包括通信双方终端, 其特征在于, 还包括: 基站,用于接收网络侧移动管理实体 MME发送的第一地址信息和第二地址 信息,所述第一地址信息由网络侧移动管理实体 MME在同请求端建立承载过程 中获取,所述第二地址信息由网络侧移动管理实体 MME在同接收端建立承载过 程中获取; 当第一地址信息与第二地址信息相同时, 将所述请求端和接收端绑 定; 对所述绑定的请求端或接收端在所述承载上发送的数据执行本地交换。  A data local exchange system, including a communication terminal, further comprising: a base station, configured to receive first address information and second address information sent by a network side mobility management entity MME, where the first address information The network-side mobility management entity MME acquires the bearer process with the requesting end, and the second address information is obtained by the network-side mobility management entity MME in the process of establishing a bearer with the receiving end; when the first address information and the second address information are obtained When the same is the same, the requesting end and the receiving end are bound; performing local switching on the data sent by the binding requesting end or receiving end on the bearer.
12、 一种数据本地交换***, 包括通信双方终端, 其特征在于, 还包括: 基站, 用于将请求端或接收端的信息发送给网关, 将网关的信息发送给请 求端或接 Jit端;  A data local exchange system, comprising: a communication terminal, wherein: the base station is configured to: send the information of the requester or the receiver to the gateway, and send the information of the gateway to the request end or the Jit end;
网关,用于接收网络侧移动管理实体 MME发送的第一地址信息和第二地址 信息,所述第一地址信息由网络侧移动管理实体 MME在同请求端建立承载过程 中获取,所述第二地址信息由网络侧移动管理实体 MME在同接收端建立承载过 程中获取; 第一地址信息与第二地址信息相同时, 将所述请求端和接收端绑定; 对所述绑定的请求端或接收端在所述承载上发送的数据执行本地交换。  a gateway, configured to receive first address information and second address information sent by the network side mobility management entity MME, where the first address information is obtained by the network side mobility management entity MME in establishing a bearer process with the requesting end, where the second The address information is obtained by the network-side mobility management entity MME in the process of establishing a bearer with the receiving end; when the first address information is the same as the second address information, the requesting end and the receiving end are bound; Or the local exchange is performed by the data sent by the receiving end on the bearer.
13、 一种数据本地交换***, 包括通信双方终端, 其特征在于, 还包括: 基站, 用于获取第一地址信息和第二地址信息, 所述第一地址信息为基站 在同请求端建立承载过程中, 从非接入层消息中获取的请求端 IP地址、 请求端 端口号和接收端 IP地址、 接收端端口号, 所述第二地址信息为基站在同接收端 建立承载过程中, 从非接入层消息中获取的接收端 IP地址、 接收端端口号和请 求端 IP地址、 请求端端口号; 当第一地址信息与第二地址信息相同时, 将所述 请求端和接收端绑定; 对所述绑定的请求端或接收端在所述承载上发送的数据 执行本地交换。  A data local exchange system, including a communication terminal, further comprising: a base station, configured to acquire first address information and second address information, where the first address information is that the base station establishes a bearer with the requesting end In the process, the requesting end IP address, the requesting port number, the receiving end IP address, and the receiving port number obtained from the non-access stratum message, the second address information is in the process of establishing a bearer between the base station and the receiving end, The receiving end IP address, the receiving port number, the requesting end IP address, and the requesting port number obtained in the non-access stratum message; when the first address information is the same as the second address information, the requesting end and the receiving end are tied Performing a local exchange on the data sent by the requesting or receiving end of the binding on the bearer.
14、 一种数据本地交换方法, 其特征在于, 包括: 同请求端建立承载, 且同接收端建立承载; A data local exchange method, comprising: establishing a bearer with a requesting end, and establishing a bearer with the receiving end;
在同所述请求端建立承载过程中获取第一地址信息, 所述第一地址信息包 括所述请求端的地址信息和所述发送端的地址信息;  Acquiring the first address information in the process of establishing the bearer with the requesting end, where the first address information includes the address information of the requesting end and the address information of the sending end;
在同所述接收端建立承载过程中获取第二地址信息, 所述第二地址信息包 括所述请求端的地址信息和所述发送端的地址信息; Obtaining second address information, the second address information packet, in the process of establishing a bearer with the receiving end The address information of the requesting end and the address information of the transmitting end;
当所述第一地址信息与所述第二地址信息相同时, 将所述请求端和所述接 收端绑定, 将所述请求端或接收端向对端发送的数据在所述同所述请求端建立 的承载以及所述同所述接收端建立的承载上执行本地交换。  When the first address information is the same as the second address information, the requesting end and the receiving end are bound, and the data sent by the requesting end or the receiving end to the opposite end is as described above. The bearer established by the requesting end and the bearer established with the receiving end perform local exchange.
15、 根据权利要求 14所述的方法, 其特征在于:  15. The method of claim 14 wherein:
所述请求端的地址信息包括所述请求端的互联网协议 IP地址和端口号; 所述发送端的地址信息包括所述发送端的 IP地址和端口号。  The address information of the requesting end includes an Internet Protocol IP address and a port number of the requesting end; the address information of the sending end includes an IP address and a port number of the sending end.
16、 根据权利要求 14所述的方法, 其特征在于: 所述在同所述请求端建立 承载过程中, 获取第一地址信息, 包括:  The method according to claim 14, wherein: the acquiring the first address information in the process of establishing a bearer with the requesting end includes:
在同所述请求端建立承载过程中, 从非接入层消息中获取所述第一地址信 息; 或  Obtaining the first address information from a non-access stratum message during the bearer establishment process with the requesting end; or
接收移动管理实体 MME发送的所述第一地址信息,所述第一地址信息由所 述 MME在同请求端建立承载过程中获取;  Receiving the first address information sent by the mobility management entity MME, where the first address information is obtained by the MME in establishing a bearer process with the requesting end;
所述在同所述接收端建立承载过程中, 获取第二地址信息, 包括: 在同所述接收端建立承载过程中, 从非接入层消息中获取所述第二地址信 息; 或  Obtaining the second address information in the process of establishing a bearer with the receiving end, the method includes: acquiring, by the non-access stratum message, the second address information during a bearer setup process with the receiving end; or
接收移动管理实体 MME发送的所述第二地址信息,所述第二地址信息由所 述 MME在同接收端建立承载过程中获取。  Receiving the second address information sent by the mobility management entity MME, where the second address information is obtained by the MME in establishing a bearer with the receiving end.
17、 根据权利要求 14所述的方法, 其特征在于, 所述将所述请求端和所述 接收端绑定, 包括:  The method according to claim 14, wherein the binding the requesting end to the receiving end comprises:
将所述请求端的 IP地址和所述接收端的 IP地址绑定;  Binding the IP address of the requesting end to the IP address of the receiving end;
将所述请求端的端口号和所述接收端的端口号绑定;  Binding the port number of the requesting end to the port number of the receiving end;
将所述请求端的端口号上对应业务所建立的承载的承载身份标识 ID与所述 接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定。  Binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end.
18、 根据权利要求 17所述的方法, 其特征在于, 所述将所述请求端或接收 端向对端发送的数据在所述同所述请求端建立的承载以及所述同所述接收端建 立的承载上执行本地交换, 包括:  The method according to claim 17, wherein the data sent by the requesting end or the receiving end to the opposite end is carried in the bearer established with the requesting end, and the same receiving end Perform local exchange on the established bearer, including:
当所述请求端的端口号上对应业务所建立的承载的承载 ID与一个所述接收 端的端口号上对应业务所建立的承载的承载 ID绑定时, 在所述接收端的端口号 上对应业务所建立的承载转发所述请求端的端口号上对应业务所建立的承载上 的上行数据包; 或者, When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the port number at the receiving end The bearer established by the corresponding service forwards the uplink data packet on the bearer established by the corresponding service on the port number of the requesting end; or
当所述接收端的端口号上对应业务所建立的承载的承载 ID与一个所述请求 端的端口号上对应业务所建立的承载的承载 ID绑定时, 在所述请求端的端口号 上对应业务所建立的承载上转发所述接收端的端口号上对应业务所建立的承载 上的上行数据包; 或者,  When the bearer ID of the bearer established by the corresponding service on the port number of the receiving end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the corresponding service number is on the port number of the requesting end. Uplinking the uplink data packet on the bearer established by the corresponding service on the port number of the receiving end on the established bearer; or
当所述请求端的端口号上对应业务所建立的承载的承载 ID与多个所述接收 端的端口号上对应业务所建立的承载的承载 ID绑定时, 解析所述请求端的端口 号上对应业务所建立的承载上的上行数据包, 获得所述上行数据包的接收端的 IP地址、 所述接收端的端口号和所述接收端的端口号上对应业务所建立的承载 的承载 ID后, 在所述接收端的端口号上对应业务所建立的承载上转发所述上行 数据包; 或者,  When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the corresponding service on the port number of the requesting end is parsed. After the uplink data packet on the bearer is obtained, the IP address of the receiving end of the uplink data packet, the port number of the receiving end, and the bearer ID of the bearer established by the corresponding service on the port number of the receiving end are obtained. Forwarding the uplink data packet on the bearer established by the corresponding service on the port number of the receiving end; or
当所述接收端的端口号上对应业务所建立的承载的承载 ID与多个所述请求 端的端口号上对应业务所建立的承载的承载 ID绑定时, 解析所述接收端的端口 号上对应业务所建立的承载上的上行数据包, 获得所述上行数据包的请求端的 IP地址、 所述请求端的端口号和所述请求端的端口号上对应业务所建立的承载 的承载 ID后, 在所述请求端的端口号上对应业务所建立的承载上转发所述上行 数据包。  When the bearer ID of the bearer established by the corresponding service on the port number of the receiving end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the corresponding service on the port number of the receiving end is parsed. After the uplink data packet on the bearer is obtained, the IP address of the requesting end of the uplink data packet, the port number of the requesting end, and the bearer ID of the bearer established by the corresponding service on the port number of the requesting end are obtained. The uplink data packet is forwarded on the bearer established by the corresponding service on the port number of the requesting end.
19、 一种数据本地交换装置, 其特征在于, 包括:  19. A data local switching device, comprising:
用于同请求端建立承载, 且同接收端建立承载的模块;  A module for establishing a bearer with the requesting end and establishing a bearer with the receiving end;
用于在同所述请求端建立承载过程中获取第一地址信息的模块, 所述第一 地址信息包括所述请求端的地址信息和所述发送端的地址信息;  a module for acquiring first address information in the process of establishing a bearer with the requesting end, where the first address information includes address information of the requesting end and address information of the sending end;
用于在同所述接收端建立承载过程中获取第二地址信息的模块, 所述第二 地址信息包括所述请求端的地址信息和所述发送端的地址信息;  a module for acquiring second address information in the process of establishing a bearer with the receiving end, where the second address information includes address information of the requesting end and address information of the sending end;
用于当所述第一地址信息与所述第二地址信息相同时, 将所述请求端和所 述接收端绑定的模块, 以及将所述请求端或接收端向对端发送的数据在所述同 所述请求端建立的承载以及所述同所述接收端建立的承载上执行本地交换的模 块。 When the first address information is the same as the second address information, the module that binds the requesting end and the receiving end, and the data that is sent by the requesting end or the receiving end to the opposite end are And the module that performs the local exchange on the bearer established by the requesting end and the bearer established by the receiving end.
20、 如权利要求 19所述的装置, 其特征在于, 所述用于在同所述请求端建 立承载过程中获取第一地址信息的模块, 包括: The device of claim 19, wherein the means for obtaining the first address information during the establishment of the bearer with the requesting end comprises:
用于在同所述请求端建立承载过程中, 从非接入层消息中获取所述第一地 址信息的单元; 或  Means for obtaining the first address information from a non-access stratum message during the establishment of the bearer with the requesting end; or
用于接收移动管理实体 MME发送的所述第一地址信息的单元,所述第一地 址信息由所述 MME在同请求端建立承载过程中获取;  a unit for receiving the first address information sent by the mobility management entity MME, where the first address information is obtained by the MME in establishing a bearer process with the requesting end;
所述用于在同所述接收端建立承载过程中获取第二地址信息的模块, 包括: 用于在同所述接收端建立承载过程中, 从非接入层消息中获取所述第二地 址信息的单元; 或  The module for acquiring the second address information in the process of establishing the bearer with the receiving end, the method includes: acquiring, by the non-access stratum message, the second address, in the process of establishing a bearer with the receiving end Unit of information; or
接收移动管理实体 MME发送的所述第二地址信息的单元,所述第二地址信 息由所述 MME在同接收端建立承载过程中获取。  The unit that receives the second address information sent by the mobility management entity MME, where the second address information is obtained by the MME in establishing a bearer with the receiving end.
21、 如权利要求 19所述的装置, 其特征在于, 所述用于当所述第一地址信 息与所述第二地址信息相同时, 将所述请求端和所述接收端绑定的模块, 包括: 用于将所述请求端的 IP地址和所述接收端的 IP地址绑定的单元;  The device according to claim 19, wherein the module for binding the requesting end and the receiving end when the first address information and the second address information are the same The method includes: means for binding an IP address of the requesting end to an IP address of the receiving end;
用于将所述请求端的端口号和所述接收端的端口号绑定的单元;  a unit for binding a port number of the requesting end to a port number of the receiving end;
用于将所述请求端的端口号上对应业务所建立的承载的承载身份标识 ID与 所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定的单元。  And a unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end.
22、 如权利要求 21所述的装置, 其特征在于, 所述装置还包括:  The device of claim 21, wherein the device further comprises:
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份标 识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定 的单元将所述请求端的端口号上对应业务所建立的承载的承载 ID与一个所述接 收端的端口号上对应业务所建立的承载的承载 ID绑定时, 在所述接收端的端口 号上对应业务所建立的承载转发所述请求端的端口号上对应业务所建立的承载 上的上行数据包的模块; 或者,  The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the bearer corresponding to the service is established on the port number of the receiving end. Transmitting, by the port number of the requesting end, a module of an uplink data packet on a bearer established by the service; or
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份标 识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定 的单元将所述接收端的端口号上对应业务所建立的承载的承载 ID与一个所述请 求端的端口号上对应业务所建立的承载的承载 ID绑定时, 在所述请求端的端口 号上对应业务所建立的承载上转发所述接收端的端口号上对应业务所建立的承 载上的上行数据包的模块; 或者, The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, The bearer ID of the bearer established by the corresponding service on the port number of the receiving end and one of the above-mentioned requests When the bearer ID of the bearer of the corresponding service is bound to the port number of the requesting end, the uplink of the bearer established by the corresponding service on the port number of the receiving end is forwarded on the bearer corresponding to the service on the port number of the requesting end. Module of the packet; or,
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份标 识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定 的单元将所述请求端的端口号上对应业务所建立的承载的承载 ID与多个所述接 收端的端口号上对应业务所建立的承载的承载 ID绑定时, 解析所述请求端的端 口号上对应业务所建立的承载上的上行数据包, 获得所述上行数据包的接收端 的 IP地址、 所述接收端的端口号和所述接收端的端口号上对应业务所建立的承 载的承载 ID后, 在所述接收端的端口号上对应业务所建立的承载上转发所述上 行数据包的模块; 或者,  The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, When the bearer ID of the bearer established by the corresponding service on the port number of the requesting end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the corresponding service established on the port number of the requesting end is parsed. After receiving the uplink data packet, obtaining the IP address of the receiving end of the uplink data packet, the port number of the receiving end, and the bearer ID of the bearer established by the corresponding service on the port number of the receiving end, the port at the receiving end a module that forwards the uplink data packet on a bearer established by the corresponding service; or
在所述用于将所述请求端的端口号上对应业务所建立的承载的承载身份标 识 ID与所述接收端的端口号上对应业务所建立的承载的承载身份标识 ID绑定 的单元将所述接收端的端口号上对应业务所建立的承载的承载 ID与多个所述请 求端的端口号上对应业务所建立的承载的承载 ID绑定时, 解析所述接收端的端 口号上对应业务所建立的承载上的上行数据包, 获得所述上行数据包的请求端 的 IP地址、 所述请求端的端口号和所述请求端的端口号上对应业务所建立的承 载的承载 ID后, 在所述请求端的端口号上对应业务所建立的承载上转发所述上 行数据包的模块。  The unit for binding the bearer identity ID of the bearer established by the corresponding service on the port number of the requesting end to the bearer identity ID of the bearer established by the corresponding service on the port number of the receiving end, When the bearer ID of the bearer established by the corresponding service on the port number of the receiving end is bound to the bearer ID of the bearer established by the corresponding service on the port number of the requesting end, the corresponding service established by the port number of the receiving end is parsed. After the uplink data packet is carried, the IP address of the requesting end of the uplink data packet, the port number of the requesting end, and the bearer ID of the bearer established by the corresponding service on the port number of the requesting end are obtained, and the port at the requesting end is used. A module that forwards the uplink data packet on a bearer established by the corresponding service.
PCT/CN2010/070949 2009-03-10 2010-03-10 Data local exchange method, device and system thereof WO2010102561A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009101270365A CN101835131B (en) 2009-03-10 2009-03-10 Method, device and system for local exchange of data
CN200910127036.5 2009-03-10

Publications (1)

Publication Number Publication Date
WO2010102561A1 true WO2010102561A1 (en) 2010-09-16

Family

ID=42719021

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/070949 WO2010102561A1 (en) 2009-03-10 2010-03-10 Data local exchange method, device and system thereof

Country Status (2)

Country Link
CN (1) CN101835131B (en)
WO (1) WO2010102561A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826276A (en) * 2012-11-19 2014-05-28 中国联合网络通信集团有限公司 Data transmission method, base station, management control center and system
CN116321079A (en) * 2023-04-12 2023-06-23 深圳市英唐数码科技有限公司 Data transmission method, system and medium based on android WIFI book transfer software

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102958046B (en) * 2011-08-22 2018-07-27 中兴通讯股份有限公司 A kind of control method, system and the DRA of mobile terminal accessing business
CN103167020B (en) * 2013-02-04 2016-02-10 华平信息技术(南昌)有限公司 The method and system of the preset display of network synchronization file
CN104618849A (en) * 2013-11-01 2015-05-13 中兴通讯股份有限公司 Local exchange method and system of terminal
WO2017210824A1 (en) * 2016-06-06 2017-12-14 海能达通信股份有限公司 Cluster service data transmission control method, apparatus, and device
CN109587824A (en) * 2017-09-28 2019-04-05 华为技术有限公司 A kind of method and apparatus for establishing carrying

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303224A (en) * 1999-12-10 2001-07-11 朗迅科技公司 Improved call from mobile user to mobile user
CN1792075A (en) * 2003-05-19 2006-06-21 索尼德国有限责任公司 Confinement of data transfers to a local area network
CN1852237A (en) * 2005-10-08 2006-10-25 华为技术有限公司 Method and system for realizing random address space UE communication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309505B (en) * 2007-05-15 2011-12-07 华为技术有限公司 Voice service routing method and system in radio communication system
CN101159905B (en) * 2007-11-07 2010-04-21 华为技术有限公司 Local exchange method, core network equipment and network system of implementing in base station controller
CN101374355B (en) * 2008-10-24 2013-06-05 华为技术有限公司 Method and apparatus for implementing local exchange

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303224A (en) * 1999-12-10 2001-07-11 朗迅科技公司 Improved call from mobile user to mobile user
CN1792075A (en) * 2003-05-19 2006-06-21 索尼德国有限责任公司 Confinement of data transfers to a local area network
CN1852237A (en) * 2005-10-08 2006-10-25 华为技术有限公司 Method and system for realizing random address space UE communication

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826276A (en) * 2012-11-19 2014-05-28 中国联合网络通信集团有限公司 Data transmission method, base station, management control center and system
CN103826276B (en) * 2012-11-19 2017-04-12 中国联合网络通信集团有限公司 Data transmission method, base station, management control center and system
CN116321079A (en) * 2023-04-12 2023-06-23 深圳市英唐数码科技有限公司 Data transmission method, system and medium based on android WIFI book transfer software
CN116321079B (en) * 2023-04-12 2023-11-17 深圳市英唐数码科技有限公司 Data transmission method, system and medium based on android WIFI book transfer software

Also Published As

Publication number Publication date
CN101835131A (en) 2010-09-15
CN101835131B (en) 2012-12-12

Similar Documents

Publication Publication Date Title
JP5476646B2 (en) Method for establishing a push session and push system and apparatus related thereto
JP5270657B2 (en) Mobility management (MM) and session management (SM) for SAE / LTE
US9113377B2 (en) Partial session transfer method and user equipment for the same
US20150195739A1 (en) Apparatus and method for removing path management
WO2010102561A1 (en) Data local exchange method, device and system thereof
WO2019017837A1 (en) Network security management method and apparatus
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
WO2018077243A1 (en) Dual-sim card dual-call connection communication method, terminal, network and system
WO2011144134A1 (en) Method, apparatus and system for pushing information
WO2008151544A1 (en) Method, apparatus and system for establishing bearer connection
WO2013166913A1 (en) Uplink/downlink transmission method for small amount of data, and corresponding terminal and mobility management unit
US9125053B2 (en) Communication system, connection control apparatus, mobile terminal, base station control method, service request method, and program
WO2011160587A1 (en) Method and system for connecting a dual-stack terminal to networks
WO2010015188A1 (en) Method, device and system for accessing mobile core network of access points
WO2008022597A1 (en) Method and device for terminal handover, method and device for getting address of origin access entity
WO2009046666A1 (en) Addressing method of policy decision function entity, network element and network system
WO2009105956A1 (en) A control method and system for establishing multiple tunnels in wireless communication network
TW202207751A (en) Multi-access pdu session state synchronization between ue and network
WO2011011945A1 (en) Message-sending method and serving gprs support node
JP4842484B2 (en) Method and apparatus for channel optimization during point-to-point protocol (PPP) session request period
WO2012130133A1 (en) Access point and terminal access method
WO2009140917A1 (en) Method, system and base station subsystem for establishing user plane single tunnel
WO2015070377A1 (en) Multiparty call method and apparatus
WO2011069448A1 (en) Control method, device and communication system of direct tunnel
WO2011003334A1 (en) Communication method, device and system

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: 10750357

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10750357

Country of ref document: EP

Kind code of ref document: A1