CN108111320B - Local service charging method, server and charging gateway - Google Patents
Local service charging method, server and charging gateway Download PDFInfo
- Publication number
- CN108111320B CN108111320B CN201611053556.2A CN201611053556A CN108111320B CN 108111320 B CN108111320 B CN 108111320B CN 201611053556 A CN201611053556 A CN 201611053556A CN 108111320 B CN108111320 B CN 108111320B
- Authority
- CN
- China
- Prior art keywords
- local
- service message
- address
- mobile terminal
- charging
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/31—Distributed metering or calculation of charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/66—Policy and charging system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a local service charging method, a server and a charging gateway, which are used for carrying out statistical charging on the flow of a local service. The method comprises the following steps: the charging gateway receives local charging information sent by the MEC server, wherein the local charging information is counted after the MEC server identifies a local service message; determining a mobile terminal executing local service according to the IP address in the local charging information; and adding the local charging information into a ticket of the mobile terminal, and sending the ticket to a charging system to charge the local service of the mobile terminal. The MEC server is adopted to count the local service, and the CG generates a ticket to execute the charging of the local service, so that the local service can be accurately counted and charged.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a local service charging method, an MEC (Mobile Edge Computing) server, and a charging gateway.
Background
In the existing network Architecture, a service platform is deployed behind a core network SAE-GW (System Architecture Evolution Gateway). With the 5G network concept and the service requirement, the service platform may be deployed near the Mobile Edge, that is, local service distribution is completed through a distribution equipment MEC (Mobile Edge Computing). As shown in fig. 1, the MEC server is connected to the base station and the local service server, and is deployed in a network layer near a mobile edge, the MEC server is connected to an EPC (Evolved Packet Core) through a transport network (e.g., a PTN network), and the EPC and the subsequent remote service server are deployed in a higher network layer (e.g., a Core room), where the EPC at least includes: MME (Mobility Management Entity), SGW (Serving Gateway), and PGW (PDN Gateway), which may be collectively referred to as SAE-GW.
In a general network architecture, a charging system counts charging related information through PGWs and SGWs of a core network. However, after the MEC server is introduced into the system structure, the local service does not pass through the core network device any more, so the core network device cannot identify the part of the traffic, and the base station device only maps the air interface bearer to a GTPU (GPRS Tunnel Protocol User Plane, GPRS channel Protocol-User Plane) bearer without configuring a local policy, so that it is not possible to identify the local service or the public network service, and thus a large amount of air interface resources are used for no compensation.
Therefore, one technical problem that those skilled in the art are eagerly solving is that: how to perform statistical charging on the flow of the local service.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a local service charging method, so as to perform statistical charging on the flow of a local service.
Correspondingly, the embodiment of the invention also provides a local service charging device which is used for ensuring the realization and the application of the method.
In order to solve the above problem, the present invention discloses a local service charging method, which is applied in a networking architecture comprising an MEC server and a charging gateway, and the method comprises: the charging gateway receives local charging information sent by the MEC server, wherein the local charging information is counted after the MEC server identifies a local service message; determining a mobile terminal executing local service according to the IP address in the local charging information; and adding the local charging information into a ticket of the mobile terminal, and sending the ticket to a charging system to charge the local service of the mobile terminal.
Optionally, determining, according to the IP address in the local charging information, a mobile terminal that executes a local service, includes: acquiring an IP address and the execution time of a local service from the local charging information, and determining a terminal identifier corresponding to the IP address according to the execution time; and determining the mobile terminal corresponding to the terminal identification as the mobile terminal executing the local service.
Optionally, obtaining an IP address and an execution time of a local service from the local charging information, and determining a terminal identifier corresponding to the IP address according to the execution time includes: acquiring an IP address from the local charging information, and determining a charging information list corresponding to the local charging information; acquiring the starting time and the ending time of the local service from the charging information list, and determining the execution time of the local service by adopting the starting time and the ending time; and searching public network charging information uploaded by a public data gateway according to the execution time, and determining the International Mobile Subscriber Identity (IMSI) corresponding to the IP address.
Optionally, the MEC server and the charging gateway communicate with each other through a Ga interface.
The embodiment of the invention also provides a local service charging method, which is applied to a networking architecture comprising an MEC server and a charging gateway, and the method comprises the following steps: the MEC server identifies the mobile terminal executing the service through monitoring; identifying whether the service message is a local service message or not aiming at the service message corresponding to the mobile terminal; when a local service message corresponding to the mobile terminal is identified, counting the local service message to generate local charging information; and sending the local charging information to a charging gateway so as to charge the local service of the mobile terminal through the charging gateway.
Optionally, identifying, for a service packet corresponding to the mobile terminal, whether the service packet is a local service packet, includes: identifying a destination address of an uplink service message corresponding to the mobile terminal; judging whether the destination address of the uplink service message is the address of a local server; when the destination address is the address of a local server, determining the uplink service message as a local service message; and when the destination address is not the address of the local server, determining that the uplink service message is not the local service message.
Optionally, identifying, for a service packet corresponding to the mobile terminal, whether the service packet is a local service packet, includes: judging whether the downlink service message is a message issued by a local server or not aiming at the downlink service message corresponding to the mobile terminal; when the downlink service message is a message issued by a local server, determining that the downlink service message is a local service message; and when the downlink service message is not a message issued by a local server, determining that the downlink service message is not a local service message.
Optionally, the counting the local service packet to generate local charging information includes: acquiring the IP address of the mobile terminal corresponding to the local service message; recording corresponding start time and end time according to a local service message, and counting data traffic corresponding to the local service message, wherein the data traffic comprises uplink traffic and/or downlink traffic; and generating local charging information according to the IP address, the starting time, the ending time and the data flow.
Optionally, the MEC server and the charging gateway communicate with each other through a Ga interface.
The embodiment of the invention also provides a charging gateway, which is connected with the MEC server, and the charging gateway comprises: a charging receiving module, configured to receive local charging information sent by the MEC server, where the local charging information is counted by the MEC server after recognizing a local service packet; a terminal determining module, configured to determine, according to the IP address in the local charging information, a mobile terminal that executes a local service; and the ticket processing module is used for adding the local charging information into a ticket of the mobile terminal and sending the ticket to a charging system so as to charge the local service of the mobile terminal.
Optionally, the terminal determining module is configured to obtain an IP address and an execution time of a local service from the local charging information, and determine a terminal identifier corresponding to the IP address according to the execution time; and determining the mobile terminal corresponding to the terminal identification as the mobile terminal executing the local service.
Optionally, the terminal determining module includes: the address query submodule is used for acquiring an IP address from the local charging information and determining a charging information list corresponding to the local charging information; the time query submodule is used for acquiring the starting time and the ending time of the local service from the charging information list and determining the execution time of the local service by adopting the starting time and the ending time; and the terminal identification submodule is used for searching public network charging information uploaded by a public data gateway according to the execution time and determining the International Mobile Subscriber Identity (IMSI) corresponding to the IP address.
Optionally, the MEC server and the charging gateway communicate with each other through a Ga interface.
The embodiment of the invention also provides an MEC server, which is connected with the charging gateway, and the method comprises the following steps: the monitoring module is used for identifying the mobile terminal executing the service through monitoring; a message identification module, configured to identify, for a service message corresponding to the mobile terminal, whether the service message is a local service message; the charging statistical module is used for counting the local service message to generate local charging information when the local service message corresponding to the mobile terminal is identified; and the charging sending module is used for sending the local charging information to a charging gateway so as to charge the local service of the mobile terminal through the charging gateway.
Optionally, the packet identifying module includes: an uplink message identification submodule, configured to identify a destination address of an uplink service message corresponding to the mobile terminal; judging whether the destination address of the uplink service message is the address of a local server; when the destination address is the address of a local server, determining the uplink service message as a local service message; and when the destination address is not the address of the local server, determining that the uplink service message is not the local service message.
Optionally, the packet identifying module includes: a downlink message identification submodule, configured to determine, for a downlink service message corresponding to the mobile terminal, whether the downlink service message is a message issued by a local server; when the downlink service message is a message issued by a local server, determining that the downlink service message is a local service message; and when the downlink service message is not a message issued by a local server, determining that the downlink service message is not a local service message.
Optionally, the charging statistics module includes: the address acquisition submodule is used for acquiring the IP address of the mobile terminal corresponding to the local service message; the flow statistics submodule is used for recording corresponding start time and end time according to the local service message and carrying out statistics on data flow corresponding to the local service message, wherein the data flow comprises uplink flow and/or downlink flow; and the charging generation submodule is used for generating local charging information according to the IP address, the starting time, the ending time and the data flow.
Optionally, the MEC server and the charging gateway communicate with each other through a Ga interface.
Compared with the prior art, the embodiment of the invention has the following advantages:
the MEC server is connected with the CG, and the MEC server forwards the local and network services, so that the MEC server is adopted to count the local services to obtain the local, the obtained local charging information is sent to the CG, the CG generates a ticket to execute the charging of the local services, and the local services can be accurately counted and charged.
Drawings
FIG. 1 is a diagram of a networking architecture in the background art;
FIG. 2 is a schematic diagram of an example networking architecture of an embodiment of the invention;
fig. 3 is a flowchart of the MEC server side step of an embodiment of the local service charging method of the present invention;
fig. 4 is a flow chart of CG-side steps of a local service charging method embodiment of the present invention;
fig. 5 is a flowchart of the MEC server side step of another embodiment of the local service charging method of the present invention;
fig. 6 is a flow chart of CG-side steps of another embodiment of the local service charging method of the present invention;
FIG. 7 is a block diagram of a charging gateway embodiment of the present invention;
FIG. 8 is a block diagram of another charging gateway embodiment of the present invention
FIG. 9 is a block diagram of the architecture of an embodiment of an MEC server of the present invention;
fig. 10 is a block diagram of another embodiment of the MEC server of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Since the local service does not pass through the core network any more after the MEC server is added, charging cannot be performed through core network Equipment, and in order to facilitate charging statistics on the local service, the embodiment of the present invention employs an architecture as shown in fig. 2, where the architecture includes a UE (User Equipment), an eNB (evolved node b), the MEC server, a local service server, an MME, an SGW, a PGW, a CG (charging Gateway), a BOSS (charging system), and a remote service server. In order to facilitate statistical charging of local services, a standard Ga interface is used between the MEC and the CG, the MEC server is connected with the CG through a transmission network, and charging related information collected by the MEC equipment is reported to the CG.
Based on the structure, local service charging is carried out based on the MEC server and the CG, wherein the MEC server side comprises the following steps:
referring to fig. 3, a flowchart of the MEC server side step of an embodiment of the local service charging method of the present invention is shown;
And 304, identifying whether the service message is a local service message or not aiming at the service message corresponding to the mobile terminal.
The MEC server monitors S1 signaling and service plane data, thereby identifying the service packet and identifying the IP address of the terminal corresponding to each service data. And identifying whether the service message is a local service message or not aiming at each service message. If yes, identifying a local service message corresponding to the mobile terminal, and executing step 306; if not, identifying that the local service message is not the local service message corresponding to the mobile terminal, and executing a normal processing flow, such as forwarding the service message.
And 308, sending the local charging information to a charging gateway so as to charge the local service of the mobile terminal through the charging gateway.
When the local service message corresponding to the mobile terminal is identified, the data such as the flow corresponding to the local service message are counted to generate local charging information, and then the local charging information is sent to the CG so as to generate a ticket by adopting the CG and charge the local service of the mobile terminal.
The CG side steps are as follows:
referring to fig. 4, a CG-side step flow diagram of a local service charging method embodiment of the present invention is shown.
And the CG receives the local charging information sent by the MEC server, acquires an IP address from the local charging information, identifies the mobile terminal of the local service by adopting the IP address, adds the local charging information into a ticket of the mobile terminal, and sends the ticket to the BOSS for charging, thereby realizing the charging of the local service of the mobile terminal.
In the embodiment, the MEC server is connected with the CG, and the MEC server forwards the local service and the network service, so that the MEC server is adopted to count the local service to obtain the local, the obtained local charging information is sent to the CG, the CG generates a ticket to execute the charging of the local service, and the local service can be accurately counted and charged.
On the basis of the above embodiments, the present embodiment further discusses a process of performing local service charging based on the MEC server and the CG.
Referring to fig. 5, a flowchart of the MEC server side of another embodiment of the local service charging method of the present invention is shown.
The MEC server monitors S1 signaling and service face data, acquires and identifies service messages, identifies IP addresses of terminals corresponding to each service data, and identifies types of the service messages. The MEC server monitors an S1 signaling of the terminal, acquires GTPu tunnel information of the terminal, and acquires an IP address of the terminal from a service message according to the GTPu tunnel information in user plane data. In this embodiment, the service packet may be divided according to uplink and downlink, so that it may be determined that the service packet is an uplink service packet or a downlink service packet. Step 506 is performed for the uplink service packet, and step 514 is performed for the downlink service packet. Step 506, identifying a destination address of the uplink service packet for the uplink service packet corresponding to the mobile terminal.
In this embodiment, for the uplink service, the service packet is sent from the base station to the local server or the core network through the MEC server, and for the local service, the service packet is sent to the local server. Therefore, whether the service message is sent to the local server can be judged according to the shunting rule, that is, the destination address of the uplink service message can be obtained, and then whether the destination address is the address of the local server can be judged, and the address of the local server can be carried in the rule configured in advance. When the destination address is the address of the local server, executing step 512; when the destination address is not the address of the local server, step 514 is performed.
In this embodiment, for the downlink service, the service packet is forwarded to the base station by the core network or the local server through the MEC server, where the core network sends the service packet through the GTPU tunnel. Therefore, whether the downlink service message is a message sent by the local server can be determined according to the source judgment of the downlink service message. If the downlink service message is a message sent by the local server, execute step 512; if the downlink service packet is an intercepted packet from the GTPU tunnel, it is not a packet sent by the local server, and step 514 is executed.
For the uplink service: the destination address is the address of the local server, the uplink service packet is determined to be the local service packet, and step 516 is executed. When the destination address is not the address of the local server, it is determined that the uplink service packet is not the local service packet, and a normal processing procedure may be performed, for example, the uplink service packet is sent to the core network device.
For downlink traffic: when the downlink service packet is a packet sent by the local server, it is determined that the downlink service packet is a local service packet, and step 516 is executed. When the downlink service message is a message intercepted from the GTPU tunnel, the message issued by the public network is a message not issued by the local server, the MEC server can only forward the downlink service message without flow statistics, and the flow of the public network service is counted by the core network equipment.
And 514, acquiring the IP address of the mobile terminal corresponding to the local service message.
And 518, generating local charging information according to the IP address, the starting time, the ending time and the data flow.
Step 520, sending the local charging information to a charging gateway, so as to charge the local service of the mobile terminal through the charging gateway.
The method comprises the steps of counting the uplink and downlink local service messages, acquiring the IP addresses of the mobile terminals corresponding to the local service messages, recording the starting time and the ending time of the corresponding local services according to the local service messages, and counting the data traffic of the local service messages between the starting time and the ending time, wherein the data traffic comprises uplink traffic and/or downlink traffic. The parameters such as the IP address, the start time, the end time, and the data traffic are used to generate local charging information, which may also include other parameters, such as the type and the base station identifier. And then sending the local charging information to a charging gateway so as to charge the local service of the mobile terminal through the charging gateway.
The MEC server reports charging related original information, that is, local charging information, between the CG through the Ga interface, where the local charging information includes a newly added record type MEC-CDR, the MEC-CDR represents local service charging information counted by the MEC server, and the local charging information shown in table 1 includes, but is not limited to, the following parameters:
parameter(s) | Properties (M: optional parameters; O: optional parameters) |
Record type (MEC-CDR) | M |
Type of charge (local service) | M |
Terminal IP address | M |
Enb ip address | O |
Sgw ip address | O |
List of charging information | M |
TABLE 1
The local charging information includes a charging information list, the charging information list has a plurality of records, and main information included in each record is shown in table 2:
TABLE 2
The global identity of the base station refers to global identity of the base station, each base station has a global unique identity at present, and an IP address is a concept on transmission and is unique in a subnet. I.e. global identity of base station Glb id is a concept at S1AP level and IP address is a concept on transport, so a base station can have multiple IPs but only one Glb id.
Therefore, the MEC server reports the local charging information, namely the data of the MEC-CDR ticket type, to the CG through the Ga interface, and the CG carries out charging statistics, and the specific steps are as follows:
referring to fig. 6, a CG-side step flow diagram of another embodiment of the local service charging method of the present invention is shown.
And the CG receives the local charging information sent by the MEC server, acquires the IP address and the execution time of the local service from the local charging information, determines the terminal identification corresponding to the IP address in the execution time of the local service, and determines the mobile terminal corresponding to the terminal identification as the mobile terminal executing the local service, namely uniquely determines the mobile terminal corresponding to the local charging information.
In an optional embodiment of the present application, acquiring an IP address and an execution time of a local service from the local charging information, and determining a terminal identifier corresponding to the IP address according to the execution time includes: acquiring an IP address from the local charging information, and determining a charging information list corresponding to the local charging information; acquiring the starting time and the ending time of the local service from the charging information list, and determining the execution time of the local service by adopting the starting time and the ending time; and searching public network charging information uploaded by the PGW according to the execution time, and determining the IMSI (International Mobile Subscriber identity) corresponding to the IP address.
The MEC-CDR has no IMSI information of the user, only has the IP address of the user, and the IP address is possibly changed after the terminal is detached every time and reattached, so the IP address cannot be used as the unique identifier of the terminal, the IMSI of the terminal is not changed, if the IP address is not matched with the IMSI, the terminal cannot be accurately charged, and the IP address can be used for being associated with the IMSI. Usually, the mobile network is closed, and the IP address is allocated by the core network, so the core network may store the association relationship between the IP address and the IMSI. Specifically, after the terminal is attached and before the terminal is detached, the IP address allocated to the terminal by the core network is not changed, so that the IMSI can be determined by inquiring the correspondence between the UE IP and the IMSI according to time.
The IP address is obtained from the local charging information, then a charging information list corresponding to the local charging information is searched, the starting time and the ending time of the local service are obtained from the charging information list, and the difference value of the starting time and the ending time is used as the execution time of the local service. And searching public network charging information (PGW-CDR) uploaded by the PGW according to the execution time, acquiring the corresponding relation between the UE IP and the IMSI from the PGW-CDR, and determining the corresponding IMSI so as to uniquely determine the mobile terminal executing the local service.
Then adding the local charging information into the call ticket of the mobile terminal, and sending the call ticket to the BOSS system, so that the BOSS system distinguishes local flow from the call ticket reported by CG, and charges the flow according to the charging rule of the local flow.
In the embodiment of the invention, the system architecture is changed, namely, an interface between the MEC and the CG is increased, local flow statistics based on the UE IP is carried out on the MEC, the CG searches the corresponding IMSI according to the UE IP and the time period, the local flow reported by the MEC is added into the original ticket of the terminal, and the BOSS generates the ticket according to the local flow and the specific charging rule, thereby effectively solving the charging problem of the user flow after the local shunt equipment is deployed.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
On the basis of the foregoing embodiment, in the networking architecture provided in the embodiment of the present application, the MEC server and the charging gateway communicate with each other through a Ga interface, and the charging gateway CG and the MEC server include the following modules:
referring to fig. 7, a block diagram of a charging gateway according to an embodiment of the present invention is shown, which may specifically include the following modules:
a charging receiving module 702, configured to receive local charging information sent by the MEC server, where the local charging information is counted by the MEC server after recognizing the local service packet.
A terminal determining module 704, configured to determine, according to the IP address in the local charging information, a mobile terminal that executes a local service.
And a ticket processing module 706, configured to add the local charging information to a ticket of the mobile terminal, and send the ticket to a charging system to charge a local service of the mobile terminal.
In the embodiment, the MEC server is connected with the CG, and the MEC server forwards the local service and the network service, so that the MEC server is adopted to count the local service to obtain the local, the obtained local charging information is sent to the CG, the CG generates a ticket to execute the charging of the local service, and the local service can be accurately counted and charged.
The terminal determining module 704 is configured to obtain an IP address and an execution time of a local service from the local charging information, and determine a terminal identifier corresponding to the IP address according to the execution time; and determining the mobile terminal corresponding to the terminal identification as the mobile terminal executing the local service.
As shown in fig. 8, the terminal determining module 704 includes:
and the address query submodule 7042 is configured to obtain an IP address from the local charging information, and determine a charging information list corresponding to the local charging information.
And the time query sub-module 7044 is configured to obtain the start time and the end time of the local service from the charging information list, and determine the execution time of the local service by using the start time and the end time.
And the terminal identification submodule 7046 is configured to search the public network charging information uploaded by the public data gateway according to the execution time, and determine the international mobile subscriber identity IMSI corresponding to the IP address.
Referring to fig. 9, a block diagram of a structure of an embodiment of an MEC server of the present invention is shown, which may specifically include the following modules:
and an interception module 902, configured to identify a mobile terminal executing a service through interception.
A message identifying module 904, configured to identify, for a service message corresponding to the mobile terminal, whether the service message is a local service message.
A charging statistics module 906, configured to, when a local service packet corresponding to the mobile terminal is identified, count the local service packet to generate local charging information.
A charging sending module 908, configured to send the local charging information to a charging gateway, so as to charge the local service of the mobile terminal through the charging gateway.
Referring to fig. 10, a block diagram of another embodiment of the MEC server of the present invention is shown, and specifically, the block diagram may include the following modules:
the message identification module 904 includes:
the uplink message identification sub-module 9042 is configured to identify a destination address of the uplink service message, for the uplink service message corresponding to the mobile terminal; judging whether the destination address of the uplink service message is the address of a local server; when the destination address is the address of a local server, determining the uplink service message as a local service message; and when the destination address is not the address of the local server, determining that the uplink service message is not the local service message.
A downlink message identification sub-module 9044, configured to determine, for a downlink service message corresponding to the mobile terminal, whether the downlink service message is a message sent by a local server; when the downlink service message is a message issued by a local server, determining that the downlink service message is a local service message; and when the downlink service message is not a message issued by a local server, determining that the downlink service message is not a local service message.
The billing statistics module 906 includes:
and the address obtaining submodule 9062 is configured to obtain an IP address of the mobile terminal corresponding to the local service packet.
And the flow statistics sub-module 9064 is configured to record a corresponding start time and an end time according to the local service packet, and perform statistics on data flow corresponding to the local service packet, where the data flow includes uplink flow and/or downlink flow.
And the charging generation submodule 9066 is configured to generate local charging information according to the IP address, the start time, the end time, and the data traffic.
In the embodiment of the invention, the system architecture is changed, namely, an interface between the MEC and the CG is increased, local flow statistics based on the UE IP is carried out on the MEC, the CG searches the corresponding IMSI according to the UE IP and the time period, the local flow reported by the MEC is added into the original ticket of the terminal, and the BOSS generates the ticket according to the local flow and the specific charging rule, thereby effectively solving the charging problem of the user flow after the local shunt equipment is deployed.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The local service charging method, the MEC server and the charging gateway provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (14)
1. A local service charging method is applied to a networking architecture comprising an MEC server and a charging gateway, and the method comprises the following steps:
the charging gateway receives local charging information sent by the MEC server, wherein the local charging information is counted after the MEC server identifies a local service message;
wherein, the local service message is determined according to the following mode:
aiming at an uplink service message corresponding to a mobile terminal, when the destination address of the uplink service message is the address of a local server, determining that the uplink service message is the local service message; aiming at a downlink service message corresponding to the mobile terminal, when the downlink service message is a message issued by a local server, determining the downlink service message as the local service message; determining a mobile terminal executing local service according to the IP address in the local charging information;
adding the local charging information into a ticket of the mobile terminal, and sending the ticket to a charging system to charge the local service of the mobile terminal;
wherein, the determining the mobile terminal executing the local service according to the IP address in the local charging information includes:
acquiring an IP address and the execution time of a local service from the local charging information, and determining a terminal identifier corresponding to the IP address according to the execution time;
and determining the mobile terminal corresponding to the terminal identification as the mobile terminal executing the local service.
2. The method of claim 1, wherein obtaining an IP address and an execution time of a local service from the local charging information, and determining a terminal identifier corresponding to the IP address according to the execution time comprises:
acquiring an IP address from the local charging information, and determining a charging information list corresponding to the local charging information;
acquiring the starting time and the ending time of the local service from the charging information list, and determining the execution time of the local service by adopting the starting time and the ending time;
and searching public network charging information uploaded by a public data gateway according to the execution time, and determining the International Mobile Subscriber Identity (IMSI) corresponding to the IP address.
3. Method according to any of claims 1-2, wherein the MEC server and the billing gateway communicate via a Ga interface.
4. A local service charging method is applied to a networking architecture comprising an MEC server and a charging gateway, and the method comprises the following steps:
the MEC server identifies the mobile terminal executing the service through monitoring;
identifying whether the service message is a local service message or not aiming at the service message corresponding to the mobile terminal; when a local service message corresponding to the mobile terminal is identified, counting the local service message to generate local charging information;
wherein, the local service message is determined according to the following mode:
aiming at an uplink service message corresponding to the mobile terminal, when the destination address of the uplink service message is the address of a local server, determining that the uplink service message is the local service message; aiming at a downlink service message corresponding to the mobile terminal, when the downlink service message is a message issued by a local server, determining the downlink service message as the local service message; sending the local charging information to a charging gateway so as to charge the local service of the mobile terminal through the charging gateway;
counting the local service message to generate local charging information, including:
acquiring the IP address of the mobile terminal corresponding to the local service message;
recording corresponding start time and end time according to a local service message, and counting data traffic corresponding to the local service message, wherein the data traffic comprises uplink traffic and/or downlink traffic;
and generating local charging information according to the IP address, the starting time, the ending time and the data flow.
5. The method according to claim 4, wherein identifying whether the service packet is a local service packet for the service packet corresponding to the mobile terminal comprises:
identifying a destination address of an uplink service message corresponding to the mobile terminal;
judging whether the destination address of the uplink service message is the address of a local server;
when the destination address is the address of a local server, determining the uplink service message as a local service message;
and when the destination address is not the address of the local server, determining that the uplink service message is not the local service message.
6. The method according to claim 4, wherein identifying whether the service packet is a local service packet for the service packet corresponding to the mobile terminal comprises:
judging whether the downlink service message is a message issued by a local server or not aiming at the downlink service message corresponding to the mobile terminal;
when the downlink service message is a message issued by a local server, determining that the downlink service message is a local service message;
and when the downlink service message is not a message issued by a local server, determining that the downlink service message is not a local service message.
7. Method according to any of claims 4-6, wherein said MEC server and billing gateway communicate via Ga interface.
8. A charging gateway, wherein the charging gateway is connected to an MEC server, and wherein the charging gateway comprises:
a charging receiving module, configured to receive local charging information sent by the MEC server, where the local charging information is counted by the MEC server after recognizing a local service packet;
wherein, the local service message is determined according to the following mode:
aiming at an uplink service message corresponding to a mobile terminal, when the destination address of the uplink service message is the address of a local server, determining that the uplink service message is the local service message; aiming at a downlink service message corresponding to the mobile terminal, when the downlink service message is a message issued by a local server, determining the downlink service message as the local service message;
a terminal determining module, configured to determine, according to the IP address in the local charging information, a mobile terminal that executes a local service, specifically, to obtain the IP address and an execution time of the local service from the local charging information, and determine, according to the execution time, a terminal identifier corresponding to the IP address;
determining the mobile terminal corresponding to the terminal identification as a mobile terminal executing local services;
and the ticket processing module is used for adding the local charging information into a ticket of the mobile terminal and sending the ticket to a charging system so as to charge the local service of the mobile terminal.
9. The billing gateway of claim 8, wherein the terminal determining module comprises:
the address query submodule is used for acquiring an IP address from the local charging information and determining a charging information list corresponding to the local charging information;
the time query submodule is used for acquiring the starting time and the ending time of the local service from the charging information list and determining the execution time of the local service by adopting the starting time and the ending time;
and the terminal identification submodule is used for searching public network charging information uploaded by a public data gateway according to the execution time and determining the International Mobile Subscriber Identity (IMSI) corresponding to the IP address.
10. A charging gateway according to any of claims 8-9, characterized in that the MEC server and the charging gateway communicate via a Ga interface.
11. An MEC server, wherein said MEC server is connected to a billing gateway, said MEC server comprising:
the monitoring module is used for identifying the mobile terminal executing the service through monitoring;
a message identification module, configured to identify, for a service message corresponding to the mobile terminal, whether the service message is a local service message;
wherein, the local service message is determined according to the following mode:
aiming at an uplink service message corresponding to the mobile terminal, when the destination address of the uplink service message is the address of a local server, determining that the uplink service message is the local service message; aiming at a downlink service message corresponding to the mobile terminal, when the downlink service message is a message issued by a local server, determining the downlink service message as the local service message;
the charging statistical module is used for counting the local service message to generate local charging information when the local service message corresponding to the mobile terminal is identified;
the charging sending module is used for sending the local charging information to a charging gateway so as to charge the local service of the mobile terminal through the charging gateway;
the charging statistic module comprises:
the address acquisition submodule is used for acquiring the IP address of the mobile terminal corresponding to the local service message;
the flow statistics submodule is used for recording corresponding start time and end time according to the local service message and carrying out statistics on data flow corresponding to the local service message, wherein the data flow comprises uplink flow and/or downlink flow;
and the charging generation submodule is used for generating local charging information according to the IP address, the starting time, the ending time and the data flow.
12. The MEC server of claim 11, wherein the packet identifying module comprises:
an uplink message identification submodule, configured to identify a destination address of an uplink service message corresponding to the mobile terminal; judging whether the destination address of the uplink service message is the address of a local server; when the destination address is the address of a local server, determining the uplink service message as a local service message; and when the destination address is not the address of the local server, determining that the uplink service message is not the local service message.
13. The MEC server of claim 11, wherein the packet identifying module comprises:
a downlink message identification submodule, configured to determine, for a downlink service message corresponding to the mobile terminal, whether the downlink service message is a message issued by a local server; when the downlink service message is a message issued by a local server, determining that the downlink service message is a local service message; and when the downlink service message is not a message issued by a local server, determining that the downlink service message is not a local service message.
14. An MEC server according to any of claims 11-13, wherein said MEC server communicates with a billing gateway via a Ga interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611053556.2A CN108111320B (en) | 2016-11-24 | 2016-11-24 | Local service charging method, server and charging gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611053556.2A CN108111320B (en) | 2016-11-24 | 2016-11-24 | Local service charging method, server and charging gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108111320A CN108111320A (en) | 2018-06-01 |
CN108111320B true CN108111320B (en) | 2020-12-04 |
Family
ID=62204177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611053556.2A Active CN108111320B (en) | 2016-11-24 | 2016-11-24 | Local service charging method, server and charging gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111320B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740430B (en) * | 2018-07-20 | 2020-11-03 | 维沃移动通信有限公司 | Resource charging method and system, AF (automatic frequency control) and policy and charging function entity |
CN110839233B (en) * | 2018-08-17 | 2022-06-17 | 中国电信股份有限公司 | Flow statistical method, device and computer readable storage medium |
CN111163532B (en) * | 2018-11-08 | 2022-05-10 | 中国电信股份有限公司 | Method for establishing special bearing and mobile edge computing equipment |
CN114143731A (en) * | 2019-04-11 | 2022-03-04 | 华为技术有限公司 | Resource charging method, MEC management system and MEC host |
CN112910662B (en) * | 2019-11-19 | 2023-03-21 | 中移雄安信息通信科技有限公司 | Method, device and medium for reporting and receiving and reporting traffic information |
CN111416720B (en) * | 2020-02-28 | 2022-04-01 | 新华三技术有限公司合肥分公司 | Intelligent target charging and intelligent target charging configuration method and device |
CN114079637B (en) * | 2020-08-04 | 2023-10-27 | 中国移动通信集团重庆有限公司 | Service processing method and system based on mobile edge calculation |
CN114826976B (en) * | 2022-04-13 | 2023-12-05 | 京东科技信息技术有限公司 | Statistical method and device for uplink flow data based on edge computing service |
CN116684837B (en) * | 2023-07-19 | 2023-10-03 | 贵阳朗玛通信科技有限公司 | Billing preprocessing method and device for ticket |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237332A (en) * | 2008-02-29 | 2008-08-06 | 福建星网锐捷网络有限公司 | Billing method, billing system and traffic statistical device |
CN102202281A (en) * | 2010-03-24 | 2011-09-28 | 中兴通讯股份有限公司 | Ticket processing method and system |
CN102420873A (en) * | 2011-12-06 | 2012-04-18 | 肇庆全商联盟信息科技有限公司 | Compound network brand new cloud application platform |
CN103430516A (en) * | 2013-02-21 | 2013-12-04 | 华为技术有限公司 | Business providing system and method,mobile edge application server and support node thereof |
WO2013178113A1 (en) * | 2012-08-21 | 2013-12-05 | 中兴通讯股份有限公司 | Method and device for charging local traffic on wireless side |
-
2016
- 2016-11-24 CN CN201611053556.2A patent/CN108111320B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237332A (en) * | 2008-02-29 | 2008-08-06 | 福建星网锐捷网络有限公司 | Billing method, billing system and traffic statistical device |
CN102202281A (en) * | 2010-03-24 | 2011-09-28 | 中兴通讯股份有限公司 | Ticket processing method and system |
CN102420873A (en) * | 2011-12-06 | 2012-04-18 | 肇庆全商联盟信息科技有限公司 | Compound network brand new cloud application platform |
WO2013178113A1 (en) * | 2012-08-21 | 2013-12-05 | 中兴通讯股份有限公司 | Method and device for charging local traffic on wireless side |
CN103634774A (en) * | 2012-08-21 | 2014-03-12 | 中兴通讯股份有限公司 | A method and an apparatus for carrying out charging on a local flux of a wireless side |
CN103430516A (en) * | 2013-02-21 | 2013-12-04 | 华为技术有限公司 | Business providing system and method,mobile edge application server and support node thereof |
Also Published As
Publication number | Publication date |
---|---|
CN108111320A (en) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111320B (en) | Local service charging method, server and charging gateway | |
CN110225574B (en) | Communication system and communication method | |
WO2017088501A1 (en) | Charging method and device | |
EP3410773A1 (en) | Method, device and system for realizing mobile edge computing service | |
US10992769B2 (en) | Data transmission method, apparatus and system | |
US9590812B2 (en) | Method and device for charging local traffic on wireless side | |
CN104486743A (en) | Method for user information correlation of XDR (external data representation) data of interfaces of core network | |
CN102404858A (en) | Radio resource optimizing method, device and system | |
US10313872B2 (en) | IMSI acquisition method and device, and signaling monitoring system | |
EP2846566A1 (en) | Method and device for charging local traffic on wireless side | |
US20150063113A1 (en) | Traffic control method and traffic control apparatus | |
CN111182531B (en) | Associated information backfilling method, device, equipment and storage medium | |
US10348678B2 (en) | Network device and method for allocating access point name | |
US20200220602A1 (en) | Communication method and communications device thereof | |
CN102111741A (en) | Charging implement method and device | |
CN114302259A (en) | User information collection method, device, equipment and computer readable storage medium | |
CN105429936A (en) | Defense method and apparatus of malicious occupation of storage resources in private network router | |
CN111277552B (en) | Method, device and storage medium for identifying direct signaling security threat | |
RU2696950C1 (en) | Method and system for processing bearer channel and associated device | |
CN114268970A (en) | Network capability opening method, equipment and storage medium | |
EP3756323B1 (en) | Fraudelent subscription detection | |
JPWO2013161278A1 (en) | Service providing system, gateway device, information collecting method, and program | |
CN109391913B (en) | NB-IoT (NB-IoT) network resource slice management method and system | |
CN113938814B (en) | Service scheduling method, UPF, system and medium of content distribution network | |
Lutu et al. | Insights from operating an IP exchange provider |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230221 Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd. Patentee after: CITIC Mobile Communication Technology Co.,Ltd. Address before: No.29 Xueyuan Road, Haidian District, Beijing 100191 Patentee before: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd. |