CN113873455A - Flow statistical method and system, computer readable storage medium - Google Patents

Flow statistical method and system, computer readable storage medium Download PDF

Info

Publication number
CN113873455A
CN113873455A CN202111287983.8A CN202111287983A CN113873455A CN 113873455 A CN113873455 A CN 113873455A CN 202111287983 A CN202111287983 A CN 202111287983A CN 113873455 A CN113873455 A CN 113873455A
Authority
CN
China
Prior art keywords
information
flow
traffic
charging
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111287983.8A
Other languages
Chinese (zh)
Inventor
李思含
陈洁
尹君
欧建南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111287983.8A priority Critical patent/CN113873455A/en
Publication of CN113873455A publication Critical patent/CN113873455A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Abstract

The present disclosure provides a traffic statistical method and system, and a computer-readable storage medium. The method comprises the following steps: in the process of accessing the service online by a user, when the time reaches a reporting period, the base station sends first flow information to the AMF, and the UPF reports second flow information to the SMF, wherein in the process of accessing the service online by the user, the service flow is shunted by the base station, so that the private network service flow in the service flow is forwarded to the private network equipment, and the public network service flow in the service flow is forwarded to the UPF; the AMF sends the received first traffic information to the SMF; after receiving the first flow information and the second flow information, the SMF calculates the flow information and the charging information of the user according to the charging strategy and sends the flow information and the charging information of the user to the CHF; and the CHF executes charging according to the flow information and the charging information of the user. The method and the device can solve the problem that the core network cannot completely count the service flow under the base station shunting scheme as much as possible.

Description

