WO2021037270A1 - Method, apparatus and system for providing service for terminal by using blockchain - Google Patents

Method, apparatus and system for providing service for terminal by using blockchain Download PDF

Info

Publication number
WO2021037270A1
WO2021037270A1 PCT/CN2020/112650 CN2020112650W WO2021037270A1 WO 2021037270 A1 WO2021037270 A1 WO 2021037270A1 CN 2020112650 W CN2020112650 W CN 2020112650W WO 2021037270 A1 WO2021037270 A1 WO 2021037270A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network element
blockchain
operator
information
Prior art date
Application number
PCT/CN2020/112650
Other languages
French (fr)
Chinese (zh)
Inventor
张艳平
胡伟华
洪佳楠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021037270A1 publication Critical patent/WO2021037270A1/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular, to a method, device, and system for providing services for a terminal using a blockchain.
  • the terminal needs to use the subscriber identification module (SIM) card to access the operator’s communication network.
  • SIM card information includes the international mobile subscriber identification (IMSI) and the mobile station’s international integrated service digital network number (mobile). subscriber international integrated service digital network (MSISDN) information. IMSI and MSISDN uniquely identify the identity of the terminal in the communication network, and the identity is bound to the operator.
  • Current SIM card management method traditional pluggable SIM.
  • SIM card is a physical card. After the user of the terminal signs a service contract with the operator, the operator provides it to the user. The user inserts the SIM card into the mobile terminal, and the terminal uses the SIM card to contact the operator’s network to obtain service.
  • SIM cards For pluggable SIM cards, operators need to perform additional SIM card management, such as purchase and distribution. When changing the operator, the user also needs to apply for a new physical card from the operator, which is very inconvenient. Moreover, it is not realistic to distribute SIM cards to a huge number of Internet of Things (IoT) terminals, especially for IOT terminals that are deployed in locations that are not easily accessible to humans, and replacement of the SIM card cannot be implemented.
  • IoT Internet of Things
  • the prefixes of IMSI and MSISDN are bound to the operator. After the terminal changes the operator, the IMSI and MSISDN of the terminal will also be changed accordingly. In this way, the terminal needs to notify all contacts and change the saved identifier for MT business. At the same time, after the terminal identification is changed, if the terminal data is to be integrated, multiple identifications need to be mapped to each other to be associated with the same terminal, which is not conducive to terminal-centric data integration and sharing in the era of big data.
  • the embodiments of the present application provide a method, a device, and a system for providing services for a terminal by using a blockchain.
  • the method can provide services for the terminal without changing the identity of the terminal after the terminal changes to an operator.
  • an embodiment of the present application provides a method for using a blockchain to provide services for a terminal, including: the first operator’s blockchain account management function
  • BCAMF network element receives an account opening request message from the terminal, and the account opening request message includes The identification of the terminal, the account opening request message is used to request to open an account for the terminal in the first operator.
  • the BCAMF network element verifies that the terminal meets the account opening requirements based on the terminal's identification.
  • the BCAMF network element sends a first message to the user data management network element of the first operator, where the first message includes the subscription data of the terminal.
  • the embodiment of the application provides a method for providing services for a terminal by using a blockchain.
  • the BCAMF network element of the first operator receives an account opening request message from the terminal and verifies that the terminal meets the account opening requirements according to the terminal's identity, Send the subscription data of the terminal to the user data management network element.
  • the terminal does not need to sign a contract with the first operator in advance, but when needed, select the appropriate first operator, open an account with the first operator at any time, or purchase the services of the first operator, which is convenient for realizing online It is more convenient to realize the automatic opening of an account for the terminal in the first operator than in the prior art when the user of the terminal needs to open an account in the business hall where the offline operator is located.
  • the identity of the terminal is always the identity of the terminal, it is inconvenient for the terminal to maintain the identity of the terminal after changing the operator, and does not affect the called (mobile terminated, MT) service. Moreover, this method satisfies the requirement of opening an account for the terminal before using the blockchain to provide services for the terminal.
  • the BCAMF network element verifies that the terminal meets the account opening requirement based on the terminal's identity, including: the BCAMF network element verifies in the blockchain that the terminal meets the account opening requirement based on the terminal's identity.
  • the terminal identifier is used to identify the terminal in the blockchain.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element publishes first transaction information in the blockchain, the first transaction information includes one of the terminal's identity and the first operator's information The first corresponding relationship between the two, the first corresponding relationship is used to indicate that the terminal successfully opens an account in the first operator. This is convenient for other alliance members participating in the blockchain to determine that the terminal opens an account with the first operator.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element determines that the first operator currently provides services for the terminal.
  • the BCAMF network element publishes the second transaction information in the blockchain, where the second transaction information is used to indicate that the first operator currently provides services for the terminal. In this way, it is convenient for the service initiator to determine the first operator that provides services for the terminal in the blockchain according to the identification of the terminal, and then determine one or more network elements that provide services for the terminal.
  • the BCAMF network element publishes the second transaction information in the blockchain, including: the BCAMF network element converts the first operator between the identification of the terminal recorded in the blockchain and the identification of the first operator.
  • the corresponding relationship is set to the active state.
  • the first correspondence is set to the activated state, it means that the first operator currently provides services for the terminal.
  • the terminal can be subscribed to multiple operators, and one operator may provide services for the terminal at a certain moment, therefore, if the BCAMF network element determines that the current first operator provides services for the terminal, the first corresponding relationship is set to the active state , It is convenient for the service initiator network element to determine from the blockchain through the terminal's identifier that the first operator currently provides services for the terminal when interacting with the terminal.
  • the activation state is only an identification method, and its purpose is to illustrate that a specific operator provides services for the terminal.
  • the identification method can also be other methods, such as setting a flag and using 1 to identify the operator as the terminal To provide services, the embodiments of this application will not go into details one by one.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element receives the first instruction from the terminal.
  • the BCAMF network element determining that the first operator currently provides services for the terminal includes: the BCAMF network element determines that the first operator currently provides services for the terminal according to the first instruction. In this way, it is convenient for the terminal to instruct the first operator to provide services for the terminal.
  • the BCAMF network element can determine the network to which the terminal is attached before the terminal attaches to the network. For example, after the security department obtains the network activated by the user, it can directly manage the user plane data of the network. The network element subscribes to the attachment status of the terminal. After the terminal is attached, the user plane data management network element notifies the security department.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element determines that the current first operator does not provide services for the terminal; and the BCAMF network element publishes the third transaction information in the blockchain. Among them, the third transaction information is used to indicate that the current first operator does not provide services for the terminal.
  • the BCAMF network element publishing the third transaction information in the blockchain includes: the BCAMF network element calculates the difference between the terminal identification recorded in the blockchain and the first operator's identification. One correspondence is set to an inactive state. Setting the first correspondence relationship to an inactive state indicates that the first operator does not provide services for the terminal. Since the terminal can subscribe to multiple operators, and one operator may provide services for the terminal at a certain moment, if the BCAMF network element determines that the current first operator does not provide services for the terminal, the first corresponding relationship is set to non- The activated state is convenient for the service initiator network element to determine from the blockchain that the current first operator does not provide services for the terminal through the inactive state of the first corresponding relationship when interacting with the terminal.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element publishes fourth transaction information in the blockchain, and the fourth transaction information includes verification information.
  • the verification information is used to indicate that the terminal meets the account opening requirements.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element sends an account opening acceptance message to the terminal, and the account opening acceptance message includes at least the user permanent identity SUPI allocated by the BCAMF network element to the terminal. In this way, it is convenient for the terminal to register to the network of the first operator through SUPI after opening an account.
  • the account opening acceptance message also includes one or more of the following allocated by the BCAMF network element to the terminal: GPSI, secret key, and serial number.
  • SUPI is a permanent identity for subscribers, which is assigned by the first operator. It can be an IMSI and is used for interaction between the terminal and the mobile network as the unique identity of the terminal.
  • GPSI is a universal public user identification, which is assigned by the first operator, and can be an MSISDN, which is used for the terminal's public identity, such as the terminal's phone number.
  • Secret key The secret key of the terminal, which is used to encrypt and decrypt messages that interact with the mobile network.
  • Serial number A type of security parameter stored locally on the terminal, used to synchronize the security vector between the terminal and the mobile network.
  • the account opening request message also includes any one or more of the following information requested by the terminal: an access point name APN list and a network slice list, the APN list includes one or more of the first operator APN, the network slice list includes one or more network slices of the first operator.
  • the subscription data includes: the identification of the terminal, and one or more of the following allocated by the BCAMF network element to the terminal: SUPI, a general public subscription identification GPSI, and a list of services allowed by the terminal.
  • the list of services allowed by the terminal includes one or more of the following: a list of APNs allowed by the terminal; a list of slices allowed by the terminal, and a list of services allowed by the terminal.
  • the subscription data further includes: a secret key, a serial number, one or more APNs, or, one or more network slices.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element publishes seventh transaction information in the blockchain, and the seventh transaction information includes any one or more of the following information: SUPI and The mapping relationship between the identities of the terminal, the mapping relationship between the GPSI and the identities of the terminal.
  • SUPI Secure Digital
  • the seventh transaction information includes any one or more of the following information: SUPI and The mapping relationship between the identities of the terminal, the mapping relationship between the GPSI and the identities of the terminal.
  • the BCAMF network element publishes transaction information in the blockchain, including: the BCAMF network element sends the transaction information to the blockchain processing function BCHF network element, and the BCHF network element is used to publish in the blockchain Transaction information, the transaction information includes: any one or more of the first transaction information, the second transaction information, the third transaction information, the fourth transaction information, and the seventh transaction information.
  • the BCHF network element can issue transaction information as an agent.
  • the BCHF network element agent can release the transaction information to reduce the processing burden of the BCAMF network element.
  • the BCAMF network element verifies that the terminal meets the account opening requirements based on the terminal's identity, including: the BCAMF network element verifies in the blockchain according to the terminal's identity that the terminal meets some or all of the requirements in the account opening requirements, Such as age, no criminal record and so on.
  • an embodiment of the present application provides a method for providing services for a terminal using a blockchain.
  • the method includes: a BCAMF network element receives an account cancellation request message from the terminal, and the account cancellation request message carries the identification of the terminal, and the account cancellation The request message is used to request cancellation of the terminal's service in the first operator.
  • the BCAMF network element sends a second message to the user data management network element, where the second message includes the identification of the terminal, and the second message is used to instruct to delete the subscription data of the terminal.
  • the embodiment of the present application provides a method for using the blockchain to provide services for the terminal, so that it is convenient for the BCAMF network element to cancel the account of the terminal in the blockchain according to the account cancellation request message of the terminal. Since the terminal's identity can identify the terminal in the blockchain, and there is no need to change the terminal's identity even after the terminal changes its operator, this method meets the requirement of canceling the account for the terminal after using the blockchain to provide services to the terminal .
  • the method before the BCAMF network element sends the second message to the user data management network element, the method further includes: the BCAMF network element determines that the terminal meets the requirement of canceling the user in the blockchain according to the identifier of the terminal. Misoperation was avoided by verification.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element releases the SUPI and/or GPSI allocated to the terminal.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element sends an account cancellation success message to the terminal. In this way, it is convenient for the terminal to determine that the account has been successfully cancelled at the first operator.
  • the method provided in this embodiment of the application further includes: the BCAMF network element publishes fifth transaction information in the blockchain.
  • the fifth transaction information includes an account cancellation transaction, and the account cancellation transaction is used to indicate that the terminal has completed the transaction. Cancel the terminal's service in the first operator. It is convenient for other members in the blockchain to confirm that the terminal has cancelled the service of the terminal in the first operator by publishing the account cancellation transaction.
  • the BCAMF network element publishes the fifth transaction information in the blockchain, including: the BCAMF network element sends the fifth transaction information to the blockchain processing function BCHF network element, and the BCHF network element is used in the district The fifth issue of transaction information in the blockchain.
  • an embodiment of the present application provides a method for providing services for a terminal using a blockchain.
  • the method includes: a BCAMF network element receives an update service request message from the terminal, the update service request message carries the identification of the terminal, and the update The service request message is used to request to update the service of the terminal in the first operator; the BCAMF network element sends a third message to the user data management network element.
  • the third message includes the identification of the terminal and the updated subscription data.
  • the embodiment of the present application provides a method for providing a service for a terminal by using a blockchain, so that it is convenient for the BCAMF network element to realize the service of updating the terminal according to the update service request message of the terminal. Since the terminal's identity can identify the terminal in the blockchain, and there is no need to change the terminal's identity even after the terminal changes its operator, this method meets the requirement of updating services for the terminal before using the blockchain to provide services to the terminal .
  • the method provided in the embodiment of the present application may further include: the BCAMF network element determines the terminal in the blockchain according to the terminal identifier Meet the update service requirements.
  • the method provided in the embodiment of the present application may further include: the BCAMF network element sends an update success message to the terminal.
  • the update success message is used to indicate that the service of the terminal has been successfully updated.
  • the method provided in the embodiment of the present application may further include: the BCAMF network element publishes the update service transaction in the blockchain.
  • the updated service transaction includes the updated service of the terminal in the first operator.
  • the method provided in the embodiment of the present application may further include: the BCAMF network element updates the APN list or the network slice list of the terminal.
  • the update service request message carries the APN or network slice that the terminal requests to delete or add.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element publishes sixth transaction information in the blockchain, and the sixth transaction information includes the updated service of the terminal in the first operator.
  • the BCAMF network element publishes the sixth transaction information in the blockchain, including: the BCAMF network element sends the sixth transaction information to the blockchain processing function BCHF network element, and the BCHF network element is used in the district The sixth issue of transaction information in the block chain.
  • an embodiment of the present application provides a method for using a blockchain to provide services to a terminal, including: a first network element sends a first message to a user plane data management network element, the first message is used to indicate that the first network The element is registered as a network element that provides services to the terminal.
  • the first message includes the identification or SUPI of the terminal; the first network element and the user plane data management network element belong to the first operator; the first network element receives data from the user plane data management network element The response message indicating successful registration; the first network element publishes the first transaction information of the information of the first network element that provides services for the terminal in the blockchain.
  • the embodiment of the application provides a method for providing services for a terminal by using a blockchain.
  • a first message is sent to a user plane data management network element through a first network element to register the first network element at the user plane data management network element.
  • a network element that provides services to the terminal In this way, if the first network element receives a response message from the user plane data management network element indicating that the registration is successful, it will publish the information of the first network element that provides services to the terminal in the blockchain The first transaction information. Since the terminal's identity can identify the terminal in the blockchain, and even after the terminal changes its operator, there is no need to change the terminal's identity.
  • the service initiator network element can be obtained from the blockchain as The information of the first network element that the terminal provides services, and then provides services for the terminal by interacting with the network element that provides services for the terminal.
  • This method meets the requirement of using the blockchain to determine one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
  • the method provided in the embodiment of the present application may further include: the first network element sends a second message to the user plane data management network element, and the second message is used to indicate that the first network element is cancelled as a terminal
  • the network element that provides the service the first network element receives a response message from the user plane data management network element indicating that the cancellation is successful.
  • the first network element publishes the second transaction information in the blockchain, and the second transaction information includes the information marked as invalid for the first network element that provides the service for the terminal. In this way, when the terminal is separated from the network of the first operator, it is convenient for the network element calling the terminal to determine that the first network element is unavailable.
  • the first network element publishing the first transaction information in the blockchain includes: the first network element sends the first transaction information to the BCHF network element, and the BCHF network element is used to transfer the first transaction information Publish on the blockchain.
  • the first network element publishing the second transaction information in the blockchain includes: the first network element sends the second transaction information to the BCHF network element, and the BCHF network element is used to transfer the second transaction information Publish on the blockchain.
  • the first network element is any one or more of a mobility management network element, a session management network element, or a serving call session control function S-CSCF network element.
  • an embodiment of the present application provides a method for using a blockchain to provide services for a terminal, including: a user data management network element receives a first message from a first network element, and the first message is used to indicate that the first network
  • the element is registered as a network element that provides services to the terminal, and the first message includes the identification or SUPI of the terminal.
  • the first network element and the user plane data management network element belong to the first operator.
  • the user data management network element publishes the first transaction information in the blockchain, where the first transaction information is used to indicate that the first operator currently provides services for the terminal.
  • the embodiment of the application provides a method for providing services for a terminal by using a blockchain.
  • a first message is sent to a user plane data management network element through a first network element to register the first network element at the user plane data management network element.
  • the user plane data management network element can determine that the terminal is registered with the first operator, that is, the terminal selects the first operator to provide services for the terminal, and then the user plane data management network element is in the area
  • the first transaction information used to represent the current service provided by the first operator for the terminal is published in the block chain. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity.
  • the service initiator network element can be enabled according to the terminal's identity or SUPI slave
  • the operator currently providing services to the terminal is determined as the first operator.
  • the network element that provides services for the terminal in the first operator interacts with the terminal to provide services for the terminal.
  • the information of the first operator is written into the blockchain.
  • the user data management network element publishing the first transaction information in the blockchain includes: the user data management network element sends the first transaction information to the BCHF network element, and the BCHF network element is used to transfer the first transaction information to the BCHF network element.
  • the transaction information is published in the blockchain.
  • the method provided by the embodiment of the present application may further include: the user data management network element receives a second message from the first network element, and the second message is used to indicate that the first network element is cancelled as a terminal
  • the network element that provides the service The user data management network element publishes the second transaction information in the blockchain.
  • the second transaction information includes any one or more of the following: the information of the first network element marked as invalid for the terminal to provide services, or the current transaction information
  • a record of the service provided by the operator for the terminal is set to an inactive state.
  • the user data management network element publishing the second transaction information in the blockchain includes: the user data management network element sends the second transaction information to the BCHF network element, and the BCHF network element is used to transfer the second transaction information to the BCHF network element.
  • the transaction information is published in the blockchain.
  • the first network element is any one or more of a mobility management network element, a session management network element, or a serving call session control function S-CSCF network element.
  • an embodiment of the present application provides a method for using a blockchain to provide a service for a terminal, which includes: a BCHF network element receives a first request message from a service initiating network element, the first request message includes the terminal’s identity or SUPI, The first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal; the BCHF network element obtains the first information from the blockchain according to the identification of the terminal ; The BCHF network element sends the first information to the service initiating network element.
  • the embodiment of the present application provides a method for using a blockchain to provide a service for a terminal.
  • the method uses a BCHF network element to initiate a first request message of the network element based on the service to obtain first information from the blockchain.
  • the BCHF network element sends the first information to the service initiating network element. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave
  • One or more network elements that currently provide services to the terminal are determined in the blockchain. Furthermore, the service initiator network element provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of determining one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
  • the first request message carries a first indication
  • the first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
  • the first information is: information of one or more network elements that provide services for the terminal. In this way, it is convenient for the service initiating network element to determine one or more network elements currently providing services for the terminal according to the information of one or more network elements.
  • the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
  • the first request message carries a second indication for requesting information of an operator that provides services for the terminal.
  • the first information is: information of an operator currently providing services for the terminal.
  • the service initiating network element determines one or more network elements currently providing services for the terminal based on the information of the operator that provides services for the terminal.
  • an embodiment of the present application provides a method for using a blockchain to provide a service for a terminal, which includes: a service initiating network element obtains first information from the blockchain according to an identifier of the terminal. The first information is used to determine one or more network elements that provide services for the terminal. The service initiating network element determines one or more network elements that provide services for the terminal according to the first information; the service initiating network element interacts with any one of the one or more network elements, as The terminal provides services.
  • the embodiment of the present application provides a method for using a blockchain to provide services for a terminal.
  • the method obtains a first network element from the blockchain for determining one or more network elements that provide services for the terminal through a service initiating network element. information. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave One or more network elements that currently provide services to the terminal are determined in the blockchain. Furthermore, the service initiator network element provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of determining one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
  • the service initiating network element obtains the first information from the blockchain according to the identifier of the terminal, including: sending a first request message to the blockchain processing function BCHF network element, the first request The message includes the identification of the terminal, the first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal; The first information of the BCHF.
  • the first information includes information of an operator that currently provides services for the terminal, and the service initiating network element determines one or more network elements that provide services for the terminal according to the first information.
  • the service initiating network element determines the information of one or more network elements according to the information of the operator.
  • the first information includes information about one or more network elements that provide services for the terminal.
  • the first request message carries a first indication
  • the first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
  • the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
  • the first request message carries the second indication.
  • the second indication is used to request information about an operator that provides services for the terminal.
  • the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain can implement the method in the first aspect or any possible implementation of the first aspect, Therefore, the beneficial effects of the first aspect or any possible implementation manner of the first aspect can also be achieved.
  • the device that uses the blockchain to provide services for the terminal may be a BCAMF network element, or a device that can support the BCAMF network element to implement the first aspect or any possible implementation method of the first aspect, for example, it is applied to a BCAMF network. Yuan in the chip.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides an apparatus for providing services for a terminal by using a blockchain, including: a communication unit for receiving an account opening request message from the terminal, the account opening request message includes the identification of the terminal, and the account opening request message is used for It is requested to open an account in the first operator for the terminal.
  • the processing unit is used to verify that the terminal meets the account opening requirements according to the terminal's identification.
  • the communication unit is configured to send a first message to a user data management network element of the first operator, where the first message includes subscription data of the terminal.
  • the processing unit is configured to verify in the blockchain that the terminal meets the account opening requirements according to the terminal's identity.
  • the terminal identifier is used to identify the terminal in the blockchain.
  • the processing unit is further configured to publish first transaction information in the blockchain, where the first transaction information includes the first correspondence between the terminal's identity and the information of the first operator, The first correspondence is used to indicate that the terminal successfully opens an account in the first operator. This is convenient for other alliance members participating in the blockchain to determine that the terminal opens an account with the first operator.
  • the processing unit is further configured to determine that the first operator currently provides services for the terminal.
  • the processing unit is further configured to publish second transaction information in the blockchain, where the second transaction information is used to indicate that the first operator currently provides services for the terminal. In this way, it is convenient for the service initiator to determine the first operator that provides services for the terminal in the blockchain according to the identification of the terminal, and then determine one or more network elements that provide services for the terminal.
  • first transaction information and the second transaction information may be the same transaction and published in the same transaction, such as the terminal identification, the first operator identification, and the first operator's service terminal mark.
  • first transaction information and the second transaction information can be the same transaction, that is, when the terminal applies for opening an account, it indicates the activation of the operator.
  • the processing unit is configured to set the first correspondence between the identification of the terminal and the identification of the first operator recorded in the blockchain to an active state.
  • the first correspondence is set to the activated state, it means that the first operator currently provides services for the terminal.
  • the communication unit is further configured to receive the first instruction from the terminal.
  • the processing unit is specifically configured to determine, according to the first instruction, that the first operator currently provides services for the terminal.
  • the processing unit is also used to determine that the current first operator does not provide services for the terminal, and used to publish the third transaction information in the blockchain.
  • the third transaction information is used to indicate that the current first operator does not provide services for the terminal.
  • the processing unit is configured to set the first correspondence between the identification of the terminal and the identification of the first operator recorded in the blockchain to an inactive state.
  • Setting the first correspondence relationship to an inactive state indicates that the first operator does not provide services for the terminal. Since the terminal can subscribe to multiple operators, and one operator may provide services for the terminal at a certain moment, if the BCAMF network element determines that the current first operator does not provide services for the terminal, the first corresponding relationship is set to non-
  • the activated state is convenient for the service initiator network element to determine from the blockchain that the current first operator does not provide services for the terminal through the inactive state of the first corresponding relationship when interacting with the terminal.
  • the processing unit is further configured to publish fourth transaction information in the blockchain, where the fourth transaction information includes verification information.
  • the verification information is used to indicate that the terminal meets the account opening requirements.
  • the communication unit is further configured to send an account opening acceptance message to the terminal, and the account opening acceptance message includes at least the user permanent identity SUPI allocated by the BCAMF network element to the terminal. In this way, it is convenient for the terminal to register to the network of the first operator through SUPI after opening an account.
  • the account opening acceptance message also includes one or more of the following allocated by the BCAMF network element to the terminal: GPSI, secret key, and serial number.
  • SUPI is a permanent identity for subscribers, which is assigned by the first operator. It can be an IMSI and is used for interaction between the terminal and the mobile network as the unique identity of the terminal.
  • GPSI is a universal public user identification, which is assigned by the first operator, and can be an MSISDN, which is used for the terminal's public identity, such as the terminal's phone number.
  • Secret key The secret key of the terminal, which is used to encrypt and decrypt messages that interact with the mobile network.
  • Serial number A type of security parameter stored locally on the terminal, used to synchronize the security vector between the terminal and the mobile network.
  • the account opening request message also includes any one or more of the following information requested by the terminal: an access point name APN list and a network slice list, the APN list includes one or more of the first operator APN, the network slice list includes one or more network slices of the first operator.
  • the subscription data includes: the identification of the terminal, and one or more of the following allocated by the BCAMF network element to the terminal: SUPI, a general public subscription identification GPSI, and a list of services allowed by the terminal.
  • the list of services allowed by the terminal includes one or more of the following: a list of APNs allowed by the terminal; a list of slices allowed by the terminal, and a list of services allowed by the terminal.
  • the subscription data further includes: a secret key, a serial number, one or more APNs, or, one or more network slices.
  • the processing unit is also used to publish seventh transaction information in the blockchain, the seventh transaction information includes any one or more of the following information: the mapping between the SUPI and the terminal's identity Relationship, mapping relationship between GPSI and terminal identification.
  • the processing unit is used to send transaction information to the blockchain processing function BCHF network element through the communication unit, and the BCHF network element is used to publish transaction information in the blockchain.
  • the transaction information includes: first Any one or more of transaction information, second transaction information, third transaction information, fourth transaction information, and seventh transaction information.
  • the BCHF network element can issue transaction information as an agent.
  • the BCHF network element agent issuing transaction information can reduce the processing burden of the BCAMF network element.
  • the processing unit is specifically configured to verify in the blockchain that the terminal meets some or all of the requirements in the account opening requirements, such as age, no criminal record, etc., according to the terminal's identity.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain may be a BCAMF network element or a chip in the BCAMF network element.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or include a Or multiple modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit, so that the BCAMF network element implements the first aspect or any one of the possible implementations of the first aspect described in the method for providing services for the terminal by using the blockchain.
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit, so that the BCAMF network element implements the first aspect or any one of the possible implementations of the first aspect described in a method for using a blockchain to provide services to the terminal
  • the storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCAMF network element .
  • the processor, the communication interface and the memory are coupled with each other.
  • this application provides an apparatus for providing services for terminals using a blockchain.
  • the apparatus for providing services for terminals using a blockchain can implement the second aspect or any possible implementation method of the second aspect, Therefore, the beneficial effects of the second aspect or any possible implementation manner of the second aspect can also be achieved.
  • the device that uses the blockchain to provide services to the terminal may be a BCAMF network element, or a device that can support the BCAMF network element to implement the second aspect or any possible implementation method of the second aspect, for example, it is applied to a BCAMF network. Yuan in the chip.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain, including: a communication unit, configured to receive an account cancellation request message from the terminal, the account cancellation request message carries the identification of the terminal, and the account cancellation The request message is used to request cancellation of the terminal's service in the first operator.
  • the communication unit is configured to send a second message to the user data management network element, the second message includes the identification of the terminal, and the second message is used to instruct to delete the subscription data of the terminal.
  • the communication device may further include: a processing unit, configured to determine, according to the identification of the terminal, that the terminal meets the requirement of canceling the account in the blockchain. Misoperation was avoided by verification.
  • the processing unit is also used to release SUPI and/or GPSI allocated for the terminal.
  • the communication unit is also used to send an account cancellation success message to the terminal.
  • the processing unit is also used to publish fifth transaction information in the blockchain.
  • the fifth transaction information includes an account cancellation transaction.
  • the account cancellation transaction is used to indicate that the terminal has cancelled the terminal’s presence at the first operator. In the service. By publishing the account cancellation transaction, it is convenient for other members in the blockchain to determine that the terminal has cancelled the service of the terminal in the first operator.
  • the processing unit is further configured to send the fifth transaction information to the blockchain processing function BCHF network element through the communication unit, and the BCHF network element is used to publish the transaction information fifth in the blockchain.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain may be a BCAMF network element or a chip in the BCAMF network element.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or include a Or multiple modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit, so that the BCAMF network element implements the second aspect or any one of the possible implementations of the second aspect described in the method for providing services for the terminal by using the blockchain.
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit to enable the BCAMF network element to implement the second aspect or any one of the possible implementations of the second aspect described in a method for providing services for the terminal using the blockchain
  • the storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCAMF network element .
  • the processor, the communication interface and the memory are coupled with each other.
  • this application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain can implement the third aspect or any possible implementation method of the third aspect, Therefore, the beneficial effects of the third aspect or any possible implementation manner of the third aspect can also be achieved.
  • the device that uses the blockchain to provide services to the terminal may be a BCAMF network element, or a device that can support the BCAMF network element to implement the third aspect or any possible implementation method of the third aspect, for example, it is applied to a BCAMF network. Yuan in the chip.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an apparatus for providing services for a terminal using a blockchain includes: a communication unit for receiving an update service request message from the terminal, and the update service request message carries an identification of the terminal ,
  • the update service request message is used to request to update the service of the terminal in the first operator;
  • the communication unit is used to send a third message to the user data management network element, the third message includes the identification of the terminal and the updated subscription data.
  • the processing unit is configured to determine in the block chain that the terminal meets the update service requirement according to the identification of the terminal.
  • the communication unit is further configured to send an update success message to the terminal.
  • the update success message is used to indicate that the service of the terminal has been successfully updated.
  • the processing unit is also used to publish update service transactions in the blockchain.
  • the updated service transaction includes the updated service of the terminal in the first operator.
  • the processing unit is further configured to update the APN list or the network slice list of the terminal.
  • the update service request message carries the APN or network slice that the terminal requests to delete or add.
  • the processing unit is further configured to publish sixth transaction information in the blockchain, where the sixth transaction information includes the updated service of the terminal in the first operator.
  • the processing unit is used to send the sixth transaction information to the blockchain processing function BCHF network element through the communication unit, and the BCHF network element is used to issue the sixth transaction information in the blockchain.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain may be a BCAMF network element or a chip in the BCAMF network element.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or include a Or multiple modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit, so that the BCAMF network element implements the third aspect or any one of the possible implementations of the third aspect described in the method of using the blockchain to provide services for the terminal.
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit to enable the BCAMF network element to implement the third aspect or any one of the possible implementations of the third aspect described in the method for providing services for the terminal using the blockchain
  • the storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCAMF network element .
  • the processor, the communication interface and the memory are coupled with each other.
  • this application provides a device that uses a blockchain to provide services to a terminal.
  • the device that uses a blockchain to provide services to a terminal can implement the fourth aspect or any possible implementation method of the fourth aspect. Therefore, the beneficial effects of the fourth aspect or any possible implementation manner of the fourth aspect can also be achieved.
  • the device that uses the blockchain to provide services to the terminal may be a first network element, or a device that can support the first network element to implement the fourth aspect or any possible implementation method of the fourth aspect, for example, Applied to the chip in the first network element.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides a device for providing services for a terminal using a blockchain, including: a communication unit, configured to send a first message to a user plane data management network element, the first message being used to indicate that the device Registered as a network element that provides services to the terminal, the first message includes the terminal's identity or SUPI; the device and the user plane data management network element belong to the first operator; the communication unit is used to receive instructions from the user plane data management network element A response message for successful registration; a processing unit for publishing the first transaction information of the information of the device that provides services for the terminal in the blockchain.
  • the communication unit is also used to send a second message to the user plane data management network element, and the second message is used to indicate that the device is canceled as a network element that provides services to the terminal; the communication unit is also used To receive a response message from the user plane data management network element indicating that the cancellation is successful.
  • the processing unit is also used to publish second transaction information in the blockchain, where the second transaction information includes the information marked as invalid for the device that provides the service for the terminal. In this way, when the terminal is separated from the network of the first operator, it is convenient for the network element calling the terminal to determine that the first network element is unavailable.
  • the processing unit is configured to send the first transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the first transaction information in the blockchain.
  • the processing unit is configured to send the second transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the second transaction information in the blockchain.
  • the device is any one or more of a mobility management network element, a session management network element, or a service call session control function S-CSCF network element.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using the blockchain may be a first network element or a device in the first network element. chip.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or include One or more modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit to enable the first network element to implement the fourth aspect or any one of the possible implementations of the fourth aspect described in the method for providing services for the terminal using the blockchain .
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit to enable the first network element to implement the fourth aspect or any one of the possible implementation manners of the fourth aspect described in the use of the blockchain to provide services for the terminal Method
  • the storage unit may be a storage unit (for example, register, cache, etc.) in the chip, or a storage unit (for example, read only memory, random access memory, etc.) located outside the chip in the first network element. Wait).
  • the processor, the communication interface and the memory are coupled with each other.
  • this application provides a device that uses a blockchain to provide services to a terminal.
  • the device that uses a blockchain to provide services to a terminal can implement the fifth aspect or any possible implementation method of the fifth aspect. Therefore, the beneficial effects of the fifth aspect or any possible implementation manner of the fifth aspect can also be achieved.
  • the device that uses the blockchain to provide services to the terminal may be a user data management network element, or may be a device that can support the user data management network element to implement the fifth aspect or any possible implementation method of the fifth aspect, for example, Applied to the chip in the user data management network element.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides an apparatus for using a blockchain to provide services for a terminal, including: a communication unit, configured to receive a first message from a first network element, and the first message is used to indicate that the first network
  • the element is registered as a network element that provides services to the terminal, and the first message includes the identification or SUPI of the terminal.
  • the first network element and the device belong to the first operator.
  • the processing unit is configured to publish the first transaction information in the blockchain, where the first transaction information is used to indicate that the first operator currently provides services for the terminal.
  • the processing unit is configured to send the first transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the first transaction information in the blockchain.
  • the communication unit is further configured to receive a second message from the first network element, where the second message is used to indicate that the first network element is cancelled as a network element that provides services to the terminal.
  • the processing unit is also used to publish second transaction information in the blockchain, the second transaction information includes any one or more of the following: the information of the first network element marked as invalid for the terminal to provide services, or the current The record of the service provided by the first operator for the terminal is set to an inactive state.
  • the processing unit is configured to send the second transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the second transaction information in the blockchain.
  • the first network element is any one or more of a mobility management network element, a session management network element, or a serving call session control function S-CSCF network element.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain may be a user data management network element or a user data management network element. Inside the chip.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or Including one or more modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit to enable the user data management network element to implement the fifth aspect or any one of the possible implementation manners of the fifth aspect described in the use of the blockchain to provide services to the terminal method.
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit to enable the user data management network element to implement the fifth aspect or any one of the possible implementations of the fifth aspect described in the use of blockchain to provide services for the terminal
  • the storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, read-only memory, random access memory, etc.) located outside the chip in the user data management network element. Fetch memory, etc.).
  • the processor, the communication interface and the memory are coupled with each other.
  • this application provides a device that uses a blockchain to provide services to a terminal.
  • the device that uses a blockchain to provide services to a terminal can implement the sixth aspect or any possible implementation of the sixth aspect. Therefore, the beneficial effects of the sixth aspect or any possible implementation manner of the sixth aspect can also be achieved.
  • the device that uses the blockchain to provide services to the terminal may be a BCHF network element, or a device that can support the BCHF network element to implement the sixth aspect or any possible implementation method of the sixth aspect, for example, it is applied to a BCHF network Yuan in the chip.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides an apparatus for providing services for a terminal by using a blockchain, including: a communication unit, configured to receive a first request message from a service initiating network element, the first request message including the identification or SUPI, the first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal; the processing unit is used to obtain information from the blockchain according to the terminal identifier Get the first information.
  • the communication unit is configured to send the first information to the service initiating network element.
  • the first request message carries a first indication
  • the first indication is used by the processing unit to determine information about one or more network elements that provide services for the terminal requested by the service initiating network element.
  • the first information is: information of one or more network elements that provide services for the terminal. In this way, it is convenient for the service initiating network element to determine one or more network elements currently providing services for the terminal based on the information of one or more network elements.
  • the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
  • the first request message carries a second indication for requesting information of an operator that provides services for the terminal.
  • the first information is: information of an operator currently providing services for the terminal.
  • the service initiating network element determines one or more network elements currently providing services for the terminal based on the information of the operator that provides services for the terminal.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain may be a BCHF network element or a chip in the BCHF network element.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or include a Or multiple modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit, so that the BCHF network element implements the method for providing services for the terminal by using the blockchain described in the sixth aspect or any one of the possible implementation manners of the sixth aspect.
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit to enable the BCHF network element to implement the method for providing services for the terminal using the blockchain as described in the sixth aspect or any one of the possible implementation manners of the sixth aspect
  • the storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCHF network element .
  • the processor, the communication interface and the memory are coupled with each other.
  • this application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using a blockchain can implement the seventh aspect or any possible implementation method of the seventh aspect. Therefore, the beneficial effects of the seventh aspect or any possible implementation manner of the seventh aspect can also be achieved.
  • the device that uses the blockchain to provide services to the terminal may be a service initiating network element, or a device that can support the service initiating network element to implement the seventh aspect or any possible implementation method of the seventh aspect, for example, The chip in the service initiating network element.
  • the device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides an apparatus for using a blockchain to provide services for a terminal, including: a communication unit configured to obtain first information from the blockchain according to an identifier of the terminal. The first information is used to determine one or more network elements that provide services for the terminal. The processing unit is configured to determine one or more network elements that provide services for the terminal according to the first information; the processing unit is also configured to interact with any one of the one or more network elements, and perform The terminal provides services.
  • the communication unit is configured to send a first request message to a blockchain processing function BCHF network element, where the first request message includes an identifier of the terminal, and the first request message is used for Request first information, where the first information is used to determine one or more network elements that provide services for the terminal; a communication unit is used to receive the first information from the BCHF.
  • the first information includes information of an operator that currently provides services for the terminal, and the service initiating network element determines one or more network elements that provide services for the terminal according to the first information.
  • the service initiating network element determines the information of one or more network elements according to the information of the operator.
  • the first information includes information about one or more network elements that provide services for the terminal.
  • the first request message carries a first indication
  • the first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
  • the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
  • the first request message carries the second indication.
  • the second indication is used to request information about an operator that provides services for the terminal.
  • an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain.
  • the apparatus for providing services for a terminal using the blockchain may be a service initiator network element or a service initiator network element. Inside the chip.
  • the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information
  • the processing unit may be a processor or Including one or more modules with processing capabilities.
  • the device for providing services for the terminal using the blockchain may also include a storage unit.
  • the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit executes the instructions stored in the storage unit to enable the service initiator network element to implement the seventh aspect or any one of the possible implementation manners of the seventh aspect described in the use of blockchain to provide services to the terminal method.
  • the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface.
  • the communication interface may be an input/output interface, pin or circuit, and so on.
  • the processing unit executes the computer program code stored in the storage unit, so that the service initiator network element implements the seventh aspect or any one of the possible implementations of the seventh aspect described in the use of blockchain to provide services to the terminal
  • the storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, read-only memory, random memory, etc.) located outside the chip in the service initiator network element. Fetch memory, etc.).
  • the processor, the communication interface and the memory are coupled with each other.
  • the embodiments of the present application provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on the computer, the computer can execute the operations as described in the first aspect to The method described in any one of the possible implementations of the first aspect uses the blockchain to provide services for the terminal.
  • the embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on the computer, the computer executes the operations as described in the second aspect to
  • the method described in any one of the possible implementations of the second aspect uses the blockchain to provide services for the terminal.
  • the embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on the computer, the computer executes the operations as described in the third aspect to The method for providing services for the terminal by using the blockchain described in any one of the possible implementations of the third aspect.
  • the embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on the computer, the computer can execute the fourth aspect to The method of using the blockchain to provide services for the terminal described in any one of the possible implementations of the fourth aspect.
  • the embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on a computer, the computer can execute the operations as described in the fifth aspect to The method for providing services for the terminal using the blockchain described in any one of the possible implementations of the fifth aspect.
  • the embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer can execute the operations as described in the sixth aspect to The method for providing services for the terminal using the blockchain described in any one of the possible implementations of the sixth aspect.
  • an embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on a computer, the computer executes the seventh aspect.
  • the embodiments of the present application provide a computer program product including instructions.
  • the instructions run on a computer, the computer executes the first aspect or one of the various possible implementations of the first aspect.
  • this application provides a computer program product including instructions.
  • the instructions run on a computer, the computer executes the second aspect or a utilization area described in the various possible implementations of the second aspect.
  • Blockchain provides a method for the terminal to provide services.
  • the embodiments of the present application provide a computer program product that includes instructions.
  • the instructions run on a computer, the computer executes the third aspect or one of the various possible implementations of the third aspect.
  • this application provides a computer program product including instructions, which when the instructions run on a computer, cause the computer to execute a utilization area described in the fourth aspect or various possible implementations of the fourth aspect.
  • Blockchain provides a method for the terminal to provide services.
  • this application provides a computer program product including instructions.
  • the instructions When the instructions are run on a computer, the computer executes a utilization area described in the fifth aspect or various possible implementations of the fifth aspect.
  • Blockchain provides a method for the terminal to provide services.
  • the present application provides a computer program product including instructions.
  • the instructions run on a computer, the computer executes a utilization area described in the sixth aspect or various possible implementations of the sixth aspect.
  • Blockchain provides a method for the terminal to provide services.
  • the present application provides a computer program product that includes instructions.
  • the instructions run on a computer, the computer executes a utilization area described in the seventh aspect or various possible implementations of the seventh aspect.
  • Blockchain provides a method for the terminal to provide services.
  • an embodiment of the present application provides a communication system, which includes: a blockchain account management function BCAMF network element and a user plane data management network element.
  • the blockchain account management function BCAMF network element is used to implement the method of using the blockchain to provide services for the terminal described in the first aspect, or the BCAMF network element is used to perform the use of the blockchain as the terminal described in the second aspect
  • the method of providing services, or the BCAMF network element is used to implement the method of providing services for the terminal by using the blockchain as described in the third aspect.
  • the system further includes the terminal involved in the first aspect, the terminal involved in the second aspect, or the terminal involved in the third aspect.
  • an embodiment of the present application provides a communication system, which includes: a first network element and a user plane data management network element.
  • the first network element is used to perform the method of using the blockchain to provide services to the terminal described in the fourth aspect
  • the user plane data management network element is used to perform the method of using the blockchain to provide services to the terminal described in the fifth aspect. method.
  • the specific process can refer to the description of the fourth aspect and the fifth aspect, which will not be repeated here.
  • an embodiment of the present application provides a communication system.
  • the communication system includes: a BCHF network element and a service initiating network element.
  • the service initiating network element is used to implement the method of using the blockchain to provide services to the terminal described in the seventh aspect
  • the BCHF network element is used to implement the method of using the blockchain to provide services to the terminal described in the sixth aspect.
  • the specific process please refer to the descriptions of the seventh aspect and the sixth aspect, which will not be repeated here.
  • an embodiment of the present application provides a communication device that includes a processor and a storage medium.
  • the storage medium stores instructions.
  • the implementation is as in the first aspect.
  • an embodiment of the present application provides a communication device that includes one or more modules for implementing the first aspect, the second aspect, the third aspect, the fourth aspect, and the fifth aspect.
  • the sixth aspect, the seventh aspect, the one or more modules can be combined with the above-mentioned first aspect, second aspect, third aspect, fourth aspect, fifth aspect, sixth aspect, seventh aspect The steps correspond to each other.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, and the communication interface is coupled to the processor.
  • the processor is used to run a computer program or instruction to implement the first aspect or the first aspect.
  • the communication interface is used to communicate with modules other than the chip.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the second aspect or the second aspect A method of using blockchain to provide services for terminals described in various possible implementations.
  • the communication interface is used to communicate with other modules outside the chip.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the third aspect or the third aspect.
  • the communication interface is used to communicate with modules other than the chip.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the fourth aspect or the fourth aspect.
  • the communication interface is used to communicate with other modules outside the chip.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the fifth aspect or the fifth aspect.
  • the communication interface is used to communicate with other modules outside the chip.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, and the communication interface is coupled to the processor.
  • the processor is used to run a computer program or instruction to implement the sixth aspect or the sixth aspect.
  • the communication interface is used to communicate with modules other than the chip.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the seventh aspect or the seventh aspect.
  • the communication interface is used to communicate with other modules outside the chip.
  • the chip provided in the embodiment of the present application further includes a memory for storing computer programs or instructions.
  • any device or computer storage medium or computer program product or chip or communication system provided above is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above The beneficial effects of the corresponding solutions in the method will not be repeated here.
  • FIG. 1 is a schematic diagram of a communication system provided by an embodiment of this application.
  • FIG. 2 is a schematic diagram of a 5G architecture provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of another 5G architecture provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a communication device provided by an embodiment of this application.
  • Fig. 5-Fig. 11 are schematic flowcharts of a method for providing services for a terminal by using a blockchain according to an embodiment of the application;
  • FIG. 12 is a first structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 13 is a second structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a chip provided by an embodiment of the application.
  • words such as “first” and “second” are used to distinguish the same items or similar items that have substantially the same function and effect.
  • the first operator and the second operator are only to distinguish different operators, and the order of their order is not limited.
  • words such as “first” and “second” do not limit the quantity and execution order, and words such as “first” and “second” do not limit the difference.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • “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 (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • 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 .
  • LTE long term evolution
  • 5G 5th Generation
  • future-oriented communication systems e.g., long term evolution (LTE) systems, 5G communication systems, and various future-oriented communication systems.
  • system can be used interchangeably with "network”.
  • Blockchain is a distributed ledger technology based on cryptography principles and consensus algorithms.
  • Blockchain participants for example, alliance members in the blockchain
  • the information in the blockchain is decentralized, permanent, transparent, and traceable. Once recorded in the blockchain, it can hardly be changed or revoked.
  • the main content of the blockchain includes: digital signatures based on asymmetric encryption, distributed ledger management and smart contracts.
  • Smart contract is a computer protocol designed to spread, verify or execute contracts in an information-based way that can be deployed on the blockchain. The corresponding operations can be implemented by declaring business logic in the smart contract. Smart contracts allow for trusted transactions without a third party. These transactions are traceable and irreversible. Smart contracts can provide better security than traditional contract methods and reduce other transaction costs related to contracts.
  • Fig. 1 shows a communication system to which a method for processing terminal subscription data provided by an embodiment of the present application is applied.
  • the communication system includes: a terminal 10, a blockchain account management function function, BCAMF) network element 20.
  • the terminal 10 may communicate with the BCAMF network element 20 in a wired or wireless manner.
  • the terminal 10 may communicate with the BCAMF network element 20 through wireless-fidelity (WIFI).
  • WIFI wireless-fidelity
  • the terminal 10 may have applications (applications, APPs) corresponding to one or more operators, and the address of the BCAMF network element 20 of each of the one or more operators may be configured in the operator’s On the APP, the terminal 10 can communicate with the corresponding BCAMF network element 20 through the APP of each operator.
  • applications applications, APPs
  • the terminal 10 can communicate with the corresponding BCAMF network element 20 through the APP of each operator.
  • the communication system may further include: a user data management network element 30 and a blockchain processing function (blockchain handling function, BCHF) network element 40.
  • a blockchain processing function blockchain handling function, BCHF
  • each operator may correspond to one or more BCAMF network elements 20, and the BCAMF network element 20 corresponding to any operator is used to process the request of the terminal 10 to open an account in the operator, cancel the account or update the contract data , And the user data management network element 30 responsible for notifying the operator of the contract data and security data written into the terminal 10, deleting the contract data, and updating the contract data.
  • the BCAMF network element 20 uses the BCHF network element 40 as a proxy to write the business records of the BCAMF network element 20 into the blockchain, or writes the blockchain to the BCAMF-related business Record notification BCAMF.
  • the BCHF network element 40 serves as a blockchain processing function. This function is used as a link between the 5G network and the blockchain when the 5G network element (for example, the BCAMF network element 20 or the user data management network element 30) does not have the blockchain processing function.
  • the agent is responsible for publishing the network processing information as transaction information to the blockchain, and at the same time publishing the blockchain and network-related things to the network elements of the network.
  • the blockchain processing functions include but are not limited to: publishing transaction information, recording blocks, executing smart contracts and other functions.
  • the first interface may be a Ny interface.
  • the second interface may be an Nx interface.
  • the third interface may be an Nz interface.
  • the embodiment of the present application does not limit the names between the first interface, the second interface, and the third interface, and this is only an example.
  • a blockchain platform is established.
  • One or more mobile network operators (mobile network operators, MNOs) (referred to as operators) participate in the blockchain as transmission network providers.
  • the operation can be based on the alliance of operators. Mainly, or initiated by leading companies in the communications industry to invite operators to participate, or solution providers can establish and invite operators and industry customers to use it. If a single operator cannot cover the business needs of industry users, multiple operators need to join the blockchain alliance to jointly serve the industry users.
  • the participating members of the blockchain can negotiate to assign a unified terminal identifier to the terminal (for example, the global permanent blockchain ID , GPBC ID).
  • the terminal’s identity complies with international standards and is unique within the alliance or globally.
  • the BCHF network element 40 and the BCAMF network element 20 may be deployed together or separately.
  • Figure 1 takes the two separate deployments as an example.
  • the BCHF network element 40 or the BCAMF network element 20 has the ability to process the terminal’s account opening request, verify whether the terminal meets the account opening requirements in the blockchain, and process the terminal’s account cancellation or update Service functions, and publish the registration information and contract data of the terminal 10 as a transaction to the blockchain, and obtain and process information related to the BCAMF network element 20 from the blockchain.
  • User data management network element 30 used to store authentication data of the terminal and subscription data of the terminal.
  • the corresponding network element or entity of the user data management network element 30 in the 5GC can be a unified data management (UDM) network element and a user data repository (user data repository).
  • UDR unified data management
  • HSS home subscriber server
  • the network element responsible for storing the authentication data of the terminal and the subscription data of the terminal may still be a UDM network element or have other names, which is not limited by this application.
  • the communication system may further include: a mobility management network element and a session management network element.
  • the 5GC may also include: radio access network (RAN) network elements , User plane function (UPF) network element, data network (data network, DN), access and mobility management function (access and mobility management function, AMF) network element, session management function (session management function, SMF) network element, policy control function (policy control function) network element.
  • RAN radio access network
  • UPF User plane function
  • data network data network
  • AMF access and mobility management function
  • AMF access and mobility management function
  • SMF session management function
  • policy control function policy control function
  • the mobility management network element is responsible for terminal access management and mobility management. In practical applications, it includes the mobility management entity (mobility management entity, MME) in the long-term evolution (LTE) network framework. Management function, and added access management function.
  • MME mobility management entity
  • LTE long-term evolution
  • Management function and added access management function.
  • the corresponding network element or entity of the mobility management network element in the 5GC may be an AMF network element.
  • the network element or entity corresponding to the session management network element in the 5GC may be an SMF network element.
  • future communications, such as 6G the mobility management network element may still be an AMF network element or have other names, which is not limited by this application.
  • the terminal communicates with the AMF network element through the N1 interface (N1 for short).
  • the AMF entity communicates with the SMF network element through the N11 interface (N11 for short).
  • the SMF network element communicates with one or more UPF network elements through the N4 interface (N4 for short). Any two UPF network elements among one or more UPF network elements communicate through an N9 interface (abbreviated as N9).
  • the UPF network element communicates with the data network (DN) managed and controlled by the AF network element through the N6 interface (N6 for short).
  • the terminal accesses the network through an access network element (for example, a RAN network element), and the RAN network element and the AMF network element communicate through an N2 interface (abbreviated as N2).
  • the SMF network element communicates with the PCF network element through the N7 interface (N7 for short), and the PCF network element communicates with the AF network element through the N5 interface.
  • the RAN network element communicates with the UPF network element through the N3 interface (N3 for short). Any two AMF network elements communicate through the N14 interface (N14 for short).
  • the SMF network element communicates with the UDM through the N10 interface (N10 for short).
  • the AMF network element communicates with AUSF through the N12 interface (N12 for short).
  • the AMF network element communicates with the UDM network element through the N8 interface (N8 for short).
  • the control plane network elements may also interact with each other using a service interface.
  • AMF network elements, SMF network elements, UDM network elements, or PCF network elements interact with each other using a service-oriented interface.
  • the service-oriented interface provided by the AMF network element to the outside may be Namf.
  • the service-oriented interface provided by the SMF network element to the outside may be Nsmf.
  • the service-oriented interface provided by the UDM network element to the outside may be Nudm.
  • the service-oriented interface provided by the PCF network element to the outside may be Npcf.
  • BCHF network element 40 if the business requires interaction between the BCHF network element 40 and other 5G network elements (AMF network element, SMF network element), there are also interfaces between the BCHF network element 40 and the AMF network element and the SMF network element.
  • AMF network element AMF network element
  • SMF network element SMF network element
  • the BCHF network element 40 may be an independent functional module, which is deployed independently of the 5G network element, or may be a distributed functional module and the 5G network element integrated deployment.
  • Fig. 2 or Fig. 3 only exemplarily shows a UPF network element or SMF network element.
  • this may include multiple UPF network elements and SMF network elements, such as SMF network element 1 and SMF network element 2, which is not specifically limited in the embodiment of the present application.
  • the access network element, AMF network element, SMF network element, UDM network element, UPF network element, and PCF network element in FIG. 2 or FIG. 3 are only a name, and the name does not constitute a limitation on the device itself.
  • the network elements or entities corresponding to RAN network elements, AMF network elements, SMF network elements, UDM network elements, UPF network elements, and PCF network elements can also have other names. This application is implemented The example does not make specific restrictions on this.
  • the UDM network element may also be replaced with a user home server (home subscriber server, HSS) or user subscription database (user subscription database, USD) or a database entity, etc., which will be uniformly explained here and will not be repeated in the following .
  • HSS home subscriber server
  • USD user subscription database
  • the terminal in this application may also be referred to as terminal equipment, user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile equipment, User terminal, terminal, wireless communication device, user agent or user device.
  • the terminal device can be a station (STA) in a wireless local area network (WLAN), a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, and a wireless local loop (wireless local loop).
  • WLAN wireless local area network
  • SIP session initiation protocol
  • wireless local loop wireless local loop
  • WLL wireless loop
  • PDA personal digital assistant
  • handheld devices with wireless communication functions computing devices or other processing devices connected to wireless modems
  • in-vehicle devices wearable devices
  • next-generation communication systems For example, terminal equipment in a fifth-generation (fifth-generation, 5G) communication network or terminal equipment in a public land mobile network (PLMN) network that will evolve in the future.
  • 5G fifth-generation
  • PLMN public land mobile network
  • the terminal may also be a wearable device.
  • Wearable devices can also be called wearable smart devices. It is a general term for using wearable technology to intelligently design everyday wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones.
  • FIG. 4 shows a schematic diagram of the hardware structure of a communication device provided by an embodiment of the present application.
  • the communication device includes a processor 41, a communication line 44, and at least one communication interface 43.
  • the processor 41 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the execution of the program of this application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication line 44 may include a path to transmit information between the aforementioned components.
  • the communication interface 43 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, RAN, WLAN, and so on.
  • the communication device may further include a memory 42.
  • the memory 42 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
  • the dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
  • the memory can exist independently and is connected to the processor through the communication line 44. The memory can also be integrated with the processor.
  • the memory 42 is used to store computer execution instructions for executing the solution of the application, and the processor 41 controls the execution.
  • the processor 41 is configured to execute computer-executable instructions stored in the memory 42 to implement the wireless bearer configuration method provided in the following embodiments of the present application.
  • the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
  • the processor 41 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 4.
  • the communication device may include multiple processors, such as the processor 41 and the processor 45 in FIG. 4.
  • processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the specific structure of the executive body of the method of providing services for the terminal by using the blockchain is not particularly limited in the embodiment of this application, as long as a utilization area of the embodiment of this application can be recorded through the operation.
  • the program of the code of the method for the block chain to provide services to the terminal can be communicated by a method of using the block chain to provide services for the terminal according to an embodiment of the present application.
  • a block chain is provided in the embodiment of the present application.
  • the execution subject of the method for the chain to provide services to the terminal may be a functional module in the BCAMF network element that can call and execute the program, or a communication device, such as a chip, applied to the BCAMF network element, which is not limited in this application.
  • the following embodiments are described by taking an example in which the execution subject of a method for providing services for a terminal by using a blockchain is a BCAMF network element.
  • FIG. 5 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, and the method includes:
  • Step 501 The terminal 10 sends an account opening request (registration request) message to the BCAMF network element 20 of the first operator, so that the BCAMF network element 20 receives the account opening request message from the terminal 10.
  • the account opening request message includes the identifier of the terminal 10, and the account opening request message is used to request the terminal 10 to open an account in a first operator (operator).
  • the identity of the terminal 10 may be a unified identity assigned to the terminal 10 by all parties participating in the alliance in the blockchain.
  • the identifier of the terminal 10 may also be referred to as a global unified blockchain ID (global permanent blockchain ID, GPBC ID).
  • the GPBC ID complies with international standards and is unique within the blockchain or globally.
  • the GPBC ID itself has nothing to do with the service, that is, when the service provider is changed, the ID of the terminal remains the same. For example, when the operator is changed, the GPBC ID remains the same, and only belongs to the terminal's identification.
  • the terminal 10 has an APP corresponding to the first operator, and the terminal 10 can use the APP to send an account opening request message to the BCAMF network element 20.
  • the account opening request message may also include the service that the terminal requests to purchase from the first operator.
  • the account opening request message may also include any one or more of the following information requested by the terminal: an access point name (APN) list and a network slice (network slice) list.
  • APN access point name
  • network slice network slice
  • the APN list includes one or more APNs of the first operator requested by the terminal.
  • the network slice list includes one or more network slices of the first operator requested by the terminal, that is, one or more network slices requested by the terminal to purchase from the first operator.
  • Step 502 The BCAMF network element 20 verifies that the terminal meets the account opening requirements according to the identification of the terminal 10.
  • step 502 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element 20 verifies in the blockchain that the terminal 10 meets the account opening requirements according to the identification of the terminal 10.
  • the BCAMF network element 20 verifies in the blockchain that the terminal 10 meets some or all of the requirements for opening an account according to the identification of the terminal 10.
  • the requirements for legally opening an account on the terminal are A, B, and C, and other participants in the blockchain have verified A and B among them. Then the BCAMF network element 20 of the first operator can use the results recorded in the blockchain that the terminal has verified items A and B, and only verify C. Or other participants of the blockchain have verified all three items A, B, and C, then the BCAMF network element 20 of the first operator can obtain the terminal from the blockchain and other participants have verified A The results of item, B, and C will directly open an account for the terminal. Specific items A, B, and C can be the user's age, criminal record, valid residential address, and so on.
  • step 502 may be implemented in the following manner: the BCAMF network element 20 uses the GPBC ID of the terminal 10 as an index number to view the relevance statement on the blockchain according to specific telecommunication service requirements. If the legality statement of the GPBC ID can cover all query and verification requirements of the BCAMF network element 20 for this service, and the issuer of the related statement is an entity trusted by the BCAMF network element 20, the BCAMF network element 20 determines that the verification is passed ( That is, the BCAMF network element 20 determines that the terminal 10 is legal in the blockchain). Otherwise, the BCAMF network element 20 performs related verification on the terminal 10 in an off-chain manner, such as requiring the user to upload an ID card and perform face recognition.
  • the BCAMF network element 20 When the BCAMF network element 20 does not have the function of processing the blockchain, the BCAMF network element 20 sends the identification of the terminal 10 to the BCHF network element 40 so that the BCHF network element 40 can verify whether the terminal meets the account opening requirements in the blockchain. After the BCHF network element 40 verifies whether the terminal meets the account opening requirements in the blockchain, the verification result is sent to the BCAMF network element 20.
  • the BCAMF network element 20 directly or indirectly triggers the account opening smart contract for the terminal 10 through the BCHF network element 40, and generates APN and other contract data for the terminal 10, SUPI, GPSI, etc., SUPI It can be IMSI, and GPSI can be MSISDN.
  • the smart contract process involves the transaction process in which the terminal uses the blockchain currency to purchase the operator's business, that is, the process in which the currency is transferred from the user to the operator, and this process is also written into the blockchain as a transaction.
  • Step 503 The BCAMF network element 20 sends a first message to the user data management network element 30 of the first operator, so that the user data management network element 30 receives the first message from the BCAMF network element 10.
  • the first message includes the subscription data of the terminal 10.
  • the user data management network element 30 can store the subscription data of the terminal 10.
  • the BCAMF network element 10 in the embodiment of the present application can send the contract data of the terminal 10 at the operator A to the user data management network element of the operator A. Therefore, the contract data of the terminal 10 in step 503 is the contract data of the terminal 10 in the first operator. Through step 503, the contract data of the terminal can be stored in the user data management network element 30. The contract data of the terminal is stored in the user data management network element 30, so that when the subsequent terminal accesses the mobile network of the first operator, the mobile management network element/session management network element, etc. must obtain the contract data to authorize the terminal, such as APN Is it allowed to use.
  • the subscription data of the terminal 10 may include: the identification of the terminal, and at least one of the following allocated by the BCAMF network element to the terminal: SUPI, generic public subscription identifier (GPSI), secret key, serial number ( sequence number, SQN), one or more APNs, one or more network slices.
  • SUPI generic public subscription identifier
  • GPSI generic public subscription identifier
  • secret key secret key
  • serial number sequence number, SQN
  • APNs one or more APNs
  • network slices one or more network slices.
  • GPSI can be the mobile station integrated service digital network number MSISDN.
  • the embodiment of the application provides a method for providing services for a terminal by using a blockchain.
  • the BCAMF network element of the first operator receives an account opening request message from the terminal and verifies that the terminal meets the account opening requirements according to the terminal's identity, Send the subscription data of the terminal to the user data management network element.
  • the terminal does not need to sign a contract with the first operator in advance, but when needed, select the appropriate first operator, open an account with the first operator at any time, or purchase the services of the first operator, which is convenient for realizing online It is more convenient to realize the automatic opening of an account for the terminal in the first operator than in the prior art when the user of the terminal needs to open an account in the business hall where the offline operator is located.
  • the identity of the terminal is always the identity of the terminal, it is inconvenient for the terminal to maintain the identity of the terminal after changing the operator, and does not affect the called service. Moreover, this method satisfies the requirement of opening an account for the terminal before using the blockchain to provide services for the terminal.
  • the method provided in the embodiment of the present application may further include after step 502:
  • Step 504 The BCAMF network element 10 sends an account opening acceptance message to the terminal 10, so that the terminal 10 receives the account opening acceptance message from the BCAMF network element 20.
  • the account opening acceptance message includes at least a user permanent identity (subscription permanent identifier, SUPI) allocated to the terminal 10 by the BCAMF network element 20.
  • SUPI subscription permanent identifier
  • the SUPI may be an international mobile subscriber identification code (international mobile subscriber identification, IMSI).
  • IMSI international mobile subscriber identification
  • the IMSI is used for the terminal 10 to register to the mobile network of the first operator.
  • the method provided in the embodiment of the present application may further include:
  • Step 505 The BCAMF network element 20 sends to the terminal 10 at least one of the following assigned by the BCAMF network element 20 to the terminal 10: MSISDN, secret key, and sequence number, so that the terminal 10 receives the MSISDN, secret key, and sequence from the BCAMF network element 20 Any one or more of the numbers.
  • any one or more of the MSISDN, secret key, and serial number can be sent to the terminal 10 in a separate message.
  • any one or more of the MSISDN, secret key, and serial number can also be carried in the foregoing Account opening acceptance message.
  • a terminal 10 can open an account in one or more operators. After the BCAMF network element 20 of any operator opens an account in the operator for the terminal 10 online, the BCAMF network element 20 can be in the blockchain Publish transaction information, which is used to indicate that the terminal 10 opens an account in the operator. Based on this, as another embodiment of the present application, please continue to combine FIG. 6 as another possible embodiment of the present application.
  • the method provided in the embodiment of the present application may further include after step 503:
  • Step 506 The BCAMF network element 20 publishes the first transaction information in the blockchain.
  • the first transaction information includes the first correspondence between the identification of the terminal 10 and the information of the first operator. The first correspondence is used to indicate that the terminal 10 successfully opens an account in the first operator.
  • the terminal 10 opens an account in multiple operators, the corresponding relationship between the terminal 10 and the identity of each of the multiple operators is recorded in the blockchain.
  • the identifier of the operator in the embodiments of this application may be the operator’s ID or the operator’s name or the operator’s mobile country code (Mobile Country Code, MCC) + mobile network code (Mobile Network Code, MNC) or other unique A mark that identifies the operator.
  • MCC Mobile Country Code
  • MNC Mobile Network Code
  • the BCAMF network element 20 can directly publish various transaction information, terminal verification information, etc. in the blockchain.
  • the BCAMF network element 20 can also publish various transaction information and terminal verification information in the blockchain through the BCHF network element 40. Therefore, step 506 in the embodiment of the present application can be implemented in the following manner:
  • the BCAMF network element 20 directly publishes the first transaction information in the blockchain. This method can be applied to the case where the BCAMF network element 20 has a blockchain processing function.
  • Manner 2 The BCAMF network element 20 sends the first transaction information to the BCHF network element 40, so that after the BCHF network element 40 receives the first transaction information, the BCHF network element 40 publishes the first transaction information in the blockchain.
  • This method can be applied to the case where the BCAMF network element 20 has or does not have a blockchain processing function.
  • the BCAMF network element 20 has or does not have a blockchain processing function.
  • one terminal can open accounts with multiple operators, but at a certain moment, one operator usually provides services for the terminal. Therefore, the BCAMF network element 20 can record in the blockchain the operator currently providing services for the terminal.
  • the method provided in the embodiment of the present application may further include:
  • Step 507 The BCAMF network element 20 determines that the first operator currently provides services for the terminal 10.
  • Step 508 The BCAMF network element 20 publishes the second transaction information in the blockchain. Among them, the second transaction information is currently served by the first operator for the terminal.
  • first transaction information and the second transaction information may be the same transaction and published in the same transaction, such as the terminal identification, the first operator identification, and the first operator's service terminal mark.
  • first transaction information and the second transaction information can be the same transaction, that is, when the terminal applies for opening an account, it indicates the activation of the operator.
  • step 508 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element 20 sets the first correspondence between the identification of the terminal 10 recorded in the blockchain and the identification of the first operator as Active state.
  • the first correspondence is set to the activated state, it means that the first operator currently provides services for the terminal.
  • the BCAMF network element 20 sends the first notification message to the BCHF network element 40, so that the BCHF network element 40 receives the first notification message from the BCAMF network element 20. Notification message.
  • the first notification message is used to instruct the BCHF network element 40 to set the first correspondence between the identification of the terminal 10 and the identification of the first operator recorded in the blockchain to an active state. In this way, the BCHF network element 40 can set the first correspondence to the activated state according to the first notification message.
  • the BCHF network element 40 may also feed back a first response message to the BCAMF network element 20 to indicate that the first correspondence has been set to be activated. status.
  • the corresponding relationship between the terminal and the operator recorded in the blockchain in the embodiment of the present application may indicate that the terminal successfully opens an account in the operator.
  • the BCAMF network element 20 or the BCHF network element 40 can indicate whether the operator provides services for the terminal by setting the status of the corresponding relationship between the terminal and the operator.
  • the state of the corresponding relationship between the terminal and the operator may be set to an inactive state or an active state. When the corresponding relationship between the terminal and the operator is set to an inactive state, it means that the operator does not currently provide services for the terminal.
  • the corresponding relationship between the terminal and the operator can be set to an inactive state, and once it is determined that the operator To provide a service for the terminal, the corresponding relationship between the terminal and the operator is updated from the inactive state to the active state.
  • setting the first correspondence to the active state above is a way of expressing that the first operator provides services to the terminal.
  • the first correspondence exists in the blockchain, it can also be set in the blockchain.
  • the second transaction information is released in the, to indicate that the first operator is currently providing services to the terminal.
  • the second transaction information used to indicate that the terminal 10 is currently provided by the first operator is published in the blockchain, so that it is convenient for other alliance members in the blockchain to determine the current service for the terminal 10. Information of the first operator. So that the subsequent service initiating network element (belonging to the alliance member in the blockchain) queries the first operator serving the terminal 10 in the blockchain and performs routing.
  • the logistics fleet may choose at least one operator to open an account in each country. Only when the logistics fleet travels to the coverage network of operator A, the operator A will be selected to serve the logistics fleet.
  • the method provided in this embodiment of the present application may further include:
  • Step 509 The BCAMF network element 20 receives the first instruction from the terminal 10.
  • the first indication is used to indicate that the first operator provides services for the terminal.
  • step 507 may be specifically implemented in the following manner: the BCAMF network element 20 determines that the first operator currently provides services for the terminal according to the first instruction.
  • the first indication may be carried in the aforementioned account opening request message.
  • the first indication is used to indicate to activate the subscription data of the terminal. That is, when the terminal 10 requests the BCAMF network element 10 to open an account for the terminal 10 in the first operator, it also requests that the first operator provide the terminal with the terminal's subscription data, which means that the terminal is currently served by the first operator. .
  • the advantage of this method is that the network to which the terminal 10 is attached is determined before the terminal 10 attaches. For example, after the security department obtains that the terminal activates the network of the first operator, it can directly subscribe the attachment status of the terminal 10 to the UDM network element of the first operator. After the terminal 10 is attached, the UDM network element notifies the security department.
  • the first indication may be carried in other messages (for example, a subscription update message or an update service message) and sent to the BCAMF network element 10, so that the BCAMF network element 10 The element 10 determines that the first operator provides services for the terminal 10.
  • the method provided in this embodiment of the present application may further include:
  • Step 510 The BCAMF network element 20 determines that the current first operator does not provide services for the terminal 10.
  • Step 511 The BCAMF network element publishes the third transaction information in the blockchain. Among them, the third transaction information is used to indicate that the current first operator does not provide services for the terminal.
  • step 511 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element sets the first correspondence between the identification of the terminal recorded in the blockchain and the identification of the first operator It is inactive. Or the BCAMF network element 20 determines that the current first operator does not provide services for the terminal 10, and the BCAMF network element 20 publishes transaction information indicating that the previous first operator does not provide services for the terminal 10 in the blockchain.
  • the BCAMF network element directly or through the BCHF network element 40 sets the first corresponding relationship between the identifier of the terminal and the identifier of the first operator recorded in the blockchain to an inactive state.
  • the setting of the first correspondence relationship to the inactive state indicates that the current first operator does not provide services for the terminal 10.
  • the terminal can open accounts with multiple operators, there may be an operator providing services for the terminal at a certain moment. For example, if the BCHF network element 40 determines that the first operator provides services for the terminal, but the first operator is recorded in the blockchain at this time A second correspondence between an identifier and the identifier of the second operator, and the second operator provides services for the terminal 10. Then, after the BCHF network element 40 determines that the first operator provides services for the terminal, it triggers the smart contract to invalidate the second operator's provision of services for the terminal. Exemplarily, the BCHF network element 40 sets the second correspondence relationship to an inactive state. By setting the second correspondence to an inactive state, it means that the second operator currently does not provide services for the terminal 10. Or, the BCAMF network element 20 directly or through the BCHF network element 40 marks the transaction information used to indicate that the second operator provides services for the terminal 10 in the blockchain as invalid.
  • the second operator provides services for the terminal 10 before the first operator provides services for the terminal 10.
  • the international logistics fleet has successfully opened accounts in both the first operator and the second operator.
  • the second operator will provide services for the terminal 10 .
  • the first operator provides services for the terminal 10.
  • the BCAMF network element 20 or the BCHF network element 40 sets the first corresponding relationship in the blockchain In the activated state, the blockchain smart contract is triggered, and the second corresponding relationship is set to the inactive state.
  • the method provided in this embodiment of the present application may further include:
  • Step 512 The BCAMF network element 20 publishes fourth transaction information in the blockchain, where the fourth transaction information includes verification information.
  • the verification information is used to indicate that the terminal meets the account opening requirements.
  • the content of the fourth transaction information includes content that the terminal meets all or part of the account opening requirements. For example, if items A and B are required to open an account, and if the terminal meets items A and B, the fourth transaction information includes items A and B required for both terminals to open an account.
  • the BCAMF network element 20 determines that the terminal 10 meets the account opening requirements, that is, after the terminal 10 is successfully verified in the blockchain, the BCAMF network element 20 directly or through the BCHF network element 40 publishes the verification information in the form of a legality statement as a transaction to the district Block chain. If this verification process does not include the off-chain mode, the publishing process is optional. Otherwise, this process is a necessary process for terminal identity verification. Taking into account the personal privacy protection requirements of the terminal, the issued legality statement needs to meet the requirements of local laws and regulations. The related forms include: 1) The conclusion of the relevant legal status of the terminal is given in the legality statement, and no specific details are given.
  • the legal status includes but is not limited to: the terminal's GPBC ID is legal, and the terminal's application for a specific service is legal. 2)
  • the encryption key is derived from the relevant secret information of the terminal to protect the confidentiality of the legality statement. In the future, other operators or third-party service providers who inquire about the statement will obtain the terminal's derived key when authorized by the terminal. Access the statement; 3) When the blockchain is in the consortium chain mode, the access control capabilities can be configured on the consortium chain.
  • the method provided in this embodiment of the present application may further include:
  • Step 513 The BCAMF network element publishes seventh transaction information in the blockchain.
  • the seventh transaction information includes any one or more of the following information: the mapping relationship between the SUPI and the terminal identifier, and the GPSI and the terminal identifier The mapping relationship.
  • mapping relationship between SUPI and the terminal's identity, and the mapping relationship between GPSI and the terminal's identity are recorded in the blockchain, so that subsequent service initiating network elements can query and serve the terminal in the blockchain Operator and perform routing.
  • the BCAMF network element 20 in the embodiment of the application publishes transaction information in the blockchain, which can be implemented in the following manner: the BCAMF network element 20 sends transaction information to the BCHF network element, and the BCHF network element 40 is used for Publish the transaction information in the blockchain, and the transaction information includes: any one or more of the first transaction information, the second transaction information, the third transaction information, the fourth transaction information, and the seventh transaction information .
  • FIG. 7 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, including:
  • Step 701 The terminal 10 sends an account cancellation request message to the BCAMF network element 20, so that the BCAMF network element 20 receives the account cancellation request message from the terminal 10.
  • the account cancellation request message carries the identification of the terminal 10, and the account cancellation request message is used to request cancellation of the terminal's service in the first operator.
  • step 701 the terminal 10 has successfully opened an account in the first operator.
  • the terminal 10 For the specific process of the terminal 10 opening an account in the first operator, reference may be made to the embodiment shown in FIG. 5 or FIG. 6, which will not be repeated here. Of course, the terminal 10 may also use methods other than the process shown in FIG. 5 or FIG. 6 to open an account in the first operator.
  • step 701 For the interaction between the terminal 10 and the BCAMF network element 20 in step 701, reference may be made to the description in step 501, which will not be repeated here.
  • Step 702 The BCAMF network element 20 determines that the terminal 10 meets the account cancellation requirement according to the identification of the terminal 10.
  • step 702 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element 20 verifies in the blockchain that the terminal 10 meets the account cancellation requirement according to the identification of the terminal 10.
  • the terminal 10 For example, if the identification of the terminal 10 provided by the terminal 10 in the account cancellation request message is consistent with the identification of the terminal 10 provided when the terminal 10 opens an account, it is determined that the terminal 10 meets the account cancellation requirement.
  • Step 703 The BCAMF network element 20 sends a second message to the user data management network element 30 or the authentication certificate repository and processing function (ARPF) network element, so that the user data management network element 30 receives the BCAMF The second message of the network element 20.
  • the second message includes the identification of the terminal, and the second message is used to instruct to delete the subscription data of the terminal.
  • the user data management network element 30 stores the subscription data of the terminal.
  • the user data management network element 30 obtains the subscription data of the terminal, reference may be made to the foregoing step 504, which will not be repeated here.
  • Step 704 The user data management network element 30 deletes the subscription data of the terminal according to the identification of the terminal.
  • the method provided in this embodiment of the present application may further include after step 702:
  • Step 705 The BCAMF network element 20 releases the SUPI and/or GPSI allocated to the terminal 10, etc.
  • the BCAMF network element 20 or the BCHF network element 40 determines that the terminal 10 meets the account cancellation requirements, the BCAMF network element 20 directly or indirectly triggers the account opening smart contract through the BCHF million account 40 to release the SUPI or GPSI allocated for the terminal, SUPI It can be IMSI, GPSI can be MSISD N.
  • the method provided in this embodiment of the present application may further include:
  • Step 706 The BCAMF network element 20 sends an account cancellation success message to the terminal 10, and the account cancellation success message includes the identification of the terminal 10. The account cancellation success message is used to indicate that the terminal 10 has been successfully cancelled in the first operator.
  • the method provided in this embodiment of the present application may further include after step 701:
  • Step 707 The BCAMF network element 20 publishes fifth transaction information in the blockchain, where the fifth transaction information is used to indicate that the terminal 10 is no longer a contracted terminal of the first operator. Or the fifth transaction information is used to indicate that the terminal 10 has been canceled in the first operator.
  • the fifth transaction information includes an account cancellation transaction, which is used to indicate that the terminal has cancelled the terminal's service in the first operator.
  • the BCAMF network element 20 publishes the fifth transaction information in the blockchain, including: the BCAMF network element 20 sends the fifth transaction information to the blockchain processing function BCHF network element 40, and the BCHF network element 40 Used to publish transaction information fifth in the blockchain.
  • the BCAMF network element 20 sets the first correspondence to the account cancellation state directly or through the BCHF network element.
  • the smart contract execution process is accompanied by the process of the first operator returning the call charges to the terminal 10. Then, the BCAMF network element 20 directly or through the BCHF network element records the call charge returned for the terminal 10 in the blockchain.
  • FIG. 7 may be used as a separate embodiment.
  • the embodiment shown in FIG. 7 may also be implemented in combination with the embodiment shown in FIG. 5 or FIG. 6.
  • FIG. 8 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, including:
  • Step 801 The terminal 10 sends an update service request (update service request) message to the BCAMF network element 20, so that the BCAMF network element 20 receives the update service request message from the terminal 10.
  • the update service request message carries the identification of the terminal.
  • the update service request message is used to request to update the service of the terminal in the first operator.
  • the service update request message may also carry a list of services that the terminal wishes to update.
  • the update method can be to add or delete a certain service, or to update a certain service, such as increasing the traffic limit.
  • the terminal 10 may request to purchase the network slice A from the first operator through the update service request message.
  • the terminal 10 may request the cancellation of the CRBT service or the caller ID service through step 801.
  • Step 802 The BCAMF network element 20 directly or through the BCHF network element verifies whether the terminal 10 meets the requirements of updating the service of the terminal 10 according to the identification of the terminal 10.
  • the BCAMF network element 20 directly or through the BCHF network element verifies whether the terminal 10 meets the requirements of updating the service of the terminal 10 in the blockchain according to the identification of the terminal 10.
  • step 802 is executed. Specifically, if the BCAMF network element 20 determines that the identity of the terminal 10 is consistent with the identity of the terminal 10 provided when the terminal 10 opens an account, it is determined that the terminal 10 meets the requirements for updating the service of the terminal 10. Or the BCAMF network element 20 determines that the first operator has the service requested by the terminal 10 to update, or the service requested by the terminal to update is legal, and then determines that the terminal meets the requirements for updating the service of the terminal 10.
  • Step 803 The BCAMF network element 20 sends a third message to the user data management network element 30/ARPF, where the third message includes the identifier of the terminal 10 and third information.
  • the third information is used to determine the updated contract data.
  • the user data management network element 30 stores the contract data of the terminal.
  • the user data management network element 30 obtains the subscription data of the terminal, reference may be made to the foregoing step 504, which will not be repeated here.
  • the third information may be updated contract data.
  • the third information may be content that has changed in the contract data.
  • the subscription data includes network slice A
  • the terminal 10 requests cancellation of network slice A through step 801
  • the third information may be cancellation of network slice A in the subscription data.
  • Step 804 The user data management network element 30/ARPF updates the subscription data of the terminal.
  • the method provided in this embodiment of the present application may further include:
  • Step 805 The BCAMF network element 20 updates the APN list or the network slice list of the terminal 10.
  • the method provided in the embodiment of the present application further includes: the BCAMF network element 20 determines that the terminal 10 meets the update service requirements according to the identification of the terminal 10, and can update the account opening contract between the terminal 10 and the first operator.
  • the transaction process of the terminal 10 using blockchain currency to purchase the business of the first operator is involved, that is, the process of currency transfer from the terminal 10 to the first operator.
  • the BCAMF network element 20 directly writes it into the blockchain or the BCAMF network element 20 through the BCHF network element 40.
  • Step 806 The BCAMF network element 20 sends a message indicating the success of the service update to the terminal 10, and the message indicating the success of the service update includes the identifier of the terminal 10. The message indicating that the service update is successful is used to indicate that the service of the terminal 10 in the first operator has been updated.
  • the method provided in this embodiment of the present application may further include:
  • Step 807 The BCAMF network element 20 publishes sixth transaction information in the blockchain, where the sixth transaction information includes an update service transaction.
  • the updated service transaction includes the updated service of the terminal in the first operator.
  • the updated service transaction specifically includes the service added by the terminal 10 in the first operator, the deleted service or the updated service content.
  • step 807 can be implemented in the following manner: the BCAMF network element 20 sends the sixth transaction information to the BCHF network element 40, and the BCHF network element is used to publish the sixth transaction information in the blockchain.
  • FIG. 8 can be used as a separate embodiment.
  • the embodiment shown in FIG. 8 can also be implemented in combination with the embodiment shown in FIG. 5 or FIG. 6 or FIG. 7.
  • the current terminal can use a pluggable SIM, an embedded SIM (Embedded SIM, eSIM), or a soft (soft) SIM to obtain services with operators.
  • the eSIM is to physically embed the SIM card on the terminal.
  • the operator can remotely write the terminal's contract data to the terminal.
  • the terminal can store the contract data of multiple operators, and the user decides which operator's contract data to activate.
  • Soft SIM An intermediary (usually a mobile phone manufacturer) signs contracts with multiple operators in advance. After the terminal user selects the service operator, the intermediary writes the contract data of the selected operator into the terminal through software.
  • the method includes: the service initiating network element obtains the first information from the blockchain according to the identifier of the terminal, step 904 and step 905. Specifically, the service initiating network element obtains the first information from the blockchain according to the terminal's identifier, which can be specifically implemented through steps 901 to 903.
  • Step 901 The service initiating network element sends a first request message to the BCHF network element 40, so that the BCHF network element 40 receives the first request message from the service initiating network element.
  • the first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal 10.
  • the service initiating network element may be a third-party server that initiates the service, or the interrogating call session control function (I-CSCF) of the service initiating service terminal.
  • I-CSCF interrogating call session control function
  • Step 902 The BCHF network element 40 obtains the first information from the blockchain according to the identifier of the terminal 10.
  • Step 903 The BCHF network element 40 sends the first information to the service initiating network element, so that the service initiating network element receives the first information from the BCHF network element 40.
  • Step 904 The service initiating network element determines one or more network elements that provide services for the terminal 10 according to the first information.
  • Step 905 The service initiating network element interacts with any one of the one or more network elements to provide a service for the terminal.
  • the embodiment of the present application provides a method for using a blockchain to provide services for a terminal.
  • the method obtains a first network element from the blockchain for determining one or more network elements that provide services for the terminal through a service initiating network element. information. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave One or more network elements that currently provide services to the terminal are determined in the blockchain. Furthermore, the service initiator network element provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of determining one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
  • the service initiating network element obtains the ID of the operator of the serving terminal
  • the service initiating network element obtains the I-CSCF information of the terminal 10 through the ID of the operator
  • the service initiating network element uses the proxy call session control function (proxy The call session control function (P-CSCF)
  • the serving call session control function (S-CSCF) sends the session request to the I-CSCF/S-CSCF of the called terminal 10, and the subsequent session process is performed.
  • P-CSCF proxy The call session control function
  • S-CSCF serving call session control function
  • the embodiment of the application provides a method for using blockchain to provide services for terminals.
  • the service initiating network element can pass through the terminal , Obtain the first information from the blockchain to determine one or more network elements that provide services for the terminal.
  • the service initiating network element interacts with one or more network elements to provide services for the terminal, which can prevent the MT service from being affected when the terminal changes its operator.
  • the process of determining one or more network elements by the service initiating network element based on the first information is different, so the following are introduced separately:
  • the first information includes information of an operator currently providing services for the terminal 10.
  • step 902 in the embodiment of the present application can be implemented in the following manner: the service initiating network element determines the information of one or more network elements according to the information of the operator.
  • the information of the operator may be an operator ID, an address or name of the operator.
  • the local configuration of the service initiating network element is provided with pre-configuration information, and the pre-configuration information is used to reflect one or more network elements that each of the one or more operators provides services for the terminal at a designated location In this way, it is convenient for the service initiating network element to determine the information of one or more network elements that provide services for the terminal under the operator according to the information of the operator from the pre-configured information.
  • the service initiating network element can send the query information that can be constructed by the operator to the Domain Name System (DNS), or the network element responsible for the network function registration and discovery function (for example, the network function storage function network element) (network function repository function, NRF)).
  • DNS Domain Name System
  • NRF network function repository function
  • the service initiating network element may also determine the UDM network element/UDR network element of the serving terminal according to the operator information, and obtain the network element of the serving terminal by querying the UDM network element/UDR network element, such as I-CSCF or S-CSCF , Or AMF network element, SMF network element, etc.
  • the UDM network element/UDR network element such as I-CSCF or S-CSCF , Or AMF network element, SMF network element, etc.
  • Example 1 the information of the operator currently providing services for the terminal 10 is recorded in the blockchain. Specifically, the information of the operator currently providing services for the terminal 10 may be implemented by the BCAMF network element 20 through the above step 508.
  • the first request message carries the first indication.
  • the first indication is used to request information of an operator that provides services for the terminal, and the BCHF network element 40 determines that the first information includes information of an operator that provides services for the terminal.
  • the first information includes information about one or more network elements that provide services for the terminal 10. That is, in Example 2, the BCHF network element 40 directly provides information about one or more network elements that provide services for the terminal 10 to the service initiating network element.
  • the information of one or more network elements may be the ID or name of the network element.
  • the information of one or more network elements currently providing services for the terminal 10 is recorded in the blockchain. Specifically, the information of one or more network elements currently providing services for the terminal 10 may be implemented by the following step 1103.
  • the first request message carries a first indication
  • the first indication is used by the BCHF network element 40 to determine one or more service initiation network elements requested by the service initiating network element to provide services for the terminal 10 Information about the network element.
  • the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service initiating network element The name of the required network element.
  • the first indication may be a specific message name, such as a request message for querying the I-CSCF/S-CSCF address of the service terminal 10; it may also indicate the cell name in the cell, such as indicating the S-CSCF, or indicating the need
  • the BCHF network element 40 returns the network element required for the service, such as instructing to make a call, and the BCHF network element 40 returns the address of the S-CSCF.
  • the embodiments of this application do not make limitations.
  • FIG. 10 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, and the method includes:
  • Step 1001 The first network element sends a first message to the user plane data management network element 40, so that the user plane data management network element 40 receives the first message from the first network element.
  • Meta is registered as a network element that provides services to the terminal.
  • the first message includes the identification of the terminal.
  • the first network element and the user plane data management network element 40 belong to the first operator.
  • the first network element is any one or more of: a mobility management network element, a session management network element, or an I-CSCF network element, or, a serving call session control function S-CSCF network element.
  • the first message carries the identifier of the terminal 10, the identifier of the first network element, and a second indication, and the second indication is used to indicate that the first network element is registered as a network element that provides services to the terminal 10.
  • Step 1002 The user plane data management network element 40 sends a response message indicating successful registration to the first network element, so that the first network element receives a response message from the user plane data management network element 40 indicating successful registration.
  • the response message indicating that the registration is successful is used to indicate that the registration of the first network element at the user plane data management network element 40 is successful.
  • the response message indicating successful registration carries the identifier of the first network element and the successful registration indication.
  • Step 1003 The first network element publishes first transaction information in the blockchain.
  • the first transaction information includes: information about the first network element that provides services for the terminal 10.
  • the content of the first transaction information in step 1003 in the embodiment of the present application can also be replaced with the following content: information of the first operator of the first network element that provides services for the terminal 10. That is, during the registration process of the first network element with the user plane data management network element 40, the information of the first operator that provides services for the terminal is written into the blockchain.
  • the first transaction information includes: a mapping relationship between the terminal 10 and the information of the first network element, and the mapping relationship is used to indicate that the first network element provides the terminal 10 with a service.
  • the information of the first network element may be the address or name of the first network element.
  • step 1003 in the embodiment of the present application can be implemented in the following manner: the first network element sends the first transaction information to the BCHF network element 40, and the BCHF network element 40 is used to publish the first transaction information In the blockchain.
  • step 1003 in the embodiment of the present application can be implemented in the following manner: the first network element directly publishes the first transaction information in the blockchain.
  • the mobility management network element if the mobility management network element receives a registration request message from the terminal 10, the mobility management network element executes the steps in the registration process Other steps and step 1001. That is, during the registration process of the terminal 10 on the network of the first operator, the mobility management network element directly or through the BCHF network element 40 publishes the mapping relationship between the identification of the mobility management network element and the terminal in the blockchain, or The mapping relationship between the identity of the I-CSCF network element and the terminal, or the mapping relationship between the identity of the S-CSCF network element and the terminal.
  • the session management network element executes other procedures in the session establishment process. Steps and step 1001. That is, when the terminal 10 performs the session establishment process with the session management network element of the first operator, the session management network element directly or through the BCHF network element 40 publishes the identity of the session management network element and the terminal in the blockchain. The mapping relationship.
  • PDU packet data unit
  • the first network element may also cancel the provision of services to the terminal 10. Therefore, in an alternative embodiment, as shown in FIG. 10 After step 1003, the method provided by the embodiment of the present application may further include:
  • Step 1004 The first network element sends a second message to the user plane data management network element 40, so that the user plane data management network element 40 receives the second message from the first network element.
  • the second message is used to indicate that the first network element is cancelled as a network element that provides services to the terminal.
  • the second message carries the identifier of the terminal, the identifier of the first network element, and a third indication, where the third indication is used to instruct to cancel the first network element as a network element that provides services to the terminal.
  • Step 1005 The user plane data management network element 40 sends a response message indicating successful cancellation to the first network element, so that the first network element receives a response message from the user plane data management network element 40 indicating successful cancellation.
  • the response message indicating successful cancellation is used to indicate that the first network element has been cancelled as a network element that provides services to the terminal 10.
  • the fourth message carries a fourth indication and an identifier of the first network element, and the fourth indication is used to indicate that the first network element has been cancelled as a network element that provides services to the terminal 10.
  • Step 1006 The first network element publishes second transaction information in the blockchain.
  • the second transaction information includes information marked as invalid for the first network element that provides services for the terminal.
  • mapping relationship between the identifier of the terminal 10 and the first network element when the mapping relationship between the identifier of the terminal 10 and the first network element is marked as invalid, it means that the first network element does not provide services for the terminal 10.
  • the first network element publishes the mapping relationship between the terminal 10 and the information of the first network element in the blockchain, if the first network element provides services for the terminal 10 at this time, the terminal 10 and the first network element The mapping relationship between meta information is marked as valid.
  • step 1006 can also be replaced in the following manner.
  • the first network element marks the mapping relationship between the terminal 10 and the information of the first network element as invalid in the blockchain.
  • step 1106 can also be replaced in the following manner.
  • the first network element sends a second notification message to the BCHF network element 40, and the second notification message is used to notify the BCHF network element 40 to connect the terminal 10 to the first network element in the blockchain.
  • the mapping relationship between the information is marked as invalid.
  • step 1006 in the embodiment of the present application can be implemented in the following manner: the first network element sends the second transaction information to the BCHF network element 40, and the BCHF network element 40 is used to publish the second transaction information In the blockchain.
  • step 1006 in the embodiment of the present application can be implemented in the following manner: the first network element directly publishes the second transaction information in the blockchain.
  • the mobility management network element/I-CSCF network element/S-CSCF network element or the session management network element can be registered in the blockchain as a node providing services for the terminal 10, when there is a third-party network element (For example, a service initiating network element)
  • a third-party network element For example, a service initiating network element
  • the service initiating network element can search for the I-CSCF network element of the service terminal 10 through the blockchain.
  • FIG. 11 shows a method for processing blockchain records provided by an embodiment of the present application, and the method includes:
  • Step 1101 is the same as step 1001, and will not be repeated here.
  • Step 1102 The user data management network element 30 publishes the first transaction information in the blockchain. Among them, the first transaction information is used to indicate that the first operator currently provides services for the terminal 10.
  • the first transaction information may include a first correspondence between the first operator and the terminal 10, and the first correspondence is in an activated state.
  • step 1102 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 sends the first transaction information to the BCHF network element 40, so that the BCHF network element 40 can be in the blockchain Publish the first transaction information.
  • step 1102 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 directly publishes the first transaction information in the blockchain.
  • the user data management network element 30 or the BCHF network element 40 may also record the date on which the first operator provided service to the terminal 10 in the past. That is, when the user data management network element 30 or the BCHF network element 40 sets the first corresponding relationship to the activated state, the activation date is also recorded.
  • the user data management network element 30 determines that the first operator provides services for the terminal 10, if the user data management network element 30 determines that there is a second operator between the terminal 10 and the second operator in the blockchain. If the second correspondence is in the active state, the user data management network element 30 may notify the BCHF network element 40 to set the second correspondence between the terminal 10 and the second operator as invalid.
  • the method provided in this embodiment of the present application may further include after step 1101:
  • Step 1103 and step 1104 are the same as step 1002 and step 1004, and will not be repeated here.
  • the method provided in this embodiment of the present application may further include after step 1102:
  • Step 1105 is the same as step 1005, and will not be repeated here.
  • Step 1106 The user data management network element 30 publishes second transaction information in the blockchain, where the second transaction information includes any one or more of the following: the information of the first network element that is marked as invalid for the first network element that provides the service for the terminal 10 is marked; Or, set the current record of the service provided by the first operator for the terminal to an inactive state.
  • the user data management network element 30 may directly or through the BCHF network element 40 set the mapping relationship between the terminal 10 and the information of the first network element to be invalid. Or the user data management network element 30 may directly or through the BCHF network element 40 set the first correspondence between the terminal 10 and the first operator to an inactive state.
  • step 1106 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 sends the second transaction information to the BCHF network element 40, and the BCHF network element 40 is used to transfer the The second transaction information is published in the blockchain.
  • step 1106 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 directly publishes the second transaction information in the blockchain.
  • FIG. 10 the difference between FIG. 10 and FIG. 11 is that in FIG. 10, the first network element publishes or cancels the mapping relationship between the terminal 10 and the first network element in the blockchain.
  • the user The data management network element 30 publishes or cancels the mapping relationship between the terminal 10 and the first network element in the blockchain.
  • each network element such as a BACMF network element, a user data management network element, a first network element, etc.
  • each network element includes hardware structures and/or software modules corresponding to each function in order to realize the above 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.
  • the embodiment of this application can divide functional units according to the above-mentioned method example terminal, BACMF network element, user data management network element, and first network element.
  • each functional unit can be divided corresponding to each function, or two or two
  • the above functions are integrated in a processing unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • the method of the embodiment of the present application has been described above with reference to Figs. 5 to 11, and the device provided by the embodiment of the present application for performing the foregoing method using the blockchain to provide services for the terminal is described below. Those skilled in the art can understand that the method and the device can be combined and quoted with each other.
  • the device that uses the blockchain to provide services for the terminal provided in the embodiment of the present application can execute the above-mentioned method of sending and using the blockchain to provide services for the terminal. Steps performed by the BACMF network element, the user data management network element, and the first network element.
  • FIG. 12 shows a communication device involved in the foregoing embodiment, and the communication device may include: a communication unit 102 and a processing unit 101.
  • the communication device is a terminal or a chip applied to the terminal.
  • the communication unit 102 is configured to support the communication device to execute the step sent by the terminal in step 501 in the above-mentioned embodiment.
  • the communication unit 102 is further configured to support the communication device to execute the steps received by the terminal in step 504 and step 505 in the foregoing embodiment.
  • the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20.
  • the communication unit 102 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 501 in the above embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 502 executed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 503 in the foregoing embodiment.
  • the communication unit 102 is configured to support the communication device to execute steps 504 and 505 in the above-mentioned embodiment, which are sent by the BCAMF network element 20 and step 509.
  • the processing unit 101 is further configured to support the communication device to execute step 506, step 507, step 508, step 510, step 511, step 512, and step 513 performed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 503 of the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute the steps of storing the contract data of the terminal 10 executed by the user data management network element in the above-mentioned embodiment.
  • the communication device is a terminal or a chip applied in the terminal.
  • the communication unit 102 is used to support the communication device to execute the step sent by the terminal in step 701 in the above-mentioned embodiment.
  • the communication unit 102 is further configured to support the communication device to perform the steps received by the terminal in step 706 in the foregoing embodiment.
  • the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20.
  • the communication unit 102 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 701 in the above-mentioned embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 702 executed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication unit is also used to support the communication device to perform the steps sent by the BCAMF network element 20 in step 703 in the foregoing embodiment.
  • the communication unit 102 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 706 in the foregoing embodiment.
  • the processing unit 101 is further configured to support the communication device to execute steps 705 and 707 performed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 703 of the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 704 executed by the user data management network element in the foregoing embodiment.
  • the communication device is a terminal or a chip applied to the terminal.
  • the communication unit 102 is used to support the communication device to execute the step sent by the terminal in step 801 in the above-mentioned embodiment.
  • the communication unit 102 is further configured to support the communication device to perform the steps received by the terminal in step 806 in the foregoing embodiment.
  • the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20.
  • the communication unit 102 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 801 in the above-mentioned embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 802 executed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 803 in the foregoing embodiment.
  • the communication unit 102 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 806 in the foregoing embodiment.
  • the processing unit 101 is further configured to support the communication device to execute steps 805 and 807 performed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 803 of the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 804 executed by the user data management network element in the foregoing embodiment.
  • the communication device is a service initiating network element, or a chip applied to the service initiating network element.
  • the communication unit 102 is configured to support the communication device to perform the action sent by the service initiating network element in step 901 of the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute steps 904 and 905 performed by the service initiating network element in the foregoing embodiment.
  • the communication device is a BCHF network element 40, or a chip applied in the BCHF network element 40.
  • the communication unit 102 is used to support the communication device to perform the action received by the BCHF network element 40 in step 901 and the action sent by the BCHF network element 40 in step 903 in the above embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 902 executed by the BCHF network element 40 in the foregoing embodiment.
  • the communication device is the first network element, or is a chip applied to the first network element.
  • the communication unit 102 is configured to support the communication device to perform the action sent by the first network element in step 1001 and the action received by the first network element in step 1002 in the above embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 1003 executed by the first network element in the foregoing embodiment.
  • the communication unit 102 is configured to support the communication device to perform the sending action performed by the first network element in step 1004 and the receiving action performed by the first network element in step 1005 in the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 1006 executed by the first network element in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication unit 102 is configured to support the communication device to perform the actions received by the user data management network element in step 1001 of the foregoing embodiment and the actions sent by the user data management network element in step 1002.
  • the communication unit 102 is configured to support the communication device to perform the receiving action performed by the user data management network element in step 1004 and the sending action performed by the user data management network element in step 1005 in the foregoing embodiment. .
  • the communication device is the first network element, or is a chip applied to the first network element.
  • the communication unit 102 is configured to support the communication device to perform the action sent by the first network element in step 1101 of the foregoing embodiment.
  • the communication unit 102 is configured to support the communication device to perform the sending action performed by the first network element in step 1104 and the receiving action performed by the first network element in step 1105 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 1101 of the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 1102 executed by the user data management network element in the foregoing embodiment.
  • the communication unit 102 is configured to support the communication device to perform the receiving action performed by the user data management network element in step 1104 and the sending action performed by the user data management network element in step 1105 in the foregoing embodiment.
  • the processing unit 101 is configured to support the communication device to execute step 1106 executed by the user data management network element in the foregoing embodiment.
  • FIG. 13 shows a schematic diagram of a possible logical structure of the communication device involved in the foregoing embodiment.
  • the communication device includes: a processing module 112 and a communication module 113.
  • the processing module 112 is used to control and manage the actions of the communication device.
  • the processing module 112 is used to perform information/data processing steps on the communication device.
  • the communication module 113 is used to support the communication device to send or receive information/data.
  • the communication device may further include a storage module 111 for storing program codes and data that can be used by the communication device.
  • the communication device is a terminal or a chip applied to the terminal.
  • the communication module 113 is used to support the communication device to execute the steps sent by the terminal in step 501 in the foregoing embodiment.
  • the communication module 113 is further configured to support the communication device to execute the steps received by the terminal in step 504 and step 505 in the foregoing embodiment.
  • the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20.
  • the communication module 113 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 501 in the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 502 executed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 503 in the foregoing embodiment.
  • the communication module 113 is configured to support the communication device to execute the steps 504 and 505 in the above-mentioned embodiment that are sent by the BCAMF network element 20 and step 509.
  • the processing module 112 is also used to support the communication device to execute step 506, step 507, step 508, step 510, step 511, step 512, and step 513 performed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 503 of the foregoing embodiment.
  • the processing module 112 is used to support the communication device to execute the steps of storing the contract data of the terminal 10 executed by the user data management network element in the above-mentioned embodiment.
  • the communication device is a terminal or a chip applied in the terminal.
  • the communication module 113 is used to support the communication device to execute the steps sent by the terminal in step 701 in the above-mentioned embodiment.
  • the communication module 113 is also used to support the communication device to execute the steps received by the terminal in step 706 in the foregoing embodiment.
  • the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20.
  • the communication module 113 is used to support the communication device to execute the steps received by the BCAMF network element 20 in step 701 in the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 702 executed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication unit is also used to support the communication device to perform the steps sent by the BCAMF network element 20 in step 703 in the foregoing embodiment.
  • the communication module 113 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 706 in the foregoing embodiment.
  • the processing module 112 is also used to support the communication device to execute steps 705 and 707 performed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 703 of the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 704 executed by the user data management network element in the foregoing embodiment.
  • the communication device is a terminal or a chip applied to the terminal.
  • the communication module 113 is used to support the communication device to execute the step sent by the terminal in step 801 in the above-mentioned embodiment.
  • the communication module 113 is further configured to support the communication device to perform the steps received by the terminal in step 806 in the foregoing embodiment.
  • the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20.
  • the communication module 113 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 801 in the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 802 executed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 803 in the foregoing embodiment.
  • the communication module 113 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 806 in the foregoing embodiment.
  • the processing module 112 is also used to support the communication device to execute steps 805 and 807 performed by the BCAMF network element 20 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 803 of the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 804 executed by the user data management network element in the foregoing embodiment.
  • the communication device is a service initiating network element or a chip applied to the service initiating network element.
  • the communication module 113 is used to support the communication device to perform the action sent by the service initiating network element in step 901 of the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute steps 904 and 905 performed by the service initiating network element in the foregoing embodiment.
  • the communication device is a BCHF network element 40 or a chip applied in the BCHF network element 40.
  • the communication module 113 is used to support the communication device to perform the action received by the BCHF network element 40 in step 901 and the action sent by the BCHF network element 40 in step 903 in the above embodiment.
  • the processing module 112 is configured to support the communication device to execute step 902 executed by the BCHF network element 40 in the foregoing embodiment.
  • the communication device is a first network element, or a chip applied to the first network element.
  • the communication module 113 is used to support the communication device to perform the actions sent by the first network element in step 1001 and the actions received by the first network element in step 1002 in the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 1003 executed by the first network element in the foregoing embodiment.
  • the communication module 113 is configured to support the communication device to perform the sending action performed by the first network element in step 1004 and the receiving action performed by the first network element in step 1005 in the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 1006 executed by the first network element in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication module 113 is used to support the communication device to perform the actions received by the user data management network element in step 1001 and the actions sent by the user data management network element in step 1002 in the foregoing embodiment.
  • the communication module 113 is configured to support the communication device to perform the receiving action performed by the user data management network element in step 1004 and the sending action performed by the user data management network element in step 1005 in the above embodiment. .
  • the communication device is the first network element, or is a chip applied to the first network element.
  • the communication module 113 is used to support the communication device to perform the action sent by the first network element in step 1101 of the foregoing embodiment.
  • the communication module 113 is configured to support the communication device to perform the sending action performed by the first network element in step 1104 and the receiving action performed by the first network element in step 1105 in the foregoing embodiment.
  • the communication device is a user data management network element, or a chip applied to a user data management network element.
  • the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 1101 of the foregoing embodiment.
  • the processing module 112 is configured to support the communication device to execute step 1102 executed by the user data management network element in the foregoing embodiment.
  • the processing module 112 may be a processor or a controller, for example, a central processing unit, a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, Hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of the present invention.
  • the processor may also be a combination that implements computing functions, for example, a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on.
  • the communication module 113 may be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module 111 may be a memory.
  • the processing module 112 is the processor 41 or the processor 45
  • the communication module 113 is the communication interface 43
  • the storage module 111 is the memory 42
  • the communication device involved in this application may be the communication device shown in FIG. 4.
  • FIG. 14 is a schematic structural diagram of a chip 150 provided by an embodiment of the present application.
  • the chip 150 includes one or more (including two) processors 1510 and a communication interface 1530.
  • the chip 150 further includes a memory 1540.
  • the memory 1540 may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 1510.
  • a part of the memory 1540 may also include a non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 1540 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.
  • the corresponding operation is executed by calling the operation instruction stored in the memory 1540 (the operation instruction may be stored in the operating system).
  • the terminal, the BACMF network element, the user data management network element, and the chip used in the first network element have similar structures, and different devices can use different chips to realize their respective functions.
  • the processor 1510 controls processing operations of any one of the terminal, the BACMF network element, the user data management network element, and the first network element.
  • the processor 1510 may also be referred to as a central processing unit (CPU).
  • the memory 1540 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1510. A part of the memory 1540 may also include a non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 1540, the communication interface 1530, and the memory 1540 are coupled together by a bus system 1520, where the bus system 1520 may include a power bus, a control bus, and a status signal bus in addition to a data bus.
  • various buses are marked as the bus system 1520 in FIG. 14.
  • the method disclosed in the foregoing embodiments of the present application may be applied to the processor 1510 or implemented by the processor 1510.
  • the processor 1510 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 1510 or instructions in the form of software.
  • the aforementioned processor 1510 may be a general-purpose processor, a digital signal processing (digital signal processing, DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or Other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processing
  • ASIC application specific integrated circuit
  • FPGA field-programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory 1540, and the processor 1510 reads the information in the memory 1540, and completes the steps of the foregoing method in combination with its hardware.
  • the communication interface 1530 is used to perform the steps of receiving and sending the terminal, the BACMF network element, the user data management network element, and the first network element in the embodiment shown in FIGS. 5-11.
  • the processor 1510 is configured to execute the processing steps of the terminal, the BACMF network element, the user data management network element, and the first network element in the embodiment shown in FIGS. 5-11.
  • the above communication unit may be an interface circuit or communication interface or transceiver of the communication device for receiving signals from other devices.
  • the communication unit is an interface circuit or communication interface used by the chip to receive signals or send signals from other chips or devices.
  • the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product.
  • the computer program product may be written in the memory in advance, or it may be downloaded and installed in the memory in the form of software.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website site, computer, server or data center.
  • a cable such as Coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk, SSD).
  • the embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions.
  • the terminal or a chip applied to the terminal executes any one of FIGS. 5 to 8 by the terminal. A step of.
  • the embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions.
  • the BCAMF network element or the chip applied in the BCAMF network element executes any of the A step performed by the BCAMF network element.
  • the embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions.
  • the user data management network element or the chip applied to the user data management network element executes Figure 5 ⁇ Any of the steps in Figure 8 are executed by the user data management network element.
  • the embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions.
  • the service initiating network element or the chip applied to the service initiating network element executes any one of FIG. 9 Steps performed by the service initiating network element.
  • An embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions.
  • the first network element or a chip applied to the first network element executes FIG. 10 or FIG. 11 In the steps performed by the first network element.
  • the embodiments of the present application provide a computer-readable storage medium, and instructions are stored in the computer-readable storage medium.
  • the user data management network element or the chip applied to the user data management network element executes FIG. 10 or Figure 11 shows the steps performed by the user data management network element.
  • the aforementioned readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
  • the embodiment of the present application provides a computer program product including instructions.
  • the computer program product stores instructions.
  • the terminal or a chip applied in the terminal executes any one of Figures 5 to 8 executed by the terminal. step.
  • a computer program product including instructions.
  • the computer program product stores instructions.
  • the BCAMF network element or the chip applied in the BCAMF network element executes any one of Figures 5 to 8 Steps performed by the BCAMF network element.
  • a computer program product including instructions is provided.
  • the instructions are stored in the computer program product.
  • the user data management network element or the chip applied to the user data management network element executes FIG. 5 to FIG. Any one of the steps performed by the user data management network element.
  • a computer program product including instructions is provided.
  • the instructions are stored in the computer program product.
  • the service initiating network element or the chip applied in the service initiating network element executes any one of the steps shown in FIG. 9 The steps performed by the service initiating network element.
  • a computer program product including instructions.
  • the computer program product stores instructions.
  • the first network element or a chip applied to the first network element executes the steps shown in FIG. 10 or FIG. 11 Steps performed by the first network element.
  • a chip is provided.
  • the chip is used in a terminal.
  • the chip includes at least one processor and a communication interface.
  • the communication interface is coupled to the at least one processor.
  • the processor is used to execute instructions to execute any one of FIGS. 5 to 8. Steps performed by the terminal.
  • a chip is provided.
  • the chip is applied to a user data management network element.
  • the chip includes at least one processor and a communication interface, and the communication interface is coupled to the at least one processor.
  • the processor is used to run instructions to execute FIG. 5 ⁇ Any of the steps in Figure 8 are executed by the user data management network element.
  • a chip is provided.
  • the chip is applied to a BCAMF network element.
  • the chip includes at least one processor and a communication interface, the communication interface is coupled to at least one processor, and the processor is used to execute instructions to execute the execution of FIGS. 5-8. Any of the steps performed by the BCAMF network element.
  • a chip is provided.
  • the chip is applied to a service initiation network element.
  • the chip includes at least one processor and a communication interface.
  • the communication interface is coupled to the at least one processor.
  • the processor is used to run instructions to execute any of the instructions in FIG. A step performed by the service initiating network element.
  • a chip is provided.
  • the chip is applied to a first network element.
  • the chip includes at least one processor and a communication interface, the communication interface is coupled to the at least one processor, and the processor is used to execute instructions to execute FIG. 10 or FIG. Step 11 performed by the first network element.
  • a chip is provided.
  • the chip is applied to a user data management network element.
  • the chip includes at least one processor and a communication interface.
  • the communication interface is coupled to the at least one processor.
  • the processor is used to run instructions to execute FIG. 10 or Figure 11 shows the steps performed by the user data management network element.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, referred to as DSL) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or includes one or more data storage devices such as servers, data centers, etc. that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiments of the present application relate to the technical field of communications, and provided are a method, apparatus and system for providing a service for a terminal by using a blockchain. The method may provide the service for the terminal without needing to change the identification of the terminal after the terminal changes operators. The solution comprises: a blockchain account management function (BCAMF) network element of a first operator receives an account opening request message from a terminal, wherein the account opening request message comprises the identification of the terminal, and the account opening request message is used to request to open an account for the terminal in the first operator; the BCAMF network element verifies that the terminal meets account opening requirements according to the identification of the terminal; and the BCAMF network element sends a first message to a user data management network element of the first operator, the first message comprising subscription data of the terminal.

Description

一种利用区块链为终端提供业务的方法、装置及系统Method, device and system for providing service for terminal by using block chain
本申请要求于2019年8月30日提交国家知识产权局、申请号为2019108191103、申请名称为“一种利用区块链为终端提供业务的方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application submitted to the State Intellectual Property Office on August 30, 2019, with the application number 2019108191103, and the application title "A method, device and system for providing services for terminals using blockchain". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种利用区块链为终端提供业务的方法、装置及系统。The embodiments of the present application relate to the field of communication technology, and in particular, to a method, device, and system for providing services for a terminal using a blockchain.
背景技术Background technique
终端需要使用客户识别模块(subscriber identification module,SIM)卡接入运营商的通信网络,SIM卡信息包括国际移动用户识别码(international mobile subscriber identification,IMSI),移动台国际综合业务数字网络号码(mobile subscriber international integrated service digital network,MSISDN)信息。IMSI,MSISDN唯一标识了终端在通信网络中的身份,而且该身份和运营商绑定。目前SIM卡的管理方式:传统可插拔SIM。The terminal needs to use the subscriber identification module (SIM) card to access the operator’s communication network. The SIM card information includes the international mobile subscriber identification (IMSI) and the mobile station’s international integrated service digital network number (mobile). subscriber international integrated service digital network (MSISDN) information. IMSI and MSISDN uniquely identify the identity of the terminal in the communication network, and the identity is bound to the operator. Current SIM card management method: traditional pluggable SIM.
传统可插拔SIM:该SIM卡为物理卡片,终端的用户和运营商签订服务合约后,由运营商提供给用户,用户将SIM卡插入移动终端,终端利用该SIM卡和运营商网络联系获得服务。Traditional pluggable SIM: The SIM card is a physical card. After the user of the terminal signs a service contract with the operator, the operator provides it to the user. The user inserts the SIM card into the mobile terminal, and the terminal uses the SIM card to contact the operator’s network to obtain service.
对于可插拔SIM卡需要运营商进行额外的SIM卡管理,比如购买,分发等。用户在更换运营商时也需要向运营商申请新的物理卡,非常不方便。而且对数量巨大的物联网(物联网Internet of Things,IOT)终端分发SIM卡不现实,特别是对部署在人类不易到达位置的IOT终端,更换SIM卡不能实施。For pluggable SIM cards, operators need to perform additional SIM card management, such as purchase and distribution. When changing the operator, the user also needs to apply for a new physical card from the operator, which is very inconvenient. Moreover, it is not realistic to distribute SIM cards to a huge number of Internet of Things (IoT) terminals, especially for IOT terminals that are deployed in locations that are not easily accessible to humans, and replacement of the SIM card cannot be implemented.
并且,IMSI和MSISDN的前缀是和运营商绑定的,终端在更换运营商后,终端的IMSI和MSISDN也会相应更改,该方式下,终端需要通知所有联系人,更改保存的标识以便进行MT业务。同时由于终端标识改变后,如果要对终端数据进行整合,需要进行多个标识相互映射,才能关联到同一个终端,不利于大数据时代以终端为中心的数据整合共享。In addition, the prefixes of IMSI and MSISDN are bound to the operator. After the terminal changes the operator, the IMSI and MSISDN of the terminal will also be changed accordingly. In this way, the terminal needs to notify all contacts and change the saved identifier for MT business. At the same time, after the terminal identification is changed, if the terminal data is to be integrated, multiple identifications need to be mapped to each other to be associated with the same terminal, which is not conducive to terminal-centric data integration and sharing in the era of big data.
发明内容Summary of the invention
本申请实施例提供一种利用区块链为终端提供业务的方法、装置及系统,该方法能够在终端更换运营商后,无需更改终端的标识,即可为终端提供业务。The embodiments of the present application provide a method, a device, and a system for providing services for a terminal by using a blockchain. The method can provide services for the terminal without changing the identity of the terminal after the terminal changes to an operator.
为了达到上述目的,本申请实施例提供如下技术方案:In order to achieve the foregoing objectives, the embodiments of the present application provide the following technical solutions:
第一方面,本申请实施例提供一种利用区块链为终端提供业务的方法,包括:第一运营商的区块链账户管理功能BCAMF网元接收来自终端的开户请求消息,开户请求消息包括终端的标识,开户请求消息用于请求为终端在第一运营商中开户。BCAMF网元根据终端的标识,验证终端符合开户要求。BCAMF网元向第一运营商的用户数据管理网元发送第一消息,第一消息包括终端的签约数据。In the first aspect, an embodiment of the present application provides a method for using a blockchain to provide services for a terminal, including: the first operator’s blockchain account management function BCAMF network element receives an account opening request message from the terminal, and the account opening request message includes The identification of the terminal, the account opening request message is used to request to open an account for the terminal in the first operator. The BCAMF network element verifies that the terminal meets the account opening requirements based on the terminal's identification. The BCAMF network element sends a first message to the user data management network element of the first operator, where the first message includes the subscription data of the terminal.
本申请实施例提供一种利用区块链为终端提供业务的方法,该方法第一运营商的 BCAMF网元在接收到终端的开户请求消息,以及根据该终端的标识验证终端符合开户要求后,向用户数据管理网元发送终端的签约数据。该方案中终端不用提前和第一运营商签约而是在需要的时候,选择合适的第一运营商,随时在第一运营商中开户,或者购买第一运营商的服务,这样便于实现线上实现自动为终端在第一运营商中开户,与现有技术中终端的用户需要在线下运营商所在的营业厅中实现开户相比更加便捷。且由于终端的标识一直是终端的身份,终端在更换运营商后可以保持终端的标识不便,不影响被叫(mobile terminated,MT)业务。并且,通过该方法,满足了利用区块链为终端提供业务前需要为终端开户的要求。The embodiment of the application provides a method for providing services for a terminal by using a blockchain. In this method, after the BCAMF network element of the first operator receives an account opening request message from the terminal and verifies that the terminal meets the account opening requirements according to the terminal's identity, Send the subscription data of the terminal to the user data management network element. In this solution, the terminal does not need to sign a contract with the first operator in advance, but when needed, select the appropriate first operator, open an account with the first operator at any time, or purchase the services of the first operator, which is convenient for realizing online It is more convenient to realize the automatic opening of an account for the terminal in the first operator than in the prior art when the user of the terminal needs to open an account in the business hall where the offline operator is located. In addition, since the identity of the terminal is always the identity of the terminal, it is inconvenient for the terminal to maintain the identity of the terminal after changing the operator, and does not affect the called (mobile terminated, MT) service. Moreover, this method satisfies the requirement of opening an account for the terminal before using the blockchain to provide services for the terminal.
在一种可能的实现方式中,BCAMF网元根据终端的标识,验证终端符合开户要求,包括:BCAMF网元根据终端的标识,在区块链中验证终端符合开户要求。In a possible implementation manner, the BCAMF network element verifies that the terminal meets the account opening requirement based on the terminal's identity, including: the BCAMF network element verifies in the blockchain that the terminal meets the account opening requirement based on the terminal's identity.
在一种可能的实现方式中,终端的标识用于在区块链中标识终端。In a possible implementation, the terminal identifier is used to identify the terminal in the blockchain.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元在区块链中发布第一交易信息,该第一交易信息包括终端的标识和第一运营商的信息之间的第一对应关系,第一对应关系用于表示终端在第一运营商中成功开户。这样便于参与该区块链的其他联盟成员确定终端在第一运营商开户。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element publishes first transaction information in the blockchain, the first transaction information includes one of the terminal's identity and the first operator's information The first corresponding relationship between the two, the first corresponding relationship is used to indicate that the terminal successfully opens an account in the first operator. This is convenient for other alliance members participating in the blockchain to determine that the terminal opens an account with the first operator.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元确定当前由第一运营商为终端提供服务。BCAMF网元在区块链中发布第二交易信息,其中,第二交易信息用于表示当前由第一运营商为终端提供服务。这样便于业务发起方根据终端的标识在区块链中确定为终端提供服务的第一运营商,进而确定为终端提供服务的一个或多个网元。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element determines that the first operator currently provides services for the terminal. The BCAMF network element publishes the second transaction information in the blockchain, where the second transaction information is used to indicate that the first operator currently provides services for the terminal. In this way, it is convenient for the service initiator to determine the first operator that provides services for the terminal in the blockchain according to the identification of the terminal, and then determine one or more network elements that provide services for the terminal.
在一种可能的实现方式中,BCAMF网元在区块链中发布第二交易信息,包括:BCAMF网元将区块链中记录的终端的标识和第一运营商的标识之间的第一对应关系设置为激活状态。当第一对应关系被设置为激活状态时,表示当前由第一运营商为终端提供服务。由于终端可以开通多个运营商,而在某个时刻可能由一个运营商为终端提供服务,因此,如果BCAMF网元确定当前第一运营商为终端提供服务,将第一对应关系设置为激活状态,便于业务发起方网元在与终端交互时,通过终端的标识从区块链中确定当前由第一运营商为终端提供服务。In a possible implementation manner, the BCAMF network element publishes the second transaction information in the blockchain, including: the BCAMF network element converts the first operator between the identification of the terminal recorded in the blockchain and the identification of the first operator. The corresponding relationship is set to the active state. When the first correspondence is set to the activated state, it means that the first operator currently provides services for the terminal. Since the terminal can be subscribed to multiple operators, and one operator may provide services for the terminal at a certain moment, therefore, if the BCAMF network element determines that the current first operator provides services for the terminal, the first corresponding relationship is set to the active state , It is convenient for the service initiator network element to determine from the blockchain through the terminal's identifier that the first operator currently provides services for the terminal when interacting with the terminal.
本申请所有实施例中,激活状态只是一种标识方式,其目的在于说明某特定运营商为终端提供服务,该标识方式还可以是其他方式,比如设置一个标记,用1标识该运营商为终端提供服务,本申请实施例不一一赘述。In all the embodiments of this application, the activation state is only an identification method, and its purpose is to illustrate that a specific operator provides services for the terminal. The identification method can also be other methods, such as setting a flag and using 1 to identify the operator as the terminal To provide services, the embodiments of this application will not go into details one by one.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元接收来自终端的第一指示。BCAMF网元确定当前由第一运营商为终端提供服务,包括:BCAMF网元根据第一指示,确定当前由第一运营商为终端提供服务。这样便于由终端指示由第一运营商为终端提供服务。当该第一指示携带在开户请求消息中时,可以使得BCAMF网元确定在终端附着网络之前确定终端附着的网络,比如安全部门获得用户激活的网络后,可以直接向该网络的用户面数据管理网元订阅终端的附着状态。终端附着后,用户面数据管理网元通知安全部门。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element receives the first instruction from the terminal. The BCAMF network element determining that the first operator currently provides services for the terminal includes: the BCAMF network element determines that the first operator currently provides services for the terminal according to the first instruction. In this way, it is convenient for the terminal to instruct the first operator to provide services for the terminal. When the first instruction is carried in the account opening request message, the BCAMF network element can determine the network to which the terminal is attached before the terminal attaches to the network. For example, after the security department obtains the network activated by the user, it can directly manage the user plane data of the network. The network element subscribes to the attachment status of the terminal. After the terminal is attached, the user plane data management network element notifies the security department.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元确定当前第一运营商未为终端提供服务;BCAMF网元在区块链中发布第三交易信息。其 中,第三交易信息用于表示当前第一运营商未为终端提供服务。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element determines that the current first operator does not provide services for the terminal; and the BCAMF network element publishes the third transaction information in the blockchain. Among them, the third transaction information is used to indicate that the current first operator does not provide services for the terminal.
在一种可能的实现方式中,BCAMF网元在所述区块链中发布第三交易信息包括:BCAMF网元将区块链中记录的终端的标识和第一运营商的标识之间的第一对应关系设置为非激活状态。第一对应关系设置为非激活状态表示第一运营商未为终端提供服务。由于终端可以开通多个运营商,而在某个时刻可能由一个运营商为终端提供服务,因此,如果BCAMF网元确定当前第一运营商未为终端提供服务,将第一对应关系设置为非激活状态,便于业务发起方网元在与终端交互时,通过第一对应关系为非激活状态从区块链中确定当前第一运营商未为终端提供服务。In a possible implementation, the BCAMF network element publishing the third transaction information in the blockchain includes: the BCAMF network element calculates the difference between the terminal identification recorded in the blockchain and the first operator's identification. One correspondence is set to an inactive state. Setting the first correspondence relationship to an inactive state indicates that the first operator does not provide services for the terminal. Since the terminal can subscribe to multiple operators, and one operator may provide services for the terminal at a certain moment, if the BCAMF network element determines that the current first operator does not provide services for the terminal, the first corresponding relationship is set to non- The activated state is convenient for the service initiator network element to determine from the blockchain that the current first operator does not provide services for the terminal through the inactive state of the first corresponding relationship when interacting with the terminal.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元在所述区块链中发布第四交易信息,所述第四交易信息包括验证信息。该验证信息用于表示终端符合开户要求。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element publishes fourth transaction information in the blockchain, and the fourth transaction information includes verification information. The verification information is used to indicate that the terminal meets the account opening requirements.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元向终端发送开户接受消息,开户接受消息至少包括BCAMF网元为终端分配的用户永久身份标识SUPI。这样便于终端在开户后通过SUPI注册到第一运营商的网络。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element sends an account opening acceptance message to the terminal, and the account opening acceptance message includes at least the user permanent identity SUPI allocated by the BCAMF network element to the terminal. In this way, it is convenient for the terminal to register to the network of the first operator through SUPI after opening an account.
在一种可能的实现方式中,开户接受消息还包括BCAMF网元为终端分配的以下一项或多项:GPSI、秘钥、序列号。SUPI为签约用户永久标识,由第一运营商分配,可以是IMSI,用于终端和移动网络交互作为终端唯一标识。GPSI为通用公开用户标识,由第一运营商分配,可以是MSISDN,用于终端对外可以公开的身份标识,比如终端的电话号码。秘钥:终端的秘钥,用于加解密和移动网络交互的消息。序列号:终端本地保存的安全参数的一种,用于终端和移动网络同步安全向量。In a possible implementation, the account opening acceptance message also includes one or more of the following allocated by the BCAMF network element to the terminal: GPSI, secret key, and serial number. SUPI is a permanent identity for subscribers, which is assigned by the first operator. It can be an IMSI and is used for interaction between the terminal and the mobile network as the unique identity of the terminal. GPSI is a universal public user identification, which is assigned by the first operator, and can be an MSISDN, which is used for the terminal's public identity, such as the terminal's phone number. Secret key: The secret key of the terminal, which is used to encrypt and decrypt messages that interact with the mobile network. Serial number: A type of security parameter stored locally on the terminal, used to synchronize the security vector between the terminal and the mobile network.
在一种可能的实现方式中,开户请求消息中还包括终端请求的以下信息中的任一个或多个:接入点名称APN列表和网络切片列表,APN列表包括第一运营商的一个或多个APN,网络切片列表包括第一运营商的一个或多个网络切片。In a possible implementation, the account opening request message also includes any one or more of the following information requested by the terminal: an access point name APN list and a network slice list, the APN list includes one or more of the first operator APN, the network slice list includes one or more network slices of the first operator.
在一种可能的实现方式中,签约数据包括:终端的标识,和BCAMF网元为终端分配的以下一项或多项:SUPI、通用公共签约标识GPSI、终端允许的服务列表。终端允许的服务列表包括以下一项或者多项:终端允许接入的APN列表;终端允许接入的slice列表、终端允许的服务列表。In a possible implementation manner, the subscription data includes: the identification of the terminal, and one or more of the following allocated by the BCAMF network element to the terminal: SUPI, a general public subscription identification GPSI, and a list of services allowed by the terminal. The list of services allowed by the terminal includes one or more of the following: a list of APNs allowed by the terminal; a list of slices allowed by the terminal, and a list of services allowed by the terminal.
在一种可能的实现方式中,签约数据还包括:秘钥、序列号、一个或多个APN、或、一个或多个网络切片。In a possible implementation manner, the subscription data further includes: a secret key, a serial number, one or more APNs, or, one or more network slices.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元在区块链中发布第七交易信息,第七交易信息包括以下信息中的任一个或多个:SUPI和终端的标识之间的映射关系、GPSI和终端的标识之间的映射关系。通过在区块链中发布SUPI和终端的标识之间的映射关系,便于其他运营商进行被叫(Mobile terminated,MT)路由寻址。In a possible implementation, the method provided in the embodiment of the present application further includes: the BCAMF network element publishes seventh transaction information in the blockchain, and the seventh transaction information includes any one or more of the following information: SUPI and The mapping relationship between the identities of the terminal, the mapping relationship between the GPSI and the identities of the terminal. By publishing the mapping relationship between the SUPI and the terminal's identity in the blockchain, it is convenient for other operators to perform the called (Mobile terminated, MT) routing addressing.
在一种可能的实现方式中,BCAMF网元在区块链中发布交易信息,包括:BCAMF网元向区块链处理功能BCHF网元发送交易信息,BCHF网元用于在区块链中发布交易信息,交易信息包括:第一交易信息、第二交易信息、第三交易信息、第四交易信息、第七交易信息中的任一个或多个。这样可以在BCAMF网元不具有处理区块链的功能时,由BCHF网元代理发布交易信息。或者在BCAMF网元具有处理区块链的功 能时,由BCHF网元代理发布交易信息可以降低BCAMF网元的处理负担。In a possible implementation, the BCAMF network element publishes transaction information in the blockchain, including: the BCAMF network element sends the transaction information to the blockchain processing function BCHF network element, and the BCHF network element is used to publish in the blockchain Transaction information, the transaction information includes: any one or more of the first transaction information, the second transaction information, the third transaction information, the fourth transaction information, and the seventh transaction information. In this way, when the BCAMF network element does not have the function of processing the blockchain, the BCHF network element can issue transaction information as an agent. Or when the BCAMF network element has the function of processing the blockchain, the BCHF network element agent can release the transaction information to reduce the processing burden of the BCAMF network element.
在一种可能的实现方式中,BCAMF网元根据终端的标识,验证终端符合开户要求,包括:BCAMF网元根据终端的标识在区块链中验证终端符合开户要求中的部分要求或者全部要求,比如年龄,无犯罪记录等等。In a possible implementation, the BCAMF network element verifies that the terminal meets the account opening requirements based on the terminal's identity, including: the BCAMF network element verifies in the blockchain according to the terminal's identity that the terminal meets some or all of the requirements in the account opening requirements, Such as age, no criminal record and so on.
第二方面,本申请实施例提供一种利用区块链为终端提供业务的方法,该方法包括:BCAMF网元接收来自终端的销户请求消息,销户请求消息中携带终端的标识,销户请求消息用于请求取消终端在第一运营商中的服务。BCAMF网元向用户数据管理网元发送第二消息,第二消息包括终端的标识,第二消息用于指示删除终端的签约数据。In the second aspect, an embodiment of the present application provides a method for providing services for a terminal using a blockchain. The method includes: a BCAMF network element receives an account cancellation request message from the terminal, and the account cancellation request message carries the identification of the terminal, and the account cancellation The request message is used to request cancellation of the terminal's service in the first operator. The BCAMF network element sends a second message to the user data management network element, where the second message includes the identification of the terminal, and the second message is used to instruct to delete the subscription data of the terminal.
本申请实施例提供一种利用区块链为终端提供业务的方法,这样便于BCAMF网元根据终端的销户请求消息在区块链中实现对终端的销户。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,通过该方法,满足了利用区块链为终端提供业务后需要为终端销户的要求。The embodiment of the present application provides a method for using the blockchain to provide services for the terminal, so that it is convenient for the BCAMF network element to cancel the account of the terminal in the blockchain according to the account cancellation request message of the terminal. Since the terminal's identity can identify the terminal in the blockchain, and there is no need to change the terminal's identity even after the terminal changes its operator, this method meets the requirement of canceling the account for the terminal after using the blockchain to provide services to the terminal .
在一种可能的实现方式中,BCAMF网元向用户数据管理网元发送第二消息之前,该方法还包括:BCAMF网元根据终端的标识,确定终端符合在区块链中销户的要求。通过验证避免了误操作。In a possible implementation manner, before the BCAMF network element sends the second message to the user data management network element, the method further includes: the BCAMF network element determines that the terminal meets the requirement of canceling the user in the blockchain according to the identifier of the terminal. Misoperation was avoided by verification.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元释放为终端分配的SUPI和/或GPSI。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element releases the SUPI and/or GPSI allocated to the terminal.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元向终端发送销户成功消息。这样便于终端确定已在第一运营商处成功销户。In a possible implementation manner, the method provided in the embodiment of the present application further includes: the BCAMF network element sends an account cancellation success message to the terminal. In this way, it is convenient for the terminal to determine that the account has been successfully cancelled at the first operator.
在一种可能的实现方式中,本申请实施例提供的方法还包括:BCAMF网元在区块链中发布第五交易信息,第五交易信息包括销户交易,销户交易用于表示终端已取消终端在第一运营商中的服务。通过发布销户交易便于区块链中的其他成员确定终端已取消终端在第一运营商中的服务。In a possible implementation, the method provided in this embodiment of the application further includes: the BCAMF network element publishes fifth transaction information in the blockchain. The fifth transaction information includes an account cancellation transaction, and the account cancellation transaction is used to indicate that the terminal has completed the transaction. Cancel the terminal's service in the first operator. It is convenient for other members in the blockchain to confirm that the terminal has cancelled the service of the terminal in the first operator by publishing the account cancellation transaction.
在一种可能的实现方式中,BCAMF网元在区块链中发布第五交易信息,包括:BCAMF网元向区块链处理功能BCHF网元发送第五交易信息,BCHF网元用于在区块链中第五发布交易信息。In a possible implementation, the BCAMF network element publishes the fifth transaction information in the blockchain, including: the BCAMF network element sends the fifth transaction information to the blockchain processing function BCHF network element, and the BCHF network element is used in the district The fifth issue of transaction information in the blockchain.
第二方面中关于终端的签约数据的内容可以参考第一方面中的描述,此处不再赘述。For the content of the subscription data of the terminal in the second aspect, reference may be made to the description in the first aspect, which will not be repeated here.
第三方面,本申请实施例提供的一种利用区块链为终端提供业务的方法,该方法包括:BCAMF网元接收来自终端的更新服务请求消息,更新服务请求消息中携带终端的标识,更新服务请求消息用于请求更新终端在第一运营商中的服务;BCAMF网元向用户数据管理网元发送第三消息,第三消息包括终端的标识,以及更新后的签约数据。In the third aspect, an embodiment of the present application provides a method for providing services for a terminal using a blockchain. The method includes: a BCAMF network element receives an update service request message from the terminal, the update service request message carries the identification of the terminal, and the update The service request message is used to request to update the service of the terminal in the first operator; the BCAMF network element sends a third message to the user data management network element. The third message includes the identification of the terminal and the updated subscription data.
本申请实施例提供一种利用区块链为终端提供业务的方法,这样便于BCAMF网元根据终端的更新服务请求消息实现更新终端的服务。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,通过该方法,满足了利用区块链为终端提供业务前需要为终端更新服务的要求。The embodiment of the present application provides a method for providing a service for a terminal by using a blockchain, so that it is convenient for the BCAMF network element to realize the service of updating the terminal according to the update service request message of the terminal. Since the terminal's identity can identify the terminal in the blockchain, and there is no need to change the terminal's identity even after the terminal changes its operator, this method meets the requirement of updating services for the terminal before using the blockchain to provide services to the terminal .
在一种可能的实施例中,本申请实施例提供的方法在BCAMF网元向用户数据管 理网元发送第三消息之前,还可以包括:BCAMF网元根据终端的标识在区块链中确定终端符合更新服务要求。In a possible embodiment, before the BCAMF network element sends the third message to the user data management network element, the method provided in the embodiment of the present application may further include: the BCAMF network element determines the terminal in the blockchain according to the terminal identifier Meet the update service requirements.
在一种可能的实施例中,本申请实施例提供的方法还可以包括:BCAMF网元向终端发送更新成功消息。该更新成功消息用于表示已成功更新终端的服务。In a possible embodiment, the method provided in the embodiment of the present application may further include: the BCAMF network element sends an update success message to the terminal. The update success message is used to indicate that the service of the terminal has been successfully updated.
在一种可能的实施例中,本申请实施例提供的方法还可以包括:BCAMF网元在区块链中发布更新服务交易。该更新服务交易包括终端在第一运营商中更新后的服务。In a possible embodiment, the method provided in the embodiment of the present application may further include: the BCAMF network element publishes the update service transaction in the blockchain. The updated service transaction includes the updated service of the terminal in the first operator.
在一种可能的实施例中,本申请实施例提供的方法还可以包括:BCAMF网元更新终端的APN列表或网络切片列表。In a possible embodiment, the method provided in the embodiment of the present application may further include: the BCAMF network element updates the APN list or the network slice list of the terminal.
在一种可能的实施例中,更新服务请求消息中携带终端请求删除、增加的APN或网络切片。In a possible embodiment, the update service request message carries the APN or network slice that the terminal requests to delete or add.
在一种可能的实施例中,本申请实施例提供的方法还包括:BCAMF网元在区块链中发布第六交易信息,第六交易信息包括终端在第一运营商中更新后的服务。In a possible embodiment, the method provided in the embodiment of the present application further includes: the BCAMF network element publishes sixth transaction information in the blockchain, and the sixth transaction information includes the updated service of the terminal in the first operator.
在一种可能的实现方式中,BCAMF网元在区块链中发布第六交易信息,包括:BCAMF网元向区块链处理功能BCHF网元发送第六交易信息,BCHF网元用于在区块链中第六发布交易信息。In a possible implementation, the BCAMF network element publishes the sixth transaction information in the blockchain, including: the BCAMF network element sends the sixth transaction information to the blockchain processing function BCHF network element, and the BCHF network element is used in the district The sixth issue of transaction information in the block chain.
第三方面中关于终端的签约数据的内容可以参考第一方面中的描述,此处不再赘述。For the content of the subscription data of the terminal in the third aspect, reference may be made to the description in the first aspect, which will not be repeated here.
第四方面,本申请实施例提供一种利用区块链为终端提供业务的方法,包括:第一网元向用户面数据管理网元发送第一消息,第一消息用于表示将第一网元注册为向终端提供服务的网元,第一消息包括终端的标识或者SUPI;第一网元和用户面数据管理网元属于第一运营商;第一网元接收来自用户面数据管理网元的指示注册成功的响应消息;第一网元在区块链中发布为终端提供服务的第一网元的信息的第一交易信息。In a fourth aspect, an embodiment of the present application provides a method for using a blockchain to provide services to a terminal, including: a first network element sends a first message to a user plane data management network element, the first message is used to indicate that the first network The element is registered as a network element that provides services to the terminal. The first message includes the identification or SUPI of the terminal; the first network element and the user plane data management network element belong to the first operator; the first network element receives data from the user plane data management network element The response message indicating successful registration; the first network element publishes the first transaction information of the information of the first network element that provides services for the terminal in the blockchain.
本申请实施例提供一种利用区块链为终端提供业务的方法,通过第一网元向用户面数据管理网元发送第一消息,以将第一网元在用户面数据管理网元处注册为向终端提供服务的网元,这样如果第一网元接收到来自用户面数据管理网元的指示注册成功的响应消息,便在区块链中发布为终端提供服务的第一网元的信息的第一交易信息。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,这样如果终端更换了运营商,可以使得业务发起方网元从区块链中获取为终端提供服务的第一网元的信息,进而通过与为终端提供服务的网元交互为终端提供业务。通过该方法,满足了终端在更换运营商的情况下,业务发起方网元为终端提供业务前,利用区块链需要确定为终端提供服务的一个或多个网元的要求。The embodiment of the application provides a method for providing services for a terminal by using a blockchain. A first message is sent to a user plane data management network element through a first network element to register the first network element at the user plane data management network element. A network element that provides services to the terminal. In this way, if the first network element receives a response message from the user plane data management network element indicating that the registration is successful, it will publish the information of the first network element that provides services to the terminal in the blockchain The first transaction information. Since the terminal's identity can identify the terminal in the blockchain, and even after the terminal changes its operator, there is no need to change the terminal's identity. In this way, if the terminal changes its operator, the service initiator network element can be obtained from the blockchain as The information of the first network element that the terminal provides services, and then provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of using the blockchain to determine one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
在一种可能的实施例中,本申请实施例提供的方法还可以包括:第一网元向用户面数据管理网元发送第二消息,第二消息用于表示取消第一网元作为向终端提供服务的网元;第一网元接收来自用户面数据管理网元的指示取消成功的响应消息。第一网元在区块链中发布第二交易信息,第二交易信息包括标记为终端提供服务的第一网元的信息为无效。这样当终端从第一运营商的网络中分离时,便于呼叫终端的网元确定第一网元不可用。In a possible embodiment, the method provided in the embodiment of the present application may further include: the first network element sends a second message to the user plane data management network element, and the second message is used to indicate that the first network element is cancelled as a terminal The network element that provides the service; the first network element receives a response message from the user plane data management network element indicating that the cancellation is successful. The first network element publishes the second transaction information in the blockchain, and the second transaction information includes the information marked as invalid for the first network element that provides the service for the terminal. In this way, when the terminal is separated from the network of the first operator, it is convenient for the network element calling the terminal to determine that the first network element is unavailable.
在一种可能的实施例中,第一网元在区块链中发布第一交易信息,包括:第一网元向BCHF网元发送第一交易信息,BCHF网元用于将第一交易信息发布在区块链中。In a possible embodiment, the first network element publishing the first transaction information in the blockchain includes: the first network element sends the first transaction information to the BCHF network element, and the BCHF network element is used to transfer the first transaction information Publish on the blockchain.
在一种可能的实施例中,第一网元在区块链中发布第二交易信息,包括:第一网元向BCHF网元发送第二交易信息,BCHF网元用于将第二交易信息发布在区块链中。In a possible embodiment, the first network element publishing the second transaction information in the blockchain includes: the first network element sends the second transaction information to the BCHF network element, and the BCHF network element is used to transfer the second transaction information Publish on the blockchain.
在一种可能的实施例中,第一网元为移动管理网元、会话管理网元或服务呼叫会话控制功能S-CSCF网元中的任一个或多个。In a possible embodiment, the first network element is any one or more of a mobility management network element, a session management network element, or a serving call session control function S-CSCF network element.
第五方面,本申请实施例提供一种利用区块链为终端提供业务的方法,包括:用户数据管理网元接收来自第一网元的第一消息,第一消息用于表示将第一网元注册为向终端提供服务的网元,第一消息包括终端的标识或SUPI。第一网元和用户面数据管理网元属于第一运营商。用户数据管理网元在区块链中发布第一交易信息,其中,第一交易信息用于表示当前由第一运营商为终端提供服务。In a fifth aspect, an embodiment of the present application provides a method for using a blockchain to provide services for a terminal, including: a user data management network element receives a first message from a first network element, and the first message is used to indicate that the first network The element is registered as a network element that provides services to the terminal, and the first message includes the identification or SUPI of the terminal. The first network element and the user plane data management network element belong to the first operator. The user data management network element publishes the first transaction information in the blockchain, where the first transaction information is used to indicate that the first operator currently provides services for the terminal.
本申请实施例提供一种利用区块链为终端提供业务的方法,通过第一网元向用户面数据管理网元发送第一消息,以将第一网元在用户面数据管理网元处注册为向终端提供服务的网元,这样用户面数据管理网元便可以确定终端在第一运营商中注册,也即终端选择第一运营商为终端提供服务,之后用户面数据管理网元在区块链中发布用于表示当前由第一运营商为终端提供服务的第一交易信息。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,这样即使终端更换了运营商,可以使得业务发起方网元根据终端的标识或SUPI从区块链中确定当前为终端提供服务的运营商为第一运营商。进而后续通过第一运营商中为终端提供服务的网元交互为终端提供业务。该方法通过用户面数据管理网元确定终端在第一运营商网络注册后,向区块链中写入第一运营商的信息。该方案虽然不能提前获得为终端提供服务的网络,但可以避免无效的签约数据激活状态,比如终端激活了某运营商的签约数据,但最终没有在该运营商注册会导致数据出错。The embodiment of the application provides a method for providing services for a terminal by using a blockchain. A first message is sent to a user plane data management network element through a first network element to register the first network element at the user plane data management network element. In order to provide services to the terminal, the user plane data management network element can determine that the terminal is registered with the first operator, that is, the terminal selects the first operator to provide services for the terminal, and then the user plane data management network element is in the area The first transaction information used to represent the current service provided by the first operator for the terminal is published in the block chain. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave In the blockchain, the operator currently providing services to the terminal is determined as the first operator. Then, the network element that provides services for the terminal in the first operator interacts with the terminal to provide services for the terminal. In this method, after the user plane data management network element determines that the terminal is registered on the first operator's network, the information of the first operator is written into the blockchain. Although this solution cannot obtain the network that provides services for the terminal in advance, it can avoid invalid subscription data activation status. For example, the terminal activates the subscription data of a certain operator, but ultimately fails to register with the operator, which will result in data errors.
在一种可能的实施例中,用户数据管理网元在区块链中发布第一交易信息,包括:用户数据管理网元向BCHF网元发送第一交易信息,BCHF网元用于将第一交易信息发布在区块链中。In a possible embodiment, the user data management network element publishing the first transaction information in the blockchain includes: the user data management network element sends the first transaction information to the BCHF network element, and the BCHF network element is used to transfer the first transaction information to the BCHF network element. The transaction information is published in the blockchain.
在一种可能的实施例中,本申请实施例提供的方法还可以包括:用户数据管理网元接收来自第一网元的第二消息,第二消息用于表示取消第一网元作为向终端提供服务的网元。用户数据管理网元在区块链中发布第二交易信息,第二交易信息包括以下任一项或多个:标记为终端提供服务的第一网元的信息为无效,或,将当前由第一运营商为终端提供服务的记录设置为非激活状态。In a possible embodiment, the method provided by the embodiment of the present application may further include: the user data management network element receives a second message from the first network element, and the second message is used to indicate that the first network element is cancelled as a terminal The network element that provides the service. The user data management network element publishes the second transaction information in the blockchain. The second transaction information includes any one or more of the following: the information of the first network element marked as invalid for the terminal to provide services, or the current transaction information A record of the service provided by the operator for the terminal is set to an inactive state.
在一种可能的实施例中,用户数据管理网元在区块链中发布第二交易信息,包括:用户数据管理网元向BCHF网元发送第二交易信息,BCHF网元用于将第二交易信息发布在区块链中。In a possible embodiment, the user data management network element publishing the second transaction information in the blockchain includes: the user data management network element sends the second transaction information to the BCHF network element, and the BCHF network element is used to transfer the second transaction information to the BCHF network element. The transaction information is published in the blockchain.
在一种可能的实施例中,第一网元为移动管理网元、会话管理网元或服务呼叫会话控制功能S-CSCF网元中的任一个或多个。In a possible embodiment, the first network element is any one or more of a mobility management network element, a session management network element, or a serving call session control function S-CSCF network element.
第六方面,本申请实施例提供一种利用区块链为终端提供业务的方法,包括:BCHF网元接收来自业务发起网元的第一请求消息,第一请求消息包括终端的标识或SUPI,第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;BCHF网元根据终端的标识,从区块链中获取第一信息;BCHF网元向业务发起网元发送第一信息。In a sixth aspect, an embodiment of the present application provides a method for using a blockchain to provide a service for a terminal, which includes: a BCHF network element receives a first request message from a service initiating network element, the first request message includes the terminal’s identity or SUPI, The first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal; the BCHF network element obtains the first information from the blockchain according to the identification of the terminal ; The BCHF network element sends the first information to the service initiating network element.
本申请实施例提供一种利用区块链为终端提供业务的方法,该方法通过BCHF网元基于业务发起网元的第一请求消息,从区块链中获取第一信息。BCHF网元向业务发起网元发送第一信息。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,这样即使终端更换了运营商,可以使得业务发起方网元根据终端的标识或SUPI从区块链中确定当前为终端提供服务的一个或多个网元。进而业务发起方网元通过与为终端提供服务的网元交互为终端提供业务。通过该方法,满足了终端在更换运营商的情况下,业务发起方网元为终端提供业务前,需要确定为终端提供服务的一个或多个网元的要求。The embodiment of the present application provides a method for using a blockchain to provide a service for a terminal. The method uses a BCHF network element to initiate a first request message of the network element based on the service to obtain first information from the blockchain. The BCHF network element sends the first information to the service initiating network element. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave One or more network elements that currently provide services to the terminal are determined in the blockchain. Furthermore, the service initiator network element provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of determining one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
在一种可能的实施例中,第一请求消息携带第一指示,第一指示用于BCHF网元确定业务发起网元请求的为终端提供服务的一个或多个网元的信息。In a possible embodiment, the first request message carries a first indication, and the first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
在一种可能的实施例中,第一信息是:为终端提供服务的一个或多个网元的信息。这样便于业务发起网元根据一个或多个网元的信息确定当前为终端提供服务的一个或多个网元。In a possible embodiment, the first information is: information of one or more network elements that provide services for the terminal. In this way, it is convenient for the service initiating network element to determine one or more network elements currently providing services for the terminal according to the information of one or more network elements.
在一种可能的实施例中,第一指示用于指示以下信息中的任一个或多个:业务发起网元需要与终端通信的业务类型、或者业务发起网元期待的网元类型、或者业务发起网元需要的网元名称。In a possible embodiment, the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
在一种可能的实施例中,第一请求消息携带用于请求为终端提供服务的运营商的信息的第二指示。In a possible embodiment, the first request message carries a second indication for requesting information of an operator that provides services for the terminal.
在一种可能的实施例中,第一信息是:当前为终端提供服务的运营商的信息。这样便于业务发起网元基于为终端提供服务的运营商的信息,确定当前为终端提供服务的一个或多个网元。In a possible embodiment, the first information is: information of an operator currently providing services for the terminal. In this way, it is convenient for the service initiating network element to determine one or more network elements currently providing services for the terminal based on the information of the operator that provides services for the terminal.
第七方面,本申请实施例提供一种利用区块链为终端提供业务的方法,包括:业务发起网元根据终端的标识,从区块链中获取第一信息。该第一信息用于确定为所述终端提供服务的一个或多个网元。业务发起网元根据所述第一信息,确定为所述终端提供服务的一个或多个网元;所述业务发起网元和所述一个或多个网元中的任一网元交互,为所述终端提供业务。In a seventh aspect, an embodiment of the present application provides a method for using a blockchain to provide a service for a terminal, which includes: a service initiating network element obtains first information from the blockchain according to an identifier of the terminal. The first information is used to determine one or more network elements that provide services for the terminal. The service initiating network element determines one or more network elements that provide services for the terminal according to the first information; the service initiating network element interacts with any one of the one or more network elements, as The terminal provides services.
本申请实施例提供一种利用区块链为终端提供业务的方法,该方法通过业务发起网元从区块链中获取用于确定为所述终端提供服务的一个或多个网元的第一信息。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,这样即使终端更换了运营商,可以使得业务发起方网元根据终端的标识或SUPI从区块链中确定当前为终端提供服务的一个或多个网元。进而业务发起方网元通过与为终端提供服务的网元交互为终端提供业务。通过该方法,满足了终端在更换运营商的情况下,业务发起方网元为终端提供业务前,需要确定为终端提供服务的一个或多个网元的要求。The embodiment of the present application provides a method for using a blockchain to provide services for a terminal. The method obtains a first network element from the blockchain for determining one or more network elements that provide services for the terminal through a service initiating network element. information. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave One or more network elements that currently provide services to the terminal are determined in the blockchain. Furthermore, the service initiator network element provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of determining one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
在一种可能的实施例中,业务发起网元根据终端的标识,从区块链中获取第一信息,包括:向区块链处理功能BCHF网元发送第一请求消息,所述第一请求消息包括所述终端的标识,所述第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;业务发起网元接收来自所述BCHF的所述第一信息。In a possible embodiment, the service initiating network element obtains the first information from the blockchain according to the identifier of the terminal, including: sending a first request message to the blockchain processing function BCHF network element, the first request The message includes the identification of the terminal, the first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal; The first information of the BCHF.
在一种可能的实施例中,第一信息包括当前为终端提供服务的运营商的信息,业务发起网元根据第一信息,确定为终端提供服务的一个或多个网元。业务发起网元根据运营商的信息,确定一个或多个网元的信息。In a possible embodiment, the first information includes information of an operator that currently provides services for the terminal, and the service initiating network element determines one or more network elements that provide services for the terminal according to the first information. The service initiating network element determines the information of one or more network elements according to the information of the operator.
在一种可能的实施例中,第一信息包括为终端提供服务的一个或多个网元的信息。In a possible embodiment, the first information includes information about one or more network elements that provide services for the terminal.
在一种可能的实施例中,第一请求消息携带第一指示,第一指示用于BCHF网元确定业务发起网元请求的为终端提供服务的一个或多个网元的信息。In a possible embodiment, the first request message carries a first indication, and the first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
在一种可能的实施例中,第一指示用于指示以下信息中的任一个或多个:业务发起网元需要与终端通信的业务类型、或者业务发起网元期待的网元类型、或者业务发起网元需要的网元名称。In a possible embodiment, the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
在一种可能的实施例中,第一请求消息携带第二指示。该第二指示用于请求为终端提供服务的运营商的信息。In a possible embodiment, the first request message carries the second indication. The second indication is used to request information about an operator that provides services for the terminal.
第八方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第一方面或第一方面的任意可能的实现方式中的方法,因此也能实现第一方面或第一方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为BCAMF网元,也可以为可以支持BCAMF网元实现第一方面或第一方面的任意可能的实现方式中的方法的装置,例如应用于BCAMF网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In an eighth aspect, the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain can implement the method in the first aspect or any possible implementation of the first aspect, Therefore, the beneficial effects of the first aspect or any possible implementation manner of the first aspect can also be achieved. The device that uses the blockchain to provide services for the terminal may be a BCAMF network element, or a device that can support the BCAMF network element to implement the first aspect or any possible implementation method of the first aspect, for example, it is applied to a BCAMF network. Yuan in the chip. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,包括:通信单元,用于接收来自终端的开户请求消息,开户请求消息包括终端的标识,开户请求消息用于请求为终端在第一运营商中开户。处理单元,用于根据终端的标识,验证终端符合开户要求。通信单元,用于向第一运营商的用户数据管理网元发送第一消息,第一消息包括终端的签约数据。As an example, an embodiment of the present application provides an apparatus for providing services for a terminal by using a blockchain, including: a communication unit for receiving an account opening request message from the terminal, the account opening request message includes the identification of the terminal, and the account opening request message is used for It is requested to open an account in the first operator for the terminal. The processing unit is used to verify that the terminal meets the account opening requirements according to the terminal's identification. The communication unit is configured to send a first message to a user data management network element of the first operator, where the first message includes subscription data of the terminal.
在一种可能的实现方式中,处理单元,用于根据终端的标识,在区块链中验证终端符合开户要求。In a possible implementation manner, the processing unit is configured to verify in the blockchain that the terminal meets the account opening requirements according to the terminal's identity.
在一种可能的实现方式中,终端的标识用于在区块链中标识终端。In a possible implementation, the terminal identifier is used to identify the terminal in the blockchain.
在一种可能的实现方式中,处理单元,还用于在区块链中发布第一交易信息,该第一交易信息包括终端的标识和第一运营商的信息之间的第一对应关系,第一对应关系用于表示终端在第一运营商中成功开户。这样便于参与该区块链的其他联盟成员确定终端在第一运营商开户。In a possible implementation, the processing unit is further configured to publish first transaction information in the blockchain, where the first transaction information includes the first correspondence between the terminal's identity and the information of the first operator, The first correspondence is used to indicate that the terminal successfully opens an account in the first operator. This is convenient for other alliance members participating in the blockchain to determine that the terminal opens an account with the first operator.
在一种可能的实现方式中,处理单元,还用于确定当前由第一运营商为终端提供服务。处理单元,还用于在区块链中发布第二交易信息,其中,第二交易信息用于表示当前由第一运营商为终端提供服务。这样便于业务发起方根据终端的标识在区块链中确定为终端提供服务的第一运营商,进而确定为终端提供服务的一个或多个网元。In a possible implementation manner, the processing unit is further configured to determine that the first operator currently provides services for the terminal. The processing unit is further configured to publish second transaction information in the blockchain, where the second transaction information is used to indicate that the first operator currently provides services for the terminal. In this way, it is convenient for the service initiator to determine the first operator that provides services for the terminal in the blockchain according to the identification of the terminal, and then determine one or more network elements that provide services for the terminal.
需要特别说明的是,第一交易信息和第二交易信息可以是同一交易,在同一个交易中发布,比如终端标识,第一运营商标识,第一运营商服务终端的标记。当第一交易信息和第二交易信息可以同一交易时,即终端申请开户的同时指示激活该运营商的情况。It should be particularly noted that the first transaction information and the second transaction information may be the same transaction and published in the same transaction, such as the terminal identification, the first operator identification, and the first operator's service terminal mark. When the first transaction information and the second transaction information can be the same transaction, that is, when the terminal applies for opening an account, it indicates the activation of the operator.
在一种可能的实现方式中,处理单元,用于将区块链中记录的终端的标识和第一运营商的标识之间的第一对应关系设置为激活状态。当第一对应关系被设置为激活状 态时,表示当前由第一运营商为终端提供服务。In a possible implementation manner, the processing unit is configured to set the first correspondence between the identification of the terminal and the identification of the first operator recorded in the blockchain to an active state. When the first correspondence is set to the activated state, it means that the first operator currently provides services for the terminal.
在一种可能的实现方式中,通信单元,还用于接收来自终端的第一指示。处理单元,具体用于根据第一指示,确定当前由第一运营商为终端提供服务。In a possible implementation manner, the communication unit is further configured to receive the first instruction from the terminal. The processing unit is specifically configured to determine, according to the first instruction, that the first operator currently provides services for the terminal.
在一种可能的实现方式中,处理单元,还用于确定当前第一运营商未为终端提供服务,以及用于在区块链中发布第三交易信息。其中,第三交易信息用于表示当前第一运营商未为终端提供服务。In a possible implementation, the processing unit is also used to determine that the current first operator does not provide services for the terminal, and used to publish the third transaction information in the blockchain. Among them, the third transaction information is used to indicate that the current first operator does not provide services for the terminal.
在一种可能的实现方式中,处理单元,用于将区块链中记录的终端的标识和第一运营商的标识之间的第一对应关系设置为非激活状态。第一对应关系设置为非激活状态表示第一运营商未为终端提供服务。由于终端可以开通多个运营商,而在某个时刻可能由一个运营商为终端提供服务,因此,如果BCAMF网元确定当前第一运营商未为终端提供服务,将第一对应关系设置为非激活状态,便于业务发起方网元在与终端交互时,通过第一对应关系为非激活状态从区块链中确定当前第一运营商未为终端提供服务。In a possible implementation manner, the processing unit is configured to set the first correspondence between the identification of the terminal and the identification of the first operator recorded in the blockchain to an inactive state. Setting the first correspondence relationship to an inactive state indicates that the first operator does not provide services for the terminal. Since the terminal can subscribe to multiple operators, and one operator may provide services for the terminal at a certain moment, if the BCAMF network element determines that the current first operator does not provide services for the terminal, the first corresponding relationship is set to non- The activated state is convenient for the service initiator network element to determine from the blockchain that the current first operator does not provide services for the terminal through the inactive state of the first corresponding relationship when interacting with the terminal.
在一种可能的实现方式中,处理单元,还用于在所述区块链中发布第四交易信息,所述第四交易信息包括验证信息。该验证信息用于表示终端符合开户要求。In a possible implementation manner, the processing unit is further configured to publish fourth transaction information in the blockchain, where the fourth transaction information includes verification information. The verification information is used to indicate that the terminal meets the account opening requirements.
在一种可能的实现方式中,通信单元,还用于向终端发送开户接受消息,开户接受消息至少包括BCAMF网元为终端分配的用户永久身份标识SUPI。这样便于终端在开户后通过SUPI注册到第一运营商的网络。In a possible implementation manner, the communication unit is further configured to send an account opening acceptance message to the terminal, and the account opening acceptance message includes at least the user permanent identity SUPI allocated by the BCAMF network element to the terminal. In this way, it is convenient for the terminal to register to the network of the first operator through SUPI after opening an account.
在一种可能的实现方式中,开户接受消息还包括BCAMF网元为终端分配的以下一项或多项:GPSI、秘钥、序列号。SUPI为签约用户永久标识,由第一运营商分配,可以是IMSI,用于终端和移动网络交互作为终端唯一标识。GPSI为通用公开用户标识,由第一运营商分配,可以是MSISDN,用于终端对外可以公开的身份标识,比如终端的电话号码。秘钥:终端的秘钥,用于加解密和移动网络交互的消息。序列号:终端本地保存的安全参数的一种,用于终端和移动网络同步安全向量。In a possible implementation, the account opening acceptance message also includes one or more of the following allocated by the BCAMF network element to the terminal: GPSI, secret key, and serial number. SUPI is a permanent identity for subscribers, which is assigned by the first operator. It can be an IMSI and is used for interaction between the terminal and the mobile network as the unique identity of the terminal. GPSI is a universal public user identification, which is assigned by the first operator, and can be an MSISDN, which is used for the terminal's public identity, such as the terminal's phone number. Secret key: The secret key of the terminal, which is used to encrypt and decrypt messages that interact with the mobile network. Serial number: A type of security parameter stored locally on the terminal, used to synchronize the security vector between the terminal and the mobile network.
在一种可能的实现方式中,开户请求消息中还包括终端请求的以下信息中的任一个或多个:接入点名称APN列表和网络切片列表,APN列表包括第一运营商的一个或多个APN,网络切片列表包括第一运营商的一个或多个网络切片。In a possible implementation, the account opening request message also includes any one or more of the following information requested by the terminal: an access point name APN list and a network slice list, the APN list includes one or more of the first operator APN, the network slice list includes one or more network slices of the first operator.
在一种可能的实现方式中,签约数据包括:终端的标识,和BCAMF网元为终端分配的以下一项或多项:SUPI、通用公共签约标识GPSI、终端允许的服务列表。终端允许的服务列表包括以下一项或者多项:终端允许接入的APN列表;终端允许接入的slice列表、终端允许的服务列表。In a possible implementation manner, the subscription data includes: the identification of the terminal, and one or more of the following allocated by the BCAMF network element to the terminal: SUPI, a general public subscription identification GPSI, and a list of services allowed by the terminal. The list of services allowed by the terminal includes one or more of the following: a list of APNs allowed by the terminal; a list of slices allowed by the terminal, and a list of services allowed by the terminal.
在一种可能的实现方式中,签约数据还包括:秘钥、序列号、一个或多个APN、或、一个或多个网络切片。In a possible implementation manner, the subscription data further includes: a secret key, a serial number, one or more APNs, or, one or more network slices.
在一种可能的实现方式中,处理单元,还用于在区块链中发布第七交易信息,第七交易信息包括以下信息中的任一个或多个:SUPI和终端的标识之间的映射关系、GPSI和终端的标识之间的映射关系。In a possible implementation, the processing unit is also used to publish seventh transaction information in the blockchain, the seventh transaction information includes any one or more of the following information: the mapping between the SUPI and the terminal's identity Relationship, mapping relationship between GPSI and terminal identification.
在一种可能的实现方式中,处理单元,用于通过通信单元向区块链处理功能BCHF网元发送交易信息,BCHF网元用于在区块链中发布交易信息,交易信息包括:第一交易信息、第二交易信息、第三交易信息、第四交易信息、第七交易信息中的任一个 或多个。这样可以在BCAMF网元不具有处理区块链的功能时,由BCHF网元代理发布交易信息。或者在BCAMF网元具有处理区块链的功能时,由BCHF网元代理发布交易信息可以降低BCAMF网元的处理负担。In a possible implementation, the processing unit is used to send transaction information to the blockchain processing function BCHF network element through the communication unit, and the BCHF network element is used to publish transaction information in the blockchain. The transaction information includes: first Any one or more of transaction information, second transaction information, third transaction information, fourth transaction information, and seventh transaction information. In this way, when the BCAMF network element does not have the function of processing the blockchain, the BCHF network element can issue transaction information as an agent. Or, when the BCAMF network element has the function of processing the blockchain, the BCHF network element agent issuing transaction information can reduce the processing burden of the BCAMF network element.
在一种可能的实现方式中,处理单元,具体用于根据终端的标识在区块链中验证终端符合开户要求中的部分要求或者全部要求,比如年龄,无犯罪记录等等。In a possible implementation, the processing unit is specifically configured to verify in the blockchain that the terminal meets some or all of the requirements in the account opening requirements, such as age, no criminal record, etc., according to the terminal's identity.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是BCAMF网元,也可以是BCAMF网元内的芯片。当该利用区块链为终端提供业务的装置是BCAMF网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该BCAMF网元实现第一方面或第一方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是BCAMF网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该BCAMF网元实现第一方面或第一方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该BCAMF网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。As another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain may be a BCAMF network element or a chip in the BCAMF network element. When the device that uses the blockchain to provide services to the terminal is a BCAMF network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or include a Or multiple modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit, so that the BCAMF network element implements the first aspect or any one of the possible implementations of the first aspect described in the method for providing services for the terminal by using the blockchain. When the device that uses the blockchain to provide services to the terminal is a chip in a BCAMF network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit, so that the BCAMF network element implements the first aspect or any one of the possible implementations of the first aspect described in a method for using a blockchain to provide services to the terminal The storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCAMF network element .
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第九方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第二方面或第二方面的任意可能的实现方式中的方法,因此也能实现第二方面或第二方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为BCAMF网元,也可以为可以支持BCAMF网元实现第二方面或第二方面的任意可能的实现方式中的方法的装置,例如应用于BCAMF网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In a ninth aspect, this application provides an apparatus for providing services for terminals using a blockchain. The apparatus for providing services for terminals using a blockchain can implement the second aspect or any possible implementation method of the second aspect, Therefore, the beneficial effects of the second aspect or any possible implementation manner of the second aspect can also be achieved. The device that uses the blockchain to provide services to the terminal may be a BCAMF network element, or a device that can support the BCAMF network element to implement the second aspect or any possible implementation method of the second aspect, for example, it is applied to a BCAMF network. Yuan in the chip. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,包括:通信单元,用于接收来自终端的销户请求消息,销户请求消息中携带终端的标识,销户请求消息用于请求取消终端在第一运营商中的服务。通信单元,用于向用户数据管理网元发送第二消息,第二消息包括终端的标识,第二消息用于指示删除终端的签约数据。As an example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain, including: a communication unit, configured to receive an account cancellation request message from the terminal, the account cancellation request message carries the identification of the terminal, and the account cancellation The request message is used to request cancellation of the terminal's service in the first operator. The communication unit is configured to send a second message to the user data management network element, the second message includes the identification of the terminal, and the second message is used to instruct to delete the subscription data of the terminal.
在一种可能的实现方式中,该通信装置还可以包括:处理单元,用于根据终端的标识,确定终端符合在区块链中销户的要求。通过验证避免了误操作。In a possible implementation manner, the communication device may further include: a processing unit, configured to determine, according to the identification of the terminal, that the terminal meets the requirement of canceling the account in the blockchain. Misoperation was avoided by verification.
在一种可能的实现方式中,处理单元,还用于释放为终端分配的SUPI和/或GPSI。In a possible implementation manner, the processing unit is also used to release SUPI and/or GPSI allocated for the terminal.
在一种可能的实现方式中,通信单元,还用于向终端发送销户成功消息。In a possible implementation manner, the communication unit is also used to send an account cancellation success message to the terminal.
在一种可能的实现方式中,处理单元,还用于在区块链中发布第五交易信息,第五交易信息包括销户交易,销户交易用于表示终端已取消终端在第一运营商中的服务。通过发布销户交易便于区块链中的其他成员确定终端已取消终端在第一运营商中的服 务。In a possible implementation, the processing unit is also used to publish fifth transaction information in the blockchain. The fifth transaction information includes an account cancellation transaction. The account cancellation transaction is used to indicate that the terminal has cancelled the terminal’s presence at the first operator. In the service. By publishing the account cancellation transaction, it is convenient for other members in the blockchain to determine that the terminal has cancelled the service of the terminal in the first operator.
在一种可能的实现方式中,处理单元,还用于通过通信单元向区块链处理功能BCHF网元发送第五交易信息,BCHF网元用于在区块链中第五发布交易信息。In a possible implementation manner, the processing unit is further configured to send the fifth transaction information to the blockchain processing function BCHF network element through the communication unit, and the BCHF network element is used to publish the transaction information fifth in the blockchain.
第九方面中关于终端的签约数据的内容可以参考第一方面中的描述,此处不再赘述。For the content of the subscription data of the terminal in the ninth aspect, reference may be made to the description in the first aspect, which will not be repeated here.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是BCAMF网元,也可以是BCAMF网元内的芯片。当该利用区块链为终端提供业务的装置是BCAMF网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该BCAMF网元实现第二方面或第二方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是BCAMF网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该BCAMF网元实现第二方面或第二方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该BCAMF网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。As another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain may be a BCAMF network element or a chip in the BCAMF network element. When the device that uses the blockchain to provide services to the terminal is a BCAMF network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or include a Or multiple modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit, so that the BCAMF network element implements the second aspect or any one of the possible implementations of the second aspect described in the method for providing services for the terminal by using the blockchain. When the device that uses the blockchain to provide services to the terminal is a chip in a BCAMF network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit to enable the BCAMF network element to implement the second aspect or any one of the possible implementations of the second aspect described in a method for providing services for the terminal using the blockchain The storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCAMF network element .
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第十方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第三方面或第三方面的任意可能的实现方式中的方法,因此也能实现第三方面或第三方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为BCAMF网元,也可以为可以支持BCAMF网元实现第三方面或第三方面的任意可能的实现方式中的方法的装置,例如应用于BCAMF网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In a tenth aspect, this application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain can implement the third aspect or any possible implementation method of the third aspect, Therefore, the beneficial effects of the third aspect or any possible implementation manner of the third aspect can also be achieved. The device that uses the blockchain to provide services to the terminal may be a BCAMF network element, or a device that can support the BCAMF network element to implement the third aspect or any possible implementation method of the third aspect, for example, it is applied to a BCAMF network. Yuan in the chip. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供的一种利用区块链为终端提供业务的装置,该装置包括:通信单元,用于接收来自终端的更新服务请求消息,更新服务请求消息中携带终端的标识,更新服务请求消息用于请求更新终端在第一运营商中的服务;通信单元,用于向用户数据管理网元发送第三消息,第三消息包括终端的标识,以及更新后的签约数据。As an example, an apparatus for providing services for a terminal using a blockchain provided in an embodiment of the present application includes: a communication unit for receiving an update service request message from the terminal, and the update service request message carries an identification of the terminal , The update service request message is used to request to update the service of the terminal in the first operator; the communication unit is used to send a third message to the user data management network element, the third message includes the identification of the terminal and the updated subscription data.
在一种可能的实施例中,处理单元,用于根据终端的标识在区块链中确定终端符合更新服务要求。In a possible embodiment, the processing unit is configured to determine in the block chain that the terminal meets the update service requirement according to the identification of the terminal.
在一种可能的实施例中,通信单元,还用于向终端发送更新成功消息。该更新成功消息用于表示已成功更新终端的服务。In a possible embodiment, the communication unit is further configured to send an update success message to the terminal. The update success message is used to indicate that the service of the terminal has been successfully updated.
在一种可能的实施例中,处理单元,还用于在区块链中发布更新服务交易。该更新服务交易包括终端在第一运营商中更新后的服务。In a possible embodiment, the processing unit is also used to publish update service transactions in the blockchain. The updated service transaction includes the updated service of the terminal in the first operator.
在一种可能的实施例中,处理单元,还用于更新终端的APN列表或网络切片列表。In a possible embodiment, the processing unit is further configured to update the APN list or the network slice list of the terminal.
在一种可能的实施例中,更新服务请求消息中携带终端请求删除、增加的APN或网络切片。In a possible embodiment, the update service request message carries the APN or network slice that the terminal requests to delete or add.
在一种可能的实施例中,处理单元,还用于在区块链中发布第六交易信息,第六交易信息包括终端在第一运营商中更新后的服务。In a possible embodiment, the processing unit is further configured to publish sixth transaction information in the blockchain, where the sixth transaction information includes the updated service of the terminal in the first operator.
在一种可能的实现方式中,处理单元,用于通过通信单元向区块链处理功能BCHF网元发送第六交易信息,BCHF网元用于在区块链中第六发布交易信息。In a possible implementation manner, the processing unit is used to send the sixth transaction information to the blockchain processing function BCHF network element through the communication unit, and the BCHF network element is used to issue the sixth transaction information in the blockchain.
第三方面中关于终端的签约数据的内容可以参考第一方面中的描述,此处不再赘述。For the content of the subscription data of the terminal in the third aspect, reference may be made to the description in the first aspect, which will not be repeated here.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是BCAMF网元,也可以是BCAMF网元内的芯片。当该利用区块链为终端提供业务的装置是BCAMF网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该BCAMF网元实现第三方面或第三方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是BCAMF网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该BCAMF网元实现第三方面或第三方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该BCAMF网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。As another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain may be a BCAMF network element or a chip in the BCAMF network element. When the device that uses the blockchain to provide services to the terminal is a BCAMF network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or include a Or multiple modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit, so that the BCAMF network element implements the third aspect or any one of the possible implementations of the third aspect described in the method of using the blockchain to provide services for the terminal. When the device that uses the blockchain to provide services to the terminal is a chip in a BCAMF network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit to enable the BCAMF network element to implement the third aspect or any one of the possible implementations of the third aspect described in the method for providing services for the terminal using the blockchain The storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCAMF network element .
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第十一方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第四方面或第四方面的任意可能的实现方式中的方法,因此也能实现第四方面或第四方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为第一网元,也可以为可以支持第一网元网元实现第四方面或第四方面的任意可能的实现方式中的方法的装置,例如应用于第一网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In an eleventh aspect, this application provides a device that uses a blockchain to provide services to a terminal. The device that uses a blockchain to provide services to a terminal can implement the fourth aspect or any possible implementation method of the fourth aspect. Therefore, the beneficial effects of the fourth aspect or any possible implementation manner of the fourth aspect can also be achieved. The device that uses the blockchain to provide services to the terminal may be a first network element, or a device that can support the first network element to implement the fourth aspect or any possible implementation method of the fourth aspect, for example, Applied to the chip in the first network element. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,包括:通信单元,用于向用户面数据管理网元发送第一消息,第一消息用于表示将该装置注册为向终端提供服务的网元,第一消息包括终端的标识或者SUPI;该装置和用户面数据管理网元属于第一运营商;通信单元,用于接收来自用户面数据管理网元的指示注册成功的响应消息;处理单元,用于在区块链中发布为终端提供服务的该装置的信息的第一交易信息。As an example, an embodiment of the present application provides a device for providing services for a terminal using a blockchain, including: a communication unit, configured to send a first message to a user plane data management network element, the first message being used to indicate that the device Registered as a network element that provides services to the terminal, the first message includes the terminal's identity or SUPI; the device and the user plane data management network element belong to the first operator; the communication unit is used to receive instructions from the user plane data management network element A response message for successful registration; a processing unit for publishing the first transaction information of the information of the device that provides services for the terminal in the blockchain.
在一种可能的实施例中,通信单元,还用于向用户面数据管理网元发送第二消息,第二消息用于表示取消该装置作为向终端提供服务的网元;通信单元,还用于接收来自用户面数据管理网元的指示取消成功的响应消息。处理单元,还用于在区块链中发 布第二交易信息,第二交易信息包括标记为终端提供服务的该装置的信息为无效。这样当终端从第一运营商的网络中分离时,便于呼叫终端的网元确定第一网元不可用。In a possible embodiment, the communication unit is also used to send a second message to the user plane data management network element, and the second message is used to indicate that the device is canceled as a network element that provides services to the terminal; the communication unit is also used To receive a response message from the user plane data management network element indicating that the cancellation is successful. The processing unit is also used to publish second transaction information in the blockchain, where the second transaction information includes the information marked as invalid for the device that provides the service for the terminal. In this way, when the terminal is separated from the network of the first operator, it is convenient for the network element calling the terminal to determine that the first network element is unavailable.
在一种可能的实施例中,处理单元,用于通过通信单元向BCHF网元发送第一交易信息,BCHF网元用于将第一交易信息发布在区块链中。In a possible embodiment, the processing unit is configured to send the first transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the first transaction information in the blockchain.
在一种可能的实施例中,处理单元,用于通过通信单元向BCHF网元发送第二交易信息,BCHF网元用于将第二交易信息发布在区块链中。In a possible embodiment, the processing unit is configured to send the second transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the second transaction information in the blockchain.
在一种可能的实施例中,该装置为移动管理网元、会话管理网元或服务呼叫会话控制功能S-CSCF网元中的任一个或多个。In a possible embodiment, the device is any one or more of a mobility management network element, a session management network element, or a service call session control function S-CSCF network element.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是第一网元,也可以是第一网元内的芯片。当该利用区块链为终端提供业务的装置是第一网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该第一网元实现第四方面或第四方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是第一网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该第一网元实现第四方面或第四方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该第一网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using the blockchain may be a first network element or a device in the first network element. chip. When the device that uses the blockchain to provide services to the terminal is the first network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or include One or more modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit to enable the first network element to implement the fourth aspect or any one of the possible implementations of the fourth aspect described in the method for providing services for the terminal using the blockchain . When the device that uses the blockchain to provide services to the terminal is a chip in the first network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit to enable the first network element to implement the fourth aspect or any one of the possible implementation manners of the fourth aspect described in the use of the blockchain to provide services for the terminal Method, the storage unit may be a storage unit (for example, register, cache, etc.) in the chip, or a storage unit (for example, read only memory, random access memory, etc.) located outside the chip in the first network element. Wait).
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第十二方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第五方面或第五方面的任意可能的实现方式中的方法,因此也能实现第五方面或第五方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为用户数据管理网元,也可以为可以支持用户数据管理网元实现第五方面或第五方面的任意可能的实现方式中的方法的装置,例如应用于用户数据管理网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In a twelfth aspect, this application provides a device that uses a blockchain to provide services to a terminal. The device that uses a blockchain to provide services to a terminal can implement the fifth aspect or any possible implementation method of the fifth aspect. Therefore, the beneficial effects of the fifth aspect or any possible implementation manner of the fifth aspect can also be achieved. The device that uses the blockchain to provide services to the terminal may be a user data management network element, or may be a device that can support the user data management network element to implement the fifth aspect or any possible implementation method of the fifth aspect, for example, Applied to the chip in the user data management network element. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,包括:通信单元,用于接收来自第一网元的第一消息,第一消息用于表示将第一网元注册为向终端提供服务的网元,第一消息包括终端的标识或SUPI。第一网元和该装置属于第一运营商。处理单元,用于在区块链中发布第一交易信息,其中,第一交易信息用于表示当前由第一运营商为终端提供服务。As an example, an embodiment of the present application provides an apparatus for using a blockchain to provide services for a terminal, including: a communication unit, configured to receive a first message from a first network element, and the first message is used to indicate that the first network The element is registered as a network element that provides services to the terminal, and the first message includes the identification or SUPI of the terminal. The first network element and the device belong to the first operator. The processing unit is configured to publish the first transaction information in the blockchain, where the first transaction information is used to indicate that the first operator currently provides services for the terminal.
在一种可能的实施例中,处理单元,用于通过通信单元向BCHF网元发送第一交易信息,BCHF网元用于将第一交易信息发布在区块链中。In a possible embodiment, the processing unit is configured to send the first transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the first transaction information in the blockchain.
在一种可能的实施例中,通信单元,还用于接收来自第一网元的第二消息,第二 消息用于表示取消第一网元作为向终端提供服务的网元。处理单元,还用于在区块链中发布第二交易信息,第二交易信息包括以下任一项或多个:标记为终端提供服务的第一网元的信息为无效,或,将当前由第一运营商为终端提供服务的记录设置为非激活状态。In a possible embodiment, the communication unit is further configured to receive a second message from the first network element, where the second message is used to indicate that the first network element is cancelled as a network element that provides services to the terminal. The processing unit is also used to publish second transaction information in the blockchain, the second transaction information includes any one or more of the following: the information of the first network element marked as invalid for the terminal to provide services, or the current The record of the service provided by the first operator for the terminal is set to an inactive state.
在一种可能的实施例中,处理单元,用于通过通信单元向BCHF网元发送第二交易信息,BCHF网元用于将第二交易信息发布在区块链中。In a possible embodiment, the processing unit is configured to send the second transaction information to the BCHF network element through the communication unit, and the BCHF network element is configured to publish the second transaction information in the blockchain.
在一种可能的实施例中,第一网元为移动管理网元、会话管理网元或服务呼叫会话控制功能S-CSCF网元中的任一个或多个。In a possible embodiment, the first network element is any one or more of a mobility management network element, a session management network element, or a serving call session control function S-CSCF network element.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是用户数据管理网元,也可以是用户数据管理网元内的芯片。当该利用区块链为终端提供业务的装置是用户数据管理网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该用户数据管理网元实现第五方面或第五方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是用户数据管理网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该用户数据管理网元实现第五方面或第五方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该用户数据管理网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain may be a user data management network element or a user data management network element. Inside the chip. When the device that uses the blockchain to provide services to the terminal is a user data management network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or Including one or more modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit to enable the user data management network element to implement the fifth aspect or any one of the possible implementation manners of the fifth aspect described in the use of the blockchain to provide services to the terminal method. When the device that uses the blockchain to provide services to the terminal is a chip in a user data management network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit to enable the user data management network element to implement the fifth aspect or any one of the possible implementations of the fifth aspect described in the use of blockchain to provide services for the terminal In the method, the storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, read-only memory, random access memory, etc.) located outside the chip in the user data management network element. Fetch memory, etc.).
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第十三方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第六方面或第六方面的任意可能的实现方式中的方法,因此也能实现第六方面或第六方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为BCHF网元,也可以为可以支持BCHF网元实现第六方面或第六方面的任意可能的实现方式中的方法的装置,例如应用于BCHF网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In the thirteenth aspect, this application provides a device that uses a blockchain to provide services to a terminal. The device that uses a blockchain to provide services to a terminal can implement the sixth aspect or any possible implementation of the sixth aspect. Therefore, the beneficial effects of the sixth aspect or any possible implementation manner of the sixth aspect can also be achieved. The device that uses the blockchain to provide services to the terminal may be a BCHF network element, or a device that can support the BCHF network element to implement the sixth aspect or any possible implementation method of the sixth aspect, for example, it is applied to a BCHF network Yuan in the chip. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,包括:通信单元,用于接收来自业务发起网元的第一请求消息,第一请求消息包括终端的标识或SUPI,第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;处理单元,用于根据终端的标识,从区块链中获取第一信息。通信单元,用于向业务发起网元发送第一信息。As an example, an embodiment of the present application provides an apparatus for providing services for a terminal by using a blockchain, including: a communication unit, configured to receive a first request message from a service initiating network element, the first request message including the identification or SUPI, the first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal; the processing unit is used to obtain information from the blockchain according to the terminal identifier Get the first information. The communication unit is configured to send the first information to the service initiating network element.
在一种可能的实施例中,第一请求消息携带第一指示,第一指示用于处理单元确定业务发起网元请求的为终端提供服务的一个或多个网元的信息。In a possible embodiment, the first request message carries a first indication, and the first indication is used by the processing unit to determine information about one or more network elements that provide services for the terminal requested by the service initiating network element.
在一种可能的实施例中,第一信息是:为终端提供服务的一个或多个网元的信息。这样便于业务发起网元根据一个或多个网元的信息确定当前为终端提供服务的一个或 多个网元。In a possible embodiment, the first information is: information of one or more network elements that provide services for the terminal. In this way, it is convenient for the service initiating network element to determine one or more network elements currently providing services for the terminal based on the information of one or more network elements.
在一种可能的实施例中,第一指示用于指示以下信息中的任一个或多个:业务发起网元需要与终端通信的业务类型、或者业务发起网元期待的网元类型、或者业务发起网元需要的网元名称。In a possible embodiment, the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
在一种可能的实施例中,第一请求消息携带用于请求为终端提供服务的运营商的信息的第二指示。In a possible embodiment, the first request message carries a second indication for requesting information of an operator that provides services for the terminal.
在一种可能的实施例中,第一信息是:当前为终端提供服务的运营商的信息。这样便于业务发起网元基于为终端提供服务的运营商的信息,确定当前为终端提供服务的一个或多个网元。In a possible embodiment, the first information is: information of an operator currently providing services for the terminal. In this way, it is convenient for the service initiating network element to determine one or more network elements currently providing services for the terminal based on the information of the operator that provides services for the terminal.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是BCHF网元,也可以是BCHF网元内的芯片。当该利用区块链为终端提供业务的装置是BCHF网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该BCHF网元实现第六方面或第六方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是BCHF网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该BCHF网元实现第六方面或第六方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该BCHF网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain may be a BCHF network element or a chip in the BCHF network element. When the device that uses the blockchain to provide services to the terminal is a BCHF network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or include a Or multiple modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit, so that the BCHF network element implements the method for providing services for the terminal by using the blockchain described in the sixth aspect or any one of the possible implementation manners of the sixth aspect. When the device that uses the blockchain to provide services to the terminal is a chip in a BCHF network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit to enable the BCHF network element to implement the method for providing services for the terminal using the blockchain as described in the sixth aspect or any one of the possible implementation manners of the sixth aspect The storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the BCHF network element .
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第十四方面,本申请提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以实现第七方面或第七方面的任意可能的实现方式中的方法,因此也能实现第七方面或第七方面任意可能的实现方式中的有益效果。该利用区块链为终端提供业务的装置可以为业务发起网元,也可以为可以支持业务发起网元实现第七方面或第七方面的任意可能的实现方式中的方法的装置,例如应用于业务发起网元中的芯片。该装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In a fourteenth aspect, this application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using a blockchain can implement the seventh aspect or any possible implementation method of the seventh aspect. Therefore, the beneficial effects of the seventh aspect or any possible implementation manner of the seventh aspect can also be achieved. The device that uses the blockchain to provide services to the terminal may be a service initiating network element, or a device that can support the service initiating network element to implement the seventh aspect or any possible implementation method of the seventh aspect, for example, The chip in the service initiating network element. The device can implement the above method by software, hardware, or by hardware executing corresponding software.
一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,包括:通信单元,用于根据终端的标识,从区块链中获取第一信息。该第一信息用于确定为所述终端提供服务的一个或多个网元。处理单元,用于根据所述第一信息,确定为所述终端提供服务的一个或多个网元;处理单元,还用于和一个或多个网元中的任一网元交互,为所述终端提供业务。As an example, an embodiment of the present application provides an apparatus for using a blockchain to provide services for a terminal, including: a communication unit configured to obtain first information from the blockchain according to an identifier of the terminal. The first information is used to determine one or more network elements that provide services for the terminal. The processing unit is configured to determine one or more network elements that provide services for the terminal according to the first information; the processing unit is also configured to interact with any one of the one or more network elements, and perform The terminal provides services.
在一种可能的实施例中,通信单元,用于向区块链处理功能BCHF网元发送第一请求消息,所述第一请求消息包括所述终端的标识,所述第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;通信单元,用 于接收来自所述BCHF的所述第一信息。In a possible embodiment, the communication unit is configured to send a first request message to a blockchain processing function BCHF network element, where the first request message includes an identifier of the terminal, and the first request message is used for Request first information, where the first information is used to determine one or more network elements that provide services for the terminal; a communication unit is used to receive the first information from the BCHF.
在一种可能的实施例中,第一信息包括当前为终端提供服务的运营商的信息,业务发起网元根据第一信息,确定为终端提供服务的一个或多个网元。业务发起网元根据运营商的信息,确定一个或多个网元的信息。In a possible embodiment, the first information includes information of an operator that currently provides services for the terminal, and the service initiating network element determines one or more network elements that provide services for the terminal according to the first information. The service initiating network element determines the information of one or more network elements according to the information of the operator.
在一种可能的实施例中,第一信息包括为终端提供服务的一个或多个网元的信息。In a possible embodiment, the first information includes information about one or more network elements that provide services for the terminal.
在一种可能的实施例中,第一请求消息携带第一指示,第一指示用于BCHF网元确定业务发起网元请求的为终端提供服务的一个或多个网元的信息。In a possible embodiment, the first request message carries a first indication, and the first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
在一种可能的实施例中,第一指示用于指示以下信息中的任一个或多个:业务发起网元需要与终端通信的业务类型、或者业务发起网元期待的网元类型、或者业务发起网元需要的网元名称。In a possible embodiment, the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service The name of the network element required by the initiating network element.
在一种可能的实施例中,第一请求消息携带第二指示。该第二指示用于请求为终端提供服务的运营商的信息。In a possible embodiment, the first request message carries the second indication. The second indication is used to request information about an operator that provides services for the terminal.
另一种示例,本申请实施例提供一种利用区块链为终端提供业务的装置,该利用区块链为终端提供业务的装置可以是业务发起方网元,也可以是业务发起方网元内的芯片。当该利用区块链为终端提供业务的装置是业务发起方网元时,该通信单元可以为通信接口或者包括一个或多个具有接收或发送信息功能的模块,该处理单元可以是处理器或者包括一个或多个具有处理能力的模块。该利用区块链为终端提供业务的装置还可以包括存储单元。该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元执行该存储单元所存储的指令,以使该业务发起方网元实现第七方面或第七方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。当该利用区块链为终端提供业务的装置是业务发起方网元内的芯片时,该处理单元可以是处理器,该通信单元可以统称为:通信接口。例如,通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该业务发起方网元实现第七方面或第七方面的任意一种可能的实现方式中描述的一种利用区块链为终端提供业务的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该业务发起方网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides an apparatus for providing services for a terminal using a blockchain. The apparatus for providing services for a terminal using the blockchain may be a service initiator network element or a service initiator network element. Inside the chip. When the device that uses the blockchain to provide services to the terminal is a service initiator network element, the communication unit may be a communication interface or include one or more modules with the function of receiving or sending information, and the processing unit may be a processor or Including one or more modules with processing capabilities. The device for providing services for the terminal using the blockchain may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit executes the instructions stored in the storage unit to enable the service initiator network element to implement the seventh aspect or any one of the possible implementation manners of the seventh aspect described in the use of blockchain to provide services to the terminal method. When the device that uses the blockchain to provide services to the terminal is a chip in the service initiator network element, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input/output interface, pin or circuit, and so on. The processing unit executes the computer program code stored in the storage unit, so that the service initiator network element implements the seventh aspect or any one of the possible implementations of the seventh aspect described in the use of blockchain to provide services to the terminal In the method, the storage unit can be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit (for example, read-only memory, random memory, etc.) located outside the chip in the service initiator network element. Fetch memory, etc.).
可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.
第十五方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第一方面至第一方面的任意一种可能的实现方式中描述的利用区块链为终端提供业务的方法。In the fifteenth aspect, the embodiments of the present application provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on the computer, the computer can execute the operations as described in the first aspect to The method described in any one of the possible implementations of the first aspect uses the blockchain to provide services for the terminal.
第十六方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第二方面至第二方面的任意一种可能的实现方式中描述的利用区块链为终端提供业务的方法。In the sixteenth aspect, the embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on the computer, the computer executes the operations as described in the second aspect to The method described in any one of the possible implementations of the second aspect uses the blockchain to provide services for the terminal.
第十七方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第三方面至第三方面的任意一种可能的实现方式中描述的利用区块链为终端提供 业务的方法。In the seventeenth aspect, the embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on the computer, the computer executes the operations as described in the third aspect to The method for providing services for the terminal by using the blockchain described in any one of the possible implementations of the third aspect.
第十八方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第四方面至第四方面的任意一种可能的实现方式中描述的利用区块链为终端提供业务的方法。In the eighteenth aspect, the embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on the computer, the computer can execute the fourth aspect to The method of using the blockchain to provide services for the terminal described in any one of the possible implementations of the fourth aspect.
第十九方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第五方面至第五方面的任意一种可能的实现方式中描述的利用区块链为终端提供业务的方法。In the nineteenth aspect, the embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on a computer, the computer can execute the operations as described in the fifth aspect to The method for providing services for the terminal using the blockchain described in any one of the possible implementations of the fifth aspect.
第二十方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第六方面至第六方面的任意一种可能的实现方式中描述的利用区块链为终端提供业务的方法。In the twentieth aspect, the embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction is run on the computer, the computer can execute the operations as described in the sixth aspect to The method for providing services for the terminal using the blockchain described in any one of the possible implementations of the sixth aspect.
第二十一方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第七方面至第七方面的任意一种可能的实现方式中描述的利用区块链为终端提供业务的方法。In the twenty-first aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on a computer, the computer executes the seventh aspect. The method described in any one of the possible implementation manners to the seventh aspect using the blockchain to provide services for the terminal.
第二十二方面,本申请实施例提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第一方面或第一方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-second aspect, the embodiments of the present application provide a computer program product including instructions. When the instructions run on a computer, the computer executes the first aspect or one of the various possible implementations of the first aspect. A method of using blockchain to provide services to the terminal.
第二十三方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第二方面或第二方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-third aspect, this application provides a computer program product including instructions. When the instructions run on a computer, the computer executes the second aspect or a utilization area described in the various possible implementations of the second aspect. Blockchain provides a method for the terminal to provide services.
第二十四方面,本申请实施例提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第三方面或第三方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-fourth aspect, the embodiments of the present application provide a computer program product that includes instructions. When the instructions run on a computer, the computer executes the third aspect or one of the various possible implementations of the third aspect. A method of using blockchain to provide services to the terminal.
第二十五方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第四方面或第四方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-fifth aspect, this application provides a computer program product including instructions, which when the instructions run on a computer, cause the computer to execute a utilization area described in the fourth aspect or various possible implementations of the fourth aspect. Blockchain provides a method for the terminal to provide services.
第二十六方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第五方面或第五方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-sixth aspect, this application provides a computer program product including instructions. When the instructions are run on a computer, the computer executes a utilization area described in the fifth aspect or various possible implementations of the fifth aspect. Blockchain provides a method for the terminal to provide services.
第二十七方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第六方面或第六方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-seventh aspect, the present application provides a computer program product including instructions. When the instructions run on a computer, the computer executes a utilization area described in the sixth aspect or various possible implementations of the sixth aspect. Blockchain provides a method for the terminal to provide services.
第二十八方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第七方面或第七方面的各种可能的实现方式中描述的一种利用区块链为终端提供业务的方法。In the twenty-eighth aspect, the present application provides a computer program product that includes instructions. When the instructions run on a computer, the computer executes a utilization area described in the seventh aspect or various possible implementations of the seventh aspect. Blockchain provides a method for the terminal to provide services.
第二十九方面,本申请实施例提供一种通信系统,该通信系统包括:区块链账户 管理功能BCAMF网元以及用户面数据管理网元。其中,区块链账户管理功能BCAMF网元用于执行第一方面所描述的利用区块链为终端提供业务的方法、或者BCAMF网元用于执行第二方面所描述的利用区块链为终端提供业务的方法,或者BCAMF网元用于执行第三方面所描述的利用区块链为终端提供业务的方法。具体过程可以参考第一方面、第二方面或第三方面的描述,此处不再赘述。In a twenty-ninth aspect, an embodiment of the present application provides a communication system, which includes: a blockchain account management function BCAMF network element and a user plane data management network element. Among them, the blockchain account management function BCAMF network element is used to implement the method of using the blockchain to provide services for the terminal described in the first aspect, or the BCAMF network element is used to perform the use of the blockchain as the terminal described in the second aspect The method of providing services, or the BCAMF network element is used to implement the method of providing services for the terminal by using the blockchain as described in the third aspect. For the specific process, reference may be made to the description of the first aspect, the second aspect, or the third aspect, which will not be repeated here.
在一种可能的示例中,该系统还包括第一方面中所涉及的终端,第二方面中所涉及的终端或第三方面中所涉及的终端。In a possible example, the system further includes the terminal involved in the first aspect, the terminal involved in the second aspect, or the terminal involved in the third aspect.
第三十方面,本申请实施例提供一种通信系统,该通信系统包括:第一网元和用户面数据管理网元。其中,第一网元用于执行第四方面所描述的利用区块链为终端提供业务的方法,用户面数据管理网元用于执行第五方面所描述的利用区块链为终端提供业务的方法。具体过程可以参考第四方面、第五方面的描述,此处不再赘述。In a thirtieth aspect, an embodiment of the present application provides a communication system, which includes: a first network element and a user plane data management network element. Among them, the first network element is used to perform the method of using the blockchain to provide services to the terminal described in the fourth aspect, and the user plane data management network element is used to perform the method of using the blockchain to provide services to the terminal described in the fifth aspect. method. The specific process can refer to the description of the fourth aspect and the fifth aspect, which will not be repeated here.
第三十一方面,本申请实施例提供一种通信系统,该通信系统包括:BCHF网元和业务发起网元。其中,业务发起网元用于执行第七方面所描述利用区块链为终端提供业务的方法,BCHF网元用于执行第六方面所描述的利用区块链为终端提供业务的方法。具体过程可以参考第七方面、第六方面的描述,此处不再赘述。In a thirty-first aspect, an embodiment of the present application provides a communication system. The communication system includes: a BCHF network element and a service initiating network element. Among them, the service initiating network element is used to implement the method of using the blockchain to provide services to the terminal described in the seventh aspect, and the BCHF network element is used to implement the method of using the blockchain to provide services to the terminal described in the sixth aspect. For the specific process, please refer to the descriptions of the seventh aspect and the sixth aspect, which will not be repeated here.
第三十二方面,本申请实施例提供一种通信装置,该通信装置包括处理器和存储介质,所述存储介质存储有指令,所述指令被所述处理器运行时,实现如第一方面、第二方面、第三方面、第四方面、第五方面、第六方面、或第七方面中任一方面各种可能的实现方式描述的利用区块链为终端提供业务的方法。In a thirty-second aspect, an embodiment of the present application provides a communication device that includes a processor and a storage medium. The storage medium stores instructions. When the instructions are executed by the processor, the implementation is as in the first aspect. , The second aspect, the third aspect, the fourth aspect, the fifth aspect, the sixth aspect, or the seventh aspect described in the various possible implementation manners of the method of using the blockchain to provide services for the terminal.
第三十二方面,本申请实施例提供了一种通信装置,该通信装置包括一个或者多个模块,用于实现上述第一方面、第二方面、第三方面、第四方面、第五方面、第六方面、第七方面的方法,该一个或者多个模块可以与上述第一方面、第二方面、第三方面、第四方面、第五方面、第六方面、第七方面的方法中的各个步骤相对应。In the thirty-second aspect, an embodiment of the present application provides a communication device that includes one or more modules for implementing the first aspect, the second aspect, the third aspect, the fourth aspect, and the fifth aspect. , The sixth aspect, the seventh aspect, the one or more modules can be combined with the above-mentioned first aspect, second aspect, third aspect, fourth aspect, fifth aspect, sixth aspect, seventh aspect The steps correspond to each other.
第三十三方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第一方面或第一方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与所述芯片之外的其它模块进行通信。In a thirty-third aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, and the communication interface is coupled to the processor. The processor is used to run a computer program or instruction to implement the first aspect or the first aspect. A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with modules other than the chip.
第三十四方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第二方面或第二方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与芯片之外的其它模块进行通信。In a thirty-fourth aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the second aspect or the second aspect A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with other modules outside the chip.
第三十五方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第三方面或第三方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与所述芯片之外的其它模块进行通信。In a thirty-fifth aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the third aspect or the third aspect. A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with modules other than the chip.
第三十六方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第四方面或第四方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与芯片之外的其它模块进行通信。In a thirty-sixth aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the fourth aspect or the fourth aspect. A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with other modules outside the chip.
第三十七方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第五方面或第五方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与芯片之外的其它模块进行通信。In a thirty-seventh aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the fifth aspect or the fifth aspect. A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with other modules outside the chip.
第三十八方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第六方面或第六方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与所述芯片之外的其它模块进行通信。In a thirty-eighth aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, and the communication interface is coupled to the processor. The processor is used to run a computer program or instruction to implement the sixth aspect or the sixth aspect. A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with modules other than the chip.
第三十九方面,本申请实施例提供一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现第七方面或第七方面的各种可能的实现方式中所描述的一种利用区块链为终端提供业务的方法。通信接口用于与芯片之外的其它模块进行通信。In a thirty-ninth aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the seventh aspect or the seventh aspect. A method of using blockchain to provide services for terminals described in various possible implementations. The communication interface is used to communicate with other modules outside the chip.
具体的,本申请实施例中提供的芯片还包括存储器,用于存储计算机程序或指令。Specifically, the chip provided in the embodiment of the present application further includes a memory for storing computer programs or instructions.
上述提供的任一种装置或计算机存储介质或计算机程序产品或芯片或通信系统均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文提供的对应的方法中对应方案的有益效果,此处不再赘述。Any device or computer storage medium or computer program product or chip or communication system provided above is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above The beneficial effects of the corresponding solutions in the method will not be repeated here.
附图说明Description of the drawings
图1为本申请实施例提供的一种通信系统的示意图;FIG. 1 is a schematic diagram of a communication system provided by an embodiment of this application;
图2为本申请实施例提供的一种5G架构示意图;FIG. 2 is a schematic diagram of a 5G architecture provided by an embodiment of the application;
图3为本申请实施例提供的另一种5G架构示意图;FIG. 3 is a schematic diagram of another 5G architecture provided by an embodiment of the application;
图4为本申请实施例提供的一种通信设备的结构示意图;FIG. 4 is a schematic structural diagram of a communication device provided by an embodiment of this application;
图5-图11为本申请实施例提供的一种利用区块链为终端提供业务的方法的流程示意图;Fig. 5-Fig. 11 are schematic flowcharts of a method for providing services for a terminal by using a blockchain according to an embodiment of the application;
图12为本申请实施例提供的一种通信装置的结构示意图一;FIG. 12 is a first structural diagram of a communication device provided by an embodiment of this application;
图13为本申请实施例提供的一种通信装置的结构示意图二;FIG. 13 is a second structural diagram of a communication device provided by an embodiment of this application;
图14为本申请实施例提供的一种芯片的结构示意图。FIG. 14 is a schematic structural diagram of a chip provided by an embodiment of the application.
具体实施方式detailed description
为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一运营商和第二运营商仅仅是为了区分不同的运营商,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items that have substantially the same function and effect. For example, the first operator and the second operator are only to distinguish different operators, and the order of their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit the difference.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in this application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in this application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对 于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those of ordinary skill in the art will know that with the network With the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,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可以是单个,也可以是多个。In this application, "at least one" refers to one or more, and "multiple" refers to two or more. "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 (a)" or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a). For example, 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 .
本申请实施例的技术方案可以应用于各种通信系统。例如,长期演进(long term evolution,LTE)系统、5G通信系统及各种面向未来的通信系统。术语“系统”可以和“网络”相互替换。The technical solutions of the embodiments of the present application can be applied to various communication systems. For example, long term evolution (LTE) systems, 5G communication systems, and various future-oriented communication systems. The term "system" can be used interchangeably with "network".
在介绍本申请实施例之前首先介绍本申请实施例涉及到的相关名词:Before introducing the embodiments of this application, first introduce the relevant terms involved in the embodiments of this application:
1、区块链是一种基于密码学原理和共识算法的分布式的账本技术,区块链参与者(例如,区块链中的联盟成员)可以利用区块链记录和分享信息,信息可以代表合同,身份标识,交易信息和其他可以数字化资产。区块链中的信息是去中心化的,永久性的,透明的,可追溯的,一旦记录在区块链中,几乎不能更改或者撤销。1. Blockchain is a distributed ledger technology based on cryptography principles and consensus algorithms. Blockchain participants (for example, alliance members in the blockchain) can use the blockchain to record and share information, and the information can be Represents contracts, identification, transaction information and other digitized assets. The information in the blockchain is decentralized, permanent, transparent, and traceable. Once recorded in the blockchain, it can hardly be changed or revoked.
区块链的主要内容包括:基于非对称加密的数字签名,分布式账本管理和智能合约。The main content of the blockchain includes: digital signatures based on asymmetric encryption, distributed ledger management and smart contracts.
2、智能合约(Smart contract)是一种旨在应用在可以部署在区块链上的以信息化方式传播、验证或执行合同的计算机协议。通过在智能合约中声明业务逻辑可以实现执行相应操作。智能合约允许在没有第三方的情况下进行可信交易。这些交易可追踪且不可逆转。智能合约能够提供优于传统合同方法的安全,并减少与合同相关的其他交易成本。2. Smart contract (Smart contract) is a computer protocol designed to spread, verify or execute contracts in an information-based way that can be deployed on the blockchain. The corresponding operations can be implemented by declaring business logic in the smart contract. Smart contracts allow for trusted transactions without a third party. These transactions are traceable and irreversible. Smart contracts can provide better security than traditional contract methods and reduce other transaction costs related to contracts.
如图1所示,图1示出了本申请实施例提供的一种处理终端签约数据的方法所应用的通信系统,该通信系统包括:终端10、区块链账户管理功能(block chain account management function,BCAMF)网元20。终端10可以通过有线或无线的方式与BCAMF网元20通信。例如,终端10可以通过无线保真(wireless-fidelity,WIFI)与BCAMF网元20通信。As shown in Fig. 1, Fig. 1 shows a communication system to which a method for processing terminal subscription data provided by an embodiment of the present application is applied. The communication system includes: a terminal 10, a blockchain account management function function, BCAMF) network element 20. The terminal 10 may communicate with the BCAMF network element 20 in a wired or wireless manner. For example, the terminal 10 may communicate with the BCAMF network element 20 through wireless-fidelity (WIFI).
示例性的,终端10中可以具有一个或多个运营商对应的应用程序(application,APP),一个或多个运营商中每个运营商的BCAMF网元20的地址可以配置在该运营商的APP上,终端10可以通过每个运营商的APP与各自对应的BCAMF网元20通信。Exemplarily, the terminal 10 may have applications (applications, APPs) corresponding to one or more operators, and the address of the BCAMF network element 20 of each of the one or more operators may be configured in the operator’s On the APP, the terminal 10 can communicate with the corresponding BCAMF network element 20 through the APP of each operator.
在一种可选的实现方式中,该通信系统还可以包括:用户数据管理网元30和区块链处理功能(block chain handling function,BCHF)网元40。In an optional implementation manner, the communication system may further include: a user data management network element 30 and a blockchain processing function (blockchain handling function, BCHF) network element 40.
可选的,每个运营商可以对应一个或多个BCAMF网元20,任一个运营商对应的BCAMF网元20用于处理终端10在该运营商中的开户,销户或者更新签约数据的请求,以及负责通知该运营商的用户数据管理网元30写入终端10的签约数据和安全数据、删除签约数据和更新签约数据。Optionally, each operator may correspond to one or more BCAMF network elements 20, and the BCAMF network element 20 corresponding to any operator is used to process the request of the terminal 10 to open an account in the operator, cancel the account or update the contract data , And the user data management network element 30 responsible for notifying the operator of the contract data and security data written into the terminal 10, deleting the contract data, and updating the contract data.
当BCAMF网元20不支持区块链相关操作时,BCAMF网元20利用BCHF网元40作为代理将BCAMF网元20的业务记录写入区块链,或者将区块链中和BCAMF 相关的业务记录通知BCAMF。When the BCAMF network element 20 does not support blockchain-related operations, the BCAMF network element 20 uses the BCHF network element 40 as a proxy to write the business records of the BCAMF network element 20 into the blockchain, or writes the blockchain to the BCAMF-related business Record notification BCAMF.
BCHF网元40作为区块链处理功能,该功能在5G网元(例如,BCAMF网元20或用户数据管理网元30)不具有区块链处理功能时作为5G网络和区块链之间的代理,负责将网络处理信息作为交易信息发布到区块链,同时将区块链的和网络相关的事物发布到网络的网元中。其中区块链处理功能包括但不限于:发布交易信息,记录区块,执行智能合约等功能。The BCHF network element 40 serves as a blockchain processing function. This function is used as a link between the 5G network and the blockchain when the 5G network element (for example, the BCAMF network element 20 or the user data management network element 30) does not have the blockchain processing function. The agent is responsible for publishing the network processing information as transaction information to the blockchain, and at the same time publishing the blockchain and network-related things to the network elements of the network. The blockchain processing functions include but are not limited to: publishing transaction information, recording blocks, executing smart contracts and other functions.
其中,终端10和BCAMF网元20之间具有第一接口。例如,第一接口可以为Ny接口。用户数据管理网元30和BCAMF网元20之间具有第二接口。BCHF网元40和BCAMF网元20之间具有第三接口。例如,第一接口可以为:Ny接口。第二接口可以为Nx接口。第三接口可以为Nz接口。本申请实施例对第一接口、第二接口、第三接口之间的名称不作限定,此处仅是示例。Wherein, there is a first interface between the terminal 10 and the BCAMF network element 20. For example, the first interface may be a Ny interface. There is a second interface between the user data management network element 30 and the BCAMF network element 20. There is a third interface between the BCHF network element 40 and the BCAMF network element 20. For example, the first interface may be: Ny interface. The second interface may be an Nx interface. The third interface may be an Nz interface. The embodiment of the present application does not limit the names between the first interface, the second interface, and the third interface, and this is only an example.
本申请实施例中建立一个区块链平台,一个或多个移动网络运营商(mobile network operator,MNO)(简称为运营商)作为传输网络提供商参与该区块链,运营可以以运营商联盟为主,或者由通信行业的领头企业发起,邀请运营商参与,还可以是解决方案提供商建立邀请运营商和行业客户使用。如果单一的运营商不能覆盖行业用户的业务需求,需要多个运营商加入该区块链联盟共同为该行业用户服务。为实现联盟内的终端数据整合,实现以终端为中心的数据管理,该区块链的参与成员可以协商为终端分配统一的终端的标识(例如,全球统一区块链标识(global permanent block chain ID,GPBC ID)。该终端的标识符合国际标准,同时在联盟内或者全球是唯一的。In the embodiments of this application, a blockchain platform is established. One or more mobile network operators (mobile network operators, MNOs) (referred to as operators) participate in the blockchain as transmission network providers. The operation can be based on the alliance of operators. Mainly, or initiated by leading companies in the communications industry to invite operators to participate, or solution providers can establish and invite operators and industry customers to use it. If a single operator cannot cover the business needs of industry users, multiple operators need to join the blockchain alliance to jointly serve the industry users. In order to achieve the integration of terminal data within the alliance and the realization of terminal-centric data management, the participating members of the blockchain can negotiate to assign a unified terminal identifier to the terminal (for example, the global permanent blockchain ID , GPBC ID). The terminal’s identity complies with international standards and is unique within the alliance or globally.
本申请实施例中,BCHF网元40和BCAMF网元20可以合一部署,也可以单独部署。图1以二者单独部署为例。当BCHF网元40和BCAMF网元20合一部署时,BCHF网元40或者BCAMF网元20具有处理终端的开户请求,在区块链中验证终端是否符合开户要求,处理终端的销户或更新服务功能,以及将终端10的注册信息、签约数据作为交易发布到区块链,并从区块链获取并处理和BCAMF网元20相关的信息。In the embodiment of the present application, the BCHF network element 40 and the BCAMF network element 20 may be deployed together or separately. Figure 1 takes the two separate deployments as an example. When the BCHF network element 40 and the BCAMF network element 20 are deployed in one, the BCHF network element 40 or the BCAMF network element 20 has the ability to process the terminal’s account opening request, verify whether the terminal meets the account opening requirements in the blockchain, and process the terminal’s account cancellation or update Service functions, and publish the registration information and contract data of the terminal 10 as a transaction to the blockchain, and obtain and process information related to the BCAMF network element 20 from the blockchain.
用户数据管理网元30:用于存储终端的鉴权数据和终端的签约数据。以终端接入的核心网为5GC为例,上述用户数据管理网元30在5GC中对应的网元或实体可以为统一数据管理(unified data management,UDM)网元、用户数据仓库(user data repository,UDR)网元和用户归属服务器(home subscriber server,HSS)网元中的任一个。可以理解,在未来通信,负责存储终端的鉴权数据和终端的签约数据的网元仍可以是UDM网元,或有其它的名称,本申请不做限定。User data management network element 30: used to store authentication data of the terminal and subscription data of the terminal. Taking the 5GC as the core network that the terminal accesses as an example, the corresponding network element or entity of the user data management network element 30 in the 5GC can be a unified data management (UDM) network element and a user data repository (user data repository). , UDR) network element and user home subscriber server (home subscriber server, HSS) network element. It can be understood that in future communications, the network element responsible for storing the authentication data of the terminal and the subscription data of the terminal may still be a UDM network element or have other names, which is not limited by this application.
在一种可选的实施例中,该通信系统还可以包括:移动管理网元和会话管理网元。In an optional embodiment, the communication system may further include: a mobility management network element and a session management network element.
示例性的,以核心网为5GC为例,如图2所示,在5GC中除了上述图1涉及到的网元之外,还可以包括:无线接入网(radio access network,RAN)网元、用户面功能(User plane function,UPF)网元、数据网络(data network,DN)、接入与移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、策略控制功能(policy control function)网元。Exemplarily, taking the core network as 5GC as an example, as shown in Figure 2, in addition to the network elements involved in Figure 1 above, the 5GC may also include: radio access network (RAN) network elements , User plane function (UPF) network element, data network (data network, DN), access and mobility management function (access and mobility management function, AMF) network element, session management function (session management function, SMF) network element, policy control function (policy control function) network element.
移动管理网元,负责终端的接入管理和移动性管理,在实际应用中,其包括了长期演进(long term evolution,LTE)中网络框架中移动管理实体(mobility management entity,MME)里的移动性管理功能,并加入了接入管理功能。以终端接入的核心网 为5GC为例,移动管理网元在5GC中对应的网元或实体可以为AMF网元。会话管理网元在5GC中对应的网元或实体可以为SMF网元。在未来通信,如6G中,移动性管理网元仍可以是AMF网元,或有其它的名称,本申请不做限定。The mobility management network element is responsible for terminal access management and mobility management. In practical applications, it includes the mobility management entity (mobility management entity, MME) in the long-term evolution (LTE) network framework. Management function, and added access management function. Taking the core network that the terminal accesses is 5GC as an example, the corresponding network element or entity of the mobility management network element in the 5GC may be an AMF network element. The network element or entity corresponding to the session management network element in the 5GC may be an SMF network element. In future communications, such as 6G, the mobility management network element may still be an AMF network element or have other names, which is not limited by this application.
其中,终端通过N1接口(简称N1)与AMF网元通信。AMF实体通过N11接口(简称N11)与SMF网元通信。SMF网元通过N4接口(简称N4)与一个或者多个UPF网元通信。一个或多个UPF网元中任意两个UPF网元通过N9接口(简称N9)通信。UPF网元通过N6接口(简称N6)与AF网元管控的数据网络(data network,DN)通信。终端通过接入网网元(例如,RAN网元)接入网络,RAN网元与AMF网元之间通过N2接口(简称N2)通信。SMF网元通过N7接口(简称N7)与PCF网元通信,PCF网元通过N5接口与AF网元通信。RAN网元通过N3接口(简称N3)与UPF网元通信。任意两个AMF网元之间通过N14接口(简称N14)通信。SMF网元通过N10接口(简称N10)与UDM通信。AMF网元通过N12接口(简称N12)与AUSF通信。AMF网元通过N8接口(简称N8)与UDM网元通信。Among them, the terminal communicates with the AMF network element through the N1 interface (N1 for short). The AMF entity communicates with the SMF network element through the N11 interface (N11 for short). The SMF network element communicates with one or more UPF network elements through the N4 interface (N4 for short). Any two UPF network elements among one or more UPF network elements communicate through an N9 interface (abbreviated as N9). The UPF network element communicates with the data network (DN) managed and controlled by the AF network element through the N6 interface (N6 for short). The terminal accesses the network through an access network element (for example, a RAN network element), and the RAN network element and the AMF network element communicate through an N2 interface (abbreviated as N2). The SMF network element communicates with the PCF network element through the N7 interface (N7 for short), and the PCF network element communicates with the AF network element through the N5 interface. The RAN network element communicates with the UPF network element through the N3 interface (N3 for short). Any two AMF network elements communicate through the N14 interface (N14 for short). The SMF network element communicates with the UDM through the N10 interface (N10 for short). The AMF network element communicates with AUSF through the N12 interface (N12 for short). The AMF network element communicates with the UDM network element through the N8 interface (N8 for short).
应理解,如图2所示的网络架构中,控制面网元也可以采用服务化接口进行交互。例如,如图3所示,AMF网元、SMF网元、UDM网元、或者PCF网元采用服务化接口进行交互。比如,AMF网元对外提供的服务化接口可以为Namf。SMF网元对外提供的服务化接口可以为Nsmf。UDM网元对外提供的服务化接口可以为Nudm。PCF网元对外提供的服务化接口可以为Npcf。应理解,各种服务化接口的名称的相关描述可以参考23501标准中的5G系统架构(5G system architecture)图,在此不予赘述。It should be understood that, in the network architecture shown in FIG. 2, the control plane network elements may also interact with each other using a service interface. For example, as shown in Figure 3, AMF network elements, SMF network elements, UDM network elements, or PCF network elements interact with each other using a service-oriented interface. For example, the service-oriented interface provided by the AMF network element to the outside may be Namf. The service-oriented interface provided by the SMF network element to the outside may be Nsmf. The service-oriented interface provided by the UDM network element to the outside may be Nudm. The service-oriented interface provided by the PCF network element to the outside may be Npcf. It should be understood that the relevant description of the names of various service-oriented interfaces can refer to the 5G system architecture (5G system architecture) diagram in the 23501 standard, which will not be repeated here.
需要说明的是,如果业务需要BCHF网元40和5G其他网元(AMF网元,SMF网元)交互,则BCHF网元40和AMF网元以及SMF网元之间也存在接口。It should be noted that if the business requires interaction between the BCHF network element 40 and other 5G network elements (AMF network element, SMF network element), there are also interfaces between the BCHF network element 40 and the AMF network element and the SMF network element.
BCHF网元40可以是独立功能模块,独立于5G网元单独部署,也可以是一个分布式功能模块和5G网元合一部署。The BCHF network element 40 may be an independent functional module, which is deployed independently of the 5G network element, or may be a distributed functional module and the 5G network element integrated deployment.
需要说明的是,图2或图3仅是示例性的给出一个UPF网元、SMF网元。当然,该中可能包括多个UPF网元、SMF网元,如包括SMF网元1和SMF网元2,本申请实施例对此不作具体限定。It should be noted that Fig. 2 or Fig. 3 only exemplarily shows a UPF network element or SMF network element. Of course, this may include multiple UPF network elements and SMF network elements, such as SMF network element 1 and SMF network element 2, which is not specifically limited in the embodiment of the present application.
需要说明的是,图2或图3的接入网网元、AMF网元、SMF网元、UDM网元、UPF网元和PCF网元等仅是一个名字,名字对设备本身不构成限定。在5G网络以及未来其它的网络中,RAN网元、AMF网元、SMF网元、UDM网元、UPF网元和PCF网元所对应的网元或实体也可以是其他的名字,本申请实施例对此不作具体限定。例如,该UDM网元还有可能被替换为用户归属服务器(home subscriber server,HSS)或者用户签约数据库(user subscription database,USD)或者数据库实体,等等,在此进行统一说明,后续不再赘述。It should be noted that the access network element, AMF network element, SMF network element, UDM network element, UPF network element, and PCF network element in FIG. 2 or FIG. 3 are only a name, and the name does not constitute a limitation on the device itself. In 5G networks and other networks in the future, the network elements or entities corresponding to RAN network elements, AMF network elements, SMF network elements, UDM network elements, UPF network elements, and PCF network elements can also have other names. This application is implemented The example does not make specific restrictions on this. For example, the UDM network element may also be replaced with a user home server (home subscriber server, HSS) or user subscription database (user subscription database, USD) or a database entity, etc., which will be uniformly explained here and will not be repeated in the following .
可选的,本申请中的终端也可以称为终端设备,用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备可以是无线局域网(wireless local area networks,WLAN)中的站点(station,STA),可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)设备、具有无 线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备以及下一代通信系统,例如,第五代(fifth-generation,5G)通信网络中的终端设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)网络中的终端设备等。Optionally, the terminal in this application may also be referred to as terminal equipment, user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile equipment, User terminal, terminal, wireless communication device, user agent or user device. The terminal device can be a station (STA) in a wireless local area network (WLAN), a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, and a wireless local loop (wireless local loop). loop, WLL) stations, personal digital assistant (PDA) devices, handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, and next-generation communication systems, For example, terminal equipment in a fifth-generation (fifth-generation, 5G) communication network or terminal equipment in a public land mobile network (PLMN) network that will evolve in the future.
作为示例,在本发明实施例中,该终端还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example, in the embodiment of the present invention, the terminal may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for using wearable technology to intelligently design everyday wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
图4示出了本申请实施例提供一种通信设备的硬件结构示意图。本申请实施例中的终端10、BCAMF网元20、用户数据管理网元30、第一网元的硬件结构可以参考如图4所示的结构。该通信设备包括处理器41,通信线路44以及至少一个通信接口43。FIG. 4 shows a schematic diagram of the hardware structure of a communication device provided by an embodiment of the present application. For the hardware structure of the terminal 10, the BCAMF network element 20, the user data management network element 30, and the first network element in the embodiment of the present application, reference may be made to the structure shown in FIG. 4. The communication device includes a processor 41, a communication line 44, and at least one communication interface 43.
处理器41可以是一个通用中央处理器(central processing unit,CPU)、微处理器、特定应用集成电路(application-specific integrated circuit,ASIC)、或一个或多个用于控制本申请方案程序执行的集成电路。The processor 41 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the execution of the program of this application. integrated circuit.
通信线路44可包括一通路,在上述组件之间传送信息。The communication line 44 may include a path to transmit information between the aforementioned components.
通信接口43,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,RAN,WLAN等。The communication interface 43 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, RAN, WLAN, and so on.
可选的,该通信设备还可以包括存储器42。Optionally, the communication device may further include a memory 42.
存储器42可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路44与处理器相连接。存储器也可以和处理器集成在一起。The memory 42 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions The dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this. The memory can exist independently and is connected to the processor through the communication line 44. The memory can also be integrated with the processor.
其中,存储器42用于存储执行本申请方案的计算机执行指令,并由处理器41来控制执行。处理器41用于执行存储器42中存储的计算机执行指令,从而实现本申请下述实施例提供的无线承载的配置方法。The memory 42 is used to store computer execution instructions for executing the solution of the application, and the processor 41 controls the execution. The processor 41 is configured to execute computer-executable instructions stored in the memory 42 to implement the wireless bearer configuration method provided in the following embodiments of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
在具体实现中,作为一种实施例,处理器41可以包括一个或多个CPU,例如图4中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 41 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 4.
在具体实现中,作为一种实施例,通信设备可以包括多个处理器,例如图4中的 处理器41和处理器45。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication device may include multiple processors, such as the processor 41 and the processor 45 in FIG. 4. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
在本申请实施例中,一种利用区块链为终端提供业务的方法的执行主体的具体结构,本申请实施例并未特别限定,只要可以通过运行记录有本申请实施例的一种利用区块链为终端提供业务的方法的代码的程序,以根据本申请实施例的一种利用区块链为终端提供业务的方法进行通信即可,例如,本申请实施例提供的一种利用区块链为终端提供业务的方法的执行主体可以是BCAMF网元中能够调用程序并执行程序的功能模块,或者为应用于BCAMF网元中的通信装置,例如,芯片,本申请对此不进行限定。下述实施例以一种利用区块链为终端提供业务的方法的执行主体为BCAMF网元为例进行描述。In the embodiment of this application, the specific structure of the executive body of the method of providing services for the terminal by using the blockchain is not particularly limited in the embodiment of this application, as long as a utilization area of the embodiment of this application can be recorded through the operation. The program of the code of the method for the block chain to provide services to the terminal can be communicated by a method of using the block chain to provide services for the terminal according to an embodiment of the present application. For example, a block chain is provided in the embodiment of the present application. The execution subject of the method for the chain to provide services to the terminal may be a functional module in the BCAMF network element that can call and execute the program, or a communication device, such as a chip, applied to the BCAMF network element, which is not limited in this application. The following embodiments are described by taking an example in which the execution subject of a method for providing services for a terminal by using a blockchain is a BCAMF network element.
如图5所示,图5示出了本申请实施例提供的一种利用区块链为终端提供业务的方法,该方法包括:As shown in FIG. 5, FIG. 5 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, and the method includes:
步骤501、终端10向第一运营商的BCAMF网元20发送开户请求(registration request)消息,以使得BCAMF网元20接收来自该终端10的开户请求消息。该开户请求消息包括终端10的标识,开户请求消息用于请求为终端10在第一运营商(operator)中开户。Step 501: The terminal 10 sends an account opening request (registration request) message to the BCAMF network element 20 of the first operator, so that the BCAMF network element 20 receives the account opening request message from the terminal 10. The account opening request message includes the identifier of the terminal 10, and the account opening request message is used to request the terminal 10 to open an account in a first operator (operator).
示例性的,该终端10的标识可以由该区块链内参与联盟的各方为终端10分配的统一标识。该终端10的标识也可以称为全球统一区块链标识(global permanent block chain ID,GPBC ID)。该GPBC ID符合国际标准,同时在区块链内或者全球是唯一的。Exemplarily, the identity of the terminal 10 may be a unified identity assigned to the terminal 10 by all parties participating in the alliance in the blockchain. The identifier of the terminal 10 may also be referred to as a global unified blockchain ID (global permanent blockchain ID, GPBC ID). The GPBC ID complies with international standards and is unique within the blockchain or globally.
GPBC ID本身是和服务无关的,即更换服务商,终端的ID不变,比如更换了运营商,GPBC ID不变,仅仅属于终端的标识。The GPBC ID itself has nothing to do with the service, that is, when the service provider is changed, the ID of the terminal remains the same. For example, when the operator is changed, the GPBC ID remains the same, and only belongs to the terminal's identification.
例如,终端10上具有第一运营商对应的APP,终端10可以利用该APP向BCAMF网元20发送开户请求消息。For example, the terminal 10 has an APP corresponding to the first operator, and the terminal 10 can use the APP to send an account opening request message to the BCAMF network element 20.
在一种可选的示例,开户请求消息中还可以包括终端请求从第一运营商处购买的服务。例如,开户请求消息中还可以包括终端请求的以下信息中的任一个或多个:接入点名称(access point name,APN)列表和网络切片(network slice)列表。In an optional example, the account opening request message may also include the service that the terminal requests to purchase from the first operator. For example, the account opening request message may also include any one or more of the following information requested by the terminal: an access point name (APN) list and a network slice (network slice) list.
其中,APN列表中包括终端请求的第一运营商的一个或多个APN。网络切片列表中包括终端请求的第一运营商的一个或多个网络切片,也即终端请求从第一运营商处购买的一个或多个网络切片。Wherein, the APN list includes one or more APNs of the first operator requested by the terminal. The network slice list includes one or more network slices of the first operator requested by the terminal, that is, one or more network slices requested by the terminal to purchase from the first operator.
步骤502、BCAMF网元20根据终端10的标识,验证终端符合开户要求。Step 502: The BCAMF network element 20 verifies that the terminal meets the account opening requirements according to the identification of the terminal 10.
在一种可能的实现方式中,本申请实施例中的步骤502可以通过以下方式实现:BCAMF网元20根据终端10的标识在区块链中验证终端10符合开户要求。示例性的。BCAMF网元20根据终端10的标识在区块链中验证终端10符合开户要求中的部分要求或者全部要求。In a possible implementation manner, step 502 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element 20 verifies in the blockchain that the terminal 10 meets the account opening requirements according to the identification of the terminal 10. Exemplary. The BCAMF network element 20 verifies in the blockchain that the terminal 10 meets some or all of the requirements for opening an account according to the identification of the terminal 10.
比如终端合法开户的要求项是A,B,C三项,而区块链其他参与者已经验证了其中的A项,B项。则第一运营商的BCAMF网元20可以利用区块链中记录的终端已验证A项和B项的结果,仅仅验证C。又或者区块链的其他参与者验证了全部的A项、 B项、C项三项,则第一运营商的BCAMF网元20可以从区块链中获取终端已由其他参与者验证了A项、B项、C项的结果,直接为终端开户。具体A项、B项、C项可以是用户的年龄,犯罪记录,有效住址等等。For example, the requirements for legally opening an account on the terminal are A, B, and C, and other participants in the blockchain have verified A and B among them. Then the BCAMF network element 20 of the first operator can use the results recorded in the blockchain that the terminal has verified items A and B, and only verify C. Or other participants of the blockchain have verified all three items A, B, and C, then the BCAMF network element 20 of the first operator can obtain the terminal from the blockchain and other participants have verified A The results of item, B, and C will directly open an account for the terminal. Specific items A, B, and C can be the user's age, criminal record, valid residential address, and so on.
具体的,步骤502可以通过以下方式实现:BCAMF网元20根据具体的电信业务要求,以终端10的GPBC ID为索引号查看区块链上的相关性声明。若该GPBC ID的合法性声明能覆盖BCAMF网元20本次业务的所有查询验证需求,且相关声明的发布者是BCAMF网元20所信任的实体,则BCAMF网元20确定本次验证通过(即BCAMF网元20确定终端10在区块链中合法)。否则,BCAMF网元20以链下(off chain)的方式对终端10进行相关验证,比如要求用户上传身份证,并进行人脸识别。Specifically, step 502 may be implemented in the following manner: the BCAMF network element 20 uses the GPBC ID of the terminal 10 as an index number to view the relevance statement on the blockchain according to specific telecommunication service requirements. If the legality statement of the GPBC ID can cover all query and verification requirements of the BCAMF network element 20 for this service, and the issuer of the related statement is an entity trusted by the BCAMF network element 20, the BCAMF network element 20 determines that the verification is passed ( That is, the BCAMF network element 20 determines that the terminal 10 is legal in the blockchain). Otherwise, the BCAMF network element 20 performs related verification on the terminal 10 in an off-chain manner, such as requiring the user to upload an ID card and perform face recognition.
当BCAMF网元20不具有处理区块链的功能时,由BCAMF网元20向BCHF网元40发送终端10的标识,以由BCHF网元40在区块链中验证终端是否符合开户要求。在BCHF网元40在区块链中验证终端是否符合开户要求之后,将验证结果发送至BCAMF网元20。When the BCAMF network element 20 does not have the function of processing the blockchain, the BCAMF network element 20 sends the identification of the terminal 10 to the BCHF network element 40 so that the BCHF network element 40 can verify whether the terminal meets the account opening requirements in the blockchain. After the BCHF network element 40 verifies whether the terminal meets the account opening requirements in the blockchain, the verification result is sent to the BCAMF network element 20.
可选的,BCAMF网元20确定终端符合开户要求后,BCAMF网元20直接或者通过BCHF网元40间接为终端10触发开户智能合约,为终端10生成APN等签约数据,SUPI,GPSI等,SUPI可以是IMSI,GPSI可以是MSISDN。该智能合约过程涉及到终端利用区块链货币购买运营商业务的交易过程,即货币由用户转移到运营商的过程,该过程同样作为交易写入区块链。Optionally, after the BCAMF network element 20 determines that the terminal meets the account opening requirements, the BCAMF network element 20 directly or indirectly triggers the account opening smart contract for the terminal 10 through the BCHF network element 40, and generates APN and other contract data for the terminal 10, SUPI, GPSI, etc., SUPI It can be IMSI, and GPSI can be MSISDN. The smart contract process involves the transaction process in which the terminal uses the blockchain currency to purchase the operator's business, that is, the process in which the currency is transferred from the user to the operator, and this process is also written into the blockchain as a transaction.
步骤503、BCAMF网元20向第一运营商的用户数据管理网元30发送第一消息,以使得用户数据管理网元30接收来自BCAMF网元10的第一消息。该第一消息包括终端10的签约数据。Step 503: The BCAMF network element 20 sends a first message to the user data management network element 30 of the first operator, so that the user data management network element 30 receives the first message from the BCAMF network element 10. The first message includes the subscription data of the terminal 10.
在步骤503之后,用户数据管理网元30便可以存储终端10的签约数据。After step 503, the user data management network element 30 can store the subscription data of the terminal 10.
由于终端10可以在多个运营商中开户,因此,本申请实施例中BCAMF网元10可以将终端10在运营商A处的签约数据发送至运营商A的用户数据管理网元。因此,步骤503中终端10的签约数据即终端10在第一运营商中的签约数据。通过步骤503终端的签约数据便可以存储在用户数据管理网元30中。将终端的签约数据存储在用户数据管理网元30中,便于后续终端接入第一运营商的移动网络时,移动管理网元/会话管理网元等要获取签约数据为终端进行授权,比如APN是否允许使用。Since the terminal 10 can open accounts in multiple operators, the BCAMF network element 10 in the embodiment of the present application can send the contract data of the terminal 10 at the operator A to the user data management network element of the operator A. Therefore, the contract data of the terminal 10 in step 503 is the contract data of the terminal 10 in the first operator. Through step 503, the contract data of the terminal can be stored in the user data management network element 30. The contract data of the terminal is stored in the user data management network element 30, so that when the subsequent terminal accesses the mobile network of the first operator, the mobile management network element/session management network element, etc. must obtain the contract data to authorize the terminal, such as APN Is it allowed to use.
示例性的,终端10的签约数据可以包括:终端的标识,和BCAMF网元为终端分配的以下至少一项:SUPI、通用公共签约标识(generic public subscription identifier,GPSI)、秘钥、序列号(sequence number,SQN)、一个或多个APN、一个或多个网络切片。例如,GPSI可以是移动台综合业务数字网号码MSISDN。Exemplarily, the subscription data of the terminal 10 may include: the identification of the terminal, and at least one of the following allocated by the BCAMF network element to the terminal: SUPI, generic public subscription identifier (GPSI), secret key, serial number ( sequence number, SQN), one or more APNs, one or more network slices. For example, GPSI can be the mobile station integrated service digital network number MSISDN.
本申请实施例提供一种利用区块链为终端提供业务的方法,该方法第一运营商的BCAMF网元在接收到终端的开户请求消息,以及根据该终端的标识验证终端符合开户要求后,向用户数据管理网元发送终端的签约数据。该方案中终端不用提前和第一运营商签约而是在需要的时候,选择合适的第一运营商,随时在第一运营商中开户,或者购买第一运营商的服务,这样便于实现线上实现自动为终端在第一运营商中开户,与现有技术中终端的用户需要在线下运营商所在的营业厅中实现开户相比更加便捷。且由于终端的标识一直是终端的身份,终端在更换运营商后可以保持终端的标识不便, 不影响被叫业务。并且,通过该方法,满足了利用区块链为终端提供业务前需要为终端开户的要求。The embodiment of the application provides a method for providing services for a terminal by using a blockchain. In this method, after the BCAMF network element of the first operator receives an account opening request message from the terminal and verifies that the terminal meets the account opening requirements according to the terminal's identity, Send the subscription data of the terminal to the user data management network element. In this solution, the terminal does not need to sign a contract with the first operator in advance, but when needed, select the appropriate first operator, open an account with the first operator at any time, or purchase the services of the first operator, which is convenient for realizing online It is more convenient to realize the automatic opening of an account for the terminal in the first operator than in the prior art when the user of the terminal needs to open an account in the business hall where the offline operator is located. In addition, since the identity of the terminal is always the identity of the terminal, it is inconvenient for the terminal to maintain the identity of the terminal after changing the operator, and does not affect the called service. Moreover, this method satisfies the requirement of opening an account for the terminal before using the blockchain to provide services for the terminal.
参考图6,作为本申请的另一种可能的实施例,本申请实施例提供的方法在步骤502之后还可以包括:Referring to FIG. 6, as another possible embodiment of the present application, the method provided in the embodiment of the present application may further include after step 502:
步骤504、BCAMF网元10向终端10发送开户接受消息,以使得终端10接收来自该BCAMF网元20的开户接受消息。Step 504: The BCAMF network element 10 sends an account opening acceptance message to the terminal 10, so that the terminal 10 receives the account opening acceptance message from the BCAMF network element 20.
其中,该开户接受消息至少包括BCAMF网元20为终端10分配的用户永久身份标识(subscription permanent identifier,SUPI)。Wherein, the account opening acceptance message includes at least a user permanent identity (subscription permanent identifier, SUPI) allocated to the terminal 10 by the BCAMF network element 20.
示例性的,该SUPI可以是国际移动用户识别码(international mobile subscriber identification,IMSI)。其中,IMSI用于终端10注册到第一运营商的移动网络。Exemplarily, the SUPI may be an international mobile subscriber identification code (international mobile subscriber identification, IMSI). Among them, the IMSI is used for the terminal 10 to register to the mobile network of the first operator.
请继续结合图6,作为本申请的另一种可能的实施例,本申请实施例提供的方法还可以包括:Please continue to combine with FIG. 6, as another possible embodiment of the present application, the method provided in the embodiment of the present application may further include:
步骤505、BCAMF网元20向终端10发送BCAMF网元20为终端10分配的以下至少一项:MSISDN、秘钥、序列号,以使得终端10接收来自BCAMF网元20的MSISDN、秘钥、序列号中的任一个或多个。Step 505: The BCAMF network element 20 sends to the terminal 10 at least one of the following assigned by the BCAMF network element 20 to the terminal 10: MSISDN, secret key, and sequence number, so that the terminal 10 receives the MSISDN, secret key, and sequence from the BCAMF network element 20 Any one or more of the numbers.
可选的,该MSISDN、秘钥、序列号中的任一个或多个可以通过单独的消息发送给终端10,当然该MSISDN、秘钥、序列号中的任一个或多个也可以携带在上述开户接受消息中。Optionally, any one or more of the MSISDN, secret key, and serial number can be sent to the terminal 10 in a separate message. Of course, any one or more of the MSISDN, secret key, and serial number can also be carried in the foregoing Account opening acceptance message.
本申请实施例中一个终端10可以在一个或多个运营商中开户,任一个运营商的BCAMF网元20在线为终端10在该运营商中开户之后,BCAMF网元20可以在区块链中发布交易信息,该交易信息用于表示终端10在该运营商中开户。基于此,作为本申请的再一个实施例,请继续结合图6,作为本申请的另一种可能的实施例,本申请实施例提供的方法在步骤503之后还可以包括:In the embodiment of the present application, a terminal 10 can open an account in one or more operators. After the BCAMF network element 20 of any operator opens an account in the operator for the terminal 10 online, the BCAMF network element 20 can be in the blockchain Publish transaction information, which is used to indicate that the terminal 10 opens an account in the operator. Based on this, as another embodiment of the present application, please continue to combine FIG. 6 as another possible embodiment of the present application. The method provided in the embodiment of the present application may further include after step 503:
步骤506、BCAMF网元20在区块链中发布第一交易信息。该第一交易信息包括终端10的标识和第一运营商的信息之间的第一对应关系。该第一对应关系用于表示终端10在第一运营商中成功开户。Step 506: The BCAMF network element 20 publishes the first transaction information in the blockchain. The first transaction information includes the first correspondence between the identification of the terminal 10 and the information of the first operator. The first correspondence is used to indicate that the terminal 10 successfully opens an account in the first operator.
可以理解的是,如果终端10在多个运营商中开户,则区块链中记录有终端10和多个运营商中每个运营商的标识之间的对应关系。It is understandable that if the terminal 10 opens an account in multiple operators, the corresponding relationship between the terminal 10 and the identity of each of the multiple operators is recorded in the blockchain.
本申请实施例中运营商的标识可以为运营商的ID或者运营商的名称或者运营商的移动国家码(Mobile Country Code,MCC)+移动网络码(Mobile Network Code,MNC)或者其他的能够唯一标识运营商的标记。The identifier of the operator in the embodiments of this application may be the operator’s ID or the operator’s name or the operator’s mobile country code (Mobile Country Code, MCC) + mobile network code (Mobile Network Code, MNC) or other unique A mark that identifies the operator.
本申请实施例中BCAMF网元20可以直接在区块链中发布各种交易信息、终端的验证信息等。当然,BCAMF网元20也可以通过BCHF网元40在区块链中发布各种交易信息、终端的验证信息。因此,本申请实施例中的步骤506可以通过以下方式实现:In the embodiment of the present application, the BCAMF network element 20 can directly publish various transaction information, terminal verification information, etc. in the blockchain. Of course, the BCAMF network element 20 can also publish various transaction information and terminal verification information in the blockchain through the BCHF network element 40. Therefore, step 506 in the embodiment of the present application can be implemented in the following manner:
方式1、BCAMF网元20直接在区块链中发布第一交易信息。该方式可以适用于BCAMF网元20具有区块链处理功能的情况。Method 1. The BCAMF network element 20 directly publishes the first transaction information in the blockchain. This method can be applied to the case where the BCAMF network element 20 has a blockchain processing function.
方式2、BCAMF网元20向BCHF网元40发送第一交易信息,以使得BCHF网元40接收到该第一交易信息之后,由BCHF网元40将第一交易信息发布在区块链中。 该方式可以适用于BCAMF网元20具有或不具有区块链处理功能的情况。下述但凡涉及到BCAMF网元20与区块链交互的过程均可以参考此处的描述,后续不再赘述。Manner 2: The BCAMF network element 20 sends the first transaction information to the BCHF network element 40, so that after the BCHF network element 40 receives the first transaction information, the BCHF network element 40 publishes the first transaction information in the blockchain. This method can be applied to the case where the BCAMF network element 20 has or does not have a blockchain processing function. For the following procedures involving the interaction between the BCAMF network element 20 and the blockchain, reference can be made to the description here, and will not be repeated in the following.
虽然,本申请实施例中一个终端可以在多个运营商中开户,但在某一时刻通常由一个运营商为终端提供服务。因此,BCAMF网元20可以在区块链中记录当前为终端提供服务的运营商。Although, in the embodiment of the present application, one terminal can open accounts with multiple operators, but at a certain moment, one operator usually provides services for the terminal. Therefore, the BCAMF network element 20 can record in the blockchain the operator currently providing services for the terminal.
请继续结合图6,作为本申请的另一种可能的实施例,本申请实施例提供的方法还可以包括:Please continue to combine with FIG. 6, as another possible embodiment of the present application, the method provided in the embodiment of the present application may further include:
步骤507、BCAMF网元20确定当前由第一运营商为终端10提供服务。Step 507: The BCAMF network element 20 determines that the first operator currently provides services for the terminal 10.
步骤508、BCAMF网元20在区块链中发布第二交易信息。其中,第二交易信息当前由第一运营商为终端提供服务。Step 508: The BCAMF network element 20 publishes the second transaction information in the blockchain. Among them, the second transaction information is currently served by the first operator for the terminal.
需要特别说明的是,第一交易信息和第二交易信息可以是同一交易,在同一个交易中发布,比如终端标识,第一运营商标识,第一运营商服务终端的标记。当第一交易信息和第二交易信息可以同一交易时,即终端申请开户的同时指示激活该运营商的情况。It should be particularly noted that the first transaction information and the second transaction information may be the same transaction and published in the same transaction, such as the terminal identification, the first operator identification, and the first operator's service terminal mark. When the first transaction information and the second transaction information can be the same transaction, that is, when the terminal applies for opening an account, it indicates the activation of the operator.
作为一种示例,本申请实施例中的步骤508可以通过以下方式实现:BCAMF网元20将区块链中记录的终端10的标识和第一运营商的标识之间的第一对应关系设置为激活状态。当第一对应关系被设置为激活状态时,表示当前由第一运营商为终端提供服务。As an example, step 508 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element 20 sets the first correspondence between the identification of the terminal 10 recorded in the blockchain and the identification of the first operator as Active state. When the first correspondence is set to the activated state, it means that the first operator currently provides services for the terminal.
可以理解的是,当BCAMF网元20不具有处理区块链的功能时,BCAMF网元20向BCHF网元40发送第一通知消息,以使得BCHF网元40接收来自BCAMF网元20的第一通知消息。该第一通知消息用于指示BCHF网元40将区块链中记录的终端10的标识和第一运营商的标识之间的第一对应关系设置为激活状态。这样BCHF网元40可以根据第一通知消息将第一对应关系设置为激活状态。可选的,在由BCHF网元40将第一对应关系设置为激活状态时,BCHF网元40还可以向BCAMF网元20反馈第一响应消息,用于表示已将第一对应关系设置为激活状态。It is understandable that when the BCAMF network element 20 does not have the function of processing the blockchain, the BCAMF network element 20 sends the first notification message to the BCHF network element 40, so that the BCHF network element 40 receives the first notification message from the BCAMF network element 20. Notification message. The first notification message is used to instruct the BCHF network element 40 to set the first correspondence between the identification of the terminal 10 and the identification of the first operator recorded in the blockchain to an active state. In this way, the BCHF network element 40 can set the first correspondence to the activated state according to the first notification message. Optionally, when the BCHF network element 40 sets the first correspondence to the activated state, the BCHF network element 40 may also feed back a first response message to the BCAMF network element 20 to indicate that the first correspondence has been set to be activated. status.
需要说明的是,本申请实施例中区块链中记录的终端和运营商之间的对应关系可以表示终端在该运营商中成功开户。此外,一方面,BCAMF网元20或BCHF网元40可以通过设置终端和运营商之间的对应关系的状态,表示该运营商是否为终端提供服务。例如,终端和运营商之间的对应关系的状态可以被设置为非激活状态或激活状态。当终端和运营商之间的对应关系被设置为非激活状态时,表示当前该运营商未为终端提供服务。通常情况下,如果终端在运营商中成功开户,此时该运营商并未为该终端提供服务,则可以将终端和运营商之间的对应关系设置为非激活状态,一旦确定由该运营商为该终端提供服务,则将终端和运营商之间的对应关系从非激活状态更新为激活状态。It should be noted that the corresponding relationship between the terminal and the operator recorded in the blockchain in the embodiment of the present application may indicate that the terminal successfully opens an account in the operator. In addition, on the one hand, the BCAMF network element 20 or the BCHF network element 40 can indicate whether the operator provides services for the terminal by setting the status of the corresponding relationship between the terminal and the operator. For example, the state of the corresponding relationship between the terminal and the operator may be set to an inactive state or an active state. When the corresponding relationship between the terminal and the operator is set to an inactive state, it means that the operator does not currently provide services for the terminal. Under normal circumstances, if the terminal successfully opens an account with the operator, and the operator does not provide services for the terminal at this time, the corresponding relationship between the terminal and the operator can be set to an inactive state, and once it is determined that the operator To provide a service for the terminal, the corresponding relationship between the terminal and the operator is updated from the inactive state to the active state.
需要说明的是,上述将第一对应关系设置为激活状态为一种表达第一运营商为终端提供服务的方式,此外,在区块链中存在第一对应关系时,还可以在区块链中发布第二交易信息,以此表明当前由第一运营商为终端提供服务。It should be noted that setting the first correspondence to the active state above is a way of expressing that the first operator provides services to the terminal. In addition, when the first correspondence exists in the blockchain, it can also be set in the blockchain. The second transaction information is released in the, to indicate that the first operator is currently providing services to the terminal.
本申请实施例通过将用于表示当前由第一运营商为终端10提供服务的第二交易信息发布在区块链中,这样便于区块链中的其他联盟成员确定当前为终端10提供服务 的第一运营商的信息。以便后续业务发起网元(属于该区块链中的联盟成员)在区块链中查询服务该终端10的第一运营商并进行路由。In the embodiment of the application, the second transaction information used to indicate that the terminal 10 is currently provided by the first operator is published in the blockchain, so that it is convenient for other alliance members in the blockchain to determine the current service for the terminal 10. Information of the first operator. So that the subsequent service initiating network element (belonging to the alliance member in the blockchain) queries the first operator serving the terminal 10 in the blockchain and performs routing.
举例说明,以终端10为国际物流车队为例,因为该物流车队长期在一些跨国线路上行驶,需要经过多个国家。根据每个国家网络覆盖情况物流车队可能在每个国家选择至少一个运营商开户,只有当物流车队行驶到运营商A覆盖网络时,才会选择该运营商A为该物流车队服务。For example, take the terminal 10 as an international logistics fleet, because the logistics fleet travels on some transnational routes for a long time and needs to pass through multiple countries. According to the network coverage of each country, the logistics fleet may choose at least one operator to open an account in each country. Only when the logistics fleet travels to the coverage network of operator A, the operator A will be selected to serve the logistics fleet.
作为一种可选的实施例,如图6所示,本申请实施例提供的方法在步骤507之前还可以包括:As an optional embodiment, as shown in FIG. 6, before step 507, the method provided in this embodiment of the present application may further include:
步骤509、BCAMF网元20接收来自所述终端10的第一指示。该第一指示用于指示由第一运营商为终端提供服务。Step 509: The BCAMF network element 20 receives the first instruction from the terminal 10. The first indication is used to indicate that the first operator provides services for the terminal.
相应的,步骤507具体可以通过以下方式实现:BCAMF网元20根据所述第一指示,确定当前由第一运营商为所述终端提供服务。Correspondingly, step 507 may be specifically implemented in the following manner: the BCAMF network element 20 determines that the first operator currently provides services for the terminal according to the first instruction.
一方面,该第一指示可以携带在上述开户请求消息中。具体的,该第一指示用于指示激活终端的签约数据。也即终端10在请求BCAMF网元10为终端10在第一运营商中开户时,同时请求由第一运营商为所述终端提供服务终端的签约数据意味着当前由该第一运营商服务终端。该方法的好处是在终端10附着之前确定终端10附着的网络,比如安全部门获得终端激活第一运营商的网络后,可以直接向第一运营商的UDM网元订阅终端10的附着状态。当终端10附着后,UDM网元通知安全部门。On the one hand, the first indication may be carried in the aforementioned account opening request message. Specifically, the first indication is used to indicate to activate the subscription data of the terminal. That is, when the terminal 10 requests the BCAMF network element 10 to open an account for the terminal 10 in the first operator, it also requests that the first operator provide the terminal with the terminal's subscription data, which means that the terminal is currently served by the first operator. . The advantage of this method is that the network to which the terminal 10 is attached is determined before the terminal 10 attaches. For example, after the security department obtains that the terminal activates the network of the first operator, it can directly subscribe the attachment status of the terminal 10 to the UDM network element of the first operator. After the terminal 10 is attached, the UDM network element notifies the security department.
另一方面,该第一指示可以在终端10成功在第一运营商中开户之后,再携带在其他消息(例如,签约更新消息或者更新服务消息)中发送至BCAMF网元10,以由BCAMF网元10确定由第一运营商为该终端10提供服务。On the other hand, after the terminal 10 successfully opens an account in the first operator, the first indication may be carried in other messages (for example, a subscription update message or an update service message) and sent to the BCAMF network element 10, so that the BCAMF network element 10 The element 10 determines that the first operator provides services for the terminal 10.
作为一种可选的实施例,如图6所示,本申请实施例提供的方法在步骤508之后还可以包括:As an optional embodiment, as shown in FIG. 6, after step 508, the method provided in this embodiment of the present application may further include:
步骤510、BCAMF网元20确定当前第一运营商未为终端10提供服务。Step 510: The BCAMF network element 20 determines that the current first operator does not provide services for the terminal 10.
步骤511、BCAMF网元在区块链中发布第三交易信息。其中,第三交易信息用于表示当前第一运营商未为终端提供服务。Step 511: The BCAMF network element publishes the third transaction information in the blockchain. Among them, the third transaction information is used to indicate that the current first operator does not provide services for the terminal.
作为一种可能的实现方式,本申请实施例中的步骤511可以通过以下方式实现:BCAMF网元将区块链中记录的终端的标识和第一运营商的标识之间的第一对应关系设置为非激活状态。或者BCAMF网元20确定当前第一运营商未为终端10提供服务,BCAMF网元20在区块链中发布用于表示前第一运营商未为终端10提供服务的交易信息。As a possible implementation manner, step 511 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element sets the first correspondence between the identification of the terminal recorded in the blockchain and the identification of the first operator It is inactive. Or the BCAMF network element 20 determines that the current first operator does not provide services for the terminal 10, and the BCAMF network element 20 publishes transaction information indicating that the previous first operator does not provide services for the terminal 10 in the blockchain.
具体的,BCAMF网元直接或者通过BCHF网元40将区块链中记录的终端的标识和第一运营商的标识之间的第一对应关系设置为非激活状态。第一对应关系设置为非激活状态表示当前第一运营商未为终端10提供服务。Specifically, the BCAMF network element directly or through the BCHF network element 40 sets the first corresponding relationship between the identifier of the terminal and the identifier of the first operator recorded in the blockchain to an inactive state. The setting of the first correspondence relationship to the inactive state indicates that the current first operator does not provide services for the terminal 10.
由于终端可以在多个运营商开户,但是某个时刻可能存在一个运营商为终端提供服务,例如,如果BCHF网元40确定由第一运营商为终端提供服务,但是此时区块链中记录第一标识和第二运营商的标识之间的第二对应关系,且,第二运营商为终端10提供服务。则BCHF网元40确定由第一运营商为终端提供服务后,触发智能合约,将第二运营商为终端提供服务置为无效。示例性的,BCHF网元40将第二对应关系为非 激活状态。通过将第二对应关系设置为非激活状态则表示当前第二运营商未为终端10提供服务。或者BCAMF网元20直接或通过BCHF网元40在区块链中将用于表示第二运营商为终端10提供服务的交易信息标记为无效。Since the terminal can open accounts with multiple operators, there may be an operator providing services for the terminal at a certain moment. For example, if the BCHF network element 40 determines that the first operator provides services for the terminal, but the first operator is recorded in the blockchain at this time A second correspondence between an identifier and the identifier of the second operator, and the second operator provides services for the terminal 10. Then, after the BCHF network element 40 determines that the first operator provides services for the terminal, it triggers the smart contract to invalidate the second operator's provision of services for the terminal. Exemplarily, the BCHF network element 40 sets the second correspondence relationship to an inactive state. By setting the second correspondence to an inactive state, it means that the second operator currently does not provide services for the terminal 10. Or, the BCAMF network element 20 directly or through the BCHF network element 40 marks the transaction information used to indicate that the second operator provides services for the terminal 10 in the blockchain as invalid.
应理解,在第一运营商为终端10提供服务之前由该第二运营商为终端10提供服务。It should be understood that the second operator provides services for the terminal 10 before the first operator provides services for the terminal 10.
举例说明,例如,国际物流车队在第一运营商和第二运营商中均开户成功,在T1时刻,国际物流车队行驶到第二运营商的网络时,由第二运营商为终端10提供服务。在T2时刻国际物流车队行驶到第一运营商的网络时,由第一运营商为终端10提供服务,此时,BCAMF网元20或BCHF网元40在区块链中将第一对应关系设置为激活状态,触发区块链智能合约,将第二对应关系设置为非激活状态。For example, for example, the international logistics fleet has successfully opened accounts in both the first operator and the second operator. At time T1, when the international logistics fleet travels to the second operator’s network, the second operator will provide services for the terminal 10 . When the international logistics fleet travels to the network of the first operator at T2, the first operator provides services for the terminal 10. At this time, the BCAMF network element 20 or the BCHF network element 40 sets the first corresponding relationship in the blockchain In the activated state, the blockchain smart contract is triggered, and the second corresponding relationship is set to the inactive state.
作为一种可选的实施例,如图6所示,本申请实施例提供的方法在步骤502之后还可以包括:As an optional embodiment, as shown in FIG. 6, after step 502, the method provided in this embodiment of the present application may further include:
步骤512、BCAMF网元20在区块链中发布第四交易信息,所述第四交易信息包括验证信息。该验证信息用于表示终端符合开户要求。Step 512: The BCAMF network element 20 publishes fourth transaction information in the blockchain, where the fourth transaction information includes verification information. The verification information is used to indicate that the terminal meets the account opening requirements.
具体的,第四交易信息的内容包括终端符合全部开户要求的内容或部分开户要求的内容。例如,如果开户要求A项和B项,如果终端均符合A项和B项,则第四交易信息包括终端均开户要求的A项和B项。Specifically, the content of the fourth transaction information includes content that the terminal meets all or part of the account opening requirements. For example, if items A and B are required to open an account, and if the terminal meets items A and B, the fourth transaction information includes items A and B required for both terminals to open an account.
如果BCAMF网元20确定终端10符合开户要求,也即终端10在区块链中验证成功后,BCAMF网元20直接或通过BCHF网元40将验证信息以合法性声明的形式作为交易发布到区块链中。如果本次验证过程不包括off chain的模式,则发布过程是可选的。否则,本过程为终端身份验证的必要过程。考虑到终端的个人隐私保护需求,发布的合法性声明需要符合当地法律法规需求。相关的形式包括:1)在合法性声明中给出终端相关合法性状态的结论,不给出具体细节。合法性状态包括但不限于:终端的GPBC ID合法,终端申请某特定业务合法等。2)以终端的相关秘密信息派生出加密密钥对合法性声明机密性保护,未来其他查询该声明的运营商或第三方服务提供商在得到终端授权的情况下,获得终端派生后的密钥访问该声明;3)在区块链为联盟链模式下,可在联盟链上配置访问控制能力。If the BCAMF network element 20 determines that the terminal 10 meets the account opening requirements, that is, after the terminal 10 is successfully verified in the blockchain, the BCAMF network element 20 directly or through the BCHF network element 40 publishes the verification information in the form of a legality statement as a transaction to the district Block chain. If this verification process does not include the off-chain mode, the publishing process is optional. Otherwise, this process is a necessary process for terminal identity verification. Taking into account the personal privacy protection requirements of the terminal, the issued legality statement needs to meet the requirements of local laws and regulations. The related forms include: 1) The conclusion of the relevant legal status of the terminal is given in the legality statement, and no specific details are given. The legal status includes but is not limited to: the terminal's GPBC ID is legal, and the terminal's application for a specific service is legal. 2) The encryption key is derived from the relevant secret information of the terminal to protect the confidentiality of the legality statement. In the future, other operators or third-party service providers who inquire about the statement will obtain the terminal's derived key when authorized by the terminal. Access the statement; 3) When the blockchain is in the consortium chain mode, the access control capabilities can be configured on the consortium chain.
作为一种可选的实施例,如图6所示,本申请实施例提供的方法在步骤502之后还可以包括:As an optional embodiment, as shown in FIG. 6, after step 502, the method provided in this embodiment of the present application may further include:
步骤513、BCAMF网元在区块链中发布第七交易信息,第七交易信息包括以下信息中的任一个或多个:SUPI和终端的标识之间的映射关系、GPSI和终端的标识之间的映射关系。Step 513: The BCAMF network element publishes seventh transaction information in the blockchain. The seventh transaction information includes any one or more of the following information: the mapping relationship between the SUPI and the terminal identifier, and the GPSI and the terminal identifier The mapping relationship.
本申请实施例通过在区块链中记录SUPI和所述终端的标识之间的映射关系、GPSI和终端的标识之间的映射关系,以便后续业务发起网元在区块链中查询服务该终端的运营商并进行路由。In this embodiment of the application, the mapping relationship between SUPI and the terminal's identity, and the mapping relationship between GPSI and the terminal's identity are recorded in the blockchain, so that subsequent service initiating network elements can query and serve the terminal in the blockchain Operator and perform routing.
作为一种可能的实现方式,本申请实施例中BCAMF网元20在区块链中发布交易信息,可以通过以下方式实现:BCAMF网元20向BCHF网元发送交易信息,BCHF网元40用于在所述区块链中发布所述交易信息,所述交易信息包括:第一交易信息、第二交易信息、第三交易信息、第四交易信息和第七交易信息中的任一个或多个。As a possible implementation, the BCAMF network element 20 in the embodiment of the application publishes transaction information in the blockchain, which can be implemented in the following manner: the BCAMF network element 20 sends transaction information to the BCHF network element, and the BCHF network element 40 is used for Publish the transaction information in the blockchain, and the transaction information includes: any one or more of the first transaction information, the second transaction information, the third transaction information, the fourth transaction information, and the seventh transaction information .
如图7所示,图7示出了本申请实施例提供的一种利用区块链为终端提供业务的方法,包括:As shown in FIG. 7, FIG. 7 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, including:
步骤701、终端10向BCAMF网元20发送销户请求消息,以使得BCAMF网元20接收来自终端10的销户请求消息。Step 701: The terminal 10 sends an account cancellation request message to the BCAMF network element 20, so that the BCAMF network element 20 receives the account cancellation request message from the terminal 10.
其中,销户请求消息中携带终端10的标识,销户请求消息用于请求取消终端在第一运营商中的服务。Wherein, the account cancellation request message carries the identification of the terminal 10, and the account cancellation request message is used to request cancellation of the terminal's service in the first operator.
需要说明的是,在步骤701之前,终端10已在第一运营商中成功开户。终端10在第一运营商中开户的具体过程可以参考图5或图6所示的实施例,此处不再赘述。当然终端10还可以采用除图5或图6所示的过程以外的方式在第一运营商中开户。It should be noted that before step 701, the terminal 10 has successfully opened an account in the first operator. For the specific process of the terminal 10 opening an account in the first operator, reference may be made to the embodiment shown in FIG. 5 or FIG. 6, which will not be repeated here. Of course, the terminal 10 may also use methods other than the process shown in FIG. 5 or FIG. 6 to open an account in the first operator.
步骤701中终端10和BCAMF网元20的交互可以参考步骤501处的描述,此处不再赘述。For the interaction between the terminal 10 and the BCAMF network element 20 in step 701, reference may be made to the description in step 501, which will not be repeated here.
步骤702、BCAMF网元20根据终端10的标识,确定终端10符合销户要求。Step 702: The BCAMF network element 20 determines that the terminal 10 meets the account cancellation requirement according to the identification of the terminal 10.
作为一种可能的实现方式,本申请实施例中的步骤702可以通过以下方式实现:BCAMF网元20根据终端10的标识,在区块链中验证终端10符合销户要求。As a possible implementation manner, step 702 in the embodiment of the present application can be implemented in the following manner: the BCAMF network element 20 verifies in the blockchain that the terminal 10 meets the account cancellation requirement according to the identification of the terminal 10.
例如,终端10在销户请求消息中提供的终端10的标识与终端10开户时,提供的终端10的标识一致,则确定终端10符合销户要求。For example, if the identification of the terminal 10 provided by the terminal 10 in the account cancellation request message is consistent with the identification of the terminal 10 provided when the terminal 10 opens an account, it is determined that the terminal 10 meets the account cancellation requirement.
步骤703、BCAMF网元20向用户数据管理网元30或认证证书存储库和处理功能(Authentication credential Repository and Processing Function,ARPF)网元发送第二消息,以使得用户数据管理网元30接收来自BCAMF网元20的第二消息。该第二消息包括终端的标识,第二消息用于指示删除终端的签约数据。Step 703: The BCAMF network element 20 sends a second message to the user data management network element 30 or the authentication certificate repository and processing function (ARPF) network element, so that the user data management network element 30 receives the BCAMF The second message of the network element 20. The second message includes the identification of the terminal, and the second message is used to instruct to delete the subscription data of the terminal.
应理解,在终端在第一运营商中成功开户过程中,用户数据管理网元30存储有终端的签约数据。对于用户数据管理网元30获取终端的签约数据的过程可以参考上述步骤504,此处不再赘述。It should be understood that in the process of successfully opening an account for the terminal in the first operator, the user data management network element 30 stores the subscription data of the terminal. For the process by which the user data management network element 30 obtains the subscription data of the terminal, reference may be made to the foregoing step 504, which will not be repeated here.
步骤704、用户数据管理网元30根据终端的标识,删除终端的签约数据。Step 704: The user data management network element 30 deletes the subscription data of the terminal according to the identification of the terminal.
作为一种可选的实施例,如图7所示,本申请实施例提供的方法在步骤702之后还可以包括:As an optional embodiment, as shown in FIG. 7, the method provided in this embodiment of the present application may further include after step 702:
步骤705、BCAMF网元20释放为终端10分配的SUPI和/或GPSI等。Step 705: The BCAMF network element 20 releases the SUPI and/or GPSI allocated to the terminal 10, etc.
可选的,BCAMF网元20或BCHF网元40确定终端10符合销户要求时,BCAMF网元20直接或者通过BCHF万户40间接触发开户智能合约,释放为终端分配的SUPI或GPSI等,SUPI可以是IMSI,GPSI可以是MSISD N。Optionally, when the BCAMF network element 20 or the BCHF network element 40 determines that the terminal 10 meets the account cancellation requirements, the BCAMF network element 20 directly or indirectly triggers the account opening smart contract through the BCHF million account 40 to release the SUPI or GPSI allocated for the terminal, SUPI It can be IMSI, GPSI can be MSISD N.
此外,作为一种可选的实施例,如图7所示,本申请实施例提供的方法在步骤701之后,还可以包括:In addition, as an optional embodiment, as shown in FIG. 7, after step 701, the method provided in this embodiment of the present application may further include:
步骤706、BCAMF网元20向终端10发送销户成功消息,销户成功消息中包括终端10的标识。该销户成功消息用于表示已在第一运营商中将终端10成功销户。Step 706: The BCAMF network element 20 sends an account cancellation success message to the terminal 10, and the account cancellation success message includes the identification of the terminal 10. The account cancellation success message is used to indicate that the terminal 10 has been successfully cancelled in the first operator.
作为一种可选的实现方式,如图7所示,本申请实施例提供的方法在步骤701之后还可以包括:As an optional implementation manner, as shown in FIG. 7, the method provided in this embodiment of the present application may further include after step 701:
步骤707、BCAMF网元20在区块链中发布第五交易信息,该第五交易信息用于表示终端10不再是第一运营商的签约终端。或者第五交易信息用于表示终端10已在第一运营商中的销户。第五交易信息包括销户交易,销户交易用于表示终端已取消终 端在第一运营商中的服务。Step 707: The BCAMF network element 20 publishes fifth transaction information in the blockchain, where the fifth transaction information is used to indicate that the terminal 10 is no longer a contracted terminal of the first operator. Or the fifth transaction information is used to indicate that the terminal 10 has been canceled in the first operator. The fifth transaction information includes an account cancellation transaction, which is used to indicate that the terminal has cancelled the terminal's service in the first operator.
在一种可能的实现方式中,BCAMF网元20在区块链中发布第五交易信息,包括:BCAMF网元20向区块链处理功能BCHF网元40发送第五交易信息,BCHF网元40用于在区块链中第五发布交易信息。In a possible implementation manner, the BCAMF network element 20 publishes the fifth transaction information in the blockchain, including: the BCAMF network element 20 sends the fifth transaction information to the blockchain processing function BCHF network element 40, and the BCHF network element 40 Used to publish transaction information fifth in the blockchain.
具体的,如果区块链中存在终端10和第一运营商的标识之间的第一对应关系,则BCAMF网元20直接或通过BCHF网元将第一对应关系设置为销户状态。Specifically, if there is a first correspondence between the terminal 10 and the identity of the first operator in the blockchain, the BCAMF network element 20 sets the first correspondence to the account cancellation state directly or through the BCHF network element.
需要说明的是,如果在终端10销户过程中,如果该终端10在第一运营商中预存了多余话费,则在智能合约执行过程中伴随了第一运营商向终端10返还话费的过程,则BCAMF网元20直接或通过BCHF网元将为该终端10返还的话费记录在区块链中。It should be noted that if in the process of canceling the account of the terminal 10, if the terminal 10 pre-stores the excess call charges in the first operator, then the smart contract execution process is accompanied by the process of the first operator returning the call charges to the terminal 10. Then, the BCAMF network element 20 directly or through the BCHF network element records the call charge returned for the terminal 10 in the blockchain.
需要说明的是,图7所示的实施例可以作为一个单独的实施例,当然,该图7所示的实施例也可以和图5或图6所示的实施例结合实施。It should be noted that the embodiment shown in FIG. 7 may be used as a separate embodiment. Of course, the embodiment shown in FIG. 7 may also be implemented in combination with the embodiment shown in FIG. 5 or FIG. 6.
如图8所示,图8示出了本申请实施例提供的一种利用区块链为终端提供业务的方法,包括:As shown in FIG. 8, FIG. 8 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, including:
步骤801、终端10向BCAMF网元20发送更新服务请求(update service request)消息,以使得BCAMF网元20接收来自终端10的更新服务请求消息。其中,更新服务请求消息中携带终端的标识。该更新服务请求消息用于请求更新终端在第一运营商中的服务。Step 801: The terminal 10 sends an update service request (update service request) message to the BCAMF network element 20, so that the BCAMF network element 20 receives the update service request message from the terminal 10. Wherein, the update service request message carries the identification of the terminal. The update service request message is used to request to update the service of the terminal in the first operator.
示例性的,更新服务请求消息中还可以携带终端希望更新的服务列表。例如,终端希望更新的APN列表或网络切片列表中的任一个或多个。更新的方式可以是添加或者删除某项服务,或者更新某项服务,比如将流量上限提高等。例如,终端10之前未购买网络切片A,则可以通过更新服务请求消息,请求从第一运营商中购买网络切片A。又例如,终端10之前购买了第一运营商的彩铃服务或者来电显示服务,则终端10可以通过步骤801请求取消彩铃服务或者来电显示服务。Exemplarily, the service update request message may also carry a list of services that the terminal wishes to update. For example, any one or more of the APN list or the network slice list that the terminal wants to update. The update method can be to add or delete a certain service, or to update a certain service, such as increasing the traffic limit. For example, if the terminal 10 has not purchased the network slice A before, it may request to purchase the network slice A from the first operator through the update service request message. For another example, if the terminal 10 has previously purchased the CRBT service or the caller ID service of the first operator, the terminal 10 may request the cancellation of the CRBT service or the caller ID service through step 801.
步骤802、BCAMF网元20直接或通过BCHF网元根据终端10的标识验证终端10是否具有符合更新终端10的服务的要求。Step 802: The BCAMF network element 20 directly or through the BCHF network element verifies whether the terminal 10 meets the requirements of updating the service of the terminal 10 according to the identification of the terminal 10.
示例性的,BCAMF网元20直接或通过BCHF网元根据终端10的标识在区块链中验证终端10是否具有符合更新终端10的服务的要求。Exemplarily, the BCAMF network element 20 directly or through the BCHF network element verifies whether the terminal 10 meets the requirements of updating the service of the terminal 10 in the blockchain according to the identification of the terminal 10.
如果BCAMF网元20确定终端10符合更新终端10的服务的要求,则执行步骤802。具体的,如果BCAMF网元20确定终端10的标识与终端10开户时提供的终端10的标识一致,则确定终端10符合更新终端10的服务的要求。或者BCAMF网元20确定第一运营商具有终端10请求更新的服务、或终端请求更新的服务合法,则确定终端符合更新终端10的服务的要求。If the BCAMF network element 20 determines that the terminal 10 meets the requirements for updating the service of the terminal 10, step 802 is executed. Specifically, if the BCAMF network element 20 determines that the identity of the terminal 10 is consistent with the identity of the terminal 10 provided when the terminal 10 opens an account, it is determined that the terminal 10 meets the requirements for updating the service of the terminal 10. Or the BCAMF network element 20 determines that the first operator has the service requested by the terminal 10 to update, or the service requested by the terminal to update is legal, and then determines that the terminal meets the requirements for updating the service of the terminal 10.
步骤803、BCAMF网元20向用户数据管理网元30/ARPF发送第三消息,该第三消息包括终端10的标识,以及第三信息。第三信息用于确定更新后的签约数据。Step 803: The BCAMF network element 20 sends a third message to the user data management network element 30/ARPF, where the third message includes the identifier of the terminal 10 and third information. The third information is used to determine the updated contract data.
应理解,在终端10在第一运营商中成功开户过程中,用户数据管理网元30存储有终端的签约数据。对于用户数据管理网元30获取终端的签约数据的过程可以参考上述步骤504,此处不再赘述。It should be understood that in the process of successfully opening an account for the terminal 10 in the first operator, the user data management network element 30 stores the contract data of the terminal. For the process by which the user data management network element 30 obtains the subscription data of the terminal, reference may be made to the foregoing step 504, which will not be repeated here.
示例性的,第三信息可以为更新后的签约数据。或者第三信息可以为签约数据中发生变化的内容。例如,如果签约数据中包括网络切片A,终端10通过步骤801请求 取消网络切片A,则第三信息可以为在签约数据中取消网络切片A。Exemplarily, the third information may be updated contract data. Or the third information may be content that has changed in the contract data. For example, if the subscription data includes network slice A, and the terminal 10 requests cancellation of network slice A through step 801, the third information may be cancellation of network slice A in the subscription data.
步骤804、用户数据管理网元30/ARPF,更新终端的签约数据。Step 804: The user data management network element 30/ARPF updates the subscription data of the terminal.
在一种可选的实施例中,如图8所示,本申请实施例提供的方法在步骤802之后还可以包括:In an optional embodiment, as shown in FIG. 8, after step 802, the method provided in this embodiment of the present application may further include:
步骤805、BCAMF网元20更新终端10的APN列表或网络切片列表。Step 805: The BCAMF network element 20 updates the APN list or the network slice list of the terminal 10.
此外,在步骤805之前,本申请实施例提供的方法还包括:BCAMF网元20根据终端10的标识,确定终端10符合更新服务要求,便可以更新终端10和第一运营商的开户合约。在更新终端10和第一运营商的开户合约过程中,涉及到终端10利用区块链货币购买第一运营商业务的交易过程,即货币由终端10转移到第一运营商的过程,该过程同样作为交易信息由BCAMF网元20直接或由BCAMF网元20通过BCHF网元40写入区块链。In addition, before step 805, the method provided in the embodiment of the present application further includes: the BCAMF network element 20 determines that the terminal 10 meets the update service requirements according to the identification of the terminal 10, and can update the account opening contract between the terminal 10 and the first operator. In the process of updating the account opening contract between the terminal 10 and the first operator, the transaction process of the terminal 10 using blockchain currency to purchase the business of the first operator is involved, that is, the process of currency transfer from the terminal 10 to the first operator. Similarly, as transaction information, the BCAMF network element 20 directly writes it into the blockchain or the BCAMF network element 20 through the BCHF network element 40.
步骤806、BCAMF网元20向终端10发送指示服务更新成功的消息,指示服务更新成功的消息中包括终端10的标识。该指示服务更新成功的消息用于表示已更新终端10在第一运营商中的服务。Step 806: The BCAMF network element 20 sends a message indicating the success of the service update to the terminal 10, and the message indicating the success of the service update includes the identifier of the terminal 10. The message indicating that the service update is successful is used to indicate that the service of the terminal 10 in the first operator has been updated.
作为一种可选的实施例,如图8所示,本申请实施例提供的方法在步骤801之后还可以包括:As an optional embodiment, as shown in FIG. 8, after step 801, the method provided in this embodiment of the present application may further include:
步骤807、BCAMF网元20在区块链中发布第六交易信息,该第六交易信息包括更新服务交易。其中,更新服务交易包括所述终端在所述第一运营商中更新后的服务。Step 807: The BCAMF network element 20 publishes sixth transaction information in the blockchain, where the sixth transaction information includes an update service transaction. Wherein, the updated service transaction includes the updated service of the terminal in the first operator.
示例性的,更新服务交易具体包括终端10在第一运营商中增加的服务,删除的服务或者更新的服务内容。Exemplarily, the updated service transaction specifically includes the service added by the terminal 10 in the first operator, the deleted service or the updated service content.
在一种可能的实现方式中,步骤807可以通过以下方式实现:BCAMF网元20向BCHF网元40发送第六交易信息,BCHF网元用于在区块链中发布第六交易信息。In a possible implementation manner, step 807 can be implemented in the following manner: the BCAMF network element 20 sends the sixth transaction information to the BCHF network element 40, and the BCHF network element is used to publish the sixth transaction information in the blockchain.
需要说明的是,图8所示的实施例可以作为一个单独的实施例,当然,该图8所示的实施例也可以和图5或图6或图7所示的实施例结合实施。It should be noted that the embodiment shown in FIG. 8 can be used as a separate embodiment. Of course, the embodiment shown in FIG. 8 can also be implemented in combination with the embodiment shown in FIG. 5 or FIG. 6 or FIG. 7.
虽然目前终端可以采用可插拔SIM、嵌入式SIM(Embedded SIM,eSIM),或软(soft)SIM与运营商取得服务。eSIM即将SIM卡物理嵌在终端上,运营商可以远程将终端的签约数据写入终端,终端上可以存多个运营商的签约数据,由用户决定激活哪一个运营商的签约数据。软SIM:由中间商(一般是手机厂家)和多个运营商提前签约,终端的用户选择服务的运营商后,中间商将选择运营商的签约数据通过软件写入终端。Although the current terminal can use a pluggable SIM, an embedded SIM (Embedded SIM, eSIM), or a soft (soft) SIM to obtain services with operators. The eSIM is to physically embed the SIM card on the terminal. The operator can remotely write the terminal's contract data to the terminal. The terminal can store the contract data of multiple operators, and the user decides which operator's contract data to activate. Soft SIM: An intermediary (usually a mobile phone manufacturer) signs contracts with multiple operators in advance. After the terminal user selects the service operator, the intermediary writes the contract data of the selected operator into the terminal through software.
但是,无论可插拔SIM,eSIM或者软SIM,由于IMSI和MSISDN的前缀是和运营商绑定的,因此终端在更换运营商后,为终端分配的IMSI和MSISDN也会相应更改,该方式下,终端需要通知所有联系人,更改保存的标识以便进行MT业务。同时由于为终端分配的IMSI和MSISDN改变后,如果要对终端的数据进行整合,需要进行多个标识相互映射,才能关联到同一个终端,该方式不利于大数据时代以终端为中心的数据整合共享。基于此,如图9所示,图9示出了本申请实施例提供的一种利用区块链为终端提供业务的方法,该方法适用于终端10在第一运营商中已成功开户,且由第一运营商为终端10提供服务的场景,该方法包括:业务发起网元根据终端的标识,从区块链中获取第一信息,步骤904以及步骤905。具体的,业务发起网元根据终端 的标识,从区块链中获取第一信息具体可以通过步骤901-步骤903实现。However, regardless of the pluggable SIM, eSIM or soft SIM, because the prefixes of IMSI and MSISDN are bound to the operator, after the terminal changes the operator, the IMSI and MSISDN allocated to the terminal will also be changed accordingly. , The terminal needs to notify all contacts to change the saved logo for MT business. At the same time, since the IMSI and MSISDN assigned to the terminal are changed, if the data of the terminal is to be integrated, multiple identities need to be mapped to each other to be associated with the same terminal. This method is not conducive to the terminal-centric data integration in the big data era. shared. Based on this, as shown in FIG. 9, FIG. 9 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application. The method is suitable for the terminal 10 that has successfully opened an account in the first operator, and In a scenario where the first operator provides a service for the terminal 10, the method includes: the service initiating network element obtains the first information from the blockchain according to the identifier of the terminal, step 904 and step 905. Specifically, the service initiating network element obtains the first information from the blockchain according to the terminal's identifier, which can be specifically implemented through steps 901 to 903.
步骤901、业务发起网元向BCHF网元40发送第一请求消息,以使得BCHF网元40接收来自业务发起网元的第一请求消息。第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端10提供服务的一个或多个网元。Step 901: The service initiating network element sends a first request message to the BCHF network element 40, so that the BCHF network element 40 receives the first request message from the service initiating network element. The first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal 10.
例如,业务发起网元可以为发起业务的第三方服务器,或者服务发起业务终端的询问呼叫会话控制功能(interrogating call session control function,I-CSCF)。For example, the service initiating network element may be a third-party server that initiates the service, or the interrogating call session control function (I-CSCF) of the service initiating service terminal.
步骤902、BCHF网元40根据终端10的标识,从区块链中获取第一信息。Step 902: The BCHF network element 40 obtains the first information from the blockchain according to the identifier of the terminal 10.
步骤903、BCHF网元40向业务发起网元发送第一信息,以使得业务发起网元接收来自BCHF网元40的第一信息。Step 903: The BCHF network element 40 sends the first information to the service initiating network element, so that the service initiating network element receives the first information from the BCHF network element 40.
步骤904、业务发起网元根据第一信息,确定为终端10提供服务的一个或多个网元。Step 904: The service initiating network element determines one or more network elements that provide services for the terminal 10 according to the first information.
步骤905、业务发起网元和一个或多个网元中的任一网元交互为终端提供业务。Step 905: The service initiating network element interacts with any one of the one or more network elements to provide a service for the terminal.
本申请实施例提供一种利用区块链为终端提供业务的方法,该方法通过业务发起网元从区块链中获取用于确定为所述终端提供服务的一个或多个网元的第一信息。由于终端的标识可以在区块链中识别该终端,且即使终端更换运营商后,无需更改终端的标识,这样即使终端更换了运营商,可以使得业务发起方网元根据终端的标识或SUPI从区块链中确定当前为终端提供服务的一个或多个网元。进而业务发起方网元通过与为终端提供服务的网元交互为终端提供业务。通过该方法,满足了终端在更换运营商的情况下,业务发起方网元为终端提供业务前,需要确定为终端提供服务的一个或多个网元的要求。The embodiment of the present application provides a method for using a blockchain to provide services for a terminal. The method obtains a first network element from the blockchain for determining one or more network elements that provide services for the terminal through a service initiating network element. information. Since the terminal's identity can identify the terminal in the blockchain, and even if the terminal changes its operator, there is no need to change the terminal's identity. In this way, even if the terminal changes its operator, the service initiator network element can be enabled according to the terminal's identity or SUPI slave One or more network elements that currently provide services to the terminal are determined in the blockchain. Furthermore, the service initiator network element provides services for the terminal by interacting with the network element that provides services for the terminal. This method meets the requirement of determining one or more network elements that provide services for the terminal before the service initiator network element provides services for the terminal when the terminal changes its operator.
以IMS呼叫为例,业务发起网元获得服务终端的运营商的ID后,业务发起网元通过运营商的ID获得终端10的I-CSCF信息,业务发起网元通过代理呼叫会话控制功能(proxy call session control function,P-CSCF),服务呼叫会话控制功能(serving call session control function,S-CSCF)将会话请求发送到被叫终端10的I-CSCF/S-CSCF,进行后续的会话流程。Taking an IMS call as an example, after the service initiating network element obtains the ID of the operator of the serving terminal, the service initiating network element obtains the I-CSCF information of the terminal 10 through the ID of the operator, and the service initiating network element uses the proxy call session control function (proxy The call session control function (P-CSCF), the serving call session control function (S-CSCF) sends the session request to the I-CSCF/S-CSCF of the called terminal 10, and the subsequent session process is performed.
本申请实施例提供一种利用区块链为终端提供业务的方法,该方法在终端更改运营商,SUPI和GUPI发生变化的情况下,由于终端的标识不变,因此业务发起网元可以通过终端的标识,从区块链中获取第一信息,以确定为终端提供服务的一个或多个网元。进而业务发起网元和一个或多个网元交互为终端提供业务,可以避免在终端更改运营商的情况下,MT业务受到影响。The embodiment of the application provides a method for using blockchain to provide services for terminals. In the case that the terminal changes its operator and SUPI and GUPI change, since the identity of the terminal remains the same, the service initiating network element can pass through the terminal , Obtain the first information from the blockchain to determine one or more network elements that provide services for the terminal. Furthermore, the service initiating network element interacts with one or more network elements to provide services for the terminal, which can prevent the MT service from being affected when the terminal changes its operator.
由于第一信息的内容不同,业务发起网元根据第一信息确定一个或多个网元的过程存在差异,因此以下分别介绍:Because the content of the first information is different, the process of determining one or more network elements by the service initiating network element based on the first information is different, so the following are introduced separately:
示例1)、第一信息包括当前为终端10提供服务的运营商的信息。Example 1). The first information includes information of an operator currently providing services for the terminal 10.
相应的,本申请实施例中的步骤902可以通过以下方式实现:业务发起网元根据运营商的信息,确定一个或多个网元的信息。例如,运营商的信息可以为运营商ID、运营商地址或者名称。Correspondingly, step 902 in the embodiment of the present application can be implemented in the following manner: the service initiating network element determines the information of one or more network elements according to the information of the operator. For example, the information of the operator may be an operator ID, an address or name of the operator.
示例性的,该业务发起网元的本地配置有预配置信息,该预配置信息用于反映一个或多个运营商中每个运营商在指定位置的为终端提供服务的一个或多个网元的信息,这样便于业务发起网元从预配置信息根据运营商的信息,确定该运营商下为终端提供 服务的一个或多个网元的信息。Exemplarily, the local configuration of the service initiating network element is provided with pre-configuration information, and the pre-configuration information is used to reflect one or more network elements that each of the one or more operators provides services for the terminal at a designated location In this way, it is convenient for the service initiating network element to determine the information of one or more network elements that provide services for the terminal under the operator according to the information of the operator from the pre-configured information.
示例性的,业务发起网元可以将可以运营商的信息构造查询信息发送至域名系统(Domain Name System,DNS),或者负责网络功能注册和发现功能的网元(例如,网络功能存储功能网元(network function repository function,NRF))。以DNS,或者NRF查询该运营商下为终端提供服务的一个或多个网元的信息。可以理解,在未来通信,负责网络功能注册和发现功能的网元仍可以是NRF网元,或有其它的名称,本申请不做限定。Exemplarily, the service initiating network element can send the query information that can be constructed by the operator to the Domain Name System (DNS), or the network element responsible for the network function registration and discovery function (for example, the network function storage function network element) (network function repository function, NRF)). Use DNS or NRF to query the information of one or more network elements that provide services for the terminal under the operator. It can be understood that in future communications, the network element responsible for the network function registration and discovery function may still be an NRF network element or have other names, which is not limited by this application.
示例性的,业务发起网元还可以根据运营商信息确定服务终端的UDM网元/UDR网元,通过查询UDM网元/UDR网元获得服务终端的网元,比如I-CSCF或者S-CSCF,或者AMF网元,SMF网元等。Exemplarily, the service initiating network element may also determine the UDM network element/UDR network element of the serving terminal according to the operator information, and obtain the network element of the serving terminal by querying the UDM network element/UDR network element, such as I-CSCF or S-CSCF , Or AMF network element, SMF network element, etc.
应理解,在示例1的情况下,区块链中记录有当前为终端10提供服务的运营商的信息。具体的,当前为终端10提供服务的运营商的信息可以由BCAMF网元20通过上述步骤508实现。It should be understood that, in the case of Example 1, the information of the operator currently providing services for the terminal 10 is recorded in the blockchain. Specifically, the information of the operator currently providing services for the terminal 10 may be implemented by the BCAMF network element 20 through the above step 508.
在示例1中,第一请求消息中携带第一指示。该第一指示用于请求为所述终端提供服务的运营商的信息,则BCHF网元40确定第一信息包括为所述终端提供服务的运营商的信息。In Example 1, the first request message carries the first indication. The first indication is used to request information of an operator that provides services for the terminal, and the BCHF network element 40 determines that the first information includes information of an operator that provides services for the terminal.
示例2)、第一信息包括为终端10提供服务的一个或多个网元的信息。也即在示例2中BCHF网元40直接向业务发起网元提供为终端10提供服务的一个或多个网元的信息。例如,一个或多个网元的信息可以为网元的ID,或者名称。Example 2). The first information includes information about one or more network elements that provide services for the terminal 10. That is, in Example 2, the BCHF network element 40 directly provides information about one or more network elements that provide services for the terminal 10 to the service initiating network element. For example, the information of one or more network elements may be the ID or name of the network element.
应理解,在示例2的情况下,区块链中记录有当前为终端10提供服务的一个或多个网元的信息。具体的,当前为终端10提供服务的一个或多个网元的信息可以由下述步骤1103实现。It should be understood that, in the case of Example 2, the information of one or more network elements currently providing services for the terminal 10 is recorded in the blockchain. Specifically, the information of one or more network elements currently providing services for the terminal 10 may be implemented by the following step 1103.
在示例2中,作为一种可能的实现方式,第一请求消息携带第一指示,所述第一指示用于BCHF网元40确定业务发起网元请求的为终端10提供服务的一个或多个网元的信息。In Example 2, as a possible implementation, the first request message carries a first indication, and the first indication is used by the BCHF network element 40 to determine one or more service initiation network elements requested by the service initiating network element to provide services for the terminal 10 Information about the network element.
示例性的,第一指示用于指示以下信息中的任一个或多个:业务发起网元需要与所述终端通信的业务类型、或者业务发起网元期待的网元类型、或者业务发起网元需要的网元名称。Exemplarily, the first indication is used to indicate any one or more of the following information: the type of service that the service initiating network element needs to communicate with the terminal, or the type of network element expected by the service initiating network element, or the service initiating network element The name of the required network element.
例如,第一指示可以为具体的消息名称,比如查询服务终端10的I-CSCF/S-CSCF地址请求消息;还可以是在信元中指示信元名称,比如指示S-CSCF,或者指示需要进行的业务,由BCHF网元40返回业务所需的网元,比如指示进行呼叫,BCHF网元40返回S-CSCF的地址等。本申请实施例不做限定。For example, the first indication may be a specific message name, such as a request message for querying the I-CSCF/S-CSCF address of the service terminal 10; it may also indicate the cell name in the cell, such as indicating the S-CSCF, or indicating the need For the performed service, the BCHF network element 40 returns the network element required for the service, such as instructing to make a call, and the BCHF network element 40 returns the address of the S-CSCF. The embodiments of this application do not make limitations.
如图10所示,图10示出了本申请实施例提供的一种利用区块链为终端提供业务的方法,该方法包括:As shown in FIG. 10, FIG. 10 shows a method for providing services for a terminal by using a blockchain according to an embodiment of the present application, and the method includes:
步骤1001、第一网元向用户面数据管理网元40发送第一消息,以使得用户面数据管理网元40接收来自第一网元的第一消息,第一消息用于表示将第一网元注册为向终端提供服务的网元。Step 1001: The first network element sends a first message to the user plane data management network element 40, so that the user plane data management network element 40 receives the first message from the first network element. Meta is registered as a network element that provides services to the terminal.
其中,第一消息包括终端的标识。第一网元和用户面数据管理网元40属于第一运营商。Wherein, the first message includes the identification of the terminal. The first network element and the user plane data management network element 40 belong to the first operator.
例如,第一网元为:移动管理网元、会话管理网元或I-CSCF网元、或、服务呼叫会话控制功能S-CSCF网元中的任一个或多个。For example, the first network element is any one or more of: a mobility management network element, a session management network element, or an I-CSCF network element, or, a serving call session control function S-CSCF network element.
示例性的,第一消息中携带终端10的标识、第一网元的标识以及第二指示,该第二指示用于指示将第一网元注册为向终端10提供服务的网元。Exemplarily, the first message carries the identifier of the terminal 10, the identifier of the first network element, and a second indication, and the second indication is used to indicate that the first network element is registered as a network element that provides services to the terminal 10.
步骤1002、用户面数据管理网元40向第一网元发送指示注册成功的响应消息,以使得第一网元接收来自用户面数据管理网元40的指示注册成功的响应消息。Step 1002. The user plane data management network element 40 sends a response message indicating successful registration to the first network element, so that the first network element receives a response message from the user plane data management network element 40 indicating successful registration.
该指示注册成功的响应消息用于表示第一网元在用户面数据管理网元40处的注册成功。例如,该指示注册成功的响应消息中携带第一网元的标识、以及注册成功指示。The response message indicating that the registration is successful is used to indicate that the registration of the first network element at the user plane data management network element 40 is successful. For example, the response message indicating successful registration carries the identifier of the first network element and the successful registration indication.
步骤1003、第一网元在区块链中发布第一交易信息,该第一交易信息包括:为终端10提供服务的第一网元的信息。Step 1003: The first network element publishes first transaction information in the blockchain. The first transaction information includes: information about the first network element that provides services for the terminal 10.
当然,本申请实施例中步骤1003中的第一交易信息的内容还可以通过如下内容替换:为终端10提供服务的第一网元的第一运营商的信息。也即在第一网元向用户面数据管理网元40注册的过程中,向区块链中写入为终端提供服务的第一运营商的信息。Of course, the content of the first transaction information in step 1003 in the embodiment of the present application can also be replaced with the following content: information of the first operator of the first network element that provides services for the terminal 10. That is, during the registration process of the first network element with the user plane data management network element 40, the information of the first operator that provides services for the terminal is written into the blockchain.
示例性的,第一交易信息包括:终端10和第一网元的信息之间的映射关系,该映射关系用于表示由第一网元为终端10提供服务。例如,第一网元的信息可以为第一网元的地址或者名称。Exemplarily, the first transaction information includes: a mapping relationship between the terminal 10 and the information of the first network element, and the mapping relationship is used to indicate that the first network element provides the terminal 10 with a service. For example, the information of the first network element may be the address or name of the first network element.
在一种可能的实现方式中,本申请实施例中的步骤1003可以通过以下方式实现:第一网元向BCHF网元40发送第一交易信息,BCHF网元40用于将第一交易信息发布在所述区块链中。In a possible implementation manner, step 1003 in the embodiment of the present application can be implemented in the following manner: the first network element sends the first transaction information to the BCHF network element 40, and the BCHF network element 40 is used to publish the first transaction information In the blockchain.
作为再一种可能的实现方式,本申请实施例中的步骤1003可以通过以下方式实现:第一网元直接在区块链中发布第一交易信息。As yet another possible implementation manner, step 1003 in the embodiment of the present application can be implemented in the following manner: the first network element directly publishes the first transaction information in the blockchain.
以第一网元为移动管理网元或I-CSCF网元或S-CSCF网元为例,如果移动管理网元接收到来自终端10的注册请求消息,则移动管理网元执行注册流程中的其他步骤以及步骤1001。也即在终端10在第一运营商的网络注册的过程中,由移动管理网元直接或通过BCHF网元40在区块链中发布移动管理网元和终端的标识之间的映射关系、或I-CSCF网元和终端的标识之间的映射关系、或S-CSCF网元和终端的标识之间的映射关系。Taking the first network element as a mobility management network element or an I-CSCF network element or an S-CSCF network element as an example, if the mobility management network element receives a registration request message from the terminal 10, the mobility management network element executes the steps in the registration process Other steps and step 1001. That is, during the registration process of the terminal 10 on the network of the first operator, the mobility management network element directly or through the BCHF network element 40 publishes the mapping relationship between the identification of the mobility management network element and the terminal in the blockchain, or The mapping relationship between the identity of the I-CSCF network element and the terminal, or the mapping relationship between the identity of the S-CSCF network element and the terminal.
以第一网元为会话管理网元为例,如果会话管理网元接收到来自终端10的分组数据单元(packet data unit,PDU)会话建立请求,则会话管理网元执行会话建立流程中的其他步骤以及步骤1001。也即在终端10在与第一运营商的会话管理网元执行会话建立流程中,由会话管理网元直接或通过BCHF网元40在区块链中发布会话管理网元和终端的标识之间的映射关系。Taking the first network element as the session management network element as an example, if the session management network element receives a packet data unit (PDU) session establishment request from the terminal 10, the session management network element executes other procedures in the session establishment process. Steps and step 1001. That is, when the terminal 10 performs the session establishment process with the session management network element of the first operator, the session management network element directly or through the BCHF network element 40 publishes the identity of the session management network element and the terminal in the blockchain. The mapping relationship.
需要说明的是,第一网元注册为向终端10提供服务的网元之后,第一网元也可以取消为终端10提供服务,因此,在一种可选的实施例,如图10所示,本申请实施例提供的方法在步骤1003之后还可以包括:It should be noted that after the first network element is registered as a network element that provides services to the terminal 10, the first network element may also cancel the provision of services to the terminal 10. Therefore, in an alternative embodiment, as shown in FIG. 10 After step 1003, the method provided by the embodiment of the present application may further include:
步骤1004、第一网元向用户面数据管理网元40发送第二消息,以使得用户面数据管理网元40接收来自第一网元的第二消息。该第二消息用于表示取消第一网元作为向终端提供服务的网元。Step 1004: The first network element sends a second message to the user plane data management network element 40, so that the user plane data management network element 40 receives the second message from the first network element. The second message is used to indicate that the first network element is cancelled as a network element that provides services to the terminal.
示例性的,第二消息中携带终端的标识、第一网元的标识以及第三指示,该第三指示用于指示取消第一网元作为向终端提供服务的网元。Exemplarily, the second message carries the identifier of the terminal, the identifier of the first network element, and a third indication, where the third indication is used to instruct to cancel the first network element as a network element that provides services to the terminal.
步骤1005、用户面数据管理网元40向第一网元发送指示取消成功的响应消息,以使得第一网元接收来自所述用户面数据管理网元40的指示取消成功的响应消息。该指示取消成功的响应消息用于表示已取消第一网元作为向终端10提供服务的网元。Step 1005: The user plane data management network element 40 sends a response message indicating successful cancellation to the first network element, so that the first network element receives a response message from the user plane data management network element 40 indicating successful cancellation. The response message indicating successful cancellation is used to indicate that the first network element has been cancelled as a network element that provides services to the terminal 10.
示例性的,第四消息中携带第四指示以及第一网元的标识,该第四指示用于指示已取消第一网元作为向终端10提供服务的网元。Exemplarily, the fourth message carries a fourth indication and an identifier of the first network element, and the fourth indication is used to indicate that the first network element has been cancelled as a network element that provides services to the terminal 10.
步骤1006、第一网元在区块链中发布第二交易信息,该第二交易信息包括标记为终端提供服务的第一网元的信息为无效。Step 1006: The first network element publishes second transaction information in the blockchain. The second transaction information includes information marked as invalid for the first network element that provides services for the terminal.
本申请实施例中当终端10的标识和第一网元的映射关系被标记无效表示:该第一网元未为终端10提供服务。当然,第一网元在区块链中发布终端10和第一网元的信息之间的映射关系时,如果此时该第一网元为终端10提供服务,则将终端10和第一网元的信息之间的映射关系标记为有效。In the embodiment of the present application, when the mapping relationship between the identifier of the terminal 10 and the first network element is marked as invalid, it means that the first network element does not provide services for the terminal 10. Of course, when the first network element publishes the mapping relationship between the terminal 10 and the information of the first network element in the blockchain, if the first network element provides services for the terminal 10 at this time, the terminal 10 and the first network element The mapping relationship between meta information is marked as valid.
具体的,步骤1006还可以通过以下方式替换,第一网元在区块链中将终端10和第一网元的信息之间的映射关系标记为无效。或者步骤1106还可以通过以下方式替换,第一网元向BCHF网元40发送第二通知消息,该第二通知消息用于通知BCHF网元40在区块链中将终端10和第一网元的信息之间的映射关系标记为无效。Specifically, step 1006 can also be replaced in the following manner. The first network element marks the mapping relationship between the terminal 10 and the information of the first network element as invalid in the blockchain. Or step 1106 can also be replaced in the following manner. The first network element sends a second notification message to the BCHF network element 40, and the second notification message is used to notify the BCHF network element 40 to connect the terminal 10 to the first network element in the blockchain. The mapping relationship between the information is marked as invalid.
在一种可能的实现方式中,本申请实施例中的步骤1006可以通过以下方式实现:第一网元向BCHF网元40发送第二交易信息,BCHF网元40用于将第二交易信息发布在所述区块链中。In a possible implementation manner, step 1006 in the embodiment of the present application can be implemented in the following manner: the first network element sends the second transaction information to the BCHF network element 40, and the BCHF network element 40 is used to publish the second transaction information In the blockchain.
作为再一种可能的实现方式,本申请实施例中的步骤1006可以通过以下方式实现:第一网元直接在区块链中发布第二交易信息。As another possible implementation manner, step 1006 in the embodiment of the present application can be implemented in the following manner: the first network element directly publishes the second transaction information in the blockchain.
图10所示的实施例,移动管理网元/I-CSCF网元/S-CSCF网元或者会话管理网元可以在区块链中注册为终端10提供服务的节点,当有第三方网元(例如,业务发起网元)需要查询为终端10提供服务的网元时可以在区块链中基于终端的标识查找。比如Vo5G(Voice over 5G)时,作为一种实施方式,业务发起网元可以通过区块链查找服务终端10的I-CSCF网元。In the embodiment shown in FIG. 10, the mobility management network element/I-CSCF network element/S-CSCF network element or the session management network element can be registered in the blockchain as a node providing services for the terminal 10, when there is a third-party network element (For example, a service initiating network element) When it is necessary to query a network element that provides services for the terminal 10, it can be searched based on the terminal's identity in the blockchain. For example, in the case of Vo5G (Voice over 5G), as an implementation manner, the service initiating network element can search for the I-CSCF network element of the service terminal 10 through the blockchain.
如图11所示,图11示出了本申请实施例提供的一种处理区块链的记录的方法,该方法包括:As shown in FIG. 11, FIG. 11 shows a method for processing blockchain records provided by an embodiment of the present application, and the method includes:
步骤1101、同步骤1001,此处不再赘述。Step 1101 is the same as step 1001, and will not be repeated here.
步骤1102、用户数据管理网元30在区块链中发布第一交易信息。其中,第一交易信息用于表示当前由第一运营商为终端10提供服务。Step 1102: The user data management network element 30 publishes the first transaction information in the blockchain. Among them, the first transaction information is used to indicate that the first operator currently provides services for the terminal 10.
示例性的,第一交易信息可以包括第一运营商和终端10之间的第一对应关系,且第一对应关系处于激活状态。Exemplarily, the first transaction information may include a first correspondence between the first operator and the terminal 10, and the first correspondence is in an activated state.
作为一种可能的实现方式,本申请实施例中的步骤1102可以通过以下方式实现:用户数据管理网元30向BCHF网元40发送第一交易信息,以由BCHF网元40在区块链中发布第一交易信息。As a possible implementation manner, step 1102 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 sends the first transaction information to the BCHF network element 40, so that the BCHF network element 40 can be in the blockchain Publish the first transaction information.
作为再一种可能的实现方式,本申请实施例中的步骤1102可以通过以下方式实现:用户数据管理网元30直接在区块链中发布第一交易信息。As another possible implementation manner, step 1102 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 directly publishes the first transaction information in the blockchain.
可选的,用户数据管理网元30或BCHF网元40还可以记录前由第一运营商为终端10提供服务的日期。也即用户数据管理网元30或BCHF网元40在将第一对应关系设置为激活状态时,同时记录激活日期。Optionally, the user data management network element 30 or the BCHF network element 40 may also record the date on which the first operator provided service to the terminal 10 in the past. That is, when the user data management network element 30 or the BCHF network element 40 sets the first corresponding relationship to the activated state, the activation date is also recorded.
需要说明的是,如果用户数据管理网元30确定由第一运营商为终端10提供服务时,如果用户数据管理网元30确定区块链中还存在终端10与第二运营商之间的第二对应关系处于激活状态,则用户数据管理网元30可以通知BCHF网元40将终端10与第二运营商之间的第二对应关系设置为无效。It should be noted that if the user data management network element 30 determines that the first operator provides services for the terminal 10, if the user data management network element 30 determines that there is a second operator between the terminal 10 and the second operator in the blockchain. If the second correspondence is in the active state, the user data management network element 30 may notify the BCHF network element 40 to set the second correspondence between the terminal 10 and the second operator as invalid.
在一种可选的实施例,如图11所示,本申请实施例提供的方法在步骤1101之后还可以包括:In an optional embodiment, as shown in FIG. 11, the method provided in this embodiment of the present application may further include after step 1101:
步骤1103和步骤1104、同步骤1002和步骤1004,此处不再赘述。Step 1103 and step 1104 are the same as step 1002 and step 1004, and will not be repeated here.
在一种可选的实施例,如图11所示,本申请实施例提供的方法在步骤1102之后还可以包括:In an optional embodiment, as shown in FIG. 11, the method provided in this embodiment of the present application may further include after step 1102:
步骤1105、同步骤1005,此处不再赘述。Step 1105 is the same as step 1005, and will not be repeated here.
步骤1106、用户数据管理网元30在区块链中发布第二交易信息,该第二交易信息包括以下任一项或多个:标记为终端10提供服务的第一网元的信息为无效,或,将当前由第一运营商为终端提供服务的记录设置为非激活状态。Step 1106: The user data management network element 30 publishes second transaction information in the blockchain, where the second transaction information includes any one or more of the following: the information of the first network element that is marked as invalid for the first network element that provides the service for the terminal 10 is marked; Or, set the current record of the service provided by the first operator for the terminal to an inactive state.
具体的,用户数据管理网元30可以直接或者通过BCHF网元40将终端10和第一网元的信息之间的映射关系设置为无效。或者用户数据管理网元30可以直接或者通过BCHF网元40将终端10和第一运营商之间的第一对应关系设置为非激活状态。Specifically, the user data management network element 30 may directly or through the BCHF network element 40 set the mapping relationship between the terminal 10 and the information of the first network element to be invalid. Or the user data management network element 30 may directly or through the BCHF network element 40 set the first correspondence between the terminal 10 and the first operator to an inactive state.
作为一种可能的实现方式,本申请实施例中的步骤1106可以通过以下方式实现:用户数据管理网元30向BCHF网元40发送第二交易信息,所述BCHF网元40用于将所述第二交易信息发布在所述区块链中。As a possible implementation manner, step 1106 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 sends the second transaction information to the BCHF network element 40, and the BCHF network element 40 is used to transfer the The second transaction information is published in the blockchain.
作为再一种可能的实现方式,本申请实施例中的步骤1106可以通过以下方式实现:用户数据管理网元30直接在区块链中发布第二交易信息。As another possible implementation manner, step 1106 in the embodiment of the present application can be implemented in the following manner: the user data management network element 30 directly publishes the second transaction information in the blockchain.
需要说明的是,图10和图11的区别在于,在图10中由第一网元在区块链中发布或取消终端10和第一网元之间的映射关系,在图11中由用户数据管理网元30在区块链中发布或取消终端10和第一网元之间的映射关系。It should be noted that the difference between FIG. 10 and FIG. 11 is that in FIG. 10, the first network element publishes or cancels the mapping relationship between the terminal 10 and the first network element in the blockchain. In FIG. 11, the user The data management network element 30 publishes or cancels the mapping relationship between the terminal 10 and the first network element in the blockchain.
上述主要从各个网元之间交互的角度对本申请实施例的方案进行了介绍。可以理解的是,各个网元,例如BACMF网元、用户数据管理网元、第一网元等为了实现上述功能,其包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution of the embodiment of the present application from the perspective of interaction between various network elements. It can be understood that each network element, such as a BACMF network element, a user data management network element, a first network element, etc., includes hardware structures and/or software modules corresponding to each function in order to realize the above functions. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, 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.
本申请实施例可以根据上述方法示例终端、BACMF网元、用户数据管理网元、第一网元进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对 单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of this application can divide functional units according to the above-mentioned method example terminal, BACMF network element, user data management network element, and first network element. For example, each functional unit can be divided corresponding to each function, or two or two The above functions are integrated in a processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
上面结合图5至图11,对本申请实施例的方法进行了说明,下面对本申请实施例提供的执行上述方法的利用区块链为终端提供业务的装置进行描述。本领域技术人员可以理解,方法和装置可以相互结合和引用,本申请实施例提供的利用区块链为终端提供业务的装置可以执行上述发送利用区块链为终端提供业务的方法中由终端、BACMF网元、用户数据管理网元、第一网元执行的步骤。The method of the embodiment of the present application has been described above with reference to Figs. 5 to 11, and the device provided by the embodiment of the present application for performing the foregoing method using the blockchain to provide services for the terminal is described below. Those skilled in the art can understand that the method and the device can be combined and quoted with each other. The device that uses the blockchain to provide services for the terminal provided in the embodiment of the present application can execute the above-mentioned method of sending and using the blockchain to provide services for the terminal. Steps performed by the BACMF network element, the user data management network element, and the first network element.
下面以采用对应各个功能划分各个功能模块为例进行说明:The following is an example of dividing each function module corresponding to each function:
在采用集成的单元的情况下,图12示出了上述实施例中所涉及的一种通信装置,该通信装置可以包括:通信单元102和处理单元101。In the case of using an integrated unit, FIG. 12 shows a communication device involved in the foregoing embodiment, and the communication device may include: a communication unit 102 and a processing unit 101.
示例2-1,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中步骤501中由终端发送的步骤。Example 2-1, the communication device is a terminal or a chip applied to the terminal. In this case, the communication unit 102 is configured to support the communication device to execute the step sent by the terminal in step 501 in the above-mentioned embodiment.
在一种可能的实施例中,通信单元102,还用于支持该通信装置执行上述实施例中步骤504、步骤505中由终端接收的步骤。In a possible embodiment, the communication unit 102 is further configured to support the communication device to execute the steps received by the terminal in step 504 and step 505 in the foregoing embodiment.
示例2-2,该通信装置为BCAMF网元20,或者为应用于BCAMF网元20中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中步骤501中由BCAMF网元20接收的步骤。处理单元101,用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤502。通信单元,还用于支持该通信装置执行上述实施例中步骤503中由BCAMF网元20发送的步骤。Example 2-2, the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20. In this case, the communication unit 102 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 501 in the above embodiment. The processing unit 101 is configured to support the communication device to execute step 502 executed by the BCAMF network element 20 in the foregoing embodiment. The communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 503 in the foregoing embodiment.
在一种可能的实施例中,通信单元102,用于支持该通信装置执行上述实施例中的步骤504、步骤505中由BCAMF网元20发送的步骤、步骤509。处理单元101,还用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤506、步骤507、步骤508、步骤510、步骤511、步骤512、步骤513。In a possible embodiment, the communication unit 102 is configured to support the communication device to execute steps 504 and 505 in the above-mentioned embodiment, which are sent by the BCAMF network element 20 and step 509. The processing unit 101 is further configured to support the communication device to execute step 506, step 507, step 508, step 510, step 511, step 512, and step 513 performed by the BCAMF network element 20 in the foregoing embodiment.
示例2-3,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤503中由用户数据管理网元接收的动作。处理单元101用于支持该通信装置执行上述实施例中由用户数据管理网元执行的存储终端10的签约数据的步骤。Example 2-3, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 503 of the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute the steps of storing the contract data of the terminal 10 executed by the user data management network element in the above-mentioned embodiment.
示例2-4,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中步骤701中由终端发送的步骤。Example 2-4, the communication device is a terminal or a chip applied in the terminal. In this case, the communication unit 102 is used to support the communication device to execute the step sent by the terminal in step 701 in the above-mentioned embodiment.
在一种可能的实施例中,通信单元102,还用于支持该通信装置执行上述实施例中步骤706中由终端接收的步骤。In a possible embodiment, the communication unit 102 is further configured to support the communication device to perform the steps received by the terminal in step 706 in the foregoing embodiment.
示例2-5,该通信装置为BCAMF网元20,或者为应用于BCAMF网元20中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中步骤701中由BCAMF网元20接收的步骤。处理单元101,用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤702。通信单元,还用于支持该通信装置执行上述实施例中步骤703中由BCAMF网元20发送的步骤。Example 2-5, the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20. In this case, the communication unit 102 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 701 in the above-mentioned embodiment. The processing unit 101 is configured to support the communication device to execute step 702 executed by the BCAMF network element 20 in the foregoing embodiment. The communication unit is also used to support the communication device to perform the steps sent by the BCAMF network element 20 in step 703 in the foregoing embodiment.
在一种可能的实施例中,通信单元102,用于支持该通信装置执行上述实施例中的步骤706中由BCAMF网元20执行的发送动作。处理单元101,还用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤705、步骤707。In a possible embodiment, the communication unit 102 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 706 in the foregoing embodiment. The processing unit 101 is further configured to support the communication device to execute steps 705 and 707 performed by the BCAMF network element 20 in the foregoing embodiment.
示例2-6,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤703中由用户数据管理网元接收的动作。处理单元101用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤704。Example 2-6, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 703 of the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute step 704 executed by the user data management network element in the foregoing embodiment.
示例2-7,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中步骤801中由终端发送的步骤。Example 2-7, the communication device is a terminal or a chip applied to the terminal. In this case, the communication unit 102 is used to support the communication device to execute the step sent by the terminal in step 801 in the above-mentioned embodiment.
在一种可能的实施例中,通信单元102,还用于支持该通信装置执行上述实施例中步骤806中由终端接收的步骤。In a possible embodiment, the communication unit 102 is further configured to support the communication device to perform the steps received by the terminal in step 806 in the foregoing embodiment.
示例2-8,该通信装置为BCAMF网元20,或者为应用于BCAMF网元20中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中步骤801中由BCAMF网元20接收的步骤。处理单元101,用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤802。通信单元,还用于支持该通信装置执行上述实施例中步骤803中由BCAMF网元20发送的步骤。Example 2-8, the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20. In this case, the communication unit 102 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 801 in the above-mentioned embodiment. The processing unit 101 is configured to support the communication device to execute step 802 executed by the BCAMF network element 20 in the foregoing embodiment. The communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 803 in the foregoing embodiment.
在一种可能的实施例中,通信单元102,用于支持该通信装置执行上述实施例中的步骤806中由BCAMF网元20执行的发送动作。处理单元101,还用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤805、步骤807。In a possible embodiment, the communication unit 102 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 806 in the foregoing embodiment. The processing unit 101 is further configured to support the communication device to execute steps 805 and 807 performed by the BCAMF network element 20 in the foregoing embodiment.
示例2-9,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤803中由用户数据管理网元接收的动作。处理单元101用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤804。Example 2-9, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 803 of the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute step 804 executed by the user data management network element in the foregoing embodiment.
示例2-10,该通信装置为业务发起网元,或者为应用于业务发起网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤901中由业务发起网元发送的动作。处理单元101用于支持该通信装置执行上述实施例中由业务发起网元执行的步骤904和步骤905。Example 2-10, the communication device is a service initiating network element, or a chip applied to the service initiating network element. In this case, the communication unit 102 is configured to support the communication device to perform the action sent by the service initiating network element in step 901 of the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute steps 904 and 905 performed by the service initiating network element in the foregoing embodiment.
示例2-11,该通信装置为BCHF网元40,或者为应用于BCHF网元40中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤901中由BCHF网元40接收的动作、以及步骤903中由BCHF网元40发送的动作。处理单元101用于支持该通信装置执行上述实施例中由BCHF网元40执行的步骤902。Example 2-11, the communication device is a BCHF network element 40, or a chip applied in the BCHF network element 40. In this case, the communication unit 102 is used to support the communication device to perform the action received by the BCHF network element 40 in step 901 and the action sent by the BCHF network element 40 in step 903 in the above embodiment. The processing unit 101 is configured to support the communication device to execute step 902 executed by the BCHF network element 40 in the foregoing embodiment.
示例2-12,该通信装置为第一网元,或者为应用于第一网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤1001中由第一网元发送的动作、以及步骤1002中由第一网元接收的动作。处理单元101用于支持该通信装置执行上述实施例中由第一网元执行的步骤1003。Example 2-12, the communication device is the first network element, or is a chip applied to the first network element. In this case, the communication unit 102 is configured to support the communication device to perform the action sent by the first network element in step 1001 and the action received by the first network element in step 1002 in the above embodiment. The processing unit 101 is configured to support the communication device to execute step 1003 executed by the first network element in the foregoing embodiment.
在一种可选的实施例中,通信单元102,用于支持该通信装置执行上述实施例中步骤1004由第一网元执行的发送动作、步骤1005由第一网元执行的接收动作。处理单元101用于支持该通信装置执行上述实施例中由第一网元执行的步骤1006。In an optional embodiment, the communication unit 102 is configured to support the communication device to perform the sending action performed by the first network element in step 1004 and the receiving action performed by the first network element in step 1005 in the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute step 1006 executed by the first network element in the foregoing embodiment.
示例2-13,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤1001中由用户数据管理网元接收的动作、以及步骤1002中由用户数据管理网元发送的动作。Example 2-13, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication unit 102 is configured to support the communication device to perform the actions received by the user data management network element in step 1001 of the foregoing embodiment and the actions sent by the user data management network element in step 1002.
在一种可选的实施例中,通信单元102,用于支持该通信装置执行上述实施例中步骤1004由用户数据管理网元执行的接收动作、步骤1005由用户数据管理网元执行的发送动作。In an optional embodiment, the communication unit 102 is configured to support the communication device to perform the receiving action performed by the user data management network element in step 1004 and the sending action performed by the user data management network element in step 1005 in the foregoing embodiment. .
示例2-14,该通信装置为第一网元,或者为应用于第一网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤1101中由第一网元发送的动作。Example 2-14, the communication device is the first network element, or is a chip applied to the first network element. In this case, the communication unit 102 is configured to support the communication device to perform the action sent by the first network element in step 1101 of the foregoing embodiment.
在一种可选的实施例中,通信单元102,用于支持该通信装置执行上述实施例中步骤1104由第一网元执行的发送动作、步骤1105由第一网元执行的接收动作。In an optional embodiment, the communication unit 102 is configured to support the communication device to perform the sending action performed by the first network element in step 1104 and the receiving action performed by the first network element in step 1105 in the foregoing embodiment.
示例2-15,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例的步骤1101中由用户数据管理网元接收的动作。处理单元101,用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤1102。Example 2-15, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication unit 102 is configured to support the communication device to perform the action received by the user data management network element in step 1101 of the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute step 1102 executed by the user data management network element in the foregoing embodiment.
在一种可选的实施例中,通信单元102,用于支持该通信装置执行上述实施例中步骤1104由用户数据管理网元执行的接收动作、步骤1105由用户数据管理网元执行的发送动作。处理单元101,用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤1106。In an optional embodiment, the communication unit 102 is configured to support the communication device to perform the receiving action performed by the user data management network element in step 1104 and the sending action performed by the user data management network element in step 1105 in the foregoing embodiment. . The processing unit 101 is configured to support the communication device to execute step 1106 executed by the user data management network element in the foregoing embodiment.
在采用集成的单元的情况下,图13示出了上述实施例中所涉及的通信装置的一种可能的逻辑结构示意图。该通信装置包括:处理模块112和通信模块113。处理模块112用于对通信装置的动作进行控制管理,例如,处理模块112用于执行在通信装置进行信息/数据处理的步骤。通信模块113用于支持通信装置进行信息/数据发送或者接收的步骤。In the case of using an integrated unit, FIG. 13 shows a schematic diagram of a possible logical structure of the communication device involved in the foregoing embodiment. The communication device includes: a processing module 112 and a communication module 113. The processing module 112 is used to control and manage the actions of the communication device. For example, the processing module 112 is used to perform information/data processing steps on the communication device. The communication module 113 is used to support the communication device to send or receive information/data.
在一种可能的实施例中,通信装置还可以包括存储模块111,用于存储通信装置可的程序代码和数据。In a possible embodiment, the communication device may further include a storage module 111 for storing program codes and data that can be used by the communication device.
示例3-1,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中步骤501中由终端发送的步骤。Example 3-1, the communication device is a terminal or a chip applied to the terminal. In this case, the communication module 113 is used to support the communication device to execute the steps sent by the terminal in step 501 in the foregoing embodiment.
在一种可能的实施例中,通信模块113,还用于支持该通信装置执行上述实施例中步骤504、步骤505中由终端接收的步骤。In a possible embodiment, the communication module 113 is further configured to support the communication device to execute the steps received by the terminal in step 504 and step 505 in the foregoing embodiment.
示例3-2,该通信装置为BCAMF网元20,或者为应用于BCAMF网元20中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中步骤501中由BCAMF网元20接收的步骤。处理模块112,用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤502。通信单元,还用于支持该通信装置执行上述实施例中步骤503中由BCAMF网元20发送的步骤。Example 3-2, the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20. In this case, the communication module 113 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 501 in the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 502 executed by the BCAMF network element 20 in the foregoing embodiment. The communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 503 in the foregoing embodiment.
在一种可能的实施例中,通信模块113,用于支持该通信装置执行上述实施例中的步骤504、步骤505中由BCAMF网元20发送的步骤、步骤509。处理模块112,还用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤506、步骤507、步骤508、步骤510、步骤511、步骤512、步骤513。In a possible embodiment, the communication module 113 is configured to support the communication device to execute the steps 504 and 505 in the above-mentioned embodiment that are sent by the BCAMF network element 20 and step 509. The processing module 112 is also used to support the communication device to execute step 506, step 507, step 508, step 510, step 511, step 512, and step 513 performed by the BCAMF network element 20 in the foregoing embodiment.
示例3-3,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤503中由用户数据管理网元接收的动作。处理模块112用于支持该通信装置执行上述实施 例中由用户数据管理网元执行的存储终端10的签约数据的步骤。Example 3-3, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 503 of the foregoing embodiment. The processing module 112 is used to support the communication device to execute the steps of storing the contract data of the terminal 10 executed by the user data management network element in the above-mentioned embodiment.
示例3-4,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中步骤701中由终端发送的步骤。Example 3-4, the communication device is a terminal or a chip applied in the terminal. In this case, the communication module 113 is used to support the communication device to execute the steps sent by the terminal in step 701 in the above-mentioned embodiment.
在一种可能的实施例中,通信模块113,还用于支持该通信装置执行上述实施例中步骤706中由终端接收的步骤。In a possible embodiment, the communication module 113 is also used to support the communication device to execute the steps received by the terminal in step 706 in the foregoing embodiment.
示例3-5,该通信装置为BCAMF网元20,或者为应用于BCAMF网元20中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中步骤701中由BCAMF网元20接收的步骤。处理模块112,用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤702。通信单元,还用于支持该通信装置执行上述实施例中步骤703中由BCAMF网元20发送的步骤。Example 3-5, the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20. In this case, the communication module 113 is used to support the communication device to execute the steps received by the BCAMF network element 20 in step 701 in the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 702 executed by the BCAMF network element 20 in the foregoing embodiment. The communication unit is also used to support the communication device to perform the steps sent by the BCAMF network element 20 in step 703 in the foregoing embodiment.
在一种可能的实施例中,通信模块113,用于支持该通信装置执行上述实施例中的步骤706中由BCAMF网元20执行的发送动作。处理模块112,还用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤705、步骤707。In a possible embodiment, the communication module 113 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 706 in the foregoing embodiment. The processing module 112 is also used to support the communication device to execute steps 705 and 707 performed by the BCAMF network element 20 in the foregoing embodiment.
示例3-6,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤703中由用户数据管理网元接收的动作。处理模块112用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤704。Example 3-6, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 703 of the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 704 executed by the user data management network element in the foregoing embodiment.
示例3-7,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中步骤801中由终端发送的步骤。Example 3-7, the communication device is a terminal or a chip applied to the terminal. In this case, the communication module 113 is used to support the communication device to execute the step sent by the terminal in step 801 in the above-mentioned embodiment.
在一种可能的实施例中,通信模块113,还用于支持该通信装置执行上述实施例中步骤806中由终端接收的步骤。In a possible embodiment, the communication module 113 is further configured to support the communication device to perform the steps received by the terminal in step 806 in the foregoing embodiment.
示例3-8,该通信装置为BCAMF网元20,或者为应用于BCAMF网元20中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中步骤801中由BCAMF网元20接收的步骤。处理模块112,用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤802。通信单元,还用于支持该通信装置执行上述实施例中步骤803中由BCAMF网元20发送的步骤。In Example 3-8, the communication device is a BCAMF network element 20, or a chip applied in the BCAMF network element 20. In this case, the communication module 113 is used to support the communication device to perform the steps received by the BCAMF network element 20 in step 801 in the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 802 executed by the BCAMF network element 20 in the foregoing embodiment. The communication unit is also used to support the communication device to execute the steps sent by the BCAMF network element 20 in step 803 in the foregoing embodiment.
在一种可能的实施例中,通信模块113,用于支持该通信装置执行上述实施例中的步骤806中由BCAMF网元20执行的发送动作。处理模块112,还用于支持该通信装置执行上述实施例中由BCAMF网元20执行的步骤805、步骤807。In a possible embodiment, the communication module 113 is configured to support the communication device to execute the sending action performed by the BCAMF network element 20 in step 806 in the foregoing embodiment. The processing module 112 is also used to support the communication device to execute steps 805 and 807 performed by the BCAMF network element 20 in the foregoing embodiment.
示例3-9,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤803中由用户数据管理网元接收的动作。处理模块112用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤804。Example 3-9, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 803 of the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 804 executed by the user data management network element in the foregoing embodiment.
示例3-10,该通信装置为业务发起网元,或者为应用于业务发起网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤901中由业务发起网元发送的动作。处理模块112用于支持该通信装置执行上述实施例中由业务发起网元执行的步骤904和步骤905。Example 3-10, the communication device is a service initiating network element or a chip applied to the service initiating network element. In this case, the communication module 113 is used to support the communication device to perform the action sent by the service initiating network element in step 901 of the foregoing embodiment. The processing module 112 is configured to support the communication device to execute steps 904 and 905 performed by the service initiating network element in the foregoing embodiment.
示例3-11,该通信装置为BCHF网元40,或者为应用于BCHF网元40中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤901中由 BCHF网元40接收的动作、以及步骤903中由BCHF网元40发送的动作。处理模块112用于支持该通信装置执行上述实施例中由BCHF网元40执行的步骤902。In Example 3-11, the communication device is a BCHF network element 40 or a chip applied in the BCHF network element 40. In this case, the communication module 113 is used to support the communication device to perform the action received by the BCHF network element 40 in step 901 and the action sent by the BCHF network element 40 in step 903 in the above embodiment. The processing module 112 is configured to support the communication device to execute step 902 executed by the BCHF network element 40 in the foregoing embodiment.
示例3-12,该通信装置为第一网元,或者为应用于第一网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤1001中由第一网元发送的动作、以及步骤1002中由第一网元接收的动作。处理模块112用于支持该通信装置执行上述实施例中由第一网元执行的步骤1003。Example 3-12, the communication device is a first network element, or a chip applied to the first network element. In this case, the communication module 113 is used to support the communication device to perform the actions sent by the first network element in step 1001 and the actions received by the first network element in step 1002 in the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 1003 executed by the first network element in the foregoing embodiment.
在一种可选的实施例中,通信模块113,用于支持该通信装置执行上述实施例中步骤1004由第一网元执行的发送动作、步骤1005由第一网元执行的接收动作。处理模块112用于支持该通信装置执行上述实施例中由第一网元执行的步骤1006。In an optional embodiment, the communication module 113 is configured to support the communication device to perform the sending action performed by the first network element in step 1004 and the receiving action performed by the first network element in step 1005 in the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 1006 executed by the first network element in the foregoing embodiment.
示例3-13,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤1001中由用户数据管理网元接收的动作、以及步骤1002中由用户数据管理网元发送的动作。Example 3-13, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication module 113 is used to support the communication device to perform the actions received by the user data management network element in step 1001 and the actions sent by the user data management network element in step 1002 in the foregoing embodiment.
在一种可选的实施例中,通信模块113,用于支持该通信装置执行上述实施例中步骤1004由用户数据管理网元执行的接收动作、步骤1005由用户数据管理网元执行的发送动作。In an optional embodiment, the communication module 113 is configured to support the communication device to perform the receiving action performed by the user data management network element in step 1004 and the sending action performed by the user data management network element in step 1005 in the above embodiment. .
示例3-14,该通信装置为第一网元,或者为应用于第一网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤1101中由第一网元发送的动作。Example 3-14, the communication device is the first network element, or is a chip applied to the first network element. In this case, the communication module 113 is used to support the communication device to perform the action sent by the first network element in step 1101 of the foregoing embodiment.
在一种可选的实施例中,通信模块113,用于支持该通信装置执行上述实施例中步骤1104由第一网元执行的发送动作、步骤1105由第一网元执行的接收动作。In an optional embodiment, the communication module 113 is configured to support the communication device to perform the sending action performed by the first network element in step 1104 and the receiving action performed by the first network element in step 1105 in the foregoing embodiment.
示例3-15,该通信装置为用户数据管理网元,或者为应用于用户数据管理网元中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例的步骤1101中由用户数据管理网元接收的动作。处理模块112,用于支持该通信装置执行上述实施例中由用户数据管理网元执行的步骤1102。Example 3-15, the communication device is a user data management network element, or a chip applied to a user data management network element. In this case, the communication module 113 is used to support the communication device to perform the action received by the user data management network element in step 1101 of the foregoing embodiment. The processing module 112 is configured to support the communication device to execute step 1102 executed by the user data management network element in the foregoing embodiment.
其中,处理模块112可以是处理器或控制器,例如可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。通信模块113可以是收发器、收发电路或通信接口等。存储模块111可以是存储器。The processing module 112 may be a processor or a controller, for example, a central processing unit, a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, Hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor may also be a combination that implements computing functions, for example, a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on. The communication module 113 may be a transceiver, a transceiver circuit, or a communication interface. The storage module 111 may be a memory.
当处理模块112为处理器41或处理器45,通信模块113为通信接口43时,存储模块111为存储器42时,本申请所涉及的通信装置可以为图4所示的通信设备。When the processing module 112 is the processor 41 or the processor 45, the communication module 113 is the communication interface 43, and the storage module 111 is the memory 42, the communication device involved in this application may be the communication device shown in FIG. 4.
图14是本申请实施例提供的芯片150的结构示意图。芯片150包括一个或两个以上(包括两个)处理器1510和通信接口1530。FIG. 14 is a schematic structural diagram of a chip 150 provided by an embodiment of the present application. The chip 150 includes one or more (including two) processors 1510 and a communication interface 1530.
可选的,该芯片150还包括存储器1540,存储器1540可以包括只读存储器和随机存取存储器,并向处理器1510提供操作指令和数据。存储器1540的一部分还可以包括非易失性随机存取存储器(non-volatile random access memory,NVRAM)。Optionally, the chip 150 further includes a memory 1540. The memory 1540 may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 1510. A part of the memory 1540 may also include a non-volatile random access memory (NVRAM).
在一些实施方式中,存储器1540存储了如下的元素,执行模块或者数据结构,或 者他们的子集,或者他们的扩展集。In some embodiments, the memory 1540 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.
在本申请实施例中,通过调用存储器1540存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。In the embodiment of the present application, the corresponding operation is executed by calling the operation instruction stored in the memory 1540 (the operation instruction may be stored in the operating system).
一种可能的实现方式中为:终端、BACMF网元、用户数据管理网元、第一网元所用的芯片的结构类似,不同的装置可以使用不同的芯片以实现各自的功能。One possible implementation manner is: the terminal, the BACMF network element, the user data management network element, and the chip used in the first network element have similar structures, and different devices can use different chips to realize their respective functions.
处理器1510控制终端、BACMF网元、用户数据管理网元、第一网元中任一个的处理操作,处理器1510还可以称为中央处理单元(central processing unit,CPU)。The processor 1510 controls processing operations of any one of the terminal, the BACMF network element, the user data management network element, and the first network element. The processor 1510 may also be referred to as a central processing unit (CPU).
存储器1540可以包括只读存储器和随机存取存储器,并向处理器1510提供指令和数据。存储器1540的一部分还可以包括非易失性随机存取存储器(non-volatile random access memory,NVRAM)。例如应用中存储器1540、通信接口1530以及存储器1540通过总线系统1520耦合在一起,其中总线系统1520除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图14中将各种总线都标为总线系统1520。The memory 1540 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1510. A part of the memory 1540 may also include a non-volatile random access memory (NVRAM). For example, in an application, the memory 1540, the communication interface 1530, and the memory 1540 are coupled together by a bus system 1520, where the bus system 1520 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for clarity of description, various buses are marked as the bus system 1520 in FIG. 14.
上述本申请实施例揭示的方法可以应用于处理器1510中,或者由处理器1510实现。处理器1510可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1510中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1510可以是通用处理器、数字信号处理器(digital signal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1540,处理器1510读取存储器1540中的信息,结合其硬件完成上述方法的步骤。The method disclosed in the foregoing embodiments of the present application may be applied to the processor 1510 or implemented by the processor 1510. The processor 1510 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 1510 or instructions in the form of software. The aforementioned processor 1510 may be a general-purpose processor, a digital signal processing (digital signal processing, DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or Other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory 1540, and the processor 1510 reads the information in the memory 1540, and completes the steps of the foregoing method in combination with its hardware.
一种可能的实现方式中,通信接口1530用于执行图5-图11所示的实施例中的终端、BACMF网元、用户数据管理网元、第一网元的接收和发送的步骤。处理器1510用于执行图5-图11所示的实施例中的终端、BACMF网元、用户数据管理网元、第一网元的处理的步骤。In a possible implementation manner, the communication interface 1530 is used to perform the steps of receiving and sending the terminal, the BACMF network element, the user data management network element, and the first network element in the embodiment shown in FIGS. 5-11. The processor 1510 is configured to execute the processing steps of the terminal, the BACMF network element, the user data management network element, and the first network element in the embodiment shown in FIGS. 5-11.
以上通信单元可以是一种该通信装置的接口电路或通信接口或收发器,用于从其它装置接收信号。例如,当该通信装置以芯片的方式实现时,该通信单元是该芯片用于从其它芯片或装置接收信号或发送信号的接口电路或通信接口。The above communication unit may be an interface circuit or communication interface or transceiver of the communication device for receiving signals from other devices. For example, when the communication device is implemented in the form of a chip, the communication unit is an interface circuit or communication interface used by the chip to receive signals or send signals from other chips or devices.
在上述实施例中,存储器存储的供处理器执行的指令可以以计算机程序产品的形式实现。计算机程序产品可以是事先写入在存储器中,也可以是以软件形式下载并安装在存储器中。In the foregoing embodiment, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or it may be downloaded and installed in the memory in the form of software.
计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机 可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk,SSD)等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk, SSD).
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,使得终端或者应用于终端中的芯片执行图5~图8中任一个由终端执行的步骤。The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the terminal or a chip applied to the terminal executes any one of FIGS. 5 to 8 by the terminal. A step of.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,使得BCAMF网元或者应用于BCAMF网元中的芯片执行图5~图8中任一个由BCAMF网元执行的步骤。The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the BCAMF network element or the chip applied in the BCAMF network element executes any of the A step performed by the BCAMF network element.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,使得用户数据管理网元或者应用于用户数据管理网元中的芯片执行图5~图8中任一个由用户数据管理网元执行的步骤。The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the user data management network element or the chip applied to the user data management network element executes Figure 5~ Any of the steps in Figure 8 are executed by the user data management network element.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,使得业务发起网元或者应用于业务发起网元中的芯片执行图9中任一个由业务发起网元执行的步骤。The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the service initiating network element or the chip applied to the service initiating network element executes any one of FIG. 9 Steps performed by the service initiating network element.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,使得第一网元或者应用于第一网元中的芯片执行图10或图11中由第一网元执行的步骤。An embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the first network element or a chip applied to the first network element executes FIG. 10 or FIG. 11 In the steps performed by the first network element.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,使得用户数据管理网元或者应用于用户数据管理网元中的芯片执行图10或图11中由用户数据管理网元执行的步骤。The embodiments of the present application provide a computer-readable storage medium, and instructions are stored in the computer-readable storage medium. When the instructions are executed, the user data management network element or the chip applied to the user data management network element executes FIG. 10 or Figure 11 shows the steps performed by the user data management network element.
前述的可读存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The aforementioned readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
本申请实施例提供一种包括指令的计算机程序产品,计算机程序产品中存储有指令,当指令被运行时,使得终端或者应用于终端中的芯片执行图5~图8中任一个由终端执行的步骤。The embodiment of the present application provides a computer program product including instructions. The computer program product stores instructions. When the instructions are executed, the terminal or a chip applied in the terminal executes any one of Figures 5 to 8 executed by the terminal. step.
另一方面,提供一种包括指令的计算机程序产品,计算机程序产品中存储有指令,当指令被运行时,使得BCAMF网元或者应用于BCAMF网元中的芯片执行图5~图8中任一个由BCAMF网元执行的步骤。On the other hand, a computer program product including instructions is provided. The computer program product stores instructions. When the instructions are executed, the BCAMF network element or the chip applied in the BCAMF network element executes any one of Figures 5 to 8 Steps performed by the BCAMF network element.
又一方面,提供一种包括指令的计算机程序产品,计算机程序产品中存储有指令,当指令被运行时,使得用户数据管理网元或者应用于用户数据管理网元中的芯片执行图5~图8中任一个由用户数据管理网元执行的步骤。In another aspect, a computer program product including instructions is provided. The instructions are stored in the computer program product. When the instructions are executed, the user data management network element or the chip applied to the user data management network element executes FIG. 5 to FIG. Any one of the steps performed by the user data management network element.
再一方面,提供一种包括指令的计算机程序产品,计算机程序产品中存储有指令,当指令被运行时,使得业务发起网元或者应用于业务发起网元中的芯片执行图9中任一个由业务发起网元执行的步骤。In another aspect, a computer program product including instructions is provided. The instructions are stored in the computer program product. When the instructions are executed, the service initiating network element or the chip applied in the service initiating network element executes any one of the steps shown in FIG. 9 The steps performed by the service initiating network element.
又一方面,提供一种包括指令的计算机程序产品,计算机程序产品中存储有指令,当指令被运行时,使得第一网元或者应用于第一网元中的芯片执行图10或图11中由第一网元执行的步骤。In yet another aspect, a computer program product including instructions is provided. The computer program product stores instructions. When the instructions are executed, the first network element or a chip applied to the first network element executes the steps shown in FIG. 10 or FIG. 11 Steps performed by the first network element.
一方面,提供一种芯片,该芯片应用于终端中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以执行图5~图8中任一个由终端执行的步骤。In one aspect, a chip is provided. The chip is used in a terminal. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. The processor is used to execute instructions to execute any one of FIGS. 5 to 8. Steps performed by the terminal.
又一方面,提供一种芯片,该芯片应用于用户数据管理网元中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以执行图5~图8中任一个由用户数据管理网元执行的步骤。In yet another aspect, a chip is provided. The chip is applied to a user data management network element. The chip includes at least one processor and a communication interface, and the communication interface is coupled to the at least one processor. The processor is used to run instructions to execute FIG. 5~ Any of the steps in Figure 8 are executed by the user data management network element.
一方面,提供一种芯片,该芯片应用于BCAMF网元中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以执行执行图5~图8中任一个由BCAMF网元执行的步骤。In one aspect, a chip is provided. The chip is applied to a BCAMF network element. The chip includes at least one processor and a communication interface, the communication interface is coupled to at least one processor, and the processor is used to execute instructions to execute the execution of FIGS. 5-8. Any of the steps performed by the BCAMF network element.
又一方面,提供一种芯片,该芯片应用于业务发起网元中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以执行图9中任一个由业务发起网元执行的步骤。In yet another aspect, a chip is provided. The chip is applied to a service initiation network element. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. The processor is used to run instructions to execute any of the instructions in FIG. A step performed by the service initiating network element.
又一方面,提供一种芯片,该芯片应用于第一网元中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以执行图10或图11中由第一网元执行的步骤。In yet another aspect, a chip is provided. The chip is applied to a first network element. The chip includes at least one processor and a communication interface, the communication interface is coupled to the at least one processor, and the processor is used to execute instructions to execute FIG. 10 or FIG. Step 11 performed by the first network element.
又一方面,提供一种芯片,该芯片应用于用户数据管理网元中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以执行图10或图11中由用户数据管理网元执行的步骤。In yet another aspect, a chip is provided. The chip is applied to a user data management network element. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. The processor is used to run instructions to execute FIG. 10 or Figure 11 shows the steps performed by the user data management network element.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,简称SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, referred to as DSL) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or includes one or more data storage devices such as servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看附图、公开内容、以及所附权利要求书,可理解并实现公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但 这并不表示这些措施不能组合起来产生良好的效果。Although the present application is described in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and realize the disclosure by looking at the drawings, the disclosure, and the appended claims. Other changes to the embodiment. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. A single processor or other unit may implement several functions listed in the claims. Certain measures are described in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in combination with specific features and embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the application. Correspondingly, the specification and drawings are merely exemplary descriptions of the application as defined by the appended claims, and are deemed to cover any and all modifications, changes, combinations or equivalents within the scope of the application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application also intends to include these modifications and variations.

Claims (31)

  1. 一种利用区块链为终端提供业务的方法,其特征在于,包括:A method for using blockchain to provide services for terminals, which is characterized in that it includes:
    第一运营商的区块链账户管理功能BCAMF网元接收来自终端的开户请求消息,所述开户请求消息包括所述终端的标识;The BCAMF network element of the blockchain account management function of the first operator receives an account opening request message from a terminal, where the account opening request message includes an identifier of the terminal;
    所述BCAMF网元根据所述终端的标识,验证所述终端符合开户要求;The BCAMF network element verifies that the terminal meets the account opening requirements according to the identification of the terminal;
    所述BCAMF网元向所述第一运营商的用户数据管理网元发送第一消息,所述第一消息包括所述终端的签约数据。The BCAMF network element sends a first message to the user data management network element of the first operator, where the first message includes the subscription data of the terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述终端的标识用于在区块链中标识所述终端。The method according to claim 1, wherein the identification of the terminal is used to identify the terminal in a blockchain.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述BCAMF网元在区块链中发布第一交易信息,所述第一交易信息包括所述终端的标识和所述第一运营商的信息之间的第一对应关系,所述第一对应关系用于表示所述终端在所述第一运营商中成功开户。The BCAMF network element publishes first transaction information in the blockchain, and the first transaction information includes a first correspondence between the terminal's identifier and the information of the first operator, and the first correspondence The relationship is used to indicate that the terminal successfully opens an account in the first operator.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    所述BCAMF网元确定当前由所述第一运营商为所述终端提供服务;The BCAMF network element determines that the first operator currently provides services for the terminal;
    所述BCAMF网元在区块链中发布第二交易信息,其中,所述第二交易信息用于表示当前由所述第一运营商为所述终端提供服务。The BCAMF network element publishes second transaction information in the blockchain, where the second transaction information is used to indicate that the first operator currently provides services for the terminal.
  5. 根据权利要求4所述的方法,其特征在于,所述BCAMF网元在所述区块链中发布第二交易信息,包括:The method according to claim 4, wherein the BCAMF network element publishing second transaction information in the blockchain comprises:
    所述BCAMF网元将所述区块链中记录的所述终端的标识和所述第一运营商的标识之间的第一对应关系设置为激活状态;The BCAMF network element sets the first corresponding relationship between the identifier of the terminal and the identifier of the first operator recorded in the blockchain to an active state;
    当所述第一对应关系被设置为激活状态时,表示当前由所述第一运营商为所述终端提供服务。When the first correspondence is set to an activated state, it means that the first operator currently provides services for the terminal.
  6. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:The method according to claim 4 or 5, wherein the method further comprises:
    所述BCAMF网元接收来自所述终端的第一指示;The BCAMF network element receives the first instruction from the terminal;
    所述BCAMF网元确定当前由所述第一运营商为所述终端提供服务,包括:The determining by the BCAMF network element that the service is currently provided by the first operator for the terminal includes:
    所述BCAMF网元根据所述第一指示,确定当前由所述第一运营商为所述终端提供服务。According to the first instruction, the BCAMF network element determines that the first operator currently provides services for the terminal.
  7. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    所述BCAMF网元确定当前所述第一运营商未为所述终端提供服务;The BCAMF network element determines that the first operator currently does not provide services for the terminal;
    所述BCAMF网元在区块链中发布第三交易信息,其中,所述第三交易信息用于表示当前所述第一运营商未为所述终端提供服务。The BCAMF network element publishes third transaction information in the blockchain, where the third transaction information is used to indicate that the first operator currently does not provide services for the terminal.
  8. 根据权利要求7所述的方法,其特征在于,所述BCAMF网元在区块链中发布第三交易信息,包括:The method according to claim 7, wherein the BCAMF network element publishing third transaction information in the blockchain comprises:
    所述BCAMF网元将区块链中记录的所述终端的标识和所述第一运营商的标识之间的第一对应关系设置为非激活状态;The BCAMF network element sets the first correspondence between the identifier of the terminal and the identifier of the first operator recorded in the blockchain to an inactive state;
    当所述第一对应关系被设置为非激活状态时,表示当前所述第一运营商未为所述终端提供服务。When the first correspondence is set to an inactive state, it means that the first operator currently does not provide services for the terminal.
  9. 一种利用区块链为终端提供业务的方法,其特征在于,包括:A method for using blockchain to provide services for terminals, which is characterized in that it includes:
    第一网元向用户面数据管理网元发送第一消息,所述第一消息用于表示将所述第一网元注册为终端提供服务的网元,所述第一消息包括所述终端的标识;所述第一网元和所述用户面数据管理网元属于第一运营商;The first network element sends a first message to the user plane data management network element, where the first message is used to indicate that the first network element is registered as a network element that provides services for the terminal, and the first message includes the information of the terminal Identification; the first network element and the user plane data management network element belong to a first operator;
    所述第一网元接收来自所述用户面数据管理网元的指示注册成功的响应消息;Receiving, by the first network element, a response message from the user plane data management network element indicating successful registration;
    所述第一网元在区块链中发布第一交易信息,所述第一交易信息包括:为所述终端提供服务的所述第一网元的信息。The first network element publishes first transaction information in the blockchain, and the first transaction information includes: information of the first network element that provides services for the terminal.
  10. 一种利用区块链为终端提供业务的方法,其特征在于,包括:A method for using blockchain to provide services for terminals, which is characterized in that it includes:
    用户数据管理网元接收来自第一网元的第一消息,所述第一消息用于表示将所述第一网元注册为向终端提供服务的网元,所述第一消息包括所述终端的标识;所述第一网元和所述用户面数据管理网元属于第一运营商;The user data management network element receives a first message from a first network element, where the first message is used to indicate that the first network element is registered as a network element that provides services to the terminal, and the first message includes the terminal The identification; the first network element and the user plane data management network element belong to the first operator;
    所述用户数据管理网元在所述区块链中发布第一交易信息,其中,所述第一交易信息用于表示当前由所述第一运营商为所述终端提供服务。The user data management network element publishes first transaction information in the blockchain, where the first transaction information is used to indicate that the first operator currently provides services for the terminal.
  11. 一种利用区块链为终端提供业务的方法,其特征在于,包括:A method for using blockchain to provide services for terminals, which is characterized in that it includes:
    BCHF网元接收来自业务发起网元的第一请求消息,所述第一请求消息包括终端的标识,所述第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;The BCHF network element receives a first request message from a service initiating network element, the first request message includes the identification of the terminal, the first request message is used to request first information, and the first information is used to determine the One or more network elements that the terminal provides services;
    所述BCHF网元根据所述终端的标识,从区块链中获取第一信息;The BCHF network element obtains the first information from the blockchain according to the identifier of the terminal;
    所述BCHF网元向所述业务发起网元发送所述第一信息。The BCHF network element sends the first information to the service initiating network element.
  12. 根据权利要求11所述的方法,其特征在于,所述第一信息是:为所述终端提供服务的一个或多个网元的信息,则所述第一请求消息携带第一指示,所述第一指示用于所述BCHF网元确定所述业务发起网元请求的为所述终端提供服务的一个或多个网元的信息。The method according to claim 11, wherein the first information is: information of one or more network elements that provide services for the terminal, and the first request message carries a first indication, The first indication is used by the BCHF network element to determine information about one or more network elements that are requested by the service initiating network element to provide services for the terminal.
  13. 根据权利要求12所述的方法,其特征在于,所述第一指示具体用于指示以下任一个或多个:The method according to claim 12, wherein the first indication is specifically used to indicate any one or more of the following:
    所述业务发起网元需要与所述终端通信的业务类型、或者所述业务发起网元请求的网元类型、或者所述业务发起网元需要的网元名称。The type of service that the service initiating network element needs to communicate with the terminal, or the type of network element requested by the service initiating network element, or the name of the network element required by the service initiating network element.
  14. 根据权利要求11所述的方法,其特征在于,所述第一信息是:当前所述终端提供服务的运营商的信息,则所述第一请求消息携带第二指示,所述第二指示用于所述BCHF网元确定当前为所述终端提供服务的运营商的信息。The method according to claim 11, wherein the first information is: information of an operator currently providing services to the terminal, and the first request message carries a second indication, and the second indication is used for The BCHF network element determines the information of the operator currently providing services for the terminal.
  15. 一种利用区块链为终端提供业务的方法,其特征在于,包括:A method for using blockchain to provide services for terminals, which is characterized in that it includes:
    业务发起网元根据终端的标识,从区块链中获取第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;The service initiating network element obtains first information from the blockchain according to the identifier of the terminal, where the first information is used to determine one or more network elements that provide services for the terminal;
    所述业务发起网元根据所述第一信息,确定为所述终端提供服务的一个或多个网元;The service initiating network element determines, according to the first information, one or more network elements that provide services for the terminal;
    所述业务发起网元和所述一个或多个网元中的任一网元交互,为所述终端提供业务。The service initiating network element interacts with any one of the one or more network elements to provide a service for the terminal.
  16. 根据权利要求15所述的方法,其特征在于,所述业务发起网元根据终端的标识,从区块链中获取第一信息,包括:The method according to claim 15, wherein the service initiating network element obtains the first information from the blockchain according to the identification of the terminal, comprising:
    所述业务发起网元向区块链处理功能BCHF网元发送第一请求消息,所述第一请 求消息包括所述终端的标识,所述第一请求消息用于请求第一信息,The service initiating network element sends a first request message to the blockchain processing function BCHF network element, where the first request message includes the identification of the terminal, and the first request message is used to request first information,
    所述业务发起网元接收来自所述BCHF的所述第一信息。The service initiating network element receives the first information from the BCHF.
  17. 一种利用区块链为终端提供业务的装置,其特征在于,包括:A device for providing services for a terminal by using a blockchain is characterized in that it includes:
    通信单元,用于接收来自终端的开户请求消息,所述开户请求消息包括所述终端的标识;A communication unit, configured to receive an account opening request message from a terminal, where the account opening request message includes an identifier of the terminal;
    处理单元,用于根据所述终端的标识,验证所述终端符合开户要求;A processing unit, configured to verify that the terminal meets the account opening requirements according to the terminal identifier;
    所述通信单元,还用于向第一运营商的用户数据管理网元发送第一消息,所述第一消息包括所述终端的签约数据。The communication unit is further configured to send a first message to a user data management network element of a first operator, where the first message includes subscription data of the terminal.
  18. 根据权利要求17所述的装置,其特征在于,所述处理单元,还用于在区块链中发布第一交易信息,所述第一交易信息包括所述终端的标识和所述第一运营商的信息之间的第一对应关系,所述第一对应关系用于表示所述终端在所述第一运营商中成功开户。The device according to claim 17, wherein the processing unit is further configured to publish first transaction information in the blockchain, the first transaction information including the terminal identifier and the first operation A first correspondence relationship between information of the business provider, where the first correspondence relationship is used to indicate that the terminal successfully opens an account in the first operator.
  19. 根据权利要求17或18所述的装置,其特征在于,所述处理单元,还用于确定当前由所述第一运营商为所述终端提供服务;The device according to claim 17 or 18, wherein the processing unit is further configured to determine that the first operator currently provides services for the terminal;
    所述处理单元,还用于在区块链中发布第二交易信息,其中,所述第二交易信息用于表示当前由所述第一运营商为所述终端提供服务。The processing unit is further configured to publish second transaction information in the blockchain, where the second transaction information is used to indicate that the first operator currently provides services for the terminal.
  20. 根据权利要求19所述的装置,其特征在于,所述处理单元,具体用于将所述区块链中记录的所述终端的标识和所述第一运营商的标识之间的第一对应关系设置为激活状态;The device according to claim 19, wherein the processing unit is specifically configured to compare the first correspondence between the identification of the terminal and the identification of the first operator recorded in the blockchain The relationship is set to active;
    当所述第一对应关系被设置为激活状态时,表示当前由所述第一运营商为所述终端提供服务。When the first correspondence is set to an activated state, it means that the first operator currently provides services for the terminal.
  21. 根据权利要求19或20所述的装置,其特征在于,所述通信单元,还用于接收来自所述终端的第一指示;The device according to claim 19 or 20, wherein the communication unit is further configured to receive a first instruction from the terminal;
    所述处理单元,具体用于根据所述第一指示,确定当前由所述第一运营商为所述终端提供服务。The processing unit is specifically configured to determine, according to the first instruction, that the first operator currently provides the service for the terminal.
  22. 一种利用区块链为终端提供业务的装置,其特征在于,包括:A device for providing services for a terminal by using a blockchain is characterized in that it includes:
    通信单元,用于向用户面数据管理网元发送第一消息,所述第一消息用于表示将所述装置注册为向终端提供服务的网元,所述第一消息包括所述终端的标识或SUPI;所述装置和所述用户面数据管理网元属于第一运营商;The communication unit is configured to send a first message to a user plane data management network element, where the first message is used to indicate that the device is registered as a network element that provides services to the terminal, and the first message includes the identification of the terminal Or SUPI; the device and the user plane data management network element belong to the first operator;
    通信单元,用于接收来自所述用户面数据管理网元的指示注册成功的响应消息;The communication unit is configured to receive a response message from the user plane data management network element indicating that the registration is successful;
    处理单元,用于在区块链中发布第一交易信息,所述第一交易信息包括:为所述终端提供服务的所述装置的信息。The processing unit is configured to publish first transaction information in the blockchain, where the first transaction information includes: information of the device that provides services for the terminal.
  23. 一种利用区块链为终端提供业务的装置,其特征在于,包括:A device for providing services for a terminal by using a blockchain is characterized in that it includes:
    通信单元,用于接收来自第一网元的第一消息,所述第一消息用于表示将所述第一网元注册为向终端提供服务的网元,所述第一消息包括所述终端的标识;所述第一网元和所述装置属于第一运营商;The communication unit is configured to receive a first message from a first network element, where the first message is used to indicate that the first network element is registered as a network element that provides services to a terminal, and the first message includes the terminal的ID; The first network element and the device belong to a first operator;
    处理单元,用于在所述区块链中发布第一交易信息,其中,所述第一交易信息用于表示当前由所述第一运营商为所述终端提供服务。The processing unit is configured to publish first transaction information in the blockchain, where the first transaction information is used to indicate that the first operator currently provides services for the terminal.
  24. 一种利用区块链为终端提供业务的装置,其特征在于,包括:A device for providing services for a terminal by using a blockchain is characterized in that it includes:
    通信单元,用于接收来自业务发起网元的第一请求消息,所述第一请求消息包括终端的标识,所述第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;The communication unit is configured to receive a first request message from a service initiating network element, where the first request message includes an identifier of the terminal, the first request message is used to request first information, and the first information is used to determine One or more network elements that the terminal provides services;
    处理单元,用于根据所述终端的标识,从区块链中获取第一信息;A processing unit, configured to obtain first information from the blockchain according to the terminal identifier;
    所述通信单元,用于向所述业务发起网元发送所述第一信息。The communication unit is configured to send the first information to the service initiating network element.
  25. 根据权利要求24所述的装置,其特征在于,所述第一信息是为所述终端提供服务的一个或多个网元的信息,则所述第一请求消息携带第一指示,所述第一指示用于所述装置确定所述业务发起网元请求的为所述终端提供服务的一个或多个网元的信息。The apparatus according to claim 24, wherein the first information is information of one or more network elements that provide services for the terminal, and the first request message carries a first indication, and the first Information indicating one or more network elements that are used by the device to determine the service initiation network element request to provide services for the terminal.
  26. 根据权利要求25所述的装置,其特征在于,所述第一指示具体用于指示以下任一个或多个:The device according to claim 25, wherein the first indication is specifically used to indicate any one or more of the following:
    所述业务发起网元需要与所述终端通信的业务类型、或者所述业务发起网元请求的网元类型、或者所述业务发起网元需要的网元名称。The type of service that the service initiating network element needs to communicate with the terminal, or the type of network element requested by the service initiating network element, or the name of the network element required by the service initiating network element.
  27. 根据权利要求24所述的装置,其特征在于,所述第一信息是:当前所述终端提供服务的运营商的信息,则所述第一请求消息携带第二指示,所述第二指示用于所述装置确定当前为所述终端提供服务的运营商的信息。The apparatus according to claim 24, wherein the first information is: information of an operator currently providing services to the terminal, and the first request message carries a second indication, and the second indication is used for The device determines the information of the operator currently providing services for the terminal.
  28. 一种利用区块链为终端提供业务的装置,其特征在于,包括:A device for providing services for a terminal by using a blockchain is characterized in that it includes:
    通信单元,用于根据终端的标识,从区块链中获取第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;The communication unit is configured to obtain first information from the blockchain according to the identifier of the terminal, where the first information is used to determine one or more network elements that provide services for the terminal;
    处理单元,用于根据所述第一信息,确定为所述终端提供服务的一个或多个网元;以及用于和所述一个或多个网元中的任一网元交互,为所述终端提供业务。The processing unit is configured to determine, according to the first information, one or more network elements that provide services for the terminal; and to interact with any one of the one or more network elements, as the The terminal provides services.
  29. 根据权利要求28所述的装置,其特征在于,所述通信单元,用于向区块链处理功能BCHF网元发送第一请求消息,所述第一请求消息包括所述终端的标识,所述第一请求消息用于请求第一信息,所述第一信息用于确定为所述终端提供服务的一个或多个网元;The device according to claim 28, wherein the communication unit is configured to send a first request message to a blockchain processing function BCHF network element, and the first request message includes an identifier of the terminal, and The first request message is used to request first information, and the first information is used to determine one or more network elements that provide services for the terminal;
    所述通信单元,用于接收来自所述BCHF的所述第一信息。The communication unit is configured to receive the first information from the BCHF.
  30. 一种通信系统,其特征在于,包括权利要求24-27任一项所述的装置,以及权利要求28或29所述的装置。A communication system, characterized by comprising the device according to any one of claims 24-27 and the device according to claim 28 or 29.
  31. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至16任一项所述的方法。A computer-readable storage medium comprising instructions, which when run on a computer, cause the computer to execute the method according to any one of claims 1 to 16.
PCT/CN2020/112650 2019-08-30 2020-08-31 Method, apparatus and system for providing service for terminal by using blockchain WO2021037270A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910819110.3A CN112449350B (en) 2019-08-30 2019-08-30 Method, device and system for providing service for terminal by using block chain
CN201910819110.3 2019-08-30

Publications (1)

Publication Number Publication Date
WO2021037270A1 true WO2021037270A1 (en) 2021-03-04

Family

ID=74685653

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112650 WO2021037270A1 (en) 2019-08-30 2020-08-31 Method, apparatus and system for providing service for terminal by using blockchain

Country Status (2)

Country Link
CN (1) CN112449350B (en)
WO (1) WO2021037270A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891291A (en) * 2021-10-26 2022-01-04 中国联合网络通信集团有限公司 Service opening method and device
CN115515088A (en) * 2021-06-22 2022-12-23 北京新媒传信科技有限公司 Arranging method of business process chain, and interaction method and device of 5G messages

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691936B (en) * 2021-08-25 2023-03-24 中国联合网络通信集团有限公司 Terminal access method based on shared base station and shared base station
CN114125812B (en) * 2021-11-12 2023-07-18 中国联合网络通信集团有限公司 Data synchronization method, device, server and storage medium
CN116782224A (en) * 2022-03-07 2023-09-19 华为技术有限公司 Communication method and device
CN115550902B (en) * 2022-10-31 2024-03-19 中国联合网络通信集团有限公司 Security data updating method, USIM, terminal, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190052614A1 (en) * 2016-09-01 2019-02-14 Ca, Inc. Publicly readable blockchain registry of personally identifiable information breaches
CN109462825A (en) * 2019-01-04 2019-03-12 中国联合网络通信集团有限公司 Phone number distribution method, equipment and computer readable storage medium
CN109525983A (en) * 2019-01-04 2019-03-26 中国联合网络通信集团有限公司 Information processing method and device, storage medium
CN109548180A (en) * 2019-01-04 2019-03-29 中国联合网络通信集团有限公司 Communication means based on block chain and the communication system based on block chain
CN109600389A (en) * 2019-01-04 2019-04-09 中国联合网络通信集团有限公司 A kind of group user communication means and system based on block chain
CN109673010A (en) * 2019-01-04 2019-04-23 中国联合网络通信集团有限公司 The number of taking based on block chain turns network method and device, storage medium
CN109873881A (en) * 2019-01-04 2019-06-11 中国联合网络通信集团有限公司 The method and system of the autonomous number of selecting based on block chain
CN110324817A (en) * 2019-07-02 2019-10-11 中国联合网络通信集团有限公司 International roaming communication means, service control point node based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114845381A (en) * 2017-08-11 2022-08-02 华为技术有限公司 Session information management method and device
US20190147431A1 (en) * 2017-11-16 2019-05-16 Blockmason Inc. Credit Protocol
CN108184233B (en) * 2017-12-01 2021-04-06 中国联合网络通信集团有限公司 Number carrying method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190052614A1 (en) * 2016-09-01 2019-02-14 Ca, Inc. Publicly readable blockchain registry of personally identifiable information breaches
CN109462825A (en) * 2019-01-04 2019-03-12 中国联合网络通信集团有限公司 Phone number distribution method, equipment and computer readable storage medium
CN109525983A (en) * 2019-01-04 2019-03-26 中国联合网络通信集团有限公司 Information processing method and device, storage medium
CN109548180A (en) * 2019-01-04 2019-03-29 中国联合网络通信集团有限公司 Communication means based on block chain and the communication system based on block chain
CN109600389A (en) * 2019-01-04 2019-04-09 中国联合网络通信集团有限公司 A kind of group user communication means and system based on block chain
CN109673010A (en) * 2019-01-04 2019-04-23 中国联合网络通信集团有限公司 The number of taking based on block chain turns network method and device, storage medium
CN109873881A (en) * 2019-01-04 2019-06-11 中国联合网络通信集团有限公司 The method and system of the autonomous number of selecting based on block chain
CN110324817A (en) * 2019-07-02 2019-10-11 中国联合网络通信集团有限公司 International roaming communication means, service control point node based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115515088A (en) * 2021-06-22 2022-12-23 北京新媒传信科技有限公司 Arranging method of business process chain, and interaction method and device of 5G messages
CN115515088B (en) * 2021-06-22 2023-10-20 北京新媒传信科技有限公司 Method for arranging business process chain, and method and device for interacting 5G messages
CN113891291A (en) * 2021-10-26 2022-01-04 中国联合网络通信集团有限公司 Service opening method and device
CN113891291B (en) * 2021-10-26 2023-07-28 中国联合网络通信集团有限公司 Service opening method and device

Also Published As

Publication number Publication date
CN112449350B (en) 2022-11-18
CN112449350A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
WO2021037270A1 (en) Method, apparatus and system for providing service for terminal by using blockchain
US11743699B2 (en) Method of discovering services provided by a network repository function
US10299128B1 (en) Securing communications for roaming user equipment (UE) using a native blockchain platform
JP7004738B2 (en) Methods and equipment for session management function selection
US10141966B2 (en) Update of a trusted name list
US10187784B1 (en) Systems and methods for transferring SIM profiles between eUICC devices
US9693366B2 (en) End-to-end architecture, API framework, discovery, and access in a virtualized network
US11232446B2 (en) Carrier grade telecom blockchain
WO2021027177A1 (en) Method and apparatus for network function service discovery
US11989543B2 (en) Method for interoperating between bundle download process and eSIM profile download process by SSP terminal
US10708766B1 (en) Systems and methods for activating devices
US20220418038A1 (en) Selection of ip version
WO2020253701A1 (en) Method, device and system for managing background data transfer policies
WO2017147772A1 (en) Method of transmitting information and core network access apparatus
CN110366159A (en) A kind of method and apparatus obtaining security strategy
US20090137227A1 (en) Federated Virtual Network of Communications Services
WO2021088882A1 (en) Data sharing method, device, and system
EP2304980B1 (en) A method and apparatus for a subscriber database
WO2021063298A1 (en) Method for implementing external authentication, communication device and communication system
CN115004742A (en) Method, device and system for anchor key generation and management for encrypted communication with service applications in a communication network
US11553328B2 (en) Methods, devices, and computer programs for provisioning or controlling operator profiles in terminals
KR20130000352A (en) User equipment with embedded uicc, activating method of user equipment, terminating method of user equipment, user equipment managing server, user equipment ordering method of user equipment managing server, and user equipment activating method of user equipment managing server
CN114301788B (en) Slice management method and device and communication equipment
CN114946153A (en) Method, device and system for application key generation and management in a communication network in encrypted communication with a service application
US11146944B1 (en) Mobile phone peer-to-peer electronic subscriber identity module (eSIM) transfer

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: 20859000

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20859000

Country of ref document: EP

Kind code of ref document: A1