WO2018113363A1 - Data processing method and apparatus - Google Patents

Data processing method and apparatus Download PDF

Info

Publication number
WO2018113363A1
WO2018113363A1 PCT/CN2017/103084 CN2017103084W WO2018113363A1 WO 2018113363 A1 WO2018113363 A1 WO 2018113363A1 CN 2017103084 W CN2017103084 W CN 2017103084W WO 2018113363 A1 WO2018113363 A1 WO 2018113363A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
address
message
data
sent
Prior art date
Application number
PCT/CN2017/103084
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 WO2018113363A1 publication Critical patent/WO2018113363A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a data processing method and apparatus.
  • control and forwarding means that the control and forwarding functions of the mobile network are logically divided, and different logical network elements are responsible for the corresponding functions, thereby realizing centralized function control, resource elastic deployment, flexible service deployment, and control planes.
  • User planes can be evolved separately. Control functions are borne by a centralized controller. The user planes after the separation can be distributed according to the service requirements, and various processing and forwarding actions including routing, modification, and statistics of the user packets are efficiently performed according to the instructions of the control plane.
  • control plane function reconstruction technology splits the control logic of the existing network into independent functional modules, and then combines different network control planes according to different application scenarios.
  • the Mobility Management Entity supports both Mobility Management (MM) functions and Session Management (SM) functions.
  • MM functions are, for example, attachment, tracking area update, etc.
  • SM functions are, for example, establishment, modification, and deletion of a public data network connection.
  • MM and SM exist as two independent functional modules.
  • the main functions of the MM are user registration, unreachable discovery by the UE (User Equipment), location registration, UE status transition, connected state, and inactive (Inactive). State mobility, UE mobility restrictions, UE mobility management control, anchor point selection, user plane path establishment, etc.
  • the main functions of the SM are packet forwarding and detection, session control, user plane function selection, and allocation of UE IP (Internet Protocol) addresses (connection type is IP).
  • IP Internet Protocol
  • the 3rd Generation Partnership Project proposes a scheme for transmitting data messages using the control plane.
  • the control plane transmits the data packet without the IP address of the UE, and when the UE attaches, the network may choose to allocate an IP address for the UE, or may choose not to allocate an IP address for the UE.
  • a related art scheme employs an IP address assigned to a UE when the UE attaches. Such a scheme may cause a large amount of signaling overhead for a certain type of IoT user, such as an in-vehicle device, due to frequent replacement of the user plane anchor point.
  • the technical problem to be solved by the present disclosure is to provide a data processing method and apparatus, which solves the problem of assigning an IP address to a UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • an embodiment of the present disclosure provides a data processing method, which is applied to a core network-mobility management function (CN (Core Network)-MM), including:
  • the step of acquiring the user subscription information of the UE according to the attach request message includes:
  • the data processing method further includes:
  • the first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  • the data processing method further includes:
  • the first data packet is forwarded to a destination network (DN).
  • DN destination network
  • the data processing method further includes:
  • the second data packet does not carry the IP address, the second data packet is filled in by the CN-MM or the CN-SM, and the second data packet is used.
  • the data packet is forwarded to the DN;
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • forwarding the first data packet or the second data packet to the DN includes:
  • UP-GW user plane-gateway
  • Packet out data packet delivery manner
  • the step of selecting the CN-SM for the UE according to the first data packet includes:
  • the CN-SM is selected for the UE according to the user subscription information of the UE, the location information of the UE, or the type information of the UE.
  • the create session request message carries the indication information that the UE is an IoT user and session related information, and the CN-SM allocates an IP address to the UE according to the session related information, and creates a UE context.
  • the create session request message further carries the first data packet.
  • the data processing method further includes:
  • a detach accept message is returned to the UE.
  • an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a core network-mobility management function (CN-MM), including:
  • a first receiving module configured to receive an attach request message sent by the UE
  • a first acquiring module configured to acquire user subscription information of the UE according to the attach request message
  • a first returning module configured to, according to the user subscription information, determine that the UE is an IoT user, and directly return an attach accept message to the UE.
  • the data processing apparatus further includes:
  • the first sending module is configured to: when the first data packet sent by the UE is received, select a CN-SM according to the first data packet, and send a create session request message to the CN-SM. ;
  • a second receiving module configured to receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message;
  • the first data packet is not assigned an IP address to the UE or is last time
  • the data processing apparatus further includes:
  • a second sending module configured to send an ACK message to the UE, where the ACK message carries an effective time of the IP address and the IP address;
  • the first forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
  • the data processing apparatus further includes:
  • a third receiving module configured to receive a second data packet sent by the UE
  • the second forwarding module is configured to forward the second data packet to the DN if the second data packet carries the IP address;
  • a third forwarding module configured to fill the IP address into the second data packet by using the CN-MM or the CN-SM, if the second data packet does not carry the IP address Afterwards, forwarding the second data packet to the DN;
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the first forwarding module includes:
  • a first forwarding unit configured to send, by using the CN-SM, the first data packet to the UP-GW according to a packet out manner, and forwarding, by the UP-GW, the first data packet to the DN;
  • the second forwarding module includes:
  • a second forwarding unit configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN;
  • the third forwarding module includes:
  • a third forwarding unit configured to send, by using the CN-SM, the second data packet to the UP-GW according to the packetout manner, and forward the second data packet to the DN by using the UP-GW .
  • the create session request message further carries the first data packet.
  • an embodiment of the present disclosure further provides a data processing method, which is applied to a CN-SM, and includes:
  • the create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
  • the data processing method further includes:
  • the first data packet is forwarded to the DN.
  • the data processing method further includes:
  • the CN-MM When the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, the second data packet is forwarded to the DN;
  • the CN-MM When the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, the CN-MM or the CN-SM After the IP address is filled in the second data packet, the second data packet is forwarded to the DN;
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • forwarding the first data packet or the second data packet to the DN includes:
  • the create session request message carries an indication that the UE is an IoT user.
  • Information and session related information are provided and session related information;
  • the step of assigning an IP address to the UE according to the create session request message, and creating a UE context includes:
  • an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a CN-SM, and includes:
  • a fifth receiving module configured to receive a create session request message sent by the CN-MM
  • a second allocation module configured to allocate an IP address to the UE according to the create session request message, and create a UE context
  • a third returning module configured to return a create session response message to the CN-MM, where the create session response message carries the IP address
  • the create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
  • an embodiment of the present disclosure further provides a data processing method, which is applied to a UE, including:
  • the attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
  • the data processing method further includes:
  • the first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  • the data processing method further includes:
  • the ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return.
  • a message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
  • the data processing method further includes:
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the data processing method further includes:
  • the first data packet is a data packet of the first service
  • the data processing method After receiving the ACK message sent by the CN-MM, the data processing method further includes:
  • a timer is started, and the valid time of the IP address is used as the timer time of the timer.
  • the data processing method further includes:
  • the related signaling connection is deleted.
  • an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a UE, including:
  • a third sending module configured to send an attach request message to the CN-MM
  • a sixth receiving module configured to receive an attach accept message returned by the CN-MM
  • the attach accept message is that the CN-MM acquires the location according to the attach request message. After the user subscription information of the UE is described, an attach accept message directly returned when the UE is an IoT user is determined according to the user subscription information.
  • an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a CN-MM, wherein the data processing apparatus includes: a processor, a memory, and a transceiver, wherein:
  • the processor is configured to read a program in the memory and perform the following process:
  • the transceiver is configured to receive and transmit data
  • the memory is capable of storing data used by the processor when performing operations.
  • an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a CN-SM, wherein the data processing apparatus includes: a processor, a memory, and a transceiver, wherein:
  • the processor is configured to read a program in the memory and perform the following process:
  • the create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time a packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
  • the transceiver is configured to receive and transmit data
  • the memory is capable of storing data used by the processor when performing operations.
  • an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a UE, wherein the data processing apparatus includes: a processor, a memory, and a transceiver, where:
  • the processor is configured to read a program in the memory and perform the following process:
  • the attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
  • the transceiver is configured to receive and transmit data
  • the memory is capable of storing data used by the processor when performing operations.
  • the CN-MM after receiving the attach request message sent by the UE, acquires the user subscription information of the UE according to the attach request message; and then determines, according to the user subscription information, that the UE is an IoT user, This type of UE selects CN-SM and returns an attach accept message directly to the UE. In this way, when the UE is attached, the IP address is not allocated to the IoT user, which avoids the problem of assigning an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • FIG. 1 is a flow chart of a data processing method applied to a CN-MM in some embodiments of the present disclosure
  • FIG. 2 is a flow chart of a UE attaching to a network in a certain embodiment of the present disclosure, and the network selection does not assign an IP address to the UE;
  • FIG. 3 is another flow chart of a data processing method applied to a CN-MM in some embodiments of the present disclosure
  • FIG. 4 is a flow chart of the UE not attaching an IP address to the first data transmission and invalidating the IP address when the data is transmitted again in a scenario in which the UE is attached to the network and the network selects not to allocate an IP address to the UE in some embodiments of the present disclosure;
  • FIG. 5 is a diagram of a UE attached to a network in some embodiments of the present disclosure, and network selection is not allocated to the UE. Another flow chart of the UE not transmitting an IP address for the first data transmission in the IP address scenario and invalidating the IP address when the data is transmitted again;
  • FIG. 6 is a schematic diagram of an embodiment in which the UE is attached to the network when the CN is an SDN-based network, and the network does not allocate an IP address to the UE when the CN is based on the SDN, the IP address is not allocated when the UE first transmits data, and the IP address is invalid when the data is transmitted again.
  • the UE in a scenario where the UE is an SDN-based SDN, the UE is attached to the network, and the network selects not to allocate an IP address to the UE, the IP address is not allocated when the UE first transmits data and the IP address is invalid during data transmission again.
  • FIG. 8 is still another flowchart of a data processing method applied to a CN-MM in some embodiments of the present disclosure
  • FIG. 9 is a flow chart of the IP address valid when the UE re-transmits the data packet and re-transmits the data after the IP address is allocated for the first data transmission in the scenario where the UE is attached to the network and the network selects not to allocate an IP address to the UE in some embodiments of the present disclosure.
  • the UE in a scenario where the UE is SDN-based, the UE is attached to the network, and the network selects not to allocate an IP address to the UE, the UE retransmits the data packet and the data again after the IP address is allocated for the first data transmission.
  • FIG. 11 is still another flowchart of a data processing method applied to a CN-MM in some embodiments of the present disclosure
  • FIG. 12 is a flowchart of de-attaching in a scenario in which a UE is attached to a network and the network selects not to allocate an IP address to the UE in some embodiments of the present disclosure
  • FIG. 13 is a flow chart of a data processing method applied to a CN-SM in some embodiments of the present disclosure
  • FIG. 14 is a flow diagram of a data processing method applied to a UE in some embodiments of the present disclosure
  • 15 is a schematic structural diagram of a data processing apparatus applied to a CN-MM in some embodiments of the present disclosure
  • 16 is a schematic structural diagram of a data processing apparatus applied to a CN-SM according to some embodiments of the present disclosure
  • FIG. 17 is a schematic structural diagram of a data processing apparatus applied to a UE in some embodiments of the present disclosure
  • FIG. 18 is a schematic structural diagram of a core network device in some embodiments of the present disclosure.
  • FIG. 19 is a schematic structural diagram of a terminal in some embodiments of the present disclosure.
  • a data processing method for applying to a CN-MM, including:
  • Step 101 Receive an attach request message sent by the UE.
  • the UE sends an attach request message to the RAN (Radio Access Network), and the RAN forwards the attach request message to the CN-MM.
  • the RAN Radio Access Network
  • Step 102 Acquire user subscription information of the UE according to the attach request message.
  • the CN-MM receives the attach request message of the UE, obtains the user subscription information of the UE according to the attach request message, and then determines whether to select the CN-SM for the UE according to the user subscription information.
  • the selected CN-SM allocates an IP address to the UE and creates a UE context.
  • step 102 includes:
  • Step 1021 Obtain user subscription information of the UE from a pre-stored subscription database according to the user identity identifier included in the attach request message.
  • the attach request message sent by the UE includes a user ID
  • the CN-MM can obtain the subscription information of the user from the subscription database according to the user identity.
  • the user subscription information includes information such as user attributes and application identifiers.
  • Step 103 Determine, according to the user subscription information, that the UE is an IoT user, and directly return an attach accept message to the UE.
  • the CN-MM when determining that the UE is an IoT user according to the user subscription information, the CN-MM decides not to select the CN-SM for this type of UE, and directly returns an attach accept message to the UE. In this way, when the UE is attached, the CN-SM does not assign an IP address to the UE of this type, which avoids the problem that the UE allocates an IP address when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM may send an attach accept message to the RAN, and the RAN forwards the attach accept message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the signaling process in which the UE is attached to the network in the embodiment of the present disclosure and the network selects not to allocate an IP address to the UE is exemplified as follows.
  • the foregoing signaling process in the embodiment of the present disclosure includes:
  • Step 201 The UE sends an attach request message to the RAN, where the attach request message includes the user identity.
  • Step 202 After receiving the attach request message, the RAN adds its own BS (Base Station) ID to the attach request message, and then sends the message to the CN-MM, where the attach request message includes the user identity and the current UE attached base station.
  • BS ID Base Station
  • Step 203 After receiving the attach request message, the CN-MM stores or updates the UE location information according to the BS ID. At the same time, the CN-MM obtains the user subscription information from the subscription database according to the user identity. The CN-MM determines that the UE is an IoT user according to the user subscription information, and decides not to select the CN-SM for this type of UE. The CN-MM directly sends an attach accept message to the RAN.
  • step 204 the RAN sends an attach accept message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • a data processing method for applying to the CN-MM, including:
  • Step 301 Receive an attach request message sent by the UE.
  • the UE sends an attach request message to the RAN, and the RAN forwards the attach request message to the CN-MM.
  • Step 302 Acquire user subscription information of the UE according to the attach request message.
  • the CN-MM receives the attach request message of the UE, obtains the user subscription information of the UE according to the attach request message, and then determines whether to select the CN-SM for the UE according to the user subscription information.
  • the user subscription information includes information such as user attributes and application identifiers.
  • Step 303 Determine, according to the user subscription information, that the UE is an IoT user, and directly return an attach accept message to the UE.
  • the CN-MM when determining that the UE is an IoT user according to the user subscription information, the CN-MM decides not to select the CN-SM for this type of UE, and directly returns an attach accept message to the UE. In this way, when the UE is attached, the CN-SM does not assign an IP address to the UE of this type, which avoids the problem that the UE allocates an IP address when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM may send an attach accept message to the RAN, and the RAN forwards the attach accept message to the UE.
  • the method further includes:
  • Step 304 When receiving the first data packet sent by the UE, select a CN-SM for the UE according to the first data packet, and send a create session request message to the CN-SM.
  • the first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  • the first data packet is a packet sent by the UE during the first data transmission.
  • the network has not assigned an IP address to the UE, and the CN-MM needs to be requested to select a suitable CN-SM.
  • the first data packet is a message that is sent by the UE again and determines that the last time the allocated IP address exceeds the corresponding valid time. Since the last assigned IP address exceeds the valid time, the CN-MM needs to be re-requested. Choose a suitable CN-SM. The UE starts counting the allocated IP address after a data transmission is completed, and if the corresponding valid time is exceeded, the IP address is treated as an invalid address.
  • the CN-MM When receiving the first data packet, the CN-MM selects the CN-SM for the UE according to the first data packet, and sends a create session request message to the CN-SM, so that the CN-SM allocates a temporary IP address to the UE, and Create a UE context.
  • the CN-MM receives the data packet sent by the UE, and selects an appropriate SM for the UE.
  • the continuity of the session and the service can be ensured.
  • the step of selecting a CN-SM for the UE according to the first data packet includes:
  • the CN-SM is selected for the UE according to the user subscription information of the UE, the location information of the UE, or the type information of the UE.
  • the CN-MM can obtain the user subscription information, the UE location, or the UE type UE type of the UE according to the message carried in the first data packet, such as the user identity identifier.
  • CN-MM selects CN-SM according to user subscription information, UE location or UE type.
  • Step 305 Receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
  • the CN-SM receives the Create Session Request message, allocates an IP address to the UE according to the Create Session Request message, and creates a UE context.
  • the CN-MM receives the created session response message returned by the CN-SM and carries the IP address.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the create session request message carries the indication information that the UE is an IoT user and session related information (SM related information), and the CN-SM allocates an IP address to the UE according to the session related information, And create a UE context.
  • SM related information session related information
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the method further includes:
  • Step 306 Send an ACK message to the UE, where the ACK message carries the IP address and the valid time of the IP address.
  • the IP address assigned by the CN-SM to the UE is a temporary IP address
  • the ACK message sent by the CN-MM to the UE carries the valid time of the IP address and the IP address.
  • the UE After receiving the IP address, the UE performs configuration according to the IP address, and when sending the data packet, The IP address is encapsulated into a data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
  • the UE may start a timer after the data packet of the first service is completely sent, and use the effective time of the IP address as the timer. Time, when the timer reaches the timing, it is determined that the IP address is an invalid address.
  • the method further includes:
  • Step 307 After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to the DN.
  • the CN-MM or the CN-SM forwards the first data packet to the DN.
  • the CN-SM sends the first data packet to the UP-GW, and the UP-GW forwards the first data packet to the DN.
  • the UP-GW after receiving the first return data packet returned by the DN, the UP-GW sends the first return data packet to the CN-SM, and the CN-SM sends the first return data packet to the CN-MM, and then forwards the packet. Go to the UE.
  • the UE in the scenario where the UE is attached to the network, and the network selects not to allocate an IP address to the UE, the UE first allocates an IP address for the first data transmission and the IP address that is last allocated when the data is transmitted again exceeds the corresponding valid time.
  • the signaling process is illustrated as follows.
  • the foregoing signaling process of the embodiment of the present disclosure includes:
  • Step 401 The UE encapsulates the sent data into a Data Transfer (ie, a first data packet), and sends the Data Transfer to the RAN.
  • a Data Transfer ie, a first data packet
  • step 402 the RAN forwards the Data Transfer to the CN-MM.
  • Step 403 After receiving the Data Transfer, the CN-MM selects the CN-SM for the UE according to a message carried by the Data Transfer, such as a user identity.
  • Step 404 The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM.
  • the create session request message carries the indication information that the UE is the IoT user and the SM related information.
  • Step 405 The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
  • Step 406 The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
  • Steps 407-408 The CN-MM sends an ACK message to the UE, where the ACK message carries the valid time of the IP address and the IP address.
  • the UE When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
  • the network (CN-MM or CN-SM) fills the IP address into the Data Transfer and sends it to the DN.
  • Step 411 The UP-GW sends the first return data packet returned by the DN to the CN-SM.
  • Steps 412-414 forwarding the first return data message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the create session request message further carries the first data packet.
  • the signaling overhead is reduced by carrying the data packet to be sent by the UE in the create session request message.
  • the UE in the scenario where the UE is attached to the network and the network selects not to allocate an IP address to the UE, the UE does not allocate an IP address for the first data transmission and the IP address that was last allocated when the data is transmitted again exceeds the corresponding valid time.
  • a signaling process is illustrated as follows.
  • the foregoing signaling process of the embodiment of the present disclosure includes:
  • Step 501 The UE encapsulates the sent data into Data Transfer (ie, the first data packet), and sends the Data Transfer to the RAN.
  • Data Transfer ie, the first data packet
  • step 502 the RAN forwards the Data Transfer to the CN-MM.
  • Step 503 after the CN-MM receives the Data Transfer, according to the data transfer Information, such as user identity, selects CN-SM for the UE.
  • the data transfer Information such as user identity
  • Step 504 The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM.
  • the create session request message carries the indication information of the IoT user and the SM related information, and creates a session request message. Carry Data Transfer.
  • Step 505 The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
  • Step 506 The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
  • Steps 507-508 the CN-MM sends an ACK message to the UE, where the ACK message carries the valid time of the IP address and the IP address.
  • the UE When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
  • step 509 the CN-SM fills the IP address into the Data Transfer and sends it to the DN.
  • Step 510 The UP-GW sends the first return data packet returned by the DN to the CN-SM.
  • Steps 511-513 forwarding the first return data message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the signaling overhead is reduced by carrying the data packet to be sent by the UE in the create session request message.
  • forwarding the first data packet to the DN includes:
  • CN-SM when the CN is based on SDN (using the Open Flow protocol), CN-SM will be used.
  • the first data packet is sent to the UP-GW in the manner of Packet Out, thereby adapting to the SDN.
  • the UP-GW after receiving the first return data packet returned by the DN, the UP-GW sends the first return data packet to the device according to the data packet report (Packer in). CN-SM is forwarded to the UE.
  • Packer in the data packet report
  • the UE when the UE is attached to the network, and the network selects not to allocate an IP address to the UE, when the CN is based on the SDN, the UE first allocates an IP address for the first data transmission and the last allocated IP address when the data is transmitted again. Another signaling procedure that exceeds the corresponding valid time is illustrated below.
  • the foregoing signaling process of the embodiment of the present disclosure includes:
  • Step 601 The UE encapsulates the sent data into Data Transfer (ie, the first data packet), and sends the Data Transfer to the RAN.
  • Data Transfer ie, the first data packet
  • step 602 the RAN forwards the Data Transfer to the CN-MM.
  • Step 603 After receiving the Data Transfer, the CN-MM selects the CN-SM for the UE according to a message carried by the Data Transfer, such as a user identity.
  • Step 604 The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM.
  • the create session request message carries the indication information that the UE is the IoT user and the SM related information.
  • Step 605 The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
  • Step 606 The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
  • Steps 607-608 the CN-MM sends an ACK message to the UE, where the ACK message carries the valid time of the IP address and the IP address.
  • the UE When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
  • Steps 609-610 the network (CN-MM or CN-SM) fills the IP address into the Data Transfer, and the CN-SM sends the Data Transfer to the UP-GW in the manner of Packet Out, and the UP-GW sends the data to the DN.
  • the network CN-MM or CN-SM
  • step 611 the UP-GW sends the first return data packet returned by the DN to the CN-SM in the manner of Packet in.
  • Steps 612-614 forwarding the first return data message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the first data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
  • the UE when the UE is attached to the network, and the network selects not to allocate an IP address to the UE, when the CN is based on the SDN, the UE first allocates an IP address for the first data transmission and the last allocated IP address when the data is transmitted again. Another signaling procedure that exceeds the corresponding valid time is illustrated below.
  • the foregoing signaling process of the embodiment of the present disclosure includes:
  • Step 701 The UE encapsulates the sent data into Data Transfer (ie, the first data packet), and sends the Data Transfer to the RAN.
  • Data Transfer ie, the first data packet
  • step 702 the RAN forwards the Data Transfer to the CN-MM.
  • Step 703 After receiving the Data Transfer, the CN-MM selects the CN-SM for the UE according to a message carried by the Data Transfer, such as a user identity.
  • Step 704 The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM.
  • the create session request message carries the indication information of the IoT user and the SM related information, and creates a session request message. Carry Data Transfer.
  • Step 705 The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
  • Step 706 The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
  • Steps 707-708 the CN-MM sends an ACK message to the UE, and the ACK message carries the IP address.
  • the UE When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
  • step 709 the CN-SM fills the IP address into the Data Transfer, and sends the Data Transfer to the UP-GW in the manner of Packet Out, and sends it to the DN by the UP-GW.
  • step 710 the UP-GW sends the first return data packet returned by the DN to the CN-SM in the manner of Packet in.
  • Steps 711-713 forwarding the first return data message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device).
  • the temporary IP address can save signaling overhead.
  • the signaling overhead is reduced by carrying the data packet to be sent by the UE in the create session request message.
  • the first data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
  • a data processing method is provided. After the step 305, the method further includes:
  • Step 308 Receive a second data packet sent by the UE.
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the second data packet and the first data packet are data packets of the first service sent by the UE, and the UE sends the second data packet to continue using the IP address.
  • the second data packet is a data packet of the second service that is sent by the UE when the IP address does not exceed the corresponding valid time, and the UE sends the second data packet to continue using the IP address.
  • the UE starts timing the allocated IP address after the data transmission of the first service is completed. If the corresponding valid time is exceeded, the IP address is taken as the invalid address. Reason.
  • the UE may start a timer, and use the effective time of the IP address as the timer time. When the timer reaches the timing, determine the IP address as Invalid address.
  • Step 309 If the second data packet carries the IP address, forward the second data packet to the DN.
  • the UE after acquiring the IP address according to the ACK message, the UE fills the IP address into the second data packet and then sends the IP address to the CN.
  • the CN-MM or the CN-SM determines that the second data packet carries the IP address, and directly forwards the second data packet to the DN.
  • Step 310 If the second data packet does not carry the IP address, the IP address is filled in the second data packet by using the CN-MM or the CN-SM. The second data message is forwarded to the DN.
  • the second data packet sent before the UE receives the ACK message does not carry the IP address.
  • the CN-MM or the CN-SM forwards the second data packet to the DN.
  • the IP address that is last allocated when the UE retransmits the data packet after the IP address is allocated for the first data transmission and the data transmission is not exceeded is illustrated as follows.
  • the foregoing signaling process of the embodiment of the present disclosure includes:
  • Step 901 The UE encapsulates the sent data into a Data Transfer (ie, a second data packet), and sends the Data Transfer to the RAN.
  • a Data Transfer ie, a second data packet
  • Steps 902-904 after receiving the Data Transfer, the CN (CN-MM or CN-SM) checks the IP address of the Data Transfer. If the Data Transfer carries the IP address, the Data Transfer is forwarded to the DN; if the Data Transfer is not carried IP address, after filling the IP address into Data Transfer, forward Data Transfer to the DN.
  • the CN CN-MM or CN-SM
  • Step 905 The UP-GW sends the second return data packet returned by the DN to the CN-SM.
  • Steps 906-908 forwarding the second return data message to the UE.
  • the data processing method of the embodiment of the present disclosure does not distinguish the IoT user when the UE is attached.
  • the IP address is used to avoid the problem of assigning an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the temporarily assigned IP address does not exceed the valid time, the temporarily allocated IP address can be directly used, which saves signaling overhead.
  • forwarding the second data packet to the DN includes:
  • the second data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
  • the UP-GW when the CN is based on the SDN, after the UP-GW receives the second return data packet returned by the DN, the UP-GW sends the second return data packet to the CN- according to the data packet reported to the Packet_in. SM, then forwarded to the UE.
  • the UE when the UE is attached to the network and the network selects not to allocate an IP address to the UE, when the CN is based on the SDN, the UE transmits the IP address after the first data transmission, and then retransmits the data packet and retransmits the data.
  • a signaling procedure in which the assigned IP address does not exceed the corresponding valid time is illustrated as follows.
  • the foregoing signaling process of the embodiment of the present disclosure includes:
  • Step 1001 The UE encapsulates the sent data into a Data Transfer (ie, a second data packet), and sends the Data Transfer to the RAN.
  • a Data Transfer ie, a second data packet
  • Step 1002-1004 After receiving the Data Transfer, the CN (CN-MM or CN-SM) checks the IP address of the Data Transfer. If the Data Transfer carries an IP address, the CN-SM sends the Data Transfer to the Packet Out mode. The UP-GW is sent to the DN by the UP-GW. If the Data Transfer does not carry the IP address, the IP address is filled in the Data Transfer. The CN-SM sends the Data Transfer to the UP-GW in the manner of Packet Out. -GW is sent to the DN.
  • the CN CN-MM or CN-SM
  • step 1005 the UP-GW sends the second return data packet returned by the DN to the CN-SM in the manner of Packet in.
  • the second return data message is forwarded to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the temporarily assigned IP address does not exceed the valid time, use Pro directly The assigned IP address can be used, saving signaling overhead.
  • the first data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
  • a data processing method is provided. After the step 303, the method further includes:
  • Step 311 Receive a detach request message sent by the UE.
  • the UE sends a detach request message to the RAN, and the RAN forwards the detach request message to the CN-MM.
  • Step 312 Delete the related signaling connection according to the detach request message.
  • the CN-MM deletes the signaling connection according to the detach request message.
  • Step 313 returning a detach accept message to the UE.
  • the CN-MM sends a detach accept message to the RAN, and the RAN forwards the detach request message to the UE and deletes the signaling connection.
  • the following describes the signaling procedure for the UE to initiate detachment in the scenario in which the UE is attached to the network and the network selects not to allocate an IP address to the UE in the embodiment of the present disclosure.
  • the foregoing signaling process in the embodiment of the present disclosure includes:
  • Step 1201 The UE sends a detach request message to the RAN, where the detach request message includes a user identity.
  • Step 1202 After receiving the detach request message, the RAN sends the message to the CN-MM, where the detach request message includes the user identity.
  • step 1203 the CN-MM sends a detach accept message to the RAN, and deletes the signaling connection.
  • the RAN sends a detach accept message to the UE, and deletes the signaling connection.
  • the UE also deletes the signaling connection after receiving the detach accept message.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the UE initiates the detach request the CN-MM, the RAN, and the UE delete the signaling connection, which saves signaling overhead.
  • a data processing method for applying to a CN-SM, including:
  • Step 1301 Receive a create session request message sent by the CN-MM.
  • the message request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is an IP address that is not allocated to the UE or is allocated to the UE last time. A message sent when the address exceeds the corresponding valid time.
  • the CN-MM when receiving the attach request message of the UE, the CN-MM obtains the user subscription information of the UE according to the attach request message, and determines that the UE is an IoT user according to the user subscription information, does not select the CN-SM for the UE, and directly returns the attachment to the UE. Accept the message.
  • the CN-MM When receiving the first data packet of the UE, the CN-MM selects the CN-SM for the UE, and sends a create session request message to the CN-SM.
  • the first data packet is a packet sent by the UE during the first data transmission.
  • the network has not assigned an IP address to the UE.
  • the CN-MM needs to be requested to select a suitable CN-SM.
  • the first data packet is a message that is sent by the UE again and determines that the last time the allocated IP address exceeds the corresponding valid time. Since the last assigned IP address exceeds the valid time, the CN-MM needs to be re-requested. Choose a suitable CN-SM.
  • the UE starts counting the allocated IP address after a data transmission is completed, and if the corresponding valid time is exceeded, the IP address is treated as an invalid address.
  • Step 1302 Assign an IP address to the UE according to the Create Session Request message, and create a UE context.
  • the CN-SM receives the Create Session Request message, allocates a temporary IP address to the UE according to the Create Session Request message, and creates a UE context.
  • Step 1303 Return a create session response message to the CN-MM, where the create session response message carries the IP address.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the method further includes:
  • Step 1304 After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to the DN.
  • the CN-MM or the CN-SM forwards the first data packet to the DN.
  • the CN-SM sends the first data packet to the UP-GW, and the UP-GW forwards the first data packet to the DN.
  • the UP-GW after receiving the first return data packet returned by the DN, the UP-GW sends the first return data packet to the CN-SM, and the CN-SM sends the first return data packet to the CN-MM, and then forwards the packet. Go to the UE.
  • the method further includes:
  • Step 1305 When the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, forward the second data packet to the DN.
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the second data packet and the first data packet are data packets of the first service sent by the UE, and the UE sends the second data packet to continue using the IP address.
  • the second data packet is a data packet of the second service that is sent by the UE when the IP address does not exceed the corresponding valid time, and the UE sends the second data packet to continue using the IP address.
  • the UE After the data transmission of the first service is completed, the UE starts counting the allocated IP address. If the corresponding valid time is exceeded, the IP address is treated as an invalid address.
  • the UE may start a timer, and use the effective time of the IP address as the timer time. When the timer reaches the timing, determine the IP address as Invalid address.
  • the UE After obtaining the IP address, the UE fills the IP address into the second data packet and then sends the IP address to the CN.
  • the CN-MM or the CN-SM determines that the second data packet carries the IP address, and directly forwards the second data packet to the DN.
  • Step 1306 when the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, the CN-MM or the CN- SM After the IP address is filled in the second data packet, the second data packet is forwarded to the DN.
  • the second data packet sent before the UE obtains the IP address does not carry the IP address.
  • the CN-MM or the CN-SM forwards the second data packet to the DN.
  • the forwarding the first data packet or the second data packet to the DN includes:
  • the CN-SM first data packet or the second data packet is sent to the UP-GW in a Packet out manner, thereby adapting to the SDN.
  • the UP-GW receives the second return data packet returned by the DN, and the UP-GW reports the first return data packet or the second return data packet to the packet according to the data packet.
  • the in mode is sent to the CN-SM and then forwarded to the UE.
  • the create session request message carries the indication information that the UE is an IoT user and session related information.
  • the steps of step 1302 above include:
  • Step 13021 Assign an IP address to the UE according to the session related information, and create a UE context.
  • the CN-SM allocates an IP address to the UE according to the session related information (SM related information), and creates a UE context.
  • SM related information session related information
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • a data processing method for application to a UE. include:
  • Step 1401 Send an attach request message to the CN-MM.
  • the UE sends an attach request message to the RAN, and the RAN forwards the attach request message to the CN-MM.
  • Step 1402 Receive an attach accept message returned by the CN-MM.
  • the attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
  • the CN-MM receives the attach request message of the UE, obtains the user subscription information of the UE according to the attach request message, and then determines whether to select the CN-SM for the UE according to the user subscription information.
  • the user subscription information includes information such as user attributes and application identifiers.
  • the CN-MM determines that the UE is an IoT user according to the user subscription information, it decides not to select the CN-SM for this type of UE, and directly returns an attach accept message to the UE. In this way, the CN-SM does not assign an IP address to the UE of this type, which avoids the problem of assigning an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM may send an attach accept message to the RAN, and the RAN forwards the attach accept message to the UE.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the method further includes:
  • Step 1403 Send a first data packet to the CN-MM.
  • the first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  • the first data packet is a packet sent by the UE during the first data transmission.
  • the network has not assigned an IP address to the UE, and the CN-MM needs to be requested to select a suitable CN-SM.
  • the first data packet is a message that is sent by the UE again and determines that the last time the allocated IP address exceeds the corresponding valid time. Since the last assigned IP address exceeds the valid time, the CN-MM needs to be re-requested. Choose a suitable CN-SM. The UE starts timing the allocated IP address after a data transmission is completed, and if the corresponding valid time is exceeded, The IP address is treated as an invalid address.
  • the CN-MM When receiving the first data packet, the CN-MM selects the CN-SM for the UE according to the first data packet, and sends a create session request message to the CN-SM, so that the CN-SM allocates a temporary IP address to the UE, and Create a UE context.
  • the method further includes:
  • Step 1404 Receive an ACK message sent by the CN-MM, where the ACK message carries an IP address and a valid time of the IP address.
  • the ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return.
  • a message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
  • the IP address assigned by the CN-SM to the UE is a temporary IP address
  • the ACK message sent by the CN-MM to the UE carries the valid time of the IP address and the IP address.
  • the UE After receiving the IP address, the UE performs configuration according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
  • the method further includes:
  • Step 1405 Send a second data packet to the CN-MM.
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the second data packet and the first data packet are data packets of the first service sent by the UE, and the UE sends the second data packet to continue using the IP address.
  • the second data packet is a data packet of the second service that is sent by the UE when the IP address does not exceed the corresponding valid time, and the UE sends the second data packet to continue using the IP address.
  • the UE After the data transmission of the first service is completed, the UE starts counting the allocated IP address. If the corresponding valid time is exceeded, the IP address is treated as an invalid address.
  • the method further includes:
  • the UE fills the IP address into the second data packet and then sends the IP address to the CN.
  • the CN-MM or the CN-SM determines that the second data packet carries the IP address, and directly forwards the second data packet to the DN.
  • the first data packet is a data packet of the first service.
  • the method further includes:
  • Step 1406 after all the data packets of the first service are sent, start a timer, and use the valid time of the IP address as the timer time of the timer.
  • Step 1407 when the timer reaches the timing, determining that the IP address is an invalid address.
  • the UE may time the effective time of the IP address according to the timer, and when the IP address exceeds the valid time, the IP address is treated as an invalid address.
  • the method further includes:
  • Step 1408 sending a detach request message to the CN-MM.
  • the UE sends a detach request message to the RAN, and the RAN forwards the detach request message to the CN-MM.
  • Step 1409 Receive a detach accept message returned by the CN-MM.
  • the CN-MM deletes the signaling connection according to the detach request message.
  • the CN-MM sends a detach accept message to the RAN, and the RAN forwards the detach request message to the UE and deletes the signaling connection.
  • Step 1410 Delete the related signaling connection according to the detach attachment message.
  • the UE also deletes the signaling connection after receiving the detach accept message.
  • the CN-MM, the RAN, and the UE delete the signaling connection, which saves signaling overhead.
  • the data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • FIG. 15 is a structural diagram of a data processing apparatus of an embodiment of the present disclosure, which can implement the details of the data processing method in the various embodiments described above with reference to FIGS. 1-12, and achieve the same effect.
  • the data processing apparatus shown in FIG. 15 is applied to the CN-MM and includes:
  • the first receiving module 1501 is configured to receive an attach request message sent by the UE.
  • the first obtaining module 1502 is configured to acquire user subscription information of the UE according to the attach request message.
  • the first returning module 1503 is configured to, according to the user subscription information, determine that the UE is an IoT user, and directly return an attach accept message to the UE.
  • the data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the first obtaining module 1502 includes:
  • the first obtaining unit is configured to acquire user subscription information of the UE from a pre-stored subscription database according to the user identity identifier included in the attach request message.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • the first sending module is configured to: when the first data packet sent by the UE is received, select a CN-SM according to the first data packet, and send a create session request message to the CN-SM. ;
  • a second receiving module configured to receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message;
  • the first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a second sending module configured to send an ACK message to the UE, where the ACK message carries an effective time of the IP address and the IP address;
  • the first forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a third receiving module configured to receive a second data packet sent by the UE
  • the second forwarding module is configured to forward the second data packet to the DN if the second data packet carries the IP address;
  • a third forwarding module configured to fill the IP address into the second data packet by using the CN-MM or the CN-SM, if the second data packet does not carry the IP address Afterwards, forwarding the second data packet to the DN;
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the first forwarding module includes:
  • a first forwarding unit configured to send, by using the CN-SM, the first data packet to the UP-GW according to a packet out manner, and forwarding, by the UP-GW, the first data packet to the DN;
  • the second forwarding module includes:
  • a second forwarding unit configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN;
  • the third forwarding module includes:
  • a third forwarding unit configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN.
  • the first sending module includes:
  • Obtaining a subunit configured to acquire, according to the first data packet, user subscription information of the UE, location information of the UE, or type information of the UE;
  • selecting a subunit configured to select a CN-SM for the UE according to the user subscription information of the UE, location information of the UE, or type information of the UE.
  • the create session request message carries the indication information that the UE is an IoT user and session related information, and the CN-SM allocates an IP to the UE according to the session related information. Address and create a UE context.
  • the create session request message further carries the first data packet.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a fourth receiving module configured to receive a detach request message sent by the UE
  • a first deleting module configured to delete the related signaling connection according to the detach request message
  • a second returning module configured to return a detach accept message to the UE.
  • the data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • a core network device comprising: a data processing device as described above with reference to FIG.
  • FIG. 16 is a structural diagram of a data processing apparatus of an embodiment of the present disclosure, which can implement the details of the data processing method of the embodiment described above with reference to FIG. 13 and achieve the same effect.
  • the data processing apparatus shown in FIG. 16 is applied to the CN-SM and includes:
  • the fifth receiving module 1601 is configured to receive a create session request message sent by the CN-MM.
  • a second allocation module 1602 configured to allocate an IP address to the UE according to the create session request message, and create a UE context
  • a third returning module 1603, configured to return a create session response message to the CN-MM, where the create session response message carries the IP address;
  • the create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
  • the data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • the fourth forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a fifth forwarding module configured to: when the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, the second data packet Forward to DN;
  • a sixth forwarding module configured to: when the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, pass the CN-MM or After the CN-SM fills the IP address into the second data packet, forwarding the second data packet to the DN;
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the fourth forwarding module includes:
  • a fourth forwarding unit configured to send the first data packet to the UP-GW in a packet out manner, and forward the first data packet to the DN by using the UP-GW;
  • the fifth forwarding module includes:
  • a fifth forwarding unit configured to send the second data packet to the UP-GW in a packet out manner, and forward the second data packet to the DN by using the UP-GW;
  • the sixth forwarding module includes:
  • a sixth forwarding unit configured to send the second data packet to the packet out manner
  • the UP-GW forwards the second data packet to the DN through the UP-GW.
  • the create session request message carries the indication information that the UE is an IoT user, and session related information.
  • the second distribution module 1602 includes:
  • an allocating unit configured to allocate an IP address to the UE according to the session related information, and create a UE context.
  • the data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured.
  • the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
  • a core network device comprising: a data processing device as described above with reference to FIG.
  • FIG. 17 is a structural diagram of a data processing apparatus of an embodiment of the present disclosure, which can implement the details of the data processing method described above with reference to FIG. 14 and achieve the same effect.
  • the data processing apparatus shown in FIG. 17 is applied to a UE, and includes:
  • a third sending module configured to send an attach request message to the CN-MM
  • a sixth receiving module configured to receive an attach accept message returned by the CN-MM
  • the attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
  • the data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a fourth sending module configured to send a first data packet to the CN-MM
  • the first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a seventh receiving module configured to receive an ACK message sent by the CN-MM, where the ACK message carries an IP address and a valid time of the IP address;
  • the ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return.
  • a message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a fifth sending module configured to send a second data packet to the CN-MM
  • the second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address.
  • the data packet of the second service sent when the corresponding valid time is sent.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • Filling in a module configured to fill the IP address into the second data packet.
  • the first data packet is a data packet of the first service
  • the data processing device further includes:
  • the opening module is configured to: after a data message of the first service is completely sent, start a timer, and use a valid time of the IP address as a timing time of the timer;
  • a determining module configured to determine that the IP address is an invalid address when the timer reaches the timing time.
  • the data processing apparatus of the embodiment of the present disclosure further includes:
  • a sixth sending module configured to send a detach request message to the CN-MM
  • An eighth receiving module configured to receive a detach accept message returned by the CN-MM
  • a second deleting module configured to delete the related signaling connection according to the detaching accept message.
  • the data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids assigning an IP address to the UE when the UE is attached, which brings a large amount to the IoT user.
  • the problem of amount signaling overhead does not allocate an IP address to the IoT user when the UE is attached, and avoids assigning an IP address to the UE when the UE is attached, which brings a large amount to the IoT user. The problem of amount signaling overhead.
  • a terminal comprising: the data processing apparatus as described above with reference to FIG.
  • the terminal of the present disclosure may be a mobile electronic device such as a mobile phone or a tablet computer.
  • a core network device including:
  • the processor 1800 is configured to read the program in the memory 1820, and perform the following process: receiving, by the transceiver 1810, an attach request message sent by the UE; acquiring, according to the attach request message, user subscription information of the UE; The subscription information is used to determine that the UE is an IoT user, and directly returns an attach accept message to the UE.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1800 and various circuits of memory represented by memory 1820.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits.
  • the bus interface provides an interface.
  • Transceiver 1810 may be a plurality of components, including a transmitter and a transceiver, providing means for communicating with various other devices on a transmission medium.
  • the processor 1800 is responsible for managing the bus architecture and general processing, and the memory 1820 can store data used by the processor 1800 in performing operations.
  • the processor 1800 is responsible for managing the bus architecture and general processing, and the memory 1820 can store data used by the processor 1800 in performing operations.
  • the core network device of the embodiment of the present disclosure can implement the processes implemented by the core network device in the foregoing method embodiments of FIG. 1 to FIG. 13, and the implementation examples of the foregoing methods of FIG. 1 to FIG. The same technical effects can also be achieved in the embodiment applicable to the core network device.
  • a terminal including:
  • the processor 1900 is configured to read a program in the memory 1920, and execute the following process: sending an attach request message to the CN-MM through the transceiver 1910; receiving an attach accept message returned by the CN-MM; wherein the attach accept message After the CN-MM acquires the user subscription information of the UE according to the attach request message, the CN-MM determines, according to the user subscription information, an attach accept message directly returned when the UE is an IoT user.
  • the bus architecture can include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1900 and various circuits of memory represented by memory 1920.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits.
  • the bus interface provides an interface.
  • Transceiver 1910 may be a plurality of components, including a transmitter and a receiver, providing means for communicating with various other devices on a transmission medium.
  • the user interface 1930 may also be an interface capable of externally connecting the required devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
  • the processor 1900 is responsible for managing the bus architecture and general processing, and the memory 1920 can store data used by the processor 1900 in performing operations.
  • terminal in the embodiment of the present disclosure can implement the processes implemented by the terminal in the foregoing method embodiment of FIG. 14, and the implementation embodiments of the method in FIG. 14 are applicable to the embodiment of the terminal, Can achieve the same technical effect.

