User signing method and device for distributed network, program product and electronic equipment

By generating user subscription information in a distributed network and backing it up in the first subnet and the authorized second subnet, and then uploading it to the blockchain network, the problem of lack of backup of user subscription information is solved, the network's disaster recovery capability and information traceability are enhanced, and it is adapted to the distributed network architecture.

CN121463017APending Publication Date: 2026-02-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511686782.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-03

AI Technical Summary

Technical Problem

In distributed networks, user subscription information lacks network-level backup, which severely impacts roaming user services and makes it unsuitable for decentralized distributed network architectures.

Method used

User contract information is generated in the first subnet of the distributed network and stored locally. At the same time, the contract information is sent to the authorized second subnet for backup storage and uploaded to the blockchain network for backup, ensuring the information is tamper-proof and traceable.

Benefits of technology

It enhances the network's disaster recovery capabilities, ensuring that user subscription information is not overexposed in the distributed network, while achieving information traceability and adaptability, and is suitable for multi-node collaborative network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121463017A_ABST
    Figure CN121463017A_ABST
Patent Text Reader

Abstract

The invention provides a user signing method and device of a distributed network, a program product and electronic equipment, and the method comprises the steps: responding to a signing request of a first user, generating user signing information of the first user, and storing the user signing information of the first user in a first subnetwork; the home network of the first user is a first sub-network; the user subscription information of the first user is sent to a second subnet in the distributed network, so that the user subscription information of the first user is backed up and stored through the second subnet; the second subnet is a backup network authorized by the first subnet; and uploading the signing storage information of the first user to a block chain network to complete signing of the first user. According to the invention, the tracing of the user subscription information can be realized while the user subscription information is not excessively exposed, and the disaster tolerance of the network is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of wireless communication, and particularly relates to a user subscription method of a distributed network, a user subscription device of a distributed network, a computer program product and an electronic device. BACKGROUND

[0002] When a user accesses a network, a user subscription needs to be initiated to a home network of the user, and the home network writes user subscription information of the user into a local database network element for storage. Since the storage of the user subscription information depends on the home network, there is a lack of network-level backup. Once the home network fails, the basic services of the roaming user will be affected to different degrees, and such a storage mode is contrary to the decentralization demand of the distributed network architecture and cannot well adapt to the network environment of multi-node cooperation, and there is limitation in architecture compatibility.

[0003] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0004] The present disclosure provides a user subscription method of a distributed network, a user subscription device of a distributed network, a computer program product and an electronic device to solve the user subscription problem under the distributed network architecture.

[0005] According to a first aspect of the present disclosure, a user subscription method of a distributed network is provided, applied to a first subnet in the distributed network, and the method comprises: in response to a subscription request of a first user, generating user subscription information of the first user, and storing the user subscription information of the first user in the first subnet; the home network of the first user is the first subnet; sending the user subscription information of the first user to a second subnet in the distributed network to backup store the user subscription information of the first user through the second subnet; the second subnet is a backup network authorized by the first subnet; and uploading the subscription storage information of the first user to a blockchain network to complete the subscription of the first user.

[0006] According to a second aspect of the present disclosure, a user subscription device of a distributed network is provided, which is applied to a first subnet in the distributed network, and the device comprises: a first storage module configured to generate user subscription information of a first user in response to a subscription request of the first user, and store the user subscription information of the first user in the first subnet; a home network of the first user is the first subnet; a second storage module configured to send the user subscription information of the first user to a second subnet in the distributed network, so as to backup and store the user subscription information of the first user by the second subnet; the second subnet is a backup network authorized by the first subnet; and an information chaining module configured to upload the subscription storage information of the first user to a blockchain network, so as to complete the subscription of the first user.

[0007] According to a third aspect of the present disclosure, a computer program product is provided, which comprises a computer program, and the computer program is executed by a processor to implement the user subscription method of the distributed network according to the first aspect.

[0008] According to a fourth aspect of the present disclosure, an electronic device is provided, which comprises a processor and a memory configured to store executable instructions of the processor; wherein the processor is configured to execute the user subscription method of the distributed network according to the first aspect by executing the executable instructions.

[0009] The technical solution of the present disclosure has the following beneficial effects: In the user subscription process of the distributed network, the user subscription information of the first user is generated in response to the subscription request of the first user, and the user subscription information of the first user is stored in the first subnet; the home network of the first user is the first subnet; the user subscription information of the first user is sent to the second subnet in the distributed network, so as to backup and store the user subscription information of the first user by the second subnet; the second subnet is a backup network authorized by the first subnet; and the subscription storage information of the first user is uploaded to the blockchain network, so as to complete the subscription of the first user. By providing network-level user subscription information backup, the network disaster recovery capability can be enhanced; by uploading the subscription storage information of the first user to the blockchain network, the user subscription information can be traced while ensuring that the user subscription information is not excessively exposed, which can be well applied to the distributed network architecture. BRIEF DESCRIPTION OF DRAWINGS

[0010] Figure 1 A flowchart of a user subscription method of a distributed network in the present exemplary embodiment is shown; Figure 2 A schematic diagram of an architecture of a distributed network in the present exemplary embodiment is shown; Figure 3Fig. 1 shows a schematic diagram of a data structure of each blockchain node in a blockchain network according to an example embodiment; Figure 4 Fig. 2 shows a flowchart of a user subscription process according to an example embodiment; Figure 5 Fig. 3 shows a flowchart of an authentication process of a roaming user according to an example embodiment; Figure 6 Fig. 4 shows a block diagram of a user subscription device of a distributed network according to an example embodiment; Figure 7 Fig. 5 shows an electronic device for implementing the user subscription method of the distributed network according to an example embodiment. DETAILED DESCRIPTION

