CN106572453B - Content charging method, charging network element, SP server and charging system - Google Patents

Content charging method, charging network element, SP server and charging system Download PDF

Info

Publication number
CN106572453B
CN106572453B CN201510648057.7A CN201510648057A CN106572453B CN 106572453 B CN106572453 B CN 106572453B CN 201510648057 A CN201510648057 A CN 201510648057A CN 106572453 B CN106572453 B CN 106572453B
Authority
CN
China
Prior art keywords
service
label
server
network element
charging network
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
Application number
CN201510648057.7A
Other languages
Chinese (zh)
Other versions
CN106572453A (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201510648057.7A priority Critical patent/CN106572453B/en
Publication of CN106572453A publication Critical patent/CN106572453A/en
Application granted granted Critical
Publication of CN106572453B publication Critical patent/CN106572453B/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
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8278Event based

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a content charging method, a charging network element, an SP server and a charging system, and relates to the technical field of mobile internet. The method comprises the following steps: the charging network element responds to a service request initiated by a user and forwards the service request to the SP server; the SP server responds to a service request of a user forwarded by the content charging network element, and determines a label corresponding to the requested service according to the service request, wherein the label is used for identifying the service; the SP server sends a service response, correspondingly, the charging network element receives the service response sent by the SP server, and the service response carries a label used for identifying the service; the charging network element identifies the corresponding service through the label, and charges the service process of the user according to the rate information corresponding to the label. The invention realizes the decoupling between the service identification and the complicated and changeable service characteristics, greatly reduces the service identification complexity and the processing load of the charging network element, and can subdivide the service, thereby enriching the charging form.

Description

Content charging method, charging network element, SP server and charging system
Technical Field
The invention relates to the technical field of mobile internet, in particular to a content charging method, a charging network element, an SP server and a charging system.
Background
With the development of the mobile internet, various internet applications emerge endlessly due to the common of the intelligent terminal, and the mobile internet industry is provided with a booming experience. As a network operator of the mobile internet, an operation mode of the mobile internet is also being researched. Currently, operators have introduced a content-based charging model.
The basic function of content charging is to accurately accumulate the flow matched with a specific service by analyzing and identifying the packets sent by the user terminal one by one, and the accumulated flow is used as the basis for charging according to the service differentiation.
Therefore, the characteristic information of the service is the key to realize the content charging, and the current content charging function can identify the service according to the following characteristics:
(1) IP (Internet Protocol, internetworking Protocol) layer: including IP address information of the user, IP address information of the destination, protocol type of the transport layer
(2) A transmission layer: including specific source port, destination port, application layer protocol type
(3) An application layer: the information includes information of a characteristic application layer protocol, such as URL (Uniform Resource Locator) information in HTTP (HyperText transfer protocol), Domain Name information in DNS (Domain Name System) protocol, and the like.
However, the method for implementing content charging by using the existing DPI (Deep Packet Inspection) technology has many difficulties in actual network operation, and has severely restricted the popularization of content charging service of operators. The difficulties that exist in particular are as follows:
1. complex business, fast change update and difficult maintenance of rules
In the era of mobile internet, the scale of APP (Application) is greatly increased, APP functions are more and more improved, and the APP service features are complicated, for example, a video website usually adopts a CDN (Content delivery network) technology, the server addresses are widely distributed, and thousands of service rules need to be identified to accurately match one APP Application. Moreover, the version of the mobile internet APP is updated very frequently, the business rules change very frequently, and it is difficult for an operator to quickly implement the synchronous update of the business rules.
2. Contradiction between service complexity and network equipment industry processing capacity
The content charging platform needs to perform precise matching on each IP message of a user, and has high requirements on the performance of equipment, so that service rule items supported by a single charging network element are limited, and particularly, for the processing of 7-layer URL, the processing capacity is only ten thousand levels. The existing single service may need to be configured with hundreds of rules, so that the content charging function cannot support large-scale complex applications.
3. The form of content charging is single, and the SP (Service Provider) lacks flexibility
Limited by the complexity of the business rule configuration, the content charging service form proposed by the cooperation of the existing operator and the SP is single, and is basically full APP flow exemption.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem that: the method solves the problems that the service is complex and changeable, the charging rule is difficult to be synchronously updated along with the development of the service, the service processing capacity of network equipment is limited, and the charging mode is single in the existing content charging scheme.
According to an aspect of an embodiment of the present invention, a content charging method is provided, including:
the charging network element responds to a service request initiated by a user, and forwards the service request to a Service Provider (SP) server so that the SP server can identify the requested service;
a charging network element receives a service response sent by an SP server, wherein the service response carries a label used for identifying the service;
the charging network element identifies the corresponding service through the label, and charges the service process of the user according to the rate information corresponding to the label.
According to a second aspect of the embodiments of the present invention, a content charging method is provided, including:
the SP server responds to a service request of a user forwarded by the charging network element, and determines a label corresponding to the requested service according to the service request, wherein the label is used for identifying the service;
and the SP server returns a service response to the charging network element, wherein the service response carries the label of the service, so that the charging network element can identify the corresponding service through the label and charge the service process of the user according to the rate information corresponding to the label.
According to a third aspect of the embodiments of the present invention, there is provided a charging network element, including:
a service request response unit, configured to forward a service request to a service provider SP server in response to a service request initiated by a user, so that the SP server identifies a requested service;
a service response receiving unit, configured to receive a service response sent by the SP server, where the service response carries a tag used for identifying the service;
and the charging unit is used for identifying the corresponding service through the label and charging the service process of the user according to the rate information corresponding to the label.
According to a fourth aspect of the embodiments of the present invention, there is provided an SP server, including:
a service identification unit, configured to respond to a service request of a user forwarded by a charging network element, and determine a tag corresponding to a requested service according to the service request, where the tag is used to identify the service;
and the service response unit is used for returning a service response to the charging network element, wherein the service response carries the label of the service, so that the charging network element can identify the corresponding service through the label and charge the service process of the user according to the rate information corresponding to the label.
According to a fifth aspect of the embodiments of the present invention, there is provided a charging system, including: the charging network element of any of the foregoing embodiments, and the SP server of any of the foregoing embodiments.
In one embodiment, the charging system further comprises a label switching server;
and the label switching server is used for receiving different labels generated by the SP server aiming at different services, generating corresponding rates aiming at the labels and sending the corresponding relations of the labels and the rates to the charging network element.
The invention has at least the following advantages:
the SP server adds labels to the services by establishing an interaction channel between the SP server and the charging network element, the charging network element performs service identification through the labels, and further realizes content charging of specific services. In addition, the label used for identifying the service is determined by the SP server side, the server provider can subdivide the service, and different charging forms are adopted for different service contents, so the SP has greater flexibility, and the charging forms are richer.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 shows a flow chart of an embodiment of the content charging method of the present disclosure.
Fig. 2 shows a flow diagram of one embodiment of a label switching method of the present disclosure.
Fig. 3 shows a flow chart of another embodiment of the content charging method of the present disclosure.
Fig. 4 shows a schematic structural diagram of an embodiment of a charging network element according to the present disclosure.
Fig. 5 shows a schematic structural diagram of another embodiment of the charging network element of the present disclosure.
Fig. 6 shows a schematic structural diagram of another embodiment of the charging network element of the present disclosure.
Fig. 7 shows a schematic structural diagram of an embodiment of the SP server of the present disclosure.
Fig. 8 shows a schematic structural diagram of another embodiment of the SP server of the present disclosure.
Fig. 9 shows a schematic structural diagram of another embodiment of the SP server of the present disclosure.
Fig. 10 shows a schematic structural diagram of an embodiment of the charging system of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The scheme is provided aiming at the problems of complex service, difficult synchronous updating of rule updating, limited service processing capacity of network equipment, single charging mode and the like in the existing content charging scheme.
An embodiment of the content charging method of the present invention is described below with reference to figure 1,
fig. 1 is a flowchart of an embodiment of a content charging method according to the present invention. As shown in fig. 1, the method of this embodiment includes:
step S102, the charging network element responds to the service request initiated by the user and forwards the service request to the SP server.
In step S104, since the service provider is the provider of the service, the SP server can easily recognize the kind information of the service requested by the user. Therefore, in response to the service request of the user forwarded by the charging network element, the SP server determines a tag corresponding to the requested service according to the service request, where the tag is used to identify the service.
Illustratively, the label may include, for example, an SP domain name for identifying a label space of the SP and an SP content identifier for identifying a service category. The label naming mode can realize service provider-level service classification, is convenient for each service provider to set the service classification, and does not worry about confusion of the service classifications among the service providers.
Step S106, the SP server sends a service response, correspondingly, the charging network element receives the service response sent by the SP server, and the service response carries a label used for identifying the service.
Step S108, the charging network element identifies the corresponding service through the label, and charges the service process of the user according to the rate information corresponding to the label.
In the CDMA network, the Charging network element may be, for example, a CCG (Content Charging Gateway), in the GSM/WCDMA network, the Charging network element may be, for example, a GGSN (Gateway GPRS Support Node), and in the 4G network, the Charging network element may be, for example, a PGW (PDN Gateway).
An application scenario is that a user of a certain music application software initiates a request for downloading music, and after the request reaches an SP server through a charging network element, the SP server can determine whether the user is a member and the content of a service, for example, the member can enjoy activities such as free or preferential music downloading, and then add a corresponding tag to the service of the user, and carry the tag in a service response. And the service response reaches a charging network element, and the charging network element charges the flow of the service into a rate group appointed in advance by identifying the service label.
According to the method, the interaction channel between the SP server and the charging network element is established, the SP server adds the label to the service, the charging network element performs service identification through the label, and further content charging of the specific service is achieved, decoupling between the service identification and the complex and changeable service characteristics is achieved compared with a service identification mode with characteristic matching, and complexity of the service identification and processing load of the charging network element are greatly reduced. In addition, the label used for identifying the service is determined by the SP server side, the server provider can subdivide the service, and different charging forms are adopted for different service contents, so the SP has greater flexibility, and the charging forms are richer.
In addition, the charging network element and the SP server need to negotiate and synchronize the tag and the corresponding rate information to cope with the change of the service rule, and to solve this problem, the present invention further provides a tag switching method, which is described below with reference to fig. 2.
Fig. 2 is a flow chart of an embodiment of a label switching method of the present invention. As shown in fig. 2, the method further comprises:
step S202, the SP server generates different labels for different services provided by the service provider, and sends each label to the label switching server.
Step S204, the label switching server receives the labels sent by the SP server, and generates corresponding rates for the labels. The rate may be, for example, in the form of a Rate Group (RG).
In addition, the functions of the SP server and the label switching server can be performed by one device according to the service requirement.
Step S206, the label switching server sends the corresponding relationship between each label and its rate to the charging network element, and correspondingly, the charging network element receives and stores the corresponding relationship between each label and its rate sent by the label switching server.
In addition, the SP server sends the label to the label server and simultaneously can carry the effective time and the invalid time of the label. The label server can send the corresponding relation of the label and the rate thereof to the charging network element according to the effective time, and inform the charging network element or update the corresponding relation of the label and the rate thereof at the failure time; or the label server sends the corresponding relation between the effective time and the ineffective time and the label and the rate thereof to the charging network element, and the charging network element judges the validity of the label by itself.
The method can establish a label communication channel between the charging network element and the SP, and realize the rapid negotiation and synchronization of the label and the rate thereof.
In the process of service identification, an illegal user may obtain the keywords and forge the keywords, so that the flow is embezzled by using the self-fee discount. To solve this problem, the present solution further provides an authentication method in the charging process, so that the charging network element checks the identity of the SP server, which is described below with reference to fig. 3.
Fig. 3 is a flow chart of a content charging method according to another embodiment of the present invention. As shown in fig. 3, the method includes:
step S102, the charging network element responds to the service request initiated by the user and forwards the service request to the SP server.
Step S104, the SP server responds to the service request of the user forwarded by the charging network element, and determines a label corresponding to the requested service according to the service request, wherein the label is used for identifying the service.
Step S306, the SP server sends a service response, and correspondingly, the charging network element receives the service response sent by the SP server, where the service response carries a tag and authentication information for identifying the service, and further, the service response may also carry a timestamp.
Step S307, the charging network element authenticates the SP server according to the authentication information carried in the service response. In case the authentication is successful, step S108 is performed.
Step S108, the charging network element identifies the corresponding service through the label, and charges the service process of the user according to the rate information corresponding to the label.
The invention also provides several exemplary authentication methods.
The authentication method is as follows: and the SP server encrypts and generates the key corresponding to the service label. Correspondingly, the charging network element determines a key corresponding to the label carried in the service response according to the corresponding relation between the agreed label and the key, encrypts the determined key according to the generation mode of the authentication information to obtain an encrypted string, compares the encrypted string with the authentication information carried in the service response, and if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, otherwise, the authentication fails.
And the authentication mode II comprises the following steps: the SP server encrypts and generates the label of the service and the corresponding secret key thereof. Correspondingly, the charging network element determines a key corresponding to the tag carried in the service response according to the corresponding relation between the agreed tag and the key, encrypts the determined key and the tag carried in the service response according to the generation mode of the authentication information to obtain an encrypted string, compares the encrypted string with the authentication information carried in the service response, and if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, otherwise, the authentication fails.
And the authentication mode is three: and the SP server encrypts and generates a key and a time stamp corresponding to the label of the service. Correspondingly, the charging network element compares the timestamp carried in the service response with the current system time, and if the time interval exceeds the preset upper limit value, the authentication fails. If the timestamp meets the regulation, the charging network element determines a secret key corresponding to the tag carried in the service response according to the corresponding relation between the agreed tag and the secret key, encrypts the determined secret key and the timestamp carried in the service response according to the generation mode of the authentication information to obtain an encrypted string, compares the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, and otherwise, the authentication fails.
And the charging network element executes the next charging only under the condition that the authentication of the timestamp and the authentication information is successful.
And the authentication mode is four: and the SP server encrypts and generates the label of the service and a corresponding key and a time stamp of the service. Correspondingly, the charging network element compares the timestamp carried in the service response with the current system time, and if the time interval exceeds the preset upper limit value, the authentication fails. If the timestamp meets the regulation, the charging network element determines a secret key corresponding to the tag carried in the service response according to the corresponding relation between the agreed tag and the secret key, encrypts the determined secret key, the tag carried in the service response and the timestamp according to the generation mode of the authentication information to obtain an encrypted string, compares the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, and otherwise, the authentication fails.
And the charging network element executes the next charging only under the condition that the authentication of the timestamp and the authentication information is successful.
For example, the authentication information may be encrypted by using md5(Message Digest Algorithm 5) Algorithm to perform one or more combinations of keys, tags, and timestamps, may generate 32 bytes of information, and may perform md5 operation by using SDK (Soft Development Kit), but is not limited to the example.
Wherein the time stamp may be embodied in milliseconds, for example, to make the authentication result more accurate. For example, 11/5/09: 17:01.000 in 2014 was converted to a timestamp of 1415150221502, but is not limited to the illustrated example.
The key is agreed by the charging network element and the SP server according to different service tags, and then, for example, the key can be periodically synchronized to the charging network element and the SP server by the tag server and updated in time. The key may be 16 bytes, for example, and may include a case and a special symbol, and a certain key length and strength may enhance the security of the key, but are not limited to the example.
According to the method, the service response sent by the SP server carries the authentication information, and the risk that an illegal user obtains the keyword to forge the keyword can be greatly reduced by authenticating through the charging network element, so that the self-fee privilege is utilized, the flow is stolen and the like.
According to another aspect of the embodiments of the present invention, a charging network element is provided, which is described below with reference to fig. 4.
Fig. 4 is a block diagram of an embodiment of a charging network element in accordance with the present invention. As shown in fig. 4, the charging network element 400 includes:
a service request responding unit 402, configured to respond to a service request initiated by a user, forward the service request to a service provider SP server, so that the SP server identifies a requested service;
a service response receiving unit 404, configured to receive a service response sent by the SP server, where the service response carries a tag used for identifying the service;
the charging unit 406 is configured to identify a corresponding service through the tag, and charge the service process of the user according to the rate information corresponding to the tag.
The structure of the charging network element is further described below with reference to fig. 5.
Fig. 5 is a block diagram of another embodiment of a charging network element in accordance with the present invention. As shown in fig. 5, the charging network element 400 further includes:
a charging rule receiving unit 508, configured to receive a correspondence between each label and its rate sent by the label server.
The structure of the charging network element is further described below with reference to fig. 6.
Fig. 6 is a block diagram of a charging network element according to another embodiment of the present invention. As shown in figure 6 of the drawings,
the service response received by the service response receiving unit 404 and sent by the SP server also carries authentication information.
The charging network element 400 further comprises: and an authentication unit 610, configured to authenticate the SP server according to the authentication information carried in the service response.
And in case of successful authentication, the charging unit 406 is configured to charge the service process of the user according to the rate information corresponding to the tag.
The SP server encrypts and generates a secret key corresponding to the service label; or, the SP server encrypts the service tag and the corresponding key to generate the authentication information.
And the authentication unit 610 is configured to determine a secret key corresponding to the tag carried in the service response according to the agreed correspondence between the tag and the secret key, encrypt the determined secret key according to the generation mode of the authentication information to obtain an encrypted string, or encrypt the determined secret key and the tag carried in the service response to obtain an encrypted string, compare the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, and otherwise, fails in authentication.
The service response sent by the SP server and received by the charging network element also carries a timestamp; the SP server encrypts and generates a key and a timestamp corresponding to the service label according to the authentication information; or, the SP server encrypts the tag of the service and the corresponding key and timestamp to generate the authentication information.
The authentication unit 610 is configured to compare the timestamp carried in the service response with the current system time, and if the time interval exceeds a preset upper limit value, the authentication fails; and determining a secret key corresponding to the tag carried in the service response according to the corresponding relation between the agreed tag and the secret key, encrypting the determined secret key and the timestamp carried in the service response according to the generation mode of the authentication information to obtain an encrypted string, or encrypting the determined secret key, the tag carried in the service response and the timestamp carried in the service response to obtain the encrypted string, comparing the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, successfully authenticating the SP server, and otherwise, failing to authenticate.
According to yet another aspect of the embodiments of the present invention, an SP server is provided, which is described below with reference to fig. 7.
Fig. 7 is a block diagram of an embodiment of an SP server of the present invention. As shown in fig. 7, the SP server 700 includes:
a service identification unit 702, configured to, in response to a service request of a user forwarded by a charging network element, determine, according to the service request, a tag corresponding to a requested service, where the tag is used to identify the service;
and the service response unit 704 is configured to return a service response to the charging network element, where the service response carries a tag of the service, so that the charging network element identifies a corresponding service through the tag, and charges the service process of the user according to the rate information corresponding to the tag.
The structure of the SP server is further described below in conjunction with fig. 8.
Fig. 8 is a block diagram of another embodiment of the SP server of the present invention. As shown in fig. 8, the SP server 700 further includes: a label generating unit 806, configured to generate different labels for different services, and send each label to the label switching server, so that the label switching server generates a corresponding rate for each label, and sends each label and a corresponding relationship between each label and its rate to the charging network element.
The structure of the SP server is further described below in conjunction with fig. 9.
Fig. 9 is a block diagram of another embodiment of an SP server of the present invention. As shown in fig. 9, the SP server further includes an authentication information generation unit 908.
The service response returned to the charging network element by the service response unit 704 also carries authentication information. Correspondingly, the authentication information generating unit 908 is configured to encrypt the key corresponding to the tag of the service to generate authentication information, or encrypt the tag of the service and the key corresponding to the tag of the service to generate authentication information, so that the charging network element authenticates the SP server according to the tag and the authentication information carried in the service response.
The service response returned to the charging network element by the service response unit 704 also carries a timestamp and authentication information. Correspondingly, the authentication information generating unit 908 is configured to encrypt the key and the timestamp corresponding to the tag of the service to generate authentication information, or encrypt the tag of the service and the key and the timestamp corresponding to the tag of the service to generate authentication information, so that the charging network element authenticates the SP server according to the tag, the timestamp, and the authentication information carried in the service response.
According to another aspect of the embodiment of the present invention, a charging system is provided, which is described below with reference to fig. 10.
Fig. 10 is a block diagram of an embodiment of the charging system of the present invention. As shown in fig. 10, the SP server 1000 includes: the charging network element 400 of any of the preceding embodiments, the SP server 700 of any of the preceding embodiments.
Further, as shown in fig. 10, the charging system 1000 further includes a label switching server 1002, configured to receive that the SP server 700 generates different labels for different services, generates corresponding rates for the labels, and sends the labels and their corresponding relationships to the charging network element 400.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (18)

1. A method for charging for content, comprising:
the charging network element responds to a service request initiated by a user, and forwards the service request to a Service Provider (SP) server so that the SP server can identify the requested service;
a charging network element receives a service response sent by an SP server, wherein the service response carries a label used for identifying the service;
the charging network element identifies the corresponding service through the label and charges the service process of the user according to the rate information corresponding to the label;
the SP server sends the label to the label server and carries the effective time and the ineffective time of the label, the label server sends the corresponding relation of the label and the rate thereof to the charging network element according to the effective time, and informs the charging network element or updates the corresponding relation of the label and the rate thereof at the ineffective time; or the label server sends the corresponding relation between the effective time and the ineffective time and the label and the rate thereof to the charging network element, and the charging network element judges the validity of the label by itself.
2. The method of claim 1,
the service response sent by the SP server and received by the charging network element also carries authentication information;
the method further comprises the following steps:
the charging network element authenticates the SP server according to the authentication information carried in the service response;
and under the condition of successful authentication, the charging network element charges the service process of the user according to the rate information corresponding to the label.
3. The method of claim 2,
the SP server encrypts and generates a secret key corresponding to the service label; or the SP server encrypts and generates the label of the service and the corresponding key thereof according to the authentication information;
the charging network element authenticates the SP server according to the information carried in the service response, and the authentication comprises the following steps:
and the charging network element determines a key corresponding to the label carried in the service response according to the corresponding relation between the agreed label and the key, encrypts the determined key according to the generation mode of the authentication information to obtain an encrypted string, or encrypts the determined key and the label carried in the service response to obtain the encrypted string, compares the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, and otherwise, the authentication fails.
4. The method of claim 2,
the service response sent by the SP server and received by the charging network element also carries a timestamp; the SP server encrypts and generates a key and a timestamp corresponding to the service label; or the authentication information is generated by encrypting the label of the service and the corresponding key and time stamp thereof by the SP server;
the charging network element authenticates the SP server according to the information carried in the service response, and the authentication comprises the following steps:
the charging network element compares the timestamp carried in the service response with the current system time, and if the time interval exceeds a preset upper limit value, the authentication fails;
and the charging network element determines a key corresponding to the tag carried in the service response according to the corresponding relation between the agreed tag and the key, encrypts the determined key and the timestamp carried in the service response according to the generation mode of the authentication information to obtain an encrypted string, or encrypts the determined key, the tag carried in the service response and the timestamp to obtain the encrypted string, compares the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, the SP server authentication is successful, and otherwise, the authentication is failed.
5. A method for charging for content, comprising:
the SP server responds to a service request of a user forwarded by the charging network element, and determines a label corresponding to the requested service according to the service request, wherein the label is used for identifying the service;
the SP server returns a service response to the charging network element, wherein the service response carries the label of the service, so that the charging network element can identify the corresponding service through the label and charge the service process of the user according to the rate information corresponding to the label;
the SP server sends the label to the label server and carries the effective time and the ineffective time of the label, the label server sends the corresponding relation of the label and the rate thereof to the charging network element according to the effective time, and informs the charging network element or updates the corresponding relation of the label and the rate thereof at the ineffective time; or the label server sends the corresponding relation between the effective time and the ineffective time and the label and the rate thereof to the charging network element, and the charging network element judges the validity of the label by itself.
6. The method of claim 5, further comprising:
the service response returned to the charging network element by the SP server also carries authentication information, the authentication information is generated by encrypting the secret key corresponding to the label of the service by the SP server, or the authentication information is generated by encrypting the label of the service and the secret key corresponding to the label by the SP server, so that the charging network element authenticates the SP server according to the label and the authentication information carried in the service response.
7. The method of claim 5, further comprising:
the service response returned to the charging network element by the SP server also carries a timestamp and authentication information, the authentication information is generated by encrypting a key and a timestamp corresponding to the label of the service by the SP server, or the authentication information is generated by encrypting the label of the service and the key and the timestamp corresponding to the label by the SP server, so that the charging network element authenticates the SP server according to the label, the timestamp and the authentication information carried in the service response.
8. The method according to any one of claims 5 to 7,
the label comprises an SP domain name and an SP content identifier, wherein the SP domain name is used for identifying a label space of the SP, and the SP content identifier is used for identifying the type of the service.
9. A charging network element, comprising:
a service request response unit, configured to forward a service request to a service provider SP server in response to a service request initiated by a user, so that the SP server identifies a requested service;
a service response receiving unit, configured to receive a service response sent by an SP server, where the service response carries a tag used for identifying the service;
the charging unit is used for identifying the corresponding service through the label and charging the service process of the user according to the rate information corresponding to the label;
wherein, SP server sends the label to taking effect time and dead time of label while carrying of label server, and the charging network element still includes: a charging rule receiving unit, configured to receive a tag and a corresponding relationship between the tag and a rate thereof sent by the tag server according to the effective time, and receive a notification from the tag server or receive an update of the corresponding relationship between the tag and the rate thereof at the ineffective time; or, the charging rule receiving unit is used for receiving the corresponding relation between the effective time and the invalid time and the label and the rate thereof by the label server and automatically judging the validity of the label.
10. The charging network element of claim 9,
the service response receiving unit receives a service response sent by the SP server, wherein the service response also carries authentication information;
the charging network element further comprises:
the authentication unit is used for authenticating the SP server according to the authentication information carried in the service response;
and under the condition of successful authentication, the charging unit is used for charging the service process of the user according to the rate information corresponding to the label.
11. The charging network element of claim 10,
the SP server encrypts and generates a secret key corresponding to the service label; or the SP server encrypts and generates the label of the service and the corresponding key thereof according to the authentication information;
and the authentication unit is used for determining a secret key corresponding to the label carried in the service response according to the corresponding relation between the agreed label and the secret key, encrypting the determined secret key to obtain an encrypted string according to the generation mode of the authentication information, or encrypting the determined secret key and the label carried in the service response to obtain the encrypted string, comparing the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, the SP server succeeds in authentication, and otherwise, the authentication fails.
12. The charging network element of claim 10,
the service response sent by the SP server and received by the charging network element also carries a timestamp; the SP server encrypts and generates a key and a timestamp corresponding to the service label; or the authentication information is generated by encrypting the label of the service and the corresponding key and time stamp thereof by the SP server;
the authentication unit is used for comparing the timestamp carried in the service response with the current system time, and if the time interval exceeds a preset upper limit value, the authentication fails; and determining a secret key corresponding to the tag carried in the service response according to the corresponding relation between the agreed tag and the secret key, encrypting the determined secret key and the timestamp carried in the service response according to the generation mode of the authentication information to obtain an encrypted string, or encrypting the determined secret key, the tag carried in the service response and the timestamp carried in the service response to obtain the encrypted string, comparing the encrypted string with the authentication information carried in the service response, if the encrypted string is consistent with the authentication information carried in the service response, successfully authenticating the SP server, and otherwise, failing to authenticate.
13. An SP server, comprising:
a service identification unit, configured to respond to a service request of a user forwarded by a charging network element, and determine a tag corresponding to a requested service according to the service request, where the tag is used to identify the service;
the service response unit is used for returning a service response to the charging network element, wherein the service response carries the label of the service, so that the charging network element can identify the corresponding service through the label and charge the service process of the user according to the rate information corresponding to the label;
the label generating unit is used for sending the label to the label server and simultaneously carrying the effective time and the ineffective time of the label so that the label server can send the corresponding relation between the label and the rate thereof to the charging network element according to the effective time and inform the charging network element or update the corresponding relation between the label and the rate thereof at the ineffective time; or the label server sends the corresponding relation between the effective time and the ineffective time and the label and the rate thereof to the charging network element, and the charging network element judges the validity of the label by itself.
14. SP server of claim 13,
the service response returned to the charging network element by the service response unit also carries authentication information;
the SP server also comprises an authentication information generating unit;
and the authentication information generating unit is used for encrypting the key corresponding to the label of the service to generate authentication information, or encrypting the label of the service and the key corresponding to the label of the service to generate the authentication information, so that the charging network element authenticates the SP server according to the label and the authentication information carried in the service response.
15. SP server of claim 13,
the service response returned to the charging network element by the service response unit also carries a timestamp and authentication information;
the SP server also comprises an authentication information generating unit;
and the authentication information generating unit is used for encrypting the key and the timestamp corresponding to the service tag to generate authentication information, or encrypting the service tag and the key and the timestamp corresponding to the service tag to generate the authentication information, so that the charging network element authenticates the SP server according to the tag, the timestamp and the authentication information carried in the service response.
16. SP server of any one of claims 13-15,
the label comprises an SP domain name and an SP content identifier, wherein the SP domain name is used for identifying a label space of the SP, and the SP content identifier is used for identifying the type of the service.
17. A charging system, comprising: the charging network element of any of claims 9-12, the SP server of any of claims 13-16.
18. The billing system of claim 17, further comprising: a label switching server;
and the label switching server is used for receiving different labels generated by the SP server aiming at different services, generating corresponding rates aiming at the labels and sending the corresponding relations of the labels and the rates to the charging network element.
CN201510648057.7A 2015-10-09 2015-10-09 Content charging method, charging network element, SP server and charging system Active CN106572453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510648057.7A CN106572453B (en) 2015-10-09 2015-10-09 Content charging method, charging network element, SP server and charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510648057.7A CN106572453B (en) 2015-10-09 2015-10-09 Content charging method, charging network element, SP server and charging system

Publications (2)

Publication Number Publication Date
CN106572453A CN106572453A (en) 2017-04-19
CN106572453B true CN106572453B (en) 2020-04-28

Family

ID=58505995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510648057.7A Active CN106572453B (en) 2015-10-09 2015-10-09 Content charging method, charging network element, SP server and charging system

Country Status (1)

Country Link
CN (1) CN106572453B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366176B (en) * 2018-01-25 2020-07-10 网宿科技股份有限公司 Charging method, device and system for terminal application
CN110430289B (en) * 2019-07-01 2022-07-12 北京云端智度科技有限公司 Method for distinguishing same domain name request sources

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859534A (en) * 2006-03-21 2006-11-08 华为技术有限公司 Charging method and system for traffic service
CN101005384A (en) * 2007-01-30 2007-07-25 华为技术有限公司 Processing method, system and device in charging process
CN101540983A (en) * 2008-03-19 2009-09-23 中兴通讯股份有限公司 Method for charging in mobile network
CN101800964A (en) * 2009-02-10 2010-08-11 华为软件技术有限公司 Charging method, device and system as well as content/service server
CN102098649A (en) * 2010-12-09 2011-06-15 成都市华为赛门铁克科技有限公司 Method, device and system for processing value added service based on policy and charging control system
CN103503512A (en) * 2011-11-11 2014-01-08 华为技术有限公司 Method and device for controlling service delivery
CN103906025A (en) * 2012-12-27 2014-07-02 中国移动通信集团公司 Processing method, apparatus and system for third party charging service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550747C (en) * 2003-06-25 2009-10-14 华为技术有限公司 A kind of content charging method and charge system thereof of data service
CN1852155A (en) * 2005-10-27 2006-10-25 华为技术有限公司 Method for realizing charge of advertisement business

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859534A (en) * 2006-03-21 2006-11-08 华为技术有限公司 Charging method and system for traffic service
CN101005384A (en) * 2007-01-30 2007-07-25 华为技术有限公司 Processing method, system and device in charging process
CN101540983A (en) * 2008-03-19 2009-09-23 中兴通讯股份有限公司 Method for charging in mobile network
CN101800964A (en) * 2009-02-10 2010-08-11 华为软件技术有限公司 Charging method, device and system as well as content/service server
CN102098649A (en) * 2010-12-09 2011-06-15 成都市华为赛门铁克科技有限公司 Method, device and system for processing value added service based on policy and charging control system
CN103503512A (en) * 2011-11-11 2014-01-08 华为技术有限公司 Method and device for controlling service delivery
CN103906025A (en) * 2012-12-27 2014-07-02 中国移动通信集团公司 Processing method, apparatus and system for third party charging service

Also Published As

Publication number Publication date
CN106572453A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
EP3752947B1 (en) Protecting a message transmitted between core network domains
US9264430B2 (en) Obtaining targeted services using a unique identification header (UIDH)
EP2456246A1 (en) Network selection method based on multi-link and apparatus thereof
US20210092106A1 (en) User authentication in communication systems
CN103795689A (en) Resource subscription method and device
EP3477561A1 (en) System for goods delivery
CN105873055B (en) Wireless network access authentication method and device
US9614848B2 (en) Providing unique identifiers via a user device
US9295070B2 (en) Quality of service level adaptation for visual services in mobile communication networks
CN107463848B (en) Application-oriented ciphertext search method, device, proxy server and system
CN105243074A (en) System and method for parallel secure content bootstrapping in content-centric networks
CN106572453B (en) Content charging method, charging network element, SP server and charging system
EP3637737A1 (en) Method and system for synchronizing user identities
CN113656713B (en) Network resource processing method, device and system
CN110913011A (en) Session keeping method, session keeping device, readable storage medium and electronic equipment
CN109309907B (en) Method and device for charging flow and related equipment
CN114302259A (en) User information collection method, device, equipment and computer readable storage medium
CN100583756C (en) Method for realizing safety communication between user equipment and network service application entity
US20220345466A1 (en) Provision of data from a service provider network
US9906366B1 (en) Service provider based security in a wireless network
US20150327030A1 (en) Multimedia messaging service (mms) originator authentication
CN103200211B (en) A kind of method of data synchronization, system and equipment
US20240129346A1 (en) Method, apparatus and system for associating different instances of user engagement with a content provider
CN112637316B (en) Communication method and device
KR100535709B1 (en) Method and apparatus for recognizing a pair of HTTP request and HTTP response in wireless data service

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