Landscapes

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

Abstract

Provided are a data processing method and apparatus. The method comprises: receiving an attach request message sent by a UE; obtaining user subscription information of the UE according to the attach request message; and directly returning an attach accept message to the UE when the UE is determined to be an IoT user according to the user subscription information.

Description

数据处理方法及装置Data processing method and device
相关申请的交叉引用Cross-reference to related applications
本申请主张在2016年12月21日在中国提交的中国专利申请No.201611191124.8的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 20161119112, filed on Jan. 21,,,,,,,,,,
技术领域Technical field
本公开文本涉及通信技术领域,特别涉及一种数据处理方法及装置。The present disclosure relates to the field of communications technologies, and in particular, to a data processing method and apparatus.
背景技术Background technique
控制与转发分离是指对移动网络的控制和转发功能在逻辑上进行划分,并分别由不同的逻辑网元来承担相应职能,从而实现功能集中控制、资源弹性调配、业务灵活部署、控制面与用户面可分别演进等特性。控制功能由集中的控制器来承担。而分离之后的用户面可以根据业务需求分布化部署,并根据控制面的指令高效地完成对用户报文的包括路由、修改、统计等各种处理和转发动作。Separation of control and forwarding means that the control and forwarding functions of the mobile network are logically divided, and different logical network elements are responsible for the corresponding functions, thereby realizing centralized function control, resource elastic deployment, flexible service deployment, and control planes. User planes can be evolved separately. Control functions are borne by a centralized controller. The user planes after the separation can be distributed according to the service requirements, and various processing and forwarding actions including routing, modification, and statistics of the user packets are efficiently performed according to the instructions of the control plane.
在现有网络中引入新特性通常需要定义新的功能实体,并且需要定义新功能实体与现有功能实体之间的接口。随着新特性的不断引入,运营商网络中的功能实体和接口数量越来越多。为了减少运营商网络中网元和接口的数量,控制面功能重构技术将现有网络的控制逻辑拆分为独立的功能模块,再根据不同的应用场景进行组合形成不同的网络控制面。Introducing new features into existing networks often requires defining new functional entities and defining interfaces between new functional entities and existing functional entities. With the continuous introduction of new features, the number of functional entities and interfaces in the carrier network is increasing. To reduce the number of network elements and interfaces in the carrier network, the control plane function reconstruction technology splits the control logic of the existing network into independent functional modules, and then combines different network control planes according to different application scenarios.
当前,在演进的分组系统(Evolved Packet System,EPS)中,移动性管理实体(Mobility Management Entity,MME)同时支持移动性管理(Mobility Management,MM)功能和会话管理(Session Management,SM)功能,MM功能例如为附着、跟踪区更新等,SM功能例如为公用数据网连接的建立、修改和删除等。Currently, in the Evolved Packet System (EPS), the Mobility Management Entity (MME) supports both Mobility Management (MM) functions and Session Management (SM) functions. The MM functions are, for example, attachment, tracking area update, etc., and the SM functions are, for example, establishment, modification, and deletion of a public data network connection.
为了提高网络的模块化程度,在5G网络中,MM和SM作为两个独立的功能模块存在。其中MM的主要功能为用户注册、UE(User Equipment,用户设备)不可达到的发现、位置注册、UE状态的变迁、连接态和非活动(Inactive) 态的移动性、UE移动限制性、UE移动性管理控制、锚点的选择、建立用户面路径等。SM的主要功能为数据包的转发和检测、会话控制、用户平面功能的选择、UE IP(Internet Protocol,互联网协议)地址的分配(连接类型为IP)等。In order to improve the modularity of the network, in the 5G network, MM and SM exist as two independent functional modules. The main functions of the MM are user registration, unreachable discovery by the UE (User Equipment), location registration, UE status transition, connected state, and inactive (Inactive). State mobility, UE mobility restrictions, UE mobility management control, anchor point selection, user plane path establishment, etc. The main functions of the SM are packet forwarding and detection, session control, user plane function selection, and allocation of UE IP (Internet Protocol) addresses (connection type is IP).
IoT(Internet of Things,物联网)用户发送数据具有不频繁性和突发性等特点。为了高效地实现数据的传输,目前第三代合作伙伴项目(the 3rd Generation Partnership Project,3GPP)提出了采用控制面传输数据报文的方案。在此方案中,控制面传输数据报文不需要UE的IP地址,那么在UE附着时,网络可以选择为UE分配IP地址,也可以选择不为UE分配IP地址。IoT (Internet of Things, Internet of Things) users send data with infrequency and burstiness. In order to efficiently implement data transmission, the 3rd Generation Partnership Project (3GPP) proposes a scheme for transmitting data messages using the control plane. In this solution, the control plane transmits the data packet without the IP address of the UE, and when the UE attaches, the network may choose to allocate an IP address for the UE, or may choose not to allocate an IP address for the UE.
相关技术的方案采用在UE附着时,为UE分配IP地址。这种方案对某类IoT用户,比如车载设备,可能因为用户面锚点的频繁更换带来大量信令开销。A related art scheme employs an IP address assigned to a UE when the UE attaches. Such a scheme may cause a large amount of signaling overhead for a certain type of IoT user, such as an in-vehicle device, due to frequent replacement of the user plane anchor point.
发明内容Summary of the invention
本公开文本要解决的技术问题是提供一种数据处理方法及装置,解决相关技术中在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The technical problem to be solved by the present disclosure is to provide a data processing method and apparatus, which solves the problem of assigning an IP address to a UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
为解决上述技术问题,本公开文本的实施例提供一种数据处理方法,应用于核心网-移动性管理功能(CN(Core Network)-MM),包括:To solve the above technical problem, an embodiment of the present disclosure provides a data processing method, which is applied to a core network-mobility management function (CN (Core Network)-MM), including:
接收UE发送的附着请求消息;Receiving an attach request message sent by the UE;
根据所述附着请求消息,获取所述UE的用户签约信息;Obtaining user subscription information of the UE according to the attach request message;
根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。And determining, according to the user subscription information, that the UE is an IoT user, directly returning an attach accept message to the UE.
进一步来说,根据所述附着请求消息,获取所述UE的用户签约信息的步骤包括:Further, the step of acquiring the user subscription information of the UE according to the attach request message includes:
根据所述附着请求消息中包含的用户身份标识,从预先保存的签约数据库中获取所述UE的用户签约信息。Obtaining user subscription information of the UE from a pre-stored subscription database according to the user identity identifier included in the attach request message.
进一步来说,直接向所述UE返回附着接受消息之后,所述数据处理方法还包括: Further, after the attach accept message is directly returned to the UE, the data processing method further includes:
接收到所述UE发送的第一数据报文时,根据所述第一数据报文为所述UE选择CN-SM,并向所述CN-SM发送创建会话请求消息;Receiving a first data packet sent by the UE, selecting a CN-SM for the UE according to the first data packet, and sending a create session request message to the CN-SM;
接收所述CN-SM返回的创建会话响应消息,所述创建会话响应消息中携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址;Receiving a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message;
其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
进一步来说,接收所述CN-SM返回的创建会话响应消息之后,所述数据处理方法还包括:Further, after receiving the create session response message returned by the CN-SM, the data processing method further includes:
向所述UE发送ACK消息,所述ACK消息中携带有所述IP地址和所述IP地址的有效时间;Sending an ACK message to the UE, where the ACK message carries the IP address and the valid time of the IP address;
通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到目标网(Destination Network,DN)。After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to a destination network (DN).
进一步来说,接收所述CN-SM返回的创建会话响应消息之后,所述数据处理方法还包括:Further, after receiving the create session response message returned by the CN-SM, the data processing method further includes:
接收所述UE发送的第二数据报文;Receiving a second data packet sent by the UE;
若所述第二数据报文携带有所述IP地址,则将所述第二数据报文转发到DN;And if the second data packet carries the IP address, forwarding the second data packet to a DN;
若所述第二数据报文未携带有所述IP地址,则通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;If the second data packet does not carry the IP address, the second data packet is filled in by the CN-MM or the CN-SM, and the second data packet is used. The data packet is forwarded to the DN;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
进一步来说,在CN为基于软件定义网络(Software Defined Network,SDN)时,将所述第一数据报文或者所述第二数据报文转发到DN包括:Further, when the CN is a Software Defined Network (SDN), forwarding the first data packet or the second data packet to the DN includes:
通过所述CN-SM将所述第一数据报文或者所述第二数据报文按照数据报文下发(Packet out)的方式发送给用户面-网关(User Plane-GateWay,UP-GW),通过所述UP-GW将所述第一数据报文或者所述第二数据报文转发到所述DN。 Sending, by the CN-SM, the first data packet or the second data packet to a user plane-gateway (UP-GW) according to a data packet delivery manner (Packet out) Transmitting, by the UP-GW, the first data packet or the second data packet to the DN.
进一步来说,根据所述第一数据报文为所述UE选择CN-SM的步骤包括:Further, the step of selecting the CN-SM for the UE according to the first data packet includes:
根据所述第一数据报文获取所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息;Acquiring user subscription information of the UE, location information of the UE, or type information of the UE according to the first data packet;
根据所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息,为所述UE选择CN-SM。The CN-SM is selected for the UE according to the user subscription information of the UE, the location information of the UE, or the type information of the UE.
进一步来说,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息,所述CN-SM根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。Further, the create session request message carries the indication information that the UE is an IoT user and session related information, and the CN-SM allocates an IP address to the UE according to the session related information, and creates a UE context.
进一步来说,所述创建会话请求消息还携带有所述第一数据报文。Further, the create session request message further carries the first data packet.
进一步来说,直接向所述UE返回附着接受消息之后,所述数据处理方法还包括:Further, after the attach accept message is directly returned to the UE, the data processing method further includes:
接收所述UE发送的去附着请求消息;Receiving a detach request message sent by the UE;
根据所述去附着请求消息,删除相关的信令连接;Deleting the relevant signaling connection according to the detach request message;
向所述UE返回去附着接受消息。A detach accept message is returned to the UE.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理装置,应用于核心网-移动性管理功能(CN-MM),包括:To solve the above technical problem, an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a core network-mobility management function (CN-MM), including:
第一接收模块,用于接收UE发送的附着请求消息;a first receiving module, configured to receive an attach request message sent by the UE;
第一获取模块,用于根据所述附着请求消息,获取所述UE的用户签约信息;a first acquiring module, configured to acquire user subscription information of the UE according to the attach request message;
第一返回模块,用于根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。And a first returning module, configured to, according to the user subscription information, determine that the UE is an IoT user, and directly return an attach accept message to the UE.
进一步来说,所述数据处理装置还包括:Further, the data processing apparatus further includes:
第一发送模块,用于接收到所述UE发送的第一数据报文时,根据所述第一数据报文为所述UE选择CN-SM,并向所述CN-SM发送创建会话请求消息;The first sending module is configured to: when the first data packet sent by the UE is received, select a CN-SM according to the first data packet, and send a create session request message to the CN-SM. ;
第二接收模块,用于接收所述CN-SM返回的创建会话响应消息,所述创建会话响应消息中携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址;a second receiving module, configured to receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message;
其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所 述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is not assigned an IP address to the UE or is last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
进一步来说,所述数据处理装置还包括:Further, the data processing apparatus further includes:
第二发送模块,用于向所述UE发送ACK消息,所述ACK消息中携带有所述IP地址和所述IP地址的有效时间;a second sending module, configured to send an ACK message to the UE, where the ACK message carries an effective time of the IP address and the IP address;
第一转发模块,用于通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。The first forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
进一步来说,所述数据处理装置还包括:Further, the data processing apparatus further includes:
第三接收模块,用于接收所述UE发送的第二数据报文;a third receiving module, configured to receive a second data packet sent by the UE;
第二转发模块,用于若所述第二数据报文携带有所述IP地址,则将所述第二数据报文转发到DN;The second forwarding module is configured to forward the second data packet to the DN if the second data packet carries the IP address;
第三转发模块,用于若所述第二数据报文未携带有所述IP地址,则通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;a third forwarding module, configured to fill the IP address into the second data packet by using the CN-MM or the CN-SM, if the second data packet does not carry the IP address Afterwards, forwarding the second data packet to the DN;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
进一步来说,在CN为基于SDN时,所述第一转发模块包括:Further, when the CN is based on SDN, the first forwarding module includes:
第一转发单元,用于通过所述CN-SM将所述第一数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文转发到所述DN;a first forwarding unit, configured to send, by using the CN-SM, the first data packet to the UP-GW according to a packet out manner, and forwarding, by the UP-GW, the first data packet to the DN;
所述第二转发模块包括:The second forwarding module includes:
第二转发单元,用于通过所述CN-SM将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN;a second forwarding unit, configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN;
所述第三转发模块包括:The third forwarding module includes:
第三转发单元,用于通过所述CN-SM将所述第二数据报文按照Packetout的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN。a third forwarding unit, configured to send, by using the CN-SM, the second data packet to the UP-GW according to the packetout manner, and forward the second data packet to the DN by using the UP-GW .
进一步来说,所述创建会话请求消息还携带有所述第一数据报文。 Further, the create session request message further carries the first data packet.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理方法,应用于CN-SM,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a data processing method, which is applied to a CN-SM, and includes:
接收CN-MM发送的创建会话请求消息;Receiving a create session request message sent by the CN-MM;
根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;Assigning an IP address to the UE according to the create session request message, and creating a UE context;
向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址;Returning a create session response message to the CN-MM, where the create session response message carries the IP address;
其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
进一步来说,向所述CN-MM返回创建会话响应消息之后,所述数据处理方法还包括:Further, after returning the create session response message to the CN-MM, the data processing method further includes:
通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to the DN.
进一步来说,向所述CN-MM返回创建会话响应消息之后,所述数据处理方法还包括:Further, after returning the create session response message to the CN-MM, the data processing method further includes:
在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文携带有所述IP地址时,将所述第二数据报文转发到DN;When the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, the second data packet is forwarded to the DN;
在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文未携带有所述IP地址时,通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;When the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, the CN-MM or the CN-SM After the IP address is filled in the second data packet, the second data packet is forwarded to the DN;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
进一步来说,在CN为基于SDN时,将所述第一数据报文或者所述第二数据报文转发到DN包括:Further, when the CN is based on the SDN, forwarding the first data packet or the second data packet to the DN includes:
将所述第一数据报文或者所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文或者所述第二数据报文转发到所述DN。Sending the first data packet or the second data packet to the UP-GW in a packet out manner, and forwarding the first data packet or the second data packet by using the UP-GW To the DN.
进一步来说,所述创建会话请求消息携带有所述UE为IoT用户的指示 信息以及会话相关信息;Further, the create session request message carries an indication that the UE is an IoT user. Information and session related information;
根据所述创建会话请求消息为所述UE分配IP地址,并创建UE上下文的步骤包括:The step of assigning an IP address to the UE according to the create session request message, and creating a UE context includes:
根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。Assigning an IP address to the UE according to the session related information, and creating a UE context.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理装置,应用于CN-SM,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a CN-SM, and includes:
第五接收模块,用于接收CN-MM发送的创建会话请求消息;a fifth receiving module, configured to receive a create session request message sent by the CN-MM;
第二分配模块,用于根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;a second allocation module, configured to allocate an IP address to the UE according to the create session request message, and create a UE context;
第三返回模块,用于向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址;a third returning module, configured to return a create session response message to the CN-MM, where the create session response message carries the IP address;
其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理方法,应用于UE,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a data processing method, which is applied to a UE, including:
向CN-MM发送附着请求消息;Sending an attach request message to the CN-MM;
接收所述CN-MM返回的附着接受消息;Receiving an attach accept message returned by the CN-MM;
其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
进一步来说,接收所述CN-MM返回的附着接受消息之后,所述数据处理方法还包括:Further, after receiving the attach accept message returned by the CN-MM, the data processing method further includes:
向所述CN-MM发送第一数据报文;Sending a first data packet to the CN-MM;
其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
进一步来说,向所述CN-MM发送第一数据报文之后,所述数据处理方法还包括:Further, after the first data packet is sent to the CN-MM, the data processing method further includes:
接收所述CN-MM发送的ACK消息,所述ACK消息中携带有IP地址和 所述IP地址的有效时间;Receiving an ACK message sent by the CN-MM, where the ACK message carries an IP address and The valid time of the IP address;
其中,所述ACK消息是所述CN-MM根据所述第一数据报文为所述UE选择CN-SM,向所述CN-SM发送创建会话请求消息,并接收所述CN-SM返回的创建会话响应消息后发送的消息,所述创建会话响应消息携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址。The ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return. A message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
进一步来说,向所述CN-MM发送第一数据报文之后,所述数据处理方法还包括:Further, after the first data packet is sent to the CN-MM, the data processing method further includes:
向所述CN-MM发送第二数据报文;Sending a second data packet to the CN-MM;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
进一步来说,接收所述CN-MM发送的ACK消息之后,向所述CN-MM发送第二数据报文之前,所述数据处理方法还包括:Further, after receiving the ACK message sent by the CN-MM, before sending the second data message to the CN-MM, the data processing method further includes:
将所述IP地址填入所述第二数据报文。Filling the IP address into the second data packet.
进一步来说,所述第一数据报文为第一业务的数据报文;Further, the first data packet is a data packet of the first service;
接收所述CN-MM发送的ACK消息之后,所述数据处理方法还包括:After receiving the ACK message sent by the CN-MM, the data processing method further includes:
在所述第一业务的数据报文全部发送结束后,开启一定时器,并将所述IP地址的有效时间作为所述定时器的定时时间;After all the data packets of the first service are sent, a timer is started, and the valid time of the IP address is used as the timer time of the timer.
在所述定时器到达所述定时时间时,确定所述IP地址为无效地址。When the timer reaches the timing time, it is determined that the IP address is an invalid address.
进一步来说,接收所述CN-MM返回的附着接受消息之后,所述数据处理方法还包括:Further, after receiving the attach accept message returned by the CN-MM, the data processing method further includes:
向所述CN-MM发送去附着请求消息;Sending a detach request message to the CN-MM;
接收所述CN-MM返回的去附着接受消息;Receiving a detach accept message returned by the CN-MM;
根据所述去附着接受消息,删除相关的信令连接。According to the detach accept message, the related signaling connection is deleted.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理装置,应用于UE,包括:In order to solve the above technical problem, an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a UE, including:
第三发送模块,用于向CN-MM发送附着请求消息;a third sending module, configured to send an attach request message to the CN-MM;
第六接收模块,用于接收所述CN-MM返回的附着接受消息;a sixth receiving module, configured to receive an attach accept message returned by the CN-MM;
其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所 述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。The attach accept message is that the CN-MM acquires the location according to the attach request message. After the user subscription information of the UE is described, an attach accept message directly returned when the UE is an IoT user is determined according to the user subscription information.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理装置,应用于CN-MM,其中,所述数据处理装置包括:处理器、存储器和收发机,其中:In order to solve the above technical problem, an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a CN-MM, wherein the data processing apparatus includes: a processor, a memory, and a transceiver, wherein:
所述处理器用于读取存储器中的程序,执行下列过程:The processor is configured to read a program in the memory and perform the following process:
接收UE发送的附着请求消息;Receiving an attach request message sent by the UE;
根据所述附着请求消息,获取所述UE的用户签约信息;Obtaining user subscription information of the UE according to the attach request message;
根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息,Determining, according to the user subscription information, that the UE is an IoT user, directly returning an attach accept message to the UE,
其中,所述收发机用于接收和发送数据,所述存储器能够存储处理器在执行操作时所使用的数据。The transceiver is configured to receive and transmit data, and the memory is capable of storing data used by the processor when performing operations.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理装置,应用于CN-SM,其中,所述数据处理装置包括:处理器、存储器和收发机,其中:In order to solve the above technical problem, an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a CN-SM, wherein the data processing apparatus includes: a processor, a memory, and a transceiver, wherein:
所述处理器用于读取存储器中的程序,执行下列过程:The processor is configured to read a program in the memory and perform the following process:
接收CN-MM发送的创建会话请求消息;Receiving a create session request message sent by the CN-MM;
根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;Assigning an IP address to the UE according to the create session request message, and creating a UE context;
向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址;Returning a create session response message to the CN-MM, where the create session response message carries the IP address;
其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文,The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time a packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
其中,所述收发机用于接收和发送数据,所述存储器能够存储处理器在执行操作时所使用的数据。The transceiver is configured to receive and transmit data, and the memory is capable of storing data used by the processor when performing operations.
为解决上述技术问题,本公开文本的实施例还提供一种数据处理装置,应用于UE,其中,所述数据处理装置包括:处理器、存储器和收发机,其中:In order to solve the above technical problem, an embodiment of the present disclosure further provides a data processing apparatus, which is applied to a UE, wherein the data processing apparatus includes: a processor, a memory, and a transceiver, where:
所述处理器用于读取存储器中的程序,执行下列过程:The processor is configured to read a program in the memory and perform the following process:
向CN-MM发送附着请求消息; Sending an attach request message to the CN-MM;
接收所述CN-MM返回的附着接受消息;Receiving an attach accept message returned by the CN-MM;
其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息,The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
其中,所述收发机用于接收和发送数据,所述存储器能够存储处理器在执行操作时所使用的数据。The transceiver is configured to receive and transmit data, and the memory is capable of storing data used by the processor when performing operations.
本公开文本的上述技术方案的有益效果如下:The beneficial effects of the above technical solutions of the present disclosure are as follows:
本公开文本实施例的数据处理方法,CN-MM接收到UE发送的附着请求消息后,根据附着请求消息,获取UE的用户签约信息;然后根据用户签约信息,确定UE为IoT用户时,不为此类型UE选择CN-SM,直接向UE返回附着接受消息。这样,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The data processing method of the embodiment of the present disclosure, after receiving the attach request message sent by the UE, the CN-MM acquires the user subscription information of the UE according to the attach request message; and then determines, according to the user subscription information, that the UE is an IoT user, This type of UE selects CN-SM and returns an attach accept message directly to the UE. In this way, when the UE is attached, the IP address is not allocated to the IoT user, which avoids the problem of assigning an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。以下附图并未刻意按实际尺寸等比例缩放绘制,重点在于示出本申请的主旨。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments described in the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work. The following figures are not intended to be scaled to scale in actual dimensions, with emphasis on the subject matter of the present application.
图1为本公开文本一些实施例中数据处理方法应用于CN-MM的流程图;1 is a flow chart of a data processing method applied to a CN-MM in some embodiments of the present disclosure;
图2为本公开文本一些实施例中UE附着到网络,网络选择不为UE分配IP地址的流程图;2 is a flow chart of a UE attaching to a network in a certain embodiment of the present disclosure, and the network selection does not assign an IP address to the UE;
图3为本公开文本一些实施例中数据处理方法应用于CN-MM的另一流程图;3 is another flow chart of a data processing method applied to a CN-MM in some embodiments of the present disclosure;
图4为本公开文本一些实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输未分配IP地址和再次数据传输时IP地址无效的流程图;4 is a flow chart of the UE not attaching an IP address to the first data transmission and invalidating the IP address when the data is transmitted again in a scenario in which the UE is attached to the network and the network selects not to allocate an IP address to the UE in some embodiments of the present disclosure;
图5为本公开文本一些实施例中UE附着到网络,网络选择不为UE分配 IP地址的场景下的UE首次数据传输未分配IP地址和再次数据传输时IP地址无效的另一流程图;FIG. 5 is a diagram of a UE attached to a network in some embodiments of the present disclosure, and network selection is not allocated to the UE. Another flow chart of the UE not transmitting an IP address for the first data transmission in the IP address scenario and invalidating the IP address when the data is transmitted again;
图6为本公开文本一些实施例中在CN为基于SDN时,UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输未分配IP地址和再次数据传输时IP地址无效的流程图;FIG. 6 is a schematic diagram of an embodiment in which the UE is attached to the network when the CN is an SDN-based network, and the network does not allocate an IP address to the UE when the CN is based on the SDN, the IP address is not allocated when the UE first transmits data, and the IP address is invalid when the data is transmitted again. Flow chart
图7为本公开文本一些实施例中在CN为基于SDN时,UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输未分配IP地址和再次数据传输时IP地址无效的另一流程图;In the embodiment of the present disclosure, in a scenario where the UE is an SDN-based SDN, the UE is attached to the network, and the network selects not to allocate an IP address to the UE, the IP address is not allocated when the UE first transmits data and the IP address is invalid during data transmission again. Another flow chart;
图8为本公开文本一些实施例中数据处理方法应用于CN-MM的又一流程图;8 is still another flowchart of a data processing method applied to a CN-MM in some embodiments of the present disclosure;
图9为本公开文本一些实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输分配IP地址后再次发送数据报文和再次数据传输时IP地址有效的流程图;FIG. 9 is a flow chart of the IP address valid when the UE re-transmits the data packet and re-transmits the data after the IP address is allocated for the first data transmission in the scenario where the UE is attached to the network and the network selects not to allocate an IP address to the UE in some embodiments of the present disclosure. Figure
图10为本公开文本一些实施例中在CN为基于SDN时,UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输分配IP地址后再次发送数据报文和再次数据传输时IP地址有效的流程图;In the embodiment of the present disclosure, in a scenario where the UE is SDN-based, the UE is attached to the network, and the network selects not to allocate an IP address to the UE, the UE retransmits the data packet and the data again after the IP address is allocated for the first data transmission. A flow chart in which the IP address is valid during transmission;
图11为本公开文本一些实施例中数据处理方法应用于CN-MM的又一流程图;11 is still another flowchart of a data processing method applied to a CN-MM in some embodiments of the present disclosure;
图12为本公开文本一些实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,去附着的流程图;FIG. 12 is a flowchart of de-attaching in a scenario in which a UE is attached to a network and the network selects not to allocate an IP address to the UE in some embodiments of the present disclosure;
图13为本公开文本一些实施例中数据处理方法应用于CN-SM的流程图;13 is a flow chart of a data processing method applied to a CN-SM in some embodiments of the present disclosure;
图14为本公开文本一些实施例中数据处理方法应用于UE的流程图;14 is a flow diagram of a data processing method applied to a UE in some embodiments of the present disclosure;
图15为本公开文本一些实施例中数据处理装置应用于CN-MM的结构示意图;15 is a schematic structural diagram of a data processing apparatus applied to a CN-MM in some embodiments of the present disclosure;
图16为本公开文本一些实施例中数据处理装置应用于CN-SM的结构示意图;16 is a schematic structural diagram of a data processing apparatus applied to a CN-SM according to some embodiments of the present disclosure;
图17为本公开文本一些实施例中数据处理装置应用于UE的结构示意图;17 is a schematic structural diagram of a data processing apparatus applied to a UE in some embodiments of the present disclosure;
图18为本公开文本一些实施例中核心网设备的结构示意图;FIG. 18 is a schematic structural diagram of a core network device in some embodiments of the present disclosure;
图19为本公开文本一些实施例中终端的结构示意图。 FIG. 19 is a schematic structural diagram of a terminal in some embodiments of the present disclosure.
具体实施方式detailed description
下面将结合本公开文本实施例中的附图,对本公开文本实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开文本一部分实施例,而不是全部的实施例。基于本公开文本中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开文本保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
在一些实施例中,参照图1所示,提供一种数据处理方法,应用于CN-MM,包括:In some embodiments, referring to FIG. 1, a data processing method is provided for applying to a CN-MM, including:
步骤101,接收UE发送的附着请求消息。Step 101: Receive an attach request message sent by the UE.
这里,UE发送附着请求消息给RAN(Radio Access Network,无线接入网),RAN将附着请求消息转发给CN-MM。Here, the UE sends an attach request message to the RAN (Radio Access Network), and the RAN forwards the attach request message to the CN-MM.
步骤102,根据所述附着请求消息,获取所述UE的用户签约信息。Step 102: Acquire user subscription information of the UE according to the attach request message.
这里,CN-MM接收到UE的附着请求消息,根据附着请求消息,获取到UE的用户签约信息,再根据用户签约信息决定是否为UE选择CN-SM。Here, the CN-MM receives the attach request message of the UE, obtains the user subscription information of the UE according to the attach request message, and then determines whether to select the CN-SM for the UE according to the user subscription information.
其中,CN-MM为UE选择CN-SM后,由选择的CN-SM为UE分配IP地址,并创建UE上下文。After the CN-MM selects the CN-SM for the UE, the selected CN-SM allocates an IP address to the UE and creates a UE context.
可选地,上述步骤102的步骤包括:Optionally, the steps of step 102 above include:
步骤1021,根据所述附着请求消息中包含的用户身份标识,从预先保存的签约数据库中获取所述UE的用户签约信息。Step 1021: Obtain user subscription information of the UE from a pre-stored subscription database according to the user identity identifier included in the attach request message.
这里,UE发送的附着请求消息中包含用户身份标识(user ID),CN-MM能够根据用户身份标识从签约数据库里获取到用户的签约信息。Here, the attach request message sent by the UE includes a user ID, and the CN-MM can obtain the subscription information of the user from the subscription database according to the user identity.
其中,用户签约信息包括用户属性、应用标识等信息。The user subscription information includes information such as user attributes and application identifiers.
步骤103,根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。Step 103: Determine, according to the user subscription information, that the UE is an IoT user, and directly return an attach accept message to the UE.
这里,CN-MM根据用户签约信息确定UE为IoT用户时,决定不为此类型UE选择CN-SM,直接向UE返回附着接受消息。这样,在UE附着时,CN-SM不会为此类型UE分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。 Here, when determining that the UE is an IoT user according to the user subscription information, the CN-MM decides not to select the CN-SM for this type of UE, and directly returns an attach accept message to the UE. In this way, when the UE is attached, the CN-SM does not assign an IP address to the UE of this type, which avoids the problem that the UE allocates an IP address when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
其中,CN-MM可发送附着接受消息给RAN,由RAN将附着接受消息转发给UE。The CN-MM may send an attach accept message to the RAN, and the RAN forwards the attach accept message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的信令过程举例说明如下。The signaling process in which the UE is attached to the network in the embodiment of the present disclosure and the network selects not to allocate an IP address to the UE is exemplified as follows.
如图2所示,本公开文本实施例中的上述信令过程包括:As shown in FIG. 2, the foregoing signaling process in the embodiment of the present disclosure includes:
步骤201,UE发送附着请求消息给RAN,附着请求消息中包括用户身份标识。Step 201: The UE sends an attach request message to the RAN, where the attach request message includes the user identity.
步骤202,RAN接收到附着请求消息后,把自己的BS(Base Station,基站)ID添加到附着请求消息里,而后发送给CN-MM,此附着请求消息里包含用户身份标识和当前UE附着基站的BS ID。Step 202: After receiving the attach request message, the RAN adds its own BS (Base Station) ID to the attach request message, and then sends the message to the CN-MM, where the attach request message includes the user identity and the current UE attached base station. BS ID.
步骤203,CN-MM接收到附着请求消息后,根据BS ID存储或者更新UE位置信息。同时CN-MM根据用户身份标识从签约数据库里获取用户签约信息。CN-MM根据用户签约信息确定UE为IoT用户,决定不为此类型UE选择CN-SM。CN-MM直接发送附着接受消息给RAN。Step 203: After receiving the attach request message, the CN-MM stores or updates the UE location information according to the BS ID. At the same time, the CN-MM obtains the user subscription information from the subscription database according to the user identity. The CN-MM determines that the UE is an IoT user according to the user subscription information, and decides not to select the CN-SM for this type of UE. The CN-MM directly sends an attach accept message to the RAN.
步骤204,RAN发送附着接受消息给UE。In step 204, the RAN sends an attach accept message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
在一些实施例中,参照图3所示,提供一种数据处理方法,应用于CN-MM,包括:In some embodiments, referring to FIG. 3, a data processing method is provided for applying to the CN-MM, including:
步骤301,接收UE发送的附着请求消息。Step 301: Receive an attach request message sent by the UE.
这里,UE发送附着请求消息给RAN,RAN将附着请求消息转发给CN-MM。Here, the UE sends an attach request message to the RAN, and the RAN forwards the attach request message to the CN-MM.
步骤302,根据所述附着请求消息,获取所述UE的用户签约信息。Step 302: Acquire user subscription information of the UE according to the attach request message.
这里,CN-MM接收到UE的附着请求消息,根据附着请求消息,获取到UE的用户签约信息,再根据用户签约信息决定是否为UE选择CN-SM。 Here, the CN-MM receives the attach request message of the UE, obtains the user subscription information of the UE according to the attach request message, and then determines whether to select the CN-SM for the UE according to the user subscription information.
其中,用户签约信息包括用户属性、应用标识等信息。The user subscription information includes information such as user attributes and application identifiers.
步骤303,根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。Step 303: Determine, according to the user subscription information, that the UE is an IoT user, and directly return an attach accept message to the UE.
这里,CN-MM根据用户签约信息确定UE为IoT用户时,决定不为此类型UE选择CN-SM,直接向UE返回附着接受消息。这样,在UE附着时,CN-SM不会为此类型UE分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。其中,CN-MM可发送附着接受消息给RAN,由RAN将附着接受消息转发给UE。Here, when determining that the UE is an IoT user according to the user subscription information, the CN-MM decides not to select the CN-SM for this type of UE, and directly returns an attach accept message to the UE. In this way, when the UE is attached, the CN-SM does not assign an IP address to the UE of this type, which avoids the problem that the UE allocates an IP address when the UE is attached, which brings a large amount of signaling overhead to the IoT user. The CN-MM may send an attach accept message to the RAN, and the RAN forwards the attach accept message to the UE.
上述UE附着到网络,网络不为UE分配IP地址的场景下,步骤303之后,还包括:In the scenario where the UE is attached to the network and the network does not allocate an IP address to the UE, after step 303, the method further includes:
步骤304,接收到所述UE发送的第一数据报文时,根据所述第一数据报文为所述UE选择CN-SM,并向所述CN-SM发送创建会话请求消息。其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。Step 304: When receiving the first data packet sent by the UE, select a CN-SM for the UE according to the first data packet, and send a create session request message to the CN-SM. The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
这里,第一数据报文为UE首次数据传输时发送的报文,UE首次数据传输时网络还没有为UE分配IP地址,需要请求CN-MM选择一个合适的CN-SM。或者第一数据报文为UE再次数据传输且判断上一次分配的IP地址超过对应的有效时间时发送的报文,由于上一次分配的IP地址超过了有效时间,因此需要重新请求CN-MM给选择一个合适的CN-SM。其中,UE在一次数据传输完成后,对分配的IP地址开始计时,若超过对应的有效时间,则将该IP地址作为无效地址处理。Here, the first data packet is a packet sent by the UE during the first data transmission. When the UE first transmits data, the network has not assigned an IP address to the UE, and the CN-MM needs to be requested to select a suitable CN-SM. Or the first data packet is a message that is sent by the UE again and determines that the last time the allocated IP address exceeds the corresponding valid time. Since the last assigned IP address exceeds the valid time, the CN-MM needs to be re-requested. Choose a suitable CN-SM. The UE starts counting the allocated IP address after a data transmission is completed, and if the corresponding valid time is exceeded, the IP address is treated as an invalid address.
CN-MM接收到第一数据报文时,根据第一数据报文为UE选择CN-SM,并向CN-SM发送创建会话请求消息,使得CN-SM为UE分配一个临时的IP地址,并创建UE上下文。When receiving the first data packet, the CN-MM selects the CN-SM for the UE according to the first data packet, and sends a create session request message to the CN-SM, so that the CN-SM allocates a temporary IP address to the UE, and Create a UE context.
此时,CN-MM接收到UE发送的数据报文,为UE选择合适的SM,当UE移动时,可以确保会话和业务的连续性。At this time, the CN-MM receives the data packet sent by the UE, and selects an appropriate SM for the UE. When the UE moves, the continuity of the session and the service can be ensured.
可选地,上述步骤304中,根据所述第一数据报文为所述UE选择CN-SM的步骤包括:Optionally, in the foregoing step 304, the step of selecting a CN-SM for the UE according to the first data packet includes:
根据所述第一数据报文获取所述UE的用户签约信息、所述UE的位置信 息或者所述UE的类型信息;根据所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息,为所述UE选择CN-SM。Acquiring user subscription information of the UE and location information of the UE according to the first data packet And the type information of the UE; the CN-SM is selected for the UE according to the user subscription information of the UE, the location information of the UE, or the type information of the UE.
这里,CN-MM根据第一数据报文中携带的消息,比如用户身份标识用户身份标识能够获取到UE的用户签约信息、UE位置或者UE类型UE type。CN-MM根据用户签约信息、UE位置或者UE type,选择CN-SM。Here, the CN-MM can obtain the user subscription information, the UE location, or the UE type UE type of the UE according to the message carried in the first data packet, such as the user identity identifier. CN-MM selects CN-SM according to user subscription information, UE location or UE type.
步骤305,接收所述CN-SM返回的创建会话响应消息,所述创建会话响应消息中携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址。Step 305: Receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
这里,CN-SM接收到创建会话请求消息,会根据创建会话请求消息为UE分配IP地址,并创建UE上下文。CN-MM接收CN-SM返回的创建会话响应消息中携带有该IP地址。Here, the CN-SM receives the Create Session Request message, allocates an IP address to the UE according to the Create Session Request message, and creates a UE context. The CN-MM receives the created session response message returned by the CN-SM and carries the IP address.
此时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。At this time, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
可选地,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息(SM相关信息),所述CN-SM根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。Optionally, the create session request message carries the indication information that the UE is an IoT user and session related information (SM related information), and the CN-SM allocates an IP address to the UE according to the session related information, And create a UE context.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
可选地,上述步骤305之后,还包括:Optionally, after step 305, the method further includes:
步骤306,向所述UE发送ACK消息,所述ACK消息中携带有所述IP地址和所述IP地址的有效时间。Step 306: Send an ACK message to the UE, where the ACK message carries the IP address and the valid time of the IP address.
这里,CN-SM为UE分配的IP地址为临时的IP地址,CN-MM向UE发送的ACK消息中携带有IP地址和IP地址的有效时间。Here, the IP address assigned by the CN-SM to the UE is a temporary IP address, and the ACK message sent by the CN-MM to the UE carries the valid time of the IP address and the IP address.
UE接收到IP地址后,根据IP地址进行配置,并在发送数据报文时,把 IP地址封装到数据报文中。UE在IP地址超过有效时间时,将IP地址作为无效地址处理。After receiving the IP address, the UE performs configuration according to the IP address, and when sending the data packet, The IP address is encapsulated into a data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
具体地,假定第一数据报文为第一业务的数据报文,UE在第一业务的数据报文全部发送结束后,可开启一定时器,并将IP地址的有效时间作为定时器的定时时间,在定时器到达该定时时间时,确定IP地址为无效地址。Specifically, assuming that the first data packet is the data packet of the first service, the UE may start a timer after the data packet of the first service is completely sent, and use the effective time of the IP address as the timer. Time, when the timer reaches the timing, it is determined that the IP address is an invalid address.
可选地,上述步骤305之后,还包括:Optionally, after step 305, the method further includes:
步骤307,通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。Step 307: After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to the DN.
这里,CN-MM或者CN-SM将IP地址填入第一数据报文后,将第一数据报文转发到DN。其中,CN-MM或者CN-SM将IP地址填入第一数据报文后,CN-SM将第一数据报文发送给UP-GW,UP-GW将第一数据报文转发到DN。Here, after the IP address is filled in the first data packet, the CN-MM or the CN-SM forwards the first data packet to the DN. After the CN-MM or the CN-SM fills in the first data packet, the CN-SM sends the first data packet to the UP-GW, and the UP-GW forwards the first data packet to the DN.
可选地,UP-GW接收到DN返回的第一返回数据报文后,将第一返回数据报文给CN-SM,CN-SM将第一返回数据报文发送给CN-MM,再转发到UE。Optionally, after receiving the first return data packet returned by the DN, the UP-GW sends the first return data packet to the CN-SM, and the CN-SM sends the first return data packet to the CN-MM, and then forwards the packet. Go to the UE.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输未分配IP地址和再次数据传输时上一次分配的IP地址超过对应的有效时间的一信令过程举例说明如下。In the following, in the embodiment of the present disclosure, in the scenario where the UE is attached to the network, and the network selects not to allocate an IP address to the UE, the UE first allocates an IP address for the first data transmission and the IP address that is last allocated when the data is transmitted again exceeds the corresponding valid time. The signaling process is illustrated as follows.
如图4所示,本公开文本实施例的上述信令过程包括:As shown in FIG. 4, the foregoing signaling process of the embodiment of the present disclosure includes:
步骤401,UE把发送的数据封装成数据传输(Data Transfer)(即第一数据报文),并将Data Transfer发送给RAN。Step 401: The UE encapsulates the sent data into a Data Transfer (ie, a first data packet), and sends the Data Transfer to the RAN.
步骤402,RAN将Data Transfer转发给CN-MM。In step 402, the RAN forwards the Data Transfer to the CN-MM.
步骤403,CN-MM接收到Data Transfer后,根据Data Transfer携带的消息,比如用户身份标识,为UE选择CN-SM。Step 403: After receiving the Data Transfer, the CN-MM selects the CN-SM for the UE according to a message carried by the Data Transfer, such as a user identity.
步骤404,CN-MM请求选择的CN-SM为UE创建会话,向CN-SM发送创建会话请求消息,创建会话请求消息携带有UE为IoT用户的指示信息以及SM相关信息。Step 404: The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM. The create session request message carries the indication information that the UE is the IoT user and the SM related information.
步骤405,CN-SM根据SM相关信息为UE分配IP地址,并创建UE上下文。 Step 405: The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
步骤406,CN-SM发送创建会话响应消息给CN-MM,创建会话响应消息里携带UE的IP地址。Step 406: The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
步骤407-408,CN-MM发送ACK消息给UE,ACK消息中携带有IP地址和IP地址的有效时间。Steps 407-408: The CN-MM sends an ACK message to the UE, where the ACK message carries the valid time of the IP address and the IP address.
当UE接收到IP地址,根据IP地址进行配置,并在发送数据报文时,把IP地址封装到数据报文中。UE在IP地址超过有效时间时,将IP地址作为无效地址处理。When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
步骤409-410,网络(CN-MM或CN-SM)把IP地址填入Data Transfer中,并发送到DN。In steps 409-410, the network (CN-MM or CN-SM) fills the IP address into the Data Transfer and sends it to the DN.
步骤411,UP-GW把DN返回的第一返回数据报文给CN-SM。Step 411: The UP-GW sends the first return data packet returned by the DN to the CN-SM.
步骤412-414,将第一返回数据报文转发到UE。Steps 412-414, forwarding the first return data message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
可选地,所述创建会话请求消息还携带有所述第一数据报文。Optionally, the create session request message further carries the first data packet.
此时,通过在创建会话请求消息里携带UE要发送的数据报文,降低了信令开销。At this time, the signaling overhead is reduced by carrying the data packet to be sent by the UE in the create session request message.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输未分配IP地址和再次数据传输时上一次分配的IP地址超过对应的有效时间的另一信令过程举例说明如下。In the following, in the embodiment of the present disclosure, in the scenario where the UE is attached to the network and the network selects not to allocate an IP address to the UE, the UE does not allocate an IP address for the first data transmission and the IP address that was last allocated when the data is transmitted again exceeds the corresponding valid time. A signaling process is illustrated as follows.
如图5所示,本公开文本实施例的上述信令过程包括:As shown in FIG. 5, the foregoing signaling process of the embodiment of the present disclosure includes:
步骤501,UE把发送的数据封装成Data Transfer(即第一数据报文),并将Data Transfer发送给RAN。Step 501: The UE encapsulates the sent data into Data Transfer (ie, the first data packet), and sends the Data Transfer to the RAN.
步骤502,RAN将Data Transfer转发给CN-MM。In step 502, the RAN forwards the Data Transfer to the CN-MM.
步骤503,CN-MM接收到Data Transfer后,根据Data Transfer携带的消 息,比如用户身份标识,为UE选择CN-SM。Step 503, after the CN-MM receives the Data Transfer, according to the data transfer Information, such as user identity, selects CN-SM for the UE.
步骤504,CN-MM请求选择的CN-SM为UE创建会话,向CN-SM发送创建会话请求消息,创建会话请求消息携带有UE为IoT用户的指示信息以及SM相关信息,创建会话请求消息还携带有Data Transfer。Step 504: The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM. The create session request message carries the indication information of the IoT user and the SM related information, and creates a session request message. Carry Data Transfer.
步骤505,CN-SM根据SM相关信息为UE分配IP地址,并创建UE上下文。Step 505: The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
步骤506,CN-SM发送创建会话响应消息给CN-MM,创建会话响应消息里携带UE的IP地址。Step 506: The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
步骤507-508,CN-MM发送ACK消息给UE,ACK消息中携带有IP地址和IP地址的有效时间。Steps 507-508, the CN-MM sends an ACK message to the UE, where the ACK message carries the valid time of the IP address and the IP address.
当UE接收到IP地址,根据IP地址进行配置,并在发送数据报文时,把IP地址封装到数据报文中。UE在IP地址超过有效时间时,将IP地址作为无效地址处理。When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
步骤509,CN-SM把IP地址填入Data Transfer中,并发送到DN。In step 509, the CN-SM fills the IP address into the Data Transfer and sends it to the DN.
步骤510,UP-GW把DN返回的第一返回数据报文给CN-SM。Step 510: The UP-GW sends the first return data packet returned by the DN to the CN-SM.
步骤511-513,将第一返回数据报文转发到UE。Steps 511-513, forwarding the first return data message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。且通过在创建会话请求消息里携带UE要发送的数据报文,降低了信令开销。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead. The signaling overhead is reduced by carrying the data packet to be sent by the UE in the create session request message.
可选地,在CN为基于SDN时,将所述第一数据报文转发到DN包括:Optionally, when the CN is based on the SDN, forwarding the first data packet to the DN includes:
通过所述CN-SM将所述第一数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文或者所述第二数据报文转发到所述DN。And transmitting, by the CN-SM, the first data packet to the UP-GW according to the packet out, and forwarding, by the UP-GW, the first data packet or the second data packet to the DN.
此时,在CN为基于SDN(采用Open Flow协议)时,利用CN-SM将 第一数据报文按照Packet out的方式发送给UP-GW,从而适应了SDN。At this time, when the CN is based on SDN (using the Open Flow protocol), CN-SM will be used. The first data packet is sent to the UP-GW in the manner of Packet Out, thereby adapting to the SDN.
可选地,在CN为基于SDN时,UP-GW接收到DN返回的第一返回数据报文后,UP-GW将第一返回数据报文按照数据报文上报(Packer in)的方式发送给CN-SM,再转发到UE。Optionally, after the CN is an SDN-based SDN, after receiving the first return data packet returned by the DN, the UP-GW sends the first return data packet to the device according to the data packet report (Packer in). CN-SM is forwarded to the UE.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,在CN为基于SDN时,UE首次数据传输未分配IP地址和再次数据传输时上一次分配的IP地址超过对应的有效时间的另一信令过程举例说明如下。In the following, in the embodiment of the present disclosure, when the UE is attached to the network, and the network selects not to allocate an IP address to the UE, when the CN is based on the SDN, the UE first allocates an IP address for the first data transmission and the last allocated IP address when the data is transmitted again. Another signaling procedure that exceeds the corresponding valid time is illustrated below.
如图6所示,本公开文本实施例的上述信令过程包括:As shown in FIG. 6, the foregoing signaling process of the embodiment of the present disclosure includes:
步骤601,UE把发送的数据封装成Data Transfer(即第一数据报文),并将Data Transfer发送给RAN。Step 601: The UE encapsulates the sent data into Data Transfer (ie, the first data packet), and sends the Data Transfer to the RAN.
步骤602,RAN将Data Transfer转发给CN-MM。In step 602, the RAN forwards the Data Transfer to the CN-MM.
步骤603,CN-MM接收到Data Transfer后,根据Data Transfer携带的消息,比如用户身份标识,为UE选择CN-SM。Step 603: After receiving the Data Transfer, the CN-MM selects the CN-SM for the UE according to a message carried by the Data Transfer, such as a user identity.
步骤604,CN-MM请求选择的CN-SM为UE创建会话,向CN-SM发送创建会话请求消息,创建会话请求消息携带有UE为IoT用户的指示信息以及SM相关信息。Step 604: The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM. The create session request message carries the indication information that the UE is the IoT user and the SM related information.
步骤605,CN-SM根据SM相关信息为UE分配IP地址,并创建UE上下文。Step 605: The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
步骤606,CN-SM发送创建会话响应消息给CN-MM,创建会话响应消息里携带UE的IP地址。Step 606: The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
步骤607-608,CN-MM发送ACK消息给UE,ACK消息中携带有IP地址和IP地址的有效时间。Steps 607-608, the CN-MM sends an ACK message to the UE, where the ACK message carries the valid time of the IP address and the IP address.
当UE接收到IP地址,根据IP地址进行配置,并在发送数据报文时,把IP地址封装到数据报文中。UE在IP地址超过有效时间时,将IP地址作为无效地址处理。When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
步骤609-610,网络(CN-MM或CN-SM)把IP地址填入Data Transfer中,CN-SM将Data Transfer按照Packet out的方式发送给UP-GW,由UP-GW发送到DN。 Steps 609-610, the network (CN-MM or CN-SM) fills the IP address into the Data Transfer, and the CN-SM sends the Data Transfer to the UP-GW in the manner of Packet Out, and the UP-GW sends the data to the DN.
步骤611,UP-GW把DN返回的第一返回数据报文按照Packet in的方式发送给CN-SM。In step 611, the UP-GW sends the first return data packet returned by the DN to the CN-SM in the manner of Packet in.
步骤612-614,将第一返回数据报文转发到UE。Steps 612-614, forwarding the first return data message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。且利用CN-SM将第一数据报文按照Packet out的方式发送给UP-GW,从而适应了SDN。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead. And the first data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,在CN为基于SDN时,UE首次数据传输未分配IP地址和再次数据传输时上一次分配的IP地址超过对应的有效时间的另一信令过程举例说明如下。In the following, in the embodiment of the present disclosure, when the UE is attached to the network, and the network selects not to allocate an IP address to the UE, when the CN is based on the SDN, the UE first allocates an IP address for the first data transmission and the last allocated IP address when the data is transmitted again. Another signaling procedure that exceeds the corresponding valid time is illustrated below.
如图7所示,本公开文本实施例的上述信令过程包括:As shown in FIG. 7, the foregoing signaling process of the embodiment of the present disclosure includes:
步骤701,UE把发送的数据封装成Data Transfer(即第一数据报文),并将Data Transfer发送给RAN。Step 701: The UE encapsulates the sent data into Data Transfer (ie, the first data packet), and sends the Data Transfer to the RAN.
步骤702,RAN将Data Transfer转发给CN-MM。In step 702, the RAN forwards the Data Transfer to the CN-MM.
步骤703,CN-MM接收到Data Transfer后,根据Data Transfer携带的消息,比如用户身份标识,为UE选择CN-SM。Step 703: After receiving the Data Transfer, the CN-MM selects the CN-SM for the UE according to a message carried by the Data Transfer, such as a user identity.
步骤704,CN-MM请求选择的CN-SM为UE创建会话,向CN-SM发送创建会话请求消息,创建会话请求消息携带有UE为IoT用户的指示信息以及SM相关信息,创建会话请求消息还携带有Data Transfer。Step 704: The CN-MM requests the selected CN-SM to create a session for the UE, and sends a create session request message to the CN-SM. The create session request message carries the indication information of the IoT user and the SM related information, and creates a session request message. Carry Data Transfer.
步骤705,CN-SM根据SM相关信息为UE分配IP地址,并创建UE上下文。Step 705: The CN-SM allocates an IP address to the UE according to the SM related information, and creates a UE context.
步骤706,CN-SM发送创建会话响应消息给CN-MM,创建会话响应消息里携带UE的IP地址。Step 706: The CN-SM sends a create session response message to the CN-MM, and the session response message carries the IP address of the UE.
步骤707-708,CN-MM发送ACK消息给UE,ACK消息中携带有IP地 址和IP地址的有效时间。Steps 707-708, the CN-MM sends an ACK message to the UE, and the ACK message carries the IP address. The effective time of the address and IP address.
当UE接收到IP地址,根据IP地址进行配置,并在发送数据报文时,把IP地址封装到数据报文中。UE在IP地址超过有效时间时,将IP地址作为无效地址处理。When the UE receives the IP address, it configures according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
步骤709,CN-SM把IP地址填入Data Transfer中,并将Data Transfer按照Packet out的方式发送给UP-GW,由UP-GW发送到DN。In step 709, the CN-SM fills the IP address into the Data Transfer, and sends the Data Transfer to the UP-GW in the manner of Packet Out, and sends it to the DN by the UP-GW.
步骤710,UP-GW把DN返回的第一返回数据报文按照Packet in的方式发送给CN-SM。In step 710, the UP-GW sends the first return data packet returned by the DN to the CN-SM in the manner of Packet in.
步骤711-713,将第一返回数据报文转发到UE。Steps 711-713, forwarding the first return data message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。且通过在创建会话请求消息里携带UE要发送的数据报文,降低了信令开销。且利用CN-SM将第一数据报文按照Packet out的方式发送给UP-GW,从而适应了SDN。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead. The signaling overhead is reduced by carrying the data packet to be sent by the UE in the create session request message. And the first data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
在一些实施例中,在上述参照图3-7描述的实施例的基础上,参照图8所示,提供一种数据处理方法,在上述步骤305之后,还包括:In some embodiments, based on the embodiment described above with reference to FIG. 3-7, referring to FIG. 8, a data processing method is provided. After the step 305, the method further includes:
步骤308,接收所述UE发送的第二数据报文。其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。Step 308: Receive a second data packet sent by the UE. The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
这里,第二数据报文和第一数据报文均为UE发送的第一业务的数据报文,UE发送第二数据报文继续使用IP地址。或者第二数据报文是UE在IP地址没有超过对应的有效时间时发送的第二业务的数据报文,UE发送第二数据报文继续使用IP地址。其中,UE在第一业务的数据传输完成后,对分配的IP地址开始计时,若超过对应的有效时间,则将IP地址作为无效地址处 理。Here, the second data packet and the first data packet are data packets of the first service sent by the UE, and the UE sends the second data packet to continue using the IP address. Or the second data packet is a data packet of the second service that is sent by the UE when the IP address does not exceed the corresponding valid time, and the UE sends the second data packet to continue using the IP address. The UE starts timing the allocated IP address after the data transmission of the first service is completed. If the corresponding valid time is exceeded, the IP address is taken as the invalid address. Reason.
具体地,UE在第一业务的数据报文全部发送完毕后,可开启一定时器,并将IP地址的有效时间作为定时器的定时时间,在定时器到达该定时时间时,确定IP地址为无效地址。Specifically, after all the data packets of the first service are sent, the UE may start a timer, and use the effective time of the IP address as the timer time. When the timer reaches the timing, determine the IP address as Invalid address.
步骤309,若所述第二数据报文携带有所述IP地址,则将所述第二数据报文转发到DN。Step 309: If the second data packet carries the IP address, forward the second data packet to the DN.
这里,UE根据ACK消息获取到IP地址后,将IP地址填入第二数据报文中,然后再发送到CN。CN-MM或CN-SM确定第二数据报文中携带有IP地址,直接将第二数据报文转发到DN。Here, after acquiring the IP address according to the ACK message, the UE fills the IP address into the second data packet and then sends the IP address to the CN. The CN-MM or the CN-SM determines that the second data packet carries the IP address, and directly forwards the second data packet to the DN.
步骤310,若所述第二数据报文未携带有所述IP地址,则通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN。Step 310: If the second data packet does not carry the IP address, the IP address is filled in the second data packet by using the CN-MM or the CN-SM. The second data message is forwarded to the DN.
这里,UE接收到ACK消息前发送的第二数据报文中未携带有IP地址。CN-MM或者CN-SM将IP地址填入第二数据报文后,再将第二数据报文转发到DN。Here, the second data packet sent before the UE receives the ACK message does not carry the IP address. After the IP address is filled in the second data packet, the CN-MM or the CN-SM forwards the second data packet to the DN.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,UE首次数据传输分配IP地址后再次发送数据报文和再次数据传输时上一次分配的IP地址未超过对应的有效时间的一信令过程举例说明如下。In the following, in the embodiment of the present disclosure, when the UE is attached to the network and the network selects not to allocate an IP address to the UE, the IP address that is last allocated when the UE retransmits the data packet after the IP address is allocated for the first data transmission and the data transmission is not exceeded. A signaling procedure of the corresponding valid time is illustrated as follows.
如图9所示,本公开文本实施例的上述信令过程包括:As shown in FIG. 9, the foregoing signaling process of the embodiment of the present disclosure includes:
步骤901,UE把发送的数据封装成Data Transfer(即第二数据报文),并将Data Transfer发送给RAN。Step 901: The UE encapsulates the sent data into a Data Transfer (ie, a second data packet), and sends the Data Transfer to the RAN.
步骤902-904,CN(CN-MM或CN-SM)接收到Data Transfer后,查看Data Transfer的IP地址,若Data Transfer携带有IP地址,则将Data Transfer转发到DN;若Data Transfer未携带有IP地址,则将IP地址填入Data Transfer后,将Data Transfer转发到DN。Steps 902-904, after receiving the Data Transfer, the CN (CN-MM or CN-SM) checks the IP address of the Data Transfer. If the Data Transfer carries the IP address, the Data Transfer is forwarded to the DN; if the Data Transfer is not carried IP address, after filling the IP address into Data Transfer, forward Data Transfer to the DN.
步骤905,UP-GW把DN返回的第二返回数据报文给CN-SM。Step 905: The UP-GW sends the second return data packet returned by the DN to the CN-SM.
步骤906-908,将第二返回数据报文转发到UE。Steps 906-908, forwarding the second return data message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分 配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。在临时分配的IP地址没有超过有效时间时,直接使用临时分配的IP地址即可,节省了信令开销。The data processing method of the embodiment of the present disclosure does not distinguish the IoT user when the UE is attached. The IP address is used to avoid the problem of assigning an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the temporarily assigned IP address does not exceed the valid time, the temporarily allocated IP address can be directly used, which saves signaling overhead.
可选地,在CN为基于SDN时,将所述第二数据报文转发到DN包括:Optionally, when the CN is based on the SDN, forwarding the second data packet to the DN includes:
通过所述CN-SM将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN。And transmitting, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forwarding, by the UP-GW, the second data packet to the DN.
此时,在CN为基于SDN(采用Open Flow协议)时,利用CN-SM将第二数据报文按照Packet out的方式发送给UP-GW,从而适应了SDN。At this time, when the CN is based on SDN (using the Open Flow protocol), the second data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
可选地,在CN为基于SDN时,UP-GW接收到DN返回的第二返回数据报文后,UP-GW将第二返回数据报文按照数据报文上报Packer in的方式发送给CN-SM,再转发到UE。Optionally, when the CN is based on the SDN, after the UP-GW receives the second return data packet returned by the DN, the UP-GW sends the second return data packet to the CN- according to the data packet reported to the Packet_in. SM, then forwarded to the UE.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,在CN为基于SDN时,UE首次数据传输分配IP地址后再次发送数据报文和再次数据传输时上一次分配的IP地址未超过对应的有效时间的一信令过程举例说明如下。In the following, in the embodiment of the present disclosure, when the UE is attached to the network and the network selects not to allocate an IP address to the UE, when the CN is based on the SDN, the UE transmits the IP address after the first data transmission, and then retransmits the data packet and retransmits the data. A signaling procedure in which the assigned IP address does not exceed the corresponding valid time is illustrated as follows.
如图10所示,本公开文本实施例的上述信令过程包括:As shown in FIG. 10, the foregoing signaling process of the embodiment of the present disclosure includes:
步骤1001,UE把发送的数据封装成Data Transfer(即第二数据报文),并将Data Transfer发送给RAN。Step 1001: The UE encapsulates the sent data into a Data Transfer (ie, a second data packet), and sends the Data Transfer to the RAN.
步骤1002-1004,CN(CN-MM或CN-SM)接收到Data Transfer后,查看Data Transfer的IP地址,若Data Transfer携带有IP地址,则CN-SM将Data Transfer按照Packet out的方式发送给UP-GW,由UP-GW发送到DN;若Data Transfer未携带有IP地址,则将IP地址填入Data Transfer后,CN-SM将Data Transfer按照Packet out的方式发送给UP-GW,由UP-GW发送到DN。Step 1002-1004: After receiving the Data Transfer, the CN (CN-MM or CN-SM) checks the IP address of the Data Transfer. If the Data Transfer carries an IP address, the CN-SM sends the Data Transfer to the Packet Out mode. The UP-GW is sent to the DN by the UP-GW. If the Data Transfer does not carry the IP address, the IP address is filled in the Data Transfer. The CN-SM sends the Data Transfer to the UP-GW in the manner of Packet Out. -GW is sent to the DN.
步骤1005,UP-GW把DN返回的第二返回数据报文按照Packet in的方式发送给CN-SM。In step 1005, the UP-GW sends the second return data packet returned by the DN to the CN-SM in the manner of Packet in.
步骤1006-1008,将第二返回数据报文转发到UE。In steps 1006-1008, the second return data message is forwarded to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。在临时分配的IP地址没有超过有效时间时,直接使用临 时分配的IP地址即可,节省了信令开销。且利用CN-SM将第一数据报文按照Packet out的方式发送给UP-GW,从而适应了SDN。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the temporarily assigned IP address does not exceed the valid time, use Pro directly The assigned IP address can be used, saving signaling overhead. And the first data packet is sent to the UP-GW in a Packet Out manner by using the CN-SM, thereby adapting to the SDN.
在一些实施例中,在上述参照图3-7描述的实施例的基础上,参照图11所示,提供一种数据处理方法,在上述步骤303之后,还包括:In some embodiments, based on the embodiment described above with reference to FIG. 3-7, referring to FIG. 11, a data processing method is provided. After the step 303, the method further includes:
步骤311,接收所述UE发送的去附着请求消息。Step 311: Receive a detach request message sent by the UE.
这里,UE发送去附着请求消息给RAN,RAN将去附着请求消息转发给CN-MM。Here, the UE sends a detach request message to the RAN, and the RAN forwards the detach request message to the CN-MM.
步骤312,根据所述去附着请求消息,删除相关的信令连接。Step 312: Delete the related signaling connection according to the detach request message.
这里,CN-MM根据去附着请求消息,删除信令连接。Here, the CN-MM deletes the signaling connection according to the detach request message.
步骤313,向所述UE返回去附着接受消息。Step 313, returning a detach accept message to the UE.
这里,CN-MM发送去附着接受消息给RAN,RAN将去附着请求消息转发给UE,并删除信令连接。Here, the CN-MM sends a detach accept message to the RAN, and the RAN forwards the detach request message to the UE and deletes the signaling connection.
下面对本公开文本实施例中UE附着到网络,网络选择不为UE分配IP地址的场景下,UE发起去附着的信令过程举例说明如下。The following describes the signaling procedure for the UE to initiate detachment in the scenario in which the UE is attached to the network and the network selects not to allocate an IP address to the UE in the embodiment of the present disclosure.
如图12所示,本公开文本实施例中的上述信令过程包括:As shown in FIG. 12, the foregoing signaling process in the embodiment of the present disclosure includes:
步骤1201,UE发送去附着请求消息给RAN,去附着请求消息中包含用户身份标识。Step 1201: The UE sends a detach request message to the RAN, where the detach request message includes a user identity.
步骤1202,RAN接收到去附着请求消息后,把此消息发送给CN-MM,去附着请求消息里包含用户身份标识。Step 1202: After receiving the detach request message, the RAN sends the message to the CN-MM, where the detach request message includes the user identity.
步骤1203,CN-MM发送去附着接受消息给RAN,并删除信令连接。In step 1203, the CN-MM sends a detach accept message to the RAN, and deletes the signaling connection.
步骤1204,RAN发送去附着接受消息给UE,并删除信令连接。UE接收到去附着接受消息后也删除信令连接。In step 1204, the RAN sends a detach accept message to the UE, and deletes the signaling connection. The UE also deletes the signaling connection after receiving the detach accept message.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。在UE发起去附着请求时,CN-MM、RAN和UE删除信令连接即可,节省了信令开销。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the UE initiates the detach request, the CN-MM, the RAN, and the UE delete the signaling connection, which saves signaling overhead.
在一些实施例中,参照图13所示,提供一种数据处理方法,应用于CN-SM,包括:In some embodiments, referring to FIG. 13, a data processing method is provided for applying to a CN-SM, including:
步骤1301,接收CN-MM发送的创建会话请求消息。其中,所述创建会 话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。Step 1301: Receive a create session request message sent by the CN-MM. Wherein, the creation meeting The message request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is an IP address that is not allocated to the UE or is allocated to the UE last time. A message sent when the address exceeds the corresponding valid time.
这里,CN-MM接收到UE的附着请求消息时,根据附着请求消息获取UE的用户签约信息,并根据用户签约信息确定UE为IoT用户时,不为UE选择CN-SM,直接向UE返回附着接受消息。Here, when receiving the attach request message of the UE, the CN-MM obtains the user subscription information of the UE according to the attach request message, and determines that the UE is an IoT user according to the user subscription information, does not select the CN-SM for the UE, and directly returns the attachment to the UE. Accept the message.
CN-MM接收到UE的第一数据报文时,为UE选择CN-SM,向CN-SM发送创建会话请求消息。When receiving the first data packet of the UE, the CN-MM selects the CN-SM for the UE, and sends a create session request message to the CN-SM.
第一数据报文为UE首次数据传输时发送的报文,UE首次数据传输时网络还没有为UE分配IP地址,需要请求CN-MM选择一个合适的CN-SM。或者第一数据报文为UE再次数据传输且判断上一次分配的IP地址超过对应的有效时间时发送的报文,由于上一次分配的IP地址超过了有效时间,因此需要重新请求CN-MM给选择一个合适的CN-SM。其中,UE在一次数据传输完成后,对分配的IP地址开始计时,若超过对应的有效时间,则将该IP地址作为无效地址处理。The first data packet is a packet sent by the UE during the first data transmission. When the UE first transmits data, the network has not assigned an IP address to the UE. The CN-MM needs to be requested to select a suitable CN-SM. Or the first data packet is a message that is sent by the UE again and determines that the last time the allocated IP address exceeds the corresponding valid time. Since the last assigned IP address exceeds the valid time, the CN-MM needs to be re-requested. Choose a suitable CN-SM. The UE starts counting the allocated IP address after a data transmission is completed, and if the corresponding valid time is exceeded, the IP address is treated as an invalid address.
步骤1302,根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文。Step 1302: Assign an IP address to the UE according to the Create Session Request message, and create a UE context.
这里,CN-SM接收到创建会话请求消息,会根据创建会话请求消息为UE分配临时的IP地址,并创建UE上下文。Here, the CN-SM receives the Create Session Request message, allocates a temporary IP address to the UE according to the Create Session Request message, and creates a UE context.
步骤1303,向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址。Step 1303: Return a create session response message to the CN-MM, where the create session response message carries the IP address.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
可选地,上述步骤1303之后,还包括: Optionally, after step 1303, the method further includes:
步骤1304,通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。Step 1304: After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to the DN.
这里,CN-MM或者CN-SM将IP地址填入第一数据报文后,将第一数据报文转发到DN。其中,CN-MM或者CN-SM将IP地址填入第一数据报文后,CN-SM将第一数据报文发送给UP-GW,UP-GW将第一数据报文转发到DN。Here, after the IP address is filled in the first data packet, the CN-MM or the CN-SM forwards the first data packet to the DN. After the CN-MM or the CN-SM fills in the first data packet, the CN-SM sends the first data packet to the UP-GW, and the UP-GW forwards the first data packet to the DN.
可选地,UP-GW接收到DN返回的第一返回数据报文后,将第一返回数据报文给CN-SM,CN-SM将第一返回数据报文发送给CN-MM,再转发到UE。Optionally, after receiving the first return data packet returned by the DN, the UP-GW sends the first return data packet to the CN-SM, and the CN-SM sends the first return data packet to the CN-MM, and then forwards the packet. Go to the UE.
可选地,上述步骤1303之后,还包括:Optionally, after step 1303, the method further includes:
步骤1305,在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文携带有所述IP地址时,将所述第二数据报文转发到DN。其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。Step 1305: When the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, forward the second data packet to the DN. The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
这里,第二数据报文和第一数据报文均为UE发送的第一业务的数据报文,UE发送第二数据报文继续使用IP地址。或者第二数据报文是UE在IP地址没有超过对应的有效时间时发送的第二业务的数据报文,UE发送第二数据报文继续使用IP地址。其中,UE在第一业务的数据传输完成后,对分配的IP地址开始计时,若超过对应的有效时间,则将IP地址作为无效地址处理。Here, the second data packet and the first data packet are data packets of the first service sent by the UE, and the UE sends the second data packet to continue using the IP address. Or the second data packet is a data packet of the second service that is sent by the UE when the IP address does not exceed the corresponding valid time, and the UE sends the second data packet to continue using the IP address. After the data transmission of the first service is completed, the UE starts counting the allocated IP address. If the corresponding valid time is exceeded, the IP address is treated as an invalid address.
具体地,UE在第一业务的数据报文全部发送完毕后,可开启一定时器,并将IP地址的有效时间作为定时器的定时时间,在定时器到达该定时时间时,确定IP地址为无效地址。Specifically, after all the data packets of the first service are sent, the UE may start a timer, and use the effective time of the IP address as the timer time. When the timer reaches the timing, determine the IP address as Invalid address.
其中,UE获取到IP地址后,将IP地址填入第二数据报文中,然后再发送到CN。CN-MM或CN-SM确定第二数据报文中携带有IP地址,直接将第二数据报文转发到DN。After obtaining the IP address, the UE fills the IP address into the second data packet and then sends the IP address to the CN. The CN-MM or the CN-SM determines that the second data packet carries the IP address, and directly forwards the second data packet to the DN.
步骤1306,在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文未携带有所述IP地址时,通过所述CN-MM或者所述CN-SM 将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN。Step 1306, when the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, the CN-MM or the CN- SM After the IP address is filled in the second data packet, the second data packet is forwarded to the DN.
这里,UE获取到IP地址前发送的第二数据报文中未携带有IP地址。CN-MM或者CN-SM将IP地址填入第二数据报文后,再将第二数据报文转发到DN。Here, the second data packet sent before the UE obtains the IP address does not carry the IP address. After the IP address is filled in the second data packet, the CN-MM or the CN-SM forwards the second data packet to the DN.
可选地,在CN为基于SDN时,上述将所述第一数据报文或者所述第二数据报文转发到DN包括:Optionally, when the CN is based on the SDN, the forwarding the first data packet or the second data packet to the DN includes:
将所述第一数据报文或者所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文或者所述第二数据报文转发到所述DN。Sending the first data packet or the second data packet to the UP-GW in a packet out manner, and forwarding the first data packet or the second data packet by using the UP-GW To the DN.
此时,在CN为基于SDN(采用Open Flow协议)时,利用CN-SM第一数据报文或者将第二数据报文按照Packet out的方式发送给UP-GW,从而适应了SDN。At this time, when the CN is based on SDN (using the Open Flow protocol), the CN-SM first data packet or the second data packet is sent to the UP-GW in a Packet out manner, thereby adapting to the SDN.
可选地,在CN为基于SDN时,UP-GW接收到DN返回的第二返回数据报文后,UP-GW将第一返回数据报文或者第二返回数据报文按照数据报文上报Packer in的方式发送给CN-SM,再转发到UE。Optionally, after the CN is an SDN-based SDN, the UP-GW receives the second return data packet returned by the DN, and the UP-GW reports the first return data packet or the second return data packet to the packet according to the data packet. The in mode is sent to the CN-SM and then forwarded to the UE.
可选地,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息。上述步骤1302的步骤包括:Optionally, the create session request message carries the indication information that the UE is an IoT user and session related information. The steps of step 1302 above include:
步骤13021,根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。Step 13021: Assign an IP address to the UE according to the session related information, and create a UE context.
此时,CN-SM根据会话相关信息(SM相关信息)为UE分配IP地址,并创建UE上下文。At this time, the CN-SM allocates an IP address to the UE according to the session related information (SM related information), and creates a UE context.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
在一些实施例中,参照图14所示,提供一种数据处理方法,应用于UE, 包括:In some embodiments, as shown in FIG. 14, a data processing method is provided for application to a UE. include:
步骤1401,向CN-MM发送附着请求消息。Step 1401: Send an attach request message to the CN-MM.
这里,UE发送附着请求消息给RAN,RAN将附着请求消息转发给CN-MM。Here, the UE sends an attach request message to the RAN, and the RAN forwards the attach request message to the CN-MM.
步骤1402,接收所述CN-MM返回的附着接受消息。其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。Step 1402: Receive an attach accept message returned by the CN-MM. The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
这里,CN-MM接收到UE的附着请求消息,根据附着请求消息,获取到UE的用户签约信息,再根据用户签约信息决定是否为UE选择CN-SM。其中,用户签约信息包括用户属性、应用标识等信息。Here, the CN-MM receives the attach request message of the UE, obtains the user subscription information of the UE according to the attach request message, and then determines whether to select the CN-SM for the UE according to the user subscription information. The user subscription information includes information such as user attributes and application identifiers.
CN-MM根据用户签约信息确定UE为IoT用户时,决定不为此类型UE选择CN-SM,直接向UE返回附着接受消息。这样,CN-SM不会为此类型UE分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。其中,CN-MM可发送附着接受消息给RAN,由RAN将附着接受消息转发给UE。When the CN-MM determines that the UE is an IoT user according to the user subscription information, it decides not to select the CN-SM for this type of UE, and directly returns an attach accept message to the UE. In this way, the CN-SM does not assign an IP address to the UE of this type, which avoids the problem of assigning an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. The CN-MM may send an attach accept message to the RAN, and the RAN forwards the attach accept message to the UE.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
可选地,上述步骤1402之后,还包括:Optionally, after the step 1402, the method further includes:
步骤1403,向所述CN-MM发送第一数据报文。其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。Step 1403: Send a first data packet to the CN-MM. The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
这里,第一数据报文为UE首次数据传输时发送的报文,UE首次数据传输时网络还没有为UE分配IP地址,需要请求CN-MM选择一个合适的CN-SM。或者第一数据报文为UE再次数据传输且判断上一次分配的IP地址超过对应的有效时间时发送的报文,由于上一次分配的IP地址超过了有效时间,因此需要重新请求CN-MM给选择一个合适的CN-SM。其中,UE在一次数据传输完成后,对分配的IP地址开始计时,若超过对应的有效时间,则 将该IP地址作为无效地址处理。Here, the first data packet is a packet sent by the UE during the first data transmission. When the UE first transmits data, the network has not assigned an IP address to the UE, and the CN-MM needs to be requested to select a suitable CN-SM. Or the first data packet is a message that is sent by the UE again and determines that the last time the allocated IP address exceeds the corresponding valid time. Since the last assigned IP address exceeds the valid time, the CN-MM needs to be re-requested. Choose a suitable CN-SM. The UE starts timing the allocated IP address after a data transmission is completed, and if the corresponding valid time is exceeded, The IP address is treated as an invalid address.
CN-MM接收到第一数据报文时,根据第一数据报文为UE选择CN-SM,并向CN-SM发送创建会话请求消息,使得CN-SM为UE分配一个临时的IP地址,并创建UE上下文。When receiving the first data packet, the CN-MM selects the CN-SM for the UE according to the first data packet, and sends a create session request message to the CN-SM, so that the CN-SM allocates a temporary IP address to the UE, and Create a UE context.
可选地,上述步骤1403之后,还包括:Optionally, after step 1403, the method further includes:
步骤1404,接收所述CN-MM发送的ACK消息,所述ACK消息中携带有IP地址和所述IP地址的有效时间。Step 1404: Receive an ACK message sent by the CN-MM, where the ACK message carries an IP address and a valid time of the IP address.
其中,所述ACK消息是所述CN-MM根据所述第一数据报文为所述UE选择CN-SM,向所述CN-SM发送创建会话请求消息,并接收所述CN-SM返回的创建会话响应消息后发送的消息,所述创建会话响应消息携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址。The ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return. A message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
这里,CN-SM为UE分配的IP地址为临时的IP地址,CN-MM向UE发送的ACK消息中携带有IP地址和IP地址的有效时间。Here, the IP address assigned by the CN-SM to the UE is a temporary IP address, and the ACK message sent by the CN-MM to the UE carries the valid time of the IP address and the IP address.
UE接收到IP地址后,根据IP地址进行配置,并在发送数据报文时,把IP地址封装到数据报文中。UE在IP地址超过有效时间时,将IP地址作为无效地址处理。After receiving the IP address, the UE performs configuration according to the IP address, and encapsulates the IP address into the data packet when sending the data packet. When the IP address exceeds the valid time, the UE processes the IP address as an invalid address.
可选地,上述步骤1403之后,还包括:Optionally, after step 1403, the method further includes:
步骤1405,向所述CN-MM发送第二数据报文。Step 1405: Send a second data packet to the CN-MM.
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
这里,第二数据报文和第一数据报文均为UE发送的第一业务的数据报文,UE发送第二数据报文继续使用IP地址。或者第二数据报文是UE在IP地址没有超过对应的有效时间时发送的第二业务的数据报文,UE发送第二数据报文继续使用IP地址。其中,UE在第一业务的数据传输完成后,对分配的IP地址开始计时,若超过对应的有效时间,则将IP地址作为无效地址处理。Here, the second data packet and the first data packet are data packets of the first service sent by the UE, and the UE sends the second data packet to continue using the IP address. Or the second data packet is a data packet of the second service that is sent by the UE when the IP address does not exceed the corresponding valid time, and the UE sends the second data packet to continue using the IP address. After the data transmission of the first service is completed, the UE starts counting the allocated IP address. If the corresponding valid time is exceeded, the IP address is treated as an invalid address.
可选地,上述步骤1404之后,上述步骤1405之前,还包括:Optionally, after the step 1404, before the step 1405, the method further includes:
将所述IP地址填入所述第二数据报文。 Filling the IP address into the second data packet.
此时,UE根据ACK消息获取到IP地址后,将IP地址填入第二数据报文中,然后再发送到CN。CN-MM或CN-SM确定第二数据报文中携带有IP地址,直接将第二数据报文转发到DN。At this time, after obtaining the IP address according to the ACK message, the UE fills the IP address into the second data packet and then sends the IP address to the CN. The CN-MM or the CN-SM determines that the second data packet carries the IP address, and directly forwards the second data packet to the DN.
可选地,所述第一数据报文为第一业务的数据报文。上述步骤1404之后,还包括:Optionally, the first data packet is a data packet of the first service. After the above step 1404, the method further includes:
步骤1406,在所述第一业务的数据报文全部发送结束后,开启一定时器,并将所述IP地址的有效时间作为所述定时器的定时时间;Step 1406, after all the data packets of the first service are sent, start a timer, and use the valid time of the IP address as the timer time of the timer.
步骤1407,在所述定时器到达所述定时时间时,确定所述IP地址为无效地址。Step 1407, when the timer reaches the timing, determining that the IP address is an invalid address.
此时,UE可根据定时器对IP地址的有效时间进行定时,在IP地址超过有效时间时,将IP地址作为无效地址处理。At this time, the UE may time the effective time of the IP address according to the timer, and when the IP address exceeds the valid time, the IP address is treated as an invalid address.
可选地,上述步骤1402之后,还包括:Optionally, after the step 1402, the method further includes:
步骤1408,向所述CN-MM发送去附着请求消息。Step 1408, sending a detach request message to the CN-MM.
这里,UE发送去附着请求消息给RAN,RAN将去附着请求消息转发给CN-MM。Here, the UE sends a detach request message to the RAN, and the RAN forwards the detach request message to the CN-MM.
步骤1409,接收所述CN-MM返回的去附着接受消息。Step 1409: Receive a detach accept message returned by the CN-MM.
这里,CN-MM根据去附着请求消息,删除信令连接。CN-MM发送去附着接受消息给RAN,RAN将去附着请求消息转发给UE,并删除信令连接。Here, the CN-MM deletes the signaling connection according to the detach request message. The CN-MM sends a detach accept message to the RAN, and the RAN forwards the detach request message to the UE and deletes the signaling connection.
步骤1410,根据所述去附着接受消息,删除相关的信令连接。Step 1410: Delete the related signaling connection according to the detach attachment message.
这里,UE接收到去附着接受消息后也删除信令连接。Here, the UE also deletes the signaling connection after receiving the detach accept message.
此时,在UE发起去附着请求时,CN-MM、RAN和UE删除信令连接即可,节省了信令开销。At this time, when the UE initiates the detach request, the CN-MM, the RAN, and the UE delete the signaling connection, which saves signaling overhead.
本公开文本实施例的数据处理方法,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。 The data processing method of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem that the IP address is allocated to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
在一些实施例中,图15是本公开文本实施例的数据处理装置的结构图,能实现上述参照图1-12描述的各个实施例中的数据处理方法的细节,并达到相同的效果。In some embodiments, FIG. 15 is a structural diagram of a data processing apparatus of an embodiment of the present disclosure, which can implement the details of the data processing method in the various embodiments described above with reference to FIGS. 1-12, and achieve the same effect.
图15所示的数据处理装置,应用于CN-MM,包括:The data processing apparatus shown in FIG. 15 is applied to the CN-MM and includes:
第一接收模块1501,用于接收UE发送的附着请求消息;The first receiving module 1501 is configured to receive an attach request message sent by the UE.
第一获取模块1502,用于根据所述附着请求消息,获取所述UE的用户签约信息;The first obtaining module 1502 is configured to acquire user subscription information of the UE according to the attach request message.
第一返回模块1503,用于根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。The first returning module 1503 is configured to, according to the user subscription information, determine that the UE is an IoT user, and directly return an attach accept message to the UE.
本公开文本实施例的数据处理装置,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
可选地,所述第一获取模块1502包括:Optionally, the first obtaining module 1502 includes:
第一获取单元,用于根据所述附着请求消息中包含的用户身份标识,从预先保存的签约数据库中获取所述UE的用户签约信息。The first obtaining unit is configured to acquire user subscription information of the UE from a pre-stored subscription database according to the user identity identifier included in the attach request message.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第一发送模块,用于接收到所述UE发送的第一数据报文时,根据所述第一数据报文为所述UE选择CN-SM,并向所述CN-SM发送创建会话请求消息;The first sending module is configured to: when the first data packet sent by the UE is received, select a CN-SM according to the first data packet, and send a create session request message to the CN-SM. ;
第二接收模块,用于接收所述CN-SM返回的创建会话响应消息,所述创建会话响应消息中携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址;a second receiving module, configured to receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message;
其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第二发送模块,用于向所述UE发送ACK消息,所述ACK消息中携带有所述IP地址和所述IP地址的有效时间;a second sending module, configured to send an ACK message to the UE, where the ACK message carries an effective time of the IP address and the IP address;
第一转发模块,用于通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。 The first forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第三接收模块,用于接收所述UE发送的第二数据报文;a third receiving module, configured to receive a second data packet sent by the UE;
第二转发模块,用于若所述第二数据报文携带有所述IP地址,则将所述第二数据报文转发到DN;The second forwarding module is configured to forward the second data packet to the DN if the second data packet carries the IP address;
第三转发模块,用于若所述第二数据报文未携带有所述IP地址,则通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;a third forwarding module, configured to fill the IP address into the second data packet by using the CN-MM or the CN-SM, if the second data packet does not carry the IP address Afterwards, forwarding the second data packet to the DN;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
可选地,在CN为基于SDN时,所述第一转发模块包括:Optionally, when the CN is an SDN-based, the first forwarding module includes:
第一转发单元,用于通过所述CN-SM将所述第一数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文转发到所述DN;a first forwarding unit, configured to send, by using the CN-SM, the first data packet to the UP-GW according to a packet out manner, and forwarding, by the UP-GW, the first data packet to the DN;
所述第二转发模块包括:The second forwarding module includes:
第二转发单元,用于通过所述CN-SM将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN;a second forwarding unit, configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN;
所述第三转发模块包括:The third forwarding module includes:
第三转发单元,用于通过所述CN-SM将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN。a third forwarding unit, configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN.
可选地,所述第一发送模块包括:Optionally, the first sending module includes:
获取子单元,用于根据所述第一数据报文获取所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息;Obtaining a subunit, configured to acquire, according to the first data packet, user subscription information of the UE, location information of the UE, or type information of the UE;
选择子单元,用于根据所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息,为所述UE选择CN-SM。And selecting a subunit, configured to select a CN-SM for the UE according to the user subscription information of the UE, location information of the UE, or type information of the UE.
可选地,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息,所述CN-SM根据所述会话相关信息为所述UE分配IP 地址,并创建UE上下文。Optionally, the create session request message carries the indication information that the UE is an IoT user and session related information, and the CN-SM allocates an IP to the UE according to the session related information. Address and create a UE context.
可选地,所述创建会话请求消息还携带有所述第一数据报文。Optionally, the create session request message further carries the first data packet.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第四接收模块,用于接收所述UE发送的去附着请求消息;a fourth receiving module, configured to receive a detach request message sent by the UE;
第一删除模块,用于根据所述去附着请求消息,删除相关的信令连接;a first deleting module, configured to delete the related signaling connection according to the detach request message;
第二返回模块,用于向所述UE返回去附着接受消息。And a second returning module, configured to return a detach accept message to the UE.
本公开文本实施例的数据处理装置,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
在一些实施例中,提供了一种核心网设备,包括:如上述参照图15所述的数据处理装置。In some embodiments, a core network device is provided, comprising: a data processing device as described above with reference to FIG.
其中,上述参照图15所述的数据处理装置的所述实现实施例均适用于该核心网设备的实施例中,也能达到相同的技术效果。The implementations of the data processing apparatus described above with reference to FIG. 15 are all applicable to the embodiment of the core network device, and the same technical effects can be achieved.
在一些实施例中,图16是本公开文本实施例的数据处理装置的结构图,能实现上述参照图13描述的实施例的数据处理方法的细节,并达到相同的效果。In some embodiments, FIG. 16 is a structural diagram of a data processing apparatus of an embodiment of the present disclosure, which can implement the details of the data processing method of the embodiment described above with reference to FIG. 13 and achieve the same effect.
图16所示的数据处理装置,应用于CN-SM,包括:The data processing apparatus shown in FIG. 16 is applied to the CN-SM and includes:
第五接收模块1601,用于接收CN-MM发送的创建会话请求消息;The fifth receiving module 1601 is configured to receive a create session request message sent by the CN-MM.
第二分配模块1602,用于根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;a second allocation module 1602, configured to allocate an IP address to the UE according to the create session request message, and create a UE context;
第三返回模块1603,用于向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址;a third returning module 1603, configured to return a create session response message to the CN-MM, where the create session response message carries the IP address;
其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。 The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
本公开文本实施例的数据处理装置,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第四转发模块,用于通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。The fourth forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第五转发模块,用于在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文携带有所述IP地址时,将所述第二数据报文转发到DN;a fifth forwarding module, configured to: when the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, the second data packet Forward to DN;
第六转发模块,用于在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文未携带有所述IP地址时,通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;a sixth forwarding module, configured to: when the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, pass the CN-MM or After the CN-SM fills the IP address into the second data packet, forwarding the second data packet to the DN;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
可选地,在CN为基于SDN时,所述第四转发模块包括:Optionally, when the CN is an SDN-based, the fourth forwarding module includes:
第四转发单元,用于将所述第一数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文转发到所述DN;a fourth forwarding unit, configured to send the first data packet to the UP-GW in a packet out manner, and forward the first data packet to the DN by using the UP-GW;
所述第五转发模块包括:The fifth forwarding module includes:
第五转发单元,用于将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN;a fifth forwarding unit, configured to send the second data packet to the UP-GW in a packet out manner, and forward the second data packet to the DN by using the UP-GW;
所述第六转发模块包括:The sixth forwarding module includes:
第六转发单元,用于将所述第二数据报文按照Packet out的方式发送给 UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN。a sixth forwarding unit, configured to send the second data packet to the packet out manner The UP-GW forwards the second data packet to the DN through the UP-GW.
可选地,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息;Optionally, the create session request message carries the indication information that the UE is an IoT user, and session related information.
所述第二分配模块1602包括:The second distribution module 1602 includes:
分配单元,用于根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。And an allocating unit, configured to allocate an IP address to the UE according to the session related information, and create a UE context.
本公开文本实施例的数据处理装置,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。当CN-MM接收到UE发送的数据报文时,通过为UE选择合适的CN-SM,当UE移动时,可以确保会话和业务的连续性。且UE发送数据报文时,CN-SM为UE分配一个临时的IP地址,能适应UE(如车载设备)锚点的变化。且当UE的锚点发生变化时,临时的IP地址能够节省信令开销。The data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user. When the CN-MM receives the data message sent by the UE, by selecting the appropriate CN-SM for the UE, when the UE moves, the continuity of the session and the service can be ensured. When the UE sends a data packet, the CN-SM allocates a temporary IP address to the UE, which can adapt to the change of the anchor point of the UE (such as the in-vehicle device). And when the anchor point of the UE changes, the temporary IP address can save signaling overhead.
在一些实施例中,提供了一种核心网设备,包括:如上述参照图16所述的数据处理装置。In some embodiments, a core network device is provided, comprising: a data processing device as described above with reference to FIG.
其中,上述参照图16所述的数据处理装置的所述实现实施例均适用于该核心网设备的实施例中,也能达到相同的技术效果。The implementation examples of the data processing apparatus described above with reference to FIG. 16 are all applicable to the embodiment of the core network device, and the same technical effects can be achieved.
在一些实施例中,图17是本公开文本实施例的数据处理装置的结构图,能实现上述参照图14所述的数据处理方法的细节,并达到相同的效果。In some embodiments, FIG. 17 is a structural diagram of a data processing apparatus of an embodiment of the present disclosure, which can implement the details of the data processing method described above with reference to FIG. 14 and achieve the same effect.
图17所示的数据处理装置,应用于UE,包括:The data processing apparatus shown in FIG. 17 is applied to a UE, and includes:
第三发送模块,用于向CN-MM发送附着请求消息;a third sending module, configured to send an attach request message to the CN-MM;
第六接收模块,用于接收所述CN-MM返回的附着接受消息;a sixth receiving module, configured to receive an attach accept message returned by the CN-MM;
其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
本公开文本实施例的数据处理装置,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大量信令开销的问题。The data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids the problem of allocating an IP address to the UE when the UE is attached, which brings a large amount of signaling overhead to the IoT user.
可选地,本公开文本实施例的数据处理装置还包括: Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第四发送模块,用于向所述CN-MM发送第一数据报文;a fourth sending module, configured to send a first data packet to the CN-MM;
其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第七接收模块,用于接收所述CN-MM发送的ACK消息,所述ACK消息中携带有IP地址和所述IP地址的有效时间;a seventh receiving module, configured to receive an ACK message sent by the CN-MM, where the ACK message carries an IP address and a valid time of the IP address;
其中,所述ACK消息是所述CN-MM根据所述第一数据报文为所述UE选择CN-SM,向所述CN-SM发送创建会话请求消息,并接收所述CN-SM返回的创建会话响应消息后发送的消息,所述创建会话响应消息携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址。The ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return. A message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第五发送模块,用于向所述CN-MM发送第二数据报文;a fifth sending module, configured to send a second data packet to the CN-MM;
其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
填入模块,用于将所述IP地址填入所述第二数据报文。Filling in a module, configured to fill the IP address into the second data packet.
可选地,所述第一数据报文为第一业务的数据报文;Optionally, the first data packet is a data packet of the first service;
所述数据处理装置还包括:The data processing device further includes:
开启模块,用于在所述第一业务的数据报文全部发送结束后,开启一定时器,并将所述IP地址的有效时间作为所述定时器的定时时间;The opening module is configured to: after a data message of the first service is completely sent, start a timer, and use a valid time of the IP address as a timing time of the timer;
确定模块,用于在所述定时器到达所述定时时间时,确定所述IP地址为无效地址。And a determining module, configured to determine that the IP address is an invalid address when the timer reaches the timing time.
可选地,本公开文本实施例的数据处理装置还包括:Optionally, the data processing apparatus of the embodiment of the present disclosure further includes:
第六发送模块,用于向所述CN-MM发送去附着请求消息;a sixth sending module, configured to send a detach request message to the CN-MM;
第八接收模块,用于接收所述CN-MM返回的去附着接受消息;An eighth receiving module, configured to receive a detach accept message returned by the CN-MM;
第二删除模块,用于根据所述去附着接受消息,删除相关的信令连接。And a second deleting module, configured to delete the related signaling connection according to the detaching accept message.
本公开文本实施例的数据处理装置,在UE附着时,对于IoT用户不分配IP地址,避免了在UE附着时,为UE分配IP地址,对IoT用户会带来大 量信令开销的问题。The data processing apparatus of the embodiment of the present disclosure does not allocate an IP address to the IoT user when the UE is attached, and avoids assigning an IP address to the UE when the UE is attached, which brings a large amount to the IoT user. The problem of amount signaling overhead.
在一些实施例中,提供了一种终端,包括:如上述参照图17所述的数据处理装置。In some embodiments, a terminal is provided comprising: the data processing apparatus as described above with reference to FIG.
其中,上述参照图15所述的数据处理装置的所述实现实施例均适用于该终端的实施例中,也能达到相同的技术效果。The implementation examples of the data processing device described above with reference to FIG. 15 are all applicable to the embodiment of the terminal, and the same technical effects can be achieved.
本公开文本的终端如可以是手机、平板电脑等移动电子设备。The terminal of the present disclosure may be a mobile electronic device such as a mobile phone or a tablet computer.
在一些实施例中,参照图18所示,提供一种核心网设备,包括:In some embodiments, as shown in FIG. 18, a core network device is provided, including:
处理器1800,收发机1810,存储器1820和总线接口;处理器1800,收发机1810和存储器1820均与总线接口连接;The processor 1800, the transceiver 1810, the memory 1820 and the bus interface; the processor 1800, the transceiver 1810 and the memory 1820 are all connected to the bus interface;
处理器1800,用于读取存储器1820中的程序,执行下列过程:通过收发机1810接收UE发送的附着请求消息;根据所述附着请求消息,获取所述UE的用户签约信息;根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。The processor 1800 is configured to read the program in the memory 1820, and perform the following process: receiving, by the transceiver 1810, an attach request message sent by the UE; acquiring, according to the attach request message, user subscription information of the UE; The subscription information is used to determine that the UE is an IoT user, and directly returns an attach accept message to the UE.
其中,在图18中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1800代表的一个或多个处理器和存储器1820代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起。总线接口提供接口。收发机1810可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器1800负责管理总线架构和通常的处理,存储器1820可以存储处理器1800在执行操作时所使用的数据。In FIG. 18, the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1800 and various circuits of memory represented by memory 1820. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits. The bus interface provides an interface. Transceiver 1810 may be a plurality of components, including a transmitter and a transceiver, providing means for communicating with various other devices on a transmission medium. The processor 1800 is responsible for managing the bus architecture and general processing, and the memory 1820 can store data used by the processor 1800 in performing operations.
处理器1800负责管理总线架构和通常的处理,存储器1820可以存储处理器1800在执行操作时所使用的数据。The processor 1800 is responsible for managing the bus architecture and general processing, and the memory 1820 can store data used by the processor 1800 in performing operations.
需要说明的是,本公开文本实施例的核心网设备能够实现上述图1至图13的方法实施例中核心网设备实现的各个过程,上述图1至图13的方法的所述实现实施例均适用于该核心网设备的实施例中,也能达到相同的技术效果。It should be noted that the core network device of the embodiment of the present disclosure can implement the processes implemented by the core network device in the foregoing method embodiments of FIG. 1 to FIG. 13, and the implementation examples of the foregoing methods of FIG. 1 to FIG. The same technical effects can also be achieved in the embodiment applicable to the core network device.
在一些实施例中,参照图19所示,提供一种终端,包括:In some embodiments, referring to FIG. 19, a terminal is provided, including:
处理器1900,收发机1910,存储器1920,用户接口1930和总线接口;处理器1900,收发机1910,存储器1920和用户接口1930均与总线接口连接; The processor 1900, the transceiver 1910, the memory 1920, the user interface 1930 and the bus interface; the processor 1900, the transceiver 1910, the memory 1920 and the user interface 1930 are all connected to the bus interface;
处理器1900,用于读取存储器1920中的程序,执行下列过程:通过收发机1910向CN-MM发送附着请求消息;接收所述CN-MM返回的附着接受消息;其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。The processor 1900 is configured to read a program in the memory 1920, and execute the following process: sending an attach request message to the CN-MM through the transceiver 1910; receiving an attach accept message returned by the CN-MM; wherein the attach accept message After the CN-MM acquires the user subscription information of the UE according to the attach request message, the CN-MM determines, according to the user subscription information, an attach accept message directly returned when the UE is an IoT user.
其中,在图19中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1900代表的一个或多个处理器和存储器1920代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起。总线接口提供接口。收发机1910可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1930还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。Wherein, in FIG. 19, the bus architecture can include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1900 and various circuits of memory represented by memory 1920. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits. The bus interface provides an interface. Transceiver 1910 may be a plurality of components, including a transmitter and a receiver, providing means for communicating with various other devices on a transmission medium. For different user equipments, the user interface 1930 may also be an interface capable of externally connecting the required devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
处理器1900负责管理总线架构和通常的处理,存储器1920可以存储处理器1900在执行操作时所使用的数据。The processor 1900 is responsible for managing the bus architecture and general processing, and the memory 1920 can store data used by the processor 1900 in performing operations.
需要说明的是,本公开文本实施例的终端能够实现上述图14的方法实施例中终端实现的各个过程,上述图14的方法的所述实现实施例均适用于该终端的实施例中,也能达到相同的技术效果。It should be noted that the terminal in the embodiment of the present disclosure can implement the processes implemented by the terminal in the foregoing method embodiment of FIG. 14, and the implementation embodiments of the method in FIG. 14 are applicable to the embodiment of the terminal, Can achieve the same technical effect.
在本公开文本的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开文本实施例的实施过程构成任何限定。In various embodiments of the present disclosure, it should be understood that the size of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not deal with the present disclosure. The implementation of the embodiments constitutes any limitation.
以上所述是本公开文本的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开文本所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开文本的保护范围。 The above is a preferred embodiment of the present disclosure, and it should be noted that those skilled in the art can make several improvements and refinements without departing from the principles of the present disclosure. Retouching should also be considered as protection of this disclosure.

Claims (33)

  1. 一种数据处理方法,应用于核心网-移动性管理功能(Core Network-Mobility Management,CN-MM),其中,所述数据处理方法包括:A data processing method is applied to a Core Network-Mobility Management (CN-MM), wherein the data processing method includes:
    接收用户设备(User Equipment,UE)发送的附着请求消息;Receiving an attach request message sent by a user equipment (User Equipment, UE);
    根据所述附着请求消息,获取所述UE的用户签约信息;Obtaining user subscription information of the UE according to the attach request message;
    根据所述用户签约信息,确定所述UE为物联网(Internet of Things,IoT)用户时,直接向所述UE返回附着接受消息。And determining, according to the user subscription information, that the UE is an Internet of Things (IoT) user, and directly returning an attach accept message to the UE.
  2. 根据权利要求1所述的方法,其中,根据所述附着请求消息,获取所述UE的用户签约信息的步骤包括:The method of claim 1, wherein the step of acquiring user subscription information of the UE according to the attach request message comprises:
    根据所述附着请求消息中包含的用户身份标识,从预先保存的签约数据库中获取所述UE的用户签约信息。Obtaining user subscription information of the UE from a pre-stored subscription database according to the user identity identifier included in the attach request message.
  3. 根据权利要求1所述的方法,其中,直接向所述UE返回附着接受消息之后,还包括:The method of claim 1, wherein, after returning the attach accept message directly to the UE, the method further comprises:
    接收到所述UE发送的第一数据报文时,根据所述第一数据报文为所述UE选择核心网-会话管理功能(Core Network-Session Management,CN-SM),并向所述CN-SM发送创建会话请求消息;When receiving the first data packet sent by the UE, selecting a Core Network-Session Management (CN-SM) for the UE according to the first data packet, and sending the core network-Session Management (CN-SM) to the CN -SM sends a create session request message;
    接收所述CN-SM返回的创建会话响应消息,所述创建会话响应消息中携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的互联网协议(Internet Protocol,IP)地址;Receiving a create session response message returned by the CN-SM, where the create session response message carries an Internet Protocol (IP) address allocated by the CN-SM to the UE according to the create session request message;
    其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  4. 根据权利要求3所述的方法,其中,接收所述CN-SM返回的创建会话响应消息之后,还包括:The method of claim 3, after receiving the create session response message returned by the CN-SM, further comprising:
    向所述UE发送ACK消息,所述ACK消息中携带有所述IP地址和所述IP地址的有效时间;Sending an ACK message to the UE, where the ACK message carries the IP address and the valid time of the IP address;
    通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到目标网(Destination Network,DN)。After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to a destination network (DN).
  5. 根据权利要求4所述的方法,其中,接收所述CN-SM返回的创建会 话响应消息之后,还包括:The method of claim 4, wherein the creation of the CN-SM return is received After the response message, it also includes:
    接收所述UE发送的第二数据报文;Receiving a second data packet sent by the UE;
    若所述第二数据报文携带有所述IP地址,则将所述第二数据报文转发到DN;And if the second data packet carries the IP address, forwarding the second data packet to a DN;
    若所述第二数据报文未携带有所述IP地址,则通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;If the second data packet does not carry the IP address, the second data packet is filled in by the CN-MM or the CN-SM, and the second data packet is used. The data packet is forwarded to the DN;
    其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
  6. 根据权利要求5所述的方法,其中,在核心网(Core Network,CN)为基于软件定义网络(Software Defined Network,SDN)时,将所述第一数据报文或者所述第二数据报文转发到DN包括:The method according to claim 5, wherein when the core network (CN) is a Software Defined Network (SDN), the first data packet or the second data packet is used. Forwarding to DN includes:
    通过所述CN-SM将所述第一数据报文或者所述第二数据报文按照数据报文下发(Packet out)的方式发送给用户面-网关(User Plane-GateWay,UP-GW),通过所述UP-GW将所述第一数据报文或者所述第二数据报文转发到所述DN。Sending, by the CN-SM, the first data packet or the second data packet to a user plane-gateway (UP-GW) according to a data packet delivery manner (Packet out) Transmitting, by the UP-GW, the first data packet or the second data packet to the DN.
  7. 根据权利要求3所述的方法,其中,根据所述第一数据报文为所述UE选择CN-SM的步骤包括:The method of claim 3, wherein the step of selecting a CN-SM for the UE according to the first data packet comprises:
    根据所述第一数据报文获取所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息;Acquiring user subscription information of the UE, location information of the UE, or type information of the UE according to the first data packet;
    根据所述UE的用户签约信息、所述UE的位置信息或者所述UE的类型信息,为所述UE选择CN-SM。The CN-SM is selected for the UE according to the user subscription information of the UE, the location information of the UE, or the type information of the UE.
  8. 根据权利要求3所述的方法,其中,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息,所述CN-SM根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。The method according to claim 3, wherein the create session request message carries indication information that the UE is an IoT user and session related information, and the CN-SM allocates an IP to the UE according to the session related information. Address and create a UE context.
  9. 根据权利要求3所述的方法,其中,所述创建会话请求消息还携带有所述第一数据报文。The method of claim 3, wherein the create session request message further carries the first data message.
  10. 根据权利要求1所述的方法,其中,直接向所述UE返回附着接受 消息之后,还包括:The method of claim 1 wherein the attachment acceptance is returned directly to the UE After the news, it also includes:
    接收所述UE发送的去附着请求消息;Receiving a detach request message sent by the UE;
    根据所述去附着请求消息,删除相关的信令连接;Deleting the relevant signaling connection according to the detach request message;
    向所述UE返回去附着接受消息。A detach accept message is returned to the UE.
  11. 一种数据处理装置,应用于CN-MM,其中,所述数据处理装置包括:A data processing device is applied to a CN-MM, wherein the data processing device comprises:
    第一接收模块,用于接收UE发送的附着请求消息;a first receiving module, configured to receive an attach request message sent by the UE;
    第一获取模块,用于根据所述附着请求消息,获取所述UE的用户签约信息;a first acquiring module, configured to acquire user subscription information of the UE according to the attach request message;
    第一返回模块,用于根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息。And a first returning module, configured to, according to the user subscription information, determine that the UE is an IoT user, and directly return an attach accept message to the UE.
  12. 根据权利要求11所述的装置,还包括:The apparatus of claim 11 further comprising:
    第一发送模块,用于接收到所述UE发送的第一数据报文时,根据所述第一数据报文为所述UE选择CN-SM,并向所述CN-SM发送创建会话请求消息;The first sending module is configured to: when the first data packet sent by the UE is received, select a CN-SM according to the first data packet, and send a create session request message to the CN-SM. ;
    第二接收模块,用于接收所述CN-SM返回的创建会话响应消息,所述创建会话响应消息中携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址;a second receiving module, configured to receive a create session response message returned by the CN-SM, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message;
    其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  13. 根据权利要求12所述的装置,还包括:The apparatus of claim 12, further comprising:
    第二发送模块,用于向所述UE发送ACK消息,所述ACK消息中携带有所述IP地址和所述IP地址的有效时间;a second sending module, configured to send an ACK message to the UE, where the ACK message carries an effective time of the IP address and the IP address;
    第一转发模块,用于通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。The first forwarding module is configured to forward the first data packet to the DN after the IP address is filled in the first data packet by using the CN-MM or the CN-SM.
  14. 根据权利要求13所述的装置,还包括:The apparatus of claim 13 further comprising:
    第三接收模块,用于接收所述UE发送的第二数据报文;a third receiving module, configured to receive a second data packet sent by the UE;
    第二转发模块,用于若所述第二数据报文携带有所述IP地址,则将所述第二数据报文转发到DN; The second forwarding module is configured to forward the second data packet to the DN if the second data packet carries the IP address;
    第三转发模块,用于若所述第二数据报文未携带有所述IP地址,则通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;a third forwarding module, configured to fill the IP address into the second data packet by using the CN-MM or the CN-SM, if the second data packet does not carry the IP address Afterwards, forwarding the second data packet to the DN;
    其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
  15. 根据权利要求14所述的装置,其中,在CN为基于SDN时,所述第一转发模块包括:The apparatus according to claim 14, wherein when the CN is based on SDN, the first forwarding module comprises:
    第一转发单元,用于通过所述CN-SM将所述第一数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文转发到所述DN;a first forwarding unit, configured to send, by using the CN-SM, the first data packet to the UP-GW according to a packet out manner, and forwarding, by the UP-GW, the first data packet to the DN;
    所述第二转发模块包括:The second forwarding module includes:
    第二转发单元,用于通过所述CN-SM将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN;a second forwarding unit, configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN;
    所述第三转发模块包括:The third forwarding module includes:
    第三转发单元,用于通过所述CN-SM将所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第二数据报文转发到所述DN。a third forwarding unit, configured to send, by the CN-SM, the second data packet to the UP-GW according to the packet out manner, and forward the second data packet to the DN.
  16. 根据权利要求12所述的装置,其中,所述创建会话请求消息还携带有所述第一数据报文。The apparatus of claim 12, wherein the create session request message further carries the first data message.
  17. 一种数据处理方法,应用于CN-SM,其中,所述数据处理方法包括:A data processing method is applied to a CN-SM, wherein the data processing method includes:
    接收CN-MM发送的创建会话请求消息;Receiving a create session request message sent by the CN-MM;
    根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;Assigning an IP address to the UE according to the create session request message, and creating a UE context;
    向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址;Returning a create session response message to the CN-MM, where the create session response message carries the IP address;
    其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。 The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
  18. 根据权利要求17所述的方法,其中,向所述CN-MM返回创建会话响应消息之后,还包括:The method of claim 17, wherein after returning the create session response message to the CN-MM, the method further comprises:
    通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第一数据报文后,将所述第一数据报文转发到DN。After the IP address is filled in the first data packet by the CN-MM or the CN-SM, the first data packet is forwarded to the DN.
  19. 根据权利要求18所述的方法,其中,向所述CN-MM返回创建会话响应消息之后,还包括:The method of claim 18, wherein after returning the create session response message to the CN-MM, the method further comprises:
    在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文携带有所述IP地址时,将所述第二数据报文转发到DN;When the CN-MM receives the second data packet sent by the UE, and the second data packet carries the IP address, the second data packet is forwarded to the DN;
    在所述CN-MM接收到所述UE发送的第二数据报文,且所述第二数据报文未携带有所述IP地址时,通过所述CN-MM或者所述CN-SM将所述IP地址填入所述第二数据报文后,将所述第二数据报文转发到DN;When the CN-MM receives the second data packet sent by the UE, and the second data packet does not carry the IP address, the CN-MM or the CN-SM After the IP address is filled in the second data packet, the second data packet is forwarded to the DN;
    其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
  20. 根据权利要求19所述的方法,其中,在CN为基于SDN时,将所述第一数据报文或者所述第二数据报文转发到DN包括:The method of claim 19, wherein forwarding the first data message or the second data message to the DN when the CN is based on the SDN comprises:
    将所述第一数据报文或者所述第二数据报文按照Packet out的方式发送给UP-GW,通过所述UP-GW将所述第一数据报文或者所述第二数据报文转发到所述DN。Sending the first data packet or the second data packet to the UP-GW in a packet out manner, and forwarding the first data packet or the second data packet by using the UP-GW To the DN.
  21. 根据权利要求17所述的方法,其中,所述创建会话请求消息携带有所述UE为IoT用户的指示信息以及会话相关信息;The method according to claim 17, wherein the create session request message carries indication information that the UE is an IoT user and session related information;
    根据所述创建会话请求消息为所述UE分配IP地址,并创建UE上下文的步骤包括:The step of assigning an IP address to the UE according to the create session request message, and creating a UE context includes:
    根据所述会话相关信息为所述UE分配IP地址,并创建UE上下文。Assigning an IP address to the UE according to the session related information, and creating a UE context.
  22. 一种数据处理装置,应用于CN-SM,其中,所述数据处理装置包括:A data processing apparatus is applied to a CN-SM, wherein the data processing apparatus comprises:
    第五接收模块,用于接收CN-MM发送的创建会话请求消息;a fifth receiving module, configured to receive a create session request message sent by the CN-MM;
    第二分配模块,用于根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;a second allocation module, configured to allocate an IP address to the UE according to the create session request message, and create a UE context;
    第三返回模块,用于向所述CN-MM返回创建会话响应消息,所述创建 会话响应消息中携带有所述IP地址;a third returning module, configured to return a create session response message to the CN-MM, where the creating The session response message carries the IP address;
    其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time The packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
  23. 一种数据处理方法,应用于UE,其中,所述数据处理方法包括:A data processing method is applied to a UE, where the data processing method includes:
    向CN-MM发送附着请求消息;Sending an attach request message to the CN-MM;
    接收所述CN-MM返回的附着接受消息;Receiving an attach accept message returned by the CN-MM;
    其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
  24. 根据权利要求23所述的方法,其中,接收所述CN-MM返回的附着接受消息之后,还包括:The method of claim 23, after receiving the attach accept message returned by the CN-MM, further comprising:
    向所述CN-MM发送第一数据报文;Sending a first data packet to the CN-MM;
    其中,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文。The first data packet is a packet that is sent when the IP address is not allocated to the UE or the IP address allocated to the UE last time exceeds the corresponding valid time.
  25. 根据权利要求24所述的方法,其中,向所述CN-MM发送第一数据报文之后,还包括:The method of claim 24, after the sending the first data message to the CN-MM, further comprising:
    接收所述CN-MM发送的ACK消息,所述ACK消息中携带有IP地址和所述IP地址的有效时间;Receiving an ACK message sent by the CN-MM, where the ACK message carries an IP address and a valid time of the IP address;
    其中,所述ACK消息是所述CN-MM根据所述第一数据报文为所述UE选择CN-SM,向所述CN-SM发送创建会话请求消息,并接收所述CN-SM返回的创建会话响应消息后发送的消息,所述创建会话响应消息携带有所述CN-SM根据所述创建会话请求消息为所述UE分配的IP地址。The ACK message is that the CN-MM selects a CN-SM for the UE according to the first data packet, sends a create session request message to the CN-SM, and receives the CN-SM return. A message sent after the session response message is created, where the create session response message carries an IP address allocated by the CN-SM to the UE according to the create session request message.
  26. 根据权利要求25所述的方法,其中,向所述CN-MM发送第一数据报文之后,还包括:The method of claim 25, after the sending the first data message to the CN-MM, further comprising:
    向所述CN-MM发送第二数据报文;Sending a second data packet to the CN-MM;
    其中,所述第二数据报文和所述第一数据报文均为所述UE发送的第一业务的数据报文或者所述第二数据报文是所述UE在所述IP地址没有超过对应的有效时间时发送的第二业务的数据报文。 The second data packet and the first data packet are data messages of the first service sent by the UE, or the second data packet is that the UE does not exceed the IP address. The data packet of the second service sent when the corresponding valid time is sent.
  27. 根据权利要求26所述的方法,其中,接收所述CN-MM发送的ACK消息之后,向所述CN-MM发送第二数据报文之前,还包括:The method of claim 26, wherein, after receiving the ACK message sent by the CN-MM, before sending the second data message to the CN-MM, the method further includes:
    将所述IP地址填入所述第二数据报文。Filling the IP address into the second data packet.
  28. 根据权利要求26所述的方法,其中,所述第一数据报文为第一业务的数据报文;The method according to claim 26, wherein the first data message is a data message of the first service;
    接收所述CN-MM发送的ACK消息之后,还包括:After receiving the ACK message sent by the CN-MM, the method further includes:
    在所述第一业务的数据报文全部发送结束后,开启一定时器,并将所述IP地址的有效时间作为所述定时器的定时时间;After all the data packets of the first service are sent, a timer is started, and the valid time of the IP address is used as the timer time of the timer.
    在所述定时器到达所述定时时间时,确定所述IP地址为无效地址。When the timer reaches the timing time, it is determined that the IP address is an invalid address.
  29. 根据权利要求23所述的方法,其中,接收所述CN-MM返回的附着接受消息之后,还包括:The method of claim 23, after receiving the attach accept message returned by the CN-MM, further comprising:
    向所述CN-MM发送去附着请求消息;Sending a detach request message to the CN-MM;
    接收所述CN-MM返回的去附着接受消息;Receiving a detach accept message returned by the CN-MM;
    根据所述去附着接受消息,删除相关的信令连接。According to the detach accept message, the related signaling connection is deleted.
  30. 一种数据处理装置,应用于UE,其中,所述数据处理装置包括:A data processing apparatus is applied to a UE, wherein the data processing apparatus includes:
    第三发送模块,用于向CN-MM发送附着请求消息;a third sending module, configured to send an attach request message to the CN-MM;
    第六接收模块,用于接收所述CN-MM返回的附着接受消息;a sixth receiving module, configured to receive an attach accept message returned by the CN-MM;
    其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息。The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
  31. 一种数据处理装置,应用于CN-MM,其中,所述数据处理装置包括:处理器、存储器和收发机,其中:A data processing apparatus is applied to a CN-MM, wherein the data processing apparatus comprises: a processor, a memory, and a transceiver, wherein:
    所述处理器用于读取存储器中的程序,执行下列过程:The processor is configured to read a program in the memory and perform the following process:
    接收UE发送的附着请求消息;Receiving an attach request message sent by the UE;
    根据所述附着请求消息,获取所述UE的用户签约信息;Obtaining user subscription information of the UE according to the attach request message;
    根据所述用户签约信息,确定所述UE为IoT用户时,直接向所述UE返回附着接受消息,Determining, according to the user subscription information, that the UE is an IoT user, directly returning an attach accept message to the UE,
    其中,所述收发机用于接收和发送数据,所述存储器能够存储处理器在执行操作时所使用的数据。 The transceiver is configured to receive and transmit data, and the memory is capable of storing data used by the processor when performing operations.
  32. 一种数据处理装置,应用于CN-SM,其中,所述数据处理装置包括:处理器、存储器和收发机,其中:A data processing apparatus is applied to a CN-SM, wherein the data processing apparatus comprises: a processor, a memory, and a transceiver, wherein:
    所述处理器用于读取存储器中的程序,执行下列过程:The processor is configured to read a program in the memory and perform the following process:
    接收CN-MM发送的创建会话请求消息;Receiving a create session request message sent by the CN-MM;
    根据所述创建会话请求消息为UE分配IP地址,并创建UE上下文;Assigning an IP address to the UE according to the create session request message, and creating a UE context;
    向所述CN-MM返回创建会话响应消息,所述创建会话响应消息中携带有所述IP地址;Returning a create session response message to the CN-MM, where the create session response message carries the IP address;
    其中,所述创建会话请求消息是所述CN-MM接收到UE发送的第一数据报文时发送的消息,所述第一数据报文是没有为所述UE分配IP地址或者上一次为所述UE分配的IP地址超过对应的有效时间时发送的报文,The create session request message is a message that is sent when the CN-MM receives the first data packet sent by the UE, where the first data packet is not assigned an IP address to the UE or is the last time a packet sent when the IP address allocated by the UE exceeds the corresponding valid time.
    其中,所述收发机用于接收和发送数据,所述存储器能够存储处理器在执行操作时所使用的数据。The transceiver is configured to receive and transmit data, and the memory is capable of storing data used by the processor when performing operations.
  33. 一种数据处理装置,应用于UE,其中,所述数据处理装置包括:处理器、存储器和收发机,其中:A data processing apparatus is applied to a UE, wherein the data processing apparatus comprises: a processor, a memory, and a transceiver, wherein:
    所述处理器用于读取存储器中的程序,执行下列过程:The processor is configured to read a program in the memory and perform the following process:
    向CN-MM发送附着请求消息;Sending an attach request message to the CN-MM;
    接收所述CN-MM返回的附着接受消息;Receiving an attach accept message returned by the CN-MM;
    其中,所述附着接受消息是所述CN-MM根据所述附着请求消息获取所述UE的用户签约信息后,根据所述用户签约信息确定所述UE为IoT用户时直接返回的附着接受消息,The attach accept message is an attach accept message that is directly returned when the UE is an IoT user according to the user subscription information, after the CN-MM acquires the user subscription information of the UE according to the attach request message.
    其中,所述收发机用于接收和发送数据,所述存储器能够存储处理器在执行操作时所使用的数据。 The transceiver is configured to receive and transmit data, and the memory is capable of storing data used by the processor when performing operations.