[0011] Example embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0012] The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate certain non-limiting embodiments of the disclosure. In the drawings, the same reference numerals are used to represent similar components in the various views. The drawings provided are for purposes of illustration and description only. It is noted that in the drawings, schematic views are often used. It is intended that the embodiments and examples presented herein are but a few of the many possible embodiments and examples that can be made within the scope of the present disclosure. The features, structures, or characteristics described in connection with the described examples can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the various embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown or described in detail.

[0013] Example embodiments of the present disclosure provide a user subscription method of a distributed network, a user subscription device of a distributed network, a computer program product, and an electronic device, to provide a key prerequisite for implementing more reliable user service.

[0014] In an alternative embodiment, referring to Figure 1 Fig. 1 shows a schematic diagram of a data structure of each blockchain node in a blockchain network according to an example embodiment; Step S110, in response to a subscription request of a first user, generating user subscription information of the first user, and storing the user subscription information of the first user in a first subnet; a home network of the first user is the first subnet; Step S120, the user subscription information of the first user is sent to a second subnet in the distributed network to store the user subscription information of the first user through the second subnet; the second subnet is a backup network authorized by the first subnet; Step S130, the subscription storage information of the first user is uploaded to the blockchain network to complete the subscription of the first user.

[0015] Figure 1 In the method, by providing network-level user subscription information backup, the network disaster recovery capability can be enhanced; by uploading the subscription storage information of the first user to the blockchain network, the user subscription information can be traced while ensuring that the user subscription information is not excessively exposed, which can be well applied to the distributed network architecture.

[0016] It should be noted that the distributed network can include multiple subnets, and each subnet can deploy one (or multiple subnets share one) blockchain node, and these blockchain nodes can jointly form a blockchain network, such as Figure 2 The architecture diagram of the distributed network provided in the Figure 2 The number and deployment location of the subnets included in the distributed network are not limited to the case in These subnets can be core networks of specific regions or special networks of specific industries, and the present disclosure does not make specific limitations.

[0017]

[0018] The following will be specifically described for each step in Figure 1 .

[0019] In step S110, in response to the subscription request of the first user, the user subscription information of the first user is generated, and the user subscription information of the first user is stored in the first subnet; the home network of the first user is the first subnet.

[0020] Wherein, the first user can be a user who needs to open an account in the network, and when the home network of the first user is the first subnet, the first subnet can be initiated to trigger the user subscription logic and realize user subscription.

[0021] Wherein, the user subscription information defines the information details of the subscribed user, which can include but is not limited to user identity, network slice authority, rate control, communication security and other dimension information, and the present disclosure does not make specific limitations.

[0022] For example, as shown in the following JSON format user subscription information provided: { "imsi": "xxx", "slice": [{ "xxx": xxx }], "ambr": { "xxx": "xxx" }, "security": { "k": "xxx", "amf": "xxx", "opc": "xxx", "sqn": "xxx" } } Wherein, the IMSI represents an international mobile subscriber identity, which is a "digital identity card" globally uniquely identifying the user identity, and the network accurately locates the user's home place, matches the subscription rights and interests, and is the core basis for identity verification when roaming.

[0023] Wherein, the slice represents a network slice configuration, which can record the slice type and slice priority that can be used by the user, and determines whether the user can access the customized network service in a specific scenario.

[0024] Wherein, the AMBR represents an aggregated maximum bit rate, which is a rate control index of the network for the user, including "uplink rate upper limit" and "downlink rate upper limit", and can limit the network speed of the user in the scenarios such as call, download and live broadcast, and is a key to guarantee the fair allocation of network resources.

[0025] Wherein, the security is a security key set for the communication between the user and the network, which is the core guarantee to prevent data from being eavesdropped and identity from being forged, and can include fields "k", "amf", "opc" and "sqn". Among them, the field "k" and the field "opc" are the root keys pre-stored by the user and the home network, which are used to generate temporary encryption keys for calls and data transmission; the field "amf" is an authentication management domain parameter participating in the legality verification of the identity authentication process; and the field "sqn" is a sequence number, which can ensure the uniqueness of each communication authentication.

[0026] After generating the user subscription information of the first user, the first subnet can store the user subscription information of the first user in the private database of the first subnet.

[0027] In step S120, the user subscription information of the first user is sent to a second subnet in a distributed network for backup storage of the user subscription information of the first user by the second subnet; and the second subnet is a backup network authorized by the first subnet.

[0028] Optionally, the first subnet can determine one or more backup networks, i.e., the second subnet, from the multiple subnets of the distributed network according to the deployment policy information of the distributed network, which is not specifically limited in the present disclosure.

[0029] Specifically, the first subnet can send the user subscription information of the first user to the second subnet in the distributed network through a secure channel; after obtaining the user subscription information of the first user, the second subnet can store the user subscription information of the first user into the private database corresponding to the second subnet, so as to ensure that the user subscription information of the first user is not leaked.

[0030] Optionally, after storing the user subscription information of the first user, the second subnet can return a synchronization confirmation response to the first subnet, so that the first subnet knows that the user subscription information of the first user has been backed up.

