CN107995003A - The charging and settlement method of international roaming communication, relevant apparatus and distributed system - Google Patents

The charging and settlement method of international roaming communication, relevant apparatus and distributed system Download PDF

Info

Publication number
CN107995003A
CN107995003A CN201610950802.8A CN201610950802A CN107995003A CN 107995003 A CN107995003 A CN 107995003A CN 201610950802 A CN201610950802 A CN 201610950802A CN 107995003 A CN107995003 A CN 107995003A
Authority
CN
China
Prior art keywords
communication
settlement
international roaming
distributed system
data
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.)
Pending
Application number
CN201610950802.8A
Other languages
Chinese (zh)
Inventor
刘童桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201610950802.8A priority Critical patent/CN107995003A/en
Publication of CN107995003A publication Critical patent/CN107995003A/en
Pending legal-status Critical Current

Links

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/1442Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
    • H04L12/1446Charging, metering or billing arrangements for data wireline or wireless communications at network operator level inter-operator billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1457Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using an account
    • 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/80Rating or billing plans; Tariff determination aspects
    • H04M15/8038Roaming or handoff
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Charging and settlement method and message accounting, checkout apparatus, distributed system the invention discloses a kind of international roaming communication.The charging method includes:When international roaming communication occurs, generate communication bill and billing data, the operator node to one or more equities send data, and data stored to block chain.The charging of one or more operator nodes deployment international roaming communication in a distributed system and checkout apparatus so that each operator node in distributed system can verify the authenticity and integrity of communication bill and billing data;It can also meet user's immediate inquiring communication consumption data at the same time, improve the communication service experience of user.

Description

Charging and settlement method for international roaming communication, related device and distributed system
Technical Field
The invention relates to the technical field of communication, in particular to a charging and settlement method, a charging device, a settlement device and a distributed system for international roaming communication.
Background
When the user has international roaming communication behavior, the used network is not the network provided by the home operator side in China any more, but the network provided by the operator side in the roaming place, therefore, the call and the charge of the user in foreign countries are managed and calculated by the charging system at the operator side in the roaming place, then the communication bill and the bill data are transmitted back to the charging system at the home operator side according to the appointed time limit, and the charging system at the home operator side charges the user for international roaming communication.
However, since the international roaming communication behavior of the user is generated, recorded and paid out by the charging system of the operator side of the roaming place, and the system does not generally provide the instant query function of the international roaming communication consumption information of the user, the charging and paying out process is opaque, the instant query of the user cannot be satisfied, and the user is lost due to the fault of the charging system of the operator side of the roaming place.
Based on this, when a user performs an international roaming communication behavior, how to implement public, transparent and high-accuracy charging and settlement of international roaming communication and satisfy the instant query of the user is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a charging and settlement method, a charging device, a settlement device and a distributed system for international roaming communication, which are used for realizing public, transparent and high-accuracy charging and settlement for international roaming communication and meeting the instant query of a user.
The embodiment of the invention provides a charging method for international roaming communication, which comprises the following steps:
generating a communication ticket and bill data according to the international roaming communication behavior of the roaming user;
sending the communication ticket and the bill data to one or more operator nodes in a distributed system;
and when the communication ticket and the bill data are received, judging whether the one or more operator nodes store the received communication ticket and the bill data in a block chain according to a preset rule.
In a possible implementation manner, in the charging method for international roaming communication provided in an embodiment of the present invention, the block chain specifically includes:
the system comprises a consensus mechanism block, an account information block, a general account information block and a peer-to-peer network networking block.
In a possible implementation manner, in the charging method for international roaming communication provided in an embodiment of the present invention, the sending the communication ticket and the billing data to one or more operator nodes in the distributed system specifically includes:
and sending the communication ticket and the bill data to one or more operator nodes in the distributed system according to a set time interval.
In a possible implementation manner, in the charging method for international roaming communication provided in an embodiment of the present invention, the determining, according to a preset rule, whether the one or more operator nodes store the received communication ticket and the bill data in a block chain includes:
calculating an encrypted hash function according to a block chain algorithm agreed in advance and sending a calculation result to one or more operator nodes in the distributed system;
determining whether the one or more operator nodes obtain accounting rights according to the received calculation result;
and when the billing right is determined to be possessed, storing the received communication ticket and the bill data in a block chain.
In a possible implementation manner, in the charging method for international roaming communication provided in an embodiment of the present invention, the storing the received communication ticket and the bill data in a block chain specifically includes:
and storing the received communication ticket and bill data in the blockchain in an encrypted hash function mode by calling an Application Program Interface (API) of the corresponding blockchain.
The embodiment of the invention also provides a settlement method of international roaming communication, which comprises the following steps:
according to a communication ticket and bill data generated by an operator node of a roaming user in a distributed system, determining whether the communication ticket and the bill data meet a settlement condition of international roaming communication cost;
when the settlement condition is determined to be met, sending settlement data to an operator node of the distributed system, wherein the international roaming communication behavior of a roaming user occurs;
transferring settlement funds for the international roaming communication charges to an operator node in the distributed system upon receipt of a confirmation reply to the settlement data by the operator node in the distributed system.
In a possible implementation manner, in the method for settling an international roaming communication provided by an embodiment of the present invention, the method further includes:
after transferring settlement funds for the international roaming communication charges to an operator node in the distributed system, storing settlement information within a corresponding blockchain.
In a possible implementation manner, in the method for settling an international roaming communication provided by an embodiment of the present invention, the method further includes:
when a communication consumption information query request sent by a user is received, extracting relevant communication consumption data of the user in a corresponding block chain and sending the relevant communication consumption data to the user.
In a possible implementation manner, the method for settling the international roaming communication provided by the embodiment of the present invention includes the method for charging the international roaming communication provided by the embodiment of the present invention.
The embodiment of the invention also provides a charging device for international roaming communication, which comprises:
the computing module is used for generating a communication ticket and bill data according to the international roaming communication behavior of the roaming user; when the communication ticket and the bill data are received, judging whether one or more operator nodes store the received communication ticket and the bill data in a block chain or not according to a preset rule;
and the broadcasting module is used for sending the communication ticket and the bill data to one or more operator nodes in the distributed system.
In a possible implementation manner, in the charging apparatus for international roaming communication provided in an embodiment of the present invention, the block chain specifically includes:
the system comprises a consensus mechanism block, an account information block, a general account information block and a peer-to-peer network networking block.
In a possible implementation manner, in the charging apparatus for international roaming communication provided in the embodiment of the present invention, the broadcasting module is specifically configured to send the communication ticket and the billing data to one or more operator nodes in the distributed system according to a set time interval.
In a possible implementation manner, in the charging apparatus for international roaming communication provided in an embodiment of the present invention, the calculating module specifically includes:
the first calculation module is specifically used for calculating an encrypted hash function according to a block chain algorithm agreed in advance and sending a calculation result to one or more operator nodes in the distributed system;
a first determining module, configured to determine whether the one or more operator nodes obtain an accounting right according to the received calculation result;
and the storage module is specifically used for storing the received communication ticket and the bill data in a block chain when the billing right is determined to be possessed.
In a possible implementation manner, in the charging apparatus for international roaming communication provided in the embodiment of the present invention, the storage module is specifically configured to, when the calculation module determines that the billing right is provided, store the received communication ticket and the bill data in the blockchain in the form of an encrypted hash function by calling an API of the corresponding blockchain.
The embodiment of the invention also provides a settlement device for international roaming communication, which comprises:
the second determination module is used for determining whether the communication ticket and the bill data meet the settlement condition of the international roaming communication cost according to the communication ticket and the bill data generated by the operator node of the international roaming communication behavior of the roaming user in the distributed system;
the sending module is used for sending settlement data to an operator node of the international roaming communication behavior of the roaming user in the distributed system when the settlement condition is determined to be met;
and the settlement module is used for transferring the settlement fund of the international roaming communication cost to the operator node in the distributed system when receiving the confirmation reply of the operator node in the distributed system to the settlement data.
In a possible implementation manner, in the above settlement apparatus for international roaming communication provided by the embodiment of the present invention, the settlement module is further configured to store settlement information in a corresponding block chain after transferring settlement funds of the international roaming communication charges to an operator node in the distributed system.
In a possible implementation manner, the settlement apparatus for international roaming communication according to an embodiment of the present invention further includes:
and the query module is used for extracting the relevant communication consumption data of the user in the corresponding block chain and sending the relevant communication consumption data to the user when receiving a communication consumption information query request sent by the user.
In a possible implementation manner, the accounting apparatus for international roaming communication provided by the embodiment of the present invention includes the accounting apparatus for international roaming communication provided by the embodiment of the present invention.
The embodiment of the invention also provides a distributed system of international roaming communication, which comprises: a plurality of operator nodes and blockchains; wherein,
each operator node is provided with a charging device for the international roaming communication provided by the embodiment of the invention or a settlement device for the international roaming communication provided by the embodiment of the invention;
the block chain has memory blocks corresponding to each of the operator nodes.
Drawings
Fig. 1 is a flowchart illustrating a charging method for international roaming communication according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a block chain provided in an embodiment of the present invention;
fig. 3 is a second flowchart illustrating a charging method for international roaming communication according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an encrypted hash function provided in an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a storage manner of a communication ticket and billing data in a block chain according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for settling international roaming communication according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for settling international roaming communication according to an embodiment of the present invention.
Detailed Description
The following describes in detail specific embodiments of a charging and settlement method, a charging apparatus, a settlement apparatus, and a distributed system for international roaming communication according to embodiments of the present invention with reference to the accompanying drawings. It should be noted that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a charging method for international roaming communication, which may specifically include, as shown in fig. 1:
s101, generating a communication ticket and bill data according to international roaming communication behaviors of a roaming user;
s102, sending a communication ticket and bill data to one or more operator nodes in a distributed system;
s103, when the communication ticket and the bill data are received, whether one or more operator nodes store the received communication ticket and the bill data in the block chain or not is judged according to a preset rule.
The embodiment of the invention provides a charging method of international roaming communication, which realizes the charging of the international roaming communication by a series of operations of generating a communication ticket and bill data, sending the data to one or more peer operator nodes and storing the data in a block chain when the international roaming communication occurs, so that each operator node in a distributed system can verify the authenticity and the integrity of the communication ticket and the bill data.
In specific implementation, in order to send a communication ticket and billing data to an operator node in a distributed system, step S102 in the charging method for international roaming communication provided in the embodiment of the present invention sends the communication ticket and the billing data to one or more operator nodes in the distributed system, which may specifically include:
and sending the communication ticket and the bill data to one or more operator nodes in the distributed system according to the set time interval.
Such as the communication ticket shown in table 1 and the billing data shown in table 2.
TABLE 1
TABLE 2
Of course, the set time interval may be 10 minutes or 20 minutes, and is not limited herein.
It should be noted that, in the charging method for international roaming communication provided in the embodiment of the present invention, a block chain technical principle is adopted, and a partially decentralized and distributed storage is provided for the communication ticket and the billing data of the user during the international roaming communication.
Specifically, as shown in fig. 2, the main components of the block chain in step S103 in the charging method for international roaming communication provided in the embodiment of the present invention may specifically include:
the consensus mechanism block 10 is used to satisfy a predetermined rule that each node acquires the accounting right through competition, such as: mining algorithms are also known as Proof of workload (Proof of Work, Pow), Proof of rights and interests (Proof of stamp, Pos), Proof of equity authorization mechanism (freed Proof of stamp, DPos), and Pool of authentication (Pool);
the account information block 20 is used for controlling access authorization permission of each operator node in the alliance chain, and data leakage is avoided; the alliance chain can be called an industry block chain, a plurality of preselected nodes are designated as bookkeepers in a certain industry, and a storage block of each block chain is determined by all the preselected nodes; for example: in the communication industry, a plurality of operator nodes are designated as bookkeepers, the storage block of each block chain is determined by the operator nodes with the bookkeeping right, and the operator nodes of non-bookkeepers can only inquire or acquire the communication bill and the bill data of the corresponding block chain, so that data leakage is avoided;
a general account information block 30, which is used for recording all communication behavior information, and the transaction information in each block is the communication ticket and the bill data of the user; for example, the chunk data structure shown in table 3;
TABLE 3
Data item Explaining the meaning
Version Block version number
Previous block hash 256-bit HASH value of previous block
Vext block hash 256-bit HASH value of the next block
Merkleroot 256-bit HASH value based on all transactions in one block
Time Time carrier
Bits Current target HASH value in compressed format
Confirmations Confirmation number of data change in block
Contents Changing content
Peer-to-Peer (P2P) networking block 40, also called Peer-to-Peer computer network, for implementing information sharing and interaction among participants in the network; the participants in the peer-to-peer network are both providers and acquirers of resources, services and contents.
In specific implementation, in order to implement storage of a block chain, step S103 in the charging method for international roaming communication according to the embodiment of the present invention determines, according to a preset rule, whether one or more operator nodes store a received communication ticket and billing data in the block chain, as shown in fig. 3, which may specifically include:
s103-1, calculating an encrypted hash function according to a block chain algorithm agreed in advance and sending a calculation result to one or more operator nodes in the distributed system;
s103-2, determining whether one or more operator nodes obtain the accounting right or not according to the received calculation result; if the accounting right is obtained; step S103-3 is executed; if the accounting right is not obtained, the process is quitted;
s103-3, storing the received communication ticket and the bill data in a block chain.
Here, calculating the encrypted hash function in step S103-1 means converting the original data into a string of characters having a specific length, which is called a hash value, as follows:
MD4("″)=31d6cfe0d16ae931b73c59d7e0c089c0
MD4("a")=bde52cb31de33e46245e05fbdbd6fb24
MD4("abc")=a448017aaf21d8525fc10ae87aa6729d
MD4("message digest")=d9130a8164549fe818874806e1c7014b
MD4("abcdefghijklmnopqrstuvwxyz")=d79e1c308aa5bbcdeea8ed63df412da9
MD5("″)=d41d8cd98f00b204e9800998ecf8427e
MD5("a")=0cc175b9c0f1b6a831c399e269772661
MD5("abc")=900150983cd24fb0d6963f7d28e17f72
MD5("message digest")=f96b697d7cb7938d525a2f31aaf161d0
MD5("abcdefghijklmnopqrstuvwxyz")=c3fcd3d76192e4007dfb496cca67e13b
in addition, as shown in the diagram of the encrypted hash function in fig. 4, the left side is three sets of initial data, which are distinguished by the last word, namely evil, evll, and veil, respectively, and after the hash function is calculated, the three sets of completely different hash values are transformed as shown on the right side, which indicates that any slight change of the initial data will cause the change of the hash value generated by the final calculation; and, which particular hash value an initial data will produce is unpredictable; therefore, the initial data is guaranteed not to be decoded due to the fact that the hash value cannot be predicted, and leakage of the initial data is avoided.
Of course, for the block chain algorithm agreed in advance, the mining algorithm may be adopted, and other algorithms such as Pos, DPos or Pool may also be adopted, which is not limited herein.
In specific implementation, in order to store the received communication ticket and the bill data in the blockchain, step S103-3 in the charging method for international roaming communication provided in the embodiment of the present invention may specifically include:
storing the received communication ticket and bill data in the blockchain in an encrypted hash function mode by calling an Application Program Interface (API) of the corresponding blockchain; fig. 5 shows a storage manner of the communication ticket and the billing data in the blockchain.
An embodiment of the present invention further provides a method for settling international roaming communication, and as shown in fig. 6, the method may specifically include:
s201, determining whether a communication ticket and bill data meet the settlement condition of international roaming communication cost according to the communication ticket and bill data generated by an operator node of an international roaming communication behavior of a roaming user in a distributed system; if the settlement condition is satisfied, executing step S202; if the settlement condition is not met, the process is exited;
s202, sending settlement data to an operator node of a roaming user in a distributed system, wherein the international roaming communication behavior of the roaming user occurs;
s203, receiving a confirmation reply of the operator node in the distributed system to the settlement data;
and S204, transferring the settlement fund of the international roaming communication cost to an operator node in the distributed system.
It should be noted that, the method for settling international roaming communication provided in the embodiment of the present invention may be automatically executed periodically in a background polling procedure manner, so as to improve the settling efficiency and accuracy of international roaming communication.
In a specific implementation, in order to store settlement data and transaction information, the method for settling international roaming communication according to an embodiment of the present invention may further include:
after transferring settlement funds for international roaming communication charges to an operator node in the distributed system, the settlement information is stored within the corresponding blockchain.
In specific implementation, in order to satisfy the instant query of the user on the communication cost, the method for settling the international roaming communication provided in the embodiment of the present invention may further include:
and when a communication consumption information query request sent by a user is received, extracting relevant communication consumption data of the user in the corresponding block chain and sending the relevant communication consumption data to the user.
In a specific implementation, the method for settling the international roaming communication according to the embodiment of the present invention may further include a charging method for the international roaming communication according to the embodiment of the present invention.
Based on the same inventive concept, the embodiment of the present invention further provides a charging apparatus for international roaming communication, and since the principle of the apparatus for solving the problem is similar to the aforementioned charging method for international roaming communication, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.
Specifically, an embodiment of the present invention provides a charging apparatus for international roaming communication, which may specifically include the following modules:
the computing module is used for generating a communication ticket and bill data according to the international roaming communication behavior of the roaming user; when receiving the communication ticket and the bill data, judging whether one or more operator nodes store the received communication ticket and the bill data in a block chain according to a preset rule;
and the broadcasting module is used for sending the communication ticket and the bill data to one or more operator nodes in the distributed system.
In specific implementation, the broadcast module in the charging apparatus for international roaming communication provided in the embodiment of the present invention may be specifically configured to send a communication ticket and billing data to one or more operator nodes in a distributed system according to a set time interval.
In a specific implementation, as shown in fig. 2, the block chain of the computing module in the charging apparatus for international roaming communication provided in the embodiment of the present invention may mainly include the following blocks:
a consensus mechanism block 10, an account information block 20, a general ledger information block 30 and a peer-to-peer networking block 40.
In a specific implementation, the computing module in the charging apparatus for international roaming communication provided in the embodiment of the present invention may specifically include:
the first calculation module is specifically used for calculating an encrypted hash function according to a block chain algorithm agreed in advance and sending a calculation result to one or more operator nodes in the distributed system;
the first determining module is specifically configured to determine whether one or more operator nodes obtain the billing right according to the received calculation result;
the storage module is specifically used for storing the received communication ticket and the bill data in the block chain when the billing right is determined to be possessed;
the method can also comprise the following steps: and the second calculation module is specifically used for generating a communication ticket and bill data according to the international roaming communication behavior of the roaming user.
In specific implementation, the storage module in the charging apparatus for international roaming communication provided in the embodiment of the present invention may be specifically configured to, when it is determined that the charging right is possessed, store the received communication ticket and the bill data in the block chain in the form of an encrypted hash function by calling an API of the corresponding block chain.
Based on the same inventive concept, the embodiment of the present invention further provides a settlement apparatus for international roaming communication, and since the principle of the apparatus for solving the problem is similar to the aforementioned settlement method for international roaming communication, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.
Specifically, an embodiment of the present invention provides a settlement apparatus for international roaming communication, which may specifically include the following modules:
the second determining module is used for determining whether the communication ticket and the bill data meet the settlement condition of the international roaming communication cost according to the communication ticket and the bill data generated by the operator node of the international roaming communication behavior of the roaming user in the distributed system;
the sending module is used for sending the settlement data to an operator node of the international roaming communication behavior of the roaming user in the distributed system when the settlement condition is determined to be met;
and the settlement module is used for transferring the settlement fund of the international roaming communication cost to the operator nodes in the distributed system when receiving the confirmation reply of the operator nodes in the distributed system to the settlement data.
In practical implementation, the settlement module in the settlement apparatus for international roaming communication according to the embodiment of the present invention may be further configured to store the settlement information in the corresponding block chain after transferring the settlement fund of the international roaming communication cost to the operator node in the distributed system.
In a specific implementation, the apparatus for settling international roaming communication according to an embodiment of the present invention may further include:
the query module may be configured to, when receiving a communication consumption information query request sent by a user, extract, in a corresponding blockchain, relevant communication consumption data of the user and send the relevant communication consumption data to the user.
In a specific implementation, the settlement apparatus for international roaming communication according to the embodiment of the present invention may further include modules in the charging apparatus for international roaming communication according to the embodiment of the present invention, so as to accurately and efficiently settle the charges for international roaming communication generated by the roaming user.
Of course, the settlement device for international roaming communication provided by the embodiment of the present invention is not limited to the above-mentioned one structure, and may be composed of one or more of the above-mentioned structures, or different combinations of the above-mentioned components, and is not limited herein.
Specifically, the settlement apparatus for international roaming communication provided in the embodiment of the present invention may be deployed on network element devices of each operator node as a single unit.
The first embodiment is as follows:
the settlement apparatus for international roaming communication provided by the embodiment of the present invention will be described in detail below with reference to the settlement apparatus shown in fig. 7:
the second computing module 101-1 is specifically configured to generate a communication ticket and bill data according to an international roaming communication behavior of a roaming user;
the broadcasting module 102 is specifically configured to send a communication ticket and billing data to one or more operator nodes in the distributed system at an interval of every 10 minutes;
the first calculation module 101-2 is specifically configured to calculate an encrypted hash function according to a block chain algorithm agreed in advance and send a calculation result to one or more operator nodes in the distributed system;
the first determining module 101-3 is specifically configured to determine whether one or more operator nodes obtain the billing right according to the received calculation result;
the storage module 101-4 is specifically configured to, when it is determined that the billing right exists, store the received communication ticket and the bill data in the blockchain in the form of an encrypted hash function by calling an API of the corresponding blockchain;
the second determining module 201 is specifically configured to determine whether the communication ticket and the billing data satisfy a settlement condition of the international roaming communication cost according to the communication ticket and the billing data generated by the operator node of the international roaming communication behavior of the roaming user in the distributed system;
a sending module 202, configured to send settlement data to an operator node where an international roaming communication behavior occurs for a roaming user in a distributed system when it is determined that a settlement condition is satisfied;
the settlement module 203 is specifically configured to transfer settlement funds of the international roaming communication charges to the operator nodes in the distributed system when receiving a confirmation reply of the operator nodes in the distributed system to the settlement data; after transferring settlement funds of the international roaming communication charges to an operator node in the distributed system, storing settlement information in a corresponding block chain;
the query module 204 is specifically configured to, when receiving a communication consumption information query request sent by a user, extract relevant communication consumption data of the user in a corresponding blockchain and send the relevant communication consumption data to the user.
The embodiment of the invention also provides a distributed system of international roaming communication, which comprises: a plurality of operator nodes and blockchains; wherein,
each operator node is provided with a charging device for the international roaming communication provided by the embodiment of the invention or a settlement device for the international roaming communication provided by the embodiment of the invention;
and the block chain has storage blocks corresponding to each operator node.
Specifically, in the distributed system for international roaming communication provided in the embodiment of the present invention, the distributed system may be integrally deployed as one subsystem in a charging system of each operator node.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
The embodiment of the invention provides a charging and settlement method, a charging device, a settlement device and a distributed system for international roaming communication, wherein the charging method comprises the steps of generating a communication bill and bill data according to the international roaming communication behavior of a roaming user; sending communication ticket and bill data to one or more operator nodes in the distributed system; and when the communication ticket and the bill data are received, judging whether one or more operator nodes store the received communication ticket and the bill data in the block chain or not according to a preset rule. Therefore, when international roaming communication occurs, the charging of the international roaming communication is realized through a series of operations of generating a communication ticket and bill data, sending the data to one or more peer operator nodes and storing the data in a block chain, so that each operator node in a distributed system can verify the authenticity and the integrity of the communication ticket and the bill data; meanwhile, the instant query of communication consumption data of the user can be met, and the communication service experience of the user is improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (19)

1. A charging method for international roaming communication, characterized in that the charging method comprises:
generating a communication ticket and bill data according to the international roaming communication behavior of the roaming user;
sending the communication ticket and the bill data to one or more operator nodes in a distributed system;
and when the communication ticket and the bill data are received, judging whether the one or more operator nodes store the received communication ticket and the bill data in a block chain according to a preset rule.
2. The charging method according to claim 1, wherein the block chain specifically includes:
the system comprises a consensus mechanism block, an account information block, a general account information block and a peer-to-peer network networking block.
3. The charging method according to claim 1, wherein the sending the communication ticket and the billing data to one or more operator nodes in the distributed system specifically comprises:
and sending the communication ticket and the bill data to one or more operator nodes in the distributed system according to a set time interval.
4. The charging method according to claim 1, wherein the determining, according to a preset rule, whether the one or more operator nodes store the received communication ticket and the received bill data in a block chain specifically comprises:
calculating an encrypted hash function according to a block chain algorithm agreed in advance and sending a calculation result to one or more operator nodes in the distributed system;
determining whether the one or more operator nodes obtain accounting rights according to the received calculation result;
and when the billing right is determined to be possessed, storing the received communication ticket and the bill data in a block chain.
5. The charging method according to claim 4, wherein the storing the received communication ticket and the bill data in a block chain specifically comprises:
and storing the received communication ticket and bill data in the blockchain in an encrypted hash function mode by calling an Application Program Interface (API) of the corresponding blockchain.
6. A method for settling international roaming communication, the method comprising:
according to a communication ticket and bill data generated by an operator node of a roaming user in a distributed system, determining whether the communication ticket and the bill data meet a settlement condition of international roaming communication cost;
when the settlement condition is determined to be met, sending settlement data to an operator node of the distributed system, wherein the international roaming communication behavior of a roaming user occurs;
transferring settlement funds for the international roaming communication charges to an operator node in the distributed system upon receipt of a confirmation reply to the settlement data by the operator node in the distributed system.
7. The settlement method according to claim 6, further comprising:
after transferring settlement funds for the international roaming communication charges to an operator node in the distributed system, storing settlement information within a corresponding blockchain.
8. The settlement method according to claim 6, further comprising:
when a communication consumption information query request sent by a user is received, extracting relevant communication consumption data of the user in a corresponding block chain and sending the relevant communication consumption data to the user.
9. Settlement method according to any one of claims 6 to 8, comprising a charging method for international roaming communication according to any one of claims 1 to 5.
10. A charging apparatus for international roaming communication, comprising:
the computing module is used for generating a communication ticket and bill data according to the international roaming communication behavior of the roaming user; when the communication ticket and the bill data are received, judging whether one or more operator nodes store the received communication ticket and the bill data in a block chain or not according to a preset rule;
and the broadcasting module is used for sending the communication ticket and the bill data to one or more operator nodes in the distributed system.
11. The charging apparatus according to claim 10, wherein the block chain specifically includes:
the system comprises a consensus mechanism block, an account information block, a general account information block and a peer-to-peer network networking block.
12. The charging apparatus according to claim 10, wherein the broadcasting module is specifically configured to send the communication ticket and the billing data to one or more operator nodes in the distributed system according to a set time interval.
13. The charging apparatus according to claim 10, wherein the calculating module specifically includes:
the first calculation module is specifically used for calculating an encrypted hash function according to a block chain algorithm agreed in advance and sending a calculation result to one or more operator nodes in the distributed system;
a first determining module, configured to determine whether the one or more operator nodes obtain an accounting right according to the received calculation result;
and the storage module is specifically used for storing the received communication ticket and the bill data in a block chain when the billing right is determined to be possessed.
14. The charging apparatus according to claim 13, wherein the storage module is specifically configured to store the received communication ticket and the bill data in a blockchain in the form of an encrypted hash function by calling an API of the corresponding blockchain when the calculation module determines that the billing right is present.
15. An apparatus for settling international roaming communication, comprising:
the second determination module is used for determining whether the communication ticket and the bill data meet the settlement condition of the international roaming communication cost according to the communication ticket and the bill data generated by the operator node of the international roaming communication behavior of the roaming user in the distributed system;
the sending module is used for sending settlement data to an operator node of the international roaming communication behavior of the roaming user in the distributed system when the settlement condition is determined to be met;
and the settlement module is used for transferring the settlement fund of the international roaming communication cost to the operator node in the distributed system when receiving the confirmation reply of the operator node in the distributed system to the settlement data.
16. The settlement apparatus of claim 15, wherein the settlement module is further configured to store settlement information in the corresponding blockchain after transferring settlement funds for the international roaming communication charges to an operator node in the distributed system.
17. The settlement apparatus according to claim 15, further comprising:
and the query module is used for extracting the relevant communication consumption data of the user in the corresponding block chain and sending the relevant communication consumption data to the user when receiving a communication consumption information query request sent by the user.
18. Settlement apparatus according to any one of claims 15 to 17, comprising charging means for international roaming communications according to any one of claims 10 to 14.
19. A distributed system for international roaming communication, the distributed system comprising: a plurality of operator nodes and blockchains; wherein,
-each of said operator nodes is provided with charging means according to any of claims 10-14 or with settlement means according to any of claims 15-18;
the block chain has memory blocks corresponding to each of the operator nodes.
CN201610950802.8A 2016-10-26 2016-10-26 The charging and settlement method of international roaming communication, relevant apparatus and distributed system Pending CN107995003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610950802.8A CN107995003A (en) 2016-10-26 2016-10-26 The charging and settlement method of international roaming communication, relevant apparatus and distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610950802.8A CN107995003A (en) 2016-10-26 2016-10-26 The charging and settlement method of international roaming communication, relevant apparatus and distributed system

Publications (1)

Publication Number Publication Date
CN107995003A true CN107995003A (en) 2018-05-04

Family

ID=62029538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610950802.8A Pending CN107995003A (en) 2016-10-26 2016-10-26 The charging and settlement method of international roaming communication, relevant apparatus and distributed system

Country Status (1)

Country Link
CN (1) CN107995003A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471601A (en) * 2018-06-21 2018-08-31 中国联合网络通信集团有限公司 Inter-network settlement method, apparatus, equipment and storage medium
CN108768672A (en) * 2018-05-31 2018-11-06 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN108989061A (en) * 2018-09-14 2018-12-11 腾讯科技(深圳)有限公司 Communication system, method, server and storage medium
CN109102384A (en) * 2018-07-27 2018-12-28 中国联合网络通信集团有限公司 Fee payment method and network system
CN109840845A (en) * 2018-11-23 2019-06-04 北京太一智源科技有限公司 Communicate settlement method
WO2019227978A1 (en) * 2018-05-31 2019-12-05 华为技术有限公司 Roaming charging method and apparatus
CN111405505A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Bill processing method, system and storage medium for roaming service
WO2020178844A1 (en) 2019-03-07 2020-09-10 Telefonaktiebolaget Lm Ericsson (Publ) Blockchain for communication of subscriber data records between public land mobile networks
CN111770463A (en) * 2020-06-28 2020-10-13 中国联合网络通信集团有限公司 Roaming charging method based on block chain and roaming charging node
WO2021037263A1 (en) * 2019-08-30 2021-03-04 华为技术有限公司 Roaming billing processing method, apparatus and system
CN112785299A (en) * 2019-11-11 2021-05-11 华为技术有限公司 Block chain-based roaming transaction method and device
CN113709685A (en) * 2021-11-01 2021-11-26 深圳市聚慧合创信息技术有限公司 VoLTE high-definition audio and video international roaming charging settlement system based on 5G

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160117657A1 (en) * 2014-10-22 2016-04-28 Causam Energy, Inc. Systems and Methods for Advanced Energy Settlements, Network-Based Messaging, and Applications Supporting the Same
CN105701651A (en) * 2016-01-11 2016-06-22 何伯祥 Cross-regional settlement transaction system and method
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160117657A1 (en) * 2014-10-22 2016-04-28 Causam Energy, Inc. Systems and Methods for Advanced Energy Settlements, Network-Based Messaging, and Applications Supporting the Same
CN105701651A (en) * 2016-01-11 2016-06-22 何伯祥 Cross-regional settlement transaction system and method
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3790293A4 (en) * 2018-05-31 2021-06-30 Huawei Technologies Co., Ltd. Roaming charging method and apparatus
CN108768672A (en) * 2018-05-31 2018-11-06 中国联合网络通信集团有限公司 Data processing method, device and storage medium
WO2019227978A1 (en) * 2018-05-31 2019-12-05 华为技术有限公司 Roaming charging method and apparatus
CN110557729A (en) * 2018-05-31 2019-12-10 华为技术有限公司 roaming charging method and device
US11457111B2 (en) 2018-05-31 2022-09-27 Huawei Technologies Co., Ltd. Method and apparatus for verifying the correctness of a roaming account balance
CN108768672B (en) * 2018-05-31 2021-10-08 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN110557729B (en) * 2018-05-31 2020-12-15 华为技术有限公司 Roaming charging method and device
CN108471601A (en) * 2018-06-21 2018-08-31 中国联合网络通信集团有限公司 Inter-network settlement method, apparatus, equipment and storage medium
CN108471601B (en) * 2018-06-21 2020-12-01 中国联合网络通信集团有限公司 Internetwork settlement method, device, equipment and storage medium
CN109102384A (en) * 2018-07-27 2018-12-28 中国联合网络通信集团有限公司 Fee payment method and network system
CN108989061A (en) * 2018-09-14 2018-12-11 腾讯科技(深圳)有限公司 Communication system, method, server and storage medium
CN109840845A (en) * 2018-11-23 2019-06-04 北京太一智源科技有限公司 Communicate settlement method
CN111405505B (en) * 2019-01-02 2021-11-09 中国移动通信有限公司研究院 Bill processing method, system and storage medium for roaming service
CN111405505A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Bill processing method, system and storage medium for roaming service
WO2020178844A1 (en) 2019-03-07 2020-09-10 Telefonaktiebolaget Lm Ericsson (Publ) Blockchain for communication of subscriber data records between public land mobile networks
US11765276B2 (en) 2019-03-07 2023-09-19 Telefonaktiebolaget Lm Ericsson (Publ) Blockchain for communication of subscriber data records between public land mobile networks
EP3935785A4 (en) * 2019-03-07 2022-03-02 Telefonaktiebolaget LM Ericsson (publ) Blockchain for communication of subscriber data records between public land mobile networks
WO2021037263A1 (en) * 2019-08-30 2021-03-04 华为技术有限公司 Roaming billing processing method, apparatus and system
CN112449316A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Roaming charging processing method, device and system
CN112449316B (en) * 2019-08-30 2022-06-07 华为技术有限公司 Roaming charging processing method, device and system
WO2021093739A1 (en) * 2019-11-11 2021-05-20 华为技术有限公司 Roaming transaction method and apparatus based on blockchain
EP4036831A4 (en) * 2019-11-11 2022-11-23 Huawei Technologies Co., Ltd. Roaming transaction method and apparatus based on blockchain
CN112785299A (en) * 2019-11-11 2021-05-11 华为技术有限公司 Block chain-based roaming transaction method and device
CN112785299B (en) * 2019-11-11 2024-03-01 华为技术有限公司 Method and device for roaming transaction based on blockchain
CN111770463A (en) * 2020-06-28 2020-10-13 中国联合网络通信集团有限公司 Roaming charging method based on block chain and roaming charging node
CN113709685A (en) * 2021-11-01 2021-11-26 深圳市聚慧合创信息技术有限公司 VoLTE high-definition audio and video international roaming charging settlement system based on 5G

Similar Documents

Publication Publication Date Title
CN107995003A (en) The charging and settlement method of international roaming communication, relevant apparatus and distributed system
CN108009811B (en) Inter-cloud computing environment value exchange-oriented cross-chain communication method
JP6940182B2 (en) Blockchain management device, blockchain management method and program
CN108667632B (en) Credit record sharing method and device based on block chain and electronic equipment
CN109075964B (en) Block chaining supporting multiple one-way functions for block verification
KR101950912B1 (en) Verification system and method for transaction based block chain
CN104580253B (en) A kind of method and device of processes user data
WO2018209190A1 (en) Trusted agent blockchain oracle
US20160283939A1 (en) System and method to prevent loss of bitcoins due to address errors
US20210233068A1 (en) Settlement system, settlement method, user device, and settlement program
CN111062811B (en) Block chain consensus method, system and storage medium
US20220256340A1 (en) Method for providing roaming service by using blockchain and apparatus therefor
CN111199489A (en) Method, apparatus, computer-readable storage medium and computer program product for cross-blockchain asset management
CN110659905B (en) Transaction verification method, device, terminal equipment and storage medium
CN111010284B (en) Processing method of block to be identified, related device and block chain system
CN111210345B (en) Signature method and device based on block chain network transaction and terminal equipment
CN110910000A (en) Block chain asset management method and device
CN113850575A (en) Resource processing method and device
CN112381543A (en) Multiple signature transaction method, device and storage medium
CN111292190A (en) Transaction generation method, block creation method, related device and equipment
CN110599267A (en) Electronic invoice billing method and device, computer readable storage medium and computer equipment
CN111241586B (en) Anonymous processing method and system for block link address, terminal and storage medium
CN110276693B (en) Insurance claim settlement method and system
CN111198763B (en) Method for detecting reuse of resources, terminal and computer-readable storage medium
CN112788555B (en) Cross-operator telephone charge transfer settlement method, device and computing equipment

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