PCT/CN2017/103084 2016-12-21 2017-09-25 Data processing method and apparatus WO2018113363A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611191124.8 2016-12-21
CN201611191124.8A CN108235309B (en) 2016-12-21 2016-12-21 A kind of data processing method and device

Publications (1)

Publication Number Publication Date
WO2018113363A1 true WO2018113363A1 (en) 2018-06-28

Family

ID=62624365

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103084 WO2018113363A1 (en) 2016-12-21 2017-09-25 Data processing method and apparatus

Country Status (2)

Country Link
CN (1) CN108235309B (en)
WO (1) WO2018113363A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931931A (en) * 2009-06-25 2010-12-29 华为技术有限公司 Information process method, system and mobility management network element
US20120182934A1 (en) * 2011-01-18 2012-07-19 John Diachina Application layer communication via an intermediate node
CN106465096A (en) * 2015-08-28 2017-02-22 华为技术有限公司 Method and terminal for accessing network and acquiring client identification module information and core network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011094954A1 (en) * 2010-02-08 2011-08-11 上海贝尔股份有限公司 Method and device for transmitting data in machine to machine communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931931A (en) * 2009-06-25 2010-12-29 华为技术有限公司 Information process method, system and mobility management network element
US20120182934A1 (en) * 2011-01-18 2012-07-19 John Diachina Application layer communication via an intermediate node
CN106465096A (en) * 2015-08-28 2017-02-22 华为技术有限公司 Method and terminal for accessing network and acquiring client identification module information and core network