[0031] The first subnet sends the user subscription information of the first user to the second subnet in the distributed network, so as to store the user subscription information of the first user through the second subnet, thereby realizing network-level backup of the user subscription information of the first user.

[0032] In step S130, the subscription storage information of the first user is uploaded to the blockchain network to complete the subscription of the first user.

[0033] Among them, the subscription storage information defines the storage address of the corresponding user subscription information. It can include but is not limited to user temporary identifier, home network anchor point, backup network redundancy, and other dimension information, which is not specifically limited in the present disclosure.

[0034] For example, as shown in the following JSON format subscription storage information provided: { "5G-GUTI": "xxxxxxxxxxxx", "homeNetwork": { "netID": "xxx", "ipEndPoint": {"ipv4Addr": "…","port": …}, }, "backupNetwork": [{ "netID": "xxx", "ipEndPoint": {"ipv4Addr": "…","port": …} }] } Wherein, the 5G-GUTI represents a 5G global unique temporary identity, which is a "temporary identity card" allocated by the network for the user, and is a "first identity certificate" for the user to initiate a service in the visited network during roaming.

[0035] Wherein, the homeNetwork represents a home network configuration of the user, containing the fields "netID" and "ipEndPoint".

[0036] Wherein, the backupNetwork represents a backup network configuration of the home network, containing the fields "netID" and "ipEndPoint". The "netID" represents a network unique identifier for quickly locating the network, and the "ipEndPoint" represents an IP address and port number.

[0037] Each subscription storage information includes, in addition to the unique identifier pointing to a specific user, the home network of the user and the backup network of the home network. Taking the subscription storage information of the first user as an example, it can contain but is not limited to: the identification information of the first user, the configuration information of the first subnet (the home network of the first user), the configuration information of the second subnet (the backup network of the home network of the first user), etc.

[0038] In order to ensure that the blockchain network can maintain traceability and anti-tampering capabilities for user subscription information that is not synchronized across the network, when uploading the subscription storage information of the first user to the blockchain network, the subscription hash value of the first user can also be uploaded.

[0039] In an optional implementation, the above uploading of the subscription storage information of the first user to the blockchain network to complete the subscription of the first user can be achieved by the following steps: determining the subscription hash value of the first user according to the user subscription information of the first user; determining the subscription storage information of the first user according to the source storage state and the backup storage state of the user subscription information of the first user; uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network.

[0040] Wherein, the subscription hash value of the first user is the hash value of the user subscription information of the first user.

[0041] Wherein, the source storage state refers to the storage state of the user subscription information of the first user in the home network (i.e., the first subnet). The backup storage state refers to the storage state of the user subscription information of the first user in the backup network authorized by the home network (i.e., the second subnet). For example, if it is detected that the user subscription information of the first user is stored in the first subnet and is backed up in the second subnet, the configuration information of the first subnet and the configuration information of the second subnet can be taken as the subscription storage information of the first user.

[0042] By uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network, tamper-proof and traceable effects can be provided in the case that the user key information is protected.

[0043] In an optional implementation, the first subnet is deployed with a corresponding blockchain node, and the uploading of the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network to complete the subscription of the first user can be achieved by the following steps: uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network through the first subnet corresponding blockchain node to complete the subscription of the first user.

[0044] The first subnet corresponding blockchain node writes the subscription hash value of the first user and the subscription storage information of the first user into the transaction of the blockchain, and sends it to other blockchain nodes joined in the blockchain network to endorse the transaction. Based on the blockchain strategy, after a number of (such as more than half) blockchain nodes endorse the transaction, the blockchain network reaches a consensus on the block containing the transaction, and all blockchain nodes joined in the blockchain network add the corresponding block to the chain, and write the transaction into the state database to realize data synchronization.

[0045] After data synchronization, the first subnet corresponding blockchain node can return a transaction response to prompt that the first subnet has completed the user subscription.

[0046] As shown in Figure 3 , a data structure diagram of each blockchain node in the blockchain network is provided. Among them, US_Info represents the user subscription information of the first user, Hash(US_Info) represents the subscription hash value of the first user, and USDL_Info represents the subscription storage information of the first user.

[0047] As shown in Figure 4 , an interactive flowchart of user subscription is provided, which can specifically include the following steps: Step S401, the user system initiates a subscription request of a first user to a first subnet; Step S402, the first subnet generates and stores user subscription information of the first user in response to the subscription request of the first user; Step S403, the first subnet synchronizes the user subscription information of the first user to a second subnet; Step S404, the second subnet performs backup storage on the user subscription information of the first user; Step S405, the second subnet returns a synchronization confirmation response to the first subnet; At step S406, the first subnet determines a subscription hash value of the first user according to user subscription information of the first user, and writes the subscription hash value of the first user and subscription storage information of the first user into a transaction; At step S407, the first subnet uploads the transaction to a blockchain network. At step S408, the blockchain network returns a transaction response to the first subnet after reaching a consensus on the transaction. At step S409, the first subnet notifies the user system that the subscription of the first user is completed after receiving the transaction response.

[0048] Figure 4 In the steps, the first subnet is a home network of the first user, and the second subnet is a backup network authorized by the first subnet.

[0049] In the present disclosure, each subnet in the distributed network can participate in the blockchain network as a main body, and add its database network element as a blockchain node to the blockchain network. When a user accesses the network, the user system performs user subscription in the home network: the home network saves user subscription information containing important information in the private database of the home network and a few additional authorized backup networks, and includes a hash value of the user subscription information in a transaction. After the standard process of the blockchain network, the hash value is written to each node on the blockchain, which can provide tamper-proof and traceable effects in the case of protecting the user's key information.

[0050] In an optional implementation, the following steps can also be performed: in response to a non-access stratum registration request of a second user, if the first subnet stores user subscription information of the second user, obtaining the user subscription information of the second user; authenticating the second user according to the user subscription information of the second user; and if the second user is authenticated, performing non-access stratum registration for the second user.

[0051] The non-access stratum (NAS) registration request is used to trigger user non-access stratum registration, so that the user can use network services. The request message can contain a unique identifier (such as 5G-GUTI) of the corresponding user.

[0052] When the home network of the second user or the backup network authorized by the home network of the second user is the first subnet, the first subnet stores the user subscription information of the second user. At this time, the first subnet can obtain the stored user subscription information of the second user in response to a non-access stratum registration request of the second user. After obtaining the user subscription information of the second user, the information can be used to authenticate the second user to verify the legality of the second user. If the second user is authenticated, the second user can be registered for non-access stratum.

[0053] Through the above steps, the non-access layer registration of the user affiliated to the home location or the user affiliated to the backup network of the home location can be implemented.

[0054] In an optional implementation, the following steps can also be performed: in response to the non-access layer registration request of the third user, if the first subnet does not store the user subscription information of the third user, querying the subscription storage information corresponding to the third user from the blockchain network; obtaining the user subscription information of the third user according to the subscription storage information corresponding to the third user; authenticating the third user according to the user subscription information of the third user; and if the third user is authenticated, performing the non-access layer registration of the third user.

[0055] The non-access layer (NAS) registration request is used to trigger the non-access layer registration of the user, so that the user can use the network service. The request message can include but is not limited to the unique identifier (for example, 5G-GUTI) of the corresponding user.

[0056] When the first subnet is the visiting network of the third user, in response to the non-access layer registration request of the third user, if the first subnet does not store the user subscription information of the third user, the subscription storage information corresponding to the third user can be queried from the blockchain network according to the user identifier information of the third user.

[0057] The subscription storage information corresponding to the third user can include but is not limited to the identifier information of the third user, the configuration information of the third subnet (i.e., the home network of the third user), the configuration information of the fourth subnet (i.e., the backup network of the home network of the third user), and the like.

[0058] By querying the subscription storage information corresponding to the third user, the user subscription information of the third user is obtained according to the subscription storage information corresponding to the third user, so as to implement the non-access layer registration of the roaming user.

[0059] In an optional implementation, the first subnet is deployed with a corresponding blockchain node, and the above-mentioned querying of the subscription storage information corresponding to the third user from the blockchain network can be implemented through the following steps: querying the subscription storage information corresponding to the third user from the blockchain node corresponding to the first subnet according to the user identifier information of the third user.

[0060] When the subnet of the distributed network adds its own database network element as a blockchain node to the blockchain network, there is a corresponding relationship between the subnet and the blockchain node, and the first subnet obtains the subscription storage information corresponding to the third user by querying the blockchain node corresponding to itself, which is simple and easy to implement.

[0061] In an optional implementation, the obtaining of the user subscription information of the third user according to the subscription storage information corresponding to the third user can be implemented by the following steps: determining a third subnet from the distributed network according to the subscription storage information corresponding to the third user; the third subnet is a home network of the third user; and obtaining the user subscription information corresponding to the third user from the third subnet.

[0062] According to the subscription storage information corresponding to the third user, the home network of the third user, i.e., the third subnet, is determined, so as to obtain the user subscription information of the third user from the home network of the third user preferentially.

[0063] In an optional implementation, the following steps can also be performed: if the third subnet is abnormal, determining a fourth subnet from the distributed network according to the subscription storage information corresponding to the third user; the fourth subnet is a backup network authorized by the third subnet; and obtaining the user subscription information corresponding to the third user from the fourth subnet.

[0064] For example, if the third subnet is abnormal, such as network link interruption, UDM (Unified Data Management) network element abnormality, etc. According to the subscription storage information corresponding to the third user, the backup network authorized by the third subnet, i.e., the fourth subnet, is determined from the distributed network, so as to obtain the user subscription information corresponding to the third user from the fourth subnet, which can ensure the reliability of the service provided for the user.

[0065] If there are multiple authorized backup networks of the third subnet, any backup network can be selected to obtain the user subscription information corresponding to the third user, which is not limited in the present disclosure.

[0066] In an optional implementation, the following steps can also be performed: if the user subscription information corresponding to the third user is obtained from the fourth subnet, uploading the authentication record of the third user to the blockchain network.

[0067] The obtaining of the user subscription information corresponding to the third user from the fourth subnet indicates that the home network of the third user, i.e., the third subnet, can be abnormal, and the authentication record is uploaded to the blockchain network, so as to facilitate network abnormality positioning, management and maintenance.

[0068] In an optional implementation, before the third user is authenticated according to the user subscription information of the third user, the following steps can also be performed: querying the subscription hash value corresponding to the third user from the blockchain network; and performing integrity verification on the user subscription information of the third user according to the subscription hash value corresponding to the third user.

[0069] According to the user identification information of the third user, the blockchain node corresponding to the first subnet is queried for the signing hash value corresponding to the third user, so that the user signing information of the third user obtained from the third subnet or the fourth subnet is subjected to integrity verification according to the signing hash value corresponding to the third user, so as to prevent data tampering and further ensure the accuracy of the authentication result.

[0070] It should be noted that, in actual application, in order to simplify the processing, the signing hash value corresponding to the third user and the signing storage information can be simultaneously queried from the blockchain node corresponding to the first subnet according to the user identification information of the third user, and the present disclosure does not make specific limitation thereto.

[0071] Exemplarily, as shown in Figure 5 , a roaming user authentication interaction flowchart is provided, which can specifically include the following steps: Step S501, the third user initiates a non-access layer registration request of the third user to the first subnet; Step S502, the first subnet responds to the non-access layer registration request of the third user, and queries the signing storage information corresponding to the third user from the blockchain network; Step S503, the blockchain network returns the signing storage information corresponding to the third user to the first subnet; Step S504, according to the signing storage information corresponding to the third user, the third subnet is determined from the distributed network, so as to complete the authentication of the third user by interacting with the third subnet; wherein the third subnet is the home network of the third user; the user signing information corresponding to the third user is obtained from the third subnet; Step S505, if the interaction with the third subnet is timed out, the fourth subnet can be determined from the distributed network according to the signing storage information corresponding to the third user, so as to complete the authentication of the third user by interacting with the fourth subnet; wherein the fourth subnet is the backup network authorized by the third subnet; Step S506, if the authentication of the third user is completed by interacting with the fourth subnet, the current authentication record of the third user is uploaded to the blockchain network.

[0072] Under the distributed network architecture, when the third user accesses the visited network (the first subnet), the visited network (the first subnet) queries the signing storage information thereof through the blockchain, locates the storage position of the user signing information of the third user, so as to complete the authentication of the third user, which can realize the acquisition of the user signing information while avoiding the excessive exposure of the user signing information.

[0073] Exemplary embodiments of the present disclosure also provide a user signing device of a distributed network, which is applied to a first subnet in a distributed network, and with reference to Figure 6 , the user signing device 600 of the distributed network can include the following program modules: The first storage module 610 is configured to generate user subscription information of the first user in response to a subscription request of the first user, and store the user subscription information of the first user in a first subnet; the home network of the first user is the first subnet; The second storage module 620 is configured to send the user subscription information of the first user to a second subnet in a distributed network, so as to backup and store the user subscription information of the first user through the second subnet; the second subnet is a backup network authorized by the first subnet; The information chaining module 630 is configured to upload the subscription storage information of the first user to a blockchain network, so as to complete the subscription of the first user.

[0074] In an optional implementation, based on the foregoing scheme, the information chaining module 630 comprises: a subscription hash value determination module configured to determine a subscription hash value of the first user according to the user subscription information of the first user; a storage information determination module configured to determine subscription storage information of the first user according to a source storage state and a backup storage state of the user subscription information of the first user; and an information uploading module configured to upload the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network, so as to complete the subscription of the first user.

[0075] In an optional implementation, based on the foregoing scheme, the first subnet is deployed with a corresponding blockchain node, and the information uploading module can be configured to upload the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network through the corresponding blockchain node of the first subnet, so as to complete the subscription of the first user.

[0076] In an optional implementation, based on the foregoing scheme, the user subscription device 600 of the distributed network can comprise: a first information acquisition module configured to acquire user subscription information of a second user if the first subnet stores the user subscription information of the second user in response to a non-access stratum registration request of the second user; a first authentication module configured to authenticate the second user according to the user subscription information of the second user; and a first registration module configured to perform non-access stratum registration on the second user if the second user passes the authentication.

[0077] In an optional implementation, based on the foregoing scheme, the user subscription device 600 of the distributed network can further include: a storage information query module configured to, in response to the non-access layer registration request of the third user, query the subscription storage information corresponding to the third user from the blockchain network if the first subnet does not store the user subscription information of the third user; a second information acquisition module configured to acquire the user subscription information of the third user according to the subscription storage information corresponding to the third user; a second authentication module configured to authenticate the third user according to the user subscription information of the third user; and a second registration module configured to perform non-access layer registration on the third user if the third user passes the authentication.

[0078] In an optional implementation, based on the foregoing scheme, the second information acquisition module can be configured to: determine a third subnet from the distributed network according to the subscription storage information corresponding to the third user; and acquire the user subscription information corresponding to the third user from the third subnet, wherein the third subnet is a home network of the third user.

[0079] In an optional implementation, based on the foregoing scheme, the user subscription device 600 of the distributed network can further include: a third information acquisition module configured to, if the third subnet is abnormal, determine a fourth subnet from the distributed network according to the subscription storage information corresponding to the third user, wherein the fourth subnet is a backup network authorized by the third subnet; and acquire the user subscription information corresponding to the third user from the fourth subnet.

[0080] In an optional implementation, based on the foregoing scheme, the user subscription device 600 of the distributed network can further include: an authentication record uploading module configured to, if the user subscription information corresponding to the third user is acquired from the fourth subnet, upload the authentication record of the third user to the blockchain network.

[0081] In an optional implementation, based on the foregoing scheme, the first subnet is deployed with a corresponding blockchain node, and the storage information query module configured to query the subscription storage information corresponding to the third user from the blockchain network can be configured to: query the subscription storage information corresponding to the third user from the blockchain node corresponding to the first subnet according to the user identification information of the third user.

[0082] In an optional implementation, based on the foregoing scheme, before authenticating the third user according to the user subscription information of the third user, the user subscription device 600 of the distributed network can further include: a hash value query module configured to query the subscription hash value corresponding to the third user from the blockchain network; and an information integrity verification module configured to verify the integrity of the user subscription information of the third user according to the subscription hash value corresponding to the third user.

[0083] The specific details of the parts of the user subscription device 600 of the distributed network described above have been described in detail in the method part of the embodiments, and the details not disclosed can be referred to the content of the method part of the embodiments, and thus will not be described again.

[0084] It should be noted that, although several modules or units of the device for action execution are mentioned in the foregoing detailed description, such a division is not mandatory. Indeed, according to the example embodiments of the present disclosure, the features and functionalities of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functionalities of one module or unit described above can be further divided into several modules or units embodied.

[0085] The example embodiments of the present disclosure also provide a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the user subscription method of the distributed network described above.

[0086] In an embodiment, the computer program product can be a tangible product containing the computer program, such as a computer readable storage medium storing the computer program. The readable storage medium can be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, etc. signals, including but not limited to: random access memory (RAM), read only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid state disk (SSD), etc. For example, the computer program product can be implemented as a non-volatile storage medium storing the computer program, such as a read only memory, a Nand flash memory, etc.

[0087] In an embodiment, the computer program product can be an intangible product containing the computer program. For example, the computer program product can be implemented as a virtual digital product, such as an executable file, an installation package, etc. digital file storing the computer program.

[0088] The code of the computer program can be written in one or more programming languages. Programming languages such as C, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case involving a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (for example, through an Internet connection provided by an operator).

[0089] The computer program can be carried or transmitted by an electric, magnetic, optical, electromagnetic, infrared, or the like signal. The electronic device can convert the signal carrying the computer program into a digital signal, and then run the computer program. When the computer program is running on the electronic device, its code is used to make the electronic device perform (more specifically, can make the processor of the electronic device perform) the method steps of various exemplary embodiments of the present disclosure.

[0090] Exemplarily, the user subscription method of the distributed network of the first aspect described above can be executed, which includes the following steps: In response to the subscription request of the first user, the user subscription information of the first user is generated and stored in the first subnet; the home network of the first user is the first subnet; The user subscription information of the first user is sent to the second subnet in the distributed network to backup store the user subscription information of the first user through the second subnet; the second subnet is a backup network authorized by the first subnet; The subscription storage information of the first user is uploaded to the blockchain network to complete the subscription of the first user.

[0091] In an optional embodiment, based on the foregoing scheme, the subscription storage information of the first user is uploaded to the blockchain network to complete the subscription of the first user, which can be achieved by the following steps: determining the subscription hash value of the first user according to the user subscription information of the first user; determining the subscription storage information of the first user according to the source storage state and the backup storage state of the user subscription information of the first user; uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network to complete the subscription of the first user.

[0092] In an optional embodiment, based on the foregoing scheme, the first subnet is deployed with a corresponding blockchain node, and the subscription hash value of the first user and the subscription storage information of the first user are uploaded to the blockchain network to complete the subscription of the first user, which can be achieved by the following steps: uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network through the corresponding blockchain node of the first subnet to complete the subscription of the first user.

[0093] In an optional embodiment, based on the foregoing scheme, the following steps can also be performed: in response to the non-access layer registration request of the second user, if the first subnet stores the user subscription information of the second user, the user subscription information of the second user is obtained; the second user is authenticated according to the user subscription information of the second user; if the second user is authenticated, the non-access layer registration of the second user is performed.

[0094] In an optional implementation, based on the foregoing scheme, the following steps can also be performed: in response to the non-access layer registration request of the third user, if the first subnet does not store the user subscription information of the third user, querying the subscription storage information corresponding to the third user from the blockchain network; obtaining the user subscription information of the third user according to the subscription storage information corresponding to the third user; authenticating the third user according to the user subscription information of the third user; and if the third user passes the authentication, performing non-access layer registration on the third user.

[0095] In an optional implementation, based on the foregoing scheme, the foregoing obtaining the user subscription information of the third user according to the subscription storage information corresponding to the third user can be implemented by the following steps of: determining a third subnet from the distributed network according to the subscription storage information corresponding to the third user; and wherein the third subnet is a home network of the third user; and obtaining the user subscription information corresponding to the third user from the third subnet.

[0096] In an optional implementation, based on the foregoing scheme, the following steps can also be performed: if the third subnet is abnormal, determining a fourth subnet from the distributed network according to the subscription storage information corresponding to the third user; the fourth subnet is a backup network authorized by the third subnet; and obtaining the user subscription information corresponding to the third user from the fourth subnet.

[0097] In an optional implementation, based on the foregoing scheme, the following steps can also be performed: if the user subscription information corresponding to the third user is obtained from the fourth subnet, uploading the authentication record of the third user this time to the blockchain network.

[0098] In an optional implementation, based on the foregoing scheme, the first subnet is deployed with a corresponding blockchain node, and the foregoing querying the subscription storage information corresponding to the third user from the blockchain network can be implemented by the following steps: querying the subscription storage information corresponding to the third user from the blockchain node corresponding to the first subnet according to the user identification information of the third user.

[0099] In an optional implementation, based on the foregoing scheme, the following steps can also be performed before authenticating the third user according to the user subscription information of the third user: querying the subscription hash value corresponding to the third user from the blockchain network; and performing integrity verification on the user subscription information of the third user according to the subscription hash value corresponding to the third user.

[0100] In the present disclosure, by providing network-level user subscription information backup, the network disaster recovery capability can be enhanced; by uploading the subscription storage information of the first user to the blockchain network, the traceability of the user subscription information can be realized while ensuring that the user subscription information is not excessively exposed, which can be well applied to the distributed network architecture.

[0101] The exemplary embodiments of the present disclosure also provide an electronic device capable of implementing the user subscription method of the distributed network described above. The electronic device can include a processor and a memory. The memory stores executable instructions of the processor, such as program codes. The processor executes the method in the present exemplary embodiments by executing the executable instructions.

[0102] The following description refers to the accompanying drawings that show examples of the present disclosure. Figure 7 The electronic device is exemplarily illustrated in the form of a general computing device. It should be understood that, Figure 7 The electronic device 700 shown is merely an example and should not limit the function and use range of the embodiments of the present disclosure.

[0103] As Figure 7 shown, the electronic device 700 can include a processor 710, a memory 720, a bus 730, an I / O (Input / Output) interface 740, and a network adapter 750.

[0104] Exemplarily, the electronic device 700 can be a first network element (e.g., SGC) or a second network element (e.g., DGW).

[0105] The memory 720 can include a volatile memory, such as a RAM 721, a cache unit 722, and a non-volatile memory, such as a ROM 723. The memory 720 can also include one or more program modules 724, such as an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which can include implementation of a network environment. For example, the program modules 724 can include the modules in the apparatus described above.

[0106] The processor 710 can include one or more processing units, such as an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor, and / or a NPU (Neural-Network Processing Unit), etc.

[0107] The processor 710 can be configured to execute the executable instructions stored in the memory 720, such as to execute any one or more method steps in the present exemplary embodiments.

[0108] Exemplarily, the processor 710 can perform the following steps: In response to the subscription request of the first user, user subscription information of the first user is generated and stored in the first subnet; the home network of the first user is the first subnet; The user subscription information of the first user is sent to a second subnet in the distributed network for backup storage of the user subscription information of the first user by the second subnet; the second subnet is a backup network authorized by the first subnet; The subscription storage information of the first user is uploaded to the blockchain network to complete the subscription of the first user.

[0109] In an optional implementation, based on the foregoing scheme, the uploading of the subscription storage information of the first user to the blockchain network to complete the subscription of the first user can be achieved by the following steps: determining a subscription hash value of the first user according to the user subscription information of the first user; determining the subscription storage information of the first user according to the source storage state and the backup storage state of the user subscription information of the first user; uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network to complete the subscription of the first user.

[0110] In an optional implementation, based on the foregoing scheme, the first subnet is deployed with a corresponding blockchain node, and the uploading of the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network to complete the subscription of the first user can be achieved by the following steps: uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network through the corresponding blockchain node of the first subnet to complete the subscription of the first user.

[0111] In an optional implementation, based on the foregoing scheme, the following steps can also be performed: in response to a non-access stratum registration request of a second user, if the first subnet stores user subscription information of the second user, the user subscription information of the second user is obtained; the second user is authenticated according to the user subscription information of the second user; and if the second user is authenticated, the second user is registered in the non-access stratum.

[0112] In an optional implementation, based on the foregoing scheme, the following steps can also be performed: in response to a non-access stratum registration request of a third user, if the first subnet does not store user subscription information of the third user, the corresponding subscription storage information of the third user is queried from the blockchain network; the user subscription information of the third user is obtained according to the corresponding subscription storage information of the third user; the third user is authenticated according to the user subscription information of the third user; and if the third user is authenticated, the third user is registered in the non-access stratum.

[0113] In an optional implementation, based on the foregoing scheme, the third user's user subscription information can be obtained according to the third user's subscription storage information, and the third user can be determined from the distributed network according to the third user's subscription storage information, by the following steps: the third user's user subscription information is obtained from the third subnet.

[0114] In an optional implementation, based on the foregoing scheme, the following steps can be further performed: if the third subnet is abnormal, a fourth subnet is determined from the distributed network according to the third user's subscription storage information; the fourth subnet is a backup network authorized by the third subnet; and the third user's user subscription information is obtained from the fourth subnet.

[0115] In an optional implementation, based on the foregoing scheme, the following steps can be further performed: if the third user's user subscription information is obtained from the fourth subnet, the third user's authentication record is uploaded to the blockchain network.

[0116] In an optional implementation, based on the foregoing scheme, the first subnet is deployed with a corresponding blockchain node, and the third user's subscription storage information can be queried from the blockchain network by the following steps: the third user's subscription storage information is queried from the first subnet's corresponding blockchain node according to the third user's user identification information.

[0117] In an optional implementation, based on the foregoing scheme, before the third user is authenticated according to the third user's user subscription information, the following steps can be further performed: the third user's subscription hash value is queried from the blockchain network; and the third user's user subscription information is integrity-verified according to the third user's subscription hash value.

[0118] In the present disclosure, by providing network-level user subscription information backup, the network disaster recovery capability can be enhanced; by uploading the first user's subscription storage information to the blockchain network, the user subscription information can be traced while ensuring that the user subscription information is not excessively exposed, which can be well applied to the distributed network architecture.

[0119] The bus 730 is used to realize the connection between different components of the electronic device 700, and can include a data bus, an address bus, and a control bus.

[0120] The electronic device 700 can communicate with one or more external devices 800 (such as a keyboard, a mouse, an external controller, etc.) through the I / O interface 740.

[0121] The electronic device 700 can communicate with one or more networks through the network adapter 750. The network adapter 750 can communicate with the other modules of the electronic device 700 through the bus 730.

[0122] Although Figure 7 Other hardware and / or software modules can also be employed in the electronic device 700, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data archival storage systems, etc. which are not shown in FIG. 7.

[0123] It should be noted that, although several modules or units for device for action execution are mentioned in the above detailed description, such division into modules or units is not mandatory. In fact, according to exemplary embodiments of the present disclosure, features and functionalities of two or more modules or units described above can be embodied in one module or unit. Conversely, features and functionalities of one module or unit described above can be further divided into several modules or units.

[0124] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method or a program product. Therefore, various aspects of the present disclosure can be embodied as a whole hardware embodiment, a whole software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuitry", "module" or "system". Those skilled in the art will easily understand other embodiments of the present disclosure after considering the specification and practicing the application disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional technical means in the art that are not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0125] It should be understood that the present disclosure is not limited to the precise structures described above and illustrated in the drawings and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for user subscription based on a distributed network, characterized in that, The method applied to a first subnet in the distributed network comprises: In response to a subscription request of a first user, generating user subscription information of the first user and storing the user subscription information of the first user in the first subnet; the home network of the first user is the first subnet; Sending the user subscription information of the first user to a second subnet in the distributed network to backup store the user subscription information of the first user through the second subnet; the second subnet is a backup network authorized by the first subnet; Uploading subscription storage information of the first user to a blockchain network to complete the subscription of the first user.

2. The method of claim 1, wherein, The uploading of the subscription storage information of the first user to the blockchain network to complete the subscription of the first user comprises: Determining a subscription hash value of the first user according to the user subscription information of the first user; Determining subscription storage information of the first user according to the source storage state and the backup storage state of the user subscription information of the first user; Uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network to complete the subscription of the first user.

3. The method of claim 2, wherein, The first subnet is deployed with a corresponding blockchain node, and the uploading of the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network to complete the subscription of the first user comprises: Uploading the subscription hash value of the first user and the subscription storage information of the first user to the blockchain network through the corresponding blockchain node of the first subnet to complete the subscription of the first user.

4. The method of claim 1, wherein, The method further comprises: In response to a non-access stratum registration request of a second user, if the first subnet stores user subscription information of the second user, obtaining the user subscription information of the second user; Authenticating the second user according to the user subscription information of the second user; If the second user passes the authentication, performing non-access stratum registration on the second user.

5. The method of claim 1, wherein, The method further comprises: In response to a non-access stratum registration request of a third user, if the first subnet does not store user subscription information of the third user, querying the subscription storage information corresponding to the third user from the blockchain network; According to the subscription storage information corresponding to the third user, obtaining the user subscription information of the third user; Authenticating the third user according to the user subscription information of the third user; If the third user passes the authentication, performing non-access stratum registration on the third user.

6. The method of claim 5, wherein, The obtaining of the user subscription information of the third user according to the subscription storage information corresponding to the third user comprises: According to the subscription storage information corresponding to the third user, determining a third subnet in the distributed network; wherein the third subnet is the home network of the third user; Obtaining the user subscription information corresponding to the third user from the third subnet.

7. The method of claim 6, wherein, The method further comprises: If the third subnet is abnormal, a fourth subnet is determined from the distributed network according to the subscription storage information corresponding to the third user; the fourth subnet is a backup network authorized by the third subnet; The user subscription information corresponding to the third user is obtained from the fourth subnet.

8. The method of claim 7, wherein, The method further includes: If the user subscription information corresponding to the third user is obtained from the fourth subnet, the authentication record of the third user is uploaded to a blockchain network.

9. The method of claim 5, wherein, The first subnet is deployed with a corresponding blockchain node, and the subscription storage information corresponding to the third user is queried from the blockchain network, including: According to the user identification information of the third user, the subscription storage information corresponding to the third user is queried from the blockchain node corresponding to the first subnet.

10. The method of claim 5, wherein, Before authenticating the third user according to the user subscription information of the third user, the method further includes: The subscription hash value corresponding to the third user is queried from the blockchain network; According to the subscription hash value corresponding to the third user, the integrity of the user subscription information of the third user is checked.

11. A user subscription device based on a distributed network, characterized by The device is applied to the first subnet in the distributed network, and includes: The first storage module is configured to generate the user subscription information of the first user in response to a subscription request of the first user, and store the user subscription information of the first user in the first subnet; the home network of the first user is the first subnet; The second storage module is configured to send the user subscription information of the first user to a second subnet in the distributed network, so as to backup and store the user subscription information of the first user through the second subnet; the second subnet is a backup network authorized by the first subnet; The information chaining module is configured to upload the subscription storage information of the first user to a blockchain network, so as to complete the subscription of the first user.

12. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the method of any one of claims 1 to 10.

13. An electronic device, comprising: It includes: A processor; And A memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the method of any one of claims 1 to 10 by executing the executable instructions.