WO2021036441A1 - Method and apparatus for collecting statistics about service traffic - Google Patents

Method and apparatus for collecting statistics about service traffic Download PDF

Info

Publication number
WO2021036441A1
WO2021036441A1 PCT/CN2020/097553 CN2020097553W WO2021036441A1 WO 2021036441 A1 WO2021036441 A1 WO 2021036441A1 CN 2020097553 W CN2020097553 W CN 2020097553W WO 2021036441 A1 WO2021036441 A1 WO 2021036441A1
Authority
WO
WIPO (PCT)
Prior art keywords
urr
session
flow
user plane
plane function
Prior art date
Application number
PCT/CN2020/097553
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 WO2021036441A1 publication Critical patent/WO2021036441A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • This application relates to the field of communications, and in particular to a method and device for counting business traffic.
  • the 5th generation mobile networks (5G) network is committed to meeting the huge challenges of future diversification and differentiated services. It not only needs to continue to face the challenges brought by mobile Internet services, but also needs to meet the diversification of vertical industries Business requirements, such as ultra-high speed, ultra-low latency, and ultra-high traffic. Therefore, in the 5G network architecture, the uplink classifier (UL CL) or branching point (BP) function is defined to realize the flexible deployment of the application in the network, and the application and the network cooperate to select the optimal data path , To achieve the lowest transmission cost and the highest efficiency to provide bandwidth to reduce business delay.
  • UL CL uplink classifier
  • BP branching point
  • the 5G network allows a session to have multiple user plane functions (UPF) and multiple session anchors at the same time.
  • the 5G network can control different service flows through UL CL/BP to select different session anchor, so as to meet the needs of business diversity.
  • the charging function (CHF) can give all UPF traffic quota management.
  • the session management function (SMF) is required for secondary management of quotas, so as to Multiple UPFs are coordinated and allocated.
  • the SMF determines that the usage of the quota for this session in the multiple UPFs reaches the threshold, the traffic is reported to the CHF.
  • SMF when SMF performs secondary management of quotas, it needs to coordinate and allocate among multiple UPFs. There will be multiple queries and reports between SMF and UPF. This multiple query and report method makes it difficult to accurately control the quota threshold. In other words, the traffic finally aggregated by SMF may exceed the threshold before being reported to CHF, making traffic statistics and reporting inaccurate. Moreover, when two UPFs report traffic at different timings, if the SMF actively queries the UPF for traffic, time loss will occur. Especially in the scenario where the quota is exhausted, the signaling interaction between the SMF and the UPF is increased.
  • a method for counting service traffic including: a first user plane function receives a session establishment request sent by a session management function, the session establishment request includes at least one URR cell corresponding to the session flow, and each URR The cell includes the flow threshold; the first user plane function receives the first downlink data packet, and the first downlink data packet includes the identifier of the session flow, the first URR bit map, and the cumulative flow of the session flow; the URR bit map is used to indicate the accumulation The URR cell involved in the flow; the first user plane function counts the newly added flow of the URR cell indicated by the URR bit chart according to the first downlink data packet.
  • the first user plane function sends a URR notification to the session management function, and the URR notification is used to apply for a new flow threshold for URR cells that reach the flow threshold. Therefore, in the embodiment of the present application, the URR bit map can be carried in the downlink data packet sent by the session anchor (PSA) to the first user plane function to indicate the URR cell or service for which the traffic needs to be counted, which can be convenient for the first user
  • the plane function performs traffic statistics based on the URR bit chart to determine whether to send a URR notification to the SMF to apply for a new traffic threshold. In this way, by carrying the flow URR bit map in the downlink data packet and collecting it through the first user plane function, the power consumption caused by multiple signaling interactions between the session anchor and the SMF can be reduced, and the traffic Statistics are accurate in real time.
  • the first user plane function is the uplink classifier UL CL or branch point BP; the first user plane function receiving the first downlink data packet includes: the first user plane function receiving the second user plane function sending The first downlink data packet, the second user plane function is the protocol data unit PDU session anchor PSA.
  • each URR cell also includes a URR bitmap subscript; the URR bitmap includes at least one bit value, the bit value corresponds to the URR bitmap subscript, and the bit value is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
  • the first indicator value is 1, and the second indicator value is 0. Since the bits in the URR bitmap have two bit values, UL CL/BP can determine the URR bitmap subscript corresponding to the bit according to the first indicator value, and then can calculate the new URR cell corresponding to the URR bitmap subscript flow.
  • each URR cell also includes a URR identifier; in each URR cell, a URR identifies a URR bitmap subscript mapping.
  • this application may not use the URR bitmap subscript, and reuse the URR identifier to participate in traffic statistics.
  • the use of URR bitmap subscripts takes into account that the types of services that users subscribe to are less than URR identifiers, and the use of URR bitmap subscripts occupies smaller bits.
  • the first user plane function according to the first downlink data packet statistics indicates the newly added flow of the URR cell indicated by the first bit chart includes: the first user plane function obtains the first downlink data packet carried in the first downlink data packet The difference between the accumulated flow of and the accumulated flow carried in the second downlink data packet received last time, and the difference is the newly added flow corresponding to the URR cell indicated by the URR bit chart.
  • This method of carrying accumulated traffic in downlink data packets to obtain new traffic can avoid the signaling overhead caused by multiple signaling interactions for traffic statistics.
  • the first downlink data packet also includes a start marker of the session flow; the start marker is used to indicate that the first downlink data packet is the first downlink data packet of the session flow; or, the first downlink data packet
  • the line data packet also includes an end mark, which is used to indicate that the first downlink data packet is the last downlink data packet of the session flow; the method further includes: if the first downlink data packet includes the start mark, then the first user The plane function records the identifier of the session flow; if the first downlink data packet includes an end marker, the first user plane function deletes the identifier of the session flow. In this way, by carrying the start mark and the end mark, the first user plane function can record and delete relevant parameters of the session stream in time.
  • a method for counting service traffic including: a session management function sends a session establishment request to a first user plane function, the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, each The URR cell includes the flow threshold; the session management function receives the URR notification sent by the first user plane function, and the URR notification is used to apply for a new flow threshold for the URR cell in the session flow that reaches the flow threshold; the session management function sends the policy control function PCF Send URR notifications to obtain new traffic thresholds.
  • the beneficial effects of the second aspect can be referred to the first aspect, which will not be repeated here.
  • the first user plane function is the uplink classifier UL CL or branch point BP; the session establishment request is used to instruct the first user plane function to determine when the newly added flow of URR cells reaches the corresponding flow threshold , To send URR notification to the session management function.
  • each URR cell also includes a URR bitmap subscript; the URR bitmap subscript corresponds to at least one bit included in the URR bitmap, and the bit value corresponding to the bit is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
  • each URR cell also includes a URR identifier; in each URR cell, a URR identifier is mapped to a URR bitmap subscript.
  • the method further includes: the session management function receives a URR response sent by the PCF, the URR response includes a new traffic threshold; the session management function sends a URR update notification to the first user plane function, and the URR update notification includes the new Traffic threshold.
  • the method further includes: when the session management function determines that the first user plane function is deleted, if the session management function needs to update the URR information element, the session management function sends a session update request to the second user plane function,
  • the second user plane function is a protocol data unit PDU session anchor PSA associated with the first user plane function, and the session update request is used to instruct the second user plane function to send a URR notification to the session management function. That is, when the first user plane function (UL CL/BP) is deleted, the second user plane function (PSA) can directly report the traffic to the session management function (SMF).
  • a user plane function is provided.
  • the user plane function is a first user plane function
  • the first user plane function includes: a receiving module for receiving a session establishment request sent by a session management function, and the session establishment request includes a session flow correspondence At least one of the URR cells using the reporting rule, each URR cell includes a flow threshold;
  • the receiving module is also used to receive the first downlink data packet, the first downlink data packet includes the session flow identifier, the first URR bit map And the cumulative flow of the session flow;
  • the URR bit chart is used to indicate the URR cells involved in the cumulative flow;
  • the processing module is used to count the newly added flow of URR cells indicated by the URR bit chart according to the first downlink data packet;
  • the sending module It is also used to send a URR notification to the session management function if the newly added flow reaches the flow threshold corresponding to the URR cell indicated by the URR bit chart.
  • the URR notification is used to apply for a new flow threshold for the URR cell that reaches
  • the first user plane function is the uplink classifier UL CL or branch point BP; the receiving module is used to: receive the first downlink data packet sent by the second user plane function, and the second user plane function is Protocol data unit PDU session anchor PSA.
  • each URR cell also includes a URR bitmap subscript; the URR bitmap includes at least one bit value, the bit value corresponds to the URR bitmap subscript, and the bit value is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
  • each URR cell also includes a URR identifier; in each URR cell, a URR identifies a URR bitmap subscript mapping.
  • the processing module is used to obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received previously, the difference being URR bits The newly added traffic corresponding to the URR cell indicated in the chart.
  • the first downlink data packet also includes a start marker of the session flow; the start marker is used to indicate that the first downlink data packet is the first downlink data packet of the session flow; or, the first downlink data packet
  • the line data packet also includes an end mark, which is used to indicate that the first downlink data packet is the last downlink data packet of the session flow; the processing module is also used to: if the first downlink data packet includes the start mark, record the session The identifier of the flow; if the first downlink data packet includes an end marker, the identifier of the flow of the second session is deleted.
  • a session management function including: a sending module for sending a session establishment request to a first user plane function, the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, each The URR cell includes a flow threshold; the receiving module is used to receive the URR notification sent by the first user plane function, and the URR notification is used to apply for a new flow threshold for the URR cell that reaches the flow threshold in the session flow; the sending module is used to send The policy control function PCF sends URR notifications to obtain new traffic thresholds.
  • the first user plane function is the uplink classifier UL CL or branch point BP; the session establishment request is used to instruct the first user plane function to determine when the newly added flow of URR cells reaches the corresponding flow threshold , To send URR notification to the session management function.
  • each URR cell also includes a URR bitmap subscript; the URR bitmap subscript corresponds to at least one bit included in the URR bitmap, and the bit value corresponding to the bit is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
  • each URR cell also includes a URR identifier; in each URR cell, a URR identifier is mapped to a URR bitmap subscript.
  • the receiving module is also used to receive a URR response sent by the PCF, the URR response includes a new traffic threshold; the sending module is also used to send a URR update notification to the first user plane function, the URR update notification includes The new traffic threshold.
  • the sending module is also used for: when the session management function determines that the first user plane function is deleted, if the session management function needs to update the URR information element, it sends a session update request to the second user plane function.
  • the second user plane function is a protocol data unit PDU session anchor PSA associated with the first user plane function, and the session update request is used to instruct the second user plane function to send a URR notification to the session management function.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the method of the first aspect and/or the second aspect described above.
  • Figure 1 is a signaling interaction diagram for coordinating and distributing traffic among multiple UPFs
  • FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of this application.
  • FIG. 3 is a schematic diagram of a network architecture provided by an embodiment of this application.
  • FIG. 4 is a schematic flow chart of a method for counting service traffic provided by an embodiment of this application.
  • FIG. 5 is a schematic flowchart of a method for counting service traffic provided by an embodiment of this application.
  • Fig. 6 is a schematic flow chart of a method for counting service traffic when UL CL/BP is deleted according to an embodiment of the application;
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • the embodiments of the present application can be applied to a 5G network architecture.
  • a session has multiple UPFs, how to count and report service traffic in real time and accurately.
  • SMF sends a session management policy association (Npcf_smpolicyControl_Create) message to the policy control function (PCF) to the PCF, determines that policy control and charging (PCC) authorization is required, and requests to establish session management with the PCF ( session management, SM) policy association;
  • PCF policy control function
  • PDU session anchor point 1 PDU (Protocol Data Unit, protocol data unit) session anchor, PSA
  • PSA PDU session anchor point 1
  • PSA1 uses the Packet Forwarding Control Protocol (PFCP) session notification (PFCP session report) to report to the SMF that the traffic has reached the threshold;
  • PFCP Packet Forwarding Control Protocol
  • SMF sends a PFCP session modification Request message to PSA2, requesting PSA2 to report traffic usage immediately;
  • SMF re-allocates traffic quotas to PSA1 and PSA2 based on the remaining quota and other information, and sends the updated traffic threshold to PSA1;
  • the SMF delivers the updated traffic threshold to PSA2.
  • the design idea of this application is to use the convergence point characteristics of UL CL/BP to report URR.
  • the identification of URR is completed by PSA and the URR list corresponding to the session flow is carried in the downlink packet, so as to achieve the traffic control.
  • the network architecture of this application may be as shown in Figure 2, including terminal equipment, access network (AN), user plane functions, mobility management network elements, session management functions, policy control functions, charging functions, and data networks (data network, DN), etc.
  • AN access network
  • DN data network
  • the terminal equipment may be user equipment (UE), access terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal, mobile equipment, UE terminal, terminal, wireless Communication equipment, UE agent or UE device, etc.
  • the access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks or terminals in evolved public land mobile network (PLMN) networks, etc.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the access network AN may include equipment capable of communicating with terminal equipment.
  • the access network includes a base station, and the base station may be a relay station or an access point.
  • the base station can be a base transceiver station (BTS) in the global system for mobile communication (GSM) or code division multiple access (CDMA) network, or it can be a broadband code division
  • the NB (NodeB) in wideband code division multiple access (WCDMA) may also be the eNB or eNodeB (evolutional NodeB) in LTE.
  • the base station may also be a wireless controller in a cloud radio access network (cloud radio access network, CRAN) scenario.
  • the base station can also be a network device in a 5G network or an evolved PLMN network; it can also be a wearable device or a vehicle-mounted device.
  • the user plane function can be UPF, which can be used for: intra-RAT (radio access technology, RAT)/inter-RAT mobility anchor (when applicable); external PDU and data network interconnection Session point; packet routing and forwarding (for example, supporting uplink classifiers to route traffic to an instance of the data network, supporting branch points to support multi-homed PDU sessions); packet inspection (for example, based on service data flow templates) Application process detection and flow description of optional packets received from SMF (packet flow description, PFD); user plane part of the policy rule implementation, such as gating, redirection, traffic diversion); lawful interception; traffic usage report; user plane Quality of Service (QoS) processing, such as UL CL/DL rate implementation, reflection QoS marking in DL; uplink traffic verification service data flow (service data flow, SDF to QoS traffic mapping; uplink and downlink Transmission-level packet marking in the link; downlink packet buffering and downlink data notification triggering; sending and forwarding one or more "end marks
  • RAT radio access
  • mobility management network elements can be access and mobility management functions (AMF), which can be used to: terminate the non-access-stratum (NAS) (N1), NAS encryption and integrity protection; registration management; connection management; reachability management; liquidity management; lawful interception (applicable to the interface of AMF events and LI system; provides transmission for SM messages between UE and SMF; used for routing Transparent proxy of SM messages; access identity verification; access authorization; provide message transmission between UE and SMF; position service management of supervisory service; provide between UE and location management function (location management function, LMF) as well as between RAN and Location service messages between LMFs provide transmission and so on.
  • AMF access and mobility management functions
  • the session management function can be SMF, which can be used for: session management; UE Internet Protocol (IP) address allocation and management; selection and control of the UP function; configuration of the UPF transmission direction and routing of the transmission to Correct destination; part of controlling policy execution and QoS; downlink data notification; configuring UPF flow control to route traffic to the correct destination; terminating the interface to the policy control function, etc.
  • SMF Session Management Function
  • IP Internet Protocol
  • the policy control function can be PCF, and its functions can include: support a unified policy framework to manage network behavior; provide policy rules for control plane functions; access and unified data repository (UDR) User information related to strategic decisions.
  • PCF policy control function
  • its functions can include: support a unified policy framework to manage network behavior; provide policy rules for control plane functions; access and unified data repository (UDR) User information related to strategic decisions.
  • UDR unified data repository
  • the charging function can be CHF, which can be used for converged online and offline charging.
  • the CHF receives the charging information reported by the charging trigger function (charging trigger function, CTF) (SMF can be used as the CTF), generates a bill or issues a quota to the CTF, and provides a charging function to the UE.
  • CTF charging trigger function
  • the data network DN may include various devices, such as routers, servers, and so on.
  • UPF can be classified as UL CL or branch point BP.
  • UL CL can be an uplink traffic classifier that supports the offload of upstream traffic.
  • BP can be a branch point of a session, which can support downstream traffic. merge.
  • UPF can also be PSA, that is, PDU session anchor.
  • Figure 2 shows that there are two PSAs, PSA1 and PSA2.
  • the embodiment of the present application provides a method for counting service traffic, as shown in FIG. 4, including:
  • the session management function sends a session establishment request to a first user plane function.
  • the session establishment request includes at least one URR cell of a usage reporting rule, and each URR cell includes a flow threshold.
  • the session management function may be SMF; the user plane function may be UPF, and UPF may be used as UL CL or BP, or PSA.
  • SMF sends a session establishment request to UPF
  • the UPF is UC CL/BP. That is, the first user plane function is UC CL/BP, which is denoted as the first UPF.
  • the flow threshold carried in the URR cell may indicate that the first UPF reports to the SMF when the statistical flow reaches the flow threshold.
  • the first user plane function receives a session establishment request sent by the session management function.
  • the first user plane function receives the first downlink data packet.
  • the first downlink data packet includes the identifier of the session flow, the first URR bit map, and the cumulative traffic of the session flow; the URR bit map is used to indicate the cumulative traffic involved URR cell.
  • the first downlink data packet may be sent by the second user plane function (second UPF) to the first UPF (UL CL/BP), and the second UPF is PSA.
  • second UPF second user plane function
  • UL CL/BP first UPF
  • PSA PSA
  • the URR cell can correspond to different service types, and the bit in the URR bit table can correspond to one URR cell.
  • the value of the bit in the bitmap can indicate which URR cell corresponds to the business that needs to count traffic.
  • the mapping relationship between the bit and URR in the bitmap is issued by the SMF, so that the cumulative traffic in the downlink data packet can be adjusted Perform statistics on the services that need to be counted as indicated by the URR bit chart.
  • the first user plane function counts the newly added traffic of URR cells indicated by the URR bit chart according to the first downlink data packet.
  • the first UPF can obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received last time.
  • the difference is the URR cell indicated by the URR bit chart. Of new traffic.
  • the first user plane function sends a URR notification to the session management function, and the URR notification is used to apply for new traffic for the URR cell that reaches the traffic threshold. Threshold.
  • the session management function receives the URR notification sent by the first user plane function.
  • the session management function sends a URR notification to the policy control function PCF and the charging function CHF to obtain a new flow threshold.
  • the URR bit chart can be carried in the downlink data packet sent by the PSA to UL CL/BP to indicate the URR or service that needs to count traffic, which can facilitate UL CL/BP to perform traffic statistics based on the URR bit chart. To determine whether to send a URR notification to SMF to apply for a new traffic threshold. In this way, by carrying the flow URR bit chart in the downlink data packet and collecting it through UL CL/BP, the power consumption caused by the signaling interaction between PSA and SMF can be reduced, and the traffic statistics can be real-time and accurate.
  • the session management function is SMF
  • the policy control function is PCF
  • the charging function is CHF
  • the first user plane function is UL CL/BP
  • the second user plane function is PSA1
  • the third user plane function is PSA2, as an example, an embodiment of the present application provides a method for counting service traffic, as shown in FIG. 5, including:
  • the SMF calls the PCF to obtain the PCC policy.
  • the PCC strategy is used for policy control and stream charging such as QoS for packet network service data transmission, and aims to provide users with differentiated services.
  • SMF calls CHF to start charging.
  • SMF After the user establishes a session connection, SMF needs to perform traffic accounting services for the user, and SMF can call CHF to start traffic accounting for the session according to the PCC policy.
  • the SMF combines information such as the PCC policy issued by the PCF, the charging policy of the CHF, and the locally configured policy to generate URR information elements, and establishes the mapping relationship between the URR ID to the URR bitmap subscript and the URR bitmap.
  • URR cells There are two types of URR cells, one is the charging type, which is used when the SMF reports to the CHF for charging; the other is the policy type, which is used when the SMF reports the policy to the PCF.
  • URR cells can be divided into session-level URR and service-level URR.
  • the session-level URR can be understood as a session corresponding to a URR cell, and all flows in the session are associated with the URR cell; for its service-level URR, the service-level URR is under the PCF
  • the strategy issued by the PCF is associated with the URR cell, and multiple strategies can be associated with the same URR cell.
  • the service-level URR corresponds to the charging rate group/service ID (RG/SID)
  • the policy issued by the PCF is associated with the RG/SID
  • the CHF is for the RG /SID allocates quota
  • SMF can create URR cell corresponding to RG/SID.
  • each URR cell corresponds to a service.
  • Each URR cell includes a URR ID (URR identify, URR ID), and each URR cell also includes URR. Bitmap index (URR index).
  • the URR bitmap subscript can reuse the dynamically generated URR ID for traffic statistics; if the SMF is local If the URR is configured, the bit size occupied by the URR ID is relatively large.
  • the embodiment of the present application uses the URR bitmap subscript to perform traffic statistics, that is, converts the URR ID into a number in the session, so that the number range is reduced.
  • the URR information element includes the URR bitmap subscript
  • this application extends the Creat URR IE (information element) of the N4 interface between the SMF and the UPF, and expands the URR Index field, for example, Creat URR
  • the expanded format of IE can be as shown in Table 1.
  • This IE shall uniquely identify the URR among all the URRs configured for this PFCP session. It is expressed that the IE should be uniquely identified as the URR in all URRs configured for the PFCP session.
  • a URR cell contains a URR ID and a URR bitmap subscript, that is, a URR ID maps a URR bitmap subscript.
  • a session can have up to 128 URR Indexes.
  • the specific format of the URR Index field can be shown in Table 2.
  • URR Index can be represented by 8 bits, its type value is 50000, and its length can be n.
  • URR Index can be expressed as 10000000, 01000000, and so on.
  • the URR bitmap (bitmap) corresponding to multiple URR bitmap subscripts includes at least one bit value. For example, when a user subscribes to 32 types of services, there can be 32 bits to indicate Bitmap subscript. Taking user 2 as an example, the 0th bit in the bitmap actually represents URR ID 11, the 1st bit actually represents URR ID3, and so on. In the URR bit map, the initial bit value of each URR bit map subscript can be 0.
  • the SMF sends a first session establishment request to the PSA1.
  • the first session establishment request includes at least one URR cell, and each URR cell includes a URR bitmap subscript.
  • the SMF may send the first session establishment request to the PSA1 through the N4 interface.
  • the session establishment request may be a PFCP session establishment request.
  • the first session establishment request includes URR cells corresponding to these multiple services and is sent to PSA1.
  • the format of the URR cell can be seen in Table 1.
  • a session may have multiple session anchor points.
  • the established session anchor points are PSA1 and PSA2 as an example.
  • PSA1 sends a first session establishment response to the SMF.
  • PSA1 may send the first session establishment response to the SMF through the N4 interface.
  • the session establishment response may be PFCP session establishment response.
  • the SMF sends a second session establishment request to PSA2.
  • the second session establishment request includes at least one URR cell of a usage reporting rule, and each URR cell includes a URR bitmap subscript.
  • PSA2 sends a second session establishment response to the SMF.
  • the SMF sends a third session establishment request to the UL CL/BP.
  • the third session establishment request includes at least one URR cell corresponding to the session flow, and each URR cell includes a URR bitmap subscript and a flow threshold.
  • the SMF can send the third session establishment request to the UL CL/BP through the N4 interface.
  • each URR cell carries Traffic thresholds and URR bit graphs collect statistics on business traffic.
  • the format of the URR cell can be seen in Table 1.
  • the UL CL/BP sends a third session establishment response to the SMF.
  • PSA1 sends the first downlink data packet to UL CL/BP.
  • the first downlink data packet includes the identifier of the session flow, the URR bit map, and the cumulative flow of the session flow; the URR bit map is used to indicate the URR involved in the cumulative flow Letter yuan.
  • the session anchor PSA1 corresponding to the session receives the first downlink data packet sent by the data network DN, it can be sent to the terminal device through the session anchor PSA1 and the access network AN.
  • the first downlink data packet received by PSA1 carries the identifier of the session flow (LableId), the URR bit map, and the cumulative flow of the session flow (volume), and PSA1 can send the first data to UL CL/BP through the N9 interface Downlink data packet.
  • the downlink PDU session information (download PDU session information) (PDU type 0) in the first downlink data packet can be extended to carry the identifier of the session flow, the URR bit map, and the cumulative flow.
  • the specific format can be as shown in Table 3. Shown.
  • URR BITMAP LEN represents the length of bits occupied by the URR bitmap
  • LabelId represents the session flow ID, and the URR bitmap corresponding to a flow is fixed
  • URR BITMAP represents the URR bitmap
  • Volume represents the flow of the stream identified by LabelId Cumulative traffic
  • STA represents the start mark of the flow identified by the Label Id
  • STO represents the end mark of the flow identified by the Label Id.
  • the URR bit table includes at least one bit value, the bit value corresponds to the URR bitmap subscript, the bit value is the first indicator value or the second indicator value, and the first indicator value is used to indicate the URR signal corresponding to the URR bitmap subscript.
  • the second indicator value is used to indicate that the URR cell corresponding to the subscript of the URR bitmap does not need to accumulate the flow. For example, the first indicator value is 1, and the second indicator value is 0.
  • STA is used to indicate that the first downlink data packet is the first downlink data packet of the session flow; or, STO is used to indicate that the first downlink data packet is the last downlink data packet of the session flow. If the first downlink data packet includes STA, UL CL/BP records the identifier of the session flow, LableId; if the first downlink data packet includes STO, UL CL/BP deletes the identifier of the session flow.
  • the format of the downlink data packet received by PSA2 is similar to that of the first downlink data packet received by PSA1.
  • the UL CL/BP counts the newly added traffic of URR cells indicated by the URR bit chart according to the first downlink data packet.
  • UL CL/BP can determine the URR bitmap subscript corresponding to the bit according to the first indicator value, and then can calculate the new URR cell corresponding to the URR bitmap subscript flow.
  • UL CL/BP can obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received last time.
  • the difference is the first graph
  • the bit value of the URR bitmap is 01011000 (bit numbering from the left end to the right end)
  • the value of the 0, 2, 5, 6, and 7 bits is 0, and the corresponding URR bitmap subscripts are 0, 2, 5, 6 and 7, then URR cells corresponding to the subscripts of the URR bitmap of 0, 2, 5, 6, and 7 do not need to count the new traffic
  • the value of the first 1, 3, and 4 bits is 1, the corresponding URR bitmap
  • the subscripts are 1, 3, and 4, then the URR cells corresponding to the subscripts 1, 3, and 4 of the URR bitmap need to count the new traffic.
  • the service-level URR when the URR cell needs to count the traffic, it can also be considered that the traffic corresponding to the URR cell needs to be count the
  • UL CL/BP sends a URR notification to the SMF.
  • the URR notification is used to apply for a new flow threshold for the URR cell that reaches the flow threshold.
  • UL CL/BP can notify the SMF that the flow allocated by the URR cell has been allocated. After use, instruct SMF to apply for a new traffic threshold from PCF. For example, if the new traffic threshold is 200, then if UL CL/BP continues to count the new traffic and reaches 200, you can send URR notification to SMF again to apply for new traffic. Threshold.
  • the SMF sends a URR notification to the PCF to obtain a new flow threshold.
  • the SMF receives the URR response sent by the PCF, and the URR response includes the new flow threshold.
  • the SMF sends a URR update notification to the UL CL/BP, and the URR update notification includes the new traffic threshold.
  • PSA can report traffic to UL CL/BP along with data packets
  • UL CL/BP performs traffic statistics, and reports traffic to SMF.
  • This process of reporting traffic along with data packets can guarantee the traffic
  • the accuracy of reporting can also avoid the problem of high signaling overhead caused by multiple signaling interactions between SMF and UPF.
  • UL CL/BP realizes the functions of traffic accumulation and URR reporting.
  • the UL CL in the above embodiments may be deleted. After the UL CL is deleted, the traffic report of PSA1/PSA2 will no longer be able to report traffic to the SMF through the UL CL. At this time, the PSA You can report traffic directly to SMF.
  • Figure 3 As the network architecture, as shown in Figure 6:
  • the UE establishes a PDU session.
  • the session includes multiple sessions such as UL CL/BP, PSA1, and PSA2.
  • the UL CL/BP implements traffic statistics and traffic reporting (see the corresponding embodiment in FIG. 4).
  • the SMF informs the UE to stop using the IPv6 prefix corresponding to PSA1 through an Internet Protocol Version 6 routing advertisement ((Internet Protocol Version 6, IPv6) Router Advertisement), the UE can start to use the IPv6 prefix corresponding to PSA2 for all service traffic.
  • Internet Protocol Version 6 routing advertisement (Internet Protocol Version 6, IPv6) Router Advertisement)
  • the SMF interacts with the (R)AN to update the (R)AN tunnel information, so that the uplink traffic is sent from the (R)AN to the PSA2 without passing through the UL CL/BP.
  • the SMF interacts with the PSA2 through the N4 interface, updates the PSA2 tunnel information, and sends a session update request to the PSA2 at the same time.
  • the session update request is used to instruct the PSA2 to send a URR notification to the SMF.
  • PSA1 the protocol data associated with the session of PSA1 Unit PDU session anchor point PSA
  • session update request is used to instruct PSA2 to send URR notification to SMF.
  • downstream traffic will be directly sent from the PSA2 to the (R)AN, so that the entire upstream and downstream traffic path switching is completed. That is, after UL CL/BP is deleted, PSA2 reports statistical traffic to SMF.
  • the SMF sends a session (PFCP session) delete message to PSA1 to instruct PSA1 to release the session on PSA1.
  • PFCP session PFCP session
  • the SMF sends a session (PFCP session) delete message to the UL CL/BP to instruct the UL CL/BP to release the session on PSA1.
  • PFCP session a session delete message
  • PSA2 performs traffic statistics, and if the traffic threshold is reached, it reports the accumulated traffic to the SMF.
  • PSA2 performing traffic statistics
  • UL CL/BP performing traffic statistics
  • the embodiment of the present application can enable other UPFs to report URR traffic to the SMF according to the traffic accumulation in the data packet when the UL CL is deleted, so as to implement URR reporting across multiple UPFs and reduce the signaling interaction between the SMF and the UPF.
  • each network element such as a user plane function, a session management function, etc.
  • each network element includes a hardware structure and/or software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiments of the present application can divide the user plane functions, session management functions, etc. into functional modules based on the foregoing method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one process.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 7 shows a schematic structural diagram of an electronic device 70.
  • the electronic device 70 may be the above-mentioned user plane function, or UL CL/BP, and the electronic device 70 includes: receiving Unit 701, processing unit 702, and sending unit 703.
  • the receiving unit 701 is used to support the electronic device 70 to execute the processes 302 and 303 in FIG. 4, the corresponding processes of the processes 408 and 410 in FIG. 5, and the corresponding process of the process 506 in FIG. 6;
  • the processing unit 702 is used to support the electronic device 70
  • the process 304 in FIG. 4 and the process 411 in FIG. 5 are executed, and the sending unit 703 is used to support the electronic device 70 to execute the process 305 in FIG. 4 and the processes 409 and 412 in FIG. 5.
  • all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
  • FIG. 8 shows a schematic diagram of a possible structure of the electronic device involved in the foregoing embodiment.
  • the electronic device 80 includes a processing module 802 and a communication module 803.
  • the processing module 802 is used to control and manage the actions of the electronic device.
  • the processing module 802 is used to support the electronic device 80 to execute the process 304 in FIG. 3, the process 411 in FIG. 5, and/or the technology described herein.
  • Other processes are used to support communication between the electronic device and other network entities, for example, communication with the functional modules or network entities shown in FIG. 2 and FIG. 3.
  • the communication module 803 includes the functions of the receiving unit 701 and the sending unit 703 described above.
  • the electronic device 80 may also include a storage module 801 for storing program codes and data of the electronic device 80.
  • the processing module 802 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), and an application-specific integrated circuit (Application-Specific Integrated Circuit). Integrated Circuit, ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the communication module 803 may be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module 801 may be a memory.
  • the processing module 802 is a processor
  • the communication module 803 is a communication interface
  • the storage module 801 is a memory
  • the electronic device involved in the embodiment of the present application may be the electronic device 90 shown in FIG. 9.
  • the electronic device 90 includes: a processor 912, a communication interface 913, a memory 911, and a bus 914.
  • the communication interface 913, the processor 912, and the memory 911 are connected to each other through a bus 914;
  • the bus 914 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus Wait.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
  • FIG. 10 shows a schematic structural diagram of an electronic device 10.
  • the electronic device 10 may be the session management function involved in the above-mentioned embodiment, or a possible SMF
  • the electronic device 10 includes a sending unit 1001, a receiving unit 1002, and a processing unit 1003.
  • the sending unit 1001 is used to support the electronic device 10 to execute the processes 301 and 307 in FIG. 4, the processes 404, 406, 408, and 413 in FIG. 5, and the processes 505, 506 in FIG. 6;
  • the receiving unit 1002 is used to support the electronic device 10
  • the process 306 in FIG. 3 is performed.
  • the processing unit 1003 is used to support the electronic device 10 to execute the processes 401, 402, and 403 in FIG. 5, and the processes 502, 503, and 504 in FIG.
  • the function description of the corresponding function module will not be repeated here.
  • FIG. 11 shows another possible structural schematic diagram of the electronic device 10 involved in the foregoing embodiment.
  • the electronic device 11 includes: a processing module 1102 and a communication module 1103.
  • the processing module 1102 is used to control and manage the actions of the electronic device 11.
  • the processing module 1102 is used to support the electronic device 11 to execute the processes 401, 402, and 403 in FIG. 5, the processes 502, 503, and 504 in FIG. 6, and / Or other processes used in the techniques described herein.
  • the communication module 1103 is used to support communication between the electronic device 11 and other network entities, for example, communication with the functional modules or network entities shown in FIG. 2 and FIG. 3.
  • the electronic device 11 may also include a storage module 1101 for storing program codes and data of the electronic device 11.
  • the processing module 1102 may be a processor or a controller, for example, a CPU, a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the communication module 1103 may be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module 1101 may be a memory.
  • the processing module 1102 is a processor
  • the communication module 1103 is a communication interface
  • the storage module 1101 is a memory
  • the electronic device 11 involved in the embodiment of the present application may be the electronic device 12 shown in FIG. 12.
  • the electronic device 12 includes a processor 1212, a communication interface 1213, a memory 1211, and a bus 1214.
  • the communication interface 1213, the processor 1212, and the memory 1211 are connected to each other through a bus 1214;
  • the bus 1214 may be a PCI bus or an EISA bus.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 12 to represent it, but it does not mean that there is only one bus or one type of bus.
  • the steps of the method or algorithm described in combination with the disclosure of this application can be implemented in a hardware manner, or can be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read Only Memory, ROM), and erasable programmable read-only memory ( Erasable Programmable ROM (EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the core network interface device.
  • the processor and the storage medium may also exist as discrete components in the core network interface device.
  • Computer-readable media include computer storage media and communication media, where communication media includes any media that facilitates the transfer of computer programs from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Abstract

The present application relates to the field of communications. Disclosed are a method and apparatus for collecting statistics about service traffic, capable of improving precision in traffic querying and reporting between a session management function (SMF) and a user plane function (UPF), and reducing signaling overheads. The method comprises: a first UPF receives a session establishment request sent by an SMF, the session establishment request comprising at least one usage reporting rule (URR) cell corresponding to a session flow, and each URR cell comprising a traffic threshold; the first UPF receives a first downlink data packet, the first downlink data packet comprising the identifier of the session flow, a first URR bitmap table, and accumulated traffic of the session flow, and the URR bitmap table being used for indicating the URR cell involved in the accumulated traffic; the first UPF collects statistics about newly added traffic of the URR cell indicated by the URR bitmap table according to the first downlink data packet, and if the newly added traffic reaches the traffic threshold corresponding to the URR cell indicated by the URR bitmap table, the first UPF sends a URR notification to the SMF. Embodiments of the present application are used for traffic reporting among a plurality of UPFs.

Description

一种统计业务流量的方法和装置Method and device for counting business flow
本申请要求于2019年08月30日提交国家知识产权局、申请号为201910818906.7、申请名称为“一种统计业务流量的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on August 30, 2019, the application number is 201910818906.7, and the application name is "a method and device for counting business traffic", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种统计业务流量的方法和装置。This application relates to the field of communications, and in particular to a method and device for counting business traffic.
背景技术Background technique
第五代移动通信技术(5th generation mobile networks,5G)网络致力于应对未来多样化和差异化业务的巨大挑战,不仅需要继续面对移动互联网业务带来的挑战,同时还需要满足垂直行业多样化的业务需求,例如超高速率、超低时延以及超高流量等苛刻的要求。因此,在5G网络架构中,定义了上行分类器(uplink classifier,UL CL)或分支点(branching point,BP)功能来实现应用在网络中的灵活部署,应用和网络协同选择最优的数据路径,实现最低传输成本和最高效率地提供带宽以降低业务时延。The 5th generation mobile networks (5G) network is committed to meeting the huge challenges of future diversification and differentiated services. It not only needs to continue to face the challenges brought by mobile Internet services, but also needs to meet the diversification of vertical industries Business requirements, such as ultra-high speed, ultra-low latency, and ultra-high traffic. Therefore, in the 5G network architecture, the uplink classifier (UL CL) or branching point (BP) function is defined to realize the flexible deployment of the application in the network, and the application and the network cooperate to select the optimal data path , To achieve the lowest transmission cost and the highest efficiency to provide bandwidth to reduce business delay.
具体实现时,5G网络允许一个会话同时具备多个用户平面功能(user plane function,UPF)和多个会话锚点(session anchor),5G网络可以通过UL CL/BP控制不同的业务流选择不同的session anchor,从而满足业务多样性的需求。当一个会话具有多个UPF场景时,计费功能(charging function,CHF)可以给予所有UPF进行流量的配额管理,同时需要会话管理功能(session management function,SMF)对配额进行二次管理,以在多个UPF间进行协调分配,当SMF确定这一个会话的配额在多个UPF中的使用量达到阈值后向CHF上报流量。其中,SMF在对配额进行二次管理时,需要在多个UPF间进行协调分配,SMF和UPF之间会存在多次查询和上报,这种多次查询和上报的方式,难以精确控制配额门限,也就是说,SMF最终汇总的流量也有可能会超过阈值后才上报给CHF,使得流量统计和上报并不精确。况且,当两个UPF上报流量的时机不一致时,如果SMF主动向UPF查询流量又会产生时间损耗,尤其在配额耗尽的场景中,增加了SMF和UPF之间的信令交互。In specific implementation, the 5G network allows a session to have multiple user plane functions (UPF) and multiple session anchors at the same time. The 5G network can control different service flows through UL CL/BP to select different session anchor, so as to meet the needs of business diversity. When a session has multiple UPF scenarios, the charging function (CHF) can give all UPF traffic quota management. At the same time, the session management function (SMF) is required for secondary management of quotas, so as to Multiple UPFs are coordinated and allocated. When the SMF determines that the usage of the quota for this session in the multiple UPFs reaches the threshold, the traffic is reported to the CHF. Among them, when SMF performs secondary management of quotas, it needs to coordinate and allocate among multiple UPFs. There will be multiple queries and reports between SMF and UPF. This multiple query and report method makes it difficult to accurately control the quota threshold. In other words, the traffic finally aggregated by SMF may exceed the threshold before being reported to CHF, making traffic statistics and reporting inaccurate. Moreover, when two UPFs report traffic at different timings, if the SMF actively queries the UPF for traffic, time loss will occur. Especially in the scenario where the quota is exhausted, the signaling interaction between the SMF and the UPF is increased.
发明内容Summary of the invention
本申请实施例提供一种统计业务流量的方法和装置,能够提高SMF和UPF之间查询和上报流量精确度,降低信令开销。The embodiments of the present application provide a method and device for counting service traffic, which can improve the accuracy of querying and reporting traffic between SMF and UPF, and reduce signaling overhead.
第一方面,提供一种统计业务流量的方法,包括:第一用户平面功能接收会话管理功能发送的会话建立请求,会话建立请求包括会话流对应的至少一个使用上报规则URR信元,每个URR信元包括流量阈值;第一用户平面功能接收第一下行数据包,第一下行数据包包括会话流的标识、第一URR位图表以及会话流的累积流量;URR位图表用于指示累积流量涉及到的URR信元;第一用户平面功能根据第一下行数据包统计URR位图表指示的URR信元的新增流量,若新增流量达到URR位图表指示的URR信元对应的流量阈值,则第一用户平面功能向会话管理功能发送URR通知,URR通知用于为达到流量阈值的URR信元申请新的流量阈值。由此,本申请实施例可以通过在会话锚点(PSA)向第一用户平面功能发送的下行数据包中携带URR位图表,以指示需统计流量的URR信元或者业务,可以便于第一用户平面功能根据URR位图表进行流量统计,以确定是否向SMF发送URR通知,去申请新的流量阈值。这样通过在下行数据包中携带流URR位图表,并且通过第一用户平面功能进行汇总 的方式,可以减少会话锚点与SMF之间进行多次信令交互的带来的功耗,也使得流量统计实时准确。In a first aspect, a method for counting service traffic is provided, including: a first user plane function receives a session establishment request sent by a session management function, the session establishment request includes at least one URR cell corresponding to the session flow, and each URR The cell includes the flow threshold; the first user plane function receives the first downlink data packet, and the first downlink data packet includes the identifier of the session flow, the first URR bit map, and the cumulative flow of the session flow; the URR bit map is used to indicate the accumulation The URR cell involved in the flow; the first user plane function counts the newly added flow of the URR cell indicated by the URR bit chart according to the first downlink data packet. If the newly added flow reaches the flow corresponding to the URR cell indicated by the URR bit chart Threshold, the first user plane function sends a URR notification to the session management function, and the URR notification is used to apply for a new flow threshold for URR cells that reach the flow threshold. Therefore, in the embodiment of the present application, the URR bit map can be carried in the downlink data packet sent by the session anchor (PSA) to the first user plane function to indicate the URR cell or service for which the traffic needs to be counted, which can be convenient for the first user The plane function performs traffic statistics based on the URR bit chart to determine whether to send a URR notification to the SMF to apply for a new traffic threshold. In this way, by carrying the flow URR bit map in the downlink data packet and collecting it through the first user plane function, the power consumption caused by multiple signaling interactions between the session anchor and the SMF can be reduced, and the traffic Statistics are accurate in real time.
在一种可能的设计中,第一用户平面功能为上行分类器UL CL或分支点BP;第一用户平面功能接收第一下行数据包包括:第一用户平面功能接收第二用户平面功能发送的第一下行数据包,第二用户平面功能为协议数据单元PDU会话锚点PSA。In a possible design, the first user plane function is the uplink classifier UL CL or branch point BP; the first user plane function receiving the first downlink data packet includes: the first user plane function receiving the second user plane function sending The first downlink data packet, the second user plane function is the protocol data unit PDU session anchor PSA.
在一种可能的设计中,每个URR信元还包括URR位图下标;URR位图表包括至少一个比特值,比特值与URR位图下标对应,比特值为第一指示值或第二指示值,第一指示值用于指示URR位图下标对应的URR信元需累积流量,第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。例如,第一指示值为1,第二指示值为0。由于URR位图表中的比特有两种比特值,UL CL/BP可以根据第一指示值确定比特对应的URR位图下标,进而可以统计出URR位图下标对应的URR信元的新增流量。In a possible design, each URR cell also includes a URR bitmap subscript; the URR bitmap includes at least one bit value, the bit value corresponds to the URR bitmap subscript, and the bit value is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow. For example, the first indicator value is 1, and the second indicator value is 0. Since the bits in the URR bitmap have two bit values, UL CL/BP can determine the URR bitmap subscript corresponding to the bit according to the first indicator value, and then can calculate the new URR cell corresponding to the URR bitmap subscript flow.
在一种可能的设计中,每个URR信元还包括一个URR标识;在每个URR信元中,一个URR标识一个URR位图下标映射。或者,本申请也可以不使用URR位图下标,复用URR标识参与流量统计。使用URR位图下标是考虑到用户签约的业务种类相对URR标识来说较少,使用URR位图下标占用的比特大小较小。In a possible design, each URR cell also includes a URR identifier; in each URR cell, a URR identifies a URR bitmap subscript mapping. Alternatively, this application may not use the URR bitmap subscript, and reuse the URR identifier to participate in traffic statistics. The use of URR bitmap subscripts takes into account that the types of services that users subscribe to are less than URR identifiers, and the use of URR bitmap subscripts occupies smaller bits.
在一种可能的设计中,第一用户平面功能根据第一下行数据包统计第一位图表指示的URR信元的新增流量包括:第一用户平面功能获取第一下行数据包中携带的累积流量与前一次接收到的第二下行数据包中携带的累积流量的差值,差值为URR位图表指示的URR信元对应的新增流量。这种通过在下行数据包中携带累积流量,以获得新增流量的方式,可以避免多次信令交互进行流量统计带来的信令开销。In a possible design, the first user plane function according to the first downlink data packet statistics indicates the newly added flow of the URR cell indicated by the first bit chart includes: the first user plane function obtains the first downlink data packet carried in the first downlink data packet The difference between the accumulated flow of and the accumulated flow carried in the second downlink data packet received last time, and the difference is the newly added flow corresponding to the URR cell indicated by the URR bit chart. This method of carrying accumulated traffic in downlink data packets to obtain new traffic can avoid the signaling overhead caused by multiple signaling interactions for traffic statistics.
在一种可能的设计中,第一下行数据包还包括会话流的起始标记;起始标记用于指示第一下行数据包为会话流的首个下行数据包;或,第一下行数据包还包括结束标记,结束标记用于指示第一下行数据包为会话流的最后一个下行数据包;该方法还包括:若第一下行数据包包括起始标记,则第一用户平面功能记录会话流的标识;若第一下行数据包包括结束标记,则第一用户平面功能删除第会话流的标识。这样,通过携带起始标记和结束标记可以使得第一用户平面功能及时记录和删除会话流的相关参数。In a possible design, the first downlink data packet also includes a start marker of the session flow; the start marker is used to indicate that the first downlink data packet is the first downlink data packet of the session flow; or, the first downlink data packet The line data packet also includes an end mark, which is used to indicate that the first downlink data packet is the last downlink data packet of the session flow; the method further includes: if the first downlink data packet includes the start mark, then the first user The plane function records the identifier of the session flow; if the first downlink data packet includes an end marker, the first user plane function deletes the identifier of the session flow. In this way, by carrying the start mark and the end mark, the first user plane function can record and delete relevant parameters of the session stream in time.
第二方面,提供一种统计业务流量的方法,包括:会话管理功能向第一用户平面功能发送会话建立请求,会话建立请求中包括会话流对应的至少一个使用量上报规则URR信元,每个URR信元包括流量阈值;会话管理功能接收第一用户平面功能发送的URR通知,URR通知用于为会话流中达到流量阈值的URR信元申请新的流量阈值;会话管理功能向策略控制功能PCF发送URR通知,以获取新的流量阈值。第二方面的有益效果可以参见第一方面,此处不再赘述。In a second aspect, a method for counting service traffic is provided, including: a session management function sends a session establishment request to a first user plane function, the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, each The URR cell includes the flow threshold; the session management function receives the URR notification sent by the first user plane function, and the URR notification is used to apply for a new flow threshold for the URR cell in the session flow that reaches the flow threshold; the session management function sends the policy control function PCF Send URR notifications to obtain new traffic thresholds. The beneficial effects of the second aspect can be referred to the first aspect, which will not be repeated here.
在一种可能的设计中,第一用户平面功能为上行分类器UL CL或分支点BP;会话建立请求用于指示第一用户平面功能在确定URR信元的新增流量达到对应的流量阈值时,向会话管理功能发送URR通知。In a possible design, the first user plane function is the uplink classifier UL CL or branch point BP; the session establishment request is used to instruct the first user plane function to determine when the newly added flow of URR cells reaches the corresponding flow threshold , To send URR notification to the session management function.
在一种可能的设计中,每个URR信元还包括URR位图下标;URR位图下标与URR位图表包括的至少一个比特对应,比特对应的比特值为第一指示值或第二指示值,第一指示值用于指示URR位图下标对应的URR信元需累积流量,第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。In a possible design, each URR cell also includes a URR bitmap subscript; the URR bitmap subscript corresponds to at least one bit included in the URR bitmap, and the bit value corresponding to the bit is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
在一种可能的设计中,每个URR信元还包括URR标识;每个URR信元中,一个URR标识与一个URR位图下标映射。In a possible design, each URR cell also includes a URR identifier; in each URR cell, a URR identifier is mapped to a URR bitmap subscript.
在一种可能的设计中,该方法还包括:会话管理功能接收PCF发送的URR响应,URR响应包括新的流量阈值;会话管理功能向第一用户平面功能发送URR更新通知,URR更新通知包括新的流量阈值。In a possible design, the method further includes: the session management function receives a URR response sent by the PCF, the URR response includes a new traffic threshold; the session management function sends a URR update notification to the first user plane function, and the URR update notification includes the new Traffic threshold.
在一种可能的设计中,该方法还包括:会话管理功能确定第一用户平面功能删除时,若会话管理功能需更新URR信元,则会话管理功能向第二用户平面功能发送会话更新请求,第二用户平面功能为与第一用户平面功能存在会话关联的协议数据单元PDU会话锚点PSA,会话更新请求用于指示第二用户平面功能向会话管理功能发送URR通知。也就是说,当第一用户平面功能(UL CL/BP)删除时,第二用户平面功能(PSA)可以直接向会话管理功能(SMF)上报流量。In a possible design, the method further includes: when the session management function determines that the first user plane function is deleted, if the session management function needs to update the URR information element, the session management function sends a session update request to the second user plane function, The second user plane function is a protocol data unit PDU session anchor PSA associated with the first user plane function, and the session update request is used to instruct the second user plane function to send a URR notification to the session management function. That is, when the first user plane function (UL CL/BP) is deleted, the second user plane function (PSA) can directly report the traffic to the session management function (SMF).
第三方面,提供一种用户平面功能,用户平面功能为第一用户平面功能,第一用户平面功能包括:接收模块,用于接收会话管理功能发送的会话建立请求,会话建立请求包括会话流对应的至少一个使用上报规则URR信元,每个URR信元包括流量阈值;接收模块,还用于接收第一下行数据包,第一下行数据包包括会话流的标识、第一URR位图表以及会话流的累积流量;URR位图表用于指示累积流量涉及到的URR信元;处理模块,用于根据第一下行数据包统计URR位图表指示的URR信元的新增流量;发送模块,还用于若新增流量达到URR位图表指示的URR信元对应的流量阈值,则向会话管理功能发送URR通知,URR通知用于为达到流量阈值的URR信元申请新的流量阈值。In a third aspect, a user plane function is provided. The user plane function is a first user plane function, and the first user plane function includes: a receiving module for receiving a session establishment request sent by a session management function, and the session establishment request includes a session flow correspondence At least one of the URR cells using the reporting rule, each URR cell includes a flow threshold; the receiving module is also used to receive the first downlink data packet, the first downlink data packet includes the session flow identifier, the first URR bit map And the cumulative flow of the session flow; the URR bit chart is used to indicate the URR cells involved in the cumulative flow; the processing module is used to count the newly added flow of URR cells indicated by the URR bit chart according to the first downlink data packet; the sending module It is also used to send a URR notification to the session management function if the newly added flow reaches the flow threshold corresponding to the URR cell indicated by the URR bit chart. The URR notification is used to apply for a new flow threshold for the URR cell that reaches the flow threshold.
在一种可能的设计中,第一用户平面功能为上行分类器UL CL或分支点BP;接收模块用于:接收第二用户平面功能发送的第一下行数据包,第二用户平面功能为协议数据单元PDU会话锚点PSA。In a possible design, the first user plane function is the uplink classifier UL CL or branch point BP; the receiving module is used to: receive the first downlink data packet sent by the second user plane function, and the second user plane function is Protocol data unit PDU session anchor PSA.
在一种可能的设计中,每个URR信元还包括URR位图下标;URR位图表包括至少一个比特值,比特值与URR位图下标对应,比特值为第一指示值或第二指示值,第一指示值用于指示URR位图下标对应的URR信元需累积流量,第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。In a possible design, each URR cell also includes a URR bitmap subscript; the URR bitmap includes at least one bit value, the bit value corresponds to the URR bitmap subscript, and the bit value is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
在一种可能的设计中,每个URR信元还包括一个URR标识;在每个URR信元中,一个URR标识一个URR位图下标映射。In a possible design, each URR cell also includes a URR identifier; in each URR cell, a URR identifies a URR bitmap subscript mapping.
在一种可能的设计中,处理模块用于:获取第一下行数据包中携带的累积流量与前一次接收到的第二下行数据包中携带的累积流量的差值,差值为URR位图表指示的URR信元对应的新增流量。In a possible design, the processing module is used to obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received previously, the difference being URR bits The newly added traffic corresponding to the URR cell indicated in the chart.
在一种可能的设计中,第一下行数据包还包括会话流的起始标记;起始标记用于指示第一下行数据包为会话流的首个下行数据包;或,第一下行数据包还包括结束标记,结束标记用于指示第一下行数据包为会话流的最后一个下行数据包;处理模块还用于:若第一下行数据包包括起始标记,则记录会话流的标识;若第一下行数据包包括结束标记,则删除第会话流的标识。In a possible design, the first downlink data packet also includes a start marker of the session flow; the start marker is used to indicate that the first downlink data packet is the first downlink data packet of the session flow; or, the first downlink data packet The line data packet also includes an end mark, which is used to indicate that the first downlink data packet is the last downlink data packet of the session flow; the processing module is also used to: if the first downlink data packet includes the start mark, record the session The identifier of the flow; if the first downlink data packet includes an end marker, the identifier of the flow of the second session is deleted.
第四方面,提供一种会话管理功能,包括:发送模块,用于向第一用户平面功能发送会话建立请求,会话建立请求中包括会话流对应的至少一个使用量上报规则URR信元,每个URR信元包括流量阈值;接收模块,用于接收第一用户平面功能发送的URR通知,URR通知用于为会话流中达到流量阈值的URR信元申请新的流量阈值;发送模块,用于向策略控制功能PCF发送URR通知,以获取新的流量阈值。In a fourth aspect, a session management function is provided, including: a sending module for sending a session establishment request to a first user plane function, the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, each The URR cell includes a flow threshold; the receiving module is used to receive the URR notification sent by the first user plane function, and the URR notification is used to apply for a new flow threshold for the URR cell that reaches the flow threshold in the session flow; the sending module is used to send The policy control function PCF sends URR notifications to obtain new traffic thresholds.
在一种可能的设计中,第一用户平面功能为上行分类器UL CL或分支点BP;会话建立请求用于指示第一用户平面功能在确定URR信元的新增流量达到对应的流量阈值时,向会话 管理功能发送URR通知。In a possible design, the first user plane function is the uplink classifier UL CL or branch point BP; the session establishment request is used to instruct the first user plane function to determine when the newly added flow of URR cells reaches the corresponding flow threshold , To send URR notification to the session management function.
在一种可能的设计中,每个URR信元还包括URR位图下标;URR位图下标与URR位图表包括的至少一个比特对应,比特对应的比特值为第一指示值或第二指示值,第一指示值用于指示URR位图下标对应的URR信元需累积流量,第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。In a possible design, each URR cell also includes a URR bitmap subscript; the URR bitmap subscript corresponds to at least one bit included in the URR bitmap, and the bit value corresponding to the bit is the first indicator value or the second Indicating value, the first indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript requires cumulative flow, and the second indicating value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not require cumulative flow.
在一种可能的设计中,每个URR信元还包括URR标识;每个URR信元中,一个URR标识与一个URR位图下标映射。In a possible design, each URR cell also includes a URR identifier; in each URR cell, a URR identifier is mapped to a URR bitmap subscript.
在一种可能的设计中,接收模块,还用于接收PCF发送的URR响应,URR响应包括新的流量阈值;发送模块,还用于向第一用户平面功能发送URR更新通知,URR更新通知包括新的流量阈值。In a possible design, the receiving module is also used to receive a URR response sent by the PCF, the URR response includes a new traffic threshold; the sending module is also used to send a URR update notification to the first user plane function, the URR update notification includes The new traffic threshold.
在一种可能的设计中,发送模块,还用于:会话管理功能确定第一用户平面功能删除时,若会话管理功能需更新URR信元,则向第二用户平面功能发送会话更新请求,第二用户平面功能为与第一用户平面功能存在会话关联的协议数据单元PDU会话锚点PSA,会话更新请求用于指示第二用户平面功能向会话管理功能发送URR通知。In a possible design, the sending module is also used for: when the session management function determines that the first user plane function is deleted, if the session management function needs to update the URR information element, it sends a session update request to the second user plane function. The second user plane function is a protocol data unit PDU session anchor PSA associated with the first user plane function, and the session update request is used to instruct the second user plane function to send a URR notification to the session management function.
又一方面,本申请实施例提供了一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面和/或第二方面所设计的程序。In another aspect, an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the program designed in the first aspect and/or the second aspect. .
又一方面,本申请实施例提供了一种计算机程序产品,当其在计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面和/或第二方面的方法。In another aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the method of the first aspect and/or the second aspect described above.
附图说明Description of the drawings
图1为一种多个UPF间进行协调分配流量的信令交互图;Figure 1 is a signaling interaction diagram for coordinating and distributing traffic among multiple UPFs;
图2为本申请实施例提供的一种网络架构的示意图;FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of this application;
图3为本申请实施例提供的一种网络架构的示意图;FIG. 3 is a schematic diagram of a network architecture provided by an embodiment of this application;
图4为本申请实施例提供的一种统计业务流量的方法流程示意图;4 is a schematic flow chart of a method for counting service traffic provided by an embodiment of this application;
图5为本申请实施例提供的一种统计业务流量的方法流程示意图;FIG. 5 is a schematic flowchart of a method for counting service traffic provided by an embodiment of this application;
图6为本申请实施例提供的一种UL CL/BP删除时统计业务流量的方法流程示意图;Fig. 6 is a schematic flow chart of a method for counting service traffic when UL CL/BP is deleted according to an embodiment of the application;
图7为本申请实施例提供的一种电子设备的结构示意图;FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图8为本申请实施例提供的一种电子设备的结构示意图;FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图9为本申请实施例提供的一种电子设备的结构示意图;FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of this application;
图10为本申请实施例提供的一种电子设备的结构示意图;FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of this application;
图11为本申请实施例提供的一种电子设备的结构示意图;FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of this application;
图12为本申请实施例提供的一种电子设备的结构示意图。FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
具体实施方式detailed description
本申请实施例可以应用于5G网络架构中,一个会话具备多个UPF的场景下,如何实时并准确地统计和上报业务流量。The embodiments of the present application can be applied to a 5G network architecture. In a scenario where a session has multiple UPFs, how to count and report service traffic in real time and accurately.
一个会话具备多个UPF场景时,如果CHF对会话配额进行统一管理,不区分UPF,则SMF需要对配额针对每个UPF进行二次管理,在多个UPF间进行协调分配的流程可以如图1所示。When a session has multiple UPF scenarios, if CHF manages session quotas uniformly without distinguishing between UPFs, SMF needs to perform secondary management on quotas for each UPF. The process of coordinated allocation among multiple UPFs can be shown in Figure 1. Shown.
1)SMF向策略控制功能(policy control function,PCF)发送会话管理策略关联(Npcf_smpolicyControl_Create)消息给PCF,确定需要策略控制和计费(policy control and charging,PCC)授权并请求与PCF建立会话管理(session management,SM)策略关联;1) SMF sends a session management policy association (Npcf_smpolicyControl_Create) message to the policy control function (PCF) to the PCF, determines that policy control and charging (PCC) authorization is required, and requests to establish session management with the PCF ( session management, SM) policy association;
2)SMF与CHF之间建立计费上下文(Npcf_ConvergedCharging_Create);2) Establish a charging context between SMF and CHF (Npcf_ConvergedCharging_Create);
3)SMF建立PDU会话锚点1(PDU(Protocol Data Unit,协议数据单元)session anchor,PSA);而后SMF与PSA1之间进行业务往来;3) SMF establishes PDU session anchor point 1 (PDU (Protocol Data Unit, protocol data unit) session anchor, PSA); then SMF and PSA1 conduct business exchanges;
4)SMF建立PSA2;4) SMF establishes PSA2;
5)PSA1通过报文转发控制协议(Packet Forwarding Control Protocol,PFCP)会话通知(PFCP session report)向SMF上报流量已达到阈值;5) PSA1 uses the Packet Forwarding Control Protocol (PFCP) session notification (PFCP session report) to report to the SMF that the traffic has reached the threshold;
6)为了保证PSA1和PSA2之间的配额合理分配,SMF向PSA2发送PFCP会话修正请求(PFCP session modification Request)消息,要求PSA2立即上报流量使用情况;6) In order to ensure the reasonable allocation of quotas between PSA1 and PSA2, SMF sends a PFCP session modification Request message to PSA2, requesting PSA2 to report traffic usage immediately;
7)SMF根据PSA1和PSA2上报的流量,再结合剩余的配额等信息,重新为PSA1和PSA2分配流量配额,向PSA1下发更新后的流量阈值;7) According to the traffic reported by PSA1 and PSA2, SMF re-allocates traffic quotas to PSA1 and PSA2 based on the remaining quota and other information, and sends the updated traffic threshold to PSA1;
8)SMF向PSA2下发更新后的流量阈值。8) The SMF delivers the updated traffic threshold to PSA2.
上述步骤5-8可以重复执行,直到达到或者超过PCF/CHF下发的阈值/配额。The above steps 5-8 can be repeated until the threshold/quota issued by PCF/CHF is reached or exceeded.
可以看出,为了保证PSA之间配额分配的合理性,SMF和PSA之间会有多次查询和上报,而且最终汇总的流量可能会超过阈值,难以精确控制配额门限。It can be seen that in order to ensure the reasonable allocation of quotas between PSAs, there will be multiple queries and reports between SMF and PSA, and the final aggregated traffic may exceed the threshold, making it difficult to accurately control the quota threshold.
针对此问题,本申请的设计思路是利用UL CL/BP的汇聚点特性进行URR上报,URR的识别由PSA完成并在下行报文中随包携带会话流对应的URR列表,从而达到对流量的精确统计和及时上报的目的。To solve this problem, the design idea of this application is to use the convergence point characteristics of UL CL/BP to report URR. The identification of URR is completed by PSA and the URR list corresponding to the session flow is carried in the downlink packet, so as to achieve the traffic control. The purpose of accurate statistics and timely reporting.
下面首先为本申请的网络架构进行说明。The following first describes the network architecture of this application.
本申请的网络架构可以如图2所示,包括终端设备、接入网(access network,AN)、用户平面功能、移动性管理网元、会话管理功能、策略控制功能、计费功能以及数据网络(data network,DN)等。The network architecture of this application may be as shown in Figure 2, including terminal equipment, access network (AN), user plane functions, mobility management network elements, session management functions, policy control functions, charging functions, and data networks (data network, DN), etc.
其中,参考图3,终端设备可以为用户设备(user equipment,UE)、接入终端、UE单元、UE站、移动站、移动台、远方站、远程终端、移动设备、UE终端、终端、无线通信设备、UE代理或UE装置等。接入终端可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端或者演进的公共陆地移动网络(public land mobile network,PLMN)网络中的终端等。Among them, referring to FIG. 3, the terminal equipment may be user equipment (UE), access terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal, mobile equipment, UE terminal, terminal, wireless Communication equipment, UE agent or UE device, etc. The access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks or terminals in evolved public land mobile network (PLMN) networks, etc.
接入网AN可以包括能和终端设备通信的设备。例如接入网包括基站,基站可以是中继站或接入点等。基站可以是全球移动通信系统(global system for mobile communication,GSM)或码分多址(code division multiple access,CDMA)网络中的基站收发信台(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)中的NB(NodeB),还可以是LTE中的eNB或eNodeB(evolutional NodeB)。基站还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器。基站还可以是5G网络中的网络设备或演进的PLMN网络中的网络设备;还可以是可穿戴设备或车载设备等。The access network AN may include equipment capable of communicating with terminal equipment. For example, the access network includes a base station, and the base station may be a relay station or an access point. The base station can be a base transceiver station (BTS) in the global system for mobile communication (GSM) or code division multiple access (CDMA) network, or it can be a broadband code division The NB (NodeB) in wideband code division multiple access (WCDMA) may also be the eNB or eNodeB (evolutional NodeB) in LTE. The base station may also be a wireless controller in a cloud radio access network (cloud radio access network, CRAN) scenario. The base station can also be a network device in a 5G network or an evolved PLMN network; it can also be a wearable device or a vehicle-mounted device.
在5G网络架构中,用户平面功能可以为UPF,可以用于:线接入技术(radio access technology,RAT)内/RAT间移动性的锚点(适用时);外部PDU与数据网络互连的会话点;分组路由和转发(例如,支持上行链路分类器以将业务流路由到数据网络的实例,支持分支点以支持多宿主PDU会话);数据包检查(例如,基于服务数据流模板的应用流程检测以及从SMF接收的可选包的流描述(packet flow description,PFD);用户平面部分策略规则实施,例如门控,重定向,流量转向);合法拦截;流量使用报告;用户平面的服务质量(Quality of Service,QoS)处理,例如UL CL/DL速率实施,DL中的反射QoS标记;上行链路流量验证服务数 据流(service data flow,SDF到QoS流量映射;上行链路和下行链路中的传输级分组标记;下行数据包缓冲和下行数据通知触发;将一个或多个“结束标记”发送和转发到源下一代无线接入网络(next generation radio access network,NG-RAN)节点等。In the 5G network architecture, the user plane function can be UPF, which can be used for: intra-RAT (radio access technology, RAT)/inter-RAT mobility anchor (when applicable); external PDU and data network interconnection Session point; packet routing and forwarding (for example, supporting uplink classifiers to route traffic to an instance of the data network, supporting branch points to support multi-homed PDU sessions); packet inspection (for example, based on service data flow templates) Application process detection and flow description of optional packets received from SMF (packet flow description, PFD); user plane part of the policy rule implementation, such as gating, redirection, traffic diversion); lawful interception; traffic usage report; user plane Quality of Service (QoS) processing, such as UL CL/DL rate implementation, reflection QoS marking in DL; uplink traffic verification service data flow (service data flow, SDF to QoS traffic mapping; uplink and downlink Transmission-level packet marking in the link; downlink packet buffering and downlink data notification triggering; sending and forwarding one or more "end marks" to the source next generation radio access network (NG-RAN) Nodes and so on.
在5G网络架构中,移动性管理网元可以为接入和移动管理功能(access mobility management function,AMF),可以用于:终止非接入层(non-access-stratum,NAS)(N1),NAS加密和完整性保护;注册管理;连接管理;可达性管理;流动性管理;合法拦截(适用于AMF事件和LI系统的接口;为UE和SMF之间的SM消息提供传输;用于路由SM消息的透明代理;接入身份验证;接入授权;在UE和SMF之间提供消息传输;监管服务的定位服务管理;为UE和位置管理功能(location management function,LMF)之间以及RAN和LMF之间的位置服务消息提供传输等。In the 5G network architecture, mobility management network elements can be access and mobility management functions (AMF), which can be used to: terminate the non-access-stratum (NAS) (N1), NAS encryption and integrity protection; registration management; connection management; reachability management; liquidity management; lawful interception (applicable to the interface of AMF events and LI system; provides transmission for SM messages between UE and SMF; used for routing Transparent proxy of SM messages; access identity verification; access authorization; provide message transmission between UE and SMF; position service management of supervisory service; provide between UE and location management function (location management function, LMF) as well as between RAN and Location service messages between LMFs provide transmission and so on.
在5G网络架构中,会话管理功能可以为SMF,可以用于:会话管理;UE网际协议(internet protocol,IP)地址分配和管理;选择和控制UP功能;配置UPF的传输方向,将传输路由到正确的目的地;控制政策执行和QoS的一部分;下行链路数据通知;配置UPF的流量控制,将流量路由到正确的目的地;终止接口到策略控制功能等。In the 5G network architecture, the session management function can be SMF, which can be used for: session management; UE Internet Protocol (IP) address allocation and management; selection and control of the UP function; configuration of the UPF transmission direction and routing of the transmission to Correct destination; part of controlling policy execution and QoS; downlink data notification; configuring UPF flow control to route traffic to the correct destination; terminating the interface to the policy control function, etc.
在5G网络架构中,策略控制功能可以为PCF,其功能可以包括:支持统一的策略框架来管理网络行为;为控制平面功能提供策略规则;访问与统一数据存储库(unified data repository,UDR)中的策略决策相关的用户信息等。In the 5G network architecture, the policy control function can be PCF, and its functions can include: support a unified policy framework to manage network behavior; provide policy rules for control plane functions; access and unified data repository (UDR) User information related to strategic decisions.
在5G网络架构中,计费功能可以为CHF,可以用于融合的在线、离线计费。CHF接收计费触发功能(charging trigger function,CTF)(SMF可作为CTF)上报的计费信息,生成话单或者向CTF下发配额,对UE提供计费功能。In the 5G network architecture, the charging function can be CHF, which can be used for converged online and offline charging. The CHF receives the charging information reported by the charging trigger function (charging trigger function, CTF) (SMF can be used as the CTF), generates a bill or issues a quota to the CTF, and provides a charging function to the UE.
数据网络DN可以包括多种设备,例如路由器、服务器等。The data network DN may include various devices, such as routers, servers, and so on.
在本申请实施例中,利用上述网络架构中的SMF和UPF,可以减少SMF和UPF之间的信令交互。在本申请实施例中,UPF可以为上行分类为UL CL,或者为分支点BP,UL CL可以为上行流量分类器,支持上行流量的分流,BP可以为会话的分支点,可以支持下行流量的合并。UPF也可以为PSA,即PDU会话锚点。图2中示出了有两个PSA,PSA1和PSA2。In the embodiment of the present application, the use of SMF and UPF in the foregoing network architecture can reduce signaling interaction between SMF and UPF. In the embodiment of this application, UPF can be classified as UL CL or branch point BP. UL CL can be an uplink traffic classifier that supports the offload of upstream traffic. BP can be a branch point of a session, which can support downstream traffic. merge. UPF can also be PSA, that is, PDU session anchor. Figure 2 shows that there are two PSAs, PSA1 and PSA2.
以下实施例中的方法均可以在上述网络架构中实现。以下实施例中以上述网络架构为例,对本申请实施例的方法进行说明。The methods in the following embodiments can all be implemented in the aforementioned network architecture. In the following embodiments, the foregoing network architecture is taken as an example to describe the method of the embodiment of the present application.
本申请实施例提供一种统计业务流量的方法,如图4所示,包括:The embodiment of the present application provides a method for counting service traffic, as shown in FIG. 4, including:
301、会话管理功能向第一用户平面功能发送会话建立请求,会话建立请求中包括至少一个使用量上报规则URR信元,每个URR信元包括流量阈值。301. The session management function sends a session establishment request to a first user plane function. The session establishment request includes at least one URR cell of a usage reporting rule, and each URR cell includes a flow threshold.
在本申请实施例中,会话管理功能可以为SMF;用户平面功能可以为UPF,UPF可以作为UL CL或者BP,也可以为PSA。SMF向UPF发送会话建立请求时,该UPF为UC CL/BP。即第一用户平面功能为UC CL/BP,记为第一UPF。In the embodiment of the present application, the session management function may be SMF; the user plane function may be UPF, and UPF may be used as UL CL or BP, or PSA. When SMF sends a session establishment request to UPF, the UPF is UC CL/BP. That is, the first user plane function is UC CL/BP, which is denoted as the first UPF.
在本申请实施例中,URR信元中携带的流量阈值,可以指示第一UPF在统计流量达到流量阈值时,向SMF进行上报。In the embodiment of the present application, the flow threshold carried in the URR cell may indicate that the first UPF reports to the SMF when the statistical flow reaches the flow threshold.
302、第一用户平面功能接收会话管理功能发送的会话建立请求。302. The first user plane function receives a session establishment request sent by the session management function.
303、第一用户平面功能接收第一下行数据包,第一下行数据包包括会话流的标识、第一URR位图表以及会话流的累积流量;URR位图表用于指示累积流量涉及到的URR信元。303. The first user plane function receives the first downlink data packet. The first downlink data packet includes the identifier of the session flow, the first URR bit map, and the cumulative traffic of the session flow; the URR bit map is used to indicate the cumulative traffic involved URR cell.
在本申请实施例中,第一下行数据包可以是第二用户平面功能(第二UPF)发送给第一UPF(UL CL/BP)的,第二UPF为PSA。In the embodiment of the present application, the first downlink data packet may be sent by the second user plane function (second UPF) to the first UPF (UL CL/BP), and the second UPF is PSA.
在本申请实施例中,URR信元可以与不同的业务类型对应,URR位图表中的比特位可以 与一个URR信元对应,当第一UPF接收到的下行数据包中携带有URR位图表时,位图表中的比特位的值可以指示哪些URR信元对应的业务需要统计流量,其中位图表中比特位和URR的映射关系由SMF下发,这样根据下行数据包中的累积流量就可以对URR位图表指示的需要统计流量的业务进行统计。In the embodiment of this application, the URR cell can correspond to different service types, and the bit in the URR bit table can correspond to one URR cell. When the downlink data packet received by the first UPF carries the URR bit table , The value of the bit in the bitmap can indicate which URR cell corresponds to the business that needs to count traffic. The mapping relationship between the bit and URR in the bitmap is issued by the SMF, so that the cumulative traffic in the downlink data packet can be adjusted Perform statistics on the services that need to be counted as indicated by the URR bit chart.
304、第一用户平面功能根据第一下行数据包统计URR位图表指示的URR信元的新增流量。304. The first user plane function counts the newly added traffic of URR cells indicated by the URR bit chart according to the first downlink data packet.
第一UPF可以获取第一下行数据包中携带的累积流量与前一次接收到的第二下行数据包中携带的累积流量的差值,该差值即为URR位图表指示的URR信元对应的新增流量。The first UPF can obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received last time. The difference is the URR cell indicated by the URR bit chart. Of new traffic.
305、若新增流量达到URR位图表指示的URR信元对应的流量阈值,则第一用户平面功能向会话管理功能发送URR通知,URR通知用于为达到流量阈值的URR信元申请新的流量阈值。305. If the new traffic reaches the traffic threshold corresponding to the URR cell indicated by the URR bit chart, the first user plane function sends a URR notification to the session management function, and the URR notification is used to apply for new traffic for the URR cell that reaches the traffic threshold. Threshold.
306、会话管理功能接收第一用户平面功能发送的URR通知。306. The session management function receives the URR notification sent by the first user plane function.
307、会话管理功能向策略控制功能PCF、计费功能CHF发送URR通知,以获取新的流量阈值。307. The session management function sends a URR notification to the policy control function PCF and the charging function CHF to obtain a new flow threshold.
由此,本申请实施例可以通过在PSA向UL CL/BP发送的下行数据包中携带URR位图表,以指示需统计流量的URR或者业务,可以便于UL CL/BP根据URR位图表进行流量统计,以确定是否向SMF发送URR通知,去申请新的流量阈值。这样通过在下行数据包中携带流URR位图表,并且通过UL CL/BP进行汇总的方式,可以减少PSA与SMF之间信令交互的带来的功耗,也使得流量统计实时准确。Therefore, in the embodiment of the present application, the URR bit chart can be carried in the downlink data packet sent by the PSA to UL CL/BP to indicate the URR or service that needs to count traffic, which can facilitate UL CL/BP to perform traffic statistics based on the URR bit chart. To determine whether to send a URR notification to SMF to apply for a new traffic threshold. In this way, by carrying the flow URR bit chart in the downlink data packet and collecting it through UL CL/BP, the power consumption caused by the signaling interaction between PSA and SMF can be reduced, and the traffic statistics can be real-time and accurate.
下面以图3所示的网络框架为例,对本申请实施例进行进一步说明。The following uses the network framework shown in FIG. 3 as an example to further illustrate the embodiments of the present application.
与图3对应的,以会话管理功能为SMF、策略控制功能为PCF、计费功能为CHF、第一用户平面功能为UL CL/BP、第二用户平面功能为PSA1、第三用户平面功能为PSA2、为例,本申请实施例提供一种统计业务流量的方法,如图5所示,包括:Corresponding to Figure 3, the session management function is SMF, the policy control function is PCF, the charging function is CHF, the first user plane function is UL CL/BP, the second user plane function is PSA1, and the third user plane function is PSA2, as an example, an embodiment of the present application provides a method for counting service traffic, as shown in FIG. 5, including:
401、SMF调用PCF获取PCC策略。401. The SMF calls the PCF to obtain the PCC policy.
PCC策略用于分组网络业务数据传输QoS等策略控制和流计费,旨在为用户提供差异化的服务。The PCC strategy is used for policy control and stream charging such as QoS for packet network service data transmission, and aims to provide users with differentiated services.
402、SMF调用CHF开始计费。402. SMF calls CHF to start charging.
用户建立会话连接后,SMF需要为该用户进行流量计费等服务,SMF可以调用CHF根据PCC策略开始为该会话进行流量计费。After the user establishes a session connection, SMF needs to perform traffic accounting services for the user, and SMF can call CHF to start traffic accounting for the session according to the PCC policy.
403、SMF结合PCF下发的PCC策略、CHF的计费策略以及本地配置的策略等信息生成URR信元,并建立URR ID到URR位图下标的映射关系以及URR位图表。403. The SMF combines information such as the PCC policy issued by the PCF, the charging policy of the CHF, and the locally configured policy to generate URR information elements, and establishes the mapping relationship between the URR ID to the URR bitmap subscript and the URR bitmap.
URR信元可以有两种类型,一种为计费型,用于SMF向CHF进行计费上报时使用;一种为策略型,用于SMF向PCF进行策略上报时使用。每种类型中,URR信元又可以分为会话级URR和业务级URR。以策略型URR信元为例,其会话级URR可以理解为,一个会话对应一个URR信元,该会话所有的流都关联到该URR信元;对于其业务级URR,业务级URR由PCF下发,PCF下发的策略与URR信元关联,多种策略可以关联到同一个URR信元。以计费型URR信元为例,其业务级URR和计费费率组/服务号(rating group/service ID,RG/SID)对应,PCF下发的策略关联到RG/SID,CHF针对RG/SID分配配额,SMF可以创建RG/SID对应的URR信元。There are two types of URR cells, one is the charging type, which is used when the SMF reports to the CHF for charging; the other is the policy type, which is used when the SMF reports the policy to the PCF. In each type, URR cells can be divided into session-level URR and service-level URR. Taking the strategy URR cell as an example, the session-level URR can be understood as a session corresponding to a URR cell, and all flows in the session are associated with the URR cell; for its service-level URR, the service-level URR is under the PCF The strategy issued by the PCF is associated with the URR cell, and multiple strategies can be associated with the same URR cell. Taking the charging URR cell as an example, the service-level URR corresponds to the charging rate group/service ID (RG/SID), the policy issued by the PCF is associated with the RG/SID, and the CHF is for the RG /SID allocates quota, SMF can create URR cell corresponding to RG/SID.
本申请实施例中,以业务级URR为例进行说明,每个URR信元对应一种业务,每个URR信元包括一个URR标识(URR identify,URR ID),每个URR信元还包括URR位图下标(URR  index)。In the embodiments of this application, the service-level URR is taken as an example for description. Each URR cell corresponds to a service. Each URR cell includes a URR ID (URR identify, URR ID), and each URR cell also includes URR. Bitmap index (URR index).
需要说明的是,如果运营商业务较少,且SMF本地未配置URR,URR都是动态生成的,那么URR位图下标可以复用动态生成的URR ID,用来进行流量统计;如果SMF本地配置有URR,那么URR ID占用的比特大小较大,本申请实施例以URR位图下标进行流量统计,即将URR ID转换为会话内的编号,使得编号范围缩小。It should be noted that if the operator has fewer services and the SMF does not have a URR configured locally, the URR is dynamically generated, then the URR bitmap subscript can reuse the dynamically generated URR ID for traffic statistics; if the SMF is local If the URR is configured, the bit size occupied by the URR ID is relatively large. The embodiment of the present application uses the URR bitmap subscript to perform traffic statistics, that is, converts the URR ID into a number in the session, so that the number range is reduced.
在URR信元包括URR位图下标的情况下,本申请对SMF和UPF之间的N4接口的Creat URR IE(information element,信息元素)进行扩展,扩展了URR Index字段,示例性的,Creat URR IE(URR信元)扩展后的格式可以如表1所示。In the case that the URR information element includes the URR bitmap subscript, this application extends the Creat URR IE (information element) of the N4 interface between the SMF and the UPF, and expands the URR Index field, for example, Creat URR The expanded format of IE (URR cell) can be as shown in Table 1.
表1Table 1
Figure PCTCN2020097553-appb-000001
Figure PCTCN2020097553-appb-000001
表1中,This IE shall uniquely identify the URR among all the URRs configured for this PFCP session.表达的是,该IE应唯一地标识为该PFCP会话配置的所有URR中的URR。In Table 1, This IE shall uniquely identify the URR among all the URRs configured for this PFCP session. It is expressed that the IE should be uniquely identified as the URR in all URRs configured for the PFCP session.
从表1可以得知,一个URR信元中包含一个URR ID和一个URR位图下标,即一个URR ID映射一个URR位图下标。It can be known from Table 1 that a URR cell contains a URR ID and a URR bitmap subscript, that is, a URR ID maps a URR bitmap subscript.
假设URR Index的范围为0-127,占用8个比特,一个会话(session)最多可以有128个URR Index。URR Index字段的具体格式可以如表2所示。Assuming that the URR Index ranges from 0 to 127, which occupies 8 bits, a session (session) can have up to 128 URR Indexes. The specific format of the URR Index field can be shown in Table 2.
表2Table 2
Figure PCTCN2020097553-appb-000002
Figure PCTCN2020097553-appb-000002
表2中,URR Index可以用8位表示,其类型值为50000,长度可以为n。例如,URR Index可以表示为10000000、01000000等。In Table 2, URR Index can be represented by 8 bits, its type value is 50000, and its length can be n. For example, URR Index can be expressed as 10000000, 01000000, and so on.
为了方便描述,本申请以十进制1、2、3…等描述URR ID和URR位图下标。For the convenience of description, this application describes URR ID and URR bitmap subscripts in decimal 1, 2, 3... etc.
假设运营商有100种业务,每个用户最多签约32种业务,如果URR ID的编号为1~100,URR Index的编号为0~31,用户1的会话使用了URR ID为10、13、57以及89的业务,那么SMF建立的URR ID与URR Index的映射关系可以为<10,0>,<13,1>,<57,2>,<89,3>;用户2的会话使用了URR ID为11、3、5以及8的业务,那么SMF建立的URR ID与URR Index的映射关系可以为<11,0>,<3,1>,<5,2>,<8,3>。Assuming that the operator has 100 types of services, each user can sign up to 32 types of services. If the URR ID number is 1 to 100, the URR Index number is 0 to 31, and the session of user 1 uses URR IDs of 10, 13, and 57. And the service of 89, then the mapping relationship between URR ID and URR Index established by SMF can be <10, 0>, <13, 1>, <57, 2>, <89, 3>; user 2’s session uses URR For services with IDs 11, 3, 5, and 8, then the mapping relationship between URR ID and URR Index established by SMF can be <11, 0>, <3, 1>, <5, 2>, <8, 3>.
在建立了映射关系的同时,那么对于一个会话,多个URR位图下标对应的URR位图表(bitmap)包括至少一个比特值,例如用户签约了32种业务时,可以有32个比特来表示位图下标。以用户2为例,bitmap中第0位实际上代表URR ID 11,第1位实际上代表URR ID3,以此类推。URR位图表中,各个URR位图下标的初始比特值可以均为0。While the mapping relationship is established, for a session, the URR bitmap (bitmap) corresponding to multiple URR bitmap subscripts includes at least one bit value. For example, when a user subscribes to 32 types of services, there can be 32 bits to indicate Bitmap subscript. Taking user 2 as an example, the 0th bit in the bitmap actually represents URR ID 11, the 1st bit actually represents URR ID3, and so on. In the URR bit map, the initial bit value of each URR bit map subscript can be 0.
404、SMF向PSA1发送第一会话建立请求,第一会话建立请求中包括至少一个URR信元,每个URR信元包括URR位图下标。404. The SMF sends a first session establishment request to the PSA1. The first session establishment request includes at least one URR cell, and each URR cell includes a URR bitmap subscript.
SMF可以通过N4接口向PSA1发送第一会话建立请求。本申请实施例中,会话建立请求可以为PFCP session establishment request。The SMF may send the first session establishment request to the PSA1 through the N4 interface. In this embodiment of the application, the session establishment request may be a PFCP session establishment request.
当用户发起会话时,如果用户此次的会话涉及多种业务,那么该第一会话建立请求中包括这多种业务对应的URR信元下发给PSA1。URR信元的格式可以参见表1。When the user initiates a session, if the user's current session involves multiple services, the first session establishment request includes URR cells corresponding to these multiple services and is sent to PSA1. The format of the URR cell can be seen in Table 1.
一个会话可以有多个会话锚点,本实施例以建立的会话锚点为PSA1和PSA2为例。A session may have multiple session anchor points. In this embodiment, the established session anchor points are PSA1 and PSA2 as an example.
405、PSA1向SMF发送第一会话建立响应。405. PSA1 sends a first session establishment response to the SMF.
PSA1可以通过N4接口向SMF发送第一会话建立响应。PSA1 may send the first session establishment response to the SMF through the N4 interface.
本申请实施例中,会话建立响应可以为PFCP session establishment response。In this embodiment of the application, the session establishment response may be PFCP session establishment response.
406、SMF向PSA2发送第二会话建立请求,第二会话建立请求中包括至少一个使用量上报规则URR信元,每个URR信元包括URR位图下标。406. The SMF sends a second session establishment request to PSA2. The second session establishment request includes at least one URR cell of a usage reporting rule, and each URR cell includes a URR bitmap subscript.
407、PSA2向SMF发送第二会话建立响应。407. PSA2 sends a second session establishment response to the SMF.
408、SMF向UL CL/BP发送第三会话建立请求,第三会话建立请求中包括会话流对应的至少一个URR信元,每个URR信元包括URR位图下标、流量阈值。408. The SMF sends a third session establishment request to the UL CL/BP. The third session establishment request includes at least one URR cell corresponding to the session flow, and each URR cell includes a URR bitmap subscript and a flow threshold.
SMF可以通过N4接口向UL CL/BP发送第三会话建立请求。The SMF can send the third session establishment request to the UL CL/BP through the N4 interface.
当用户发起会话时,如果用户此次会话的会话流涉及多种业务,那么这多种业务对应的URR信元都要下发给UL CL/BP。UL CL/BP可以根据多个URR信元中携带的URR ID和URR Index得知URR ID与URR Index之间的映射关系,进而可以在步骤411中根据该映射关系、每个URR信元携带的流量阈值以及URR位图表对业务的流量进行统计。URR信元的格式可以参见表1。When a user initiates a session, if the session flow of the user's current session involves multiple services, the URR cells corresponding to these multiple services must be issued to UL CL/BP. UL CL/BP can learn the mapping relationship between URR ID and URR Index according to the URR ID and URR Index carried in multiple URR cells, and then in step 411, according to the mapping relationship, each URR cell carries Traffic thresholds and URR bit graphs collect statistics on business traffic. The format of the URR cell can be seen in Table 1.
409、UL CL/BP向SMF发送第三会话建立响应。409. The UL CL/BP sends a third session establishment response to the SMF.
410、PSA1向UL CL/BP发送第一下行数据包,第一下行数据包包括会话流的标识、URR位图表以及会话流的累积流量;URR位图表用于指示累积流量涉及到的URR信元。410. PSA1 sends the first downlink data packet to UL CL/BP. The first downlink data packet includes the identifier of the session flow, the URR bit map, and the cumulative flow of the session flow; the URR bit map is used to indicate the URR involved in the cumulative flow Letter yuan.
以图2为例,当会话对应的会话锚点PSA1接收到数据网络DN发送的第一下行数据包时,可通过会话锚点PSA1、接入网AN发送给终端设备。PSA1接收到的第一下行数据包中携带有会话流的标识(Lable Id)、URR位图表以及会话流的累积流量(volume),且PSA 1可以通过N9接口向UL CL/BP发送第一下行数据包。具体地,可以对第一下行数据包中的下行PDU会话信息(download PDU session information)(PDU type 0)进行扩展携带会话流的标识、URR位图表以及累积流量,具体的格式可以如表3所示。Taking FIG. 2 as an example, when the session anchor PSA1 corresponding to the session receives the first downlink data packet sent by the data network DN, it can be sent to the terminal device through the session anchor PSA1 and the access network AN. The first downlink data packet received by PSA1 carries the identifier of the session flow (LableId), the URR bit map, and the cumulative flow of the session flow (volume), and PSA1 can send the first data to UL CL/BP through the N9 interface Downlink data packet. Specifically, the downlink PDU session information (download PDU session information) (PDU type 0) in the first downlink data packet can be extended to carry the identifier of the session flow, the URR bit map, and the cumulative flow. The specific format can be as shown in Table 3. Shown.
表3table 3
Figure PCTCN2020097553-appb-000003
Figure PCTCN2020097553-appb-000003
Figure PCTCN2020097553-appb-000004
Figure PCTCN2020097553-appb-000004
表3中,URR BITMAP LEN表示URR位图表的占用的比特长度;Lable Id表示会话流ID,一个流对应的URR位图表是固定的;URR BITMAP表示URR位图表;Volume表示Lable Id标识的流的累积流量;STA表示Lable Id标识的流的起始标记;STO表示Lable Id标识的流的结束标记。In Table 3, URR BITMAP LEN represents the length of bits occupied by the URR bitmap; LabelId represents the session flow ID, and the URR bitmap corresponding to a flow is fixed; URR BITMAP represents the URR bitmap; Volume represents the flow of the stream identified by LabelId Cumulative traffic; STA represents the start mark of the flow identified by the Label Id; STO represents the end mark of the flow identified by the Label Id.
其中,URR位图表包括至少一个比特值,比特值与URR位图下标对应,比特值为第一指示值或第二指示值,第一指示值用于指示URR位图下标对应的URR信元需累积流量,第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。例如,第一指示值为1,第二指示值为0。Wherein, the URR bit table includes at least one bit value, the bit value corresponds to the URR bitmap subscript, the bit value is the first indicator value or the second indicator value, and the first indicator value is used to indicate the URR signal corresponding to the URR bitmap subscript. The second indicator value is used to indicate that the URR cell corresponding to the subscript of the URR bitmap does not need to accumulate the flow. For example, the first indicator value is 1, and the second indicator value is 0.
STA用于指示第一下行数据包为会话流的首个下行数据包;或,STO用于指示第一下行数据包为会话流的最后一个下行数据包。若第一下行数据包包括STA,则UL CL/BP记录该会话流的标识Lable Id;若第一下行数据包包括STO,则UL CL/BP删除会话流的标识。STA is used to indicate that the first downlink data packet is the first downlink data packet of the session flow; or, STO is used to indicate that the first downlink data packet is the last downlink data packet of the session flow. If the first downlink data packet includes STA, UL CL/BP records the identifier of the session flow, LableId; if the first downlink data packet includes STO, UL CL/BP deletes the identifier of the session flow.
同样地,PSA2接收到的下行数据包与PSA1接收到的第一下行数据包的格式类似。Similarly, the format of the downlink data packet received by PSA2 is similar to that of the first downlink data packet received by PSA1.
411、UL CL/BP根据第一下行数据包统计URR位图表指示的URR信元的新增流量。411. The UL CL/BP counts the newly added traffic of URR cells indicated by the URR bit chart according to the first downlink data packet.
由于URR位图表中的比特有两种比特值,UL CL/BP可以根据第一指示值确定比特对应的URR位图下标,进而可以统计出URR位图下标对应的URR信元的新增流量。Since the bits in the URR bitmap have two bit values, UL CL/BP can determine the URR bitmap subscript corresponding to the bit according to the first indicator value, and then can calculate the new URR cell corresponding to the URR bitmap subscript flow.
在一些实施例中,UL CL/BP可以获取第一下行数据包中携带的累积流量与前一次接收到的第二下行数据包中携带的累积流量的差值,差值为第一位图表指示的URR信元对应的新增流量。例如,URR位图表的比特值为01011000(从左端向右端进行比特编号),第0、2、5、6、7比特的值为0,对应的URR位图下标为0、2、5、6以及7,那么URR位图下标为0、2、5、6以及7对应的URR信元则不需要统计新增流量;第1、3、4比特的值为1,对应的URR位图下标为1、3、4,那么URR位图下标为1、3、4对应的URR信元需要统计新增流量。其中,对于业务级URR,对URR信元需统计流量时,也可以认为是对该URR信元对应的业务需统计流量。In some embodiments, UL CL/BP can obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received last time. The difference is the first graph The newly added traffic corresponding to the indicated URR cell. For example, the bit value of the URR bitmap is 01011000 (bit numbering from the left end to the right end), the value of the 0, 2, 5, 6, and 7 bits is 0, and the corresponding URR bitmap subscripts are 0, 2, 5, 6 and 7, then URR cells corresponding to the subscripts of the URR bitmap of 0, 2, 5, 6, and 7 do not need to count the new traffic; the value of the first 1, 3, and 4 bits is 1, the corresponding URR bitmap The subscripts are 1, 3, and 4, then the URR cells corresponding to the subscripts 1, 3, and 4 of the URR bitmap need to count the new traffic. Among them, for the service-level URR, when the URR cell needs to count the traffic, it can also be considered that the traffic corresponding to the URR cell needs to be counted.
412、若新增流量达到URR位图表指示的URR信元对应的流量阈值,则UL CL/BP向SMF发送URR通知,URR通知用于为达到流量阈值的URR信元申请新的流量阈值。412. If the newly added flow reaches the flow threshold corresponding to the URR cell indicated by the URR bit chart, UL CL/BP sends a URR notification to the SMF. The URR notification is used to apply for a new flow threshold for the URR cell that reaches the flow threshold.
示例性的,当URR信元对应的流量阈值为100时,如果新增流量达到或者超过了URR信元对应的流量阈值100,那么UL CL/BP可以向SMF通知该URR信元分配的流量已使用完,指示SMF向PCF申请新的流量阈值,例如新的流量阈值为200,那么后续若UL CL/BP继续统计新增流量达到200时,可以向SMF再次发送URR通知,以申请新的流量阈值。Exemplarily, when the flow threshold corresponding to the URR cell is 100, if the new flow reaches or exceeds the flow threshold 100 corresponding to the URR cell, UL CL/BP can notify the SMF that the flow allocated by the URR cell has been allocated. After use, instruct SMF to apply for a new traffic threshold from PCF. For example, if the new traffic threshold is 200, then if UL CL/BP continues to count the new traffic and reaches 200, you can send URR notification to SMF again to apply for new traffic. Threshold.
413、SMF向PCF发送URR通知,以获取新的流量阈值。413. The SMF sends a URR notification to the PCF to obtain a new flow threshold.
相应地,SMF接收PCF发送的URR响应,URR响应包括新的流量阈值。Correspondingly, the SMF receives the URR response sent by the PCF, and the URR response includes the new flow threshold.
在一些实施例中,SMF向UL CL/BP发送URR更新通知,URR更新通知包括新的流量阈值。In some embodiments, the SMF sends a URR update notification to the UL CL/BP, and the URR update notification includes the new traffic threshold.
由此,上述实施例中,PSA可以随数据包向UL CL/BP上报流量,UL CL/BP进行流量统计,并向SMF上报流量,这种随数据包进行流量上报的过程,可以既保证流量上报的准确性,还可以避免SMF和UPF之间进行多次信令交互带来的信令开销大的问题。Therefore, in the above embodiment, PSA can report traffic to UL CL/BP along with data packets, UL CL/BP performs traffic statistics, and reports traffic to SMF. This process of reporting traffic along with data packets can guarantee the traffic The accuracy of reporting can also avoid the problem of high signaling overhead caused by multiple signaling interactions between SMF and UPF.
在上述实施例中,UL CL/BP实现流量的累积和URR上报功能。在一些实施例中,随着用户的移动,上述实施例中的UL CL可能会被删除,UL CL删除后,PSA1/PSA2的流量上报将无法再通过UL CL向SMF上报流量,这时,PSA可以直接向SMF上报流量。In the above embodiment, UL CL/BP realizes the functions of traffic accumulation and URR reporting. In some embodiments, as the user moves, the UL CL in the above embodiments may be deleted. After the UL CL is deleted, the traffic report of PSA1/PSA2 will no longer be able to report traffic to the SMF through the UL CL. At this time, the PSA You can report traffic directly to SMF.
示例性的,以图3为网络架构,如图6所示:Exemplarily, take Figure 3 as the network architecture, as shown in Figure 6:
501、UE建立PDU会话,该会话包括UL CL/BP、PSA1和PSA2等多个会话,UL CL/BP实现流量统计和流量上报(可参见图4对应的实施例)。501. The UE establishes a PDU session. The session includes multiple sessions such as UL CL/BP, PSA1, and PSA2. The UL CL/BP implements traffic statistics and traffic reporting (see the corresponding embodiment in FIG. 4).
502、SMF通过互联网协议第6版的路由通告((Internet Protocol Version 6,IPv6)Router Advertisement)通知UE停止使用PSA1对应的IPv6前缀时,UE可以开始对所有业务流量都使用PSA2对应的IPv6前缀。502. When the SMF informs the UE to stop using the IPv6 prefix corresponding to PSA1 through an Internet Protocol Version 6 routing advertisement ((Internet Protocol Version 6, IPv6) Router Advertisement), the UE can start to use the IPv6 prefix corresponding to PSA2 for all service traffic.
503、SMF与(R)AN交互,更新(R)AN隧道信息,使得上行流量从(R)AN发送到PSA2,不再经过UL CL/BP。503. The SMF interacts with the (R)AN to update the (R)AN tunnel information, so that the uplink traffic is sent from the (R)AN to the PSA2 without passing through the UL CL/BP.
504、SMF通过N4接口与PSA2交互,更新PSA2隧道信息,同时向PSA2发送会话更新请求,会话更新请求用于指示PSA2向SMF发送URR通知。504. The SMF interacts with the PSA2 through the N4 interface, updates the PSA2 tunnel information, and sends a session update request to the PSA2 at the same time. The session update request is used to instruct the PSA2 to send a URR notification to the SMF.
或者说,SMF确定第一用户平面功能(PSA1)删除时,若SMF需更新URR信元,则SMF向第二用户平面功能(PSA2)发送会话更新请求,PSA2为与PSA1存在会话关联的协议数据单元PDU会话锚点PSA,会话更新请求用于指示PSA2向SMF发送URR通知。In other words, when the SMF determines that the first user plane function (PSA1) is deleted, if the SMF needs to update the URR cell, the SMF sends a session update request to the second user plane function (PSA2). PSA2 is the protocol data associated with the session of PSA1 Unit PDU session anchor point PSA, session update request is used to instruct PSA2 to send URR notification to SMF.
这样,下行流量就会直接从PSA2发送到(R)AN,使得整个上下行流量路径切换完成。即UL CL/BP删除后,由PSA2向SMF上报统计流量。In this way, the downstream traffic will be directly sent from the PSA2 to the (R)AN, so that the entire upstream and downstream traffic path switching is completed. That is, after UL CL/BP is deleted, PSA2 reports statistical traffic to SMF.
505、SMF向PSA1发送会话(PFCP session)删除消息,以指示PSA1释放PSA1上的会话。505. The SMF sends a session (PFCP session) delete message to PSA1 to instruct PSA1 to release the session on PSA1.
506、SMF向UL CL/BP发送会话(PFCP session)删除消息,以指示UL CL/BP释放PSA1上的会话。506. The SMF sends a session (PFCP session) delete message to the UL CL/BP to instruct the UL CL/BP to release the session on PSA1.
507、PSA2进行流量统计,若达到流量阈值,则向SMF上报累积流量。507. PSA2 performs traffic statistics, and if the traffic threshold is reached, it reports the accumulated traffic to the SMF.
PSA2进行流量统计的实现可以参见步骤411和412中UL CL/BP进行流量统计的实现。For the implementation of PSA2 performing traffic statistics, refer to the implementation of UL CL/BP performing traffic statistics in steps 411 and 412.
由此,本申请实施例可以在UL CL删除时,使得其他UPF根据数据包中的流量累积向SMF进行URR流量上报,以实现跨多UPF的URR上报,减少SMF和UPF间的信令交互。Therefore, the embodiment of the present application can enable other UPFs to report URR traffic to the SMF according to the traffic accumulation in the data packet when the UL CL is deleted, so as to implement URR reporting across multiple UPFs and reduce the signaling interaction between the SMF and the UPF.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个网元,例如用户平面功能、会话管理功能等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between various network elements. It can be understood that, in order to realize the above-mentioned functions, each network element, such as a user plane function, a session management function, etc., includes a hardware structure and/or software module corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对用户平面功能、会话管理功能等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application can divide the user plane functions, session management functions, etc. into functional modules based on the foregoing method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one process. Module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图7示出了一种电子设备70的结构示意图,该电子设备70可以为上述用户平面功能,或者UL CL/BP,电子设备70包括:接收单元701,处理单元702,发送单元703。接收单元701用于支持电子设备70执行图4中的过程302,303,图5中的过程408、410的相应过程,图6中的过程506的相应过程;处理单元702用于支持电子设备70执行图4中的过程304,图5中的过程411,发送单元703用于支持电子设备70执行图4中的过程305,图5中的过程409、412。其中,上述方法实施例涉 及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, FIG. 7 shows a schematic structural diagram of an electronic device 70. The electronic device 70 may be the above-mentioned user plane function, or UL CL/BP, and the electronic device 70 includes: receiving Unit 701, processing unit 702, and sending unit 703. The receiving unit 701 is used to support the electronic device 70 to execute the processes 302 and 303 in FIG. 4, the corresponding processes of the processes 408 and 410 in FIG. 5, and the corresponding process of the process 506 in FIG. 6; the processing unit 702 is used to support the electronic device 70 The process 304 in FIG. 4 and the process 411 in FIG. 5 are executed, and the sending unit 703 is used to support the electronic device 70 to execute the process 305 in FIG. 4 and the processes 409 and 412 in FIG. 5. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
在采用集成的单元的情况下,图8示出了上述实施例中所涉及的电子设备的一种可能的结构示意图。电子设备80包括:处理模块802和通信模块803。处理模块802用于对电子设备的动作进行控制管理,例如,处理模块802用于支持电子设备80执行图3中的过程304,图5中的过程411,和/或用于本文所描述的技术的其它过程。通信模块803用于支持电子设备与其他网络实体的通信,例如与图2、图3中示出的功能模块或网络实体之间的通信。通信模块803包括上述接收单元701以及发送单元703的功能。电子设备80还可以包括存储模块801,用于存储电子设备80的程序代码和数据。In the case of using an integrated unit, FIG. 8 shows a schematic diagram of a possible structure of the electronic device involved in the foregoing embodiment. The electronic device 80 includes a processing module 802 and a communication module 803. The processing module 802 is used to control and manage the actions of the electronic device. For example, the processing module 802 is used to support the electronic device 80 to execute the process 304 in FIG. 3, the process 411 in FIG. 5, and/or the technology described herein. Other processes. The communication module 803 is used to support communication between the electronic device and other network entities, for example, communication with the functional modules or network entities shown in FIG. 2 and FIG. 3. The communication module 803 includes the functions of the receiving unit 701 and the sending unit 703 described above. The electronic device 80 may also include a storage module 801 for storing program codes and data of the electronic device 80.
其中,处理模块802可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块803可以是收发器、收发电路或通信接口等。存储模块801可以是存储器。The processing module 802 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), and an application-specific integrated circuit (Application-Specific Integrated Circuit). Integrated Circuit, ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. The communication module 803 may be a transceiver, a transceiver circuit, or a communication interface. The storage module 801 may be a memory.
当处理模块802为处理器,通信模块803为通信接口,存储模块801为存储器时,本申请实施例所涉及的电子设备可以为图9所示的电子设备90。When the processing module 802 is a processor, the communication module 803 is a communication interface, and the storage module 801 is a memory, the electronic device involved in the embodiment of the present application may be the electronic device 90 shown in FIG. 9.
参阅图9所示,该电子设备90包括:处理器912、通信接口913、存储器911以及总线914。其中,通信接口913、处理器912以及存储器911通过总线914相互连接;总线914可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 9, the electronic device 90 includes: a processor 912, a communication interface 913, a memory 911, and a bus 914. Among them, the communication interface 913, the processor 912, and the memory 911 are connected to each other through a bus 914; the bus 914 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus Wait. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
在采用对应各个功能划分各个功能模块的情况下,图10示出了一种电子设备10的结构示意图,电子设备10可以为上述实施例中所涉及的会话管理功能,或者SMF的一种可能的结构示意图,电子设备10包括发送单元1001,接收单元1002和处理单元1003。发送单元1001用于支持电子设备10执行图4中的过程301和307,图5中的过程404,406,408,413,图6中的过程505,506;接收单元1002用于支持电子设备10执行图3中的过程306。处理单元1003用于支持电子设备10执行图5中的过程401、402、403,图6中的过程502,503,504,其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, FIG. 10 shows a schematic structural diagram of an electronic device 10. The electronic device 10 may be the session management function involved in the above-mentioned embodiment, or a possible SMF In a schematic structural diagram, the electronic device 10 includes a sending unit 1001, a receiving unit 1002, and a processing unit 1003. The sending unit 1001 is used to support the electronic device 10 to execute the processes 301 and 307 in FIG. 4, the processes 404, 406, 408, and 413 in FIG. 5, and the processes 505, 506 in FIG. 6; the receiving unit 1002 is used to support the electronic device 10 The process 306 in FIG. 3 is performed. The processing unit 1003 is used to support the electronic device 10 to execute the processes 401, 402, and 403 in FIG. 5, and the processes 502, 503, and 504 in FIG. The function description of the corresponding function module will not be repeated here.
在采用集成的单元的情况下,图11示出了上述实施例中所涉及的电子设备10的另一种可能的结构示意图。电子设备11包括:处理模块1102和通信模块1103。处理模块1102用于对电子设备11的动作进行控制管理,例如,处理模块1102用于支持电子设备11执行图5中的过程401、402、403,图6中的过程502,503,504,和/或用于本文所描述的技术的其它过程。通信模块1103用于支持电子设备11与其他网络实体的通信,例如与图2、图3示出的功能模块或网络实体之间的通信。电子设备11还可以包括存储模块1101,用于存储电子设备11的程序代码和数据。In the case of using an integrated unit, FIG. 11 shows another possible structural schematic diagram of the electronic device 10 involved in the foregoing embodiment. The electronic device 11 includes: a processing module 1102 and a communication module 1103. The processing module 1102 is used to control and manage the actions of the electronic device 11. For example, the processing module 1102 is used to support the electronic device 11 to execute the processes 401, 402, and 403 in FIG. 5, the processes 502, 503, and 504 in FIG. 6, and / Or other processes used in the techniques described herein. The communication module 1103 is used to support communication between the electronic device 11 and other network entities, for example, communication with the functional modules or network entities shown in FIG. 2 and FIG. 3. The electronic device 11 may also include a storage module 1101 for storing program codes and data of the electronic device 11.
其中,处理模块1102可以是处理器或控制器,例如可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是 实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块1103可以是收发器、收发电路或通信接口等。存储模块1101可以是存储器。The processing module 1102 may be a processor or a controller, for example, a CPU, a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. The communication module 1103 may be a transceiver, a transceiver circuit, or a communication interface. The storage module 1101 may be a memory.
当处理模块1102为处理器,通信模块1103为通信接口,存储模块1101为存储器时,本申请实施例所涉及的电子设备11可以为图12所示的电子设备12。When the processing module 1102 is a processor, the communication module 1103 is a communication interface, and the storage module 1101 is a memory, the electronic device 11 involved in the embodiment of the present application may be the electronic device 12 shown in FIG. 12.
参阅图12所示,该电子设备12包括:处理器1212、通信接口1213、存储器1211以及总线1214。其中,通信接口1213、处理器1212以及存储器1211通过总线1214相互连接;总线1214可以是PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 12, the electronic device 12 includes a processor 1212, a communication interface 1213, a memory 1211, and a bus 1214. Among them, the communication interface 1213, the processor 1212, and the memory 1211 are connected to each other through a bus 1214; the bus 1214 may be a PCI bus or an EISA bus. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 12 to represent it, but it does not mean that there is only one bus or one type of bus.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of the method or algorithm described in combination with the disclosure of this application can be implemented in a hardware manner, or can be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read Only Memory, ROM), and erasable programmable read-only memory ( Erasable Programmable ROM (EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the core network interface device. Of course, the processor and the storage medium may also exist as discrete components in the core network interface device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium. Computer-readable media include computer storage media and communication media, where communication media includes any media that facilitates the transfer of computer programs from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this, and any changes or substitutions within the technical scope disclosed in this application should be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (31)

  1. 一种统计业务流量的方法,其特征在于,包括:A method for counting business traffic, which is characterized in that it includes:
    第一用户平面功能接收会话管理功能发送的会话建立请求,所述会话建立请求包括会话流对应的至少一个使用上报规则URR信元,每个URR信元包括流量阈值;The first user plane function receives a session establishment request sent by the session management function, where the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, and each URR cell includes a flow threshold;
    所述第一用户平面功能接收第一下行数据包,所述第一下行数据包包括所述会话流的标识、URR位图表以及所述会话流的累积流量;所述URR位图表用于指示累积流量涉及到的URR信元;The first user plane function receives a first downlink data packet, where the first downlink data packet includes an identifier of the session flow, a URR bit map, and the cumulative traffic of the session flow; the URR bit map is used for Indicate the URR cells involved in the cumulative flow;
    所述第一用户平面功能根据所述第一下行数据包统计所述URR位图表指示的URR信元的新增流量,若所述新增流量达到所述URR位图表指示的URR信元对应的流量阈值,则所述第一用户平面功能向所述会话管理功能发送URR通知,所述URR通知用于为达到流量阈值的URR信元申请新的流量阈值。The first user plane function counts the newly added traffic of the URR cell indicated by the URR bit map according to the first downlink data packet, and if the newly added traffic reaches the URR cell indicated by the URR bit map, The first user plane function sends a URR notification to the session management function, and the URR notification is used to apply for a new flow threshold for URR cells that reach the flow threshold.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述第一用户平面功能为上行分类器UL CL或分支点BP;The first user plane function is an uplink classifier UL CL or branch point BP;
    所述第一用户平面功能接收第一下行数据包包括:The receiving of the first downlink data packet by the first user plane function includes:
    所述第一用户平面功能接收第二用户平面功能发送的所述第一下行数据包,所述第二用户平面功能为协议数据单元PDU会话锚点PSA。The first user plane function receives the first downlink data packet sent by a second user plane function, and the second user plane function is a protocol data unit PDU session anchor PSA.
  3. 根据权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that:
    每个URR信元还包括URR位图下标;Each URR cell also includes the URR bitmap subscript;
    所述URR位图表包括至少一个比特值,比特值与URR位图下标对应,比特值为第一指示值或第二指示值,所述第一指示值用于指示URR位图下标对应的URR信元需累积流量,所述第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。The URR bit table includes at least one bit value, the bit value corresponds to the URR bitmap subscript, the bit value is the first indicator value or the second indicator value, and the first indicator value is used to indicate the value corresponding to the URR bitmap subscript The URR cell needs to accumulate traffic, and the second indicator value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not need to accumulate traffic.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3, wherein:
    每个URR信元还包括一个URR标识;Each URR cell also includes a URR identifier;
    在每个URR信元中,一个URR标识一个URR位图下标映射。In each URR cell, a URR identifies a URR bitmap subscript mapping.
  5. 根据权利要求1所述的方法,其特征在于,所述第一用户平面功能根据第一下行数据包统计第一位图表指示的URR信元的新增流量包括:The method according to claim 1, wherein the first user plane function according to the statistics of the first downlink data packet statistics of the newly added flow of URR cells indicated by the first bit chart comprises:
    所述第一用户平面功能获取所述第一下行数据包中携带的累积流量与前一次接收到的第二下行数据包中携带的累积流量的差值,差值为URR位图表指示的URR信元对应的新增流量。The first user plane function obtains the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received last time, and the difference is the URR indicated by the URR bit graph The new traffic corresponding to the cell.
  6. 根据权利要求1所述的方法,其特征在于,所述第一下行数据包还包括会话流的起始标记;所述起始标记用于指示所述第一下行数据包为所述会话流的首个下行数据包;或,所述第一下行数据包还包括结束标记,所述结束标记用于指示所述第一下行数据包为所述会话流的最后一个下行数据包;The method according to claim 1, wherein the first downlink data packet further comprises a start mark of the session flow; the start mark is used to indicate that the first downlink data packet is the session The first downlink data packet of the flow; or, the first downlink data packet further includes an end marker, and the end mark is used to indicate that the first downlink data packet is the last downlink data packet of the session flow;
    所述方法还包括:The method also includes:
    若所述第一下行数据包包括所述起始标记,则所述第一用户平面功能记录所述会话流的标识;If the first downlink data packet includes the start marker, the first user plane function records the identifier of the session flow;
    若所述第一下行数据包包括所述结束标记,则第一用户平面功能删除所述会话流的标识。If the first downlink data packet includes the end marker, the first user plane function deletes the identifier of the session flow.
  7. 一种统计业务流量的方法,其特征在于,包括:A method for counting business traffic, which is characterized in that it includes:
    会话管理功能向第一用户平面功能发送会话建立请求,所述会话建立请求中包括会话流对应的至少一个使用量上报规则URR信元,每个URR信元包括流量阈值;The session management function sends a session establishment request to the first user plane function, where the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, and each URR cell includes a flow threshold;
    所述会话管理功能接收所述第一用户平面功能发送的URR通知,所述URR通知用于为 所述会话流中达到流量阈值的URR信元申请新的流量阈值;The session management function receives a URR notification sent by the first user plane function, where the URR notification is used to apply for a new flow threshold for URR cells in the session flow that reach a flow threshold;
    所述会话管理功能向策略控制功能PCF发送URR通知,以获取新的流量阈值。The session management function sends a URR notification to the policy control function PCF to obtain a new flow threshold.
  8. 根据权利要求7所述的方法,其特征在于,所述第一用户平面功能为上行分类器UL CL或分支点BP;所述会话建立请求用于指示所述第一用户平面功能在确定URR信元的新增流量达到对应的流量阈值时,向所述会话管理功能发送URR通知。The method according to claim 7, wherein the first user plane function is an uplink classifier UL CL or branch point BP; the session establishment request is used to indicate that the first user plane function is determining the URR signal When the new flow of the yuan reaches the corresponding flow threshold, a URR notification is sent to the session management function.
  9. 根据权利要求7或8所述的方法,其特征在于,The method according to claim 7 or 8, wherein:
    每个URR信元还包括URR位图下标;Each URR cell also includes the URR bitmap subscript;
    URR位图下标与URR位图表包括的至少一个比特对应,比特对应的比特值为第一指示值或第二指示值,所述第一指示值用于指示URR位图下标对应的URR信元需累积流量,所述第二指示值用于指示URR位图下标对应的URR信元不需要累积流量。The URR bitmap subscript corresponds to at least one bit included in the URR bitmap, and the bit value corresponding to the bit is the first indicator value or the second indicator value, and the first indicator value is used to indicate the URR signal corresponding to the URR bitmap subscript. The second indicator value is used to indicate that the URR cell corresponding to the subscript of the URR bitmap does not need to accumulate the flow.
  10. 根据权利要求9所述的方法,其特征在于,The method of claim 9, wherein:
    每个URR信元还包括URR标识;Each URR cell also includes a URR identifier;
    每个URR信元中,一个URR标识与一个URR位图下标映射。In each URR cell, a URR identifier is mapped to a URR bitmap subscript.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, wherein the method further comprises:
    所述会话管理功能接收PCF发送的URR响应,所述URR响应包括新的流量阈值;The session management function receives a URR response sent by the PCF, where the URR response includes a new traffic threshold;
    所述会话管理功能向所述第一用户平面功能发送URR更新通知,所述URR更新通知包括新的流量阈值。The session management function sends a URR update notification to the first user plane function, where the URR update notification includes a new traffic threshold.
  12. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    所述会话管理功能确定所述第一用户平面功能删除时,若所述会话管理功能需更新URR信元,则所述会话管理功能向第二用户平面功能发送会话更新请求,所述第二用户平面功能为与所述第一用户平面功能存在会话关联的协议数据单元PDU会话锚点PSA,所述会话更新请求用于指示所述第二用户平面功能向所述会话管理功能发送URR通知。When the session management function determines that the first user plane function is deleted, if the session management function needs to update the URR information element, the session management function sends a session update request to the second user plane function, and the second user The plane function is a protocol data unit PDU session anchor PSA associated with the first user plane function, and the session update request is used to instruct the second user plane function to send a URR notification to the session management function.
  13. 一种用户平面功能,其特征在于,用户平面功能为第一用户平面功能,所述第一用户平面功能包括:A user plane function, characterized in that the user plane function is a first user plane function, and the first user plane function includes:
    接收模块,用于接收会话管理功能发送的会话建立请求,所述会话建立请求包括会话流对应的至少一个使用上报规则URR信元,每个URR信元包括流量阈值;A receiving module, configured to receive a session establishment request sent by a session management function, where the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, and each URR cell includes a flow threshold;
    接收模块,还用于接收第一下行数据包,所述第一下行数据包包括所述会话流的标识、URR位图表以及所述会话流的累积流量;所述URR位图表用于指示累积流量涉及到的URR信元;The receiving module is further configured to receive a first downlink data packet, where the first downlink data packet includes an identifier of the session flow, a URR bit map, and the cumulative flow of the session flow; the URR bit map is used to indicate URR cells involved in the cumulative flow;
    处理模块,用于根据所述第一下行数据包统计所述URR位图表指示的URR信元的新增流量;A processing module, configured to count the newly added traffic of URR cells indicated by the URR bit chart according to the first downlink data packet;
    发送模块,还用于若所述新增流量达到所述URR位图表指示的URR信元对应的流量阈值,则向所述会话管理功能发送URR通知,所述URR通知用于为达到流量阈值的URR信元申请新的流量阈值。The sending module is further configured to send a URR notification to the session management function if the newly added flow reaches the flow threshold corresponding to the URR cell indicated by the URR bitmap, and the URR notification is used for the purpose of reaching the flow threshold. The URR cell applies for a new flow threshold.
  14. 根据权利要求13所述的用户平面功能,其特征在于,所述第一用户平面功能为上行分类器UL CL或分支点BP;The user plane function according to claim 13, wherein the first user plane function is an uplink classifier UL CL or branch point BP;
    所述接收模块用于:The receiving module is used for:
    接收第二用户平面功能发送的所述第一下行数据包,所述第二用户平面功能为协议数据单元PDU会话锚点PSA。Receiving the first downlink data packet sent by a second user plane function, where the second user plane function is a protocol data unit PDU session anchor PSA.
  15. 根据权利要求13或14所述的用户平面功能,其特征在于,The user plane function according to claim 13 or 14, characterized in that:
    每个URR信元还包括URR位图下标;Each URR cell also includes the URR bitmap subscript;
    所述URR位图表包括至少一个比特值,比特值与URR位图下标对应,比特值为第一指示值或第二指示值,所述第一指示值用于指示URR位图下标对应的URR信元需累积流量,所述第二指示值用于指示URR位图下标对应的URR信元不需要累积流量;The URR bit table includes at least one bit value, the bit value corresponds to the URR bitmap subscript, the bit value is the first indicator value or the second indicator value, and the first indicator value is used to indicate the value corresponding to the URR bitmap subscript The URR cell needs to accumulate flow, and the second indicator value is used to indicate that the URR cell corresponding to the URR bitmap subscript does not need to accumulate flow;
    每个URR信元还包括一个URR标识;在每个URR信元中,一个URR标识一个URR位图下标映射。Each URR cell also includes a URR identifier; in each URR cell, a URR identifies a URR bitmap subscript mapping.
  16. 根据权利要求13所述的用户平面功能,其特征在于,所述处理模块用于:The user plane function according to claim 13, wherein the processing module is configured to:
    获取所述第一下行数据包中携带的累积流量与前一次接收到的第二下行数据包中携带的累积流量的差值,差值为URR位图表指示的URR信元对应的新增流量。Obtain the difference between the accumulated flow carried in the first downlink data packet and the accumulated flow carried in the second downlink data packet received last time, and the difference is the newly added flow corresponding to the URR cell indicated by the URR bit chart .
  17. 根据权利要求13所述的用户平面功能,其特征在于,所述第一下行数据包还包括所述会话流的起始标记;所述起始标记用于指示所述第一下行数据包为所述会话流的首个下行数据包;或,所述第一下行数据包还包括结束标记,所述结束标记用于指示所述第一下行数据包为所述会话流的最后一个下行数据包;The user plane function according to claim 13, wherein the first downlink data packet further includes a start mark of the session flow; the start mark is used to indicate the first downlink data packet Is the first downlink data packet of the session flow; or, the first downlink data packet further includes an end mark, and the end mark is used to indicate that the first downlink data packet is the last one of the session flow Downlink data packet;
    所述处理模块还用于:The processing module is also used for:
    若所述第一下行数据包包括所述起始标记,则记录所述会话流的标识;If the first downlink data packet includes the start marker, record the identifier of the session flow;
    若所述第一下行数据包包括所述结束标记,则删除所述会话流的标识。If the first downlink data packet includes the end marker, delete the identifier of the session flow.
  18. 一种会话管理功能,其特征在于,包括:A session management function, characterized in that it includes:
    发送模块,用于向第一用户平面功能发送会话建立请求,所述会话建立请求中包括会话流对应的至少一个使用量上报规则URR信元,每个URR信元包括流量阈值;A sending module, configured to send a session establishment request to the first user plane function, where the session establishment request includes at least one usage reporting rule URR cell corresponding to the session flow, and each URR cell includes a flow threshold;
    接收模块,用于接收所述第一用户平面功能发送的URR通知,所述URR通知用于为所述会话流中达到流量阈值的URR信元申请新的流量阈值;A receiving module, configured to receive a URR notification sent by the first user plane function, where the URR notification is used to apply for a new flow threshold for URR cells in the session flow that reach a flow threshold;
    发送模块,用于向策略控制功能PCF发送URR通知,以获取新的流量阈值。The sending module is used to send URR notifications to the policy control function PCF to obtain a new flow threshold.
  19. 根据权利要求18所述的会话管理功能,其特征在于,所述第一用户平面功能为上行分类器UL CL或分支点BP;所述会话建立请求用于指示所述第一用户平面功能在确定URR信元的新增流量达到对应的流量阈值时,向所述会话管理功能发送URR通知。The session management function according to claim 18, wherein the first user plane function is an uplink classifier UL CL or branch point BP; the session establishment request is used to indicate that the first user plane function is determining When the newly added flow of the URR cell reaches the corresponding flow threshold, a URR notification is sent to the session management function.
  20. 根据权利要求18或19所述的会话管理功能,其特征在于,每个URR信元还包括URR位图下标;The session management function according to claim 18 or 19, wherein each URR cell further includes a URR bitmap subscript;
    URR位图下标与URR位图表包括的至少一个比特对应,比特对应的比特值为第一指示值或第二指示值,所述第一指示值用于指示URR位图下标对应的URR信元需累积流量,所述第二指示值用于指示URR位图下标对应的URR信元不需要累积流量;The URR bitmap subscript corresponds to at least one bit included in the URR bitmap, and the bit value corresponding to the bit is the first indicator value or the second indicator value, and the first indicator value is used to indicate the URR signal corresponding to the URR bitmap subscript. The cumulative flow of the element is required, and the second indication value is used to indicate that the URR cell corresponding to the subscript of the URR bitmap does not require the cumulative flow;
    每个URR信元还包括URR标识;Each URR cell also includes a URR identifier;
    每个URR信元中,一个URR标识与一个URR位图下标映射。In each URR cell, a URR identifier is mapped to a URR bitmap subscript.
  21. 根据权利要求20所述的会话管理功能,其特征在于,所述接收模块,还用于接收所述PCF发送的URR响应,所述URR响应包括新的流量阈值;The session management function according to claim 20, wherein the receiving module is further configured to receive a URR response sent by the PCF, and the URR response includes a new traffic threshold;
    所述发送模块,还用于向所述第一用户平面功能发送URR更新通知,所述URR更新通知包括新的流量阈值。The sending module is further configured to send a URR update notification to the first user plane function, where the URR update notification includes a new traffic threshold.
  22. 根据权利要求18所述的会话管理功能,其特征在于,所述发送模块,还用于:The session management function according to claim 18, wherein the sending module is further configured to:
    所述会话管理功能确定第一用户平面功能删除时,若所述会话管理功能需更新URR信元,则向第二用户平面功能发送会话更新请求,所述第二用户平面功能为与所述第一用户平面功能存在会话关联的协议数据单元PDU会话锚点PSA,所述会话更新请求用于指示所述第二用户平面功能向所述会话管理功能发送URR通知。When the session management function determines that the first user plane function is deleted, if the session management function needs to update the URR information element, it sends a session update request to the second user plane function, and the second user plane function is the same as the first user plane function. A session-associated protocol data unit PDU session anchor PSA exists for a user plane function, and the session update request is used to instruct the second user plane function to send a URR notification to the session management function.
  23. 一种计算机可读存储介质,其特征在于,包括计算机指令,当计算机指令在电子设 备上运行时,使得电子设备执行如权利要求1-12中任一项的方法。A computer-readable storage medium, characterized by comprising computer instructions, which when the computer instructions run on an electronic device, causes the electronic device to execute the method according to any one of claims 1-12.
  24. 一种计算机程序产品,其特征在于,当计算机程序产品在电子设备上运行时,使得电子设备执行如权利要求1-12中任一项的方法。A computer program product, characterized in that, when the computer program product runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1-12.
  25. 一种用户平面功能,其特征在于,包括:处理器和存储器;所述存储器用于存储计算机执行指令,当所述用户平面功能运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述用户平面功能执行如权利要求1-6任一项所述的统计业务流量的方法。A user plane function, comprising: a processor and a memory; the memory is used to store computer execution instructions, and when the user plane function is running, the processor executes the computer execution stored in the memory Instructions to enable the user plane function to execute the method for counting service traffic according to any one of claims 1-6.
  26. 一种会话管理功能,其特征在于,包括:处理器和存储器;所述存储器用于存储计算机执行指令,当所述会话管理功能运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述会话管理功能执行如权利要求7-12任一项所述的统计业务流量的方法。A session management function, comprising: a processor and a memory; the memory is used to store computer execution instructions, and when the session management function is running, the processor executes the computer execution stored in the memory Instructions to enable the session management function to execute the method for counting service traffic according to any one of claims 7-12.
  27. 一种处理装置,其特征在于,包括:A processing device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于从所述存储器调用并运行所述计算机程序,以执行如权利要求1-6任一项,或权利要求7-12任一项所述的统计业务流量的方法。The processor is configured to call and run the computer program from the memory to execute the method for counting service traffic according to any one of claims 1-6 or any one of claims 7-12.
  28. 一种处理器,其特征在于,用于执行如权利要求1-6任一项,或权利要求7-12任一项所述的统计业务流量的方法。A processor, characterized in that it is used to execute the method for counting service traffic according to any one of claims 1-6 or any one of claims 7-12.
  29. 一种芯片系统,其特征在于,包括:A chip system, characterized in that it includes:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于从所述存储器调用并运行所述计算机程序,使得安装有所述芯片系统的设备执行如权利要求1-6任一项,或权利要求7-12任一项所述的统计业务流量的方法。The processor is configured to call and run the computer program from the memory, so that the device installed with the chip system executes the statistics according to any one of claims 1-6, or any one of claims 7-12 The method of business traffic.
  30. 一种用来执行权利要求1-6任一项所述的统计业务流量的方法的装置。A device for implementing the method for counting business traffic according to any one of claims 1-6.
  31. 一种用来执行权利要求7-12任一项所述的统计业务流量的方法的装置。A device for executing the method for counting business traffic according to any one of claims 7-12.
PCT/CN2020/097553 2019-08-30 2020-06-22 Method and apparatus for collecting statistics about service traffic WO2021036441A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910818906.7A CN112449358B (en) 2019-08-30 2019-08-30 Method and device for counting service flow
CN201910818906.7 2019-08-30

Publications (1)

Publication Number Publication Date
WO2021036441A1 true WO2021036441A1 (en) 2021-03-04

Family

ID=74684073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/097553 WO2021036441A1 (en) 2019-08-30 2020-06-22 Method and apparatus for collecting statistics about service traffic

Country Status (2)

Country Link
CN (1) CN112449358B (en)
WO (1) WO2021036441A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747493A (en) * 2021-09-17 2021-12-03 阿里巴巴达摩院(杭州)科技有限公司 Data transmission method, device, system and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125030A (en) * 2021-11-30 2022-03-01 北京天融信网络安全技术有限公司 Connection tracking method, device, electronic equipment and computer readable storage medium
CN114338930B (en) * 2021-12-30 2022-10-11 广州爱浦路网络技术有限公司 Ticket information processing method, computer device and storage medium
CN115529566B (en) * 2022-10-27 2023-10-31 广州爱浦路网络技术有限公司 Charging control method, device and storage medium based on predefined Urr

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871602A (en) * 2016-03-29 2016-08-17 华为技术有限公司 Control method, device and system for counting traffic
CN108282342A (en) * 2017-01-05 2018-07-13 华为技术有限公司 Accounting management method, user plane functions entity and control plane functional entity
CN110149603A (en) * 2018-02-13 2019-08-20 华为技术有限公司 A kind of policy control method, equipment and system
CN110149602A (en) * 2018-02-13 2019-08-20 华为技术有限公司 A kind of policy control method, equipment and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10805983B2 (en) * 2017-10-17 2020-10-13 Ofinno, Llc Control plane data transmission
CN109756430B (en) * 2017-11-07 2021-08-03 华为技术有限公司 Rule processing method and device
CN110048873A (en) * 2018-01-16 2019-07-23 华为技术有限公司 The method and communication device of the policy control of more anchor point protocol Data Unit sessions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871602A (en) * 2016-03-29 2016-08-17 华为技术有限公司 Control method, device and system for counting traffic
CN108282342A (en) * 2017-01-05 2018-07-13 华为技术有限公司 Accounting management method, user plane functions entity and control plane functional entity
CN110149603A (en) * 2018-02-13 2019-08-20 华为技术有限公司 A kind of policy control method, equipment and system
CN110149602A (en) * 2018-02-13 2019-08-20 华为技术有限公司 A kind of policy control method, equipment and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Interface between the Control Plane and the User Plane Nodes; Stage 3 (Release 15)", 3GPP STANDARD; TECHNICAL SPECIFICATION; 3GPP TS 29.244, vol. CT WG4, no. V15.6.0, 13 June 2019 (2019-06-13), pages 1 - 198, XP051754042 *
ERICSSON: "The report and update of a URR", 3GPP DRAFT; C4-184032_REPORT AND UPDATE_REL15_PA2, vol. CT WG4, 11 May 2018 (2018-05-11), Osaka, Japan, pages 1 - 4, XP051460775 *
HUAWEI; HISILICON: "Proposal of QER, URR and FAR", 3GPP DRAFT; S2-182191 - PROPOSAL OF QER URR AND FAR_R5, vol. SA WG2, 20 February 2018 (2018-02-20), Montreal, Canada, pages 1 - 5, XP051408717 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747493A (en) * 2021-09-17 2021-12-03 阿里巴巴达摩院(杭州)科技有限公司 Data transmission method, device, system and storage medium
CN113747493B (en) * 2021-09-17 2024-04-05 杭州阿里云飞天信息技术有限公司 Data transmission method, device, system and storage medium

Also Published As

Publication number Publication date
CN112449358B (en) 2022-05-24
CN112449358A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
WO2021036441A1 (en) Method and apparatus for collecting statistics about service traffic
US11558770B2 (en) Method for determining QoS description information and apparatus
WO2020108003A1 (en) User access control method, information transmission method and apparatuses therefor
CN109167847B (en) IPv6 address generation method, SMF and communication system
US9178767B2 (en) Intelligent traffic quota management in split-architecture networks
US11272333B2 (en) Convergent charging method and device
US20090296613A1 (en) Method and apparatus for providing quality-of-service in radio access networks
US11042408B2 (en) Device, system, and resource allocation method
EP3685627B1 (en) Implementing edge network services at access elements for mobile edge computing
US10616119B2 (en) Policy determining method and apparatus
WO2020169039A1 (en) Policy management method and device
US20220393984A1 (en) Nodes and Methods for Enabling User Plane Traffic Classification in a Communications System
EP2863661A1 (en) Method and gateway for gateway billing
CN104769978B (en) Charging method and equipment
CN113169884A (en) Removing application identifiers
CN113727390A (en) Data transmission method, device and communication system
TWI821882B (en) Packet loss rate measuring method, communication apparatus, and communication system
CN112910662B (en) Method, device and medium for reporting and receiving and reporting traffic information
WO2024022136A1 (en) Network data processing method and apparatus, and storage medium
WO2021179598A1 (en) Communication method, apparatus and system
RU2786413C2 (en) Method for reporting on data volume in multiple connection
WO2023143255A1 (en) Communication method and apparatus
US20240048398A1 (en) Method and apparatus for charging management
WO2016029673A1 (en) Access network congestion status reporting method, congestion information update processing method, and device
WO2016029674A1 (en) Access network congestion status reporting method, congestion information update processing method, and device

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

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

Country of ref document: EP

Kind code of ref document: A1