Flow statistical method and system, computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a traffic statistical method, a system thereof, and a computer-readable storage medium.
Background
Currently, 5G (5th Generation Mobile Communication Technology, fifth Generation Mobile Communication Technology) private networks can be generally classified into two broad categories: the first type is an independent private network based on a private frequency band, namely a private network scheme independent of a public network; the second is a private network scheme in which a private network shares part of network resources with a public network.
The second kind of private network solution includes various implementation manners, such as a User Plane Function (UPF), a lightweight enterprise c 5GC (5G core network), a base station offload, and the like. Here, the base station offloading scheme specifically means that a user establishes a session through a public network UPF, an offloading module is inserted into a rear end of a base station, a data packet accessing an enterprise campus is detected and identified, the data packet is directly sent to an enterprise server, and private network data does not pass through the public network UPF. The scheme has the advantages of convenient deployment and opening, low deployment cost, low service delay, no data leaving the park and the like.
However, in the above base station offloading scheme, since the private network traffic is directly offloaded to the enterprise server through the base station without passing through the UPF, the core network cannot count the complete service traffic of the user, which results in a limited charging mode and inconvenience in charging according to the traffic.
Disclosure of Invention
The technical problem that this disclosure solved is: the method for counting the traffic is provided to solve the problem that the core network cannot count the traffic completely under the base station shunting scheme as much as possible.
According to an aspect of the present disclosure, there is provided a traffic statistic method, including: in the process of accessing services online by a user, when the time reaches a reporting period, a base station sends first flow information to an access and mobile management function unit (AMF), and a user plane function Unit (UPF) reports second flow information to a session management function unit (SMF), wherein in the process of accessing services online by the user, service flows are shunted by the base station, so that private network service flows in the service flows are forwarded to private network equipment, and public network service flows in the service flows are forwarded to the UPF; the AMF sends the received first traffic information to the SMF; after receiving the first flow information and the second flow information, the SMF calculates the flow information and the charging information of the user according to a charging strategy and sends the flow information and the charging information of the user to a charging function unit CHF; and the CHF executes charging according to the flow information and the charging information of the user.
In some embodiments, the step of calculating, by the SMF, the traffic information and the charging information of the user according to the charging policy includes: under the condition that the charging strategy is that private network flow and public network flow are charged in a differentiated mode, the SMF records the second flow information into a public network charging group, and records the flow obtained by subtracting the second flow information from the first flow information into a private network charging group, so that the flow information and the charging information of the user are obtained; or when the charging policy is that charging is not required to be distinguished between private network traffic and public network traffic, the SMF discards the second traffic information, and calculates and obtains the traffic information and charging information of the user according to the first traffic information.
In some embodiments, the step of the AMF sending the received first traffic information to the SMF includes: after receiving the first traffic information, the AMF sends a Protocol Data Unit (PDU) session context update request message to the SMF, wherein the PDU session context update request message contains the first traffic information; the traffic statistical method further comprises the following steps: the SMF returns a response message to the AMF to reply to the PDU session context update request message.
In some embodiments, the first traffic information is data traffic generated by a protocol data unit, PDU, session.
In some embodiments, a reporting period for the base station to send the first traffic information is the same as a reporting period for the UPF to report the second traffic information.
According to another aspect of the present disclosure, there is provided a traffic statistic system including: the base station is used for sending first flow information to the AMF when the time reaches a reporting period in the process of accessing services online by a user; during the process of accessing services online by the user, service traffic is shunted by the base station, so that private network service traffic in the service traffic is forwarded to private network equipment, and public network service traffic in the service traffic is forwarded to the UPF;
the UPF is used for reporting second traffic information to the SMF; the AMF is used for sending the received first traffic information to the SMF; the SMF is used for calculating the flow information and the charging information of the user according to a charging strategy after receiving the first flow information and the second flow information, and sending the flow information and the charging information of the user to the CHF; and the CHF is used for executing charging according to the flow information and the charging information of the user.
In some embodiments, the SMF is configured to, when the charging policy is charging based on a private network traffic and a public network traffic, credit the second traffic information into a public network charging group, and credit a traffic obtained by subtracting the second traffic information from the first traffic information into a private network charging group, so as to obtain traffic information and charging information of the user; or under the condition that the charging strategy is that private network flow and public network flow do not need to be charged in a distinguishing way, discarding the second flow information, and calculating and obtaining the flow information and the charging information of the user according to the first flow information.
In some embodiments, the AMF is configured to send a PDU session context update request message to the SMF after receiving the first traffic information, wherein the PDU session context update request message includes the first traffic information; the SMF is further configured to return a response message to the AMF in reply to the PDU session context update request message.
In some embodiments, the first traffic information is data traffic generated by a protocol data unit, PDU, session.
In some embodiments, a reporting period for the base station to send the first traffic information is the same as a reporting period for the UPF to report the second traffic information.
According to another aspect of the present disclosure, there is provided a traffic statistic system including: a memory; and a processor coupled to the memory, the processor configured to perform the method as previously described based on instructions stored in the memory.
According to another aspect of the disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method as previously described.
The traffic statistical method can solve the problem that the core network cannot completely count the service traffic under the base station shunting scheme as much as possible.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure may be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart illustrating a traffic statistics method according to some embodiments of the present disclosure;
FIG. 2 is a flow chart illustrating a method of traffic statistics according to further embodiments of the present disclosure;
FIG. 3 is a flow chart illustrating a method of traffic statistics according to further embodiments of the present disclosure;
FIG. 4 is a block diagram illustrating a flow statistics system according to some embodiments of the present disclosure;
FIG. 5 is a block diagram illustrating a flow statistics system according to further embodiments of the present disclosure;
FIG. 6 is a block diagram illustrating a flow statistics system according to further embodiments of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a flow chart illustrating a traffic statistics method according to some embodiments of the present disclosure. As shown in fig. 1, the traffic statistical method includes steps S102 to S108.
In step S102, in the process of accessing the service online by the user, when the time reaches the reporting period, the base station sends the first traffic information to an Access and Mobility Management Function (AMF), and the UPF reports the second traffic information to the SMF. During the process of accessing the service online by the user, the service traffic is shunted by the base station, so that the private network service traffic in the service traffic is forwarded to the private network device (for example, a private network server), and the public network service traffic in the service traffic is forwarded to the UPF.
In some embodiments, the reporting period for the base station to send the first traffic information is the same as the reporting period for the UPF to report the second traffic information. That is, the period of reporting the configured traffic at the base station is consistent with the configuration of the core network. This allows the first traffic information and the second traffic information to be reported as simultaneously as possible.
In some embodiments, the first traffic information is Data traffic generated by a PDU (Protocol Data Unit) session.
In an embodiment of the present disclosure, the step of the base station sending the first traffic information to the AMF may include: the base station sends a user traffic reporting message to the AMF, where the user traffic reporting message includes information such as a user access type, a PDU session ID (identification), a start/stop time of a PDU session, and a data traffic (i.e., first traffic information) generated by the PDU session.
Therefore, according to the existing second type data usage reporting process, an NGAP (Next Generation Application Protocol) process for reporting user data traffic may be newly added, and defined as Class 2. The purpose that the base station reports the first traffic information to the AMF is achieved through the user traffic reporting message.
In step S104, the AMF transmits the received first traffic information to the SMF.
In some embodiments, this step S104 includes: and after receiving the first traffic information, the AMF sends a PDU session context update request message to the SMF, wherein the PDU session context update request message contains the first traffic information. In this embodiment, the AMF sends the first traffic information to the SMF in a PDU session context update request message.
In step S106, after receiving the first traffic information and the second traffic information, the SMF calculates the traffic information and the Charging information of the user according to the Charging policy, and sends the traffic information and the Charging information of the user to a CHF (Charging Function).
In some embodiments, the step of calculating, by the SMF, the traffic information and the charging information of the user according to the charging policy includes: under the condition that the charging strategy is that the private network flow and the public network flow are charged in a differentiated mode, the SMF records the second flow information into a public network charging group, and records the flow obtained by subtracting the second flow information from the first flow information into the private network charging group, so that the flow information and the charging information of the user are obtained; or under the condition that the charging policy is that the private network flow and the public network flow do not need to be charged in a distinguishing way, the SMF discards the second flow information and calculates and obtains the flow information and the charging information of the user according to the first flow information.
In the above embodiment, the first traffic information reported by the base station includes the total traffic of the private network traffic and the public network traffic, and the second traffic information is the public network traffic, so that, for the case of charging separately the private network traffic and the public network traffic, the private network traffic is obtained by subtracting the second traffic information from the first traffic information, thereby realizing the separate charging of the private network traffic and the public network traffic; for the case that the private network traffic and the public network traffic do not need to be charged separately, the first traffic information is charged. Therefore, the SMF can calculate the flow information and the charging information of the user according to the charging strategy.
In some embodiments, the method may further comprise: the SMF returns a response message to the AMF in reply to the PDU session context update request message. For example, the response message may be an acknowledgement message such as OK.
Thus, a traffic statistic method according to some embodiments of the present disclosure is provided. The flow statistical method comprises the following steps: in the process of accessing the service online by a user, when the time reaches a reporting period, the base station sends first flow information to the AMF, and the UPF reports second flow information to the SMF, wherein in the process of accessing the service online by the user, the service flow is shunted by the base station, so that the private network service flow in the service flow is forwarded to the private network equipment, and the public network service flow in the service flow is forwarded to the UPF; the AMF sends the received first traffic information to the SMF; after receiving the first flow information and the second flow information, the SMF calculates the flow information and the charging information of the user according to the charging strategy and sends the flow information and the charging information of the user to the CHF; and the CHF executes charging according to the flow information and the charging information of the user. The method can solve the problem that the core network can not completely count the service flow under the base station shunting scheme as much as possible.
FIG. 2 is a flow chart illustrating a traffic statistic method according to further embodiments of the present disclosure. As shown in fig. 2, the method includes steps S202 to S222.
In step S202, the base station configures a traffic reporting mode, for example, the reporting mode may be periodic reporting, and a reporting period is consistent with the configuration of the core network.
In steps S204 to S210, the user normally accesses the service online, and the service traffic is shunted by the base station, wherein the private Network service traffic is directly forwarded to a Data Network (Data Network) (i.e., a private Network server), and the public Network service traffic is sent to the UPF.
In step S212, when the time reaches the reporting period, the base station initiates a user traffic reporting message to the AMF, where the user traffic reporting message includes information such as a session traffic usage (i.e., first traffic information), a session start/stop time, a reporting type, and a session access type. Meanwhile, in step S216, the UPF normally reports the user traffic information (i.e., the second traffic information) to the SMF.
In step S214, after receiving the report information of the base station, the AMF initiates a PDU session context update request, and transmits the report information of the base station to the SMF for processing.
In step S218, after receiving the request of the AMF and the traffic information reported by the UPF, the SMF performs calculation according to the charging policy: if the private network flow and the public network flow are charged in a differentiated mode, the UPF reported flow (namely, the second flow information) is charged into a public network charging group, and the base station reported flow (namely, the first flow information) minus the UPF reported flow (namely, the second flow information) is charged into the private network charging group; and if charging is not needed to be distinguished, discarding the UPF reported flow information, and calculating the reported flow of the base station.
In step S220, the SMF sends the calculated traffic information and charging information to the CHF and replies to the PDU session context update request message initiated by the AMF.
In step S222, the CHF completes charging after receiving the SMF message.
Thus, flow statistics methods according to further embodiments of the present disclosure are provided. The method can solve the problem that the core network can not completely count the user service flow under the current base station shunting scheme as much as possible, has relatively simple message flow, is easy to realize, and has small change on the base station and the core network.
FIG. 3 is a flow chart illustrating a traffic statistic method according to further embodiments of the present disclosure. The following describes a user charging process of a private network of a certain campus by way of example with reference to fig. 3.
In step 1, the reporting mode of the base station is set to periodically and actively report the user traffic information, and the reporting period is consistent with the configuration of the core network.
In step 2, the private network User is on line, the flow of the private network service accessed by the UE (User Equipment) is shunted and accessed to the enterprise campus data center through the base station, and the flow of the public network service accessed is sent to the UPF.
In step 3a, when the time reaches the configured reporting period, the base station sends a user traffic reporting message to the AMF, where the user traffic reporting message includes information such as an access type, a PDU session ID of the user, a start/stop time of the PDU session, and traffic statistics information generated by the session.
In step 3b, the UPF reports the traffic information of the user to the SMF.
In step 4, after receiving the message reported by the base station, the AMF sends the traffic statistic information of the user to the SMF through a PDU Session context update request message (i.e., a PDU Session Management (SM) context update request message).
In step 5, the SMF judges whether to charge the private network flow and the public network flow in a distinguishing way according to the charging strategy, and calculates the flow reported by the AMF and the flow reported by the UPF.
For example, a processing module is added in the SMF, and the processing module can calculate traffic information reported by the base station and the UPF according to the configuration of the charging group (i.e., the charging policy). Specifically, if the public network flow and the private network flow are charged separately, the UPF reported flow is charged into the public network charging group, and after the UPF reported flow is subtracted from the base station reported flow, the public network charging group is charged into the private network charging group; if charging is not distinguished, the SMF discards the flow information reported by the UPF, and only counts the flow information reported by the base station.
In step 6, the SMF sends the calculated user traffic information and charging information to the CHF.
In step 7, the SMF replies to the AMF-initiated PDU session SM context update request message with a PDU session SM context update response message.
In step 8, the CHF completes the charging of the private network subscriber.
Thus, flow statistics methods according to further embodiments of the present disclosure are provided. In the method, a base station actively reports user service flow periodically, and then an SMF calculates the base station reported flow and UPF reported flow, thereby solving the problem that a core network can not completely count the service flow under a base station shunting scheme as much as possible.
Fig. 4 is a block diagram illustrating a flow statistics system according to some embodiments of the present disclosure. As shown in fig. 4, the traffic statistic system includes: base station 402, UPF 404, AMF 406, SMF 408, and CHF 410.
The base station 402 is configured to send the first traffic information to the AMF when the time reaches a reporting period in a process of accessing the service online by the user. Here, during the process of accessing the service online by the user, the service traffic is shunted by the base station, so that the private network service traffic in the service traffic is forwarded to the private network device, and the public network service traffic in the service traffic is forwarded to the UPF.
In some embodiments, the first traffic information is data traffic generated by a PDU session.
In some embodiments, the reporting period for the base station to send the first traffic information is the same as the reporting period for the UPF to report the second traffic information.
The UPF 404 is configured to report the second traffic information to the SMF 408.
The AMF 406 is configured to send the received first traffic information to the SMF 408.
The SMF 408 is configured to calculate traffic information and charging information of the user according to the charging policy after receiving the first traffic information and the second traffic information, and send the traffic information and charging information of the user to the CHF 410.
In some embodiments, the SMF 408 is configured to, when the charging policy is charging for distinguishing private network traffic from public network traffic, credit the second traffic information into a public network charging group, and credit the traffic obtained by subtracting the second traffic information from the first traffic information into the private network charging group, thereby obtaining traffic information and charging information of the user; or under the condition that the charging policy is that the private network flow and the public network flow do not need to be distinguished for charging, discarding the second flow information, and calculating and obtaining the flow information and the charging information of the user according to the first flow information.
The CHF 410 is used to perform charging according to the traffic information and charging information of the user.
To this end, a traffic statistics system according to some embodiments of the present disclosure is provided. The system can solve the problem that the core network can not completely count the user service flow under the current base station shunting scheme as much as possible, has relatively simple message flow, is easy to realize, and has small change on the base station and the core network.
In some embodiments, AMF 406 is configured to send a PDU session context update request message to SMF 408 after receiving the first traffic information, wherein the PDU session context update request message includes the first traffic information.
In some embodiments, SMF 408 is also used to return a response message to AMF 406 in reply to the PDU session context update request message.
FIG. 5 is a block diagram illustrating a flow statistics system according to further embodiments of the present disclosure. The traffic statistic system includes a memory 510 and a processor 520. Wherein:
the memory 510 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is used for storing instructions in at least one corresponding embodiment in fig. 1 to 3.
Processor 520 is coupled to memory 510 and may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller. The processor 520 is configured to execute the instructions stored in the memory, and may solve the problem that the core network cannot completely count the service traffic under the base station offloading scheme as much as possible.
It is to be noted that the system may include a plurality of memories 510 and a plurality of processors 520, and the plurality of memories 510 and the plurality of processors 520 may be cooperatively disposed in different devices.
In some embodiments, as also shown in fig. 6, traffic statistics system 600 includes a memory 610 and a processor 620. Processor 620 is coupled to memory 610 through a BUS 630. The traffic statistics system 600 may also be coupled to an external storage device 650 via a storage interface 640 for accessing external data, and may also be coupled to a network or another computer system (not shown) via a network interface 660, which will not be described in detail herein.
In this embodiment, the memory stores the data instruction, and the processor processes the instruction, so as to solve the problem that the core network cannot completely count the traffic flow under the base station offloading scheme as much as possible.
It is noted that the system may include a plurality of memories 610, a plurality of processors 620, a plurality of BUS buses 630, a plurality of storage interfaces 640, a plurality of external storage devices 650, and a plurality of network interfaces 660. These memory 610, processor 620, BUS 630, storage interface 640, external storage 650, and network interface 660 may be provided in various devices as a kit.
In other embodiments, the present disclosure also provides a non-transitory computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the method in at least one of the corresponding embodiments of fig. 1-3. As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Thus far, the present disclosure has been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (12)

