WO2017000644A1 - Method and device for account resource sharing - Google Patents

Method and device for account resource sharing Download PDF

Info

Publication number
WO2017000644A1
WO2017000644A1 PCT/CN2016/080251 CN2016080251W WO2017000644A1 WO 2017000644 A1 WO2017000644 A1 WO 2017000644A1 CN 2016080251 W CN2016080251 W CN 2016080251W WO 2017000644 A1 WO2017000644 A1 WO 2017000644A1
Authority
WO
WIPO (PCT)
Prior art keywords
account
identifier
charging
payment relationship
request
Prior art date
Application number
PCT/CN2016/080251
Other languages
French (fr)
Chinese (zh)
Inventor
仝瑞国
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2017000644A1 publication Critical patent/WO2017000644A1/en

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for sharing account resources.
  • Embodiments of the present invention provide a method and apparatus for sharing account resources to implement account resource sharing across a billing system.
  • an embodiment of the present invention provides a method for sharing account resources, where the method includes:
  • the GGSN initiates a charging request for the service request to the charging system to which the second account belongs, where the charging request carries an identifier of the second account used for charging;
  • the GGSN After receiving the charging success response from the charging system, the GGSN allows the terminal to use the service.
  • the method before the GGSN receives the service request initiated by the first account, the method further includes:
  • the GGSN stores the payment relationship.
  • the payment relationship further includes the first account and the second account Effective time of the payment relationship;
  • the GGSN searches for the identifier of the second account that has a payment relationship with the first account from the pre-stored payment relationship according to the identifier of the first account, and specifically includes:
  • the GGSN searches for an identifier of the second account having a valid pay-as-you-go relationship with the first account from the pre-stored payment relationship according to the identifier of the first account.
  • the method further includes:
  • the GGSN After the GGSN fails to perform the payment relationship between the first account and the second account, the GGSN deletes the payment relationship.
  • the method further includes: receiving, by the GGSN, canceling the first account And a request for a payment relationship with the second account, and deleting a payment relationship between the first account and the second account according to the request.
  • the charging request further carries an identifier of the first account;
  • the identifier of the first account is used as a payment relationship authentication and/or used as a charging reference.
  • the method further includes: extending an attribute value in the charging request For the AVP parameter, the identifier of the second account is carried by the extended AVP parameter.
  • an embodiment of the present invention provides a method for sharing account resources, where the method includes:
  • the charging system receives a charging request for a service request initiated by the first account; the charging request carries an identifier of a second account for charging, and the second account has a payment relationship with the first account ;
  • the charging system uses the second account to charge the service request initiated by the first account.
  • the method further includes:
  • the charging system receives a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account;
  • the billing system stores the pay-as-you-go relationship.
  • the charging request further carries an identifier of the first account.
  • the charging system uses the second account to calculate a service request initiated by the first account. Before the fee, the method further includes:
  • the charging system authenticates the charging request according to the stored payment relationship, and determines that the identifier of the first account and the identifier of the second account carried in the charging request satisfy the payment relationship.
  • an embodiment of the present invention provides an apparatus for sharing account resources, where the apparatus includes:
  • a receiving module configured to receive a service request initiated by the user equipment by using the first account, where the service request carries an identifier of the first account;
  • a service module configured to search, according to the identifier of the first account, an identifier of a second account that has a payment relationship with the first account from a pre-stored payment relationship;
  • the receiving module is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account And Describe the identity of the second account;
  • the device also includes:
  • a storage module configured to store the payment relationship received by the receiving module.
  • the first account and the second account are further included in the payment relationship Effective time of the payment relationship;
  • the service module is specifically configured to search, according to the identifier of the first account, an identifier of a second account that has a valid pay-off relationship with the first account from a pre-stored payment relationship.
  • the service module is further configured to perform a payment relationship between the first account and the second account. After the failure, the payment relationship is deleted.
  • the receiving module is further configured to receive and cancel the first account and the a request for a payment relationship of the second account;
  • the service module is further configured to delete the payment relationship of the first account and the second account according to the request received by the receiving module to cancel the payment relationship of the first account and the second account.
  • the charging request further carries an identifier of the first account;
  • the identifier of the first account is used as a payment relationship authentication and/or used as a charging reference.
  • control module is further configured to extend an attribute in the charging request
  • the value pair AVP parameter carries the identifier of the second account with the extended AVP parameter.
  • an embodiment of the present invention provides an apparatus for sharing account resources, where the apparatus includes: a receiving module, configured to receive a charging request for a service request initiated by a first account; and the charging request is carried in the charging request An identifier of the second account that is billed, and the second account has a payment relationship with the first account;
  • the charging module is configured to perform charging for the service request initiated by the first account by using the second account.
  • the receiving module is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes the first account Identification And an identification of the second account;
  • the device also includes:
  • a storage module configured to store the payment relationship.
  • the charging request further carries an identifier of the first account.
  • the charging module is further configured to perform the charging according to the stored payment relationship The requesting is performed to determine that the identifier of the first account and the identifier of the second account carried in the charging request satisfy the payment relationship.
  • the charging request includes an extended attribute value pair AVP parameter, where The identity of the second account is carried in the extended AVP parameters.
  • the charging module is further configured to generate the first account identifier And the CDR of the second account identifier.
  • FIG. 1 is a network architecture diagram for implementing account resource sharing according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a registration payment relationship according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of canceling a payment relationship according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for sharing account resources according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a GGSN according to an embodiment of the present invention.
  • FIG. 1 is a network architecture diagram of implementing account resource sharing according to an embodiment of the present invention.
  • the network architecture includes: customer relationship management (CRM) equipment, provisioning equipment (Provis ioning), and gateway general packet radio service (GPRS) support node (gateway GPRS support node). , GGSN) and billing system.
  • CRM customer relationship management
  • Provis ioning provisioning equipment
  • GPRS gateway general packet radio service
  • GGSN gateway general packet radio service
  • the CRM device is configured to register the payment relationship of the account, and send the registered payment relationship to the GGSN and the charging system respectively through the activation device.
  • the GGSN is configured to receive a service request initiated by the user equipment by using the first account, and initiate a charging request to the charging system for the received service request, and control the usage of the service by the user equipment according to the charging response returned by the charging system.
  • the GGSN stores a payment relationship from the CRM device. After receiving the service request, the GGSN determines, according to the payment relationship, whether there is a second account with a payment relationship with the first account. If yes, the GGSN sends a charging request to the charging system to which the second account belongs, and The charging request carries the identifier of the second account, and the charging system is instructed to use the second account for charging. If not, the GGSN sends the charging request to the charging system to which the first account belongs, and carries the identifier of the first account in the charging request, instructing the charging system to use the first account for charging.
  • the billing system is configured to perform billing according to the received billing request.
  • the billing system includes a system with a charging function such as an online charging control (OCS) or a convergent billing system (CBS).
  • OCS online charging control
  • CBS convergent billing system
  • the Diameter protocol can be used for communication between the GGSN and the billing system.
  • the registration process includes:
  • the CRM locally establishes a payment relationship between the accounts to be registered.
  • the identifier of the payment account and the consumption account may be an international mobile subscriber identity (IMSI), an international mobile device identity. (international mobile equipment identity, IMEI), one or more of mobile station international ISDN numbers (MSISDN).
  • IMSI international mobile subscriber identity
  • IMEI international mobile equipment identity
  • MSISDN mobile station international ISDN numbers
  • the provisioning device sends the payment relationship to the GGSN.
  • the provisioning device can add a Simple Object Access Protocol (SOAP) interface, through which the payment relationship is synchronized to the GGSN.
  • SOAP Simple Object Access Protocol
  • the GGSN may save the payment relationship in the form of a table, as shown in Table 1.
  • the GGSN returns a response message indicating that the payment relationship is successfully received to the enabled device.
  • the activation device sends the payment relationship to the charging system.
  • the provisioning device can add a SOAP interface, and the payment relationship is synchronized to the charging system through the SOAP interface.
  • the charging system stores the payment relationship.
  • the charging system may save the payment relationship in the form of a table, as shown in Table 1.
  • the charging system returns a response message indicating that the payment relationship is successfully received to the provisioning device.
  • the provisioning device returns a successful response to the CRM device.
  • steps S208-S210 and the steps S212-S218 are not limited to the sequence, and the steps S212-S218 may be performed before the steps S208-S210 may be performed, or may be performed concurrently.
  • FIG. 3 is a schematic flowchart of canceling a payment relationship according to an embodiment of the present invention. As shown in FIG. 3, the cancellation process includes:
  • the CRM device receives a request to cancel a payment relationship, where the request carries an identifier of an account that needs to cancel the payment relationship.
  • the identifier of the account that needs to be cancelled includes the identifier of the payment account and the identifier of the consumer account.
  • the user can cancel the payment relationship in the CRM through the self-service channel or the business hall.
  • the CRM device sends a request to cancel the payment relationship to the provisioning device.
  • the CRM device can send a request to cancel the payment relationship to the provisioning device in a synchronized manner.
  • the synchronous interface of the CRM device and the provisioning device can also use the existing interface.
  • the provisioning device can also synchronize the request to cancel the payment relationship to the GGSN through the new SOAP interface.
  • the GGSN deletes the payment relationship corresponding to the identifier of the account carried in the cancellation request.
  • the GGSN returns a cancellation success response to the provisioning device.
  • the provisioning device sends a request for canceling the payment relationship to the charging system.
  • the provisioning device can also synchronize the request to cancel the payment relationship to the billing system through the new SOAP interface.
  • the charging system deletes the payment relationship corresponding to the identifier of the account carried in the cancellation request.
  • the billing system finds the identifier of the payment account and the identifier of the consumer account in the stored payment relationship, if the payment account has a purchasing relationship with the consumer account.
  • the charging system returns a cancellation success response to the provisioning device.
  • steps S304-S308 and the steps S310-S314 are not performed in the sequence, and the steps S310-S314 may be performed before the steps S304-S308 may be performed, or may be performed concurrently.
  • FIG. 4 is a flowchart of a method for sharing account resources according to an embodiment of the present invention. This method is applied to the GGSN. As shown in FIG. 4, the method includes:
  • the second account represents a payment account.
  • the GGSN may also send the charging request by using a standard structure CCR message.
  • the GGSN fills in the originator field of the service request (eg, the field Subscription-Id-Data) into the identifier of the second account in the CCR message of the standard structure.
  • the CCR message of the standard structure is used to carry the identifier of the second account, and the charging system is completely shielded from the charging process, so that the process is completely controlled by the network device GGSN, which is inconvenient for the charging system to calculate. Fee control.
  • the embodiment of the present invention may further carry the identifier of the first account in the charging request.
  • the identity of the first account can be used as a payment relationship authentication and/or as a billing reference.
  • the GGSN may extend an attribute-value pair (AVP) parameter in the CCR message, and carry the identifier of the second account with the extended AVP parameter.
  • AVP attribute-value pair
  • the identity of the first account is carried in the originator field of the service request (eg, field Subscription-Id-Data).
  • the Payment-SubscriberID is an identifier of the second account (ie, the identifier of the payment account), and may be an account that can be used in a charging system such as an IMSI, an IMEI, an MSISDN, or a card number of the payment card.
  • the Origin-SubscriberID is the identifier of the first account (ie, the identifier of the consumer account), and may be one or more of IMSI, IMEI or MSISDN.
  • the GGSN sends the charging request to the charging system to which the second account belongs.
  • the above embodiment is directed to the processing of the case where there is a payment relationship in which the second account is paid for the first account.
  • the GGSN sends a charging request to the charging system to which the first account initiating the charging request belongs.
  • the GGSN stored in the payment relationship may further include a valid time of the payment relationship between the first account and the second account, as shown in Table 1. Therefore, in step S402, the GGSN may, according to the identifier of the first account, search for the identifier of the second account that has a paying relationship with the first account from the pre-stored payment relationship, and the GGSN may include: The identification of the first account finds an identification of the second account having a valid payment relationship with the first account from a pre-stored payment relationship.
  • An effective pay relationship is a pay relationship that is within the effective time frame.
  • the GGSN may further delete the payment relationship between the first account and the second account.
  • the GGSN may further delete the payment relationship of the first account and the second account according to the received request to cancel the payment relationship of the first account and the second account.
  • FIG. 5 is a flowchart of a method for sharing account resources according to another embodiment of the present invention. The method is applied to a billing system. As shown in FIG. 5, the method includes:
  • the first account and the second account may belong to different charging systems.
  • the charging system in step S500 is a charging system to which the second account belongs.
  • the charging system uses the second account to perform charging for the service request initiated by the first account.
  • the control function for the payment relationship can be implemented in the billing system.
  • the billing system can be advanced Obtaining a payment relationship between the first account and the second account, and maintaining the payment relationship.
  • the payment relationship includes an identifier of the first account and an identifier of the second account.
  • the process of obtaining the payment relationship between the first account and the second account by the charging system refers to the method shown in FIG. 2, and details are not described herein again.
  • the identifier of the first account may be further carried in the charging request received by the charging system.
  • the identifier of the first account and the identifier of the second account in this embodiment reference may be made to the embodiment shown in FIG. 4, and details are not described herein again.
  • the charging system may perform the payment relationship authentication according to the identifier of the first account and the identifier of the second account carried in the charging request, and/or serve as a charging reference.
  • the charging system performs the payment relationship authentication according to the identifier of the first account and the identifier of the second account carried in the charging request, and may be performed before step S502. That is, before the step S502, the charging system may perform the authentication on the charging request according to the stored payment relationship, and determine the identifier and the second identifier of the first account carried in the charging request. The identification of the account satisfies the payment relationship.
  • the billing system may set different preferential policies for each consumer account having a binding relationship with the payment account or the billing system may charge the payment account with the rates or offers of the respective consumer accounts themselves. Therefore, the charging request can carry the identity of the first account for use as a charging reference.
  • the billing reference refers to determining rates, offers, and the like.
  • the charging system may determine a charging rate for the service request initiated by the first account according to the identifier of the first account, and determine a charging rate to perform charging in the second account.
  • the bill including the first account identifier and the second account identifier may be further generated.
  • the GGSN receives a service request request for using the data service initiated by the user equipment by using the first account.
  • the service request carries the identifier of the first account.
  • the GGSN searches, according to the identifier of the first account, an identifier of the second account that has a pay relationship with the first account from a pre-stored payment relationship.
  • This embodiment is described by taking the payment relationship of the first account and the second account as an example.
  • the charging process in the prior art can be performed, and details are not described herein again.
  • the GGSN initiates a charging request for the service request to a charging system to which the second account belongs.
  • the charging request is a CCR message, and the message type of the CCR message is Initial.
  • the extended AVR group carries the identifier of the first account and the identifier of the second account in the CCR message.
  • the charging system performs the payment relationship authentication according to the identifier of the first account carried in the charging request and the identifier of the second account.
  • the authentication process may include determining whether the identity of the first account and the identity of the second account have a pay relationship.
  • the billing system can further authenticate whether to allow multiple consumer accounts to be used simultaneously.
  • the charging system uses the second account to perform charging processing such as rating and reservation.
  • the embodiment of the present invention is described by taking an authentication as an example. If the authentication fails, the authentication failure is returned and the process is terminated.
  • the charging system returns a charging response indicating that the charging is successful to the GGSN.
  • the charging response may use a Credit Control Answer (CCA) message.
  • CCA Credit Control Answer
  • the charging response carries the authorization amount.
  • the GGSN After receiving the charging success response, the GGSN allows the user equipment to use the data service.
  • the GGSN initiates a charging update request to the charging system according to the usage of the authorized amount.
  • the charging update request may also adopt a CCR message, and the message type of the CCR message is Update.
  • the usage of the user is carried in the charging update request.
  • S616 After receiving the charging update request, the charging system performs charging processing such as deduction, approval, and reservation.
  • the charging system performs deduction according to the usage amount carried in the charging update request.
  • the charging system returns a charging response to the GGSN.
  • the charging response carries a new authorization amount.
  • step S614 to step S618 may be repeatedly executed in the process of using the data service by the user equipment until the user stops using or the balance is insufficient.
  • the GGSN receives a stop request for stopping the use of the data service from the user equipment.
  • the GGSN sends a charging termination request to the charging system.
  • the charging termination request may also adopt a CCR message, and the message type of the CCR message is Terminate.
  • the usage of the user is also carried in the billing termination request.
  • the charging system performs a chargeback and sends a charging termination response to the GGSN.
  • FIG. 7 is a schematic structural diagram of an apparatus 700 for sharing account resources according to an embodiment of the present invention.
  • the device may be a GGSN.
  • the device 700 includes:
  • the receiving module 701 is configured to receive a service request initiated by the user equipment by using the first account, where the service request carries the identifier of the first account.
  • the service module 702 is configured to search, according to the identifier of the first account, an identifier of the second account that has a payment relationship with the first account from a pre-stored payment relationship.
  • the control module 703 is configured to initiate, by the charging system to which the second account belongs, a charging request for the service request, where the charging request carries an identifier of the second account used for charging; After the charging from the charging system is successfully responded, the terminal is allowed to use the service.
  • the function of receiving the service request by the receiving module 701 can be implemented by using the prior art, and details are not described herein again.
  • the control module 703 can send a charging request through the Diameter protocol.
  • the charging control request (CCR) message in the Diameter protocol may be used to send a charging request to the charging system.
  • the charging request may further carry the identifier of the first account.
  • the identifier of the first account is used as a payment relationship authentication and/or used as a charging reference.
  • control module 703 may carry the attribute value pair AVP parameter extended in the charging request, and carry the identifier of the second account in the extended AVP parameter.
  • the receiving module 701 is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account.
  • the process of receiving the payment relationship by the receiving module 701 can refer to the embodiment shown in FIG. 2 .
  • the apparatus 700 may further include: a storage module 704, configured to store the payment relationship received by the receiving module 701.
  • the payment relationship may further include a valid time of the payment relationship between the first account and the second account.
  • the service module 702 is specifically configured to search, according to the identifier of the first account, an identifier of a second account that has a valid pay-off relationship with the first account from a pre-stored payment relationship.
  • the service module 702 is further configured to delete the payment relationship after the payment relationship between the first account and the second account is invalid.
  • the receiving module 701 is further configured to receive a request to cancel a payment relationship between the first account and the second account.
  • the process of receiving the cancellation request by the receiving module 701 may refer to the embodiment shown in FIG. 3.
  • the service module 702 is further configured to delete the payment relationship of the first account and the second account according to the request received by the receiving module to cancel the payment relationship of the first account and the second account.
  • deletion of the payment relationship according to the invalidation and the deletion of the payment relationship according to the cancellation request may exist simultaneously in the solution.
  • the device 700 maintains a payment relationship, and the device 700 sends the service request of the first account to the charging system of the second account, so that the charging system charges the service in the second account. Sharing between accounts across systems.
  • each module in the device 700 reference may be made to the method embodiment shown in FIG. 4, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of an apparatus 800 for sharing account resources according to an embodiment of the present invention.
  • the device can be a billing system.
  • the device 800 includes:
  • the receiving module 801 is configured to receive a charging request for a service request initiated by the first account, where the charging request carries an identifier of a second account for charging, where the second account and the first account have Payment relationship.
  • the charging module 802 is configured to perform charging for the service request initiated by the first account by using the second account.
  • the receiving module 801 can receive the charging request based on the Diameter protocol.
  • the received charging request may be a Credit Control Request (CCR) message in the Diameter protocol.
  • CCR Credit Control Request
  • the charging request may further carry the identifier of the first account.
  • the scalable attribute value in the charging request is for the AVP parameter
  • the identifier of the second account is carried in the extended AVP parameter.
  • the receiving module 801 is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account.
  • Receive mode The process by which block 801 receives the pay-as-you-go relationship can be referred to the embodiment shown in FIG. 2.
  • the apparatus 800 further includes: a storage module 803, configured to store the payment relationship received by the receiving module 801.
  • the charging module 802 may perform the payment relationship authentication according to the identifier of the first account and the identifier of the second account carried in the charging request, and/or serve as a charging reference. Specifically, the charging module 802 is configured to determine, according to the identifier of the first account, a charging rate for the service request initiated by the first account, to determine that the charging rate is performed in the second account. Billing.
  • the charging module 802 is further configured to perform the authentication on the charging request according to the stored payment relationship, and determine that the identifier of the first account and the identifier of the second account carried in the charging request are satisfied.
  • the payment relationship is further configured to perform the authentication on the charging request according to the stored payment relationship, and determine that the identifier of the first account and the identifier of the second account carried in the charging request are satisfied. The payment relationship.
  • the billing module 802 is further configured to generate a bill including the first account identifier and the second account identifier after the billing is completed.
  • FIG. 9 is a hardware structural diagram of a GGSN according to an embodiment of the present invention.
  • the GGSN includes a memory 91, a communication interface 92, a processor 93, and a bus 94.
  • the processor 93, the memory 91 and the communication interface 92 are communicatively connected via a bus 94.
  • Communication interface 92 is used to enable communication between the GGSN and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like.
  • the payment relationship and the service request may be received through the communication interface 92.
  • the memory 91 may be a storage medium such as a hard disk.
  • the memory 91 can be instructions of the program as well as application data.
  • the memory 91 stores a payment relationship.
  • the processor 93 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for running related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Bus 94 may include a path for communicating information between various components, such as processor 93, memory 91, and communication interface 92.
  • the processor 93 is configured to run the program instruction in the memory 91, and is configured to: receive a service request initiated by the user equipment by using the first account, where the service request carries the identifier of the first account. And searching, according to the identifier of the first account, an identifier of a second account having a payment relationship with the first account from a pre-stored payment relationship; and initiating, for the charging system to which the second account belongs a charging request for a service request, the charging request carrying a second account for charging The identity of the user; after receiving the charging success response from the charging system, allowing the terminal to use the service.
  • the specific processing procedure of the processor 93 can be referred to the method embodiment part shown in FIG. 4 and FIG. 6, and details are not described herein again.
  • FIG. 10 is a hardware structural diagram of a charging system according to an embodiment of the present invention.
  • the billing system includes a memory 101, a communication interface 102, a processor 103, and a bus 104.
  • the processor 103, the memory 101 and the communication interface 102 are communicatively connected via a bus 104.
  • Communication interface 102 is used to enable communication between the billing system and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like.
  • the payment relationship and the charging request may be received through the communication interface 102.
  • the memory 101 may be a storage medium such as a hard disk.
  • the memory 101 can be instructions of the program as well as application data.
  • the memory 101 stores a payment relationship.
  • the processor 103 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for running related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Bus 104 may include a path for communicating information between various components, such as processor 103, memory 101, and communication interface 102.
  • the processor 103 is configured to run the program instruction in the memory 101, and is configured to: receive a charging request for a service request initiated by the first account; and the charging request carries the charging The identifier of the second account, the second account has a payment relationship with the first account; and the second account is used to charge the service request initiated by the first account.
  • the specific processing procedure of the processor 103 may refer to the method embodiment part shown in FIG. 5 and FIG. 6, and details are not described herein again.

Abstract

Disclosed in the present invention are a method and device for account resource sharing, the method comprising: receiving a service request initiated by a user terminal with a first account, wherein the service request carries an identifier of the first account; searching, from a pre-stored payment relationship, an identifier of a second account having a payment relationship with the first account according to the identifier of the first account; initiating to a charging system to which the second account belongs a charging request for the service request, wherein the charging request carries the identifier of the second account used for charging; and after receiving a charging success response from the charging system, allowing the terminal to use the service.

Description

一种账户资源共享的方法和装置Method and device for sharing account resources
本申请要求于2015年6月30日提交中国专利局、申请号为201510376580.9,发明名称为“一种账户资源共享的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201510376580.9, entitled "A Method and Apparatus for Sharing Account Resources" on June 30, 2015, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及通信技术领域,特别涉及一种账户资源共享的方法和装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for sharing account resources.
背景技术Background technique
在通信日益发达的今天,套餐资源共享的需求也日益增加。目前,计费系统中的套餐资源共享是通过主副卡的方式来实现的。由于主副卡的关系需要维护在同一个计费系统中,因此,该方式无法实现跨计费系统的账户间的套餐资源共享。In today's increasingly developed communications, the demand for package resource sharing is also increasing. Currently, the sharing of package resources in the billing system is implemented by means of a primary and secondary card. Since the relationship between the primary and secondary cards needs to be maintained in the same charging system, this method cannot share the sharing of resources between accounts of the accounting system.
发明内容Summary of the invention
本发明实施例提供一种账户资源共享的方法和装置,以实现跨计费系统的账户资源共享。Embodiments of the present invention provide a method and apparatus for sharing account resources to implement account resource sharing across a billing system.
第一方面,本发明实施例提供一种账户资源共享的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for sharing account resources, where the method includes:
GGSN接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识;Receiving, by the GGSN, a service request initiated by the user equipment by using the first account, where the service request carries an identifier of the first account;
所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识;Determining, by the GGSN, an identifier of a second account having a payment relationship with the first account from a pre-stored payment relationship according to the identifier of the first account;
所述GGSN向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账户的标识;The GGSN initiates a charging request for the service request to the charging system to which the second account belongs, where the charging request carries an identifier of the second account used for charging;
所述GGSN在接收到来自所述计费系统的计费成功响应后,允许所述终端使用所述业务。After receiving the charging success response from the charging system, the GGSN allows the terminal to use the service.
在第一方面的第一种可能的实现方式中,在所述GGSN接收以第一账户发起的业务请求前,所述方法还包括:In a first possible implementation manner of the first aspect, before the GGSN receives the service request initiated by the first account, the method further includes:
所述GGSN接收所述第一账户与所述第二账户的代付关系,所述代付关系中 包括所述第一账户的标识和所述第二账户的标识;Receiving, by the GGSN, a payment relationship between the first account and the second account, where the payment relationship is Including an identifier of the first account and an identifier of the second account;
所述GGSN存储所述代付关系。The GGSN stores the payment relationship.
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述代付关系中还包括所述第一账户与所述第二账户的代付关系的有效时间;In conjunction with the first aspect or the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the payment relationship further includes the first account and the second account Effective time of the payment relationship;
所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识,具体包括:The GGSN searches for the identifier of the second account that has a payment relationship with the first account from the pre-stored payment relationship according to the identifier of the first account, and specifically includes:
所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有有效代付关系的第二账户的标识。The GGSN searches for an identifier of the second account having a valid pay-as-you-go relationship with the first account from the pre-stored payment relationship according to the identifier of the first account.
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述方法还包括:In conjunction with the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the method further includes:
所述GGSN在所述第一账户与所述第二账户的代付关系失效后,删除所述代付关系。After the GGSN fails to perform the payment relationship between the first account and the second account, the GGSN deletes the payment relationship.
结合第一方面或第一方面的第一至第二种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:所述GGSN接收取消所述第一账户和所述第二账户的代付关系的请求,根据所述请求删除所述第一账户和所述第二账户的代付关系。With reference to the first aspect or the first to second possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes: receiving, by the GGSN, canceling the first account And a request for a payment relationship with the second account, and deleting a payment relationship between the first account and the second account according to the request.
结合第一方面或第一方面的第一至第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述计费请求中还携带所述第一账户的标识;其中,所述第一账户的标识用作代付关系鉴权和/或用作计费参考。With reference to the first aspect or the first to fourth possible implementation manners of the first aspect, in the fifth possible implementation manner of the first aspect, the charging request further carries an identifier of the first account; The identifier of the first account is used as a payment relationship authentication and/or used as a charging reference.
结合第一方面或第一方面的第一至第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述方法还包括:在所述计费请求中扩展属性值对AVP参数,以扩展的AVP参数来携带所述第二账户的标识。With reference to the first aspect or the first to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes: extending an attribute value in the charging request For the AVP parameter, the identifier of the second account is carried by the extended AVP parameter.
第二方面,本发明实施例提供一种账户资源共享的方法,所述方法包括:In a second aspect, an embodiment of the present invention provides a method for sharing account resources, where the method includes:
计费系统接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系;The charging system receives a charging request for a service request initiated by the first account; the charging request carries an identifier of a second account for charging, and the second account has a payment relationship with the first account ;
计费系统采用所述第二账户对所述第一账户发起的业务请求进行计费。The charging system uses the second account to charge the service request initiated by the first account.
在第二方面的第一种可能的实现方式中,所述方法还包括:In a first possible implementation manner of the second aspect, the method further includes:
所述计费系统接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识; The charging system receives a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account;
所述计费系统存储所述代付关系。The billing system stores the pay-as-you-go relationship.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述计费请求中还携带所述第一账户的标识。In conjunction with the first possible implementation of the second aspect, in a second possible implementation manner of the second aspect, the charging request further carries an identifier of the first account.
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述计费系统采用所述第二账户对所述第一账户发起的业务请求进行计费前,所述方法还包括:In conjunction with the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the charging system uses the second account to calculate a service request initiated by the first account. Before the fee, the method further includes:
所述计费系统根据存储的所述代付关系对所述计费请求进行鉴权,确定所述计费请求中携带的所述第一账户的标识和第二账户的标识满足所述代付关系。The charging system authenticates the charging request according to the stored payment relationship, and determines that the identifier of the first account and the identifier of the second account carried in the charging request satisfy the payment relationship.
结合第二方面的第二至第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述计费系统采用所述第二账户对所述第一账户发起的业务请求进行计费具体包括:With reference to the second to third possible implementation manners of the second aspect, in a fourth possible implementation manner of the second aspect, the charging system adopts the service initiated by the second account to the first account The request for billing specifically includes:
所述计费系统根据所述第一账户的标识确定针对所述第一账户发起的业务请求的计费费率,以确定出的计费费率在所述第二账户中进行计费。The charging system determines a charging rate for the service request initiated by the first account according to the identifier of the first account, and determines a charging rate to perform charging in the second account.
结合第二方面或第二方面的第一至第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述计费请求中包括扩展的属性值对AVP参数,所述第二账户的标识携带在扩展的所述AVP参数中。With reference to the second aspect or the first to fourth possible implementation manners of the second aspect, in the fifth possible implementation manner of the second aspect, the charging request includes an extended attribute value pair AVP parameter, where The identifier of the second account is carried in the extended AVP parameter.
结合第二方面或第二方面的第一至第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述方法还包括:With reference to the second aspect or the first to fifth possible implementation manners of the second aspect, in a sixth possible implementation manner of the second aspect, the method further includes:
计费系统产生包括所述第一账户标识和所述第二账户标识的话单。The billing system generates a bill including the first account identifier and the second account identifier.
第三方面,本发明实施例提供一种账户资源共享的装置,所述装置包括:In a third aspect, an embodiment of the present invention provides an apparatus for sharing account resources, where the apparatus includes:
接收模块,用于接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识;a receiving module, configured to receive a service request initiated by the user equipment by using the first account, where the service request carries an identifier of the first account;
业务模块,用于根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识;a service module, configured to search, according to the identifier of the first account, an identifier of a second account that has a payment relationship with the first account from a pre-stored payment relationship;
控制模块,用于向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账户的标识;并在接收到来自所述计费系统的计费成功响应后,允许所述终端使用所述业务。a control module, configured to initiate, by the charging system to which the second account belongs, a charging request for the service request, where the charging request carries an identifier of a second account used for charging; After the charging of the charging system is successfully responded, the terminal is allowed to use the service.
在第三方面的第一种可能的实现方式中,接收模块还用于接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所 述第二账户的标识;In a first possible implementation manner of the third aspect, the receiving module is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account And Describe the identity of the second account;
所述装置还包括:The device also includes:
存储模块,用于存储所述接收模块接收的所述代付关系。And a storage module, configured to store the payment relationship received by the receiving module.
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述代付关系中还包括所述第一账户与所述第二账户的代付关系的有效时间;With reference to the third aspect, or the first possible implementation manner of the third aspect, in the second possible implementation manner of the third aspect, the first account and the second account are further included in the payment relationship Effective time of the payment relationship;
所述业务模块具体用于根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有有效代付关系的第二账户的标识。The service module is specifically configured to search, according to the identifier of the first account, an identifier of a second account that has a valid pay-off relationship with the first account from a pre-stored payment relationship.
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述业务模块还用于在所述第一账户与所述第二账户的代付关系失效后,删除所述代付关系。In conjunction with the second possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the service module is further configured to perform a payment relationship between the first account and the second account. After the failure, the payment relationship is deleted.
结合第三方面或第三方面的第一至第二种可能的实现方式,在第三方面的第四种可能的实现方式中,所述接收模块还用于接收取消所述第一账户和所述第二账户的代付关系的请求;With the third aspect or the first to second possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, the receiving module is further configured to receive and cancel the first account and the a request for a payment relationship of the second account;
所述业务模块还用于根据所述接收模块接收到的取消所述第一账户和所述第二账户的代付关系的请求删除所述第一账户和所述第二账户的代付关系。The service module is further configured to delete the payment relationship of the first account and the second account according to the request received by the receiving module to cancel the payment relationship of the first account and the second account.
结合第三方面或第三方面的第一至第四种可能的实现方式,在第三方面的第五种可能的实现方式中,所述计费请求中还携带所述第一账户的标识;其中,所述第一账户的标识用作代付关系鉴权和/或用作计费参考。With the third aspect or the first to fourth possible implementation manners of the third aspect, in a fifth possible implementation manner of the third aspect, the charging request further carries an identifier of the first account; The identifier of the first account is used as a payment relationship authentication and/or used as a charging reference.
结合第三方面或第三方面的第一至第五种可能的实现方式,在第三方面的第六种可能的实现方式中,所述控制模块还用于在所述计费请求中扩展属性值对AVP参数,以扩展的AVP参数来携带所述第二账户的标识。With reference to the third aspect or the first to fifth possible implementation manners of the third aspect, in a sixth possible implementation manner of the third aspect, the control module is further configured to extend an attribute in the charging request The value pair AVP parameter carries the identifier of the second account with the extended AVP parameter.
第四方面,本发明实施例提供一种账户资源共享的装置,所述装置包括:接收模块,用于接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系;In a fourth aspect, an embodiment of the present invention provides an apparatus for sharing account resources, where the apparatus includes: a receiving module, configured to receive a charging request for a service request initiated by a first account; and the charging request is carried in the charging request An identifier of the second account that is billed, and the second account has a payment relationship with the first account;
计费模块,用于采用所述第二账户对所述第一账户发起的业务请求进行计费。The charging module is configured to perform charging for the service request initiated by the first account by using the second account.
在第四方面的第一种可能的实现方式中,所述接收模块还用于接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识 和所述第二账户的标识;In a first possible implementation manner of the fourth aspect, the receiving module is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes the first account Identification And an identification of the second account;
所述装置还包括:The device also includes:
存储模块,用于存储所述代付关系。a storage module, configured to store the payment relationship.
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述计费请求中还携带所述第一账户的标识。In conjunction with the first possible implementation of the fourth aspect, in a second possible implementation manner of the fourth aspect, the charging request further carries an identifier of the first account.
结合第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述计费模块具体用于根据所述第一账户的标识确定针对所述第一账户发起的业务请求的计费费率,以确定出的计费费率在所述第二账户中进行计费。In conjunction with the second possible implementation of the fourth aspect, in a third possible implementation manner of the fourth aspect, the charging module is specifically configured to determine, according to the identifier of the first account, the first account The billing rate of the initiated service request, and the determined billing rate is charged in the second account.
结合第四方面第二至第三种可能的实现方式,在第四方面的第四种可能的实现方式中,所述计费模块还用于根据存储的所述代付关系对所述计费请求进行鉴权,确定所述计费请求中携带的所述第一账户的标识和第二账户的标识满足所述代付关系。With reference to the second to third possible implementation manners of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the charging module is further configured to perform the charging according to the stored payment relationship The requesting is performed to determine that the identifier of the first account and the identifier of the second account carried in the charging request satisfy the payment relationship.
结合第四方面或第二方面的第一至第四种可能的实现方式,在第四方面的第五种可能的实现方式中所述计费请求中包括扩展的属性值对AVP参数,所述第二账户的标识携带在扩展的所述AVP参数中。With reference to the fourth aspect, or the first to fourth possible implementation manners of the second aspect, in the fifth possible implementation manner of the fourth aspect, the charging request includes an extended attribute value pair AVP parameter, where The identity of the second account is carried in the extended AVP parameters.
结合第四方面或第二方面的第一至第五种可能的实现方式,在第四方面的第六种可能的实现方式中,所述计费模块还用于产生包括所述第一账户标识和所述第二账户标识的话单。With reference to the fourth aspect or the first to fifth possible implementation manners of the second aspect, in a sixth possible implementation manner of the fourth aspect, the charging module is further configured to generate the first account identifier And the CDR of the second account identifier.
在上述实施例中,由GGSN保存代付关系,通过GGSN将第一账户的业务请求发送到第二账户归属的计费系统,使计费系统在第二账户中对该业务进行计费,实现了在跨系统的账户间的共享。In the above embodiment, the GGSN saves the payment relationship, and the GGSN sends the service request of the first account to the charging system of the second account, so that the charging system charges the service in the second account. Sharing between accounts across systems.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的实现账户资源共享的网络架构图;1 is a network architecture diagram for implementing account resource sharing according to an embodiment of the present invention;
图2是本发明实施例提供的注册代付关系的流程示意图; 2 is a schematic flowchart of a registration payment relationship according to an embodiment of the present invention;
图3是本发明实施例提供的取消代付关系的流程示意图;3 is a schematic flowchart of canceling a payment relationship according to an embodiment of the present invention;
图4是本发明实施例提供的账户资源共享的方法流程图;4 is a flowchart of a method for sharing account resources according to an embodiment of the present invention;
图5是本发明另一实施例提供的账户资源共享的方法流程图;FIG. 5 is a flowchart of a method for sharing account resources according to another embodiment of the present invention; FIG.
图6是本发明另一实施例提供的账户资源共享的方法流程图;FIG. 6 is a flowchart of a method for sharing account resources according to another embodiment of the present invention; FIG.
图7是本发明实施例提供的实现账户资源共享的装置的结构示意图;FIG. 7 is a schematic structural diagram of an apparatus for implementing account resource sharing according to an embodiment of the present invention;
图8是本发明另一实施例提供的实现账户资源共享的装置的结构示意图;FIG. 8 is a schematic structural diagram of an apparatus for implementing account resource sharing according to another embodiment of the present invention; FIG.
图9是本发明实施例提供的GGSN的结构示意图;9 is a schematic structural diagram of a GGSN according to an embodiment of the present invention;
图10是本发明实施例提供的计费系统的结构示意图。FIG. 10 is a schematic structural diagram of a charging system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明实施例提供的实现账户资源共享的网络架构图。如图1所示,该网络架构包括:客户关系管理(customer relationship management,CRM)设备、开通设备(Provis ioning)、网关通用分组无线业务(general packet radio service,GPRS)支撑节点(gateway GPRS support node,GGSN)以及计费系统。FIG. 1 is a network architecture diagram of implementing account resource sharing according to an embodiment of the present invention. As shown in FIG. 1 , the network architecture includes: customer relationship management (CRM) equipment, provisioning equipment (Provis ioning), and gateway general packet radio service (GPRS) support node (gateway GPRS support node). , GGSN) and billing system.
其中,CRM设备用于对账户的代付关系进行注册,并通过开通设备将注册的代付关系分别发送给GGSN和计费系统。The CRM device is configured to register the payment relationship of the account, and send the registered payment relationship to the GGSN and the charging system respectively through the activation device.
开通设备可用于对消息进行适配转发。本发明实施例中,开通设备用于在CRM设备与GGSN之间,以及在CRM设备和计费系统之间进行消息转发。具体的,开通设备可将CRM设备中注册的代付关系分别转发给GGSN和计费系统,并将GGSN和计费系统返回的响应消息转发给CRM设备。The provisioning device can be used to forward and forward messages. In the embodiment of the present invention, the provisioning device is used for message forwarding between the CRM device and the GGSN, and between the CRM device and the charging system. Specifically, the provisioning device may forward the payment relationship registered in the CRM device to the GGSN and the charging system, respectively, and forward the response message returned by the GGSN and the charging system to the CRM device.
GGSN用于接收用户设备以第一账户发起的业务请求,并针对接收到的业务请求发起计费请求到计费系统,按照计费系统返回的计费响应控制用户设备对业务的使用。本发明实施例中,GGSN中存储有从来自CRM设备的代付关系。GGSN在接收到业务请求后,根据该代付关系判断是否存在与第一账号具有代付关系的第二账号。如果存在,则GGSN将计费请求发给第二账户归属的计费系统,并 在计费请求中携带第二账号的标识,指示计费系统采用第二账户进行计费。如果不存在,则GGSN将计费请求发给第一账户归属的计费系统,并在计费请求中携带第一账号的标识,指示计费系统采用第一账户进行计费。The GGSN is configured to receive a service request initiated by the user equipment by using the first account, and initiate a charging request to the charging system for the received service request, and control the usage of the service by the user equipment according to the charging response returned by the charging system. In the embodiment of the present invention, the GGSN stores a payment relationship from the CRM device. After receiving the service request, the GGSN determines, according to the payment relationship, whether there is a second account with a payment relationship with the first account. If yes, the GGSN sends a charging request to the charging system to which the second account belongs, and The charging request carries the identifier of the second account, and the charging system is instructed to use the second account for charging. If not, the GGSN sends the charging request to the charging system to which the first account belongs, and carries the identifier of the first account in the charging request, instructing the charging system to use the first account for charging.
计费系统用于根据接收到的计费请求进行计费。其中,计费系统包括在线计费系统(online charging control,OCS)或融合计费系统(convergent billing system,CBS)等具有计费功能的系统。The billing system is configured to perform billing according to the received billing request. The billing system includes a system with a charging function such as an online charging control (OCS) or a convergent billing system (CBS).
GGSN与计费系统之间可以使用Diameter协议进行通信。The Diameter protocol can be used for communication between the GGSN and the billing system.
基于上述网络架构,下面分别通过图2和图3对注册代付关系的流程以及取消代付关系的流程做详细说明。Based on the above network architecture, the flow of the registration payment relationship and the process of canceling the payment relationship will be described in detail below through FIG. 2 and FIG. 3, respectively.
图2为本发明实施例提供的注册代付关系的流程示意图,如图2所示,该注册过程包括:2 is a schematic flowchart of a registration and payment relationship according to an embodiment of the present invention. As shown in FIG. 2, the registration process includes:
S200,CRM设备接收要注册代付关系的账户的标识。其中,要注册代付关系的账户中包括支付账户以及共享该支付账户的套餐资源的消费账户。S200. The CRM device receives an identifier of an account to be registered for a payment relationship. Wherein, the account to be registered for the payment relationship includes a payment account and a consumption account sharing the package resource of the payment account.
具体的,用户可通过自助渠道或营业厅在CRM中注册一个支付账户与其它一个或多个消费账户的代付关系,使该支付账户的套餐资源可以共享给与其具有代付关系的消费账户使用。其中,账户资源具体可以是该账户可使用的套餐资源,比如,流量套餐。Specifically, the user can register a payment account with a payment relationship of one or more other consumer accounts in the CRM through the self-service channel or the business hall, so that the package resource of the payment account can be shared with the consumer account having the payment relationship with the payment account. . The account resource may specifically be a package resource that can be used by the account, for example, a data package.
S202,CRM在本地建立要注册的各账户间的代付关系。S202. The CRM locally establishes a payment relationship between the accounts to be registered.
该代付关系中包括支付账户的标识以及与该支付账户的标识相对应的消费账户的标识。可选的,代付关系中还可以包括有效时间,该有效时间可通过生效时间和失效时间两个字段来表示。如表1所示,表1为该代付关系的一种示意。The payment relationship includes an identification of the payment account and an identification of the consumer account corresponding to the identification of the payment account. Optionally, the payment relationship may further include a valid time, where the valid time may be represented by two fields: an effective time and an expiration time. As shown in Table 1, Table 1 is an illustration of the pay relationship.
表1Table 1
Figure PCTCN2016080251-appb-000001
Figure PCTCN2016080251-appb-000001
其中,支付账户和消费账户的标识可以是国际移动用户识别码(international mobile subscriber identity,IMSI),国际移动设备标识 (international mobile equipment identity,IMEI),移动台国际ISDN号码(mobile station international ISDN number,MSISDN)中的一种或多种。The identifier of the payment account and the consumption account may be an international mobile subscriber identity (IMSI), an international mobile device identity. (international mobile equipment identity, IMEI), one or more of mobile station international ISDN numbers (MSISDN).
S204,CRM设备将代付关系发送给开通设备。S204. The CRM device sends the payment relationship to the provisioning device.
具体的,CRM可发起同步消息,将代付关系同步到开通设备。该同步操作可采用CRM与开通设备间现有的同步接口来实现。Specifically, the CRM may initiate a synchronization message to synchronize the payment relationship to the provisioning device. This synchronization operation can be implemented by using an existing synchronization interface between the CRM and the provisioning device.
S206,开通设备将代付关系发送给GGSN。S206. The provisioning device sends the payment relationship to the GGSN.
开通设备可新增简单对象访问协议(Simple Object Access Protocol,SOAP)接口,通过该SOAP接口将代付关系同步到GGSN。The provisioning device can add a Simple Object Access Protocol (SOAP) interface, through which the payment relationship is synchronized to the GGSN.
S208,GGSN存储该代付关系。S208. The GGSN stores the payment relationship.
具体的,GGSN可以采用表的形式来保存该代付关系,如表1所示。Specifically, the GGSN may save the payment relationship in the form of a table, as shown in Table 1.
S210,GGSN向开通设备返回表示成功接收所述代付关系的响应消息。S210. The GGSN returns a response message indicating that the payment relationship is successfully received to the enabled device.
S212,开通设备将代付关系发送给计费系统。S212. The activation device sends the payment relationship to the charging system.
开通设备可新增SOAP接口,通过该SOAP接口将代付关系同步到计费系统。The provisioning device can add a SOAP interface, and the payment relationship is synchronized to the charging system through the SOAP interface.
S214,计费系统存储该代付关系。S214. The charging system stores the payment relationship.
具体的,计费系统可以采用表的形式来保存该代付关系,如表1所示。Specifically, the charging system may save the payment relationship in the form of a table, as shown in Table 1.
S216,计费系统向开通设备返回表示成功接收所述代付关系的响应消息。S216. The charging system returns a response message indicating that the payment relationship is successfully received to the provisioning device.
S218,开通设备向CRM设备返回成功响应。S218. The provisioning device returns a successful response to the CRM device.
需要说明的是,上述步骤S208-S210与步骤S212-S218之间没有执行先后顺序的限定,也可以先执行步骤S212-S218再执行步骤S208-S210,或者可以并发执行。It should be noted that the steps S208-S210 and the steps S212-S218 are not limited to the sequence, and the steps S212-S218 may be performed before the steps S208-S210 may be performed, or may be performed concurrently.
图3为本发明实施例提供的取消代付关系的流程示意图,如图3所示,该取消过程包括:FIG. 3 is a schematic flowchart of canceling a payment relationship according to an embodiment of the present invention. As shown in FIG. 3, the cancellation process includes:
S300,CRM设备接收要取消代付关系的请求,该请求中携带需要取消代付关系的账户的标识。其中,需要取消的账户的标识包括支付账户的标识和消费账户的标识。S300. The CRM device receives a request to cancel a payment relationship, where the request carries an identifier of an account that needs to cancel the payment relationship. The identifier of the account that needs to be cancelled includes the identifier of the payment account and the identifier of the consumer account.
具体的,用户可通过自助渠道或营业厅在CRM中取消代付关系。Specifically, the user can cancel the payment relationship in the CRM through the self-service channel or the business hall.
S302,CRM设备发送取消代付关系的请求到开通设备。S302. The CRM device sends a request to cancel the payment relationship to the provisioning device.
CRM设备可以通过同步的方式将取消代付关系的请求发送到开通设备。CRM设备与开通设备的同步接口同样可以采用现有接口。The CRM device can send a request to cancel the payment relationship to the provisioning device in a synchronized manner. The synchronous interface of the CRM device and the provisioning device can also use the existing interface.
S304,开通设备发送取消代付关系的请求到GGSN。 S304. The provisioning device sends a request to cancel the payment relationship to the GGSN.
开通设备同样可以通过新增的SOAP接口,将取消代付关系的请求同步到GGSN。The provisioning device can also synchronize the request to cancel the payment relationship to the GGSN through the new SOAP interface.
S306,GGSN删除包含取消请求中携带的账户的标识所对应的代付关系。S306. The GGSN deletes the payment relationship corresponding to the identifier of the account carried in the cancellation request.
GGSN在存储的代付关系中找到需要取消支付账户的标识和消费账户的标识,如果该支付账户与消费账户的代购关系。The GGSN finds the identifier of the payment account and the identifier of the consumer account in the stored payment relationship, if the payment account has a purchasing relationship with the consumer account.
S308,GGSN向开通设备返回取消成功响应。S308. The GGSN returns a cancellation success response to the provisioning device.
S310,开通设备发送取消代付关系的请求到计费系统。S310. The provisioning device sends a request for canceling the payment relationship to the charging system.
开通设备同样可以通过新增的SOAP接口,将取消代付关系的请求同步到计费系统。The provisioning device can also synchronize the request to cancel the payment relationship to the billing system through the new SOAP interface.
S312,计费系统删除包含取消请求中携带的账户的标识所对应的代付关系。S312. The charging system deletes the payment relationship corresponding to the identifier of the account carried in the cancellation request.
计费系统在存储的代付关系中找到需要取消支付账户的标识和消费账户的标识,如果该支付账户与消费账户的代购关系。The billing system finds the identifier of the payment account and the identifier of the consumer account in the stored payment relationship, if the payment account has a purchasing relationship with the consumer account.
S314,计费系统向开通设备返回取消成功响应。S314. The charging system returns a cancellation success response to the provisioning device.
S316,开通设备向CRM设备返回取消成功响应。S316. The provisioning device returns a cancellation success response to the CRM device.
需要说明的是,上述步骤S304-S308与步骤S310-S314之间没有执行先后顺序的限定,也可以先执行步骤S310-S314再执行步骤S304-S308,或者可以并发执行。It should be noted that the steps S304-S308 and the steps S310-S314 are not performed in the sequence, and the steps S310-S314 may be performed before the steps S304-S308 may be performed, or may be performed concurrently.
下面分别通过图4和图5对账户资源共享的流程做详细的说明。The flow of account resource sharing will be described in detail below through FIG. 4 and FIG. 5 respectively.
图4为本发明实施例提供的账户资源共享的方法流程图。该方法应用于GGSN中。如图4所示,该方法包括:FIG. 4 is a flowchart of a method for sharing account resources according to an embodiment of the present invention. This method is applied to the GGSN. As shown in FIG. 4, the method includes:
S400,GGSN接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识。S400. The GGSN receives a service request initiated by the user equipment by using the first account, where the service request carries the identifier of the first account.
其中,该业务请求可以是使用数据业务的请求,比如,用户设备的上网请求。The service request may be a request for using a data service, for example, an online request of a user equipment.
需要说明的是,本发明所有实施例中,第一账户代表的是消费账户。It should be noted that, in all embodiments of the present invention, the first account represents a consumer account.
S402,GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识。S402. The GGSN searches for an identifier of the second account that has a paying relationship with the first account from the pre-stored payment relationship according to the identifier of the first account.
GGSN可以预先获取所述第一账户与所述第二账户的代付关系,并保持该代付关系。代付关系中包括所述第一账户的标识和所述第二账户的标识。其中,GGSN获取所述第一账户与所述第二账户的代付关系的过程参考图2所示的方 法,这里不再赘述。The GGSN may acquire the payment relationship of the first account and the second account in advance, and maintain the payment relationship. The payment relationship includes an identifier of the first account and an identifier of the second account. The process of obtaining the payment relationship between the first account and the second account by the GGSN refers to the method shown in FIG. Law, no more details here.
需要说明的是,本发明所有实施例中,第二账户代表的是支付账户。It should be noted that, in all embodiments of the present invention, the second account represents a payment account.
S404,GGSN向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账户的标识。S404. The GGSN initiates a charging request for the service request to the charging system to which the second account belongs, where the charging request carries an identifier of the second account used for charging.
GGSN与计费系统之间的通信可以基于Diameter协议。具体的,GGSN可以使用信用控制请求(Credit Control Request,CCR)消息向计费系统发送计费请求。The communication between the GGSN and the billing system can be based on the Diameter protocol. Specifically, the GGSN may send a charging request to the charging system by using a Credit Control Request (CCR) message.
其中,GGSN也可以采用标准结构的CCR消息来发送该计费请求。GGSN在该标准结构的CCR消息中将业务请求的发起方字段(如,字段Subscription-Id-Data)填写为第二账户的标识。The GGSN may also send the charging request by using a standard structure CCR message. The GGSN fills in the originator field of the service request (eg, the field Subscription-Id-Data) into the identifier of the second account in the CCR message of the standard structure.
需要说明的是,采用标准结构的CCR消息来携带第二账户的标识,会对计费系统完全屏蔽掉代付的过程,使得该过程完全由网络设备GGSN来控制,不便于计费系统进行计费控制。It should be noted that the CCR message of the standard structure is used to carry the identifier of the second account, and the charging system is completely shielded from the charging process, so that the process is completely controlled by the network device GGSN, which is inconvenient for the charging system to calculate. Fee control.
因此,本发明实施例还可以在计费请求中进一步携带第一账户的标识。该第一账户的标识可用作代付关系鉴权和/或用作计费参考。在此情况下,GGSN可以在CCR消息中扩展属性值对(attribute-value pair,AVP)参数,以扩展的AVP参数来携带所述第二账户的标识。第一账户的标识则携带在业务请求的发起方字段(如,字段Subscription-Id-Data)中。Therefore, the embodiment of the present invention may further carry the identifier of the first account in the charging request. The identity of the first account can be used as a payment relationship authentication and/or as a billing reference. In this case, the GGSN may extend an attribute-value pair (AVP) parameter in the CCR message, and carry the identifier of the second account with the extended AVP parameter. The identity of the first account is carried in the originator field of the service request (eg, field Subscription-Id-Data).
可选的,GGSN在计费请求中扩展的AVP参数可以是一个AVP组,第一账户的标识也可以携带在扩展的AVP组中,这样计费系统可以直接从扩展的AVP参数获知本次计费请求是第二账户为第一账户代付,不用解析其它字段,提高计费系统的处理效率。其中,扩展的AVP组举例如下:Optionally, the AVP parameter extended by the GGSN in the charging request may be an AVP group, and the identifier of the first account may also be carried in the extended AVP group, so that the charging system can directly learn the current AVP parameter. The fee request is that the second account is paid for the first account, and no other fields are parsed to improve the processing efficiency of the billing system. Among them, the extended AVP group is as follows:
CCR消息扩展AVP组Subscriber-ID Group:CCR message extension AVP group Subscriber-ID Group:
|-----Payment-SubscriberID|-----Payment-SubscriberID
|-----Origin-SubscriberID|-----Origin-SubscriberID
其中,Payment-SubscriberID为第二账户的标识(即支付账户的标识),可以是IMSI,IMEI,MSISDN或者支付卡的卡号等计费系统中可使用的账户。The Payment-SubscriberID is an identifier of the second account (ie, the identifier of the payment account), and may be an account that can be used in a charging system such as an IMSI, an IMEI, an MSISDN, or a card number of the payment card.
Origin-SubscriberID为第一账户的标识(即消费账户的标识),可以是IMSI,IMEI或MSISDN中的一种或多种。The Origin-SubscriberID is the identifier of the first account (ie, the identifier of the consumer account), and may be one or more of IMSI, IMEI or MSISDN.
S406,GGSN在接收到来自所述计费系统的计费成功响应后,允许所述终端 使用所述业务。S406. After receiving the charging success response from the charging system, the GGSN allows the terminal. Use the business.
需要说明的是,第一账户和第二账户可以位于不同的计费系统。在步骤S404中,GGSN是将计费请求发送到第二账户归属的计费系统中。上述实施例针对存在第二账户为第一账户代付的代付关系的情况的处理过程。对于不存在该代付关系的情况,GGSN则将计费请求发送到发起计费请求的第一账户所归属的计费系统。It should be noted that the first account and the second account may be located in different charging systems. In step S404, the GGSN sends the charging request to the charging system to which the second account belongs. The above embodiment is directed to the processing of the case where there is a payment relationship in which the second account is paid for the first account. For the case where the payment relationship does not exist, the GGSN sends a charging request to the charging system to which the first account initiating the charging request belongs.
在上述实施例中,由GGSN保存代付关系,通过GGSN将第一账户的业务请求发送到第二账户归属的计费系统,使计费系统在第二账户中对该业务进行计费,实现了在跨系统的账户间的共享。In the above embodiment, the GGSN saves the payment relationship, and the GGSN sends the service request of the first account to the charging system of the second account, so that the charging system charges the service in the second account. Sharing between accounts across systems.
更进一步的,GGSN存储的代付关系中还可以进一步的包括第一账户与第二账户的代付关系的有效时间,如表1所示。因此,步骤S402中,GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识具体可以包括:所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有有效代付关系的第二账户的标识。有效代付关系是指处于有效时间范围内的代付关系。Further, the GGSN stored in the payment relationship may further include a valid time of the payment relationship between the first account and the second account, as shown in Table 1. Therefore, in step S402, the GGSN may, according to the identifier of the first account, search for the identifier of the second account that has a paying relationship with the first account from the pre-stored payment relationship, and the GGSN may include: The identification of the first account finds an identification of the second account having a valid payment relationship with the first account from a pre-stored payment relationship. An effective pay relationship is a pay relationship that is within the effective time frame.
在第一账户与第二账户的代付关系失效后,GGSN还可以进一步删除第一账户与第二账户的代付关系。After the payment relationship between the first account and the second account is invalidated, the GGSN may further delete the payment relationship between the first account and the second account.
另外,GGSN还可以根据接收到的取消所述第一账户和所述第二账户的代付关系的请求,删除所述第一账户和所述第二账户的代付关系。具体可参考图3所示实施例中的取消代付关系的过程。In addition, the GGSN may further delete the payment relationship of the first account and the second account according to the received request to cancel the payment relationship of the first account and the second account. For details, refer to the process of canceling the payment relationship in the embodiment shown in FIG. 3.
图5为本发明另一实施例提供的账户资源共享的方法流程图。该方法应用于计费系统中。如图5所示,该方法包括:FIG. 5 is a flowchart of a method for sharing account resources according to another embodiment of the present invention. The method is applied to a billing system. As shown in FIG. 5, the method includes:
S500,计费系统接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系。S500. The charging system receives a charging request for a service request initiated by the first account. The charging request carries an identifier of a second account for charging, where the second account has a generation with the first account. Pay relationship.
其中,第一账户和第二账户可归属于不同的计费系统。步骤S500中的计费系统为第二账户归属的计费系统。The first account and the second account may belong to different charging systems. The charging system in step S500 is a charging system to which the second account belongs.
S502,计费系统采用所述第二账户对所述第一账户发起的业务请求进行计费。S502. The charging system uses the second account to perform charging for the service request initiated by the first account.
对代付关系的控制功能可在计费系统中实现。具体的,计费系统可以预先 获取第一账户与所述第二账户的代付关系,并保持该代付关系。代付关系中包括所述第一账户的标识和所述第二账户的标识。其中,计费系统获取所述第一账户与所述第二账户的代付关系的过程参考图2所示的方法,这里不再赘述。The control function for the payment relationship can be implemented in the billing system. Specifically, the billing system can be advanced Obtaining a payment relationship between the first account and the second account, and maintaining the payment relationship. The payment relationship includes an identifier of the first account and an identifier of the second account. The process of obtaining the payment relationship between the first account and the second account by the charging system refers to the method shown in FIG. 2, and details are not described herein again.
计费系统接收到的计费请求中可以进一步携带第一账户的标识。本实施例中第一账户的标识以及第二账户的标识的携带方式可参考图4所示的实施例,这里不再赘述。The identifier of the first account may be further carried in the charging request received by the charging system. For the carrying manner of the identifier of the first account and the identifier of the second account in this embodiment, reference may be made to the embodiment shown in FIG. 4, and details are not described herein again.
计费系统可以根据计费请求中携带的第一账户的标识和第二账户的标识进行代付关系鉴权,和/或,用作计费参考。The charging system may perform the payment relationship authentication according to the identifier of the first account and the identifier of the second account carried in the charging request, and/or serve as a charging reference.
具体的,计费系统根据计费请求中携带的第一账户的标识和第二账户的标识进行代付关系鉴权可在步骤S502之前执行。也就是说,在步骤S502之前,计费系统可以根据存储的所述代付关系对所述计费请求进行鉴权,确定所述计费请求中携带的所述第一账户的标识和第二账户的标识满足所述代付关系。Specifically, the charging system performs the payment relationship authentication according to the identifier of the first account and the identifier of the second account carried in the charging request, and may be performed before step S502. That is, before the step S502, the charging system may perform the authentication on the charging request according to the stored payment relationship, and determine the identifier and the second identifier of the first account carried in the charging request. The identification of the account satisfies the payment relationship.
另外,计费系统可以针对与支付账户具有绑定关系的各消费账户设置不同的优惠策略或者计费系统可以采用各消费账户自身的费率或优惠来对支付账户计费。因此,计费请求可以携带的第一账户的标识,以用作计费参考。该计费参考是指确定费率,优惠等。例如,计费系统可以根据所述第一账户的标识确定针对所述第一账户发起的业务请求的计费费率,以确定出的计费费率在所述第二账户中进行计费。In addition, the billing system may set different preferential policies for each consumer account having a binding relationship with the payment account or the billing system may charge the payment account with the rates or offers of the respective consumer accounts themselves. Therefore, the charging request can carry the identity of the first account for use as a charging reference. The billing reference refers to determining rates, offers, and the like. For example, the charging system may determine a charging rate for the service request initiated by the first account according to the identifier of the first account, and determine a charging rate to perform charging in the second account.
计费系统完成计费后,可进一步产生包括所述第一账户标识和所述第二账户标识的话单。After the billing system completes the billing, the bill including the first account identifier and the second account identifier may be further generated.
上述实施例通过在计费系统进行代付关系的控制,可以针对不同消费账户采用不同计费策略,使各消费账户可以采用不同费率或优惠来使用支付账户的套餐资源。In the above embodiment, by controlling the payment relationship in the billing system, different charging policies can be adopted for different consumer accounts, so that each consumer account can use the payment resource of the payment account by using different rates or offers.
下面结合图6,以数据业务中共享支付账户的流量套餐为例对本发明实施例的方案做更详细的说明。The scheme of the embodiment of the present invention is described in more detail below by taking the data package of the shared payment account in the data service as an example.
S600,GGSN接收用户设备以第一账户发起的使用数据业务的业务请求请求。S600. The GGSN receives a service request request for using the data service initiated by the user equipment by using the first account.
业务请求中携带第一账户的标识。The service request carries the identifier of the first account.
S602,GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识。 S602. The GGSN searches, according to the identifier of the first account, an identifier of the second account that has a pay relationship with the first account from a pre-stored payment relationship.
本实施例以存在第一账户和第二账户的代付关系为例进行说明。对于不存在该代付关系的情况,可执行现有技术中的计费流程,这里不再赘述。This embodiment is described by taking the payment relationship of the first account and the second account as an example. For the case where the payment relationship does not exist, the charging process in the prior art can be performed, and details are not described herein again.
S604,GGSN向所述第二账户归属的计费系统发起针对所述业务请求的计费请求。S604. The GGSN initiates a charging request for the service request to a charging system to which the second account belongs.
该计费请求为CCR消息,该CCR消息的消息类型为初始(Initial)。该CCR消息中以扩展的AVR组携带第一账户的标识和第二账户的标识。The charging request is a CCR message, and the message type of the CCR message is Initial. The extended AVR group carries the identifier of the first account and the identifier of the second account in the CCR message.
S606,计费系统根据计费请求中携带的第一账户的标识和第二账户的标识进行代付关系鉴权。S606. The charging system performs the payment relationship authentication according to the identifier of the first account carried in the charging request and the identifier of the second account.
该鉴权过程可包括判断第一账户的标识和第二账户的标识是否存在代付关系。The authentication process may include determining whether the identity of the first account and the identity of the second account have a pay relationship.
对于一个支付账户可共享给多个消费账户的情况,计费系统还可以进一步对是否允许多个消费账户同时使用进行鉴权。For a case where a payment account can be shared to multiple consumer accounts, the billing system can further authenticate whether to allow multiple consumer accounts to be used simultaneously.
S608,计费系统在鉴权通过后,采用第二账户进行批价、预留等计费处理。S608: After the authentication is passed, the charging system uses the second account to perform charging processing such as rating and reservation.
本发明实施例以鉴权通过为例进行说明。对于鉴权不通过的情况则返回鉴权失败,并终止流程。The embodiment of the present invention is described by taking an authentication as an example. If the authentication fails, the authentication failure is returned and the process is terminated.
S610,计费系统向GGSN返回表示计费成功的计费响应。S610. The charging system returns a charging response indicating that the charging is successful to the GGSN.
计费响应可以采用信用控制应答(Credit Control Answer,CCA)消息。计费响应中携带授权量。The charging response may use a Credit Control Answer (CCA) message. The charging response carries the authorization amount.
S612,GGSN在接收到计费成功响应后,允许用户设备使用数据业务。S612. After receiving the charging success response, the GGSN allows the user equipment to use the data service.
S614,在用户设备使用数据业务的过程中,GGSN根据授权量的使用情况发起计费更新请求到计费系统。S614. In the process of using the data service by the user equipment, the GGSN initiates a charging update request to the charging system according to the usage of the authorized amount.
计费更新请求也可以采用CCR消息,该CCR消息的消息类型为更新(Update)。计费更新请求中携带用户的使用量。The charging update request may also adopt a CCR message, and the message type of the CCR message is Update. The usage of the user is carried in the charging update request.
S616,计费系统接收到计费更新请求后进行扣费、批价以及预留等计费处理。S616: After receiving the charging update request, the charging system performs charging processing such as deduction, approval, and reservation.
本步骤中,计费系统会根据计费更新请求中携带的使用量进行扣费。In this step, the charging system performs deduction according to the usage amount carried in the charging update request.
S618,计费系统向GGSN返回计费响应。S618. The charging system returns a charging response to the GGSN.
该计费响应中携带新的授权量。The charging response carries a new authorization amount.
需要说明的是,步骤S614至步骤S618可在用户设备使用数据业务的过程中重复执行,直到用户停止使用或者余额不足, It should be noted that step S614 to step S618 may be repeatedly executed in the process of using the data service by the user equipment until the user stops using or the balance is insufficient.
S620,GGSN接收来自用户设备的停止使用数据业务的停止请求,S620. The GGSN receives a stop request for stopping the use of the data service from the user equipment.
S622,GGSN向计费系统发送计费终止请求。S622. The GGSN sends a charging termination request to the charging system.
计费终止请求也可以采用CCR消息,该CCR消息的消息类型为终止(Terminate)。计费终止请求中也携带用户的使用量。The charging termination request may also adopt a CCR message, and the message type of the CCR message is Terminate. The usage of the user is also carried in the billing termination request.
S624-S626,计费系统进行扣费并向GGSN发送计费终止响应。S624-S626, the charging system performs a chargeback and sends a charging termination response to the GGSN.
图7为本发明实施例提供的账户资源共享的装置700的结构示意图。其中,该装置可以是GGSN。该装置700包括:FIG. 7 is a schematic structural diagram of an apparatus 700 for sharing account resources according to an embodiment of the present invention. Wherein, the device may be a GGSN. The device 700 includes:
接收模块701,用于接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识。The receiving module 701 is configured to receive a service request initiated by the user equipment by using the first account, where the service request carries the identifier of the first account.
业务模块702,用于根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识。The service module 702 is configured to search, according to the identifier of the first account, an identifier of the second account that has a payment relationship with the first account from a pre-stored payment relationship.
控制模块703,用于向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账户的标识;并在接收到来自所述计费系统的计费成功响应后,允许所述终端使用所述业务。The control module 703 is configured to initiate, by the charging system to which the second account belongs, a charging request for the service request, where the charging request carries an identifier of the second account used for charging; After the charging from the charging system is successfully responded, the terminal is allowed to use the service.
其中,接收模块701接收业务请求的功能可采用现有技术来实现,这里不再赘述。The function of receiving the service request by the receiving module 701 can be implemented by using the prior art, and details are not described herein again.
控制模块703可以通过Diameter协议来发送计费请求。具体的,可以使用Diameter协议中信用控制请求(Credit Control Request,CCR)消息向计费系统发送计费请求。该计费请求中还可以进一步携带第一账户的标识。其中,所述第一账户的标识用作代付关系鉴权和/或用作计费参考。The control module 703 can send a charging request through the Diameter protocol. Specifically, the charging control request (CCR) message in the Diameter protocol may be used to send a charging request to the charging system. The charging request may further carry the identifier of the first account. The identifier of the first account is used as a payment relationship authentication and/or used as a charging reference.
对于第一账户的标识以及第二账户的标识在计费请求中的携带方式可以参考图4所示的实施例部分。例如,控制模块703可以在计费请求中扩展的属性值对AVP参数,将第二账户的标识携带在扩展的所述AVP参数中。For the identification of the identity of the first account and the identity of the second account in the charging request, reference may be made to the embodiment portion shown in FIG. For example, the control module 703 may carry the attribute value pair AVP parameter extended in the charging request, and carry the identifier of the second account in the extended AVP parameter.
接收模块701还可以进一步用于接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识。其中,接收模块701接收该代付关系的过程可参考图2所示的实施例。The receiving module 701 is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account. The process of receiving the payment relationship by the receiving module 701 can refer to the embodiment shown in FIG. 2 .
装置700还可以进一步包括:存储模块704,用于存储接收模块701接收的所述代付关系。The apparatus 700 may further include: a storage module 704, configured to store the payment relationship received by the receiving module 701.
在一个实施例中,上述代付关系中还可以包括所述第一账户与所述第二账户的代付关系的有效时间。 In an embodiment, the payment relationship may further include a valid time of the payment relationship between the first account and the second account.
业务模块702具体用于根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有有效代付关系的第二账户的标识。The service module 702 is specifically configured to search, according to the identifier of the first account, an identifier of a second account that has a valid pay-off relationship with the first account from a pre-stored payment relationship.
业务模块702还可用于在所述第一账户与所述第二账户的代付关系失效后,删除所述代付关系。The service module 702 is further configured to delete the payment relationship after the payment relationship between the first account and the second account is invalid.
在另一实施例中,接收模块701还可用于接收取消所述第一账户和所述第二账户的代付关系的请求。其中,接收模块701接收该取消请求的过程可参考图3所示的实施例。In another embodiment, the receiving module 701 is further configured to receive a request to cancel a payment relationship between the first account and the second account. The process of receiving the cancellation request by the receiving module 701 may refer to the embodiment shown in FIG. 3.
业务模块702还用于根据所述接收模块接收到的取消所述第一账户和所述第二账户的代付关系的请求删除所述第一账户和所述第二账户的代付关系。The service module 702 is further configured to delete the payment relationship of the first account and the second account according to the request received by the receiving module to cancel the payment relationship of the first account and the second account.
需要说明的是,根据失效删除代付关系和根据取消请求删除代付关系在方案中可以同时存在。It should be noted that the deletion of the payment relationship according to the invalidation and the deletion of the payment relationship according to the cancellation request may exist simultaneously in the solution.
上述实施例在装置700保存代付关系,通过该装置700将第一账户的业务请求发送到第二账户归属的计费系统,使计费系统在第二账户中对该业务进行计费,实现了在跨系统的账户间的共享。In the foregoing embodiment, the device 700 maintains a payment relationship, and the device 700 sends the service request of the first account to the charging system of the second account, so that the charging system charges the service in the second account. Sharing between accounts across systems.
装置700中各模块的实现可参考图4所示的方法实施例,这里不再赘述。For the implementation of each module in the device 700, reference may be made to the method embodiment shown in FIG. 4, and details are not described herein again.
图8为本发明实施例提供的账户资源共享的装置800的结构示意图。其中,该装置可以是计费系统。该装置800包括:FIG. 8 is a schematic structural diagram of an apparatus 800 for sharing account resources according to an embodiment of the present invention. Wherein, the device can be a billing system. The device 800 includes:
接收模块801,用于接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系。The receiving module 801 is configured to receive a charging request for a service request initiated by the first account, where the charging request carries an identifier of a second account for charging, where the second account and the first account have Payment relationship.
计费模块802,用于采用所述第二账户对所述第一账户发起的业务请求进行计费。The charging module 802 is configured to perform charging for the service request initiated by the first account by using the second account.
其中,接收模块801可以基于Diameter协议来接收计费请求。具体的,接收的计费请求可以是Diameter协议中的信用控制请求(Credit Control Request,CCR)消息。该计费请求中还可以进一步携带第一账户的标识。The receiving module 801 can receive the charging request based on the Diameter protocol. Specifically, the received charging request may be a Credit Control Request (CCR) message in the Diameter protocol. The charging request may further carry the identifier of the first account.
对于第一账户的标识以及第二账户的标识在计费请求中的携带方式可以参考图4所示的实施例部分。例如,计费请求中可扩展的属性值对AVP参数,第二账户的标识携带在扩展的所述AVP参数中。For the identification of the identity of the first account and the identity of the second account in the charging request, reference may be made to the embodiment portion shown in FIG. For example, the scalable attribute value in the charging request is for the AVP parameter, and the identifier of the second account is carried in the extended AVP parameter.
接收模块801还可用于接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识。其中,接收模 块801接收该代付关系的过程可参考图2所示的实施例。The receiving module 801 is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account. Receive mode The process by which block 801 receives the pay-as-you-go relationship can be referred to the embodiment shown in FIG. 2.
装置800还进一步包括:存储模块803,用于存储接收模块801接收的所述代付关系。The apparatus 800 further includes: a storage module 803, configured to store the payment relationship received by the receiving module 801.
计费模块802可以可以根据计费请求中携带的第一账户的标识和第二账户的标识进行代付关系鉴权,和/或,用作计费参考。具体的,计费模块802用于根据所述第一账户的标识确定针对所述第一账户发起的业务请求的计费费率,以确定出的计费费率在所述第二账户中进行计费。The charging module 802 may perform the payment relationship authentication according to the identifier of the first account and the identifier of the second account carried in the charging request, and/or serve as a charging reference. Specifically, the charging module 802 is configured to determine, according to the identifier of the first account, a charging rate for the service request initiated by the first account, to determine that the charging rate is performed in the second account. Billing.
计费模块802还可进一步用于根据存储的所述代付关系对所述计费请求进行鉴权,确定所述计费请求中携带的所述第一账户的标识和第二账户的标识满足所述代付关系。The charging module 802 is further configured to perform the authentication on the charging request according to the stored payment relationship, and determine that the identifier of the first account and the identifier of the second account carried in the charging request are satisfied. The payment relationship.
计费模块802在完成计费后还进一步用于产生包括所述第一账户标识和所述第二账户标识的话单。The billing module 802 is further configured to generate a bill including the first account identifier and the second account identifier after the billing is completed.
图9为本发明实施例提供的GGSN的硬件结构图。如图9所示,该GGSN包括存储器91、通信接口92,处理器93、总线94。FIG. 9 is a hardware structural diagram of a GGSN according to an embodiment of the present invention. As shown in FIG. 9, the GGSN includes a memory 91, a communication interface 92, a processor 93, and a bus 94.
其中,处理器93、存储器91和通信接口92通过总线94通信连接。The processor 93, the memory 91 and the communication interface 92 are communicatively connected via a bus 94.
通信接口92用来实现GGSN与其他设备或通信网络(例如但不限于PLMN/PSTN,互联网等)之间的通信。本发明实施例中,代付关系以及业务请求可以通过通信接口92来接收。 Communication interface 92 is used to enable communication between the GGSN and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like. In the embodiment of the present invention, the payment relationship and the service request may be received through the communication interface 92.
存储器91可以是硬盘等存储介质。存储器91可以程序的指令以及应用数据。本发明实施例中存储器91存储有代付关系。The memory 91 may be a storage medium such as a hard disk. The memory 91 can be instructions of the program as well as application data. In the embodiment of the present invention, the memory 91 stores a payment relationship.
处理器93可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于运行相关程序。The processor 93 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for running related programs.
总线94可包括一通路,在各个部件(例如处理器93、存储器91和通信接口92、)之间传送信息。 Bus 94 may include a path for communicating information between various components, such as processor 93, memory 91, and communication interface 92.
本发明实施例中,处理器93用于运行存储器91中的程序指令,用于实现以下功能:接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识;根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识;向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账 户的标识;在接收到来自所述计费系统的计费成功响应后,允许所述终端使用所述业务。In the embodiment of the present invention, the processor 93 is configured to run the program instruction in the memory 91, and is configured to: receive a service request initiated by the user equipment by using the first account, where the service request carries the identifier of the first account. And searching, according to the identifier of the first account, an identifier of a second account having a payment relationship with the first account from a pre-stored payment relationship; and initiating, for the charging system to which the second account belongs a charging request for a service request, the charging request carrying a second account for charging The identity of the user; after receiving the charging success response from the charging system, allowing the terminal to use the service.
所述处理器93具体处理过程可参考图4以及图6所示的方法实施例部分,这里不再赘述。The specific processing procedure of the processor 93 can be referred to the method embodiment part shown in FIG. 4 and FIG. 6, and details are not described herein again.
图10为本发明实施例提供的计费系统的硬件结构图。如图10所示,该计费系统包括存储器101、通信接口102,处理器103、总线104。FIG. 10 is a hardware structural diagram of a charging system according to an embodiment of the present invention. As shown in FIG. 10, the billing system includes a memory 101, a communication interface 102, a processor 103, and a bus 104.
其中,处理器103、存储器101和通信接口102通过总线104通信连接。The processor 103, the memory 101 and the communication interface 102 are communicatively connected via a bus 104.
通信接口102用来实现计费系统与其他设备或通信网络(例如但不限于PLMN/PSTN,互联网等)之间的通信。本发明实施例中,代付关系以及计费请求可以通过通信接口102来接收。 Communication interface 102 is used to enable communication between the billing system and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like. In the embodiment of the present invention, the payment relationship and the charging request may be received through the communication interface 102.
存储器101可以是硬盘等存储介质。存储器101可以程序的指令以及应用数据。本发明实施例中存储器101存储有代付关系。The memory 101 may be a storage medium such as a hard disk. The memory 101 can be instructions of the program as well as application data. In the embodiment of the present invention, the memory 101 stores a payment relationship.
处理器103可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于运行相关程序。The processor 103 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for running related programs.
总线104可包括一通路,在各个部件(例如处理器103、存储器101和通信接口102、)之间传送信息。 Bus 104 may include a path for communicating information between various components, such as processor 103, memory 101, and communication interface 102.
本发明实施例中,处理器103用于运行存储器101中的程序指令,用于实现以下功能:接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系;采用所述第二账户对所述第一账户发起的业务请求进行计费。In the embodiment of the present invention, the processor 103 is configured to run the program instruction in the memory 101, and is configured to: receive a charging request for a service request initiated by the first account; and the charging request carries the charging The identifier of the second account, the second account has a payment relationship with the first account; and the second account is used to charge the service request initiated by the first account.
所述处理器103具体处理过程可参考图5以及图6所示的方法实施例部分,这里不再赘述。The specific processing procedure of the processor 103 may refer to the method embodiment part shown in FIG. 5 and FIG. 6, and details are not described herein again.
通过以上的实施例的描述,本领域普通技术人员可以理解:实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,包括如上述方法实施例的步骤,所述的存储介质,如:ROM/RAM、磁碟、光盘等。Through the description of the above embodiments, those skilled in the art can understand that all or part of the steps in implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable manner. In the storage medium, when the program is executed, the steps include the steps of the foregoing method embodiment, such as a ROM/RAM, a magnetic disk, an optical disk, and the like.
以上所述,仅为本发明的具体实施例,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (28)

  1. 一种账户资源共享的方法,其特征在于,所述方法包括:A method for sharing account resources, characterized in that the method comprises:
    GGSN接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识;Receiving, by the GGSN, a service request initiated by the user equipment by using the first account, where the service request carries an identifier of the first account;
    所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识;Determining, by the GGSN, an identifier of a second account having a payment relationship with the first account from a pre-stored payment relationship according to the identifier of the first account;
    所述GGSN向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账户的标识;The GGSN initiates a charging request for the service request to the charging system to which the second account belongs, where the charging request carries an identifier of the second account used for charging;
    所述GGSN在接收到来自所述计费系统的计费成功响应后,允许所述终端使用所述业务。After receiving the charging success response from the charging system, the GGSN allows the terminal to use the service.
  2. 如权利要求1所述的方法,其特征在于,在所述GGSN接收以第一账户发起的业务请求前,所述方法还包括:The method of claim 1, wherein before the GGSN receives the service request initiated by the first account, the method further comprises:
    所述GGSN接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识;Receiving, by the GGSN, a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account;
    所述GGSN存储所述代付关系。The GGSN stores the payment relationship.
  3. 如权利要求1或2所述的方法,其特征在于,所述代付关系中还包括所述第一账户与所述第二账户的代付关系的有效时间;The method according to claim 1 or 2, wherein the payment relationship further includes an effective time of a payment relationship between the first account and the second account;
    所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识,具体包括:The GGSN searches for the identifier of the second account that has a payment relationship with the first account from the pre-stored payment relationship according to the identifier of the first account, and specifically includes:
    所述GGSN根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有有效代付关系的第二账户的标识。The GGSN searches for an identifier of the second account having a valid pay-as-you-go relationship with the first account from the pre-stored payment relationship according to the identifier of the first account.
  4. 如权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    所述GGSN在所述第一账户与所述第二账户的代付关系失效后,删除所述代付关系。After the GGSN fails to perform the payment relationship between the first account and the second account, the GGSN deletes the payment relationship.
  5. 如权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:所述GGSN接收取消所述第一账户和所述第二账户的代付关系的请求,根据所述 请求删除所述第一账户和所述第二账户的代付关系。The method according to any one of claims 1 to 3, wherein the method further comprises: the GGSN receiving a request to cancel a payment relationship between the first account and the second account, according to the Requesting to delete the payment relationship of the first account and the second account.
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述计费请求中还携带所述第一账户的标识;其中,所述第一账户的标识用作代付关系鉴权和/或用作计费参考。The method according to any one of claims 1 to 5, wherein the charging request further carries an identifier of the first account; wherein the identifier of the first account is used for payment relationship authentication And / or used as a billing reference.
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-6, wherein the method further comprises:
    在所述计费请求中扩展属性值对AVP参数,以扩展的AVP参数来携带所述第二账户的标识。The attribute value pair AVP parameter is extended in the charging request, and the identifier of the second account is carried by the extended AVP parameter.
  8. 一种账户资源共享的方法,其特征在于,所述方法包括:A method for sharing account resources, characterized in that the method comprises:
    计费系统接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系;The charging system receives a charging request for a service request initiated by the first account; the charging request carries an identifier of a second account for charging, and the second account has a payment relationship with the first account ;
    计费系统采用所述第二账户对所述第一账户发起的业务请求进行计费。The charging system uses the second account to charge the service request initiated by the first account.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8 wherein the method further comprises:
    所述计费系统接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识;The charging system receives a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and an identifier of the second account;
    所述计费系统存储所述代付关系。The billing system stores the pay-as-you-go relationship.
  10. 如权利要求9所述的方法,其特征在于,所述计费请求中还携带所述第一账户的标识。The method of claim 9, wherein the charging request further carries an identifier of the first account.
  11. 如权利要求10所述的方法,其特征在于,所述计费系统采用所述第二账户对所述第一账户发起的业务请求进行计费前,所述方法还包括:The method of claim 10, wherein the charging system uses the second account to perform charging for the service request initiated by the first account, the method further comprising:
    所述计费系统根据存储的所述代付关系对所述计费请求进行鉴权,确定所述计费请求中携带的所述第一账户的标识和第二账户的标识满足所述代付关系。The charging system authenticates the charging request according to the stored payment relationship, and determines that the identifier of the first account and the identifier of the second account carried in the charging request satisfy the payment relationship.
  12. 如权利要求10或11所述的方法,其特征在于,所述计费系统采用所 述第二账户对所述第一账户发起的业务请求进行计费具体包括:A method according to claim 10 or 11, wherein said billing system employs The charging of the service request initiated by the second account by the second account specifically includes:
    所述计费系统根据所述第一账户的标识确定针对所述第一账户发起的业务请求的计费费率,以确定出的计费费率在所述第二账户中进行计费。The charging system determines a charging rate for the service request initiated by the first account according to the identifier of the first account, and determines a charging rate to perform charging in the second account.
  13. 如权利要求8-12任一项所述的方法,其特征在于,所述计费请求中包括扩展的属性值对AVP参数,所述第二账户的标识携带在扩展的所述AVP参数中。The method according to any one of claims 8 to 12, wherein the charging request includes an extended attribute value pair AVP parameter, and the identifier of the second account is carried in the extended AVP parameter.
  14. 如权利要求10-13任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 10-13, wherein the method further comprises:
    计费系统产生包括所述第一账户标识和所述第二账户标识的话单。The billing system generates a bill including the first account identifier and the second account identifier.
  15. 一种账户资源共享的装置,其特征在于,所述装置包括:An apparatus for sharing account resources, characterized in that the apparatus comprises:
    接收模块,用于接收用户设备以第一账户发起的业务请求,所述业务请求中携带所述第一账户的标识;a receiving module, configured to receive a service request initiated by the user equipment by using the first account, where the service request carries an identifier of the first account;
    业务模块,用于根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有代付关系的第二账户的标识;a service module, configured to search, according to the identifier of the first account, an identifier of a second account that has a payment relationship with the first account from a pre-stored payment relationship;
    控制模块,用于向所述第二账户归属的计费系统发起针对所述业务请求的计费请求,所述计费请求中携带用于计费的第二账户的标识;并在接收到来自所述计费系统的计费成功响应后,允许所述终端使用所述业务。a control module, configured to initiate, by the charging system to which the second account belongs, a charging request for the service request, where the charging request carries an identifier of a second account used for charging; After the charging of the charging system is successfully responded, the terminal is allowed to use the service.
  16. 如权利要求15所述的装置,其特征在于,接收模块还用于接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识;The device according to claim 15, wherein the receiving module is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes an identifier of the first account and The identifier of the second account;
    所述装置还包括:The device also includes:
    存储模块,用于存储所述接收模块接收的所述代付关系。And a storage module, configured to store the payment relationship received by the receiving module.
  17. 如权利要求15或16所述的装置,其特征在于,所述代付关系中还包括所述第一账户与所述第二账户的代付关系的有效时间;The device according to claim 15 or 16, wherein the payment relationship further includes an effective time of a payment relationship between the first account and the second account;
    所述业务模块具体用于根据所述第一账户的标识从预先存储的代付关系中查找与所述第一账户具有有效代付关系的第二账户的标识。 The service module is specifically configured to search, according to the identifier of the first account, an identifier of a second account that has a valid pay-off relationship with the first account from a pre-stored payment relationship.
  18. 如权利要求17所述的装置,其特征在于,所述业务模块还用于在所述第一账户与所述第二账户的代付关系失效后,删除所述代付关系。The device according to claim 17, wherein the service module is further configured to delete the payment relationship after the payment relationship between the first account and the second account is invalid.
  19. 如权利要求15-17任一项所述的装置,其特征在于,所述接收模块还用于接收取消所述第一账户和所述第二账户的代付关系的请求;The device according to any one of claims 15-17, wherein the receiving module is further configured to receive a request to cancel a payment relationship between the first account and the second account;
    所述业务模块还用于根据所述接收模块接收到的取消所述第一账户和所述第二账户的代付关系的请求删除所述第一账户和所述第二账户的代付关系。The service module is further configured to delete the payment relationship of the first account and the second account according to the request received by the receiving module to cancel the payment relationship of the first account and the second account.
  20. 如权利要求15-19任一项所述的装置,其特征在于,所述计费请求中还携带所述第一账户的标识;其中,所述第一账户的标识用作代付关系鉴权和/或用作计费参考。The device according to any one of claims 15 to 19, wherein the charging request further carries an identifier of the first account; wherein the identifier of the first account is used for payment relationship authentication And / or used as a billing reference.
  21. 如权利要求15-19任一项所述的装置,其特征在于,所述控制模块还用于在所述计费请求中扩展属性值对AVP参数,以扩展的AVP参数来携带所述第二账户的标识。The apparatus according to any one of claims 15 to 19, wherein the control module is further configured to: extend an attribute value pair AVP parameter in the charging request, and carry the second in an extended AVP parameter. The identity of the account.
  22. 一种账户资源共享的装置,其特征在于,所述装置包括:An apparatus for sharing account resources, characterized in that the apparatus comprises:
    接收模块,用于接收针对第一账户发起的业务请求的计费请求;所述计费请求中携带用于计费的第二账户的标识,所述第二账户与所述第一账户具有代付关系;a receiving module, configured to receive a charging request for a service request initiated by the first account; the charging request carries an identifier of a second account for charging, and the second account has a generation with the first account Pay relationship
    计费模块,用于采用所述第二账户对所述第一账户发起的业务请求进行计费。The charging module is configured to perform charging for the service request initiated by the first account by using the second account.
  23. 如权利要求22所述的装置,其特征在于,所述接收模块还用于接收所述第一账户与所述第二账户的代付关系,所述代付关系中包括所述第一账户的标识和所述第二账户的标识;The device according to claim 22, wherein the receiving module is further configured to receive a payment relationship between the first account and the second account, where the payment relationship includes the first account Identification and identification of the second account;
    所述装置还包括:The device also includes:
    存储模块,用于存储所述代付关系。 a storage module, configured to store the payment relationship.
  24. 如权利要求22或23所述的装置,其特征在于,所述计费请求中还携带所述第一账户的标识。The device according to claim 22 or 23, wherein the charging request further carries an identifier of the first account.
  25. 如权利要求24所述的装置,其特征在于,所述计费模块具体用于根据所述第一账户的标识确定针对所述第一账户发起的业务请求的计费费率,以确定出的计费费率在所述第二账户中进行计费。The device according to claim 24, wherein the charging module is specifically configured to determine, according to the identifier of the first account, a charging rate for a service request initiated by the first account, to determine The billing rate is billed in the second account.
  26. 如权利要求24或25所述的装置,其特征在于,所述计费模块还用于根据存储的所述代付关系对所述计费请求进行鉴权,确定所述计费请求中携带的所述第一账户的标识和第二账户的标识满足所述代付关系。The device according to claim 24 or 25, wherein the charging module is further configured to authenticate the charging request according to the stored payment relationship, and determine the carrying in the charging request. The identifier of the first account and the identifier of the second account satisfy the payment relationship.
  27. 如权利要求24-26任一项所述的装置,其特征在于,所述计费请求中包括扩展的属性值对AVP参数,所述第二账户的标识携带在扩展的所述AVP参数中。The apparatus according to any one of claims 24 to 26, wherein the charging request includes an extended attribute value pair AVP parameter, and the identifier of the second account is carried in the extended AVP parameter.
  28. 如权利要求24-27任一项所述的装置,其特征在于,所述计费模块还用于产生包括所述第一账户标识和所述第二账户标识的话单。 The device according to any one of claims 24 to 27, wherein the charging module is further configured to generate a bill including the first account identifier and the second account identifier.
PCT/CN2016/080251 2015-06-30 2016-04-26 Method and device for account resource sharing WO2017000644A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510376580.9A CN106332040B (en) 2015-06-30 2015-06-30 A kind of method and apparatus of account resource-sharing
CN201510376580.9 2015-06-30

Publications (1)

Publication Number Publication Date
WO2017000644A1 true WO2017000644A1 (en) 2017-01-05

Family

ID=57607690

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080251 WO2017000644A1 (en) 2015-06-30 2016-04-26 Method and device for account resource sharing

Country Status (2)

Country Link
CN (1) CN106332040B (en)
WO (1) WO2017000644A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679955A (en) * 2017-10-11 2018-02-09 掌合天下(北京)信息技术有限公司 Order Processing Method and System
WO2020124565A1 (en) * 2018-12-21 2020-06-25 Nokia Technologies Oy Online charging in communication systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090325A (en) * 2006-06-23 2007-12-19 华为技术有限公司 Third party charge method and system
WO2009152847A1 (en) * 2008-06-17 2009-12-23 Nokia Siemens Networks Oy A method of communication for use in a credit control application, communication system and computer program product
CN102843668A (en) * 2012-06-28 2012-12-26 北京得实达康系统集成有限公司 Method and system for implementing flow sharing of multiple mobile terminal cards
CN103518349A (en) * 2013-03-26 2014-01-15 华为技术有限公司 Charging method, access device and charging device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859534B (en) * 2006-03-21 2012-06-27 华为技术有限公司 Charging method and system for traffic service
WO2010004362A1 (en) * 2008-07-07 2010-01-14 Telefonaktiebolaget L M Ericsson (Publ) Real time correlation of parallel charging events
CN101345634A (en) * 2008-08-15 2009-01-14 华为技术有限公司 Charging method, device and system
WO2013059957A1 (en) * 2011-10-25 2013-05-02 Hewlett-Packard Development Company, L.P. Load balancing for charging system clusters
US8862093B2 (en) * 2012-06-29 2014-10-14 Telefonaktiebolaget L M Ericsson (Publ) Terminal-initiated override of charging system rules
CN104378750A (en) * 2013-08-16 2015-02-25 中国移动通信集团广东有限公司 Charging method and system with multiple terminals sharing balance of account

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090325A (en) * 2006-06-23 2007-12-19 华为技术有限公司 Third party charge method and system
WO2009152847A1 (en) * 2008-06-17 2009-12-23 Nokia Siemens Networks Oy A method of communication for use in a credit control application, communication system and computer program product
CN102843668A (en) * 2012-06-28 2012-12-26 北京得实达康系统集成有限公司 Method and system for implementing flow sharing of multiple mobile terminal cards
CN103518349A (en) * 2013-03-26 2014-01-15 华为技术有限公司 Charging method, access device and charging device

Also Published As

Publication number Publication date
CN106332040A (en) 2017-01-11
CN106332040B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
US20190379544A1 (en) Provisioning network resources in a wireless network using a native blockchain platform
US8666396B2 (en) Providing user location and time zone information for LTE/IMS charging
KR101296048B1 (en) Online charging architecture in lte/epc communication networks
CN101521868B (en) Roaming on-line charging method, device and control system
TW200947945A (en) Online charging for roaming users in a proxy online charging system of a visited network
WO2006111095A1 (en) A charging network , charging agent apparatus as well and the charging method thereof
EP3657827B1 (en) Billing method and device for mobile communication system and storage medium
US20110173105A1 (en) Utilizing AAA/HLR infrastructure for Web-SSO service charging
CN110381455B (en) Flow monitoring processing method and related device and system
WO2020119325A1 (en) Charging processing method and device, storage medium, and electronic device
WO2008077339A1 (en) Method, system and server for accounting a prepaid account
WO2010063176A1 (en) Calling charging method based on online charging system and communication system
US10511722B2 (en) Online charging for application download
WO2017000644A1 (en) Method and device for account resource sharing
WO2017054511A1 (en) Recharge method, apparatus and system
WO2019101082A1 (en) Value-added service implementation method and device, and industry application authentication center
WO2016107177A1 (en) Charging method, apparatus and system
WO2005091555A1 (en) A method for implementing the intelligent network charging
WO2017084394A1 (en) Roaming charging method, relevant apparatus, and online charging system
CN110324153B (en) Charging method and system
CN109891840A (en) The method and apparatus of the tactical management of interim products in telecommunication network
WO2017167240A1 (en) Method of purchasing service using primary or secondary card, device, and communication system
WO2014177098A1 (en) Application software online payment processing method and system
WO2010108459A1 (en) Partial charge refund method and apparatus
CN102130828A (en) Authentication server, charging server, quality of service control method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16817008

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817008

Country of ref document: EP

Kind code of ref document: A1