WO2021093739A1 - 一种基于区块链漫游交易的方法、装置 - Google Patents

一种基于区块链漫游交易的方法、装置 Download PDF

Info

Publication number
WO2021093739A1
WO2021093739A1 PCT/CN2020/127892 CN2020127892W WO2021093739A1 WO 2021093739 A1 WO2021093739 A1 WO 2021093739A1 CN 2020127892 W CN2020127892 W CN 2020127892W WO 2021093739 A1 WO2021093739 A1 WO 2021093739A1
Authority
WO
WIPO (PCT)
Prior art keywords
roaming
network device
currency
statement
blockchain
Prior art date
Application number
PCT/CN2020/127892
Other languages
English (en)
French (fr)
Inventor
洪佳楠
张艳平
胡伟华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20886687.1A priority Critical patent/EP4036831A4/en
Publication of WO2021093739A1 publication Critical patent/WO2021093739A1/zh
Priority to US17/742,063 priority patent/US20220272203A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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/41Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • This application relates to the field of communication technology, and in particular to a method and device for roaming transactions based on blockchain.
  • roaming services are often involved, that is, the terminal device moves from a resident service area (ie, a contracted service area) to a communication network in another service through roaming.
  • a resident service area ie, a contracted service area
  • other service areas outside the contracted service area of the terminal device may be referred to as roaming service areas.
  • the communication network provided by the operator in the contracted service area may be referred to as the contracted network for short
  • the communication network provided by the operator in the roaming service area may be referred to as the roaming network for short.
  • the roaming operation device of the operator of the roaming network will also send the terminal device to the corresponding contracted network of the terminal device according to the bill file generated when the terminal device communicates on the roaming network.
  • the operator charges a roaming fee, wherein the operator of the contracted network may be referred to as the home operating device for short, and the operator of the roaming network may be referred to as the roaming operating device for short.
  • the process of roaming between operators and settlement of roaming charges includes three stages before, during and after roaming.
  • operators Before roaming, operators have established roaming relationships, exchanged roaming agreements, and announced various roaming-related public parameters.
  • the home operating equipment will obtain the roaming operating equipment charging agreement for the roaming service, and use this to formulate the user roaming charges for the contracted terminal equipment during the roaming process.
  • the terminal device roams after accessing the roaming network, and the roaming operation device sends the bill file of the terminal device to the home operation device through the roaming financial settlement system.
  • the home operating device After roaming, the home operating device settles roaming expenses to the roaming operating device according to the call bill file, and the home operating device settles the roaming retail expense to the terminal device according to the obtained call bill file. Among them, regardless of the roaming mode, bill settlement between operators needs to be arbitrated and notarized through a trusted roaming clearing center.
  • the main problem of the roaming service in the above communication process is: in the existing traditional roaming bill settlement system, the bill out delay is in days, and its lag provides potential opportunities for bill fraud, and it is reliable due to manual operation. The lack of sex and safety is also unavoidable. At the same time, in existing roaming services, bill settlement between operators requires arbitration and notarization through a trusted roaming clearing center, and the increase in roaming costs brought about by reliance on arbitration is also an urgent problem to be solved.
  • This application provides a blockchain-based roaming transaction method and device to solve the existing roaming business, bill settlements between operators need to be arbitrated and notarized through a trusted roaming clearing center, and rely on arbitration The resulting increase in roaming costs is also an urgent problem to be solved.
  • an embodiment of the present application provides a blockchain-based roaming transaction method, including:
  • the first network device sends a bill file to a second network device, where the bill file is a roaming communication record of the terminal device, and the first network device is in the roaming network of the terminal device;
  • a network device publishes a currency statement to the blockchain, the currency statement being used to indicate the roaming fee corresponding to the bill file; the first network device receives the feedback information of the bill file of the second network device .
  • the first network device determines the bill file with the second network device, and then publishes the currency statement indicating the roaming fee corresponding to the bill file to the blockchain, so that the second network device passes through the zone.
  • the block chain performs roaming transactions without a third-party arbitration platform, which effectively saves roaming transaction costs, and through the characteristics of the block chain's immutability and real-time recording, the traceability of roaming transactions is effectively guaranteed.
  • the first network device determines the call bill file generated by the terminal device performing a roaming service.
  • the first network device determines the corresponding bill file according to the roaming agreement signed with the second network device Roaming fees.
  • the currency statement is generated by the first network device through a coin minting process according to the roaming fee.
  • the currency statement further includes currency verification information, and the currency verification information corresponds to a unique currency statement, and is used to determine whether the currency statement in the blockchain completes the payment.
  • the first network device determines the bill statement according to the bill file; the first network device publishes the bill statement and the currency statement to the blockchain .
  • the first network device signs the bill file, and determines the bill statement based on the signed bill file.
  • the first network device encrypts or hashes the bill statement and publishes it to the blockchain.
  • the first network device sends any one or more of the following to the second network device: feedback information of the previous round robin, signature of the first network device, and The address of the currency statement in the blockchain.
  • the feedback information of the CDR file is used to indicate the check result of the CDR file. If the CDR file is validated, the feedback information of the CDR file includes all the CDR files. Describe the signature of the second network device.
  • an embodiment of the present application provides a blockchain-based roaming transaction method, including:
  • the first currency statement selected by the second network device for payment where the first currency statement is the roaming fee to be paid by the second network device; the second network device completes the payment of the first currency statement; 2.
  • the network device sends the payment completion information to the first network device, and the first network device is in the roaming network of the terminal device.
  • the second network device selects the first currency statement for payment according to the valid second currency statement held by the second network device, and the first currency statement is The amount is less than or equal to the second currency statement; or the first currency statement is selected from a plurality of currency statements.
  • the second network device after the second network device completes the payment of the first currency statement, the second network device sends the completion information of the payment to the blockchain.
  • the second network device before the second network device selects the first currency statement for payment, the second network device receives the first currency statement from the first network device in the block The storage address in the chain.
  • the second network device selects the first currency statement for payment from the blockchain according to the received storage address.
  • the second network device further sends the storage address of the payment completion information in the blockchain to the first network device.
  • the payment completion information is used to instruct the second network device to declare that the payment is completed for the first currency, and the payment completion information includes a transaction that declares payment in the second currency address.
  • an embodiment of the present application provides a communication device, which has the function of implementing the network device in the foregoing embodiment.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
  • the communication device may be the first network device in the roaming network, or a component that can be used in the first network device, such as a chip or a chip system or a circuit.
  • the communication device may include : Transceiver and processor.
  • the processor may be configured to support the communication device to perform the corresponding functions of the first network device described above, and the transceiver is used to support the communication device and other network devices (such as the second network device) and servers (such as blockchain) Communication between etc.
  • the communication device may further include a memory, and the memory may be coupled with the processor, which stores the necessary program instructions and data of the communication device.
  • the transceiver may be an independent receiver, an independent transmitter, a transceiver with integrated transceiver functions, or an interface circuit.
  • the communication device may be a second network device in the contracted network, or a component that can be used for the second network device, such as a chip or a chip system or a circuit.
  • the communication device may Including: transceiver and processor.
  • the processor may be configured to support the communication device to perform corresponding functions of the second network device shown above, and the transceiver is used to support communication between the communication device and other network devices (first network devices), terminal devices, and the like.
  • the communication device may further include a memory, and the memory may be coupled with the processor, which stores the necessary program instructions and data of the communication device.
  • the transceiver may be an independent receiver, an independent transmitter, a transceiver with integrated transceiver functions, or an interface circuit.
  • an embodiment of the present application provides a communication device, which is used to implement any one of the foregoing first aspect or the second aspect; or any one of the first aspect or the second aspect.
  • the communication device when the communication device is the first network device in a roaming network, it may include: a processing unit and a communication unit:
  • the communication unit is configured to send a bill file to a second network device, where the bill file is a roaming communication record of the terminal device, and the first network device is in the roaming network of the terminal device;
  • the processing unit is configured to publish a currency statement to the blockchain by the first network device, where the currency statement is used to indicate the roaming fee corresponding to the bill file;
  • the communication unit is configured to receive feedback information of the CDR file of the second network device.
  • the communication device when it is a second network element in the contracted network, it may include: a processing unit and a communication unit:
  • the processing unit is configured to select a first currency statement for payment, where the first currency statement is the roaming fee to be paid by the second network device; and complete the payment of the first currency statement;
  • the communication unit is configured to send the payment completion information to a first network device, which is in the roaming network of the terminal device.
  • embodiments of the present application provide a communication system, which includes network equipment in a roaming network, network equipment in a contracted network, terminal equipment, a blockchain, and a data server.
  • the network device in the roaming network can be used to execute any one of the above-mentioned first aspect or the second aspect; or execute any one of the above-mentioned first aspect or the second aspect;
  • the network equipment in the contracted network may be used to execute any one of the foregoing first aspect or the second aspect; or may be used to implement any one of the foregoing first aspect or the second aspect.
  • the present application provides a chip system including a processor.
  • it may further include a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device installed with the chip system executes any one of the first aspect or the second aspect; or Perform any one of the methods in the first aspect or the second aspect described above.
  • an embodiment of the present application provides a computer storage medium with instructions stored in the computer storage medium, which when run on a communication device, cause the communication device to execute any one of the first aspect or the second aspect; or Perform any one of the methods in the first aspect or the second aspect described above.
  • an embodiment of the present application provides a computer program product containing instructions, which when run on a communication device, causes the communication device to execute any one of the first aspect or the second aspect; or execute the first aspect above Or any one of the methods in the second aspect.
  • Figure 1 is an architecture diagram of a communication system provided by this application.
  • FIG. 2 is an architecture diagram of another communication system provided by this application.
  • FIG. 3 is a schematic diagram of the roaming operation equipment and the home operation equipment jointly determining the roaming agreement provided by this application;
  • FIG. 4 is a schematic diagram of a flow of a roaming operation device and a home operation device provided in this application for a roaming transaction;
  • Figure 5 is a schematic diagram of the content of the signed document provided by the application.
  • FIG. 6 is a schematic diagram of a roaming operation device and/or home operation device provided in this application for arbitration from an arbitration party;
  • Figure 7 is a schematic diagram of network equipment in the first roaming network provided by this application.
  • FIG. 8 is a schematic diagram of network equipment in the second type of roaming network provided by this application.
  • Fig. 9 is a schematic diagram of network equipment in the first type of contracted network provided by this application.
  • Fig. 10 is a schematic diagram of network equipment in the second roaming network provided by this application.
  • the roaming operation device in the roaming network provides the home operation device in the contracted network with the roaming bill of the terminal device, and the roaming fee is settled and collected.
  • the roaming and settlement process between the roaming operation equipment and the owned equipment includes three stages before, during and after roaming.
  • the roaming operation equipment Before roaming, the roaming operation equipment establishes a roaming relationship with the home operation equipment, exchanges roaming agreements, and announces various roaming-related public parameters.
  • the home operating device will obtain the roaming fee determined based on the roaming agreement sent by the roaming operating device, and formulate the roaming retail fee of the contracted UE during the roaming process according to the roaming fee and its own operating cost.
  • the UE accesses the service in the roaming network to cause roaming, and the roaming operation equipment sends the roaming bill of the UE to the home operation equipment through the roaming financial settlement system.
  • the home operating device settles roaming expenses to the roaming operating device according to the roaming call bill data record file, and the home operating device settles roaming retail expenses to the corresponding UE based on the obtained roaming call bill.
  • the bill settlement between operators needs to be arbitrated and notarized through a trusted roaming clearing center.
  • the single settlement platform is used to solve the high cost, high delay and financial fraud of the loose roaming settlement system in the traditional telecommunications network system.
  • the privacy problem brought by the blockchain itself is not present in the traditional architecture.
  • the blockchain payment platform represented by Bitcoin needs to clearly indicate the accounts of both parties to the transaction and the transaction amount in the transaction, so that the roaming bill information is visible to all entities, and the privacy of the roaming transaction parties cannot be guaranteed. Both parties to a roaming transaction are clearly unacceptable.
  • an embodiment of the present application provides a method for supporting roaming services based on a blockchain.
  • the technical solutions of the embodiments of this application can be applied to various communication systems, such as long term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, and the fifth generation of the future (5th Generation, 5G) systems, such as new radio access technology (NR), and future communication systems, such as 6G systems.
  • LTE long term evolution
  • WiMAX worldwide interoperability for microwave access
  • 5G fifth generation
  • NR new radio access technology
  • the method of roaming business based on blockchain technology mainly adopts zero-knowledge proof technology. With this method, the transfer information between the roaming operation device and the home operation device can be hidden, making the payment behavior of the roaming transaction untraceable.
  • the communication system shown in FIG. 1 is taken as an example to describe in detail the communication system to which the embodiments of the present application are applicable.
  • the communication system includes a roaming operation device 100, a terminal device 101, a home operation device 102, and a blockchain 103.
  • the roaming operation equipment 100 is located in the roaming network and is used in the communication system to provide wireless communication functions for the connected terminal device 101 in the roaming network, and can determine the corresponding ownership of the terminal device 101
  • the operating equipment 102 performs the roaming service fee generated by the roaming service, and notifies and collects the roaming service fee of the home operating equipment 102.
  • the roaming operation device 100 may also be referred to as a base station (base station, BS).
  • roaming operation equipment 100 are: next-generation base station (gnodeB, gNB), evolved node B (evolved node B, eNB), radio network controller (RNC), node B in 5G (node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand) unit, BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
  • next-generation base station gnodeB, gNB
  • evolved node B evolved node B
  • RNC radio network controller
  • node B in 5G node B, NB
  • BSC base station controller
  • BTS base transceiver station
  • home base station for example, home evolved nodeB, or home node B, HNB
  • TRP transmission point
  • TP transmission point
  • the network elements included in the roaming operation equipment 100 mainly include: Session Management Function (SMF), Access and Mobility Management Function (AMF), Access and mobility management function (Charging Function, CHF), billing domain (Billing Domain, BD), blockchain processing function (BlockChain Handling Function, BCHF), Security Edge Protection Proxy (SEPP), policy control Function (Policy Control Function, PCF), User Port Function (UPF), Radio Access Network (RAN), etc.
  • SMF Session Management Function
  • AMF Access and Mobility Management Function
  • CHF Access and mobility management function
  • Charging Function CHF
  • billing domain Billilling Domain, BD
  • blockchain processing function BlockChain Handling Function
  • SEPP Security Edge Protection Proxy
  • Policy Control Function Policy Control Function
  • PCF User Port Function
  • UPF Radio Access Network
  • RAN Radio Access Network
  • the SMF is mainly used to send bills to CHF in roaming communication services;
  • the CHF is used for multiple bills provided by the SMF and negotiated between the roaming operation device and the home network device 102 Roaming agreement, sort out the bill record file of the current period and send it to the BD;
  • the BD is the entire settlement center of the roaming operation equipment, which can directly query the blockchain 103, or through the blockchain processing function
  • BCHF Transfer is mainly used to determine the roaming fee corresponding to the CDR file, and to generate a currency statement that is the same as the roaming fee amount through the initial coinage process;
  • the BCHF is used to establish the roaming operation equipment 100 and the block The connection between the chains 103, so that the roaming operation equipment can store transaction records, currency declarations and other information on the blockchain and obtain relevant information from the blockchain, and check the corresponding information in the blockchain. Perform processing operations, etc.
  • the roaming operation device may also be called the first network device.
  • the first network device may be one or more network elements in the roaming network, or one or more functional modules in the roaming network.
  • the embodiment does not limit the specific form and structure of the first network device.
  • the BD described in the embodiments of the present application may also be a computing device, and queries and access to the blockchain are transmitted through BCHF.
  • the terminal device 101 is a device that provides voice and/or data connectivity to users. It can also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, and remote Station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device.
  • the terminal in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, an industrial Wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation safety The wireless terminal in the smart city, the wireless terminal in the smart city, the wireless terminal in the smart home, and so on.
  • the home operation device 102 is located in the contracted network, and is used in the communication system to provide wireless communication functions for the terminal device 101 that is accessed in the contracted network. It can calculate the data sent by the roaming operation device 100
  • the terminal device 101 performs the roaming service fee generated by the roaming service, and pays the roaming fee to the roaming operation device 100 after determining that there is no problem with the roaming service fee; and formulates and collects the roaming fee of the terminal device 101 Service fee.
  • the home operating device 101 may also be referred to as a base station (base station, BS).
  • home operation equipment 101 are: next-generation base station (gnodeB, gNB), evolved node B (evolved node B, eNB), radio network controller (RNC), node B in 5G (node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand) unit, BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
  • gnodeB next-generation base station
  • gNB next-generation base station
  • eNB evolved node B
  • RNC radio network controller
  • node B in 5G node B, NB
  • BSC base station controller
  • BTS base transceiver station
  • home base station for example, home evolved nodeB, or home node B, HNB
  • TRP transmission point
  • the network elements included in the home operation device 102 mainly include: SMF, CHF, BD, BCHF, SEPP, PCF, UPF, UDM (Unified Data Management), and DN ( Downstream Node) and so on.
  • the SMF is mainly used in the roaming communication service to send bills to the CHF;
  • the CHF is used in accordance with the multiple bills provided by the SMF and the negotiation between the roaming operation device and the roaming operation device 100 Roaming agreement, sort out the bill record file of the current period and send it to BD;
  • the BD is the entire settlement center of the home operating device 102,
  • the blockchain 103 can be directly inquired, or the blockchain processing function BCHF can be used
  • the transfer is mainly used to verify the bill by querying the blockchain 103;
  • the BCHF is used to establish a connection between the home operating device 102 and the blockchain 103, so that the home operating device Relevant information can be obtained from the blockchain, bill verification can be performed, and other processing operations can be performed on the corresponding information in the blockchain.
  • the home operation device may also be called the second network device.
  • the second network device may be one or more network elements in the contracted network, or one or more functional modules in the contracted network.
  • the embodiment does not limit the specific form and structure of the second network device.
  • the block chain 103 is a security implementation of a distributed ledger, which uses blocks as a data structure to store transaction information, and each block contains a block body and a block header. Among them, the block body stores transaction records. Transaction records can be transfer records, smart contract records, clearing records, data records, etc. according to application scenarios in an implementation of the embodiment of this application; the block header stores the timestamp, the hash summary result of the transaction, and the summation The sequence block forms the necessary information for the chain structure.
  • FIGS. 1 and 2 are only simplified schematic diagrams for ease of understanding and examples.
  • the communication system may also include other network devices or other terminals, which are not shown in FIGS. 1 and 2.
  • Zcoin is a technology.
  • the method of currency holding is to record a random number representing a fixed denomination in the blockchain, that is, the currency statement in the embodiment of this application, and holding The user secretly keeps the serial number and logical relationship behind the random number.
  • the holder shows the serial number and declares a logical relationship between the serial number and a currency statement recorded in the blockchain through a zero-knowledge proof.
  • the zero-knowledge proof itself does not expose the currency statement in this process. That is to say, Zcoin can use a fixed denomination currency itself as a unit, and users have a certain currency in the blockchain in a public or anonymous manner, and use the currency to pay for a certain fee in a hidden way. This feature enables the privacy of the transfer account during the transaction to be effectively protected.
  • a currency with a fixed denomination contains two parameters in Zcoin, the currency statement published on the blockchain and the privacy serial number of the currency holder, and the currency statement can pass the privacy sequence of the currency holder Number and another parameter to determine. For example, assuming that the currency statement is currency statement C, and the privacy serial number of the currency holder is S, there is a random hidden value r, so that a public operation of (S, r) can derive C.
  • the currency statement and the two parameters S, r corresponding to the currency statement are collectively referred to as statement information; the two parameters S, r are expressed as currency verification information . That is, the statement information in the embodiment of the present application represents (C, S, r), the currency statement represents C, and the currency verification information represents (S, r).
  • the privacy serial number S and the random hidden value r corresponding to the currency statement C can be safely stored in the holder's corresponding BD, and for security considerations, no information about S and r is provided in any form. External read access interface.
  • Coin minting in the embodiment of this application, it mainly includes two aspects: the roaming operation equipment generates a currency statement of the corresponding amount through the initial coin minting process according to the roaming fee generated by a certain round of roaming service business.
  • the currency statement can be a combination of multiple currency statements of different denominations.
  • the first currency statement may be a combination of currency statement 1, currency statement 2, and currency statement 3.
  • the roaming operation device stores the currency statement in the blockchain, and securely stores the currency verification information in the BD of the roaming operation device, until the home operation device completes the pairing in the future payment process
  • the payment of the currency statement is determined to be completed minting.
  • the coin minting process is mainly a process of generating invalid currency, and then making the invalid currency effective currency after payment is completed.
  • the roaming operation device can query whether there is a corresponding serial number in the blockchain while ensuring that S is not exposed. If it exists, a new S is generated, and then the verification of the uniqueness of the S can be continued until the generated S is unique.
  • Valid currency in the embodiment of this application, mainly refers to the currency corresponding to the currency statement C stored in the blockchain that can be used for payment by the holder.
  • Invalid currency In the embodiment of the application, it mainly refers to the currency that has been paid (has been consumed) by the holder and that has not been successfully minted (not yet activated) stored in the blockchain.
  • the term "at least one" in the embodiments of the present application refers to one or more, and “multiple” refers to two or more than two.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A , B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item (item) or similar expressions refer to any combination of these items, including any combination of single item (item) or plural items (item).
  • at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
  • the roaming operation device and the home operation device need to determine a roaming agreement for the roaming transaction and other necessary information.
  • the roaming agreement is used to determine the roaming charge corresponding to the bill file, that is, the roaming operation device determines the roaming of the bill file generated in the roaming network by the terminal device corresponding to the home operation device based on the roaming agreement cost.
  • the home operating device may also check the accuracy of the roaming charge corresponding to the bill file sent by the roaming operating device according to the roaming agreement.
  • the roaming agreement between the roaming operation device and the home operation device may be stored in a variety of ways, which are specifically not limited to the following.
  • Storage method 1 The roaming agreement is stored in the blockchain, and the roaming operation equipment and the home operation equipment can obtain the roaming agreement according to the storage address of the roaming agreement in the blockchain.
  • Storage method 2 The roaming agreement may be stored in the roaming operation device and the home operation device, respectively, and the roaming operation device and the home operation device may obtain the roaming agreement locally.
  • the roaming agreement is recorded in the blockchain in plain text.
  • the roaming agreement is accompanied by a dual signature of the roaming operation device and the home operation device, and the dual signature attached to the roaming agreement is used to confirm that the signing parties recognize the provisions of the roaming agreement. For example, if the dual signature attached to the roaming agreement 1 is the signature of the roaming operation device A and the home operation device B, it is determined that the roaming operation device A and the home operation device B both recognize the provisions of the roaming agreement 1.
  • the roaming operation device A determines the roaming charges that the home operation device needs to pay according to the roaming agreement 1, and The home operating equipment B can calculate the roaming fee corresponding to the roaming service according to the roaming agreement 1.
  • the dual signatures of the roaming operation equipment and the home operation equipment attached to the roaming agreement may be encrypted. That is, only by decrypting the encrypted dual signature can the roaming operation equipment and the home operation equipment corresponding to the roaming agreement be determined, which can effectively guarantee the security of the roaming service.
  • the signature key used to decrypt the encrypted dual signature can be safely recorded in the blockchain through BCHF; or it can be used to decrypt the encrypted double signature.
  • the signature key for decrypting the dual signature is stored in the corresponding billing domain BD.
  • the roaming agreement is stored in a third-party platform, such as a blockchain, other devices may obtain the roaming agreement, which will cause security risks.
  • a third-party platform such as a blockchain
  • other devices may obtain the roaming agreement, which will cause security risks.
  • the roaming agreement is hashed or encrypted, and then the roaming agreement The hash result or the encrypted roaming agreement is stored in the blockchain.
  • both the roaming operation device and the home operation device in the embodiment of the present application can hash or encrypt the roaming agreement, and the roaming operation device and the home operation device can perform roaming on the roaming agreement.
  • the results after the protocol is hashed or encrypted are the same. For this reason, this embodiment of the present application does not limit the device that hashes or encrypts the roaming protocol.
  • both the roaming operation device and the home operation device in the embodiment of the present application can hash or encrypt the dual signature, and the roaming operation device and the home operation device can perform the dual signature on the dual signature.
  • the hashed or encrypted result is the same.
  • the embodiment of the present application does not limit the device for hashing or encrypting the dual signature.
  • the roaming agreement may be accompanied by a dual signature of the home operation device and the roaming operation device.
  • the roaming agreement and the dual signature stored in the blockchain are effectively protected.
  • Operation method 1 Hash or encrypt the roaming agreement A to obtain the roaming agreement A'; hash or encrypt the dual signatures of the home operating device and the roaming operating device to obtain the dual signature A';
  • the roaming agreement A'of the dual signature A' is stored in the blockchain.
  • the embodiment of this application does not distinguish the sequence of determining the roaming agreement A′ and the double signature A′.
  • the roaming agreement A′ and the double signature A′ can be determined at the same time;
  • the dual signature A′ is determined;
  • the dual signature A′ may also be determined first, and then the roaming agreement A′ is determined.
  • Operation mode 2 hash or encrypt the roaming agreement A and the dual signature together to obtain the overall hash result or encryption result of the roaming agreement and the dual signature; then store the hash result or encryption result in the place Said in the blockchain.
  • the roaming operation device and the home operation device are stored on the roaming operation device. protocol.
  • the roaming operation device and the home operation device securely store the key used to decrypt the encryption result in their respective billing domains BD.
  • the roaming agreement is separately formulated by the roaming operation device and recorded on the blockchain corresponding to the roaming operation device and the home operation device; or the roaming agreement is made by the home operation device It is separately formulated by one party and recorded on the blockchain corresponding to the home operation equipment and the roaming operation equipment. However, the operating device of the other party that has not formulated the roaming agreement determines whether to invoke the roaming agreement to establish a roaming relationship with another device according to its own situation.
  • the home operating device or the roaming operating device can record the roaming agreement in the blockchain through the home operating device's own BCHF, and store it in the roaming agreement attachment in the blockchain. Have the signature of the maker. For example, if the roaming agreement is formulated by the home operating device, the roaming agreement stored in the blockchain is attached with the signature of the home operating device.
  • the roaming agreement is separately formulated by the home operating equipment side, and the roaming agreement is stored in the blockchain.
  • the roaming operation device may obtain the roaming agreement stored by the home operation device from the blockchain, and determine according to the roaming agreement The roaming expenses incurred by the home operating equipment when performing the roaming service.
  • the roaming operation equipment may obtain the roaming agreement from the blockchain according to the storage address of the roaming agreement sent by the home operation equipment when the roaming service is required, that is, the roaming
  • the storage address of the roaming agreement in the blockchain obtained by the operating equipment is sent by the home operating equipment to the roaming operating equipment when roaming services are required; or the roaming operating equipment is The storage address of the roaming agreement agreed by the home operating device in advance, and the roaming agreement is obtained from the blockchain, that is, the roaming operating device and the home operating device agree in advance that the roaming agreement shall be owned by the home operating device.
  • the roaming operation agreement is established, and the home operation equipment notifies the roaming operation agreement of the storage address of the roaming agreement in the blockchain in advance.
  • the roaming operation equipment can directly follow the pre-agreed
  • the storage address of the roaming agreement in the blockchain is used to obtain the roaming agreement.
  • the roaming agreement B in order to effectively enhance the security of the roaming service, can be encrypted to obtain the roaming agreement B';
  • the one-party signature of is hashed or encrypted, and the one-party signature B'is obtained.
  • the roaming operation device and/or the home operation device in the embodiment of the present application securely stores the key used to decrypt the encryption result in their respective billing domain BD.
  • the home operation equipment and the roaming operation equipment determine the roaming agreement for conducting roaming transactions
  • the home operation equipment and the roaming operation equipment Determine the roaming tariff information during the roaming transaction process according to the roaming agreement.
  • the roaming operation equipment may determine the network guarantees that need to be provided for different types of UEs according to the roaming agreement, and may also determine the format of the roaming bill provided to the home operation equipment according to the roaming agreement.
  • the home operating device determines the roaming fee standard provided by the roaming operating device to itself according to the parameter information used for determining the roaming fee in the roaming agreement, so as to combine its own operating costs to formulate different types of UEs Corresponding roaming retail tariff, or roaming call package.
  • the billing domain BD in the home operating device transmits to the unified data management UDM in the home operating device the information used in the roaming agreement to determine the roaming fee. parameter.
  • the UDM determines the roaming charge standard provided by the roaming operation device to itself according to the parameter information, thereby combining its own operating cost to formulate corresponding roaming retail tariffs or roaming call charge packages for different types of UEs.
  • the signature and/or the roaming agreement are protected by a hash method, which can hide information more simply and efficiently, and since the hash algorithm is safe and public, it is necessary to obtain When part of the file, the security and privacy of the remaining files will not be imaged.
  • Phase 2 While roaming.
  • the specific interaction process between the roaming operation device and the home operation device may be as shown in FIG. 4, which specifically includes the following steps:
  • the roaming operation device determines the call bill file generated by the home operation device for performing the roaming service within the threshold time period.
  • the home operating device can generate at least one round of call bill files in the roaming place within a threshold time period, and the corresponding roaming operating device can determine the location of the call bill file according to each round of call bill files. State the roaming fee corresponding to the CDR file.
  • the threshold duration in the embodiment of the present application is X
  • the roaming operation device and the home operation device have performed three rounds of roaming services within the X duration
  • a three-round CDR file will be generated correspondingly.
  • the three rounds of CDR files are respectively CDR file 1, CDR file 2, and CDR file 3 in chronological order.
  • the SMF in the roaming operation equipment sends each round of bill files to the CHF in the roaming operation equipment through the charging trigger function CTF.
  • the CHF organizes at least one round of CDR files provided by the SMF (for example, three rounds of CDR files), according to the roaming agreement (such as the CDR segment format in the roaming agreement, the CDR record content, etc.)
  • the bill file within the X time length is sent to the BD of the roaming operation device.
  • the home operating device determines a bill file generated by performing a roaming service on the roaming network within the threshold time period.
  • the home operating device can generate at least one round of bill files in the roaming place within the threshold time period. For example, assuming that the threshold time period in the embodiment of the present application is X, the roaming If the operating equipment and the home operating equipment have performed three rounds of roaming services within the X time period, three rounds of bill files will be generated correspondingly.
  • the three rounds of CDR files are respectively CDR file 1, CDR file 2, and CDR file 3 in chronological order.
  • the SMF in the home operating device sends each round of bill records to the CHF in the home operating device respectively.
  • the CHF organizes at least one round of bill files provided by the SMF, according to the roaming agreement (for example, the bill segment format in the roaming agreement, the content of the bill records, etc.), it organizes the bill files for the current period and Sent to the BD of the home operating device.
  • the roaming operation equipment determines the call bill statement according to the call bill file.
  • the CDR statement includes the CDR file after being signed; if the CDR file is not the threshold duration
  • the first round of roaming records in the internal roaming service process is shown in FIG. 5, and the CDR statement includes the signed CDR file and the feedback information of the round of CDR on the home operating device.
  • the feedback information of the CDR file is used to indicate the check result of the CDR file. If the CDR file is verified as valid, the feedback information of the CDR file includes the signature of the second network device. Therefore, the roaming operation device can effectively associate the multi-round bill files generated by the roaming service of the home operation device, which facilitates the overall management of the bill files, and facilitates the retrieval and traceability of subsequent dialog bill files.
  • the bill statement in order to ensure the security of the bill statement, may be encrypted or hashed.
  • the roaming operation equipment determines the roaming charge corresponding to each round of the call bill file according to the roaming agreement, and generates a currency statement according to the roaming charge.
  • the roaming operation device generates a currency statement of the corresponding amount and currency verification information corresponding to the currency statement according to the roaming fee.
  • the roaming operation device can determine the roaming fee corresponding to each round of CDR files according to the roaming agreement. For example, the roaming fee corresponding to CDR file 1 is roaming fee 1, the roaming fee corresponding to CDR file 2 is roaming fee 2, and the roaming fee corresponding to CDR file 3 is roaming fee 3.
  • the roaming operation equipment generates a currency statement of the corresponding amount and currency verification information corresponding to the currency statement according to the roaming fee 1-3.
  • the roaming operation device generates (C1, S1, r1) according to the roaming charge 1, generates (C2, S2, r2) according to the roaming charge 1, and generates (C3, S3, r3) according to the roaming charge 1. ). That is, the currency statement C1 is used to represent the roaming fee corresponding to the bill file 1, the currency statement C2 is the roaming fee corresponding to the bill file 2, and the currency statement C3 is the roaming fee corresponding to the bill file 3.
  • the roaming operation device stores the currency statement and the bill statement corresponding to each round of the bill file in the blockchain, and records the storage address of the currency statement and the bill statement in the blockchain, and The currency verification information is safely stored in the BD of the roaming operation device.
  • S405 The roaming operation device sends the bill file and the storage address of the currency statement in the blockchain to the home operation device.
  • the roaming operation device may send the bill file and the currency statement to the home operation device;
  • the roaming operation device may send the bill file containing the currency statement storage address to the home operation device.
  • Case 1 In the home routed mode, the home operating device determines the received call bill file sent by the roaming operating device and the locally recorded call bill on the premise that the locally recorded bill file has been obtained Whether the files basically match; the home operating device obtains the corresponding currency statement stored on the blockchain according to the received address information of the currency statement in the blockchain, and determines whether it complies with the roaming agreement , And check whether the bill file in the transaction statement in the blockchain is consistent with the bill file sent by the roaming operation device.
  • Case 2 In a local breakout (local breakout), the home operating device obtains the corresponding currency statement stored on the blockchain according to the received address information of the currency statement in the blockchain, and determines Whether it complies with the roaming agreement, and checking whether the bill file in the transaction statement in the blockchain is consistent with the hash result of the bill file sent by the roaming operation device.
  • local breakout local breakout
  • the home operating device obtains the corresponding currency statement stored on the blockchain according to the received address information of the currency statement in the blockchain, and determines Whether it complies with the roaming agreement, and checking whether the bill file in the transaction statement in the blockchain is consistent with the hash result of the bill file sent by the roaming operation device.
  • the bill file stored in the blockchain is an encrypted or hashed bill file
  • the roaming operation device sends the bill to the home operation device.
  • the file is also an encrypted or hashed bill file. Therefore, when verifying, for example, by taking hash as an example, it is determined that the hashed bill file in the transaction record stored on the blockchain and the said roaming operation device sent to the home operation device Whether the hash results of the CDR files are consistent.
  • the home operation equipment sends feedback information of the CDR file to the roaming operation equipment according to the verification result of the CDR file.
  • the verification results of the CDR files of the home operation equipment are different, and the feedback information of the CDR files sent to the roaming operation equipment is also different, which is not specifically limited to the following situations.
  • Case 1 If the home operating device determines that the bill file is a valid bill file by verifying the bill file, the feedback information of the bill file includes the signature of the second network device. That is, it means that the home operating device approves the CDR file.
  • the feedback information of the bill file may include bill file renegotiation information. That is, it means that the home operating device approves the call bill file, and it needs to reconfirm and negotiate with the roaming operating device for the call bill file.
  • S408 The first currency statement of the roaming operating device selected by the home operating device for payment, wherein the selected first currency statement is an invalid currency that has not been paid.
  • the first currency statement is selected for payment from a plurality of currency statements that have not been paid in the roaming operation device.
  • the multiple currency statements of the roaming operation device stored in the blockchain include a currency statement C11, a currency statement C12, a currency statement C13, and a currency statement C14.
  • the currencies corresponding to the currency declarations C11-C14 are all invalid currencies, but the currency corresponding to the currency declaration C11 is an invalid currency that has been paid, and the currency corresponding to the currency declarations C12-C14 is an invalid currency that has not been paid.
  • the attributable operating device selects a currency statement C14 from the currency statements C12-C14 for payment. Assume that the first currency statement selected by the attributable operating device is currency statement C14.
  • Option 2 Select the first currency statement that has the longest waiting time for payment from the currency statement that has not been paid in the roaming operation device.
  • the length of time to be paid may be expressed as the length of time from the initial recording time of the currency statement on the blockchain to the current time.
  • the non-payment currency statement corresponding to the roaming operation device stored in the blockchain includes a currency statement C11, a currency statement C12, and a currency statement C13.
  • the time to be paid for the currency statement C11 is 1s
  • the time to be paid for the currency statement C12 is 2s
  • the time to be paid for the currency statement C13 is 3s.
  • the home operating device selects the currency statement C13 for payment, that is, the first currency statement selected by the home operating device is the shopping statement C13.
  • the attributable operating device selects the first currency statement for payment according to the valid second currency statement held by itself.
  • the selection criterion may be that the amount declared in the first currency selected is less than or equal to the amount declared in the second currency.
  • the attributable operating device selects a second currency statement from the statement of its own currency held to be the first currency statement used for payment selection, and the second currency statement is a valid currency statement held by the attributable operating device itself.
  • the denomination corresponding to the second currency statement selected by the attribution operation device is not less than the denomination of the selected first currency statement.
  • the first currency statement selected for payment by the attributable operating device is a currency statement C14, and the denomination of the currency corresponding to the currency statement C14 is "100".
  • the second currency statement held by the attributable operating device itself includes currency statements C21-C25, and the corresponding currency denominations are all "50”.
  • the attributable operating device can select two currency statements C from the currency statements C21-C25 held by itself to pay for the currency statement C14. For example, the attribution operating device selects the currency statement C22 and currency statement C25 held by itself to pay for the currency statement C14.
  • the payment completion information is used to instruct the home operating network device to declare that the payment is completed for the selected first currency, and the payment completion information includes a transaction address that declares the payment in the second currency.
  • the value of the currency statement C of the attributable operator device will not be exposed, and the privacy serial number S corresponding to the currency statement C has never been exposed in the blockchain. It has been recorded, that is, the currency corresponding to the currency statement C has not been used.
  • the zero-knowledge certificate in the attributable operating equipment can be directly associated with the selected unique identification information of the currency statement C of the roaming operating equipment, wherein the unique identification information may be the currency statement C itself or the currency Declare the storage address of C in the blockchain.
  • the call bill statement corresponding to the zero-knowledge proof association in the home operating device Because if the CDR file corresponding to the CDR statement is not the first round CDR file within the threshold time period, the CDR statement will also include the payment completion information of the previous round of feedback from the home operating device. Therefore, pass The association of S410 may associate multiple rounds of CDR files existing in the entire roaming process within the threshold duration. In this way, a complete roaming event can be obtained during follow-up and accountability.
  • S411 The home operating device sends the generated completion information of the payment to the blockchain.
  • the storage address of the payment completion information in the blockchain is recorded, so that the storage address of the payment completion information in the blockchain is subsequently sent to
  • the roaming operation device enables the roaming operation device to query the blockchain record for verification through the storage address of the payment completion information in the blockchain.
  • S412 The blockchain reviews the validity of the payment completion information.
  • the blockchain mainly determines that the payment completion information is valid in the following ways:
  • the block chain determines that the denomination of the second currency statement selected by the home operating device is not greater than the denomination of the first currency statement selected by the home operating device; the blockchain determines the home operating device The privacy serial number S corresponding to the selected first currency statement is not used in valid historical transaction records; the blockchain determines that the currency corresponding to the first currency statement selected by the attribution operation device is Effective currency.
  • the blockchain determines that the payment completion information is valid, and the completion information of this payment is synchronized to the entire network, it also means that the corresponding currency recorded during the initial coin-minting process of the roaming operation device before The declaration becomes effective, the currency is changed from invalid currency to valid currency, and the minting is completed.
  • S414 The home operating device feeds back payment completion information to the roaming operating device.
  • the home operation device may also send the storage address of the payment completion information in the blockchain to the roaming operation device.
  • the payment completion information fed back by the home operating device to the roaming operating device is the signature of the bill file completed in this round to indicate that the home operating device passed the verification of the bill file in the current round.
  • the verification also needs to include the record address of the first currency statement selected by the home operating device in the blockchain, so as to facilitate the roaming operating device to query.
  • the feedback information may also include other information, such as UE information with roaming service modification, tariff dispute information, and so on.
  • the local area of the home operating device and the local area of the roaming operating device will have the same plain text of the bill file and the signatures of both parties.
  • the signature of the roaming operation device is mainly for the current round of bills; the signature of the home operation device is mainly for the last round of bills.
  • both the home operating device and the roaming operating device securely cache the detailed content of the call bill file at the same time, until there is no arbitration requirement for the corresponding call bill file.
  • the roaming operation device queries the blockchain for the payment transaction corresponding to the first currency statement, and determines that the currency corresponding to the first currency statement is a valid currency.
  • the roaming operation device may use the currency corresponding to the first currency statement to make payment.
  • Stage 3 After roaming.
  • Case 2 If there is an objection between the roaming operation device and the home operation device or one of the parties, as shown in FIG. 6, the roaming operation device and/or the home operation device may perform arbitration.
  • the arbitration applicant needs to show valid bill content to protect its own rights and interests.
  • the BD of the arbitration applicant who initiated the arbitration application sends an arbitration application message to the arbitration party, where the arbitration application message includes: the CDR file to be arbitrated, and the CDR file is in the block The storage location in the chain, and the signature given by the home operating device in the next round of CDR files.
  • the arbitration request message also needs to include the next round of related content to ensure that the signature of the home operating device is in the roaming service process. It is always recorded in the blockchain.
  • all the bill files recorded in the blockchain are only the hash results of hashing the bill files.
  • the arbitration applicant needs to prove to the third-party arbitrator that the hash result recorded in the blockchain contains information that needs arbitration support. For example, the arbitration applicant claims that What services have been provided at a certain time.
  • the arbitration application message sent to the arbitration party by the BD of the arbitration applicant that initiated the arbitration application includes: the arbitration bill file and the hash result corresponding to the arbitration bill file in the blockchain The storage location of the verified verification information and the hash result of the bill file in the blockchain.
  • the arbitration party obtains the information stored in the blockchain from the blockchain according to the storage location of the bill file in the arbitration application message in the blockchain. And verify the integrity of the CDR file information.
  • the arbitrator in this embodiment of the application can verify the integrity of the CDR file information in the following manner:
  • the arbitration party is sure that the BD of the arbitration requesting party presents true and valid bill information, and the arbitration party arbitrates the roaming incident according to the established roaming contract and local laws and regulations.
  • the above-mentioned realization devices include hardware structures and/or software modules corresponding to the respective functions.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • a network device of the present application is located in the roaming network.
  • the network device includes a processor 700, a memory 701, and a communication interface 702.
  • the processor 700 is responsible for managing the bus architecture and general processing, and the memory 701 can store data used by the processor 700 when performing operations.
  • the transceiver communication interface 702 is used for receiving and sending data under the control of the processor 700 for data communication with the memory 701.
  • the processor 700 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
  • the processor 700 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
  • the memory 701 may include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other various media that can store program codes.
  • the processor 700, the memory 701, and the communication interface 702 are connected to each other.
  • the processor 700, the memory 701, and the communication interface 702 may be connected to each other through a bus 703; the bus 703 may be a peripheral component interconnect (PCI) bus or an extended industry Standard structure (extended industry standard architecture, EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the processor 700 is configured to read a program in the memory 701 and execute:
  • the processor 700 is further configured to:
  • the processor 700 is further configured to:
  • the roaming fee corresponding to the bill file is determined.
  • the currency statement is generated by the first network device through a coin minting process according to the roaming fee.
  • the currency statement also includes currency verification information, and the currency verification information corresponds to a unique currency statement and is used to determine whether the currency statement in the blockchain completes the payment.
  • the processor 700 is further configured to:
  • the processor 700 is specifically configured to:
  • the processor 700 is specifically configured to:
  • the processor 700 is specifically configured to:
  • the bill statement is encrypted or hashed and then published to the blockchain.
  • the processor 700 is configured to send any one or more of the following to the second network device:
  • the feedback information of the last round of the call ticket the signature of the first network device, and the address of the currency statement in the blockchain.
  • the feedback information of the CDR file is used to indicate the check result of the CDR file. If the CDR file is verified as valid, the feedback information of the CDR file includes all the CDR files. Describe the signature of the second network device.
  • the present application provides a network device in the roaming network.
  • the network device includes: at least one processing unit 800, at least one storage unit 801, and at least one communication unit 802, wherein:
  • the communication unit 802 is configured to receive and send data under the control of the processing unit 800, and the storage unit 801 stores program code.
  • the processing unit 800 performs the following process:
  • the communication unit 802 is configured to send a bill file to a second network device, where the bill file is a roaming communication record of the terminal device, and the first network device is in the roaming network of the terminal device ;
  • the processing unit 800 is configured to post a currency statement to the blockchain by the first network device, where the currency statement is used to indicate the roaming fee corresponding to the bill file;
  • the communication unit 802 is configured to receive the feedback information of the CDR file of the second network device.
  • the processing unit 800 is further configured to:
  • the processing unit 800 is further configured to:
  • the roaming fee corresponding to the bill file is determined.
  • the currency statement is generated by the first network device through a coin minting process according to the roaming fee.
  • the currency statement further includes currency verification information, and the currency verification information corresponds to a unique currency statement and is used to determine whether the currency statement in the blockchain completes the payment.
  • the communication unit 802 is further configured to:
  • the processing unit 800 is specifically configured to:
  • the processing unit 800 is specifically configured to:
  • the processing unit 800 is specifically configured to:
  • the bill statement is encrypted or hashed and then published to the blockchain.
  • the communication unit 802 sends any one or more of the following to the second network device:
  • the feedback information of the last round of the call ticket the signature of the first network device, and the address of the currency statement in the blockchain.
  • the feedback information of the CDR file is used to indicate the check result of the CDR file. If the CDR file is verified as valid, the feedback information of the CDR file includes all the CDR files. Describe the signature of the second network device.
  • an embodiment of the present application also provides a network device, the network device is in a network to which the terminal device is subscribed, and the network device includes a processor 900, a memory 901, and a communication interface 902.
  • the processor 900 is responsible for managing the bus architecture and general processing, and the memory 901 can store data used by the processor 900 when performing operations.
  • the transceiver communication interface 902 is used to receive and send data under the control of the processor 900 for data communication with the memory 901.
  • the processor 900 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
  • the processor 900 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the memory 901 may include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other various media that can store program codes.
  • the processor 900, the memory 901, and the communication interface 902 are connected to each other.
  • the processor 900, the memory 901, and the communication interface 902 may be connected to each other through a bus 903; the bus 903 may be a peripheral component interconnect (PCI) bus or an extended industry Standard structure (extended industry standard architecture, EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
  • the processor 900 is configured to read a program in the memory 901 and execute:
  • the first network device is in a roaming network of the terminal device.
  • the processor 900 is specifically configured to:
  • the second network device According to the valid second currency statement held by the second network device, select the first currency statement to be paid, and the amount of the first currency statement is less than or equal to the second currency statement; or from a plurality of Select the first currency statement in the currency statement.
  • the processor 900 is further configured to:
  • the processor 900 is further configured to:
  • the processor 900 is specifically configured to:
  • the first currency statement for payment is selected from the blockchain.
  • the processor 900 is specifically configured to:
  • the payment completion information is used to instruct the second network device to declare that the payment is completed for the first currency, and the payment completion information includes a transaction that declares payment in the second currency address.
  • the present application provides a network device that is in a contracted network where a terminal device is located.
  • the network device includes: at least one processing unit 1000, at least one storage unit 1001, and at least one communication unit 1002, where The communication unit 1002 is configured to receive and send data under the control of the processing unit 1000, and the storage unit 1001 stores program code.
  • the processing Unit 1000 performs the following process:
  • the processing unit 1000 is configured to select a first currency statement for payment, where the first currency statement is the roaming fee to be paid by the second network device; and complete the payment of the first currency statement;
  • the communication unit 1002 is configured to send the payment completion information to the first network device, which is in the roaming network of the terminal device.
  • the processing unit 1000 is specifically configured to:
  • the second network device According to the valid second currency statement held by the second network device, select the first currency statement to be paid, and the amount of the first currency statement is less than or equal to the second currency statement; or from a plurality of Select the first currency statement in the currency statement.
  • the communication unit 1002 is further configured to:
  • the communication unit 1002 is further configured to:
  • the processing unit 1000 is specifically configured to:
  • the first currency statement for payment is selected from the blockchain.
  • the communication unit 1002 is specifically configured to:
  • the payment completion information is used to instruct the second network device to declare that the payment is completed for the first currency, and the payment completion information includes a transaction that declares payment in the second currency address.
  • the various aspects of the method for supporting roaming services based on the blockchain provided in the embodiments of the present application can also be implemented in the form of a program product, which includes program code, when the program code is in a computer device When running on the computer, the program code is used to make the computer device execute the steps in the method for supporting roaming services based on the blockchain according to various exemplary embodiments of the present application described in this specification.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. Modifications of the readable storage medium.
  • Examples (non-exhaustive list) in one implementation of the embodiments of the present application include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read-only Memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only Memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device magnetic storage device, or any suitable combination of the above.
  • the program product for supporting roaming services based on the blockchain may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may run on a server device.
  • CD-ROM portable compact disk read-only memory
  • the program product of this application is not limited to this.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with information transmission, devices, or devices.
  • the readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with a periodic network action system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of the present application can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device.
  • LAN local area network
  • WAN wide area network
  • the embodiment of the present application also provides a storage medium readable by a computing device for a method for supporting a roaming service based on a blockchain, that is, the content is not lost after a power failure.
  • the storage medium stores a software program, including program code.
  • the program code runs on a computing device, the software program can implement any of the above embodiments of the present application when it is read and executed by one or more processors.
  • this application can also be implemented by hardware and/or software (including firmware, resident software, microcode, etc.).
  • this application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium to be used or used by the instruction execution system. Used in conjunction with the instruction execution system.
  • a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by an instruction execution system, apparatus, or device, or in combination with an instruction execution system, Device or equipment use.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种基于区块链漫游交易的方法、装置,包括:第一网络设备将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;所述第一网络设备将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;所述第一网络设备接收第二网络设备的所述话单文件的反馈信息。该方法通过将表示漫游费用的货币声明发布到区块链中,从而使第二网络设备通过区块链进行漫游交易,有效节省了漫游交易成本,且通过区块链的不可篡改特点,有效保证了漫游交易的可追溯性。

Description

一种基于区块链漫游交易的方法、装置
相关申请的交叉引用
本申请要求在2019年11月11日提交中国专利局、申请号为201911097222.9、申请名称为“一种基于区块链漫游交易的方法、装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种基于区块链漫游交易的方法、装置。
背景技术
在通信过程中,经常涉及漫游业务,即终端设备从常驻的服务区域(即签约服务区域)通过漫游移动到其他服务内的通信网络。其中,终端设备签约服务区域以外的其他服务区域可以称为漫游服务区域。运营商在签约服务区域内提供的通信网络可以简称为签约地网络,运营商在漫游服务区域内提供的通信网络可以简称为漫游地网络。
与此同时,终端设备在进行漫游业务时,漫游地网络的运营商漫游运营设备还会根据终端设备在漫游地网络进行通信时所产生的话单文件,向所述终端设备对应的签约地网络的运营商收取漫游费用,其中,所述签约地网络的运营商可以简称为归属运营设备,漫游地网络的运营商可以简称为漫游运营设备。
目前,现有技术中,运营商之间的漫游及结算漫游费用的过程包含漫游前、中、后三个阶段。漫游前,运营商之前建立漫游关系,交换漫游协议,公布各种漫游相关的公共参数。在这个过程中,归属运营设备会获得漫游运营设备针对漫游业务的收费协议,并以此制定签约终端设备在漫游过程中的用户漫游资费。漫游过程中,终端设备在接入漫游地网络后产生漫游,漫游运营设备将终端设备的话单文件通过漫游财务结算系统发送给归属运营设备。漫游后,归属运营设备根据话单文件向漫游运营设备结算漫游费用,并且,归属运营设备根据获得的话单文件向终端设备结算漫游零售费用。其中,在无论何种漫游模式,运营商之间的账单结算都需要通过可信的漫游清算中心进行仲裁公证。
上述通信过程中漫游业务的主要问题是:现有传统的漫游话单结算系统中,话单出账时延以天为单位,其滞后性为话费欺诈提供了潜在机会,且人工操作导致的可靠性和安全性上的缺失也难以避免。同时,现有漫游业务中,运营商之间的账单结算都需要通过可信的漫游清算中心进行仲裁公证,而对于仲裁的依赖带来的漫游成本提升也是亟需解决的问题。
发明内容
本申请提供一种基于区块链漫游交易的方法及装置,用以解决现有漫游业务中,运营商之间的账单结算都需要通过可信的漫游清算中心进行仲裁公证,而对于仲裁的依赖带来的漫游成本提升也是亟需解决的问题。
第一方面,本申请实施例提供一种基于区块链漫游交易方法,包括:
第一网络设备将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;所述第一网络设备将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;所述第一网络设备接收到第二网络设备的所述话单文件的反馈信息。
基于该方案,第一网络设备确定与第二网络设备的话单文件,然后通过将表示所述话单文件对应漫游费用的货币声明发布到区块链中,从而使所述第二网络设备通过区块链进行漫游交易,无需第三方仲裁平台,有效节省了漫游交易成本,且通过区块链的不可篡改性以及实时记录等特点,有效保证了漫游交易的可追溯性。
在一种可能的实现方式中,所述第一网络设备将话单文件发送给第二网络设备之前,所述第一网络设备确定所述终端设备进行漫游业务产生的所述话单文件。
在一种可能的实现方式中,所述第一网络设备将货币声明发布到区块链之前,所述第一网络设备根据与第二网络设备签订的漫游协议,确定所述话单文件对应的漫游费用。
在一种可能的实现方式中,所述货币声明是所述第一网络设备根据所述漫游费通过铸币过程产生的。
在一种可能的实现方式中,所述货币声明中还包括货币验证信息,所述货币验证信息对应唯一货币声明,用于确定区块链中的货币声明是否完成支付。
在一种可能的实现方式中,所述第一网络设备根据所述话单文件确定话单声明;所述第一网络设备将所述话单声明与所述货币声明发布到所述区块链。
在一种可能的实现方式中,所述第一网络设备对所述话单文件进行签名,根据签名后的话单文件确定话单声明。
在一种可能的实现方式中,所述第一网络设备将所述话单声明加密或哈希后发布到所述区块链。
在一种可能的实现方式中,所述第一网络设备将以下任意一项或多项发送给所述第二网络设备:上轮话单的反馈信息,所述第一网络设备的签名、所述货币声明在所述区块链中的地址。
在一种可能的实现方式中,所述话单文件的反馈信息用于指示对所述话单文件的核对结果,若核对所述话单文件有效,则所述话单文件的反馈信息包括所述第二网络设备的签名。
第二方面,本申请实施例提供一种基于区块链漫游交易方法,包括:
第二网络设备选择支付的第一货币声明,所述第一货币声明为所述第二网络设备待支付的漫游费用;所述第二网络设备完成所述第一货币声明的支付;所述第二网络设备向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
在一种可能的实现方式中,所述第二网络设备根据所述第二网络设备所持有的有效的第二货币声明,选择支付的所述第一货币声明,所述第一货币声明的金额小于或等于所述第二货币声明;或者从多个货币声明中选择所述第一货币声明。
在一种可能的实现方式中,所述第二网络设备完成所述第一货币声明的支付之后,所述第二网络设备将所述支付的完成信息发送给区块链。
在一种可能的实现方式中,所述第二网络设备选择支付的第一货币声明之前,所述第二网络设备接收来自所述第一网络设备的所述第一货币声明在所述区块链中的存储地址。
在一种可能的实现方式中,所述第二网络设备根据接收到的所述存储地址,从所述区块链中选取支付的所述第一货币声明。
在一种可能的实现方式中,所述第二网络设备还向所述第一网络设备发送所述支付的完成信息在所述区块链中的存储地址。
在一种可能的实现方式中,所述支付的完成信息用于指示所述第二网络设备对所述第一货币声明支付完成,所述支付的完成信息包括用第二货币声明进行支付的交易地址。
第三方面,本申请实施例提供一种通信装置,该通信装置具有实现上述实施例中的网络设备的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。
在一种可能的实现方式中,该通信装置可以是漫游地网络中的第一网络设备,或者是可用于所述第一网络设备的部件,例如芯片或芯片系统或者电路,该通信装置可以包括:收发器和处理器。该处理器可被配置为支持该通信装置执行以上所述第一网络设备的相应功能,该收发器用于支持该通信装置与其他网络设备(例如第二网络设备)和服务器(例如区块链)等之间的通信。可选地,该通信装置还可以包括存储器,该存储器可以与处理器耦合,其保存该通信装置必要的程序指令和数据。其中,收发器可以为独立的接收器、独立的发射器、集成收发功能的收发器、或者是接口电路。
在另一种可能的实现方式中,该通信装置可以是签约地网络中的第二网络设备,或者是可用于所述第二网络设备的部件,例如芯片或芯片系统或者电路,该通信装置可以包括:收发器和处理器。该处理器可被配置为支持该通信装置执行以上所示第二网络设备的相应功能,该收发器用于支持该通信装置与其他网络设备(第一网络设备)以及终端设备等之间的通信。可选地,该通信装置还可以包括存储器,该存储器可以与处理器耦合,其保存该通信装置必要的程序指令和数据。其中,收发器可以为独立的接收器、独立的发射器、集成收发功能的收发器、或者是接口电路。
第四方面,本申请实施例提供一种通信装置,用于实现上述第一方面或第二方面中的任一方面;或第一方面或第二方面中的任意一种方法。
在一种可能的实施方式中,该通信装置为处于漫游地网络中的第一网络设备时,可以包括:处理单元和通信单元:
所述通信单元,用于将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;
所述处理单元,用于所述第一网络设备将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;
所述通信单元,用于接收到第二网络设备的所述话单文件的反馈信息。
在一种可能的实施方式中,该通信装置为处于签约地网络中的第二网元时,可以包括:处理单元和通信单元:
所述处理单元,用于选择支付的第一货币声明,所述第一货币声明为所述第二网络设备待支付的漫游费用;以及完成所述第一货币声明的支付;
所述通信单元,用于向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
第五方面,本申请实施例提供一种通信系统,该通信系统包括漫游地网络中的网络设备、签约地网络中的网络设备、终端设备、区块链和数据服务器。其中,漫游地网络中的 网络设备可以用于执行上述第一方面或第二面中任意一面;或者执行上述第一方面或第二方面中的任意一种方法;
签约地网络中的网络设备可以用于执行上述第一方面或第二方面中任意一面;或者用于执行上述第一方面或第二方面中的任意一种方法。
第六方面,本申请提供了一种芯片系统,包括处理器。可选地,还可包括存储器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片系统的通信装置执行上述第一方面或第二面中任意一面;或者执行上述第一方面或第二方面中的任意一种方法。
第七方面,本申请实施例提供一种计算机存储介质,计算机存储介质中存储有指令,当其在通信装置上运行时,使得该通信装置执行上述第一方面或第二方面中任意一面;或执行上述第一方面或第二方面中的任意一种方法。
第八方面,本申请实施例提供一种包含指令的计算机程序产品,当其在通信装置上运行时,使得该通信装置执行上述第一方面或第二方面中任意一面;或执行上述第一方面或第二方面中的任意一种方法。
附图说明
图1为本申请提供的一种通信系统架构图;
图2为本申请提供的另一种通信系统架构图;
图3为本申请提供的漫游运营设备与归属运营设备共同确定漫游协议示意图;
图4为本申请提供的一种漫游运营设备与归属运营设备进行漫游交易时的流程示意图;
图5为本申请提供的签名的文件内容示意图;
图6为本申请提供的一种漫游运营设备和/或归属运营设备向仲裁方申请仲裁示意图;
图7为本申请提供的第一种漫游地网络中网络设备示意图;
图8为本申请提供的第二种漫游地网络中网络设备示意图;
图9为本申请提供的第一种签约地网络中网络设备示意图;
图10为本申请提供的第二种漫游地网络中网络设备示意图。
具体实施方式
下面将结合附图对申请实施例的具体实施过程进行详尽的描述。
在通信过程中,经常涉及漫游业务,即漫游地网络中的漫游运营设备向签约地网络中的归属运营设备提供终端设备的漫游话单,并从中结算收取漫游费用。其中,漫游运营设备与所述归运营设备之间的漫游及清结算过程包含漫游前、中、后三个阶段。漫游前,漫游运营设备与归属运营设备之间建立漫游关系,交换漫游协议,公布各种漫游相关的公共参数。在这个过程中,归属运营设备会获得漫游运营设备发送的基于所述漫游协议确定的漫游费用,并根据所述漫游费用以及自身运营成本制定签约UE在漫游过程中的漫游零售费用。漫游过程中,UE在漫游地网络中接入服务产生漫游,所述漫游运营设备将所述UE的漫游话单通过漫游财务结算系统发送给归属运营设备。漫游后,归属运营设备根据漫游话单数据记录文件向漫游运营设备结算漫游费用,并且,归属运营设备根据获得的漫游话单向对应UE结算漫游零售费用。其中,在无论何种漫游模式,运营商之间的账单结算都 需要通过可信的漫游清算中心进行仲裁公证。
上述传统的漫游话单结算系统中,存在的主要问题是话单出账时延以天为单位,其滞后性为话费欺诈提供了潜在机会,且人工操作导致的可靠性和安全性上的缺失也难以避免。同时,运营商之间的账单结算都需要通过可信的漫游清算中心进行仲裁公证,而对于仲裁的依赖带来的漫游成本提升也是亟需解决的问题。
进一步的,随着区块链技术的不断发展,基于区块链分布式账本技术所具有的不可篡改性等特点,在通信过程中,也逐渐致力于打造基于所述区块链的安全漫游话单结算平台,用以解决传统电信网络系统中,松散的漫游结算体系的高成本、高延迟以及财务欺诈等问题。
然而,在传统的区块链中,区块链本身带来的隐私问题是传统架构中不存在的。例如以比特币为代表的区块链的支付平台,需要在交易中明确标明交易双方的账户和交易金额,使得漫游话单信息对所有实体均可见,漫游交易双方的隐私无法得到保障,这对于漫游交易的双方显然是不可接受的。
为解决该问题,本申请实施例提供一种基于区块链支持漫游业务的方法。本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(long term evolution,LTE)系统,全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统,未来的第五代(5th Generation,5G)系统,如新一代无线接入技术(new radio access technology,NR),及未来的通信系统,如6G系统等。
以5G系统(也可以称为New Radio系统)为例,具体来说,为了在保障交易双方隐私的前提下,基于区块链技术进行漫游业务的方法主要采用零知识证明技术。通过该方法,可将漫游运营设备与归属运营设备之间的转账信息隐藏起来,使得漫游交易的支付行为不可追踪。
为便于理解本申请实施例,首先以图1中示出的通信系统为例详细说明本申请实施例适用的通信系统。如图1所示,该通信系统包括漫游运营设备100、终端设备101、归属运营设备102和区块链103。
漫游运营设备100,位于所述漫游地网络中,在通信系统中用于为接入的终端设备101在所述漫游地网络中提供无线通信功能的设备,可以确定所述终端设备101对应的归属运营设备102进行漫游服务产生的漫游服务费,以及通知并收取所述归属运营设备102所述漫游服务费。漫游运营设备100也可称为基站(base station,BS)。目前,一些漫游运营设备100的举例为:5G中的下一代基站(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。
进一步的,如图2所示,所述漫游运营设备100中包括的网元主要包括:会话管理功能(Session Management Function,SMF)、接入和移动管理功能(Access and Mobility Management Function,AMF)、接入和移动管理功能(Charging Function,CHF)、账单域(Billing Domain,BD)、区块链处理功能(BlockChain Handling Function,BCHF)、安全 边缘保护代理(Security Edge Protection Proxy,SEPP)、策略控制功能(Policy Control Function,PCF)、用户端口功能(User Port Function,UPF)以及无线接入网(Radio Access Network,RAN)等。
其中,所述SMF在漫游通信业务中主要用于向CHF发送话单;所述CHF用于根据所述SMF提供的多份账单以及所述漫游运营设备与所述归属网络设备102之间协商的漫游协议,整理出当前时段的话单记录文件并发送至BD;所述BD为所述漫游运营设备的整个结算中心,可以直接查询所述区块链103,也可以通过区块链处理功能BCHF进行传递,主要用于确定所述话单文件对应的漫游费用,并通过初始铸币过程产生与所述漫游费用额度相同的货币声明;所述BCHF用于建立所述漫游运营设备100与所述区块链103之间的连接,从而使所述漫游运营设备可将交易记录、货币声明等信息存储到所述区块链以及从所述区块链中获取相关信息,对区块链中对应的信息进行处理操作等。
所述漫游运营设备也可称为第一网络设备,换言之,第一网络设备可以是漫游地网络中的一个或多个网元,也可以是漫游地网络中一个或多个功能模块,本申请实施例对第一网络设备的具体形态和结构不作限定。
需要说明的是,本申请实施例中所述BD还可以为计算设备,对区块链的查询和访问通过BCHF传递。
终端设备101,是一种向用户提供语音和/或数据连通性的设备,也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请的实施例中的终端可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。
归属运营设备102,位于所述签约地网络中,在通信系统中用于为接入的终端设备101在所述签约地网络中提供无线通信功能的设备,可以核算所述漫游运营设备100发送的所述终端设备101进行漫游服务产生的漫游服务费,并在确定所述漫游服务费没有问题后向所述漫游运营设备100支付所述漫游费用;以及制定并收取所述终端设备101所述漫游服务费。归属运营设备101也可称为基站(base station,BS)。目前,一些归属运营设备101的举例为:5G中的下一代基站(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。
进一步的,如图2所示,所述归属运营设备102中包括的网元主要包括:SMF、CHF、BD、BCHF、SEPP、PCF、UPF、UDM(Unified Data Management,统一数据管理)以及DN(Downstream Node,下行节点)等等。其中,所述SMF在漫游通信业务中主要用于向CHF发送话单;所述CHF用于根据所述SMF提供的多份账单以及所述漫游运营设备与所述漫游运营设备100之间协商的漫游协议,整理出当前时段的话单记录文件并发送至BD; 所述BD为所述归属运营设备102的整个结算中心,可以直接查询所述区块链103,也可以通过区块链处理功能BCHF进行传递,主要用于通过查询所述区块链103进行话单验证;所述BCHF用于建立所述归属运营设备102与所述区块链103之间的连接,从而使所述归属运营设备可从所述区块链中获取相关信息,进行话单验证,以及对区块链中对应的信息进行其他处理操作等。
所述归属运营设备也可称为第二网络设备,换言之,第二网络设备可以是签约地网络中的一个或多个网元,也可以是签约地网络中一个或多个功能模块,本申请实施例对第二网络设备的具体形态和结构不作限定。
需要说明的是,本申请实施例中所述BD还可以为计算设备,对区块链的查询和访问通过BCHF传递。区块链103,是一种分布式账本的安全实现,以区块作为数据结构存储交易信息,每个区块包含区块体和区块头。其中,区块体存储交易记录。交易记录根据本申请实施例一种实现方式中应用场景需要,可以为转账记录、智能合约记录、清算记录、数据记录等;区块头存储时间戳、交易的哈希汇总结果,以及使之和前序区块形成链式结构的必要信息。
其中,本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。应理解,图1和图2仅为便于理解而示例的简化示意图,该通信系统中还可以包括其他网络设备或者还可以包括其他终端,图1和图2中未予以画出。
以下再对本申请实施例中涉及的部分用语进行解释说明,以便于理解。
1)零币(Zcoin),是一种技术,在Zcoin中,货币持有的方式是将代表固定面额的随机数记录在区块链中,即本申请实施例中的货币声明,而持有者自身秘密保存该随机数背后的序列号和逻辑关系。支付时,持有者出示序列号,并通过零知识证明来声明该序列号和记录在区块链中的某个货币声明存在逻辑关系。但是零知识证明本身又在这个过程中不暴露所述货币声明。也就是Zcoin可以通过固定面额的货币本身为单位,用户以公开的方式或者匿名的方式在区块链中拥有某货币,而以隐藏的方式使用该货币支付某次费用。这个特点,使得交易过程中的转账账户隐私也能够得以有效保护。
其中,一个固定面值的货币在Zcoin中包含两个参数,公布在区块链上的货币声明和货币持有者的隐私序列号,且所述货币声明可以通过所述货币持有者的隐私序列号以及另一个参数进行确定。例如,假设所述货币声明为货币声明C,所述货币持有者的隐私序列号为S,则存在某随机隐藏值r,使得(S,r)的某公开运算能推导出C。
本申请实施例中,为方便描述,将所述货币声明以及所述货币声明对应的两个参数S,r共同称之为声明信息;将所述两个参数S,r,表示为货币验证信息。即本申请实施例中所述声明信息表示(C,S,r),货币声明表示C,所述货币验证信息表示(S,r)。
本申请实施例中,所述货币声明C对应的隐私序列号S和随机隐藏值r可安全存储于持有者对应的BD中,且为了安全性考虑,不以任何形式提供针对S和r的对外的读取访问接口。
可选的,本申请实施例中允许计费功能体CHF,区块链处理功能体BCHF等其他网元安全管理这些匿名货币。
2)铸币,在本申请实施例中主要包括两个方面:所述漫游运营设备根据某轮漫游服务业务产生的漫游费用通过初始铸币过程产生相应额度的货币声明。其中,该货币声明可以为多种不同面额的货币声明的组合。例如,第一货币声明可以为货币声明1、货币声明2、货币声明3的组合。
所述漫游运营设备将所述货币声明存储在所述区块链中,将所述货币验证信息安全存储在所述漫游运营设备的BD中,直到在未来的支付过程中有归属运营设备完成对所述货币声明的支付,则确定完成铸币。也就是说,所述铸币过程主要是生成无效货币,然后使所述无效货币在被完成支付后成为有效货币的过程。
可选的,本申请实施例中为确保生成的声明信息中的S的唯一性,所述漫游运营设备在确保S不被暴露的情况下,可以查询区块链中是否已有相应序列号,若存在,则生成新的S,然后可继续进行所述S的唯一性的验证,直至生成的S具有唯一性。
3)有效货币,在本申请实施例中主要指存储在区块链中的可被持有者用于支付的货币声明C对应的货币。
4)无效货币,在本申请实施例中主要指存储在区块链中的已被持有者支付(已被消耗)的,以及还未成功铸币(还未激活)的货币。
另外,本申请实施例中的术语“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中,A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。以下至少一项(个)下或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。
此外,本申请实施例和权利要求书及附图中的术语“包括”和“具有”不是排他的。例如,包括了一系列步骤或模块的过程、方法、系统、产品或设备,不限定于已列出的步骤或模块,还可以包括没有列出的步骤或模块。
下面结合附图通过漫游交易前,漫游交易时,漫游交易后三个阶段对本申请提供一种基于区块链支持漫游业务的方法进行具体说明。
阶段一:漫游前。
本申请实施例中所述漫游运营设备与所述归属运营设备进行漫游交易之前,所述漫游运营设备与所述归属运营设备需要确定进行漫游交易的漫游协议以及其他必要的信息。其中,所述漫游协议用于确定话单文件对应的漫游费用,即所述漫游运营设备基于所述漫游协议确定所述归属运营设备对应的终端设备在所述漫游网络中产生的话单文件的漫游费用。同时,所述归属运营设备还可以根据所述漫游协议核对所述漫游运营设备发送的话单文件对应的漫游费用的准确性。
本申请实施例中,所述漫游运营设备与所述归属运营设备签订的所述漫游协议存储方式可以有多种,具体并不限于下述几种。
存储方式1:所述漫游协议存储到所述区块链中,所述漫游运营设备与所述归属运营 设备可根据所述漫游协议在所述区块链的存储地址,获取所述漫游协议。
存储方式2:所述漫游协议可以分别存储到所述漫游运营设备与所述归属运营设备中,所述漫游运营设备与所述归属运营设备可以分别从本地获取所述漫游协议。
本申请实施例中,所述漫游运营设备与所述归属运营设备之间协商所述漫游协议的方式可以有多种,具体并不限于下述几种。
协商方式1:如图3所示,所述漫游协议由所述漫游运营设备与所述归属运营设备之间两两制定。
示例性的,当所述漫游运营设备与所述归属运营设备共同协商确定所述漫游协议后,将所述漫游协议明文记录在区块链中。
其中,所述漫游协议附有所述漫游运营设备与所述归属运营设备的双重签名,所述漫游协议附有的双重签名用于确定签名双方承认所述漫游协议的规定。例如,漫游协议1附有的双重签名为漫游运营设备A与归属运营设备B的签名,则确定所述漫游运营设备A与所述归属运营设备B互相都认可所述漫游协议1中的规定。
因此,当漫游运营设备A与归属运营设备B之间产生漫游业务,需要确定漫游费用时,所述漫游运营设备A根据所述漫游协议1确定所述归属运营设备需要支付的漫游费用,而所述归属运营设备B则可根据所述漫游协议1核算所述漫游业务对应的漫游费用。
其中,本申请实施例在所述协商方式1中,为有效增强漫游业务的安全性,可将所述漫游协议附有的所述漫游运营设备与所述归属运营设备的双重签名进行加密。也就是说,只有对所述加密后的双重签名进行解密,才能确定所述漫游协议对应的漫游运营设备与归属运营设备,能够有效的保障了漫游业务的安全性。
进一步的,本申请实施例中,可将用于对加密后的所述双重签名进行解密的签名密钥通过BCHF安全记录在所述区块链中;或者可将用于对加密后的所述双重签名进行解密的签名密钥存储在各自对应的账单域BD中。
进一步的,在进行漫游业务中,若漫游协议明文存储在第三方平台,例如区块链中,则其他设备都有可能获取所述漫游协议,由此将产生安全隐患。为解决这一问题,本申请实施例所述漫游运营设备与所述归属运营设备之间共同确定所述漫游协议后,将所述漫游协议进行哈希或进行加密,然后将所述漫游协议的哈希结果或者加密后的漫游协议存储在所述区块链中。
需要说明的是,本申请实施例中所述漫游运营设备与所述归属运营设备都可以对所述漫游协议进行哈希或加密,且所述漫游运营设备与所述归属运营设备对所述漫游协议进行哈希或者加密的后的结果相同,为此,本申请实施例不限定对所述漫游协议进行哈希或者加密的设备。
同理,本申请实施例中所述漫游运营设备与所述归属运营设备都可以对所述双重签名进行哈希或加密,且所述漫游运营设备与所述归属运营设备对所述双重签名进行哈希或者加密的后的结果相同,为此,本申请实施例不限定对所述双重签名进行哈希或者加密的设备。
其中,所述漫游协议可以附有所述归属运营设备与所述漫游运营设备的双重签名,本申请实施例中为有效保护所述区块链中存储的所述漫游协议以及所述双重签名的安全性,可以有多种操作方式,具体并不限于下述几种:
操作方式1:将漫游协议A进行哈希或者加密,得到漫游协议A′;将所述归属运营设备与所述漫游运营设备的双重签名进行哈希或者加密,得到双重签名A′;将附带所述双重签名A′的所述漫游协议A′存储到区块链中。
其中,本申请实施例不区分确定漫游协议A′和确定双重签名A′的先后顺序,例如,本申请实施例中可同时确定所述漫游协议A′和所述双重签名A′;可先确定所述漫游协议A′,再确定所述双重签名A′;还可先确定所述双重签名A′,然后再确定所述漫游协议A′。
操作方式2:将漫游协议A与双重签名共同进行哈希或者加密,得到所述漫游协议与所述双重签名整体的哈希结果或加密结果;然后将所述哈希结果或者加密结果存储在所述区块链中。
其中,本申请实施例中若选择对所述漫游协议进行哈希,将所述哈希结果存储到区块链中,则在所述漫游运营设备与所述归属运营设备上保存了所述漫游协议。
本申请实施例中若选择对所述漫游协议进行加密,则所述漫游运营设备与所述归属运营设备在各自的账单域BD中安全存储用于解密所述加密结果的密钥。
协商方式2:所述漫游协议由所述漫游运营设备一方单独制定,并记录到所述漫游运营设备与所述归属运营设备对应的区块链上;或所述漫游协议由所述归属运营设备一方单独制定,并记录到所述归属运营设备与所述漫游运营设备对应的区块链上。而未制定所述漫游协议的另一方运营设备,根据自身情况决定是否调用该漫游协议来与另一设备建立漫游关系。
其中,所述归属运营设备或所述漫游运营设备可通过所述归属运营设备自身的BCHF将所述漫游协议记录在所述区块链中,且存储到所述区块链中的漫游协议附有制定者的签名。例如,若所述漫游协议由所述归属运营设备制定,则存储到所述区块链中的漫游协议附有所述归属运营设备的签名。
示例性的,假设所述漫游协议由所述归属运营设备一方单独制定,并将所述漫游协议存储到所述区块链中。当所述漫游运营设备与所述归属运营设备需要进行漫游业务时,所述漫游运营设备可从所述区块链中获取所述归属运营设备存储的所述漫游协议,根据所述漫游协议确定所述归属运营设备在进行所述漫游业务时所产生的漫游费用。
其中,所述漫游运营设备可根据所述归属运营设备在需要进行漫游业务时发送的漫游协议在区块链中的存储地址,从所述区块链中获取所述漫游协议,即所述漫游运营设备获取到的所述漫游协议在所述区块链中的存储地址,是在需要进行漫游业务时所述归属运营设备发送给所述漫游运营设备的;或所述漫游运营设备根据与所述归属运营设备事先约定的漫游协议存储地址,从所述区块链中获取所述漫游协议,即所述漫游运营设备与所述归属运营设备事先约定所述漫游协议由所述归属运营设备一方制定,且所述归属运营设备将所述漫游协议在所述区块链中的存储地址事先通知所述漫游运营协议,后续在进行漫游业务时,所述漫游运营设备可直接根据事先约定的所述漫游协议在所述区块链中的存储地址,获取所述漫游协议。
其中,本申请实施例在所述协商方式2中,为有效增强漫游业务的安全性,可将漫游协议B进行加密,得到漫游协议B';将所述归属运营设备或所述漫游运营设备一方的单方签名进行哈希或者加密,得到单方签名B'。然后,将附带所述单方签名B'的所述漫游协议 B'存储到区块链中。需要说明的是,本申请实施例不区分确定漫游协议B'和确定单方签名B'的先后顺序。
进一步的,本申请实施例中所述漫游运营设备和/或所述归属运营设备在各自的账单域BD中安全存储用于解密加密结果的密钥。
进一步的,本申请实施例中,无论哪一种协商方式,所述漫游运营设备与所述归属运营设备在确定用于进行漫游交易的漫游协议后,所述归属运营设备和所述漫游运营设备之间根据所述漫游协议确定进行漫游交易过程中的漫游资费信息。所述漫游运营设备可以根据所述漫游协议针对不同类型的UE,确定需要提供的网络保障,还可以根据所述漫游协议确定向所述归属运营设备提供的漫游话单的格式。
进一步的,所述归属运营设备根据所述漫游协议中的用于确定漫游费用的参数信息确定所述漫游运营设备提供给自己的漫游费用标准,从而结合自身的运营成本,针对不同类型的UE制定对应的漫游零售资费,或漫游话费套餐。
本申请实施例一种实现方式中,如图3所示,所述归属运营设备中的账单域BD向所述归属运营设备中的统一数据管理UDM传递所述漫游协议中用于确定漫游费用的参数。所述UDM根据所述参数信息确定所述漫游运营设备提供给自己的漫游费用标准,从而结合自身的运营成本,针对不同类型的UE制定对应的漫游零售资费,或漫游话费套餐。
其中,本申请实施例中采用哈希的方式对所述签名和/或所述漫游协议进行保护,能够更加简单高效的进行信息的隐藏,并且由于哈希算法是安全可公开的,在需要获取部分文件时,并不会影像剩余文件的安全性和隐秘性。
阶段二:漫游时。
本申请实施例中所述漫游运营设备与所述归属运营设备在进行漫游过程中,所述漫游运营设备与所述归属运营设备的具体交互流程可以如图4所示,具体包括以下步骤:
S400:所述漫游运营设备确定所述归属运营设备阈值时长内进行漫游业务产生的话单文件。
本申请实施例一种实现方式中,所述归属运营设备在阈值时长内,在所述漫游地可产生至少一轮话单文件,相应的所述漫游运营设备可根据每轮话单文件确定所述话单文件对应的漫游费用。
示例性的,假设本申请实施例中阈值时长为X,所述漫游运营设备与所述归属运营设备在所述X时长内,进行了三轮漫游业务,则对应会产生三轮话单文件。所述三轮话单文件按时间先后顺序分别为话单文件1、话单文件2和话单文件3。
其中,所述漫游运营设备中的SMF通过计费触发功能CTF向所述漫游运营设备中的CHF发送每轮话单文件。所述CHF整理所述SMF提供的至少一轮话单文件后(例如三轮话单文件),根据所述漫游协议(例如漫游协议中的话单分段格式、话单记录内容等),整理出所述X时长内的话单文件并发送至所述漫游运营设备的BD。
S401:所述归属运营设备确定所述阈值时长内在所述漫游地网络进行漫游业务产生的话单文件。
本申请实施例一种实现方式中,所述归属运营设备在阈值时长内,在所述漫游地可产生至少一轮话单文件,例如,假设本申请实施例中阈值时长为X,所述漫游运营设备与所述归属运营设备在所述X时长内,进行了三轮漫游业务,则对应会产生三轮话单文件。
所述三轮话单文件按时间先后顺序分别为话单文件1、话单文件2和话单文件3。其中,所述归属运营设备中的SMF分别向所述归属运营设备中的CHF发送每轮话单记录。所述CHF整理所述SMF提供的至少一轮话单文件后,根据所述漫游协议(例如漫游协议中的话单分段格式、话单记录内容等),整理出当前所述时段的话单文件并发送至所述归属运营设备的BD。
需要说明的是,本申请实施例中,上述S400与S401并不区分先后顺序。
S402:所述漫游运营设备根据所述话单文件确定话单声明。
其中,若所述话单文件是阈值时长内进行漫游业务过程中的第一轮漫游记录,则所述话单声明包含进行签名后的所述话单文件;若所述话单文件不是阈值时长内进行漫游业务过程中的第一轮漫游记录,则如图5所示,所述话单声明包含进行签名后的所述话单文件和所述归属运营设备上一轮话单的反馈信息。
所述话单文件的反馈信息用于指示对所述话单文件的核对结果,若核对所述话单文件有效,则所述话单文件的反馈信息包括所述第二网络设备的签名。从而可以使所述漫游运营设备与所述归属运营设备进行漫游业务产生的多轮话单文件有效的进行关联,有利于进行话单文件的整体管理,方便后续对话单文件的调取以及追溯。
本申请实施例一种可选的实施方式中,为了保证所述话单声明的安全性,可对所述话单声明进行加密或哈希。
S403:所述漫游运营设备根据所述漫游协议确定每轮话单文件对应的漫游费用,并根据所述漫游费用生成货币声明。
具体的,所述漫游运营设备根据所述漫游费用生成相应额度的货币声明和所述货币声明对应的货币验证信息。
示例性的,假设阈值时长内,共生成三轮话单文件,分别为话单文件1-3,则所述漫游运营设备根据所述漫游协议可分别确定每轮话单文件对应的漫游费用。例如,话单文件1对应的漫游费用为漫游费用1、话单文件2对应的漫游费用为漫游费用2、话单文件3对应的漫游费用为漫游费用3。
进一步的,所述漫游运营设备根据所述漫游费用1-3生成相应额度的货币声明和所述货币声明对应的货币验证信息。例如,所述漫游运营设备根据所述漫游费用1生成(C1,S1,r1)、根据所述漫游费用1生成(C2,S2,r2)、根据所述漫游费用1生成(C3,S3,r3)。即所述货币声明C1用于表示话单文件1对应的漫游费用,所述货币声明C2表示话单文件2对应的漫游费用,所述货币声明C3表示话单文件3对应的漫游费用。
S404:所述漫游运营设备将每轮话单文件对应的货币声明和话单声明存储在所述区块链中,并记录货币声明和话单声明在所述区块链中的存储地址,将所述货币验证信息安全存在所述漫游运营设备的BD中。
S405:所述漫游运营设备将所述话单文件以及所述货币声明在所述区块链中的存储地址发送给所述归属运营设备。
可选的,所述漫游运营设备可将所述话单文件以及所述货币声明发送给所述归属运营设备;
可选的,所述漫游运营设备可将包含所述货币声明存储地址的所述话单文件发送给所述归属运营设备。
S406:所述归属运营设备进行话单文件验证。
本申请实施例中,所述归属运营设备进行话单验证时,可分为两种情况:
情况1:在归属网络路由(home routed)模式下,所述归属运营设备在已经获得了本地记录的话单文件的前提下,确定接收到的所述漫游运营设备发送的话单文件和本地记录的话单文件之间是否基本匹配;所述归属运营设备根据接收到的所述货币声明的在所述区块链中的地址信息,获取所述区块链上存储的对应货币声明,确定是否符合漫游协议,以及查看所述区块链中交易声明中的话单文件是否符合所述漫游运营设备发送的话单文件。
情况2:在本地路由(local breakout)中,所述归属运营设备根据接收到的所述货币声明的在所述区块链中的地址信息获取所述区块链上存储的对应货币声明,确定是否符合漫游协议,以及查看所述区块链中交易声明中的话单文件是否符合所述漫游运营设备发送的所述话单文件话单的哈希结果。
其中,本申请实施例中为保证话单文件的安全性,所述区块链中存储的话单文件为加密或哈希后的话单文件,所述漫游运营设备发送给所述归属运营设备的话单文件也为加密或哈希后的话单文件。因此,在验证时,例如以哈希为例,则确定所述区块链上存储的交易记录中的已哈希后的话单文件与所述漫游运营设备发送给所述归属运营设备的所述话单文件的哈希结果是否一致。
S407:所述归属运营设备根据所述话单文件验证结果,向所述漫游运营设备发送所述话单文件的反馈信息。
其中,所述归属运营设备针对所述话单文件的验证结果不同,向所述漫游运营设备发送的所述话单文件的反馈信息也不相同,具体并不限于下述几种情况。
情况1:若所述归属运营设备通过对所述话单文件进行验证,确定所述话单文件为有效话单文件,则所述话单文件的反馈信息包括所述第二网络设备的签名。即表示所述归属运营设备认可所述话单文件。
情况2:若所述归属运营设备通过对所述话单文件进行验证,确定所述话单文件为无效话单文件,则所述话单文件的反馈信息可以包括话单文件重协商信息。即表示所述归属运营设备并认可所述话单文件,需要与所述漫游运营设备针对所述话单文件进行重新确认以及协商。
以下为归属运营设备对终端的漫游费用进行支付的步骤:
S408:所述归属运营设备选择支付的所述漫游运营设备的第一货币声明,其中,选择的所述第一货币声明为未进行支付的无效货币。
其中,本申请实施例中所述归属运营设备选择支付的所述第一货币声明的方式有多种,具体并不限于下述几种。
选择方式1:从所述漫游运营设备中未进行支付的多个货币声明中选择第一货币声明进行支付。
示例性的,假设所述区块链中存储的所述漫游运营设备的多个货币声明包括货币声明C11、货币声明C12、货币声明C13和货币声明C14。其中,所述货币声明C11-C14对应的货币都为无效货币,但是所述货币声明C11对应的货币为已支付的无效货币,所述货币声明C12-C14对应的货币为未进行支付的无效货币。因此,所述归属运营设备从所述货币声明C12-C14中选取一个货币声明C14进行支付。假设,所述归属运营设备选取的第一货币声明为货币声明C14。
选择方式2:从所述漫游运营设备中未进行支付的货币声明中选择待支付时长最久的 第一货币声明进行支付。其中,所述待支付时长可以表示为货币声明在区块链初始记录时间到当前时间的时长。
示例性的,假设所述区块链中存储的所述漫游运营设备对应的未进行支付的货币声明包括货币声明C11、货币声明C12、货币声明C13。其中,所述货币声明C11待支付时间为1s,所述货币声明C12待支付时间为2s,所述货币声明C13待支付时间为3s。因为,所述货币声明C13待支付时长最长,因此,所述归属运营设备选择所述货币声明C13进行支付,即所述归属运营设备选取的第一货币声明为货比声明C13。
选择方式3:所述归属运营设备根据自身所持有的有效的第二货币声明,选择支付的所述第一货币声明。其中,选择标准可以为选择的所述第一货币声明的金额小于或等于所述第二货币声明的金额。
S409:所述归属运营设备从自身持有货币声明中选取第二货币声明,用于支付选择的第一货币声明,所述第二货币声明为所述归属运营设备自身持有的有效货币声明。
其中,所述归属运营设备选取的所述第二货币声明对应的面额不小于选择的所述第一货币声明的面额。
示例性的,假设所述归属运营设备选择支付的所述第一货币声明为货币声明C14,所述货币声明C14对应的货币的面额为“100”。所述归属运营设备自身持有的第二货币声明包括货币声明C21-C25,且对应的货币面额都为“50”。
因此,所述归属运营设备可从自身持有的货币声明C21-C25中选取两个货币声明C用于支付所述货币声明C14。例如,所述归属运营设备选取自身持有的货币声明C22和货币声明C25用于支付所述货币声明C14。
S410:所述归属运营设备完成支付后,生成对应的支付的完成信息。
可选的,所述支付的完成信息用于指示所述归属运营网络设备对选取的第一货币声明支付完成,所述支付的完成信息包括用第二货币声明进行支付的交易地址。
可选的,本申请实施例中所述支付完成消息包括所述归属运营设备选择的所述货币声明对应的隐私序列号S和零知识证明zkp,本申请实施例可根据所述zkp确定所述货币声明,例如所述货币声明C对应的隐藏随机值r,使得f(S,r)=C。
进一步的,本申请实施例中,所述归属运营商设备的所述货币声明C的值不会被暴露,且所述货币声明C对应的所述隐私序列号S在区块链中从未被记录过,即所述货币声明C对应的货币未被使用过。
进一步的,所归属运营设备中的零知识证明可直接关联选取的所述漫游运营设备的货币声明C的唯一标识信息,其中,所述唯一标识信息可以为所述货币声明C本身或所述货币声明C在所述区块链中的存储地址。
进一步的,所述归属运营设备中的零知识证明关联对应的话单声明。因为若所述话单声明对应的话单文件不是阈值时长内第一轮话单文件,则所述话单声明中还会包括所述归属运营设备上一轮反馈的支付的完成信息,因此,通过S410的关联,可将所述阈值时长内的整个漫游过程中存在的多轮话单文件彼此关联起来。从而在后续进行追溯、问责的时候可以获取完整的漫游事件。
S411:所述归属运营设备将生成的所述支付的完成信息发送给所述区块链。
可选的,本申请实施例中将所述支付的完成信息在所述区块链中的存储地址记录下来,从而后续将所述支付的完成信息在所述区块链中的存储地址发送给所述漫游运营设备,以 使所述漫游运营设备通过所述支付的完成信息在所述区块链中的存储地址,查询区块链记录进行验证。
S412:所述区块链对所述支付的完成信息进行有效性审核。
其中,本申请实施例中,所述区块链主要通过下列方式确定所述支付的完成信息有效:
所述区块链确定所述归属运营设备选取的所述第二货币声明的面额不大于所述归属运营设备选取的所述第一货币声明的面额;所述区块链确定所述归属运营设备选取的所述第一货币声明对应的所述隐私序列号S并未在有效历史交易记录中被使用;所述区块链确定所述归属运营设备选取的所述第一货币声明对应的货币为有效货币。
S413:当所述区块链确定所述支付的完成信息有效后,则所述区块链将本次支付的完成信息同步全网。
进一步的,当所述区块链确定所述支付的完成信息有效,并将本次支付的完成信息同步全网后,也意味着所述漫游运营设备之前初始铸币过程中所记录的对应的货币声明生效,由无效货币变为有效货币,铸币完成。
S414:所述归属运营设备向所述漫游运营设备反馈支付的完成信息。
可选的,所述归属运营设备还可以将所述支付的完成信息在所述区块链中的存储地址发送给所述漫游运营设备。
其中,本申请实施例中,所述归属运营设备向所述漫游运营设备反馈的支付的完成信息为本轮完成的话单文件的签名,以表示所述归属运营设备通过对本轮话单文件的核对,还需要包括所述归属运营设备选取的所述第一货币声明在区块链中的记录地址,以方便所述漫游运营设备进行查询。
可选的,本申请实施例中,所述反馈信息中还可包含其他信息,例如存在漫游服务修改的UE信息、资费纠纷信息等。
需要说明的是,本申请实施例中,每一轮结束之后,在所述归属运营设备的本地和所述漫游运营设备的本地都会具有相同的话单文件明文以及双方的签名。其中,所述漫游运营设备的签名主要针对本轮话单文件;所述归属运营设备的签名主要针对上轮话单。
可选的,本申请实施例中,所述归属运营设备与所述漫游运营设备双方同时安全缓存话单文件的详细内容,直至对应的话单文件不会存在仲裁需求。
S415:所述漫游运营设备向所述区块链查询所述第一货币声明对应的支付交易,确定所述第一货币声明对应的货币为有效货币。
其中,本申请实施例中所述漫游运营设备在所述区块链中存储的所述第一货币声明对应的货币从无效货币变成有效货币后,则证明所述漫游运营设备铸币成功,在后续的漫游交易中,所述漫游运营设备可以使用所述第一货币声明对应的货币进行支付。
阶段三:漫游后。
本申请实施例中当完成漫游费用支付和话单文件交易之后,可根据双方是否存在异议,分为多种情况。
情况1:若所述漫游运营设备与所述归属运营设备双方不存在异议,则本次漫游业务终止。
可选的,本申请实施例中为节省区块链以及漫游运营设备与归属运营设备的存储空间,在所述漫游运营设备与所述归属运营设备完成漫游业务且双方不存在异议时,可删除所述区块链和/或双方设备中存储的冗余文件。
情况2:若所述漫游运营设备与所述归属运营设备双方或某一方存在异议,则如图6所示,所述漫游运营设备和/或所述归属运营设备可进行仲裁。
进一步的,本申请实施例中,若所述归属运营设备和/或所述漫游运营设备进行仲裁时,仲裁申请方需要出示有效的话单内容来维护自身权益。
本申请实施例一种实现方式中,发起仲裁申请的仲裁申请方的BD向仲裁方发送仲裁申请消息,其中,所述仲裁申请消息包括:待仲裁的话单文件、所述话单文件在区块链中的存储位置、下一轮话单文件中归属运营设备给出的签名。
其中,若本申请实施例中涉及到所述归属运营设备的签名,则所述仲裁申请消息中还需要包括下一轮的相关内容,以保证所述归属运营设备的签名是在漫游服务过程中时时记载在区块链中。
可选的,本申请实施例中,从隐私保护角度出发,所述区块链记录的所有话单文件都只为将所述话单文件进行哈希后的哈希结果。而本申请实施例中仲裁申请方在进行仲裁时,需要向第三方仲裁者证明在所述区块链中已记录的哈希结果里面包含了需要仲裁支持的信息,例如,仲裁申请方声称在某一时间,提供过什么服务。
因此,发起仲裁申请的仲裁申请方的BD向仲裁方发送的仲裁申请消息包括:待仲裁话单文件及用于对所述话单文件在所述区块链中对应的所述哈希结果进行验证的验证信息、所述话单文件在区块链中的哈希结果的存储位置。
进一步的,本申请实施例中所述仲裁方根据所述仲裁申请消息中的所述话单文件在所述区块链中的存储位置从所述区块链中获取所述区块链存储的所述话单文件信息,并验证所述话单文件信息的完整性。
其中,一种实现方式中,本申请实施例中所述仲裁方可根据下列方式验证所述话单文件信息的完整性:
首先,根据公开的哈希算法确认记录在区块链中的话单声明记录的确为待仲裁内容的哈希结果,确保生成话单的真实存在性;其次,验证签名的正确性,确保记录在区块链上的话单记录在当时是受到交易双方的认同的。
以上验证均通过后,仲裁方确信所述仲裁申请方的BD出示的是真实有效的话单信息,则所述仲裁方根据已定的漫游合约以及当地法律法规对漫游事件进行仲裁。
通过上述对本申请方案的介绍,可以理解的是,上述实现各设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
基于以上实施例,如图7所示,本申请一种网络设备,该网络设备处于所述漫游地网络中,该网络设备包括处理器700、存储器701和通信接口702。
处理器700负责管理总线架构和通常的处理,存储器701可以存储处理器700在执行操作时所使用的数据。收发机通信接口702用于在处理器700的控制下接收和发送数据与 存储器701进行数据通信。
所述处理器700可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。所述处理器700还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。存储器701可以包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
所述处理器700、所述存储器701以及所述通信接口702之间相互连接。可选的,所述处理器700、所述存储器701以及所述通信接口702可以通过总线703相互连接;所述总线703可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
具体地,所述处理器700,用于读取存储器701中的程序并执行:
将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;接收到第二网络设备的所述话单文件的反馈信息。
在一种可能的实现方法中,所述处理器700还用于:
确定所述终端设备进行漫游业务产生的所述话单文件。
在一种可能的实现方法中,所述处理器700还用于:
根据与第二网络设备签订的漫游协议,确定所述话单文件对应的漫游费用。
在一种可能的实现方法中,所述货币声明是所述第一网络设备根据所述漫游费通过铸币过程产生的。
在一种可能的实现方法中所述货币声明中还包括货币验证信息,所述货币验证信息对应唯一货币声明,用于确定区块链中的货币声明是否完成支付。
在一种可能的实现方法中,所述处理器700还用于:
将所述话单文件发送给所述第二网络设备。
在一种可能的实现方法中,所述处理器700具体用于:
根据所述话单文件确定话单声明;将所述话单声明与所述货币声明发布到所述区块链。
在一种可能的实现方法中,所述处理器700具体用于:
对所述话单文件进行签名,根据签名后的话单文件确定话单声明。
在一种可能的实现方法中,所述处理器700具体用于:
将所述话单声明加密或哈希后发布到所述区块链。
在一种可能的实现方法中,所述处理器700用于将以下任意一项或多项发送给所述第二网络设备:
上轮话单的反馈信息,所述第一网络设备的签名、所述货币声明在所述区块链中的地址。
在一种可能的实现方法中,所述话单文件的反馈信息用于指示对所述话单文件的核对结果,若核对所述话单文件有效,则所述话单文件的反馈信息包括所述第二网络设备的签名。
如图8所示,本申请提供一种网络设备,该网络设备处于所述漫游地网络中,该网络设备包括:至少一个处理单元800、至少一个存储单元801以及至少一个通信单元802,其中,所述通信单元802用于在所述处理单元800的控制下接收和发送数据,所述存储单元801存储有程序代码,当所述程序代码被所述处理单元800执行时,使得所述处理单元800执行下列过程:
所述通信单元802,用于将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;
所述处理单元800,用于所述第一网络设备将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;
所述通信单元802,用于接收到第二网络设备的所述话单文件的反馈信息。
在一种可能的实现方法中,所述处理单元800还用于:
确定所述终端设备进行漫游业务产生的所述话单文件。
在一种可能的实现方法中,所述处理单元800还用于:
根据与第二网络设备签订的漫游协议,确定所述话单文件对应的漫游费用。
在一种可能的实现方法中,所述货币声明是所述第一网络设备根据所述漫游费通过铸币过程产生的。
在一种可能的实现方法中,所述货币声明中还包括货币验证信息,所述货币验证信息对应唯一货币声明,用于确定区块链中的货币声明是否完成支付。
在一种可能的实现方法中,所述通信单元802还用于:
将所述话单文件发送给所述第二网络设备。
在一种可能的实现方法中,所述处理单元800具体用于:
根据所述话单文件确定话单声明;将所述话单声明与所述货币声明发布到所述区块链。
在一种可能的实现方法中,所述处理单元800具体用于:
对所述话单文件进行签名,根据签名后的话单文件确定话单声明。
在一种可能的实现方法中,所述处理单元800具体用于:
将所述话单声明加密或哈希后发布到所述区块链。
在一种可能的实现方法中,所述通信单元802将以下任意一项或多项发送给所述第二网络设备:
上轮话单的反馈信息,所述第一网络设备的签名、所述货币声明在所述区块链中的地址。
在一种可能的实现方法中,所述话单文件的反馈信息用于指示对所述话单文件的核对结果,若核对所述话单文件有效,则所述话单文件的反馈信息包括所述第二网络设备的签名。
如图9所示,本申请实施例还提供了一种网络设备,该网络设备处于所述终端设备签约地网络中,该网络设备包括处理器900、存储器901和通信接口902。
处理器900负责管理总线架构和通常的处理,存储器901可以存储处理器900在执行操作时所使用的数据。收发机通信接口902用于在处理器900的控制下接收和发送数据与存储器901进行数据通信。
所述处理器900可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。所述处理器900还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。存储器901可以包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
所述处理器900、所述存储器901以及所述通信接口902之间相互连接。可选的,所述处理器900、所述存储器901以及所述通信接口902可以通过总线903相互连接;所述总线903可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
具体地,处理器900,用于读取存储器901中的程序并执行:
选择支付的第一货币声明,所述第一货币声明为所述第二网络设备待支付的漫游费用;完成所述第一货币声明的支付;向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
在一种可能的实现方法中,所述处理器900具体用于:
根据所述第二网络设备所持有的有效的第二货币声明,选择支付的所述第一货币声明,所述第一货币声明的金额小于或等于所述第二货币声明;或者从多个货币声明中选择所述第一货币声明。
在一种可能的实现方法中,所述处理器900还用于:
将所述支付的完成信息发送给区块链。
在一种可能的实现方法中,所述处理器900还用于:
接收来自所述第一网络设备的所述第一货币声明在所述区块链中的存储地址。
在一种可能的实现方法中,所述处理器900具体用于:
根据接收到的所述存储地址,从所述区块链中选取支付的所述第一货币声明。
在一种可能的实现方法中,所述处理器900具体用于:
向所述第一网络设备发送所述支付的完成信息在所述区块链中的存储地址。
在一种可能的实现方法中,所述支付的完成信息用于指示所述第二网络设备对所述第一货币声明支付完成,所述支付的完成信息包括用第二货币声明进行支付的交易地址。
如图10所示,本申请提供一种网络设备,该网络设备处于终端设备所在的签约地网络,该网络设备包括:至少一个处理单元1000、至少一个存储单元1001以及至少一个通信单元1002,其中,所述通信单元1002用于在所述处理单元1000的控制下接收和发送数据,所述存储单元1001存储有程序代码,当所述程序代码被所述处理单元1000执行时, 使得所述处理单元1000执行下列过程:
所述处理单元1000,用于选择支付的第一货币声明,所述第一货币声明为所述第二网络设备待支付的漫游费用;以及完成所述第一货币声明的支付;
所述通信单元1002,用于向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
在一种可能的实现方法中,所述处理单元1000具体用于:
根据所述第二网络设备所持有的有效的第二货币声明,选择支付的所述第一货币声明,所述第一货币声明的金额小于或等于所述第二货币声明;或者从多个货币声明中选择所述第一货币声明。
在一种可能的实现方法中,所述通信单元1002还用于:
将所述支付的完成信息发送给区块链。
在一种可能的实现方法中,所述通信单元1002还用于:
接收来自所述第一网络设备的所述第一货币声明在所述区块链中的存储地址。
在一种可能的实现方法中,所述处理单元1000具体用于:
根据接收到的所述存储地址,从所述区块链中选取支付的所述第一货币声明。
在一种可能的实现方法中,所述通信单元1002具体用于:
向所述第一网络设备发送所述支付的完成信息在所述区块链中的存储地址。
在一种可能的实现方法中,所述支付的完成信息用于指示所述第二网络设备对所述第一货币声明支付完成,所述支付的完成信息包括用第二货币声明进行支付的交易地址。
在一些可能的实施方式中,本申请实施例提供的基于区块链支持漫游业务的方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序代码在计算机设备上运行时,所述程序代码用于使所述计算机设备执行本说明书中描述的根据本申请各种示例性实施方式的基于区块链支持漫游业务的方法中的步骤。
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更本申请实施例一种实现方式中例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
根据本申请的实施方式的用于基于区块链支持漫游业务的程序产品,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在服务器设备上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被信息传输、装置或者器件使用或者与其结合使用。
可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由周期网络动作系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、 有线、光缆、RF等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算设备,或者,可以连接到外部计算设备。
本申请实施例针对基于区块链支持漫游业务的方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本申请实施例上面任何一种基于区块链支持漫游业务的方案。
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。

Claims (41)

  1. 一种基于区块链漫游交易的方法,其特征在于,包括:
    第一网络设备将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;
    所述第一网络设备将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;
    所述第一网络设备接收到第二网络设备的所述话单文件的反馈信息。
  2. 如权利要求1所述的方法,其特征在于,所述第一网络设备将话单文件发送给第二网络设备之前,还包括:
    所述第一网络设备确定所述终端设备进行漫游业务产生的所述话单文件。
  3. 如权利要求1或2所述的方法,其特征在于,所述第一网络设备将货币声明发布到区块链之前,还包括:
    所述第一网络设备根据与第二网络设备签订的漫游协议,确定所述话单文件对应的漫游费用。
  4. 如权利要求1~3任一项所述的方法,其特征在于,所述货币声明是所述第一网络设备根据所述漫游费通过铸币过程产生的。
  5. 如权利要求1~4任一项所述的方法,其特征在于,所述货币声明中还包括货币验证信息,所述货币验证信息对应唯一货币声明,用于确定区块链中的货币声明是否完成支付。
  6. 如权利要求1~5任一项所述的方法,其特征在于,所述第一网络设备将所述货币声明中的货币声明发布到区块链,包括:
    所述第一网络设备根据所述话单文件确定话单声明;
    所述第一网络设备将所述话单声明与所述货币声明发布到所述区块链。
  7. 如权利要求6所述的方法,其特征在于,所述第一网络设备根据所述话单文件确定话单声明,包括:
    所述第一网络设备对所述话单文件进行签名,根据签名后的话单文件确定话单声明。
  8. 如权利要求7所述的方法,其特征在于,所述第一网络设备将所述话单声明与所述货币声明发布到所述区块链,包括:
    所述第一网络设备将所述话单声明加密或哈希后发布到所述区块链。
  9. 如权利要求1~8所述的方法,其特征在于,所述第一网络设备将以下任意一项或多项发送给所述第二网络设备:
    上轮话单的反馈信息,所述第一网络设备的签名、所述货币声明在所述区块链中的地址。
  10. 如权利要求1~9所述的方法,其特征在于,所述话单文件的反馈信息用于指示对所述话单文件的核对结果,若核对所述话单文件有效,则所述话单文件的反馈信息包括所述第二网络设备的签名。
  11. 一种基于区块链漫游交易的方法,其特征在于,包括:
    第二网络设备选择支付的第一货币声明,所述第一货币声明为所述第二网络设备待支付的漫游费用;
    所述第二网络设备完成所述第一货币声明的支付;
    所述第二网络设备向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
  12. 如权利要求11所述的方法,其特征在于,所述第二网络设备选择支付的第一货币声明,包括:
    所述第二网络设备根据所述第二网络设备所持有的有效的第二货币声明,选择支付的所述第一货币声明,所述第一货币声明的金额小于或等于所述第二货币声明;或者
    从多个货币声明中选择所述第一货币声明。
  13. 如权利要求11或12所述的方法,其特征在于,所述第二网络设备完成所述第一货币声明的支付之后,还包括:
    所述第二网络设备将所述支付的完成信息发送给区块链。
  14. 如权利要求11~13任一项所述的方法,其特征在于,所述第二网络设备选择支付的第一货币声明之前,还包括:
    所述第二网络设备接收来自所述第一网络设备的所述第一货币声明在所述区块链中的存储地址。
  15. 如权利要求14所述的方法,其特征在于,所述第二网络设备选择支付的第一货币声明,包括:
    所述第二网络设备根据接收到的所述存储地址,从所述区块链中选取支付的所述第一货币声明。
  16. 如权利要求11~15任一所述的方法,其特征在于,所述方法还包括:
    所述第二网络设备向所述第一网络设备发送所述支付的完成信息在所述区块链中的存储地址。
  17. 如权利要求11~16任一所述的方法,其特征在于,所述支付的完成信息用于指示所述第二网络设备对所述第一货币声明支付完成,所述支付的完成信息包括用第二货币声明进行支付的交易地址。
  18. 一种基于区块链漫游交易的装置,其特征在于,包括:处理单元和通信单元;
    所述通信单元,用于将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;
    所述处理单元,用于所述第一网络设备将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;
    所述通信单元,用于接收到第二网络设备的所述话单文件的反馈信息。
  19. 如权利要求18所述的装置,其特征在于,所述处理单元还用于:
    确定所述终端设备进行漫游业务产生的所述话单文件。
  20. 如权利要求18或19所述的装置,其特征在于,所述处理单元还用于:
    根据与第二网络设备签订的漫游协议,确定所述话单文件对应的漫游费用。
  21. 如权利要求18~20任一项所述的装置,其特征在于,所述货币声明是所述第一网络设备根据所述漫游费通过铸币过程产生的。
  22. 如权利要求18~21任一项所述的装置,其特征在于,所述货币声明中还包括货币验证信息,所述货币验证信息对应唯一货币声明,用于确定区块链中的货币声明是否完成支付。
  23. 如权利要求18~22任一项所述的装置,其特征在于,所述处理单元具体用于:
    根据所述话单文件确定话单声明;将所述话单声明与所述货币声明发布到所述区块链。
  24. 如权利要求23所述的装置,其特征在于,所述处理单元具体用于:
    对所述话单文件进行签名,根据签名后的话单文件确定话单声明。
  25. 如权利要求24所述的装置,其特征在于,所述处理单元具体用于:
    将所述话单声明加密或哈希后发布到所述区块链。
  26. 如权利要求18~25任一项所述的装置,其特征在于,所述通信单元将以下任意一项或多项发送给所述第二网络设备:
    上轮话单的反馈信息,所述第一网络设备的签名、所述货币声明在所述区块链中的地址。
  27. 如权利要求18~26任一项所述的装置,其特征在于,所述话单文件的反馈信息用于指示对所述话单文件的核对结果,若核对所述话单文件有效,则所述话单文件的反馈信息包括所述第二网络设备的签名。
  28. 一种基于区块链漫游交易的装置,其特征在于,包括:处理单元和通信单元;
    所述处理单元,用于选择支付的第一货币声明,所述第一货币声明为所述第二网络设备待支付的漫游费用;以及完成所述第一货币声明的支付;
    所述通信单元,用于向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
  29. 如权利要求28所述的装置,其特征在于,所述处理单元具体用于:
    根据所述第二网络设备所持有的有效的第二货币声明,选择支付的所述第一货币声明,所述第一货币声明的金额小于或等于所述第二货币声明;或者
    从多个货币声明中选择所述第一货币声明。
  30. 如权利要求28或29所述的装置,其特征在于,所述通信单元还用于:
    将所述支付的完成信息发送给区块链。
  31. 如权利要求28~30任一项所述的装置,其特征在于,所述通信单元还用于:
    接收来自所述第一网络设备的所述第一货币声明在所述区块链中的存储地址。
  32. 如权利要求31所述的装置,其特征在于,所述处理单元具体用于:
    根据接收到的所述存储地址,从所述区块链中选取支付的所述第一货币声明。
  33. 如权利要求28~32任一所述的装置,其特征在于,所述处理单元还用于:
    向所述第一网络设备发送所述支付的完成信息在所述区块链中的存储地址。
  34. 如权利要求28~33任一所述的装置,其特征在于,所述支付的完成信息用于指示所述第二网络设备对所述第一货币声明支付完成,所述支付的完成信息包括用第二货币声明进行支付的交易地址。
  35. 一种基于区块链漫游交易的系统,其特征在于,包括:第一网络设备以及第二网络设备;
    所述第一网络设备,用于将话单文件发送给第二网络设备,所述话单文件为所述终端设备漫游的通信记录,所述第一网络设备处于所述终端设备的漫游地网络中;将货币声明发布到区块链,所述货币声明用于表示所述话单文件对应的漫游费用;接收到第二网络设备的所述话单文件的反馈信息;
    所述第二网络设备,用于选择支付的第一货币声明,所述第一货币声明为所述第二网 络设备待支付的漫游费用;完成所述第一货币声明的支付;向第一网络设备发送所述支付的完成信息,所述第一网络设备处于所述终端设备的漫游地网络中。
  36. 一种基于区块链漫游交易的装置,其特征在于,包括:至少一个处理器;其中,所述至少一个处理器用于与存储器耦合,并读取所述存储器中存储的计算机指令,根据所述计算机指令执行如权利要求1~10中任一所述的方法步骤。
  37. 一种基于区块链漫游交易的设备,其特征在于,包括:至少一个处理器;其中,所述至少一个处理器用于与存储器耦合,并读取所述存储器中存储的计算机指令,根据所述计算机指令执行如权利要求11~17中任一所述的方法步骤。
  38. 一种基于区块链漫游交易的装置,其特征在于,用于执行1~10项任一项所述方法。
  39. 一种基于区块链漫游交易的装置,其特征在于,用于执行11~17项任一项所述方法。
  40. 一种计算机可读存储介质,其特征在于,存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如权利要求1至10中任一项所述的方法;或执行如权利要求11至17中任一项所述的方法。
  41. 一种计算机程序产品,其特征在于,包含有计算机可执行指令,所述计算机可执行指令用于使计算机执行如权利要求1至10中任一项所述的方法;或执行如权利要求11至17中任一项所述的方法。
PCT/CN2020/127892 2019-11-11 2020-11-10 一种基于区块链漫游交易的方法、装置 WO2021093739A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20886687.1A EP4036831A4 (en) 2019-11-11 2020-11-10 ROAMING TRANSACTION METHOD AND DEVICE BASED ON A BLOCKCHAIN
US17/742,063 US20220272203A1 (en) 2019-11-11 2022-05-11 Blockchain-Based Roaming Transaction Method and Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911097222.9A CN112785299B (zh) 2019-11-11 2019-11-11 一种基于区块链漫游交易的方法、装置
CN201911097222.9 2019-11-11

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/742,063 Continuation US20220272203A1 (en) 2019-11-11 2022-05-11 Blockchain-Based Roaming Transaction Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2021093739A1 true WO2021093739A1 (zh) 2021-05-20

Family

ID=75749107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127892 WO2021093739A1 (zh) 2019-11-11 2020-11-10 一种基于区块链漫游交易的方法、装置

Country Status (4)

Country Link
US (1) US20220272203A1 (zh)
EP (1) EP4036831A4 (zh)
CN (1) CN112785299B (zh)
WO (1) WO2021093739A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11870929B2 (en) * 2020-09-30 2024-01-09 International Business Machines Corporation Telecommunication mediation using blockchain based microservices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5408519A (en) * 1993-01-19 1995-04-18 Teledebit, L.P. Telecommunications system having a local area network with concurrently processing nodes
CN107027111A (zh) * 2017-05-18 2017-08-08 电子科技大学 一种基于区块链的漫游话费记录和结算方法
CN107995003A (zh) * 2016-10-26 2018-05-04 中国移动通信有限公司研究院 国际漫游通信的计费和结算方法、相关装置及分布式系统
CN108471601A (zh) * 2018-06-21 2018-08-31 中国联合网络通信集团有限公司 网间结算方法、装置、设备及存储介质

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11716211B2 (en) * 2016-10-01 2023-08-01 James L. Schmeling 3D-printed packaging with blockchain integration
US20180096175A1 (en) * 2016-10-01 2018-04-05 James L. Schmeling Blockchain Enabled Packaging
US20160012465A1 (en) * 2014-02-08 2016-01-14 Jeffrey A. Sharp System and method for distributing, receiving, and using funds or credits and apparatus thereof
ZA201502969B (en) * 2014-05-09 2016-01-27 Univ Stellenbosch Enabling a user to transact using cryptocurrency
US11277390B2 (en) * 2015-01-26 2022-03-15 Listat Ltd. Decentralized cybersecure privacy network for cloud communication, computing and global e-commerce
US10291627B2 (en) * 2016-10-17 2019-05-14 Arm Ltd. Blockchain mining using trusted nodes
KR102142907B1 (ko) * 2016-12-15 2020-08-10 주식회사 케이티 이동통신 로밍 요금 정산 방법 및 장치
US10419225B2 (en) * 2017-01-30 2019-09-17 Factom, Inc. Validating documents via blockchain
US11263603B1 (en) * 2017-07-26 2022-03-01 Square, Inc. Security asset packs
US10699340B2 (en) * 2018-02-14 2020-06-30 Equity Shift, Inc. Blockchain instrument for transferable equity
US11625783B1 (en) * 2018-02-14 2023-04-11 Equity Shift, Inc. Blockchain instrument for transferable equity
US11164254B1 (en) * 2018-02-14 2021-11-02 Equity Shift, Inc. Blockchain instrument for transferable equity
US12008649B1 (en) * 2018-02-14 2024-06-11 Equity Shift, Inc. Blockchain instrument for transferable equity
US10928803B2 (en) * 2018-05-02 2021-02-23 Rockwell Automation Technologies, Inc. Managing blockchains for multiple components in an industrial facility
US11669914B2 (en) * 2018-05-06 2023-06-06 Strong Force TX Portfolio 2018, LLC Adaptive intelligence and shared infrastructure lending transaction enablement platform responsive to crowd sourced information
US11544782B2 (en) * 2018-05-06 2023-01-03 Strong Force TX Portfolio 2018, LLC System and method of a smart contract and distributed ledger platform with blockchain custody service
US20210248514A1 (en) * 2018-05-06 2021-08-12 Strong Force TX Portfolio 2018, LLC Artificial intelligence selection and configuration
US20210342836A1 (en) * 2018-05-06 2021-11-04 Strong Force TX Portfolio 2018, LLC Systems and methods for controlling rights related to digital knowledge
US20220366494A1 (en) * 2018-05-06 2022-11-17 Strong Force TX Portfolio 2018, LLC Market orchestration system for facilitating electronic marketplace transactions
CN109840845B (zh) * 2018-11-23 2021-01-26 赣州太一智源科技有限公司 通信结算方法
CN109462618B (zh) * 2019-01-04 2021-05-11 中国联合网络通信集团有限公司 一种基于区块链的通信方法及系统
CN109451451B (zh) * 2019-01-04 2020-12-15 中国联合网络通信集团有限公司 终端漫游方法、设备及存储介质
US11836259B2 (en) * 2019-01-16 2023-12-05 EMC IP Holding Company LLC Blockchain technology for regulatory compliance of data management systems
CN110324817A (zh) * 2019-07-02 2019-10-11 中国联合网络通信集团有限公司 基于区块链的国际漫游通信方法、业务控制点节点

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5408519A (en) * 1993-01-19 1995-04-18 Teledebit, L.P. Telecommunications system having a local area network with concurrently processing nodes
CN107995003A (zh) * 2016-10-26 2018-05-04 中国移动通信有限公司研究院 国际漫游通信的计费和结算方法、相关装置及分布式系统
CN107027111A (zh) * 2017-05-18 2017-08-08 电子科技大学 一种基于区块链的漫游话费记录和结算方法
CN108471601A (zh) * 2018-06-21 2018-08-31 中国联合网络通信集团有限公司 网间结算方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4036831A4 *

Also Published As

Publication number Publication date
US20220272203A1 (en) 2022-08-25
CN112785299A (zh) 2021-05-11
EP4036831A1 (en) 2022-08-03
CN112785299B (zh) 2024-03-01
EP4036831A4 (en) 2022-11-23

Similar Documents

Publication Publication Date Title
US10977632B2 (en) Electronic bill management method, apparatus, and storage medium
CN108985757B (zh) 信息处理方法、装置及系统、存储介质、电子设备
CN109102269B (zh) 基于区块链的转账方法及装置、区块链节点及存储介质
CN111815322B (zh) 一种基于以太坊的具备可选隐私服务的分布式支付方法
CN112446785A (zh) 跨链交易方法、系统、装置、设备和存储介质
WO2020147651A1 (zh) 区块链资金结算系统中的数据处理方法、装置、设备和介质
KR20170040079A (ko) 블록 검증을 위한 복수의 일방향 함수를 지원하는 블록 체인
WO2017020618A1 (zh) 一种电子资源处理方法、设备
CN109300038B (zh) 一种资源流的交易系统
CN113052599B (zh) 交易凭证的生成、验证及存储方法、装置、设备和系统
WO2017162164A1 (zh) 电子签名设备的交易方法
CN110619222A (zh) 基于区块链的授权处理方法、装置、系统及介质
CN109509099A (zh) 数据交易方法及装置、计算设备、存储介质
WO2020103573A1 (zh) 一种基于区块链网络交易的签名方法、装置及终端设备
WO2021093739A1 (zh) 一种基于区块链漫游交易的方法、装置
CN115953244A (zh) 基于区块链的交易监管方法、装置、电子设备和存储介质
KR101120059B1 (ko) 클라우드 컴퓨팅 과금 공증장치, 과금 시스템 및 과금방법
CN108848061B (zh) 一种用户信息传输方法及终端设备
WO2020073277A1 (zh) 资源流的交易方法和装置
CN112788555B (zh) 跨运营商话费转移结算方法、装置及计算设备
CN111198763B (zh) 资源重复使用的检测方法、终端和计算机可读存储介质
US20240154815A1 (en) Systems and methods for reputation-based transactions over a network
CN103716328B (zh) 一种操作请求处理方法和系统
Ou et al. Adaptation of agent-based non-repudiation protocol to mobile digital right management (DRM)
Darmwal Blockchain in Telecom Sector: An Analysis of Potential Use Cases

Legal Events

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

Ref document number: 20886687

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020886687

Country of ref document: EP

Effective date: 20220427

NENP Non-entry into the national phase

Ref country code: DE