1. A traffic statistic method, comprising:
in the process of accessing services online by a user, when the time reaches a reporting period, a base station sends first flow information to an access and mobile management function unit (AMF), and a user plane function Unit (UPF) reports second flow information to a session management function unit (SMF), wherein in the process of accessing services online by the user, service flows are shunted by the base station, so that private network service flows in the service flows are forwarded to private network equipment, and public network service flows in the service flows are forwarded to the UPF;
the AMF sends the received first traffic information to the SMF;
after receiving the first flow information and the second flow information, the SMF calculates the flow information and the charging information of the user according to a charging strategy and sends the flow information and the charging information of the user to a charging function unit CHF; and
and the CHF executes charging according to the flow information and the charging information of the user.
2. The traffic statistic method according to claim 1, wherein the SMF calculating the traffic information and charging information of the user according to the charging policy comprises:
under the condition that the charging strategy is that private network flow and public network flow are charged in a differentiated mode, the SMF records the second flow information into a public network charging group, and records the flow obtained by subtracting the second flow information from the first flow information into a private network charging group, so that the flow information and the charging information of the user are obtained; or
And under the condition that the charging strategy is private network flow and public network flow and charging is not required to be distinguished, the SMF discards the second flow information and calculates and obtains the flow information and the charging information of the user according to the first flow information.
3. The traffic statistic method according to claim 1, wherein the step of the AMF transmitting the received first traffic information to the SMF comprises:
after receiving the first traffic information, the AMF sends a Protocol Data Unit (PDU) session context update request message to the SMF, wherein the PDU session context update request message contains the first traffic information;
the traffic statistical method further comprises the following steps: the SMF returns a response message to the AMF to reply to the PDU session context update request message.
4. The flow statistic method according to claim 1, wherein,
the first traffic information is data traffic generated by a protocol data unit, PDU, session.
5. The flow statistic method according to claim 1, wherein,
and the reporting period of the base station for sending the first traffic information is the same as the reporting period of the UPF for reporting the second traffic information.
6. A traffic statistic system comprising:
the base station is used for sending first flow information to the AMF when the time reaches a reporting period in the process of accessing services online by a user; during the process of accessing services online by the user, service traffic is shunted by the base station, so that private network service traffic in the service traffic is forwarded to private network equipment, and public network service traffic in the service traffic is forwarded to the UPF;
the UPF is used for reporting second traffic information to the SMF;
the AMF is used for sending the received first traffic information to the SMF;
the SMF is used for calculating the flow information and the charging information of the user according to a charging strategy after receiving the first flow information and the second flow information, and sending the flow information and the charging information of the user to the CHF; and
and the CHF is used for executing charging according to the flow information and the charging information of the user.
7. The flow statistics system of claim 6,
the SMF is used for recording the second flow information into a public network charging group under the condition that the charging strategy is that private network flow and public network flow are charged in a differentiated mode, and recording the flow obtained by subtracting the second flow information from the first flow information into a private network charging group, so that the flow information and the charging information of the user are obtained; or under the condition that the charging strategy is that private network flow and public network flow do not need to be charged in a distinguishing way, discarding the second flow information, and calculating and obtaining the flow information and the charging information of the user according to the first flow information.
8. The flow statistics system of claim 6,
the AMF is used for sending a PDU session context update request message to the SMF after receiving the first flow information, wherein the PDU session context update request message comprises the first flow information;
the SMF is further configured to return a response message to the AMF in reply to the PDU session context update request message.
9. The flow statistics system of claim 6,
the first traffic information is data traffic generated by a PDU session.
10. The flow statistics system of claim 6,
and the reporting period of the base station for sending the first traffic information is the same as the reporting period of the UPF for reporting the second traffic information.
11. A traffic statistic system comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 1-5 based on instructions stored in the memory.
12. A non-transitory computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of any one of claims 1 to 5.
CN202111287983.8A 2021-11-02 2021-11-02 Flow statistical method and system, computer readable storage medium Pending CN113873455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111287983.8A CN113873455A (en) 2021-11-02 2021-11-02 Flow statistical method and system, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111287983.8A CN113873455A (en) 2021-11-02 2021-11-02 Flow statistical method and system, computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113873455A true CN113873455A (en) 2021-12-31

