CN106982126B - Resource sharing charging method and charging device, and memory bank - Google Patents

Resource sharing charging method and charging device, and memory bank Download PDF

Info

Publication number
CN106982126B
CN106982126B CN201610032375.5A CN201610032375A CN106982126B CN 106982126 B CN106982126 B CN 106982126B CN 201610032375 A CN201610032375 A CN 201610032375A CN 106982126 B CN106982126 B CN 106982126B
Authority
CN
China
Prior art keywords
resource information
shared
user
personal
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610032375.5A
Other languages
Chinese (zh)
Other versions
CN106982126A (en
Inventor
马永波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Chongqing Co Ltd
Original Assignee
China Mobile Group Chongqing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Chongqing Co Ltd filed Critical China Mobile Group Chongqing Co Ltd
Priority to CN201610032375.5A priority Critical patent/CN106982126B/en
Publication of CN106982126A publication Critical patent/CN106982126A/en
Application granted granted Critical
Publication of CN106982126B publication Critical patent/CN106982126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/765Linked or grouped accounts, e.g. of users or devices
    • H04M15/7652Linked or grouped accounts, e.g. of users or devices shared by users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/77Administration or customization aspects; Counter-checking correct charges involving multiple accounts per user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a resource sharing charging method, which comprises the following steps: obtaining a user call ticket, wherein the user call ticket comprises a user identifier; sending a user resource information request message carrying the user identification to a memory bank; the user resource information request message is used for requesting a memory bank to feed back personal resource information and shared resource information corresponding to the user identification; receiving the personal resource information and the shared resource information corresponding to the user identifier fed back by the memory base, and performing charging processing on the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier; and sending the remaining personal resource balance information of the personal resource information after the charging processing and the remaining shared resource balance information of the shared resource information after the charging processing to the memory. The embodiment of the invention discloses a charging device and a memory bank.

Description

Resource sharing charging method and charging device, and memory bank
Technical Field
The present invention relates to the field of telecommunication charging, and in particular, to a resource sharing charging method, a charging apparatus, and a memory bank.
Background
At present, the resource sharing method is as follows: when a plurality of users need to share a free resource, a sharing group needs to be established first, then the shared resource is established on the sharing group, each sharing user needs to be added into the sharing group, and user resource information of each sharing user and shared resource information of the sharing group need to be deployed in a host or a memory. Therefore, after a certain sharing user generates the call ticket, the sharing resource information of the group where the sharing user is located and the user resource information of the user can be searched and obtained in the host or the memory, and then the call ticket generated by the sharing user is subjected to rating charging according to the resource information.
At present, a host or a memory is basically deployed in a local city, so that most of all sharing users of a sharing group handling sharing services are limited to a local city; if the sharing service needs to be handled across the cities, the user resource information of the sharing users in the hosts or the memories of other cities needs to be transferred to the host or the memory of one of the cities, so that the wholesale charging can be carried out according to the generated bill of one of the sharing users. However, the above-mentioned unloading process is complicated, and is difficult to be performed efficiently due to the limitation of database and processing capacity bottleneck in the host or the memory.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a resource sharing charging method, a charging apparatus, and a memory bank, which can handle the sharing service across cities conveniently.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a resource sharing charging method, the method comprising:
obtaining a user call ticket, wherein the user call ticket comprises a user identifier;
sending a user resource information request message carrying the user identification to a memory bank; the user resource information request message is used for requesting a memory bank to feed back personal resource information and shared resource information corresponding to the user identification;
receiving the personal resource information and the shared resource information corresponding to the user identifier fed back by the memory base, and performing charging processing on the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier;
and sending the remaining personal resource balance information of the personal resource information after the charging processing and the remaining shared resource balance information of the shared resource information after the charging processing to the memory.
In the foregoing solution, the shared resource information includes: shared resource attributes, sharing modes, and quota values.
A resource sharing charging method, the method comprising:
receiving a user resource information request message carrying a user identifier sent by a charging device;
inquiring to obtain personal resource information and shared resource information corresponding to the user identification, and sending the personal resource information and the shared resource information corresponding to the user identification to the charging device;
receiving the personal resource balance information which is sent by the charging device and is left after the charging processing of the personal resource information and the shared resource balance information which is left after the charging processing of the shared resource information;
and updating the personal resource information into personal resource balance information, and updating the shared resource information into the shared resource balance information.
In the above scheme, the querying to obtain the personal resource information and the shared resource information corresponding to the user identifier includes:
inquiring to obtain personal resource information corresponding to the user identification and a sharer identification corresponding to the user identification;
inquiring to obtain shared product information corresponding to the sharer identification; the shared product information includes: the shared object type, the shared object instances, and the shared resource attribute, the shared mode and the quota value corresponding to each shared object instance;
and obtaining shared resource information corresponding to the user identification according to the shared product information, wherein the shared resource information comprises shared resource attributes, shared modes and quota values.
In the above solution, after the personal resource information is updated to the personal resource balance information and the shared resource information is updated to the shared resource balance information, the method further includes:
and sending an update instruction to a physical library, wherein the update instruction is used for instructing the physical library to update the personal resource information corresponding to the user identifier into the personal resource balance information, and updating the shared resource information into the shared resource balance information.
A charging apparatus, the charging apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a user call ticket, and the user call ticket comprises a user identifier;
a first sending unit, configured to send a user resource information request message carrying the user identifier obtained by the obtaining unit to an internal storage library; the user resource information request message is used for requesting a memory bank to feed back personal resource information and shared resource information corresponding to the user identification;
a first receiving unit, configured to receive personal resource information and shared resource information corresponding to the user identifier fed back by the internal storage;
the charging unit is used for charging the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier received by the first receiving unit;
a first sending unit, configured to send the remaining personal resource balance information of the personal resource information after the charging processing by the charging unit and the remaining shared resource balance information of the shared resource information after the charging processing by the charging unit to the memory.
In the foregoing solution, the shared resource information includes: shared resource attributes, sharing modes, and quota values.
A bank, the bank comprising:
a second receiving unit, configured to receive a user resource information request message carrying a user identifier sent by a charging apparatus;
the query unit is used for querying and obtaining the personal resource information and the shared resource information corresponding to the user identifier received by the second receiving unit;
a second sending unit, configured to send, to the charging apparatus, the personal resource information and the shared resource information corresponding to the user identifier, which are obtained by querying by the querying unit;
a second receiving unit, configured to receive remaining personal resource balance information of the personal resource information after charging processing and remaining shared resource balance information of the shared resource information after charging processing, where the remaining personal resource balance information is sent by the charging apparatus;
an updating unit, configured to update the personal resource information to the personal resource balance information received by the second receiving unit, and update the shared resource information to the shared resource balance information received by the second receiving unit.
In the foregoing solution, the querying unit is specifically configured to query and obtain the personal resource information corresponding to the user identifier received by the second receiving unit and a sharer identifier corresponding to the user identifier; inquiring to obtain shared product information corresponding to the sharer identification; the shared product information includes: the shared object type, the shared object instances, and the shared resource attribute, the shared mode and the quota value corresponding to each shared object instance; and obtaining shared resource information corresponding to the user identification according to the shared product information, wherein the shared resource information comprises shared resource attributes, shared modes and quota values.
In the foregoing solution, the second sending unit is further configured to send an update instruction to a physical repository after the updating unit completes updating, where the update instruction is used to instruct the physical repository to update personal resource information corresponding to the user identifier to personal resource balance information, and update the shared resource information to the shared resource balance information.
The embodiment of the invention provides a resource sharing charging method, a charging device and a memory bank, wherein the charging device is used for charging, the memory bank is used for uniformly storing and managing user data, flexibly splitting the charging processing application and the user data storage, no charging processing is carried out in the memory bank, thus, the memory bank can be capable of storing the user data of the user terminals in a plurality of grade cities, when the user terminals in the sharing group transact the sharing service across the grade cities, the user data of the user terminals can be stored in the memory bank, when a plurality of charging devices in charge of each user terminal charge the user bill generated by the user terminal, the memory bank can be directly accessed to obtain the user data for charging, namely the personal resource information and the shared resource information, and then the user telephone bill of each user terminal is charged, and the charging method can support the user to conveniently handle the shared service across cities.
Drawings
Fig. 1 is a schematic diagram of a system architecture for implementing a resource sharing charging method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a system architecture of a resource sharing charging method applied to a charging apparatus side according to embodiment 1 of the present invention;
fig. 3 is a schematic diagram of a system architecture of a resource sharing charging method applied to a memory bank side according to embodiment 1 of the present invention;
fig. 4 is a schematic diagram of a shared resource information management model according to embodiment 1 of the present invention;
fig. 5 is a block diagram of a charging apparatus according to embodiment 2 of the present invention;
fig. 6 is a block diagram of a memory bank according to embodiment 2 of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The technical solution in the embodiment of the present invention is implemented based on the system architecture shown in fig. 1, as shown in fig. 1, the system architecture mainly includes a plurality of user terminals 11, a plurality of charging devices 12, a memory bank 13 and a physical bank 14; in the system architecture, one charging device 12 is responsible for charging user tickets of a plurality of user terminals 11, and the memory bank 13 stores personal resource information and shared resource information for charging of all user terminals transacting shared services in the system. The physical library 14 is used for storing data in the memory library 13, and when the data in the memory library 13 is updated, the physical library 14 also updates the data accordingly, and the data stored in the memory library 13 and the data stored in the physical library 14 are kept synchronous.
The method of the embodiment of the invention is realized based on the system architecture.
Example 1
An embodiment of the present invention provides a resource sharing charging method, as shown in fig. 2, applied to a charging device side, where a processing flow of the method of this embodiment includes the following steps:
step 201, obtaining a user call ticket, wherein the user call ticket comprises a user identifier.
In the process of communication, message sending or internet surfing of the user terminal, the core network element records the relevant service information used by the user terminal, sends the relevant service information to the charging device, and then generates a user bill by the charging system. Or some core network elements may directly generate a user ticket and send the user ticket to a charging device, such as a Mobile Switching Center Server (MSCS), a serving-generic-Packet-Radio-Service Support Node (SGSN), a Call Session Control Function (CSCF), and the like in the core network.
The user ticket records the user identifier of the user terminal, and certainly, the information such as the service type and the service volume used by the user terminal. Taking the user terminal to perform the call service as an example, the user call ticket mainly records the following information: user identification, calling number, called number, starting time, ending time, call duration, call property and the like. Taking the user terminal to perform the internet access service as an example, the user ticket mainly records the following information: user identification, consumed traffic, etc.
The content of the user call ticket is the content of the user call ticket in the prior art, and the obtaining method thereof is also the prior art, and the person skilled in the art should clearly understand that the details are not described herein.
Step 202, sending a user resource information request message carrying the user identifier to a memory bank.
The user resource information request message is used for requesting the memory bank to feed back the personal resource information and the shared resource information corresponding to the user identification.
Unlike the prior art, the memory bank in the method of this embodiment does not provide the charging processing operation, but only stores the data related to the charging management, so that the memory bank can be capable of storing the charging data of the user terminals in multiple prefectures, such as the personal resource information and the shared resource information.
The charging device provided in the method of this embodiment may be responsible for charging a user ticket, and the charging device does not store information for charging, such as personal resource information and shared resource information of a user terminal that charges, and the charging device is only used as a lightweight application node responsible for charging, so that a plurality of charging devices may be arranged in each city according to the number of user terminals, and each charging device may be responsible for charging a small number of thousands of user terminals. That is, as shown in fig. 1, a plurality of charging devices 12 may be disposed under the memory bank 13.
The charging device can obtain the user identification of the user terminal generating the user call ticket from the user call ticket after obtaining the user call ticket of the user terminal in charge of the charging device, and the charging device needs to obtain the personal resource information and the shared resource information of the charging corresponding to the user identification when needing to charge the call ticket.
At this time, the charging device may send a user resource information request message carrying the user identifier to the internal memory, and after receiving the user resource information request message, the internal memory may query and obtain the personal resource information and the shared resource information corresponding to the user identifier, and feed back the personal resource information and the shared resource information corresponding to the user identifier to the charging device.
Step 203, receiving the personal resource information and the shared resource information corresponding to the user identifier fed back by the memory bank, and performing charging processing on the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier.
The personal resource information is a personal package customized by the user terminal, the shared resource information is related information of shared resources shared by the user terminal, and comprises the types and the quantity of the shared resources, and the charging device can charge the user ticket according to preferential charging priority (namely the free priority is the highest, and the higher the price is, the lower the priority) in the information when charging the user ticket according to the received personal resource information and the shared resource information corresponding to the user identifier. In an example, it is assumed that a user ticket corresponding to the user identifier consumes 5M of traffic for the user, shared resource information corresponding to the user identifier is 30M of balance 20M of shared traffic, and personal resource information is 10M 100M of balance 80M for the user handling a traffic package, at this time, when the charging device charges the user ticket, since the shared traffic is free, the charge corresponding to the user ticket is 0M.
Step 204, sending the remaining personal resource balance information of the personal resource information after the charging process and the remaining shared resource balance information of the shared resource information after the charging process to the memory.
According to the above example, after the user ticket charging process, the remaining personal resource balance information is 10 yuan 100M balance 80M of the flow package, and the remaining shared resource balance information is 30M balance 15M of the shared flow. The charging device sends the personal resource balance information, namely 10 yuan 100M balance 80M of the flow package, and the shared resource balance information, namely 30M balance 15M of the shared flow to the memory bank.
After the memory base receives the personal resource balance information and the shared resource balance information, the originally stored personal resource information is updated to the personal resource balance information, and the originally stored shared resource information is updated to the shared resource balance information. According to the above example, the memory pool will update the originally stored shared resource information sharing flow 30M balance 20M to the sharing flow 30M balance 15M.
When the personal resource information and the shared resource information corresponding to the user identifier are modified and updated in the memory bank, triggering the memory bank to send an update instruction to the physical bank in an asynchronous manner, wherein the update instruction is used for instructing the physical bank to update the personal resource information corresponding to the user identifier into the personal resource balance information, and updating the shared resource information into the shared resource balance information.
Thus, the charging processing of the user call ticket is completed, namely the warehousing processing of the user call ticket is finished.
In the method, the user terminal generating the user ticket is a user of shared resources, and certainly, the user terminal generating the user ticket may not handle shared services or be a provider of shared resources, at this time, the charging device sends a user resource information request message carrying the user identifier to a memory bank and then obtains personal resource information corresponding to only the user identifier of the user terminal, and after the charging device charges the user ticket according to the personal resource information corresponding to the user identifier, the charging device also sends balance information corresponding to the personal resource information to the memory bank, and then the balance information is synchronously stored in the physical bank by the memory bank.
An embodiment of the present invention further provides a resource sharing charging method, as shown in fig. 3, which is applied to a side of a memory bank, and a processing flow of the method of this embodiment includes the following steps:
step 301, receiving a user resource information request message carrying a user identifier sent by a charging device.
After obtaining the user call ticket generated by the user terminal corresponding to the user identifier, the charging device sends a user resource information request message carrying the user identifier to the memory bank in order to charge the user call ticket.
Step 302, obtaining the personal resource information and the shared resource information corresponding to the user identifier through inquiry, and sending the personal resource information and the shared resource information corresponding to the user identifier to the charging device.
In the method of the embodiment, the memory bank provides a lightweight service interface, and the lightweight service interface provides charging data access support for charging of a charging device, so that centralized and unified storage of core data for charging is realized; the lightweight service interface provides functions including: balance data management, cumulant data management, shared resource data management, user personal resource data management, billing data management and consumption reminder triggering capabilities, centrally managing the balance of prepaid and postpaid users. Meanwhile, a balance operation interface is provided, and the balance can be inquired and modified through the balance operation interface in both online charging and offline charging; through a routing technology, the lightweight service interface can realize cross-node memory data access.
Optionally, as shown in fig. 4, after the sharer user terminal 230XX567 transacts the shared product or shared traffic, there is a user terminal 230XX561-230XX564 that needs to be shared, the memory library may correspondingly record the sharer identifier 230XX567 of the sharer user terminal to the directory of the user terminal 230XX561-230XX564, and the sharer identifier 230XX567 of the sharer user terminal is associated with the shared product information, that is, the sharer identifiers 230XX567 are recorded in the data of the user terminals 230XX561-230XX564 in fig. 4, and the sharer identifiers 230XX567 are the sharer IDs in fig. 4, as shown in fig. 4, the sharer IDs are associated with the shared product information, where the shared product information includes: the method comprises the steps of ordering relation instance ID, sharing object type, sharing object instance, and sharing resource attribute, sharing mode and quota value corresponding to each sharing object instance. According to the example in fig. 4, the shared object type is user, the shared object instances are user identifiers 230XX561-230XX564, and the shared resource attribute corresponding to each shared object instance is traffic, the shared mode is quantity, and the quota value is 1024 MB.
After a user terminal generates a user ticket, a charging device can access an obtained memory bank through a lightweight service interface, and the memory bank inquires and obtains personal resource information corresponding to the user identifier and a sharer identifier corresponding to the user identifier according to the user identifier; then, inquiring to obtain shared product information corresponding to the sharer identification; the shared product information includes: the shared object type, the shared object instances, and the shared resource attribute, the shared mode and the quota value corresponding to each shared object instance; and obtaining shared resource information corresponding to the user identification according to the shared product information, wherein the shared resource information comprises shared resource attributes, shared modes and quota values.
Illustratively, the subscriber identity of the user ue is 230XX561, and after the memory bank receives the subscriber resource information request message carrying 230XX561, the personal resource information corresponding to 230XX561 and the sharer identity 230XX567 corresponding to the subscriber identity 230XX561 may be obtained according to 230XX 561; according to the sharer identification 230XX567, the shared product information corresponding to the sharer identification 230XX567 can be obtained, and then according to the record in the shared product information, the shared resource information corresponding to the user identification 230XX561 is obtained: the shared resource attribute flow, the number of the shared modes and the quota value are 1024 MB; i.e. the shared resource information is shared traffic 1024 MB.
After the memory base searches and obtains the personal resource information and the shared resource information corresponding to the user identification, the personal resource information and the shared resource information corresponding to the user identification are sent to a charging device.
Step 303, receiving the personal resource balance information remaining after the charging processing of the personal resource information and the shared resource balance information remaining after the charging processing of the shared resource information, which are sent by the charging device.
The charging device receives the personal resource information and the shared resource information corresponding to the user identification, and carries out charging processing on the user ticket according to the personal resource information and the shared resource information corresponding to the user identification; then sending the remaining personal resource balance information of the personal resource information after the charging processing and the remaining shared resource balance information of the shared resource information after the charging processing to the memory bank through the lightweight service interface; the specific process may refer to the descriptions in steps 203 and 204.
The memory bank receives the personal resource balance information which is sent by the charging device and is left after the charging processing of the personal resource information and the shared resource balance information which is sent by the charging device and is left after the charging processing of the shared resource information.
Step 304, updating the personal resource information to personal resource balance information, and updating the shared resource information to the shared resource balance information.
The memory base receives the personal resource balance information which is sent by the charging device and is left after the charging processing of the personal resource information and the shared resource balance information which is sent by the charging device and is left after the charging processing of the shared resource information; and then, updating the personal resource information into personal resource balance information, and updating the shared resource information into the shared resource balance information.
After updating the personal resource information to personal resource balance information and the shared resource information to the shared resource balance information, the method further comprises:
sending an update instruction to a physical library, where the update instruction is used to instruct the physical library to update personal resource information corresponding to the user representation to personal resource balance information, and update the shared resource information to the shared resource balance information.
The method of the embodiment aims at the requirement of resource sharing, charging processing is carried out by the charging device, the internal memory bank carries out storage management on user data in a unified mode, charging processing application and user data storage are flexibly split, charging processing is not carried out in the internal memory bank, so that the internal memory bank can be capable of storing the user data of the user terminals in a plurality of grade cities, when the user terminals in a sharing group handle sharing services across the grade cities, the user data of the user terminals are stored in the internal memory bank, when a plurality of charging devices in charge of each user terminal carry out charging on user call tickets generated by the user terminals, the internal memory bank can be directly accessed to obtain user data of charging, namely personal resource information and shared resource information, and further the users of each user terminal are charged.
In addition, the charging device in this embodiment can be built by low-end equipment, and dynamic capacity expansion can be performed according to the system load condition, so that the limitation that the improvement of the past system processing performance depends on the performance of the host is avoided, and a large amount of hardware purchasing and building cost of the charging system is saved.
Example 2
An embodiment of the present invention provides a charging apparatus, as shown in fig. 5, where the charging apparatus includes: an obtaining unit 501, a first sending unit 502, a first receiving unit 503, and a charging unit 504, wherein,
an obtaining unit 501, configured to obtain a user ticket, where the user ticket includes a user identifier;
a first sending unit 502, configured to send a user resource information request message carrying the user identifier obtained by the obtaining unit 501 to an internal storage; the user resource information request message is used for requesting a memory bank to feed back personal resource information and shared resource information corresponding to the user identification;
a first receiving unit 503, configured to receive personal resource information and shared resource information corresponding to the user identifier fed back by the memory bank;
a charging unit 504, configured to perform charging processing on the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier received by the first receiving unit 503;
a first sending unit 502, configured to send the remaining personal resource balance information of the personal resource information after the charging processing by the charging unit 504 and the remaining shared resource balance information of the shared resource information after the charging processing by the charging unit 504 to the memory.
Optionally, the shared resource information includes: shared resource attributes, sharing modes, and quota values.
An embodiment of the present invention further provides a memory bank, as shown in fig. 6, where the memory bank includes: a second receiving unit 601, a querying unit 602, a second sending unit 603, and an updating unit 604, wherein,
a second receiving unit 601, configured to receive a user resource information request message carrying a user identifier sent by a charging apparatus;
an inquiring unit 602, configured to acquire, by inquiring, the personal resource information and the shared resource information corresponding to the user identifier received by the second receiving unit 601;
a second sending unit 603, configured to send, to the charging apparatus, the personal resource information and the shared resource information corresponding to the user identifier, which are obtained by querying by the querying unit 602;
a second receiving unit 601, further configured to receive remaining personal resource balance information of the personal resource information after charging processing and remaining shared resource balance information of the shared resource information after charging processing, where the remaining personal resource balance information is sent by the charging apparatus;
an updating unit 604, configured to update the personal resource information to the personal resource balance information received by the second receiving unit 601, and update the shared resource information to the shared resource balance information received by the second receiving unit 601.
Optionally, the querying unit 602 is specifically configured to query and obtain the personal resource information corresponding to the user identifier received by the second receiving unit 601 and the sharer identifier corresponding to the user identifier; inquiring to obtain shared product information corresponding to the sharer identification; the shared product information includes: the shared object type, the shared object instances, and the shared resource attribute, the shared mode and the quota value corresponding to each shared object instance; and obtaining shared resource information corresponding to the user identification according to the shared product information, wherein the shared resource information comprises shared resource attributes, shared modes and quota values.
Optionally, the second sending unit 603 is further configured to send an update instruction to a physical library after the updating unit 604 completes updating, where the update instruction is used to instruct the physical library to update the personal resource information corresponding to the user identifier to the personal resource balance information, and update the shared resource information to the shared resource balance information.
In practical applications, the obtaining unit 501, the first sending unit 502, the first receiving unit 503, and the charging unit 504 described in this embodiment can be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a modem, and other devices on the charging device. The second receiving unit 601, the querying unit 602, the second sending unit 603, and the updating unit 604 in this embodiment may be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP) or a Field Programmable Gate Array (FPGA), a modem, and other devices on a memory bank.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A resource sharing charging method is characterized by comprising the following steps:
obtaining a user call ticket, wherein the user call ticket comprises a user identifier;
sending a user resource information request message carrying the user identification to a memory bank; the user resource information request message is used for requesting a memory bank to feed back personal resource information and shared resource information corresponding to the user identification; the memory bank does not provide charging processing operation, and only stores the related data for managing the charging fee;
receiving the personal resource information and the shared resource information corresponding to the user identifier fed back by the memory base, and performing charging processing on the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier;
and sending the remaining personal resource balance information of the personal resource information after the charging processing and the remaining shared resource balance information of the shared resource information after the charging processing to the memory.
2. The method of claim 1, wherein the shared resource information comprises: shared resource attributes, sharing modes, and quota values.
3. A resource sharing charging method is characterized in that the method is applied to a memory bank, wherein the memory bank does not provide charging processing operation and only stores the related data of management charging cost; the method comprises the following steps:
receiving a user resource information request message carrying a user identifier sent by a charging device;
inquiring to obtain personal resource information and shared resource information corresponding to the user identification, and sending the personal resource information and the shared resource information corresponding to the user identification to the charging device;
receiving the personal resource balance information which is sent by the charging device and is left after the charging processing of the personal resource information and the shared resource balance information which is left after the charging processing of the shared resource information;
and updating the personal resource information into personal resource balance information, and updating the shared resource information into the shared resource balance information.
4. The method of claim 3, wherein the querying for obtaining the personal resource information and the shared resource information corresponding to the user identifier comprises:
inquiring to obtain personal resource information corresponding to the user identification and a sharer identification corresponding to the user identification;
inquiring to obtain shared product information corresponding to the sharer identification; the shared product information includes: the shared object type, the shared object instances, and the shared resource attribute, the shared mode and the quota value corresponding to each shared object instance;
and obtaining shared resource information corresponding to the user identification according to the shared product information, wherein the shared resource information comprises shared resource attributes, shared modes and quota values.
5. The method of claim 3, wherein after updating the personal resource information to personal resource balance information and the shared resource information to the shared resource balance information, the method further comprises:
and sending an update instruction to a physical library, wherein the update instruction is used for instructing the physical library to update the personal resource information corresponding to the user identifier into the personal resource balance information, and updating the shared resource information into the shared resource balance information.
6. A charging apparatus, characterized in that the charging apparatus comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a user call ticket, and the user call ticket comprises a user identifier;
a first sending unit, configured to send a user resource information request message carrying the user identifier obtained by the obtaining unit to an internal storage library; the user resource information request message is used for requesting a memory bank to feed back personal resource information and shared resource information corresponding to the user identification; the memory bank does not provide charging processing operation, and only stores the related data for managing the charging fee;
a first receiving unit, configured to receive personal resource information and shared resource information corresponding to the user identifier fed back by the internal storage;
the charging unit is used for charging the user ticket according to the personal resource information and the shared resource information corresponding to the user identifier received by the first receiving unit;
a first sending unit, configured to send the remaining personal resource balance information of the personal resource information after the charging processing by the charging unit and the remaining shared resource balance information of the shared resource information after the charging processing by the charging unit to the memory.
7. The charging apparatus according to claim 6, wherein the shared resource information comprises: shared resource attributes, sharing modes, and quota values.
8. A memory bank, wherein the memory bank does not provide a charging processing operation, but stores only data related to managing charging fees; the memory bank includes:
a second receiving unit, configured to receive a user resource information request message carrying a user identifier sent by a charging apparatus;
the query unit is used for querying and obtaining the personal resource information and the shared resource information corresponding to the user identifier received by the second receiving unit;
a second sending unit, configured to send, to the charging apparatus, the personal resource information and the shared resource information corresponding to the user identifier, which are obtained by querying by the querying unit;
a second receiving unit, configured to receive remaining personal resource balance information of the personal resource information after charging processing and remaining shared resource balance information of the shared resource information after charging processing, where the remaining personal resource balance information is sent by the charging apparatus;
an updating unit, configured to update the personal resource information to the personal resource balance information received by the second receiving unit, and update the shared resource information to the shared resource balance information received by the second receiving unit.
9. The memory bank according to claim 8,
the query unit is specifically configured to query and obtain the personal resource information corresponding to the user identifier received by the second receiving unit and a sharer identifier corresponding to the user identifier; inquiring to obtain shared product information corresponding to the sharer identification; the shared product information includes: the shared object type, the shared object instances, and the shared resource attribute, the shared mode and the quota value corresponding to each shared object instance; and obtaining shared resource information corresponding to the user identification according to the shared product information, wherein the shared resource information comprises shared resource attributes, shared modes and quota values.
10. The memory bank according to claim 8,
the second sending unit is further configured to send an update instruction to a physical repository after the updating unit completes updating, where the update instruction is used to instruct the physical repository to update the personal resource information corresponding to the user identifier to the personal resource balance information, and update the shared resource information to the shared resource balance information.
CN201610032375.5A 2016-01-18 2016-01-18 Resource sharing charging method and charging device, and memory bank Active CN106982126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610032375.5A CN106982126B (en) 2016-01-18 2016-01-18 Resource sharing charging method and charging device, and memory bank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610032375.5A CN106982126B (en) 2016-01-18 2016-01-18 Resource sharing charging method and charging device, and memory bank

Publications (2)

Publication Number Publication Date
CN106982126A CN106982126A (en) 2017-07-25
CN106982126B true CN106982126B (en) 2020-02-14

Family

ID=59340530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610032375.5A Active CN106982126B (en) 2016-01-18 2016-01-18 Resource sharing charging method and charging device, and memory bank

Country Status (1)

Country Link
CN (1) CN106982126B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766442B (en) * 2020-06-05 2023-10-27 中国移动通信集团安徽有限公司 Telephone traffic resource sharing method and device, computing equipment and storage medium
CN114205764B (en) * 2020-09-02 2023-11-03 中国移动通信集团安徽有限公司 Traffic resource sharing method, device, equipment and computer readable storage medium
CN112631768A (en) * 2020-11-23 2021-04-09 北京思特奇信息技术股份有限公司 Resource sharing method and system based on asynchronous mechanism
CN114363844B (en) * 2021-12-09 2023-10-24 北京思特奇信息技术股份有限公司 Method and system for triggering charging based on user package use details

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859338A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Method for power discrimination and charging and external user interface gateway
CN101198097A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Method for implementing virtual net charging across areas of mobile communication
CN101998344A (en) * 2009-08-20 2011-03-30 中国移动通信集团辽宁有限公司 Method and device for multi-user charging
CN102142967A (en) * 2010-06-12 2011-08-03 华为技术有限公司 Multi-account-based online charge processing method, device and system
CN104378750A (en) * 2013-08-16 2015-02-25 中国移动通信集团广东有限公司 Charging method and system with multiple terminals sharing balance of account

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859338A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Method for power discrimination and charging and external user interface gateway
CN101198097A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Method for implementing virtual net charging across areas of mobile communication
CN101998344A (en) * 2009-08-20 2011-03-30 中国移动通信集团辽宁有限公司 Method and device for multi-user charging
CN102142967A (en) * 2010-06-12 2011-08-03 华为技术有限公司 Multi-account-based online charge processing method, device and system
CN104378750A (en) * 2013-08-16 2015-02-25 中国移动通信集团广东有限公司 Charging method and system with multiple terminals sharing balance of account

Also Published As

Publication number Publication date
CN106982126A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN106982126B (en) Resource sharing charging method and charging device, and memory bank
US20150024709A1 (en) Method and server for sharing data traffic
CN110233741B (en) Service charging method, device, equipment and storage medium
CN107635219B (en) Service package sharing method and device
CN110417561B (en) Block chain-based distributed charging method, device and system
CN110381455B (en) Flow monitoring processing method and related device and system
CN107635251A (en) Fiduciary network traffics concocting method
CN112465615B (en) Method, device and system for processing bill data
WO2019179423A1 (en) Card calling method and device, information pushing method and device, and card allocation system
CN111935306B (en) Node scheduling method and device
CN113015116B (en) Dynamic quota method and device based on flow prediction
CN106878030B (en) Charging method and device
CN108234141B (en) Directional traffic processing method and server
CN110753323B (en) Card resource allocation method and server
CN113840249B (en) Method, charging gateway and system for distinguishing charging ticket
CN102802145A (en) Network service billing method, device and system
CN112328760A (en) Service providing method, device and system
CN108964932B (en) Charging method, device and computer readable storage medium
WO2019184632A1 (en) Rating method and apparatus
CN113132928B (en) Charging method and device for video short message service
WO2017167240A1 (en) Method of purchasing service using primary or secondary card, device, and communication system
CN106936602B (en) Network charging method and device based on Internet of things equipment
CN114298732A (en) Remote settlement method, electronic device and storage medium
CN111162920B (en) Ticket processing method and device of Internet of things
CN102916820B (en) Charging system and charging method

Legal Events

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