CN112020025A - Online charging message access layer authorization and call ticket instantiation method and device - Google Patents

Online charging message access layer authorization and call ticket instantiation method and device Download PDF

Info

Publication number
CN112020025A
CN112020025A CN201910465146.6A CN201910465146A CN112020025A CN 112020025 A CN112020025 A CN 112020025A CN 201910465146 A CN201910465146 A CN 201910465146A CN 112020025 A CN112020025 A CN 112020025A
Authority
CN
China
Prior art keywords
user
message
quota
online charging
ggsn
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.)
Granted
Application number
CN201910465146.6A
Other languages
Chinese (zh)
Other versions
CN112020025B (en
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 Mobile Communications Group Co Ltd
China Mobile Group Ningxia Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Ningxia Co 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 Mobile Communications Group Co Ltd, China Mobile Group Ningxia Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910465146.6A priority Critical patent/CN112020025B/en
Publication of CN112020025A publication Critical patent/CN112020025A/en
Application granted granted Critical
Publication of CN112020025B publication Critical patent/CN112020025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1485Tariff-related aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a device for authorizing an online charging message access layer and instantiating a call ticket, wherein the method comprises the following steps: triggering online charging processing according to a Packet Data Protocol (PDP) context creation request of a user; receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/a data gateway P-GW and carries connection establishment, and determining a flow quota for distribution according to the available state of a message processing layer; monitoring a data stream used by a user, receiving reported used flow quota as a session and storing the session in a cache when the data stream used by the user meets a reapplication condition compared with the flow quota, and determining the flow quota again for distribution until a CCR message carrying termination information sent by GGSN/P-GW is received; and combining the plurality of sessions in the cache, and instantiating the call ticket.

Description

Online charging message access layer authorization and call ticket instantiation method and device
Technical Field
The invention relates to the technical field of data service, in particular to a method and a device for online charging message access layer authorization and call ticket instantiation.
Background
With the development of speed-increasing and cost-reducing work of telecommunication operators, mobile communication data services are growing explosively, a large number of service requests put high resource demands on a BOSS (service Support System), and each year, the investment of network element devices such as GGSN (Gateway general packet radio service Support Node), Gateway GPRS Support Node/P-GW (data Gateway, PDN Gateway) and the like, and OCS (Online Charging System) processing clusters, network transmission and storage devices is increased year by year, and the investment is a heavy burden of the operators. In order to meet the demand of hardware resources rapidly rising year by year, reduce the hardware investment pressure and provide a hardware equipment deployment idea for 'IOE' for various telecom operators in the aspect of a basic platform, expensive small computers, centralized storage and an Oracle database are replaced by cheap X86 equipment, distributed storage and an open source relational database, and a dynamic authorization scheme relying on an online charging system is a better idea for solving the problem of overlarge resource occupation in the aspects of business and software.
The online charging is to carry out resource authorization, connection release, real-time settlement and credit control through Diameter message interaction, thereby well solving the problems of high time delay, high defaulting and other service operation short boards caused by the traditional offline ticket charging mode, and greatly improving the efficiency in the aspects of pricing, closing accounts, credit control, reminding and the like. The online charging can dynamically and flexibly reduce the number of messages reported by GGSN/P-GW (Credit-Control-Request) according to factors such as user fee package, residual resource amount, Internet access rate, etc. by adjusting the authorization amount or specifying the message reporting reason by CCA (Credit-Control-Answer), etc., thereby greatly reducing the requirements of CPU, memory, storage and network transmission. However, the service support system needs to adapt to the evolution of the service marketing mode, the version upgrading and reconstruction frequency is high, and each time the rear end of the service support system is cut off and upgraded, the common method is to terminate the message receiving and processing process at the rear end of the service support system, and after the message access layer of the service support system does not respond to the detection message processing layer, the message access layer of the service support system can carry a 3002 abnormal return code on the Command layer of the CCA, so as to indicate that the GGSN/P-GW changes to the offline Charging flow, and the basis of the Charging flows such as pricing, reminding, and signal control is that a CG (Charging Gateway) issues an offline ticket, so that the problems of high arrearage and high time delay caused by offline Charging cannot be solved. When a session needs to be switched from offline to online, the GGSN/P-GW deletes the PDP connection of the user only by waiting for the user to actively initiate the PDP (Packet Data Protocol) connection reestablishment (such as shutdown or flight mode), or the user stops using the service beyond the IDLE threshold, the whole process takes a long time, and the normal online rate can be gradually recovered after several days or even one week. The problem that the customer perception is seriously influenced by high arrearage, excessive charge, reminding delay and the like caused by the fact that the user data service in the large-area service area is switched off is solved, the dynamic authorization capability of online charging is lost, an offline call ticket can only be issued by a fixed call ticket cutting threshold (usually 10M/20M in time is 1800 seconds and other experience values), the number of the call tickets cannot be effectively reduced, the time for replanting the call tickets after the call ticket cutting and upgrading is finished is too long, and the income guarantee and the customer perception are seriously influenced.
Therefore, how to ensure that the user charging session is online when the rear end of the support system is cut over and upgraded, and adjust the number of messages or call tickets in a reasonable manner, so as to accelerate the processing efficiency of the system, meet the normal development of services, reduce the income loss and poor customer perception caused by the cut-over window, and is a problem to be solved by the current telecom operators.
Disclosure of Invention
In view of the above, the present invention is proposed to provide an online charging message access stratum authorization and ticket instantiation method and apparatus that overcome the above problems or at least partially solve the above problems.
According to one aspect of the present invention, there is provided an online charging message access layer authorization and ticket instantiation method, comprising:
triggering online charging processing according to a Packet Data Protocol (PDP) context creation request of a user;
receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/a data gateway P-GW and carries connection establishment, and determining a flow quota for distribution according to the available state of a message processing layer;
monitoring a data stream used by a user, receiving reported used flow quota as a session and storing the session in a cache when the data stream used by the user meets a reapplication condition compared with the flow quota, and determining the flow quota again for distribution until a CCR message carrying termination information sent by GGSN/P-GW is received;
and combining the plurality of sessions in the cache, and instantiating the call ticket.
According to another aspect of the present invention, there is provided an online charging message access layer authorization and ticket instantiation apparatus, comprising:
the request module is suitable for creating a request according to a Packet Data Protocol (PDP) context of a user and triggering online charging processing;
the distribution module is suitable for receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/data gateway P-GW and carries the connection establishment, and determining the flow quota for distribution according to the available state of a message processing layer;
the reallocation module is suitable for monitoring the data stream used by the user, receiving the reported used flow quota as a session to be stored in a cache when the data stream used by the user meets the reapplication condition compared with the flow quota, and determining the flow quota again to allocate until receiving a CCR message which is sent by GGSN/P-GW and carries termination information;
and the merging module is suitable for merging the plurality of sessions in the cache and instantiating the call ticket.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the online charging message access layer authorization and call ticket instantiation method.
According to another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the above online charging message access stratum authorization and ticket instantiation method.
According to the online charging message access layer authorization and call ticket instantiation method and device, online charging processing is triggered according to a Packet Data Protocol (PDP) context creation request of a user; receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/a data gateway P-GW and carries connection establishment, and determining a flow quota for distribution according to the available state of a message processing layer; monitoring a data stream used by a user, receiving reported used flow quota as a session and storing the session in a cache when the data stream used by the user meets a reapplication condition compared with the flow quota, and determining the flow quota again for distribution until a CCR message carrying termination information sent by GGSN/P-GW is received; and combining the plurality of sessions in the cache, and instantiating the call ticket. The invention can effectively reduce arrearage, improve prompt and signal control timeliness, greatly reduce the utilization rate of system resources, and has obvious effect on the investment of a compression BOSS system, network element equipment and transmission equipment.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating a method for access stratum authorization and ticket instantiation for online charging messages, according to an embodiment of the invention;
FIG. 2 is a flow diagram illustrating a method for access stratum authorization and ticket instantiation for online charging messages according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating information interaction between GGSN/P-GW and message access layer according to the present invention;
FIG. 4 shows a functional block diagram of an online charging message access layer authorization and ticket instantiation apparatus according to an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flowchart of an online charging message access layer authorization and ticket instantiation method according to an embodiment of the invention. As shown in fig. 1, the method for authorizing the access layer of the online charging message and instantiating the call ticket specifically includes the following steps:
step S101, according to the packet data protocol PDP context creation request of the user, triggering the online charging process.
When a user needs to use a user terminal to connect to the network or use network traffic data, a PDP context creation request is sent. Specifically, the user terminal sends a PDP context creation request to the gateway gprs support node GGSN/data gateway P-GW. After receiving a PDP context creation request of a user, the method can correspondingly trigger the online charging processing of the user so as to calculate the flow data used by the user and facilitate the subsequent generation of call tickets and the like.
Step S102, receiving a credit control request CCR message carrying connection establishment sent by a gateway general packet radio service support node GGSN/data gateway P-GW, and determining a flow quota for distribution according to the availability state of a message processing layer.
The business support system BOSS includes many layers, such as a message access layer, a message processing layer, and the like. The message access layer of the BOSS can receive various CCR messages sent by a gateway GPRS support node GGSN/P-GW, and carry out corresponding processing according to the CCR messages. When GGSN/P-GW creates request according to PDP context of user, after triggering on-line charging process, GGSN/P-GW sends CCR message carrying connection establishment to message access layer. The CC-Request-Type value in the CCR message (CCR-Initial message) may be set to e.g. INITIAL _ REQUEST for establishing a DCC connection. Further, a rate group quota corresponding to the application of non-content charging (for example, the rate group quota is set to n) may be set in the CCR message, and a Requested-Service-unit (rsu) field in the MSCC AVP may be set to null, and the like. GGSN/P-GW can flexibly configure CCR message, such as setting whether to apply quota in CCR message and applying rate group of quota.
For the message processing layer, in the prior art, when the BOSS system is upgraded, the message processing layer cannot carry service processing, and after the message access layer detects that the message processing layer has no response, the message access layer returns a 3002 abnormal return code to instruct the GGSN/P-GW to switch to offline charging. In view of the above problems, in the embodiment, after the message access layer receives the CCR message carrying the connection establishment credit control request sent by the GGSN/P-GW, it is first determined whether the available state of the message processing layer is unavailable; namely, whether the BOSS system is upgrading is judged, and if the available state of the message processing layer is unavailable, namely the BOSS system is upgrading and user information which cannot be acquired is obtained, the flow quota is determined to be a preset fixed value. Rather than returning the exception return code directly, online charging can be performed using the traffic quota. The flow quota is a quota reserved for the user in advance, and comprises a current flow quota application value and a current time quota application value. The preset fixed value of the current flow quota application value may be, for example, 50M, and the current time quota application value may be, for example, 5 minutes, and the like.
Step S103, monitoring the data flow used by the user, when the data flow used by the user meets the reapplication condition compared with the flow quota, receiving the reported used flow quota as a session and storing the session in a cache, and determining the flow quota again for distribution until receiving the CCR message which is sent by GGSN/P-GW and carries the termination information.
When the data stream used by the user is compared with the allocated flow quota and the reapplication condition is met, the flow quota needs to be allocated to the user again. Specifically, when the flow value of the data stream used by the user this time reaches a preset threshold of the current flow quota application value (for example, 80% of the current flow quota application value, which is described above as an example and is not limited here), or when the usage time of the flow quota used by the user this time exceeds the current time quota application value, the re-application condition is satisfied. And the GGSN/P-GW sends the CCR message of the quota request to the message processing layer again, and the message access layer determines the flow quota for the user again. The re-determined flow quota may use the same preset fixed value as the first-determined flow quota, or may use a different preset fixed value according to the number of times of re-requests, which is not limited herein. Furthermore, besides determining the flow quota again to be allocated by the message access layer, the used flow quota reported by the GGSN/P-GW needs to be received and stored in the cache as the information of the session, so as to facilitate the subsequent combination processing of the used flow quota and reduce the problem that a large amount of ticket data is generated by instantiating the ticket in a single session.
The step can continuously monitor the data stream generated by the user, when the data stream generated by the user and the distributed flow quota meet the reapplication condition each time, the message access layer is required to determine the flow quota again for distribution, and the repeated execution is carried out until the message access layer receives the CCR message which is sent by the GGSN/P-GW and carries the termination information, and the flow quota distribution is not continued any more
And step S104, combining the plurality of sessions in the cache and instantiating the call ticket.
After the message access layer receives the CCR message which is sent by GGSN/P-GW and carries the termination information, the message access layer combines a plurality of sessions which are stored in the cache, instantiates a ticket for the combined session, namely writes the combined session into a ticket file, and completes the online charging.
According to the online charging message access layer authorization and call ticket instantiation method provided by the invention, the defaulting can be effectively reduced, the reminding and the signal control timeliness are improved, the utilization rate of system resources is greatly reduced, and the method has a remarkable effect on the compression of the investment of a BOSS system, network element equipment and transmission equipment.
Fig. 2 shows a flowchart of an online charging message access stratum authorization and ticket instantiation method according to another embodiment of the present invention. As shown in fig. 2, the method for authorizing the access layer of the online charging message and instantiating the call ticket specifically includes the following steps:
step S201, receiving the packet data protocol PDP context creation request of the user through the gateway GPRS support node GGSN/data gateway P-GW.
When a user terminal, such as a mobile phone, a pad, and other wireless network mobile devices, needs to access a network and use mobile data, such as traffic, it sends a PDP context creation request to establish a network connection, which is convenient for a subsequent user terminal to use data, such as traffic. The GGSNs mainly correspond to 2G and 3G networks and the P-GWs mainly correspond to 4G networks or 5G networks (and subsequent network levels). A packet data protocol PDP context creation request for the user may be received by the GGSN/P-GW. In addition to the PDP context creation request sent by the user terminal, a user default bearer creation request may also be sent. In this embodiment, a PDP context creation request is taken as an example for explanation, and for the processing of the user default bearer creation request, the PDP context creation request may be referred to for corresponding processing, which is not described herein.
In connection with the flow chart shown in fig. 3, the user terminal sends a PDP context creation request to the GGSN/P-GW.
Step S202, according to the PDP context creation request, the online charging process is triggered.
After the GGSN/P-GW receives the PDP context creation request, the GGSN/P-GW judges according to the charging characteristic field carried by the PDP context creation request, wherein the charging characteristic field is, for example, ChargingCharacteristics, which records whether the user is a real-time charging user, if the user is judged to be the real-time charging user, the online charging processing is triggered, and the data used by the user is charged online by using the BOSS. And if the user is judged to be a non-real-time charging user, processing the user according to normal offline charging.
Referring to the flowchart shown in fig. 3, after the GGSN/P-GW determines the real-time charging user, the online charging process is triggered.
Step S203, receiving the message access layer of the gateway GPRS support node GGSN/data gateway P-GW to send the message carrying the credit control request CCR message for establishing the connection to the business support system BOSS, and determining the flow quota for distribution by the message access layer according to the available state of the message processing layer.
After the GGSN/P-GW determines that the user is a real-time charging user, the GGSN/P-GW sends a CCR message to a message access layer of the service support system BOSS, and the specific content of the CCR message (CCR-Initial message) refers to the description in step S102, which is not described herein again.
After receiving a credit control request CCR message carrying connection establishment sent by GGSN/P-GW, a message access layer firstly judges whether the available state of a message processing layer is unavailable or not; namely, whether the BOSS system is upgrading is judged, and if the available state of the message processing layer is unavailable, namely the BOSS system is upgrading and user information which cannot be acquired is obtained, the flow quota is determined to be a preset fixed value. Rather than returning the exception return code directly, online charging can be performed using the traffic quota. If the available state of the message processing layer is available, the flow quota can be determined according to the user information. The user information comprises user package information, a user flow residual value, a user balance and the like, and can be acquired through the message processing layer. And determining the flow quota according to the actual user information, and directly carrying out online charging on the flow quota.
With reference to the flowchart shown in fig. 3, that is, the GGSN/P-GW sends a CCR message to the message access layer to establish a connection, the message access layer determines whether the message processing layer is in an unavailable state, and when the message processing layer is in an unavailable state, the message access layer traffic quota is a preset fixed value. A CCA message is answered with credit control. If the CCR message sent by the GGSN/P-GW to the message access layer does not include the service request unit RSU field, the Result Code of Command level in the CCA message sent by the BOSS is 2001, and if the CCR message sent by the GGSN/P-GW to the message access layer includes the RSU field, the Result codes of Command level and MSCC level in the CCA message sent by the BOSS are 2001. The CCA message includes Granted-Service-Unit AVP(s) allocated flow quota, the flow quota is issued by CC-Total-Octets AVP, and quotas allocated by GSU (Granted-Service-Unit, current flow quota application value) and VT (current Time quota application value, Validity-Time) are preset fixed values. VQT (Volume-quote-Threshold of the current flow Quota application value) can also be a preset fixed value.
Step S204, GGSN/P-GW authorizes the user terminal to use the service, and sends PDP context creation response.
As shown in fig. 3, after receiving the CCA message, the GGSN/P-GW may authorize the user terminal to send a PDP context response message or a default bearer creation response message using the corresponding data service. The user can use the allocated traffic quota to generate a data stream.
Step S205, monitoring the data flow used by the user, when the data flow used by the user meets the reapplication condition compared with the flow quota, sending a credit control request CCR message to the message access layer of the BOSS through GGSN/P-GW again, reporting the used flow quota and storing the reported flow quota as a session in a cache; and the message access layer determines the flow quota again for distribution until the GGSN/P-GW sends the CCR message carrying the termination information.
As shown in fig. 3, the GGSN/P-GW monitors the data stream used by the user, and when the data stream used by the user meets a reapplication condition compared with the traffic Quota, that is, when the traffic Quota allocated to the user is about to be used up (when the traffic value of the data stream used by the user this Time reaches a Volume-Quota Threshold) or is about to expire (when the usage Time of the traffic Quota used by the user this Time exceeds a Validity-Time), the GGSN/P-GW retransmits the CCR message to the message access layer of the service support system BOSS, reports the used traffic Quota and stores the reported traffic Quota in the cache as a session, and the reporting reason is that the traffic value of the data stream used by the user reaches a minimum Quota Threshold (reporting-delay) or the Quota authorized valid Time ends (reporting-delay _ Time). The CC-Request-Type of the retransmitted CCR message (CCR _ Update message) is set to UPDATE _ REQUEST. Further, when the allocated traffic Quota is not used within a certain period of Time, and the idle timer value quote-Holding-Time specified in the last CCA message is reached, the GGSN/P-GW will also send a CCR message, with CC-Request-Type set to UPDATE _ Request. At this time, the CCR message carries an MSCC AVP containing quota consumption information, and the MSCC contains a Unit Used-Service-Unit AVP identifying the actual use of the Service, and a Request-Service-Unit AVP identifying a requested traffic quota.
And the message access layer distributes the flow quota for the user again and returns the corresponding flow quota to the GGSN/P-GW through the CCA message. The CCR message (CCR _ Update message) and the CCA message are sent multiple times according to the actual situation until the GGSN/P-GW sends a CCR message (CCR-Terminate message) carrying termination information to the message access layer. The CC-Request-Type AVP of the CCR message carrying TERMINATION information is set as TERMINATION _ Request, the CCR message comprises an Event-Timestamp AVP for identifying Service TERMINATION time and a Used-Service-Unit AVP for identifying the Unit actually Used by the Service, and the CCR message does not contain the Request-Service-Unit AVP for identifying the Request quota any more.
Further, when storing the Session, the message access layer will judge in advance whether the Session exists, if not, create a Session linked list with the identifier of GGSN and Session-ID, and write the information of number, SGSN, APN, RAT, Charging-ID, etc. into the structural body to insert into the Session linked list.
Step S206, merging the multiple sessions in the cache, and instantiating the call ticket.
In fig. 3, after receiving a CCR message (CCR-termination message) terminating connection sent by a GGSN/P-GW, a message access layer combines multiple sessions in a cache, and instantiates a ticket. Returning the CCA message responds that the connection is terminated with a CCR message (CCR-Terminate message). When merging the conversation, the message access layer merges the current conversation, the summary duration, the up and down usage amount and other information according to GGSN and Session-ID in the conversation chain table.
Further, in the actual processing, the message access layer combines the multiple sessions in the cache, and not only receives the CCR message (CCR-termination message) sent by the GGSN/P-GW. Specifically, the message access layer determines whether a plurality of sessions in the cache satisfy preset conditions, where the preset conditions include various situations such as that traffic generated by the sessions reaches a preset singulation threshold, the sessions are overtime, and the sessions are normally terminated (CCR-Terminate messages sent by GGSN/P-GW are received). When any preset condition is met, the message access layer can combine the sessions in the session linked list, and write the combined sessions into a ticket file to realize the instantiation ticket. Namely, when the user session is normally terminated (a CCR-Terminate message sent by GGSN/P-GW is received), or the session is overtime, or the flow generated by the session reaches a preset list cutting threshold or other charging conditions, the session in the cache is combined into a call ticket and written into a file to serve as a subsequent rating basis.
Further, a preset list switching threshold value of the message access layer can be configured according to the cut-over scene, if offline charging is still available, the preset list switching threshold value can be configured to be smaller, the requirement of service precision is met, and if online charging and offline charging are both suspended, the preset list switching threshold value can be configured to be larger, and the call ticket approval rate is accelerated.
Step S207, delete the session stored in the cache to release the cache resource.
Specifically, the session stored in the cache can be deleted by deleting the current session linked list, so that resources such as the cache and the like are released.
According to the online charging message access layer authorization and call ticket instantiation method provided by the invention, the message access layer in the prior art has no call ticket instantiation function, the call ticket combination threshold value can not be adjusted according to the service scene, if online charging cut-over is upgraded and offline charging is available, the combination threshold value is reduced to improve the reminding and signal control precision, and if online charging and offline charging are temporarily unavailable, the combination threshold value is expanded to improve the call ticket tracing efficiency after cut-over. The invention can effectively reduce arrearage, improve prompt and signal control timeliness, greatly reduce the utilization rate of system resources, and has obvious effect on the investment of a compression BOSS system, network element equipment and transmission equipment.
Fig. 4 shows a functional block diagram of an online charging message access layer authorization and ticket instantiation apparatus according to an embodiment of the present invention. As shown in fig. 4, the device for authorizing the access layer of the online charging message and instantiating the call ticket includes the following modules:
the request module 410 is adapted to: and triggering online charging processing according to the Packet Data Protocol (PDP) context creation request of the user.
The assignment module 420 is adapted to: receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/a data gateway P-GW and carries the connection establishment, and determining the flow quota for distribution according to the availability state of a message processing layer.
The redistribution module 430 is adapted to: and monitoring a data stream used by a user, receiving the reported used flow quota as a session and storing the session in a cache when the data stream used by the user meets a reapplication condition compared with the flow quota, and determining the flow quota again for distribution until a CCR message carrying termination information sent by GGSN/P-GW is received.
The merging module 440 is adapted to: and combining the plurality of sessions in the cache, and instantiating the call ticket.
Optionally, the request module 410 is further adapted to: receiving a Packet Data Protocol (PDP) context creation request of a user through a gateway general packet radio service support node (GGSN)/a data gateway (P-GW); judging whether a charging characteristic field carried by the PDP context creating request is a real-time charging user; if yes, triggering the online charging process.
Optionally, the assignment module 420 is further adapted to: sending a credit control request CCR message carrying the connection establishment to a message access layer of a business support system BOSS through GGSN/P-GW; judging whether the available state of the message processing layer is unavailable or not by the message access layer; if so, determining the flow quota to be a preset fixed value; if not, determining the flow quota according to the user information; the user information comprises user package information, a user flow residual value and/or a user balance.
Optionally, the flow quota includes a current flow quota application value and a current time quota application value.
Optionally, the reapplication condition is specifically: and/or the service time of the current service flow quota of the user exceeds the current time quota application value.
Optionally, the merging module 440 is further adapted to: judging whether a plurality of sessions in the cache meet preset conditions or not by the message access layer; the preset conditions comprise that the flow generated by the session reaches a preset list switching threshold value, the session is overtime and/or the session is normally terminated; if yes, combining a plurality of sessions in the memory, and instantiating the call ticket.
Optionally, the apparatus further comprises a deletion module 450.
The deletion module 450 is adapted to: and deleting the session stored in the cache to release the cache resource.
The descriptions of the modules refer to the corresponding descriptions in the method embodiments, and are not repeated herein.
The application also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the online charging message access layer authorization and call ticket instantiation method in any method embodiment.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 5, the electronic device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein:
the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with network elements of other devices, such as clients or other servers.
The processor 502 is configured to execute the program 510, and may specifically execute the relevant steps in the above-described online charging message access layer authorization and ticket instantiation method embodiment.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may be specifically configured to enable the processor 502 to execute the online charging message access stratum authorization and ticket instantiation method in any of the above method embodiments. For specific implementation of each step in the program 510, reference may be made to corresponding steps and corresponding descriptions in units in the above embodiments of online charging message access layer authorization and ticket instantiation, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be understood by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the online charging message access layer authorization and ticket instantiation apparatus according to the embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A method for authorizing an access layer of an online charging message and instantiating a call ticket is characterized by comprising the following steps:
triggering online charging processing according to a Packet Data Protocol (PDP) context creation request of a user;
receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/a data gateway P-GW and carries connection establishment, and determining a flow quota for distribution according to the available state of a message processing layer;
monitoring a data stream used by a user, receiving reported used flow quota as a session and storing the session in a cache when the data stream used by the user meets a reapplication condition compared with the flow quota, and determining the flow quota again for distribution until a CCR message carrying termination information sent by GGSN/P-GW is received;
and combining the plurality of sessions in the cache, and instantiating the call ticket.
2. The method of claim 1, wherein triggering an online charging process according to a Packet Data Protocol (PDP) context creation request of a user further comprises:
receiving a Packet Data Protocol (PDP) context creation request of a user through a gateway general packet radio service support node (GGSN)/a data gateway (P-GW);
judging whether the charging characteristic field carried by the PDP context establishing request is a real-time charging user or not;
if yes, triggering the online charging process.
3. The method of claim 2, wherein the receiving a credit control request CCR message carrying a connection establishment request sent by a gateway gprs support node GGSN/data gateway P-GW and determining a traffic quota for allocation according to a status of a message handling layer as available further comprises:
sending a credit control request CCR message carrying the connection establishment to a message access layer of a business support system BOSS through GGSN/P-GW;
judging whether the available state of the message processing layer is unavailable or not by the message access layer;
if so, determining the flow quota to be a preset fixed value;
if not, determining the flow quota according to the user information; the user information comprises user package information, a user flow residual value and/or a user balance.
4. The method of claim 3, wherein the traffic quota comprises a current traffic quota application value and a current time quota application value.
5. The method according to claim 3, characterized in that the reapplication conditions are in particular: and/or the service time of the current service flow quota of the user exceeds the current time quota application value.
6. The method of claim 1, wherein the merging the plurality of sessions in the cache and instantiating the ticket further comprises:
judging whether a plurality of sessions in the cache meet preset conditions or not by the message access layer; the preset conditions comprise that the flow generated by the session reaches a preset list switching threshold value, the session is overtime and/or the session is normally terminated;
if yes, combining a plurality of sessions in the memory, and instantiating the call ticket.
7. The method of claim 1, wherein after the instantiating the ticket, the method further comprises:
and deleting the session stored in the cache to release the cache resource.
8. An online charging message access layer authorization and call ticket instantiation device is characterized in that the device comprises:
the request module is suitable for creating a request according to a Packet Data Protocol (PDP) context of a user and triggering online charging processing;
the distribution module is suitable for receiving a credit control request CCR message which is sent by a gateway general packet radio service support node GGSN/data gateway P-GW and carries the connection establishment, and determining the flow quota for distribution according to the available state of a message processing layer;
the reallocation module is suitable for monitoring the data stream used by the user, receiving the reported used flow quota as a session to be stored in a cache when the data stream used by the user meets the reapplication condition compared with the flow quota, and determining the flow quota again to allocate until receiving a CCR message which is sent by GGSN/P-GW and carries termination information;
and the merging module is suitable for merging the plurality of sessions in the cache and instantiating the call ticket.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the online charging message access layer authorization and call ticket instantiation method in any claim 1-7.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the online charging message access stratum authorization and ticket instantiation method as recited in any one of claims 1-7.
CN201910465146.6A 2019-05-30 2019-05-30 Online charging message access layer authorization and call ticket instantiation method and device Active CN112020025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465146.6A CN112020025B (en) 2019-05-30 2019-05-30 Online charging message access layer authorization and call ticket instantiation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465146.6A CN112020025B (en) 2019-05-30 2019-05-30 Online charging message access layer authorization and call ticket instantiation method and device

Publications (2)

Publication Number Publication Date
CN112020025A true CN112020025A (en) 2020-12-01
CN112020025B CN112020025B (en) 2021-12-07

Family

ID=73502130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465146.6A Active CN112020025B (en) 2019-05-30 2019-05-30 Online charging message access layer authorization and call ticket instantiation method and device

Country Status (1)

Country Link
CN (1) CN112020025B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205765A (en) * 2021-12-29 2022-03-18 浪潮通信信息系统有限公司 Method and system for solving abnormal fee deduction of multi-session reservation of OCS (online charging system)
CN116074135A (en) * 2023-01-31 2023-05-05 中国联合网络通信集团有限公司 Quota configuration method and quota configuration device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service
CN102291242A (en) * 2011-08-25 2011-12-21 深圳市同洲视讯传媒有限公司 Charging method and device
US20150071125A1 (en) * 2013-09-09 2015-03-12 At&T Intellectual Property I, Lp Method and system for managing user location information in a communication system
WO2015040280A1 (en) * 2013-09-20 2015-03-26 Notava Oy Access control to wireless networks involving a policy proxy server
CN104506328A (en) * 2014-12-30 2015-04-08 大唐移动通信设备有限公司 LET (long-term evolution) core network charging method, gateway equipment, core network element and server
CN106533705A (en) * 2015-09-15 2017-03-22 中国移动通信集团公司 Data service flow quota allocation method and data service flow quota allocation device
US20180167424A1 (en) * 2016-12-13 2018-06-14 Affirmed Networks, Inc. Online charging mechanisms during ocs non-responsiveness
EP2993820B1 (en) * 2014-09-08 2018-11-14 Alcatel Lucent Efficient session charging over Ro diameter interface

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service
CN102291242A (en) * 2011-08-25 2011-12-21 深圳市同洲视讯传媒有限公司 Charging method and device
US20150071125A1 (en) * 2013-09-09 2015-03-12 At&T Intellectual Property I, Lp Method and system for managing user location information in a communication system
WO2015040280A1 (en) * 2013-09-20 2015-03-26 Notava Oy Access control to wireless networks involving a policy proxy server
EP2993820B1 (en) * 2014-09-08 2018-11-14 Alcatel Lucent Efficient session charging over Ro diameter interface
CN104506328A (en) * 2014-12-30 2015-04-08 大唐移动通信设备有限公司 LET (long-term evolution) core network charging method, gateway equipment, core network element and server
CN106533705A (en) * 2015-09-15 2017-03-22 中国移动通信集团公司 Data service flow quota allocation method and data service flow quota allocation device
US20180167424A1 (en) * 2016-12-13 2018-06-14 Affirmed Networks, Inc. Online charging mechanisms during ocs non-responsiveness

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TSG_SA>WG5_TM: "InterfaceandProtocolSpecification(I&P)–V1.0", 《3GPP》 *
高锐: "在线计费系统集成与开发", 《信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205765A (en) * 2021-12-29 2022-03-18 浪潮通信信息系统有限公司 Method and system for solving abnormal fee deduction of multi-session reservation of OCS (online charging system)
CN116074135A (en) * 2023-01-31 2023-05-05 中国联合网络通信集团有限公司 Quota configuration method and quota configuration device
CN116074135B (en) * 2023-01-31 2024-05-03 中国联合网络通信集团有限公司 Quota configuration method and quota configuration device

Also Published As

Publication number Publication date
CN112020025B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN105491557B (en) System and method for realizing capability opening and capability opening platform
US8320246B2 (en) Adaptive window size for network fair usage controls
US9794421B2 (en) Method, system and apparatus for adaptive quota determination for shared resources
EP2005670B1 (en) Control of real time services
EP2944060B1 (en) Communication quota allocation method and corresponding online charging system
CN106301805B (en) Policy and charging execution function device, online charging device and online charging method
CN103974221B (en) The distribution method and device of packet domain real time billing flow quota
CN112020025B (en) Online charging message access layer authorization and call ticket instantiation method and device
EP3657827B1 (en) Billing method and device for mobile communication system and storage medium
CN101594642B (en) Resource allocation method and resource allocation device used for communication network element device
CN101431745A (en) Account resource reservation and distribution method used for IMS multi-service on-line charging
CN102612086A (en) Method, device and system for authorizing data service flow of terminal
CN108076443B (en) Flow distribution method in online charging system and online charging system
JP2002044292A (en) Method of accounting charge for use of circuit resource, method and system for assigning circuit resource
CN109428733B (en) Method and device for directional flow charging
CN109547956B (en) Multi-service concurrent processing method
US8082197B2 (en) Communication system
CN101742581B (en) Method, device and system for guaranteeing key-point business
Lee et al. Credit pre-reservation mechanism for UMTS prepaid service
CN112738743A (en) Business service, real-time charging method, device, edge server and charging system
CN108900989A (en) Charging method, message accounting and charge system
CN102547642B (en) Methods for determining and controlling online charging user, and system and device for controlling online charging user
CN111328036A (en) Method and device for controlling dynamic authorization of online charging of flow data service
CN106664614B (en) The method and relevant device of bearing binding
CN109309908A (en) Using big data analysis to the processing method for not receiving update or termination messages

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