Also Published As

Publication number Publication date
CN108235309B (en) 2019-08-02
CN108235309A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
US11528770B2 (en) Session management method, apparatus, and system
WO2020147761A1 (en) Pdu session switching method and apparatus therefor
CN109792651B (en) Communication method and device
CN107548127B (en) Method and apparatus for supporting data transmission
WO2018126535A1 (en) Session management method and apparatus
US11083039B2 (en) Mobile network optimization processing method, device, and system
KR20210149877A (en) Method and device for re-establishing session, access and mobility management function, session management function, and terminal
WO2019196811A1 (en) Communication method and related apparatus
WO2014183696A1 (en) Path establishment method, controller and mobility management entity
JP2019525553A (en) Efficient delivery method and apparatus for low frequency small data
CN109429213B (en) Information processing method, device, equipment and computer readable storage medium
US10986537B2 (en) Method of selecting user plane gateway and device of selecting user plane gateway
WO2013010415A1 (en) Method, system and sgw for realizing ip address attribute notification
WO2019076060A1 (en) Data forwarding method, device, and system
US20230224770A1 (en) Communication method and apparatus
WO2018099291A1 (en) Data transmission method, apparatus, and system, and storage medium
JP2020524451A (en) Communication method and communication device
JP2021516499A (en) Methods and systems for performing mobile communication device handovers between different access networks
WO2019085728A1 (en) Communication method and apparatus
WO2019196000A1 (en) Methods and system for carrying out small data fast path communication
WO2019096306A1 (en) Request processing method, and corresponding entity
WO2018233451A1 (en) Communication method, apparatus, and system
WO2010015170A1 (en) Processing method, system and apparatus for mobility management
WO2017166978A1 (en) Data transmission method and apparatus, and session management device
CN108616868B (en) Method and device for processing idle state of terminal

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

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

Country of ref document: EP

Kind code of ref document: A1