Family

ID=78986570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111287983.8A Pending CN113873455A (en) 2021-11-02 2021-11-02 Flow statistical method and system, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113873455A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554538A (en) * 2022-03-22 2022-05-27 中国电信股份有限公司 Flow statistical method and device, electronic equipment and storage medium
CN114885332A (en) * 2022-05-05 2022-08-09 中国电信股份有限公司 Traffic processing method and device, storage medium and electronic equipment
CN115412974A (en) * 2022-11-03 2022-11-29 浪潮通信技术有限公司 Shunting communication method, device, equipment and readable storage medium
CN115529294A (en) * 2022-04-27 2022-12-27 中国移动通信集团设计院有限公司 Service processing method, device, equipment and storage medium
CN115529566A (en) * 2022-10-27 2022-12-27 广州爱浦路网络技术有限公司 Charge control method, system, computer device and storage medium based on predefined Urr

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286506A (en) * 2018-11-05 2019-01-29 中国联合网络通信集团有限公司 A kind of method, system and device of charge on traffic
CN109996199A (en) * 2017-12-30 2019-07-09 中国移动通信集团山西有限公司 Communication flows counts charging method, system, equipment and storage medium
US20200092423A1 (en) * 2018-09-13 2020-03-19 Weihua QIAO Charging Control with SMF
CN112702744A (en) * 2019-10-22 2021-04-23 上海华为技术有限公司 Private cell establishing method, service operation method and device based on cellular network
CN113194020A (en) * 2021-05-24 2021-07-30 上海层峰网络科技有限公司 Virtual network interaction method and virtual network architecture
US20210250771A1 (en) * 2018-11-02 2021-08-12 Huawei Technologies Co., Ltd. Method For Determining Class Information And Apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996199A (en) * 2017-12-30 2019-07-09 中国移动通信集团山西有限公司 Communication flows counts charging method, system, equipment and storage medium
US20200092423A1 (en) * 2018-09-13 2020-03-19 Weihua QIAO Charging Control with SMF
US20210250771A1 (en) * 2018-11-02 2021-08-12 Huawei Technologies Co., Ltd. Method For Determining Class Information And Apparatus
CN109286506A (en) * 2018-11-05 2019-01-29 中国联合网络通信集团有限公司 A kind of method, system and device of charge on traffic
CN112702744A (en) * 2019-10-22 2021-04-23 上海华为技术有限公司 Private cell establishing method, service operation method and device based on cellular network
CN113194020A (en) * 2021-05-24 2021-07-30 上海层峰网络科技有限公司 Virtual network interaction method and virtual network architecture

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554538A (en) * 2022-03-22 2022-05-27 中国电信股份有限公司 Flow statistical method and device, electronic equipment and storage medium
CN115529294A (en) * 2022-04-27 2022-12-27 中国移动通信集团设计院有限公司 Service processing method, device, equipment and storage medium
CN115529294B (en) * 2022-04-27 2024-04-09 中国移动通信集团设计院有限公司 Service processing method, device, equipment and storage medium
CN114885332A (en) * 2022-05-05 2022-08-09 中国电信股份有限公司 Traffic processing method and device, storage medium and electronic equipment
CN114885332B (en) * 2022-05-05 2023-08-08 中国电信股份有限公司 Flow processing method and device, storage medium and electronic equipment
CN115529566A (en) * 2022-10-27 2022-12-27 广州爱浦路网络技术有限公司 Charge control method, system, computer device and storage medium based on predefined Urr
CN115529566B (en) * 2022-10-27 2023-10-31 广州爱浦路网络技术有限公司 Charging control method, device and storage medium based on predefined Urr
CN115412974A (en) * 2022-11-03 2022-11-29 浪潮通信技术有限公司 Shunting communication method, device, equipment and readable storage medium
CN115412974B (en) * 2022-11-03 2023-02-24 浪潮通信技术有限公司 Shunting communication method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN113873455A (en) Flow statistical method and system, computer readable storage medium
CN109167847B (en) IPv6 address generation method, SMF and communication system
US20210084456A1 (en) Convergent Charging Method and Device
CN106658601B (en) Data transmission processing method and device
CN117320091A (en) Session processing method and related equipment
US20230070712A1 (en) Communication method, apparatus, and system
CN109547221B (en) Big data analysis service providing method and device, and computer-readable storage medium
WO2019201322A1 (en) Communication method and related device
KR20150120422A (en) Method, apparatus and system for aggregating charging information
EP4175333A1 (en) Information collection method and apparatus, storage medium, and electronic apparatus
US20230283492A1 (en) Traffic charging method, network device and storage medium
CN113747479B (en) Method, equipment and system for acquiring network resources
CN102202281A (en) Ticket processing method and system
CN111385754A (en) Charging method, device and system
CN111131506B (en) Message processing method and device
EP2555545A1 (en) Method and system for selecting mobility management entity of terminal group
WO2020169039A1 (en) Policy management method and device
CN113453252B (en) Communication method and device
CN109196895B (en) Message transmission method, device and system
CN114268970A (en) Network capability opening method, equipment and storage medium
US20220159575A1 (en) Method for controlling connection time of terminal, and amf node for performing method
US20210234929A1 (en) Data Check Method, Data Check Apparatus, and Storage Medium
US20170026524A1 (en) Charging method and apparatus
WO2021159415A1 (en) Communication method, apparatus, and system
US20150229744A1 (en) Method and Device for Service Analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination