CN108632480A - Charging method based on block chain and device - Google Patents
Charging method based on block chain and device Download PDFInfo
- Publication number
- CN108632480A CN108632480A CN201810353450.7A CN201810353450A CN108632480A CN 108632480 A CN108632480 A CN 108632480A CN 201810353450 A CN201810353450 A CN 201810353450A CN 108632480 A CN108632480 A CN 108632480A
- Authority
- CN
- China
- Prior art keywords
- information
- node
- block chain
- user
- intelligent contract
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/48—Secure or trusted billing, e.g. trusted elements or encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3263—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/41—Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/50—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP for cross-charging network operators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/70—Administration or customization aspects; Counter-checking correct charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/70—Administration or customization aspects; Counter-checking correct charges
- H04M15/73—Validating charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/80—Rating or billing plans; Tariff determination aspects
- H04M15/8038—Roaming or handoff
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/82—Criteria or parameters used for performing billing operations
- H04M15/8214—Data or packet based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Abstract
The present invention provides a kind of charging method and device based on block chain, method are applied in block catenary system, and block catenary system includes:Multiple communication nodes, block catenary system are communicated with multiple telecom operators' nodes, regulatory agency's node and a block chain operator node respectively, and method includes:Obtain the user identifier and flow information corresponding with user identifier that communication node uploads;According to flow information and preset first intelligent contract, cost information corresponding with user identifier is calculated;It is signed to cost information using the digital certificate in the first intelligent contract, obtains subscription fees information;Obtain client public key corresponding with user identifier, subscription fees information is encrypted using client public key, obtain encryption overhead information, not transparent enough the technical problem of the charging process of Web vector graphic rate existing in the prior art is alleviated, the technique effect so that the charging process transparence of Web vector graphic rate has been reached.
Description
Technical field
The present invention relates to telecom charging technical fields, more particularly, to a kind of charging method and device based on block chain.
Background technology
Continuous with internet is popularized, and mobile interchange has become a kind of people's essential need in daily life
It asks.Can surf the web information at any time, ubiquitous mobile payment, all be unable to do without the Internet-based that telecom operators provide
Infrastructure service.
, there is respective centralization data center in the existing telecom operators for providing service on net, they pass through concentration
The online of the gateway accessing user of formula is asked, and by the charge system of centralization, and statistics flow letter is identified for different user
Breath carries out charging according to self-ordained charging regulation and deducts fees.For a user, user does not know specific charging rule
Then.Use this charging mode so that user can not obtain true foundation of deducting fees, and can only receive last billing invoice.Cause
This, the problem for causing the charging process of Web vector graphic rate not transparent enough.
Invention content
In view of this, the purpose of the present invention is to provide a kind of charging method and device based on block chain, existing to alleviate
The technical problem for having the charging process of Web vector graphic rate present in technology not transparent enough.
In a first aspect, an embodiment of the present invention provides a kind of charging method based on block chain, method is applied to block chain
In system, the block catenary system includes:Multiple communication nodes, the block catenary system are saved with multiple telecom operators respectively
Point, regulatory agency's node and a block chain operator node communication, method include:
Obtain the user identifier and flow information corresponding with the user identifier that the communication node uploads;
According to the flow information and preset first intelligent contract, expense corresponding with the user identifier is calculated
Information;
It is signed to the cost information using the digital certificate in the described first intelligent contract, obtains subscription fees letter
Breath;
Obtain corresponding with user identifier client public key, using the client public key to the subscription fees information into
Row encryption, obtains encryption overhead information.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiments of first aspect, wherein also
Including:
The second intelligent contract by signature that telecom operators' node uploads is received, the described second intelligent contract is
It is obtained according to the digital certificate of telecom operators' node and preset charging regulation;
Described second intelligent contract is sent to regulatory agency's node and the block chain operator node, so that institute
Regulatory agency's node and the block chain operator node is stated to audit the described second intelligent contract;
When receive that regulatory agency's node and the block chain operator node return after the approval described in
After first intelligent contract, the described first intelligent contract is recorded.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiments of first aspect, wherein also
Including:
When receiving the described first intelligent contract for passing through signature that regulatory agency's node returns, record first is examined
Core timestamp and the first contract return information;
When receive that the block chain operator node returns by signature the described first intelligent contract when, record the
Two audit timestamps and the second contract return information.
With reference to first aspect, an embodiment of the present invention provides the third possible embodiments of first aspect, wherein also
Including:
After receiving the inquiry into expenses application that user is submitted by the webpage of block catenary system described in browser access, carry
Show that the user inputs the private key for user of user to be checked;
The private key for user is received, and, the encryption overhead information is decrypted with the private key for user, obtains institute
State subscription fees information;
The subscription fees information is sent to the browser.
With reference to first aspect, an embodiment of the present invention provides the 4th kind of possible embodiments of first aspect, wherein also
Including:
When receiving on the user that telecom operators are submitted by the webpage of block catenary system described in the browser access
After net record queries application, the user of telecom operators' input operator's private key and the user to be checked is prompted to authorize;
It receives operator's private key and the user authorizes;
According to operator's private key, judge whether the telecom operators have permission the inquiry encryption overhead information;
If the telecom operators have permission the inquiry encryption overhead information, authorized to the encryption with the user
Cost information is decrypted, and obtains the subscription fees information;
The subscription fees information of the user to be checked is sent to the browser.
With reference to first aspect, an embodiment of the present invention provides the 5th kind of possible embodiments of first aspect, wherein institute
Stating communication node includes:Block chain router node and block chain base-station node;
The block chain router node, the use for uploading the domestic consumer to surf the Internet using router terminal
Family identifies and the flow information corresponding with the user identifier;
The block chain base-station node, the user for uploading the mobile subscriber to be surfed the Internet using telecomm base station are marked
Knowledge and the flow information corresponding with the user identifier.
With reference to first aspect, an embodiment of the present invention provides the 6th kind of possible embodiments of first aspect, wherein institute
It states regulatory agency's node to audit the legitimacy of the described second intelligent contract, the block chain operator node is to described the
The program bug of two intelligent contracts is audited.
With reference to first aspect, an embodiment of the present invention provides the 7th kind of possible embodiments of first aspect, wherein institute
State communication node and billing application be installed, the billing application by the user identifier of collection and with the user
It identifies the corresponding flow information and is uploaded to the block catenary system.
Second aspect, the embodiment of the present invention also provide a kind of message accounting based on block chain, including:Acquisition module, meter
Calculate module, signature blocks and encrypting module;
The acquisition module, the user identifier for obtaining communication node upload and flow corresponding with the user identifier
Information;
The computing module, for according to the flow information and preset first intelligent contract, be calculated with it is described
The corresponding cost information of user identifier;
The signature blocks, for being signed to the cost information using the digital certificate in the described first intelligent contract
Name, obtains subscription fees information;
The encrypting module uses the client public key pair for obtaining client public key corresponding with the user identifier
The subscription fees information is encrypted, and obtains encryption overhead information.
The third aspect, the embodiment of the present invention also provide a kind of meter for the non-volatile program code that can perform with processor
Calculation machine readable medium, said program code make the processor execute such as any the method for first aspect.
The embodiment of the present invention brings following advantageous effect:Charging method provided in an embodiment of the present invention based on block chain
Applied in block catenary system, the block catenary system includes:Multiple communication nodes, the block catenary system respectively with multiple electricity
Believe that operator node, regulatory agency's node and a block chain operator node communication, method include:Obtain the communication
The user identifier and flow information corresponding with the user identifier that node uploads;According to the flow information and preset first
Cost information corresponding with the user identifier is calculated in intelligent contract;Use the number card in the described first intelligent contract
Book signs to the cost information, obtains subscription fees information;Client public key corresponding with the user identifier is obtained, is made
The subscription fees information is encrypted with the client public key, obtains encryption overhead information.
So after user carries out online activity by communication node, communication node by the user identifier of collection and with institute
State the corresponding flow information of user identifier and upload to the block catenary system, the block catenary system obtain the user identifier and
Flow information corresponding with the user identifier, flow information corresponding with the user identifier in this way cannot be changed
, according to the flow information and preset first intelligent contract, (the described first intelligent contract is basis to the block catenary system
What charging regulation generated, while the described first intelligent contract is audited by regulatory agency, ensures legitimacy and authenticity),
Cost information corresponding with the user identifier is calculated, is taken to described using the digital certificate in the described first intelligent contract
It is signed with information, obtains subscription fees information;Client public key corresponding with the user identifier is obtained, the user is used
The subscription fees information is encrypted in public key, obtains encryption overhead information, can be with when user wants inquiry cost information
Application is submitted by the webpage of block catenary system described in browser access, with the private key for user of oneself to the encryption overhead information
It is decrypted, obtains the subscription fees information, and then check specific charging process and foundation of deducting fees, avoid transporting due to telecommunications
The charging process of Web vector graphic rate is not saturating enough caused by battalion quotient carries out charging and deduct fees according to self-ordained charging regulation
Therefore bright problem alleviates not transparent enough the technical problem of the charging process of Web vector graphic rate existing in the prior art,
The technique effect so that the charging process transparence of Web vector graphic rate is reached.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and is obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, other drawings may also be obtained based on these drawings.
Fig. 1 is the first flow chart of the charging method provided in an embodiment of the present invention based on block chain;
Fig. 2 is second of flow chart of the charging method provided in an embodiment of the present invention based on block chain;
Fig. 3 is the third flow chart of the charging method provided in an embodiment of the present invention based on block chain;
Fig. 4 is the 4th kind of flow chart of the charging method provided in an embodiment of the present invention based on block chain.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, shall fall within the protection scope of the present invention.
Currently, as the continuous of internet is popularized, it is essential in daily life that mobile interchange has become people
A kind of demand.Can surf the web information at any time, ubiquitous mobile payment, all be unable to do without the mutual of telecom operators' offer
Networking infrastructures service.
, there is respective centralization data center in the existing telecom operators for providing service on net, they pass through concentration
The online of the gateway accessing user of formula is asked, and by the charge system of centralization, and statistics flow letter is identified for different user
Breath carries out charging according to self-ordained charging regulation and deducts fees.For a user, user does not know specific charging rule
Then.Use this charging mode so that user can not obtain true foundation of deducting fees, and can only receive last billing invoice.Cause
This, the problem for causing the charging process of Web vector graphic rate not transparent enough is based on this, and one kind provided in an embodiment of the present invention is based on
The charging method and device of block chain, the charging process that can alleviate Web vector graphic rate existing in the prior art are not transparent enough
The technical issues of, reach the technique effect so that the charging process transparence of Web vector graphic rate.
For ease of understanding the present embodiment, first to a kind of meter based on block chain disclosed in the embodiment of the present invention
Charging method describes in detail, and method is applied in block catenary system, and the block catenary system includes:Multiple communication nodes, institute
It is logical with multiple telecom operators' nodes, regulatory agency's node and a block chain operator node respectively to state block catenary system
Letter, as shown in Figure 1, the charging method based on block chain may comprise steps of.
Step S101 obtains user identifier and flow corresponding with user identifier letter that the communication node uploads
Breath.
Illustratively, the communication node may include:Block chain router node and block chain base-station node.The area
Block chain router node, the user identifier for uploading the domestic consumer to surf the Internet using router terminal and with it is described
The corresponding flow information of user identifier.The block chain base-station node is surfed the Internet for uploading using telecomm base station
The user identifier of mobile subscriber and the flow information corresponding with the user identifier.
Illustratively, the communication node is equipped with billing application, and the billing application will be described in collection
User identifier and the flow information corresponding with the user identifier are uploaded to the block catenary system.
Illustratively, when user is surfed the Internet using router terminal, the user identifier can be that broadband user compiles
Number.When user is surfed the Internet using telecomm base station, the user identifier can be that SIM cards of mobile phones is numbered.The broadband user
Number and SIM cards of mobile phones number are all the unique marks of user.
Illustratively, the flow information may include:Surfing flow dosage information and online duration information.
Step S102 is calculated and the user identifier according to the flow information and preset first intelligent contract
Corresponding cost information.
Illustratively, the second intelligence is obtained according to the digital certificate of telecom operators' node and preset charging regulation
Contract, telecom operators' node sign to the described second intelligent contract, then pass through regulatory agency's node and
After the audit of the block chain operator node, regulatory agency's node and the block chain operator node are respectively to described
Second intelligent contract is signed, and the described first intelligent contract is obtained.
Illustratively, regulatory agency's node can audit the legitimacy of the described second intelligent contract, described
Block chain operator node can audit the program bug of the described second intelligent contract.
Illustratively, the charging regulation is issued in the form of intelligent contract in the block catenary system, ensure that meter
Take the publicity and the transparency of rule.
Step S103 signs to the cost information using the digital certificate in the described first intelligent contract, obtains
Subscription fees information.
Illustratively, the digital certificate is that telecom operators' node is all, using the digital certificate to institute
It states cost information to sign, indicates that telecom operators' node recognizes the calculating process of the cost information.
Illustratively, the generation process record of expense can not be distorted in the distributed account book of the block catenary system, protect
The transparency that expense generates process is demonstrate,proved.
Step S104 obtains client public key corresponding with the user identifier, using the client public key to the signature
Cost information is encrypted, and obtains encryption overhead information.
Illustratively, the encryption overhead information is recorded in the shared account book of the block catenary system, can not be distorted,
It ensure that the safety of encryption overhead information.
Illustratively, when user wants inquiry cost information, block catenary system described in browser access can be passed through
Webpage submit application, input the private key for user of oneself, obtain the subscription fees information, so check specific charging process and
It deducts fees foundation.Only after the mandate of user, his talent can check the cost information of user.
In the embodiment of the present invention, the charging method provided in an embodiment of the present invention based on block chain is applied to block catenary system
In, the block catenary system includes:Multiple communication nodes, the block catenary system respectively with multiple telecom operators' nodes, one
A regulatory agency's node and a block chain operator node communication, method include:Obtain the user that the communication node uploads
Mark and flow information corresponding with the user identifier;According to the flow information and preset first intelligent contract, calculate
Obtain cost information corresponding with the user identifier;The expense is believed using the digital certificate in the described first intelligent contract
Breath is signed, and subscription fees information is obtained;Client public key corresponding with the user identifier is obtained, the client public key is used
The subscription fees information is encrypted, encryption overhead information is obtained.
So after user carries out online activity by communication node, communication node by the user identifier of collection and with institute
State the corresponding flow information of user identifier and upload to the block catenary system, the block catenary system obtain the user identifier and
Flow information corresponding with the user identifier, flow information corresponding with the user identifier in this way cannot be changed
, according to the flow information and preset first intelligent contract, (the described first intelligent contract is basis to the block catenary system
What charging regulation generated, while the described first intelligent contract is audited by regulatory agency, ensures legitimacy and authenticity),
Cost information corresponding with the user identifier is calculated, is taken to described using the digital certificate in the described first intelligent contract
It is signed with information, obtains subscription fees information;Client public key corresponding with the user identifier is obtained, the user is used
The subscription fees information is encrypted in public key, obtains encryption overhead information, can be with when user wants inquiry cost information
Application is submitted by the webpage of block catenary system described in browser access, with the private key for user of oneself to the encryption overhead information
It is decrypted, obtains the subscription fees information, and then check specific charging process and foundation of deducting fees, avoid transporting due to telecommunications
The charging process of Web vector graphic rate is not saturating enough caused by battalion quotient carries out charging and deduct fees according to self-ordained charging regulation
Therefore bright problem alleviates not transparent enough the technical problem of the charging process of Web vector graphic rate existing in the prior art,
The technique effect so that the charging process transparence of Web vector graphic rate is reached.
In another embodiment of the present invention, as shown in Fig. 2, the charging method based on block chain can also include with
Lower step.
Step S201, receives the second intelligent contract by signature that telecom operators' node uploads, and described second
Intelligent contract is obtained according to the digital certificate and preset charging regulation of telecom operators' node.
Described second intelligent contract is sent to regulatory agency's node and block chain operator saves by step S202
Point, so that regulatory agency's node and the block chain operator node audit the described second intelligent contract.
Illustratively, regulatory agency's node can audit the legitimacy of the described second intelligent contract, described
Block chain operator node can audit the program bug of the described second intelligent contract.When regulatory agency's node pair
Described second intelligent contract after the approval, signs to the described second intelligent contract.When block chain operator saves
Point after the approval, signs to the described second intelligent contract to the described second intelligent contract.
Step S203 passes through when receiving the audit that regulatory agency's node and the block chain operator node return
After the described first intelligent contract afterwards, the described first intelligent contract is recorded.
Illustratively, due to the described first intelligent contract be audited by regulatory agency's node, so, ensure that
The legitimacy and authenticity of described first intelligent contract.
In another embodiment of the present invention, the charging method based on block chain further includes:
When receiving the described first intelligent contract for passing through signature that regulatory agency's node returns, record first is examined
Core timestamp and the first contract return information.
When receive that the block chain operator node returns by signature the described first intelligent contract when, record the
Two audit timestamps and the second contract return information.
In another embodiment of the present invention, as shown in figure 3, the charging method based on block chain can also include with
Lower step.
Step S301, when the inquiry into expenses for receiving webpage submission of the user by block catenary system described in browser access
After application, the user is prompted to input the private key for user of user to be checked.
Step S302 receives the private key for user, and, the encryption overhead information is solved with the private key for user
It is close, obtain the subscription fees information.
The subscription fees information is sent to the browser by step S303.
Illustratively, the cost information of user permits that third party includes telecommunications by encrypting and signing without user
Operator node cannot all read these information, be truly realized " data of user oneself are decided ", ensure that the safety of data
And private ownership.
In another embodiment of the present invention, as shown in figure 4, the charging method based on block chain can also include with
Lower step.
Step S401 is submitted when receiving telecom operators by the webpage of block catenary system described in the browser access
The inquiry application of user's internet records after, prompt the use of telecom operators input operator's private key and the user to be checked
Family authorizes.
Step S402, receives operator's private key and the user authorizes.
Step S403 judges whether the telecom operators have permission the inquiry encryption according to operator's private key
Cost information.
Illustratively, since the block catenary system is communicated with multiple telecom operators' nodes respectively, so in the area
Block catenary system includes a variety of intelligent contracts for belonging to different telecom operators.Encryption overhead information in the block catenary system
And obtained by belonging to the intelligent contract of different telecom operators.So the block catenary system will be according to the operation
Quotient's private key, judges whether the telecom operators have permission the inquiry encryption overhead information.
Step S404 is authorized if the telecom operators have permission the inquiry encryption overhead information with the user
The encryption overhead information is decrypted, the subscription fees information is obtained.
The subscription fees information of the user to be checked is sent to the browser by step S405.
Illustratively, telecom operators want inquiry certain user's internet records, it is necessary to these use are obtained before inquiry
The mandate at family.After obtaining the mandate of user, these user's internet records can be just inquired, ensure that the safety of data.
In another embodiment of the present invention, to a kind of message accounting based on block chain disclosed in the embodiment of the present invention
It describes in detail, including:Acquisition module, computing module, signature blocks and encrypting module;
The acquisition module, the user identifier for obtaining communication node upload and flow corresponding with the user identifier
Information;
The computing module, for according to the flow information and preset first intelligent contract, be calculated with it is described
The corresponding cost information of user identifier;
The signature blocks, for being signed to the cost information using the digital certificate in the described first intelligent contract
Name, obtains subscription fees information;
The encrypting module uses the client public key pair for obtaining client public key corresponding with the user identifier
The subscription fees information is encrypted, and obtains encryption overhead information.
In another embodiment of the present invention, to disclosed in the embodiment of the present invention it is a kind of with processor can perform it is non-
The computer-readable medium of volatile program code describes in detail, and said program code makes the processor execute above-mentioned reality
Apply any the method for example.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table
It is not limit the scope of the invention up to formula and numerical value.
The technique effect and preceding method embodiment phase of the device that the embodiment of the present invention is provided, realization principle and generation
Together, to briefly describe, device embodiment part does not refer to place, can refer to corresponding contents in preceding method embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustrative, without
It is as limitation, therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
Flow chart and block diagram in attached drawing show the system, method and computer journey of multiple embodiments according to the present invention
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part for a part for one module, section or code of table, the module, section or code includes one or more uses
The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can essentially base
Originally it is performed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.It is also noted that
It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule
The dedicated hardware based system of fixed function or action is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
Can also be electrical connection to be mechanical connection;It can be directly connected, can also indirectly connected through an intermediary, Ke Yishi
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
In the description of the present invention, it should be noted that term "center", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for the description present invention and simplify description, do not indicate or imply the indicated device or element must have a particular orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for description purposes only, and is not understood to indicate or imply relative importance.
The computer program product for carrying out the charging method based on block chain that the embodiment of the present invention is provided, including storage
The computer readable storage medium of the executable non-volatile program code of processor, the instruction that said program code includes can
For executing the method described in previous methods embodiment, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, in another example, multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirect
Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer read/write memory medium of a processor.Based on this understanding, of the invention
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention
State all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with
Store the medium of program code.
Finally it should be noted that:Embodiment described above, only specific implementation mode of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art
In the technical scope disclosed by the present invention, it can still modify to the technical solution recorded in previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of charging method based on block chain, which is characterized in that method is applied in block catenary system, the block linkwork
System includes:Multiple communication nodes, the block catenary system respectively with multiple telecom operators' nodes, regulatory agency's node and
One block chain operator node communication, method include:
Obtain the user identifier and flow information corresponding with the user identifier that the communication node uploads;
According to the flow information and preset first intelligent contract, expense letter corresponding with the user identifier is calculated
Breath;
It is signed to the cost information using the digital certificate in the described first intelligent contract, obtains subscription fees information;
Client public key corresponding with the user identifier is obtained, the subscription fees information is added using the client public key
It is close, obtain encryption overhead information.
2. the charging method according to claim 1 based on block chain, which is characterized in that further include:
The second intelligent contract by signature that telecom operators' node uploads is received, the described second intelligent contract is basis
What the digital certificate and preset charging regulation of telecom operators' node obtained;
Described second intelligent contract is sent to regulatory agency's node and the block chain operator node, so that the prison
Pipe agency node and the block chain operator node audit the described second intelligent contract;
When receive that regulatory agency's node and the block chain operator node return after the approval described first
After intelligent contract, the described first intelligent contract is recorded.
3. the charging method according to claim 2 based on block chain, which is characterized in that further include:
When receiving the described first intelligent contract for passing through signature that regulatory agency's node returns, when recording the first audit
Between stab and the first contract return information;
When receiving the described first intelligent contract for passing through signature that the block chain operator node returns, the second instance is recorded
Core timestamp and the second contract return information.
4. the charging method according to claim 3 based on block chain, which is characterized in that further include:
After receiving the inquiry into expenses application that user is submitted by the webpage of block catenary system described in browser access, institute is prompted
State the private key for user that user inputs user to be checked;
The private key for user is received, and, the encryption overhead information is decrypted with the private key for user, obtains the label
Name cost information;
The subscription fees information is sent to the browser.
5. the charging method according to claim 4 based on block chain, which is characterized in that further include:
Remember when receiving telecom operators and being surfed the Internet by the user that the webpage of block catenary system described in the browser access is submitted
After record inquiry application, the user of telecom operators' input operator's private key and the user to be checked is prompted to authorize;
It receives operator's private key and the user authorizes;
According to operator's private key, judge whether the telecom operators have permission the inquiry encryption overhead information;
If the telecom operators have permission the inquiry encryption overhead information, authorized to the encryption overhead with the user
Information is decrypted, and obtains the subscription fees information;
The subscription fees information of the user to be checked is sent to the browser.
6. the charging method according to claim 5 based on block chain, which is characterized in that the communication node includes:Area
Block chain router node and block chain base-station node;
The block chain router node, the user for uploading the domestic consumer to be surfed the Internet using router terminal are marked
Knowledge and the flow information corresponding with the user identifier;
The block chain base-station node, for upload the mobile subscriber to be surfed the Internet using telecomm base station the user identifier and
The flow information corresponding with the user identifier.
7. the charging method according to claim 6 based on block chain, which is characterized in that regulatory agency's node is to institute
The legitimacy for stating the second intelligent contract is audited, and the block chain operator node leaks the program of the described second intelligent contract
It is audited in hole.
8. the charging method according to claim 7 based on block chain, which is characterized in that the communication node is equipped with meter
Take application program, the billing application is by the user identifier of collection and the flow corresponding with the user identifier
Information is uploaded to the block catenary system.
9. a kind of message accounting based on block chain, which is characterized in that including:Acquisition module, computing module, signature blocks and add
Close module;
The acquisition module, the user identifier for obtaining communication node upload and flow corresponding with user identifier letter
Breath;
The computing module, for according to the flow information and preset first intelligent contract, being calculated and the user
Identify corresponding cost information;
The signature blocks, for being signed to the cost information using the digital certificate in the described first intelligent contract,
Obtain subscription fees information;
The encrypting module, for obtaining client public key corresponding with the user identifier, using the client public key to described
Subscription fees information is encrypted, and obtains encryption overhead information.
10. a kind of computer-readable medium for the non-volatile program code that can perform with processor, which is characterized in that described
Program code makes the processor execute described any the methods of claim 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810353450.7A CN108632480A (en) | 2018-04-19 | 2018-04-19 | Charging method based on block chain and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810353450.7A CN108632480A (en) | 2018-04-19 | 2018-04-19 | Charging method based on block chain and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108632480A true CN108632480A (en) | 2018-10-09 |
Family
ID=63705572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810353450.7A Pending CN108632480A (en) | 2018-04-19 | 2018-04-19 | Charging method based on block chain and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108632480A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109347955A (en) * | 2018-10-19 | 2019-02-15 | 北京奇艺世纪科技有限公司 | A kind of block chain network system and information processing method |
CN109493020A (en) * | 2018-11-08 | 2019-03-19 | 众安信息技术服务有限公司 | Method for secure transactions and device based on block chain |
CN109672542A (en) * | 2019-02-20 | 2019-04-23 | 深圳互联先锋科技有限公司 | A kind of Internet Instant Message Tool system and method |
CN109840845A (en) * | 2018-11-23 | 2019-06-04 | 北京太一智源科技有限公司 | Communicate settlement method |
CN110827007A (en) * | 2019-09-26 | 2020-02-21 | 远光软件股份有限公司 | Block chain-based electric charge settlement method, electronic equipment and storage device |
CN111355754A (en) * | 2018-12-21 | 2020-06-30 | 西安佰才邦网络技术有限公司 | Method and equipment for purchasing service based on block chain |
CN111355594A (en) * | 2018-12-21 | 2020-06-30 | 西安佰才邦网络技术有限公司 | Method and equipment for counting flow based on block chain |
CN111352705A (en) * | 2020-02-25 | 2020-06-30 | 百度在线网络技术(北京)有限公司 | Transaction processing method, device, equipment and medium for block chain |
CN111405607A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Network switching method, equipment and block chain system |
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 |
CN112288576A (en) * | 2020-09-24 | 2021-01-29 | 济南浪潮高新科技投资发展有限公司 | Charging method and device for 5G network resources |
CN112449316A (en) * | 2019-08-30 | 2021-03-05 | 华为技术有限公司 | Roaming charging processing method, device and system |
CN113541965A (en) * | 2021-01-27 | 2021-10-22 | 支付宝(杭州)信息技术有限公司 | Block chain-based communication authorization method, device, equipment and storage medium |
CN114268511A (en) * | 2022-03-03 | 2022-04-01 | 北京溪塔科技有限公司 | Multi-communication network charging method and device based on block chain |
CN116405334A (en) * | 2023-06-07 | 2023-07-07 | 北京中科江南信息技术股份有限公司 | Block chain-based computing power network flow processing method, equipment and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727635A (en) * | 2008-10-16 | 2010-06-09 | 北京邮电大学 | Third-party supervision system of digital media resources and implementation method thereof |
CN103716762A (en) * | 2012-09-29 | 2014-04-09 | 卓望数码技术(深圳)有限公司 | Internet billing system and safety billing realizing method thereof |
CN103716763A (en) * | 2012-09-29 | 2014-04-09 | 卓望数码技术(深圳)有限公司 | Billing point verification method and system |
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 |
CN106503994A (en) * | 2016-11-02 | 2017-03-15 | 西安电子科技大学 | Block chain private data access control method based on encryption attribute |
CN106845960A (en) * | 2017-01-24 | 2017-06-13 | 上海亿账通区块链科技有限公司 | Method for secure transactions and system based on block chain |
CN106936600A (en) * | 2015-12-29 | 2017-07-07 | 中国电信股份有限公司 | Charge on traffic method and system and relevant device |
CN107018125A (en) * | 2017-02-17 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of block catenary system, date storage method and device |
CN107027111A (en) * | 2017-05-18 | 2017-08-08 | 电子科技大学 | A kind of roaming telephone expenses record and settlement method based on block chain |
CN107294738A (en) * | 2017-06-12 | 2017-10-24 | 中国联合网络通信集团有限公司 | The treating method and apparatus of communication charge |
-
2018
- 2018-04-19 CN CN201810353450.7A patent/CN108632480A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727635A (en) * | 2008-10-16 | 2010-06-09 | 北京邮电大学 | Third-party supervision system of digital media resources and implementation method thereof |
CN103716762A (en) * | 2012-09-29 | 2014-04-09 | 卓望数码技术(深圳)有限公司 | Internet billing system and safety billing realizing method thereof |
CN103716763A (en) * | 2012-09-29 | 2014-04-09 | 卓望数码技术(深圳)有限公司 | Billing point verification method and system |
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 |
CN106936600A (en) * | 2015-12-29 | 2017-07-07 | 中国电信股份有限公司 | Charge on traffic method and system and relevant device |
CN106503994A (en) * | 2016-11-02 | 2017-03-15 | 西安电子科技大学 | Block chain private data access control method based on encryption attribute |
CN106845960A (en) * | 2017-01-24 | 2017-06-13 | 上海亿账通区块链科技有限公司 | Method for secure transactions and system based on block chain |
CN107018125A (en) * | 2017-02-17 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of block catenary system, date storage method and device |
CN107027111A (en) * | 2017-05-18 | 2017-08-08 | 电子科技大学 | A kind of roaming telephone expenses record and settlement method based on block chain |
CN107294738A (en) * | 2017-06-12 | 2017-10-24 | 中国联合网络通信集团有限公司 | The treating method and apparatus of communication charge |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109347955A (en) * | 2018-10-19 | 2019-02-15 | 北京奇艺世纪科技有限公司 | A kind of block chain network system and information processing method |
CN109347955B (en) * | 2018-10-19 | 2021-03-02 | 北京奇艺世纪科技有限公司 | Block chain network system and information processing method |
CN109493020A (en) * | 2018-11-08 | 2019-03-19 | 众安信息技术服务有限公司 | Method for secure transactions and device based on block chain |
CN109493020B (en) * | 2018-11-08 | 2022-02-11 | 众安信息技术服务有限公司 | Block chain based secure transaction method and device |
CN109840845A (en) * | 2018-11-23 | 2019-06-04 | 北京太一智源科技有限公司 | Communicate settlement method |
CN111355594A (en) * | 2018-12-21 | 2020-06-30 | 西安佰才邦网络技术有限公司 | Method and equipment for counting flow based on block chain |
CN111355754B (en) * | 2018-12-21 | 2023-06-27 | 西安佰才邦网络技术有限公司 | Block chain-based business purchasing method and equipment |
CN111355754A (en) * | 2018-12-21 | 2020-06-30 | 西安佰才邦网络技术有限公司 | Method and equipment for purchasing service based on block chain |
CN111405505B (en) * | 2019-01-02 | 2021-11-09 | 中国移动通信有限公司研究院 | Bill processing method, system and storage medium for roaming service |
CN111405607A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Network switching method, equipment and block chain system |
CN111405505A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Bill processing method, system and storage medium for roaming service |
CN111405607B (en) * | 2019-01-02 | 2023-05-09 | 中国移动通信有限公司研究院 | Network switching method, device and block chain system |
CN109672542A (en) * | 2019-02-20 | 2019-04-23 | 深圳互联先锋科技有限公司 | A kind of Internet Instant Message Tool system and method |
EP3935785A4 (en) * | 2019-03-07 | 2022-03-02 | 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 |
WO2020178844A1 (en) | 2019-03-07 | 2020-09-10 | Telefonaktiebolaget Lm Ericsson (Publ) | Blockchain for communication of subscriber data records between public land mobile networks |
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 |
CN110827007A (en) * | 2019-09-26 | 2020-02-21 | 远光软件股份有限公司 | Block chain-based electric charge settlement method, electronic equipment and storage device |
CN111352705A (en) * | 2020-02-25 | 2020-06-30 | 百度在线网络技术(北京)有限公司 | Transaction processing method, device, equipment and medium for block chain |
CN111352705B (en) * | 2020-02-25 | 2023-10-31 | 百度在线网络技术(北京)有限公司 | Transaction processing method, device, equipment and medium of block chain |
CN112288576A (en) * | 2020-09-24 | 2021-01-29 | 济南浪潮高新科技投资发展有限公司 | Charging method and device for 5G network resources |
CN113541965A (en) * | 2021-01-27 | 2021-10-22 | 支付宝(杭州)信息技术有限公司 | Block chain-based communication authorization method, device, equipment and storage medium |
CN113541965B (en) * | 2021-01-27 | 2024-04-09 | 支付宝(杭州)信息技术有限公司 | Communication authorization method, device, equipment and storage medium based on blockchain |
CN114268511A (en) * | 2022-03-03 | 2022-04-01 | 北京溪塔科技有限公司 | Multi-communication network charging method and device based on block chain |
CN116405334A (en) * | 2023-06-07 | 2023-07-07 | 北京中科江南信息技术股份有限公司 | Block chain-based computing power network flow processing method, equipment and medium |
CN116405334B (en) * | 2023-06-07 | 2023-08-29 | 北京中科江南信息技术股份有限公司 | Block chain-based computing power network flow processing method, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108632480A (en) | Charging method based on block chain and device | |
Raju et al. | Identity management using blockchain for cognitive cellular networks | |
CN102724647B (en) | Method and system for access capability authorization | |
CN105991287B (en) | A kind of generation of signed data and finger print identifying requesting method and device | |
CN108197891A (en) | A kind of electronic signature device and method based on block chain | |
CN109034437A (en) | A kind of library system based on cloud terminal | |
CN106789834B (en) | The method of user identity, gateway, PCRF network element and system for identification | |
KR102142907B1 (en) | Method and apparatus for calculating roaming charge in mobile communication | |
CN101695164A (en) | Verification method, device and system for controlling resource access | |
CN101206696A (en) | Apparatus, method and system for protecting personal information | |
CN107209659A (en) | Mobile authentication in mobile virtual network | |
US20110173105A1 (en) | Utilizing AAA/HLR infrastructure for Web-SSO service charging | |
CN107995003A (en) | The charging and settlement method of international roaming communication, relevant apparatus and distributed system | |
CN107682831A (en) | Sharing method and device, the computer installation and storage medium of residual flow | |
CN107682336A (en) | A kind of auth method and device based on geographical position | |
CN108154048B (en) | Asset information processing method and device | |
CN111163467A (en) | Method for 5G user terminal to access 5G network, user terminal equipment and medium | |
CN109919601A (en) | Payment verification method, apparatus and electronic equipment | |
CN110474775A (en) | User's creation method, device and equipment in a kind of piece of chain type account book | |
CN110324344A (en) | The method and device of account information certification | |
CN104281272A (en) | Password input processing method and device | |
CN109376927A (en) | A kind of age of user prediction technique, device and equipment | |
CN110248356B (en) | Information acquisition method and device | |
CN106530025B (en) | Mobile invoicing method and device | |
CN102420808A (en) | Method for realizing single signon on telecom on-line business hall |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200213 Address after: 408a, 4th floor, 112 Xizhimenwai street, Xicheng District, Beijing 100000 Applicant after: Beijing Alshan Block Chain Alliance Technology Co., Ltd. Address before: 100000 room 610, 3 building, Shengjing International Plaza, 31 Shijingshan Road, Shijingshan District, Beijing. Applicant before: Financial Technologies Ltd, Arxan, Beijing |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |