CN111866042B - Method and device for synchronizing telecommunication account number change - Google Patents

Method and device for synchronizing telecommunication account number change Download PDF

Info

Publication number
CN111866042B
CN111866042B CN201910351667.9A CN201910351667A CN111866042B CN 111866042 B CN111866042 B CN 111866042B CN 201910351667 A CN201910351667 A CN 201910351667A CN 111866042 B CN111866042 B CN 111866042B
Authority
CN
China
Prior art keywords
account
information
sales
management system
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910351667.9A
Other languages
Chinese (zh)
Other versions
CN111866042A (en
Inventor
周瑛达
胡瑞丰
潘瑜
侯庆辉
蒋飞虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910351667.9A priority Critical patent/CN111866042B/en
Publication of CN111866042A publication Critical patent/CN111866042A/en
Application granted granted Critical
Publication of CN111866042B publication Critical patent/CN111866042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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/104Peer-to-peer [P2P] networks
    • 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
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/72Signcrypting, i.e. digital signing and encrypting simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The embodiment of the application relates to a synchronous telecommunication account number changing method, which comprises the following steps: the first node receives subscriber information; encrypting the account information through a first secret key, and signing the encrypted account information to obtain the encrypted and signed account information; sending the encrypted and signed account information to a block chain network; and writing the encrypted and signed account information into a shared account book for storage according to a consensus algorithm. And the method comprises: the first node receives encrypted and signed account information; decrypting the encrypted and signed account information to obtain account information; sending the account information to an internet application account management system for account unbinding; receiving processing result information; signing the processing result information to obtain signed processing result information; sending the signed processing result information to a block chain network; and writing the signed processing result information into the shared account book for storage according to the consensus algorithm.

Description

Method and device for synchronizing telecommunication account number change
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for synchronizing a telecommunication account change with a third-party application.
Background
In the present society, a mobile phone number is not only an identifier of a user identity in a telecommunication operator system, but also an important component of an internet application account system. The internet application can perform operations such as account registration, user identity recognition, account information change and the like in a mode of inputting a mobile phone number by a user and verifying the mobile phone number by a short message. But when the original user sends a change to ownership of the mobile phone number, for example, the mobile phone number is cancelled. At this time, the operator can repeatedly allocate the mobile phone number to a new user for use, that is, the number is placed for the second time.
Fig. 1 is a schematic diagram of a secondary number allocation process, as shown in fig. 1, illustrating some problems existing after the secondary number allocation. In the operator system, user 1 first opens an account at the operator, who issues mobile phone number a to user 1. At this time, the user 1 has the right to use the number a. The user 1 then makes an account registration in the internet application using the mobile phone number a. When the user 1 gives up using the mobile phone number A, the user proposes a sales account to the operator and performs sales account processing. The operator withdraws the mobile phone number A and releases the use right of the user 1 to the mobile phone number A. At this time, when the user 2 opens an account with the operator, the operator can issue the mobile phone number a to the user 2, and the user 2 has the right of use for the mobile phone number a. When the user 2 also wants to register an account in the corresponding internet application, the user 2 cannot register the account again because the user 1 has already registered by using the mobile phone number before. The attribution of the mobile phone number is changed, but the binding relationship between the mobile phone number and the internet application account is not changed.
For a new user, when the new user registers an internet application account with the same mobile phone number, the new user cannot successfully register because the mobile phone number has been registered by the original holder, and even the new user may modify the password of the internet application account of the original user in a short message verification manner and harm the security of the internet application account information and property of the original user. The reason for the problem of secondary number allocation is that when ownership of the mobile phone number is changed in the telecommunication operator system, a channel for information sharing and a mechanism for data linkage updating are lacked between the telecommunication operator system and the internet application system.
Disclosure of Invention
The embodiment of the application provides a method and a device for synchronizing telecommunication account number change, and the method and the device can be used for adding a plurality of different telecommunication operators and a plurality of different Internet applications into the same block chain network, so that after the telecommunication operators obtain account information of mobile phone numbers, the account information can be timely transmitted into the block chain network for storage. For the internet application, the information of the seller can be timely acquired by subscribing the corresponding service notice, and the corresponding account is unbound according to the information of the seller. The active notification and inquiry of the cross-telecommunication operator to the secondary number allocation condition and the real-time synchronization of the mobile phone number use state change information are realized, and the history processing records of the mobile phone number are shared.
In a first aspect, a method for changing a synchronous telecommunication account is provided, where the method is applied to a first node corresponding to an operator management system in a blockchain network, and the blockchain network further includes a second node corresponding to an internet application account management system, and the method includes: the first node receives subscriber information; the account cancellation information comprises the mobile phone number of the account cancellation; storing the account information into a block chain network; so that the internet application account management system can perform account unbinding processing according to the mobile phone number of the seller.
In one possible embodiment, the first node receiving the customer information comprises: a first node receives subscriber sales information sent by an operator management system; wherein the sales information is determined by the operator management system according to the sales request.
In one possible embodiment, the sales information further includes a sales time; and the Internet application account management system can judge whether to perform account unbinding processing according to the account cancelling time.
In one possible embodiment, before storing subscriber information in the blockchain network, the method further comprises: encrypting the account information through a first secret key, and signing the encrypted account information by adopting asymmetric encryption to obtain the encrypted and signed account information; storing the customer information into the blockchain network comprises: and storing the encrypted and signed customer information into the blockchain network.
In one possible embodiment, storing the customer information into the blockchain network comprises: sending the customer information to a block chain network; and receiving the broadcast verification messages of other nodes except the first node, and writing the account cancellation information into the shared account book for storage according to the consensus algorithm.
In a second aspect, a method for changing a synchronous telecommunication account is provided, where the method is applied to a first node corresponding to an internet application account management system in a blockchain network, and the blockchain network further includes a second node corresponding to an operator management system, and the method includes: the first node receives subscriber information; the information of the sales account comprises the mobile phone number of the sales account; sending the information of the account sale to an internet application account management system; when processing result information sent by an Internet application account management system is received, the processing result information is stored in a block chain network; and the processing result information shows that the account number to be unbound and the mobile phone number of the seller are unbound.
In one possible embodiment, the sales information is formed by encrypting through a first key; the first node receiving the subscriber information comprises: the first node receives the encrypted and signed subscriber information.
In one possible embodiment, after the first node receives the encrypted and signed revocation information, the method further comprises: and decrypting the encrypted and signed account information through the first secret key to obtain the decrypted account information.
In one possible embodiment, the sales information further includes a sales time; the internet application account management system determines the account to be unbound according to the mobile phone number of the account to be unbound, and when the time of the account to be unbound is later than the registration time of the account to be unbound, the account to be unbound and the mobile phone number of the account to be unbound are unbound.
In one possible embodiment, storing the processing result information into the blockchain network comprises: sending the processing result information to a block chain network; and receiving the broadcast verification messages of other nodes except the first node, and writing the processing result information into the shared account book according to the consensus algorithm.
In a third aspect, a device for changing a synchronous telecommunication account is provided, where the device is applied to a first node corresponding to an operator management system in a blockchain network, and the blockchain network further includes a second node corresponding to an internet application account management system, and the device includes: the block chain client is used for receiving account cancelling information; the account cancellation information comprises the mobile phone number of the account cancellation; the verification module is used for storing the account cancelling information into the block chain network; so that the internet application account management system can perform account unbinding processing according to the mobile phone number of the seller.
In one possible implementation, the blockchain client is configured to: receiving account sales information sent by an operator management system; wherein the sales information is determined by the operator management system according to the sales request.
In one possible embodiment, the sales information further includes a sales time; so that the Internet application account management system judges whether to perform account unbinding processing according to the account cancelling time.
In one possible embodiment, the blockchain client is further configured to: encrypting the account information through a first secret key to obtain encrypted account information; the verification module is to: and storing the encrypted subscriber information into the blockchain network.
In one possible embodiment, the verification module is further configured to: sending the customer information to a block chain network; and receiving the broadcast verification messages of other nodes except the first node, and writing the account cancellation information into the shared account book for storage according to the consensus algorithm.
In a fourth aspect, a device for changing a synchronous telecommunication account is provided, where the device is applied to a first node corresponding to an internet application account management system in a blockchain network, and the blockchain network further includes a second node corresponding to an operator management system, and the device includes: the verification module is used for receiving the sales information; the account cancellation information comprises the mobile phone number of the account cancellation; the block chain client is used for sending the information of the account of the seller to an internet application account management system and unbinding the account according to the mobile phone number of the seller; the verification module is also used for receiving the processing result information sent by the application management system when the block chain client side receives the processing result information; sending the processing result information to a block chain network; and the processing result information shows that the account number to be unbound and the mobile phone number of the seller are unbound.
In one possible embodiment, the sales information is formed by encrypting with a first key; the verification module is used for receiving the encrypted and signed sales information.
In one possible embodiment, the verification module is further configured to: and decrypting the encrypted and signed account information through the first secret key to obtain the decrypted account information.
In one possible embodiment, the sales information further includes a sales time; the internet application account management system determines the account to be unbound according to the mobile phone number of the account to be unbound, and when the time of the account to be unbound is later than the registration time of the account to be unbound, the account to be unbound and the mobile phone number of the account to be unbound are unbound.
In one possible embodiment, the blockchain client is further configured to: sending the processing result information to a block chain network; the verification module is further used for receiving the verification messages broadcasted by other nodes except the first node, and writing the processing result information into the shared account book for storage according to the consensus algorithm.
In a fifth aspect, there is provided a computer readable storage medium storing a program, the program comprising instructions which, when executed by a computer, cause the computer to perform the method of the first aspect.
In a sixth aspect, there is provided a computer readable storage medium storing a program, the program comprising instructions which, when executed by a computer, cause the computer to perform the method of the second aspect.
In a seventh aspect, there is provided a computer program product comprising instructions which, when run, cause the method of the first aspect to be performed.
In an eighth aspect, there is provided a computer program product comprising instructions which, when run, cause the method of the second aspect to be performed.
The application discloses a method and a device for changing synchronous telecommunication account numbers. And simultaneously, decrypting the encrypted and signed account information by the plurality of internet applications through the corresponding block chain link points in the block chain network, and transmitting the decrypted account information to the corresponding internet application system for account unbinding operation. And the plurality of internet application corresponding block chain nodes sign the operation result and broadcast the operation result in the block chain network. An active notification mechanism for number change between operator and internet applications is provided: the internet application can process the binding relationship between the mobile phone number and the application almost in real time and accurately so as to reduce the problems that data privacy is leaked and a new user cannot register the application. Meanwhile, a historical record is provided for the change of the mobile phone number state and the change of the binding state of the Internet application between the operator and the Internet application, and the evidence taking and the responsibility tracing and the right confirming are convenient to carry out in the future.
Drawings
FIG. 1 is a schematic diagram of a conventional secondary numbering system;
fig. 2 is a schematic view of an application scenario of a method for synchronizing telecommunication account changes according to an embodiment of the present disclosure;
FIG. 3 is a block link point structure diagram provided in accordance with an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for synchronizing telecommunication account changes according to an embodiment of the present disclosure;
fig. 5 is a flowchart of another method for synchronizing a telecommunication account change according to an embodiment of the present application;
fig. 6 is a flowchart of a method for synchronizing telecommunication account changes according to an embodiment of the present disclosure;
fig. 7 is a flowchart of another method for changing a synchronous telecommunication account according to an embodiment of the present application;
fig. 8 is a flowchart of a method for synchronizing a telecommunication account change according to an embodiment of the present disclosure;
fig. 9 is a flowchart of another method for synchronizing telecommunication account changes according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of an apparatus for synchronizing telecommunication account changes according to an embodiment of the present disclosure;
fig. 11 is a schematic diagram of another apparatus for synchronizing a telecommunication account change according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Receiving customer sales information through a block chain link point corresponding to an operator management system in a block chain network, and storing the customer sales information into the block chain network; the internet application account management system can perform account unbinding processing according to the mobile phone number and the account cancelling time of the account cancelling in the account cancelling information in the blockchain network.
The application is applied to a block chain network system, and as shown in fig. 2, fig. 2 is a schematic view of an application scenario of a method for synchronizing a telecommunication account change according to an embodiment of the application.
As shown in fig. 2, this scenario illustrates multiple telecommunications carriers and internet applications building a blockchain network and holding corresponding blockchain link points.
Blockchain (blockchain) is a distributed book technology used to record and store data. The blockchain network is composed of a plurality of mutually independent distributed nodes, and the plurality of mutually independent distributed nodes jointly determine which data can be written into the blockchain. Visible blockchains do not require a centralized node to establish and maintain trust relationships in the network. After data is written into the block chain, all nodes in the network keep the same account book and maintain the validity of the account book together. The distributed, decentralized and distrust-removing characteristics of the block chain enable the block chain to store data certificates which are approved and known by multiple parties and form a reliable data sharing and synchronizing mechanism.
A typical method for storing records in a blockchain is as follows: when data to be processed needs to be written into a block chain, the data is transmitted to a block chain node in a network in a broadcast mode through a block chain network, and the node determines whether the data can be written into the block chain or not through a consensus algorithm. Successfully written data is stored as records in blocks (blocks), where a block may store one or more records and a particular hash value is generated based on the contents of the records in the block. The latter chunk includes not only the new record but also the hash value of the previous chunk chain. The hash value is a method for abstracting information, that is, a record occurring in the current time is stored in a subsequent block, and an abstract recorded in a previous block is also stored. The block chain ensures the reliability of data and is difficult to be tampered by the method that the recorded contents are connected in sequence. All nodes in the network can synchronously update the increase of the block record content, so that the effect of jointly storing the same record by the participants is achieved.
The operator management system a, the operator management system B, the operator management system C as shown in fig. 2 represent different telecommunications operators. The operator management system A is connected with the block chain node 1 through a first type interface, the operator management system B is connected with the block chain link point 3 through a first type interface, and the operator management system C is connected with the block chain link point 5 through a first type interface. And the internet application account management system a, the internet application account management system B and the internet application account management system C represent different internet applications. The internet application account management system A is connected with the block chain link point 2 through a second type interface, the internet application account management system B is connected with the block chain link point 4 through a second type interface, and the internet application account management system C is connected with the block chain link point 6 through a second type interface.
In the scene, the operator management system writes the mobile phone number pin number record into the corresponding block chain node in the block chain, and the block chain node encrypts and signs the pin number information and broadcasts the pin number information to other block chain nodes in the block chain network. The block chain node shown in fig. 2 includes a block chain client and a peer node. And the block chain client and the peer node are connected through a third type interface. The block chain client is used for encrypting and signing information and sending the encrypted and signed information to the peer node. The peer nodes are used to broadcast and verify the validity of the encrypted and signed information. And for the block link points corresponding to the internet application management system, checking whether the internet application subscribes to the sales information notification service or not through an intelligent contract. To determine whether the block link point has the right to decrypt the encrypted and signed broadcast information. And for the block chain link points with the authority, the number information of the mobile phone number can be received in real time through the block chain network. And feeding back the information to the corresponding internet application account management system. The internet management system checks whether the mobile phone number of the sales number and the internet account number have a binding relationship, and performs corresponding operation. Meanwhile, the corresponding internet application account management system also writes the processing result into the block chain network as the correspondence of the information sent to the operator. For the block chain network, the number sale reminding of the operator for the mobile phone number and the response after the reminding is received by the internet application are saved, and the multi-party synchronous sharing of the mobile phone number use state change record and the corresponding processing record is realized.
Fig. 3 is a schematic diagram of a block link point structure provided in an embodiment of the present application.
In an example, the application scenario as described in fig. 2 may be implemented in a hyper ledger project (hyper Fabric, hereinafter referred to as Fabric) blockchain, where an operator management system a stores information I "mobile phone number a has been sold", and an internet application account management system B synchronizes the information I and sends out response information. It can be assumed that all participants have established a blockchain network as shown in figure 2 together and have all joined. And meanwhile, all participants generate own public and private key pairs. The public key is public to all participants in the blockchain network, while the private key holds itself. The operator management system communicates with the blockchain network through a first type of interface, and the internet application account management system communicates with the blockchain network through a second type of interface.
Fig. 3 is a schematic structural diagram of 6 blockchain nodes in fig. 2. The blockchain node in fig. 2 is merely a simplified example, and fig. 3 will describe the blockchain node in more detail.
The blockchain node comprises a blockchain authority management module (membership), a blockchain client (client), a peer node (peer) and a sequencing module (sender). The blockchain client may also be referred to as application, and the peer node may also be referred to as node. In one embodiment, the peer node further includes an endorsement module (endorser), a validation module (commit), an event module (event), a chain code (chaincode), and a shared book (legger). Wherein the chainode may also be referred to as a smart contract (smart contract).
First, before the blockchain client communicates with the peer, the identity authentication needs to be performed to the blockchain authority management module. The block chain authority management module issues a certificate to a block chain client, and meanwhile, the block chain authority management module also stores an asymmetric encrypted public and private key pair and a first key for encrypting information, and performs identity authentication, authorization and management on members who join a block chain network. After the identity of the blockchain client is proved to be valid, the blockchain client sends a transaction request to a request endorsement module to endorse. The endorsement module is used for carrying out validity check on the transaction submitted by the blockchain client and carrying out endorsement on the valid transaction. The endorsement module checks whether the transaction has a valid identity of the blockchain client and whether the transaction proposed by the blockchain client can have adverse effects on the blockchain network. And after the endorsement module passes the check, the transaction is endorsed and returned to the blockchain client. And submitting the transaction after the block chain client receives the information returned by the endorsement. For blockchain nodes that may contain multiple blockchain customer orders, then there may be many transactions submitted over a period of time, and then all submitted transactions are globally ordered by the ordering module. The verification module verifies the transactions sequenced by the sequencing module one by one. The verification module is used for executing the sequenced legal transactions, wherein whether the transactions are executed or not needs to be verified. For example, if the transaction is that a and B have traded 1 piece of money, the verification module needs to verify whether the 1 piece of money has really traded. For example, in a scenario of application of the present application, it may be verified whether a number in a transmitted transaction request is a mobile phone number, for example, a digit number of the number or other equivalent operations may be verified, and the present application is not limited in any way. And the transaction which is verified by the verification module is sent to the event module, and the event module generates an event and sends the event to the intelligent contract. And determining whether the condition for accessing the shared ledger is met by the intelligent contract. And when the condition is met, writing the event into the shared account book for storage. The intelligent contract is generally provided with a preset contract triggering condition, and when the triggering condition is met, the intelligent contract is automatically executed and a corresponding result is returned. When called, the intelligent contract is executed according to the trigger conditions and rules, and the content of the contract is written into the block chain account book.
The internet application account management system can adopt a subscription mode to ensure the right of obtaining the information I, and the internet application account management system which is not subscribed or is not in the subscription validity period can not obtain the information I. In order to realize the function, the key distribution rule is set by the intelligent contract of the block chain node corresponding to the internet application account management system, namely, whether the internet application account management system is in the subscription validity period is checked, and if the internet application account management system is not in the subscription validity period, the key cannot be acquired. Meanwhile, a symmetric key distribution service, namely a first key, is added in the blockchain authority management module. The service provides the same key for the operator management system to encrypt the information I and the internet application account management system to decrypt the information I.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Fig. 4 is a flowchart of a method for synchronizing telecommunication account change according to an embodiment of the present disclosure.
As shown in fig. 4, a method for synchronizing telecommunication account change is provided, where the method is executed by a block chain node corresponding to the operator management system shown in fig. 2, and a structure of the block chain node is shown in fig. 3, which is not described herein again. In a block chain network applied by the method, a block chain link point corresponding to an operator management system is a first node, and a block chain link point corresponding to an internet application account management system is a second node, and the method comprises the following steps:
s401, the first node receives the account cancellation information.
In one embodiment, the subscriber information includes a cell phone number of the subscriber. In another example, the sales information may also include sales time.
In one example, the first node receives the subscriber information sent by the operator management system; wherein the sales information is determined by the operator management system according to the sales request.
Firstly, when the user of the mobile phone number does not use the number any more, a user cancellation request is made to the telecom operator. And the operator management system of the telecom operator performs subscriber cancellation processing on the mobile phone number. And after the operator management system performs account cancellation processing on the mobile phone number, sending information such as the mobile phone number of the account cancellation, account cancellation time and the like to the block chain node corresponding to the operator management system. In one example, a blockchain client in a blockchain node receives subscriber information sent by an operator management system.
After the first node receives the account-cancelling information, the account-cancelling information is stored in the block chain network, so that an internet application account management system corresponding to the second node can perform account unbinding processing according to the mobile phone number of the account-cancelling.
Wherein, storing the subscriber information into the block chain network is a conventional operation of the block chain technology. In one embodiment, this may be performed by,
s402, the sales information is encrypted through the first secret key to obtain the encrypted sales information.
In one example, the encrypted sales information may be signed, and the encrypted sales information is signed by using asymmetric encryption to obtain encrypted and signed sales information. In the block chain technique, the information is usually signed for verification by other nodes, but it should be noted by those skilled in the art that any equivalent method may be used instead, and the present application is not limited thereto.
After receiving the account cancelling information, a blockchain client in the blockchain node applies a symmetric key, namely a first key, for encrypting the information to a blockchain authority management module. The subscriber information is then encrypted by the first key. And then, signing the encrypted account information by using a private key held in the asymmetric key to obtain the encrypted and signed account information.
Asymmetric encryption consists of two types of keys: a public key and a private key. The public key and the private key appear in pairs. For the assumed participant a, the public key of a is public to all, and the private key belongs to a only. A public-private key pair may be used to sign and verify messages. Participant a signs the message using the private key and the other participants verify whether the signature was originated by a using a's public key, thus providing a way to verify the authenticity of the origin of the message. Therefore, the asymmetric encryption consisting of the public and private key pairs allows public key to be circulated in a public way, and is suitable for information encryption transmission in an untrusted environment.
And S403, sending the encrypted and signed account cancellation information to the blockchain network.
In one example, the blockchain client sends encrypted and signed customer information into the blockchain network. At this time, the block link point does not write the encrypted and signed account information into the shared account at once, and the block link point needs to wait for the other block link points to verify the encrypted and signed account information.
S404, receiving the broadcast verification information of other nodes except the first node, and writing the encrypted and signed account information into a shared account book for storage according to a consensus algorithm. So that the Internet application account management system can perform account unbinding processing according to the mobile phone number of the seller and the seller time.
In one example, the first node receives a verification message broadcast by other tile chain nodes than itself. The verification message is a verification message after verifying the encrypted and signed sales information. And then writing the encrypted and signed account information into a shared account book for storage according to a preset consensus algorithm. The Internet application account management system can conveniently perform account unbinding processing according to the mobile phone number and the account cancelling time of the account to be cancelled, which are stored in the shared account book.
Fig. 5 is a flowchart of another method for synchronizing a telecommunication account change according to an embodiment of the present disclosure.
After step S403 in fig. 4, the other block nodes receive the encrypted and signed account information and need to verify the encrypted and signed account information, and synchronize the encrypted and signed account information, which includes the specific steps shown in fig. 5.
As shown in fig. 5, the blockchain network further includes a third node, where an operator management system corresponding to the third node is different from an operator management system corresponding to the first node, and the method further includes the following steps:
s501, encrypted and signed account information sent by a third node is received.
In an example, when the first node corresponding to the operator management system is not the block chain node that sends the encrypted and signed customer information, the block chain node corresponding to the operator management system may further receive the encrypted and signed customer information sent by the third node. The third node is a block link point which is used for sending encrypted and signed account information except for the node of the third node.
And S502, verifying the encrypted and signed account information sent by the third node.
In one example, the encrypted and signed account information sent by the third node is subjected to signature verification through asymmetric encryption.
In another example, the authenticity of the encrypted and signed customer information sent by the third node is verified.
In one example, since the operator management system corresponding to the block link point is endorsed, it can be assumed that the information sent by the operator management system corresponding to the block link point is real and reliable. At this time, it is only necessary to verify whether the information is really sent by the third node, and it is not necessary to verify whether the content of the information is real and reliable again.
In one embodiment, a verification module in the blockchain node verifies the encrypted and signed customer information sent by the third node. And the verification module verifies the encrypted and signed account information through a corresponding public key of a third node in the asymmetric encryption, and verifies whether the information is really sent by the third node. And S503, broadcasting the verification result message.
And broadcasting the verified verification result message to the blockchain network so that other blockchain nodes can receive the verification result message and perform subsequent operation.
And S504, receiving the broadcast verification result information of other nodes, and writing the encrypted and signed account information sent by the third node into the shared account book for storage according to the consensus algorithm.
For the encrypted and signed account information sent by the third node, the node also needs to receive the verification result information broadcast by other nodes. And then writing the encrypted and signed account information sent by the third node into the shared account book for storage according to the consensus algorithm. In an example, for example, if the consensus algorithm determines that all blockchain nodes need to be verified, the node needs to receive verification result messages of all blockchain nodes, and after all the verification results pass, the encrypted and signed account information sent by the third node may be written into the shared account book for storage. In another example, for example, if the consensus algorithm determines that more than half of all the blockchain nodes need to be verified, the node needs to receive the verification result messages of other nodes, and when more than half of the verification result messages are verified, the encrypted and signed account information sent by the third node may be written into the shared ledger for storage. Therefore, the synchronization of the information of the chain nodes of different blocks in the block chain network is realized.
Fig. 6 is a flowchart of another method for changing a synchronous telecommunications account according to an embodiment of the present application.
As shown in fig. 6, another method for synchronizing telecommunication account number change is provided, where the method is executed by block chain nodes corresponding to the internet application account management system shown in fig. 2, and the structure of the block chain nodes is shown in fig. 3, which is not described herein again. In a block chain network applied by the method, a block chain link point corresponding to an internet application account management system is a first node, and a block chain link point corresponding to an operator management system is a second node, and the method comprises the following steps:
s601, the first node receives account cancellation information; the information of the seller comprises the mobile phone number of the seller.
In one example, the customer information may be formed by encrypting with the first key. The block chain node receives the encrypted and signed account information sent in the step shown in fig. 4.
In another example, the sales information further includes a sales time.
S602, decrypting the encrypted and signed account information to obtain account information. And when the time of the account to be unbound is later than the registration time of the account to be unbound, the account to be unbound and the mobile phone number of the account to be unbound are unbound.
In one embodiment, the encrypted and signed customer information is decrypted through the first key to obtain the customer information.
In one example, an intelligent contract in a blockchain node detects whether the internet corresponding to the node is subscribed to a sales information notification service by a management system. And when the subscription validity period is detected to be within the subscription validity period, requesting the block chain authority management module to acquire a symmetric encrypted key, namely the first key. And then the peer node in the block chain node decrypts the encrypted and signed account cancelling information according to the first key to obtain account cancelling information, namely the mobile phone number and account cancelling time of the account cancelling.
And after the first node receives the account cancelling information, sending the account cancelling information to an internet application account management system corresponding to the first node for unbinding operation. When processing result information sent by an internet application account management system corresponding to the first node is received, storing the processing result information into the block chain network; and the processing result information shows that the account number to be unbound and the mobile phone number of the seller are unbound.
The storage of the processing result information into the blockchain network is a conventional operation of the blockchain technology. In one embodiment, this may be performed by,
and S603, sending the information of the account of.
In one example, the blockchain client sends the account information obtained after decryption to a corresponding internet application account management system. And then the Internet application account management system checks whether the mobile phone number has a binding relationship with the Internet account or not according to the mobile phone number and the account-cancelling time of the user in the user-cancelling information. If the binding relationship exists, whether the registration time of the internet account is before the account selling time is checked. And if the registration time of the internet account is earlier than the time of the account cancellation, indicating that the internet account is registered before the account cancellation, and performing corresponding unbinding operation on the internet account and the mobile phone number of the account cancellation.
S604, receiving processing result information sent by the application management system; the processing result information shows that the account number and the mobile phone number of the seller are unbound;
in one example, the internet application account management system generates processing result information, i.e., response receipt information, as a response to the information of the account holder in S401 shown in fig. 4 according to the result of the unbinding operation, and sends the processing result information, i.e., the response receipt information, to the corresponding block link point of the internet application account management system.
And S605, signing the processing result information to obtain the signed processing result information.
In an embodiment, the processing result may also be signed by asymmetric encryption, so as to obtain signed processing result information. In the block chain technique, the information is usually signed for verification by other nodes, but it should be noted by those skilled in the art that any equivalent method may be used instead, and the present application is not limited thereto.
In one example, a block chain client in a block chain node signs received processing result information by using a private key held by the block chain client in an asymmetric key, so as to obtain signed processing result information.
And S606, sending the signed processing result information to the block chain network.
In one example, the blockchain client sends the signed processing result information to the blockchain network. At this time, the block link point does not write the signed processing result information into the shared book immediately, and the block link point needs to wait for the verification of the signed processing result information by other block link points.
And S607, receiving the broadcast verification messages of other nodes except the first node, and writing the signed processing result information into the shared account book for storage according to the consensus algorithm.
In one example, the first node receives a verification message broadcast by other tile chain nodes than itself. The verification message is a verification message obtained by verifying the signed processing result information. And then writing the signed processing result information into a shared account book for storage according to a preset consensus algorithm. The history record is provided for the change of the state of the mobile phone number and the change of the binding state, and the dispute is favorably acquired and chased after disputes occur.
Fig. 7 is a flowchart of another method for changing a synchronous telecommunications account according to an embodiment of the present application.
After step S606 in fig. 6, the processing result information after the other block nodes receive the signature needs to be verified and synchronized, and the specific steps are as shown in fig. 7.
As shown in fig. 7, the blockchain network further includes a third node, where an internet application account management system corresponding to the third node is different from an internet application account management system corresponding to the first node, and the method further includes the following steps:
s701, receiving the signed processing result information sent by the third node.
In an example, when the first node corresponding to the internet application account management system is not the block link point that transmits the signed processing result information, the block link point corresponding to the internet application account management system may further receive the signed processing result information transmitted by the third node. The third node is a block link node which transmits the signed processing result information except the node itself.
And S701, verifying the signed processing result information sent by the third node.
In one example, the signed processing result information sent by the third node is subjected to signature verification through asymmetric encryption.
In another example, the authenticity of the signed process result information sent by the third node is verified.
In one example, since the internet application account management system corresponding to the block link point is endorsed, it can be assumed that the information sent by the internet application account management system corresponding to the block link point is real and reliable. At this time, it is only necessary to verify whether the information is really sent by the third node, and it is not necessary to verify whether the content of the information is real and reliable again.
In one embodiment, a verification module in the blockchain node verifies the signed processing result information sent by the third node. And the verification module verifies the signed processing result information through a corresponding public key of a third node in the asymmetric encryption and verifies whether the information is really sent by the third node.
And S703, broadcasting the verification result message.
And broadcasting the verified verification result message to the blockchain network so that other blockchain nodes can receive the verification result message and perform subsequent operation.
And S704, receiving the verification messages broadcasted by other nodes, and writing the signed processing result information sent by the third node into the shared account book for storage according to the consensus algorithm.
For the signed processing result information sent by the third node, the node also needs to receive the verification result information broadcast by other nodes except the third node. And then writing the signed processing result information sent by the third node into the shared account book for storage according to the consensus algorithm. In an example, for example, if the consensus algorithm determines that all the blockchain nodes need to be verified, the node needs to receive verification result messages of all the blockchain nodes, and after all the verification results pass, the signed processing result information sent by the third node may be written into the shared ledger for storage. In another example, for example, if the consensus algorithm determines that more than half of all the blockchain nodes need to be verified, the node needs to receive the verification result messages of other nodes, and when more than half of the verification result messages are verified, the signed processing result information sent by the third node may be written into the shared ledger for storage. Therefore, the synchronization of the information of the chain nodes of different blocks in the block chain network is realized.
Through the methods shown in fig. 4 to fig. 7, it is realized that a plurality of telecommunications operators encrypt and sign subscriber information of a mobile phone number through corresponding block link nodes in a block chain network, and then broadcast the subscriber information to other block chain nodes in the block chain network. And simultaneously, decrypting the encrypted and signed account information by the plurality of internet applications through the corresponding block chain link points in the block chain network, and transmitting the decrypted account information to the corresponding internet application system for account unbinding operation. And the plurality of internet application corresponding block chain nodes sign the operation result and broadcast the operation result in the block chain network.
For other schemes, such as a telecommunication operator opening a secondary number allocation inquiry authentication interface, the internet application can send the mobile phone number to be inquired and the time for registering the application account number by the mobile phone number to the authentication interface. Then the telecom operator acquires the number registration time and compares the number registration time with the network access time of the number in the operator management system, and if the registration time is earlier than the network access time, the number registration time is judged to be a secondary number allocation user of the Internet application; and if the registration time is later than the network access time, judging the user to be a new user of the Internet application. And then, returning the judgment result to the Internet application through the authentication interface by the operator. But this solution may have the inability to do cross-operator queries and lack of an active notification mechanism. For different operators, only the mobile phone number use state capable of inquiring the operation of the operator is provided independently, but for the mobile phone number bound to the internet account, the source of the mobile phone number may be different from that of multiple operators, and the internet application needs to identify the operator attribution of the number first and then inquire the number one by one.
Meanwhile, in other schemes, the internet application can set mobile phone number login protection, that is, when the user logs in the application through the mobile phone number and the short message verification code, other information is needed for joint verification. Such as contact relationships, avatars, identification numbers, historical usage records, and the like. Thereby judging that the current login person really holds the account of the internet application. However, the login protection is only applicable to the application with the foreground interface, and the user can operate the login protection manually. For internet applications or services without foreground interfaces, such as incoming call blacklisting. If the phone number is marked as a blacklist number, such as a fraud phone, etc., the user of the phone number cannot touch the blacklist number by manual operation after the phone number is placed for the second time, and the provider of the marking service cannot know the current use condition of the phone number.
Compared with other schemes, the method provides an active notification mechanism of number change between the operator and the internet application: the internet application can process the binding relationship between the mobile phone number and the application almost in real time and accurately so as to reduce the problems that data privacy is leaked and a new user cannot register the application. Meanwhile, a historical record is provided for the change of the mobile phone number state and the change of the binding state of the Internet application between the operator and the Internet application, and the evidence taking and the responsibility tracing and the right confirming are convenient to carry out in the future.
Fig. 8 is a flowchart of a method for synchronizing a telecommunication account change according to an embodiment of the present disclosure.
As shown in fig. 8, first, a user makes a sales request to a Customer Relationship Management (CRM) system of an operator. And then the CRM system of the operator performs subscriber cancellation operation according to the received subscriber cancellation request. After the sales are completed, the operator CRM system packages the mobile phone number of the sales and the sales time into sales information I, and the sales information I is transmitted to the client in the block link point corresponding to the operator CRM system through the first type of interface. And the client of the blockchain node encrypts the information I by using a first key distributed by the system and then signs by using a private key of the operator. And generating encrypted and signed customer cancellation information T, sending the customer cancellation information T to a corresponding node, and broadcasting the information T to other blockchain nodes in the blockchain network by the node. After receiving the information T, the other nodes in the blockchain network verify that the information T is indeed sent by the other nodes using the public key of the operator, and write the information T into the blockchain after reaching the consensus and confirming that the information T is valid.
For a block chain node corresponding to the Internet application, whether the Internet application subscribes to a sales information notification service is checked through an intelligent contract. If the subscription is carried out or the subscription period is not in the validity period, the information T cannot be decrypted by the block chain link points corresponding to the Internet application. If the network application is subscribed and within the subscription validity period, the system allocates a key corresponding to the corresponding block link node point, namely a first key, to the internet application. For decrypting the information T. And decrypting the corresponding block link point of the Internet application to obtain the account information I, and sending the account information I to the corresponding Internet application account management system through the second type of interface by the corresponding client. The internet application account management system can check whether an application account is associated with the application account according to the mobile phone number of the account comprised in the account-cancelling information I, and then make a corresponding processing result according to the account-cancelling time. And after the processing is finished, sending the receipt information Ir as a response to the client of the corresponding block link point of the Internet application. The receipt information Ir may include processing time and processing conditions, for example, the mobile phone number has been unbound from the account. And the client of the block chain link point corresponding to the Internet application signs the receipt information Ir and the private key of the Internet application to form information Tr, sends the information Tr to any node in the block chain network, and broadcasts the information Tr to other block chain nodes in the block chain network by the node. And other block chain link points in the block chain network receive the information Tr, verify that the information is sent by the corresponding block chain node by using a public key applied to the Internet, and write the information Tr into the block chain after the consensus is achieved and the information Tr is confirmed to be valid.
Fig. 9 is a flowchart of another method for synchronizing a telecommunication account change according to an embodiment of the present disclosure.
As shown in fig. 9, a sales account event occurs at the mobile phone number a to which the carrier a belongs, and the CRM system of the carrier a records sales account information of the mobile phone number a. Then, the operator A extracts the related information such as the customer sales time (logout time) and the mobile phone number (logout number) of the customer sales from the CRM system of the operator A, packages the information into customer sales information I, and then transmits the customer of the block chain link point 1 corresponding to the CRM system of the operator A through the first type of interface. The client of the block chain node 1 requests to acquire an encryption key Pm through a symmetric key distribution service E in a membership module of the Fabric, and encrypts the seller information I to form I'. The client then signs the information I' with the private key Pa and packages it into the information T. Wherein, the public key corresponding to Pa is Pa'. The client of the blockchain node 1 sends the information T to the node of the node 1, and the node broadcasts the information T in the blockchain network. And verifying the information T by other block chain link points in the block chain network through the public key Pa', and writing the information T into a shared account book of the block chain after the information T is confirmed according to a consensus algorithm.
In one embodiment, the content written in the shared ledger may be as shown in table 1:
table 1 provides a general record template that is,
Figure BDA0002044134430000121
TABLE 1
Wherein Tx1Id represents identification information of a transaction (Tx); tx2Type (TRANSACTION) represents the Type of the content recorded by the table, and the Type of the content recorded by the table is transition as shown in parentheses; timestamp is expressed as a Timestamp, recording when the table was generated, e.g., produced in certain minutes and seconds on certain days of certain months and certain months of certain year; the Channel records the Channel involved in the transaction; the chaincodeName records the name of the intelligent contract; the chaincodeVersion records the version number of the intelligent contract; InvokeMethod records the activation condition of the smart contract, for example, "writeData, A" indicates that the condition of the smart contract is satisfied when the write data is written and executed by A; readSet represents the read content; writeSet indicates the content of writing, for example, data is written, and the content T and the execution object a of the data are recorded; response indicates the status of the transaction, e.g., "SUCCESS" i.e., completion status; endorsidentity denotes the endorser identification that endorses the transaction, for example filling in the endorser's signature endorsignature; creatorIdentity represents the identity of the creator that created the transaction, e.g., fills in the signature of the A that created the transaction, namely the ASIGNature.
Those skilled in the art should note that the specific contents of each entry in the above table may be arbitrarily filled according to the actual situation, and the present application is not limited thereto.
After the pin number record is written into the shared account by other blockchain nodes, it may be regarded as the completion of one Tx in the blockchain network, and after the transaction is completed, the circulation state world state may be as shown in table 2:
Key Value Version
Data {id:1,data:T,owner:A} 1
TABLE 2
Among them, 3 contents are included, namely, key, value, and version number version. For example, the keyword may be Data; the specific content may be { id:1, data: T, owner: A }, i.e. the number of the data is 1, the specific data content is T, and the owner is now A, in other words, the data T with the number of 1 is now transferred to A; version denotes the Version number of the current Fabric.
It is understood that table 1 records the specific content of the transaction, such as information of trigger condition and creator, and for table 2 records the flow state of the transaction, such as information of owner of the transaction.
And for the block chain link points corresponding to the internet application, judging the account number decryption conditions through an intelligent contract. Block chain node 2 of internet application B deploys intelligent contracts SC1, where the contract content is to check whether internet application B is within the subscription validity period of the sales information notification service. And when the SC1 checks that the result is within the subscription validity period, the block link point 2 corresponding to the Internet application B has the authority to apply for a membership module of the Fabric and acquire the key Pm. After the node of the block chain node 2 acquires the information T, the information T is obtained by signing the information I ', and thus the information T is signed information I'. And then, decrypting the signed information I' by using the Pm to obtain the sales information I comprising the sales time and the mobile phone number of the sales. And the blockchain node 2 transmits the account cancellation information I to the account management system of the corresponding Internet application B through the second type of interface. And the account management system of the Internet application B checks whether the number of the seller is registered in the Internet application account or not through the mobile phone number of the seller in the seller information I, and if the number of the seller is detected to be registered, corresponding unbinding processing is carried out on the application account number corresponding to the mobile phone number of the seller according to the seller time. The account management system of the internet application B packages information such as processing time (response time), processing state (response status), and the like into receipt information Ir, and transmits the receipt information Ir as a response to the received information T to the client of the block link point 2 corresponding to the internet application B through the second type of interface. And the client of the block chain node 2 corresponding to the Internet application B signs the receipt information Ir by using the private key Pb of the B, packages the receipt information Ir into information Tr, sends the information Tr to any node in the block chain network, and broadcasts the information Tr to other block chain nodes in the block chain network by the node. Wherein Tr is used as a response to the information T. And other block chain link points in the block chain network receive the information Tr, verify that the information is sent by the corresponding block chain node by using a public key Pb' applied to the Internet, and write the information Tr into the block chain after consensus is achieved and the information Tr is confirmed to be valid.
In one embodiment, the content written in the shared ledger may be as shown in table 3:
table 3 provides a general record template for a document,
Figure BDA0002044134430000131
TABLE 3
Wherein Tx1Id represents identification information of Tx; tx2Type (TRANSACTION) represents the Type of the content recorded by the table, and the Type of the content recorded by the table is transition as shown in parentheses; timestamp is expressed as a Timestamp, recording when the table was generated, e.g., produced in minutes and seconds on a certain day of a certain month and a certain month of a certain year; the Channel records the Channel involved in the transaction; the chaincodeName records the name of the intelligent contract; the chaincodeVersion records the version number of the intelligent contract; InvokeMeethod records the activation condition of the smart contract, for example, "writeData, B" indicates that the condition of the smart contract is satisfied when data is written and executed by B; readSet represents the read content; writeSet indicates the content of writing, for example, data is written, and the content Tr and the execution object B of the data are recorded; response indicates the status of the transaction, e.g., "SUCCESS" i.e., completion status; endorserveridentity denotes the endorser identification that endorses the transaction, e.g. fills in the endorser's signature endorserSignature; creatorIdentity represents the identity of the creator that created the transaction, e.g., fills in the Signature of B that created the transaction, namely B Signature.
Those skilled in the art should note that the specific contents of each entry in the above table may be arbitrarily filled according to the actual situation, and the present application is not limited thereto.
After the pin number record is written into the shared account by the other block link points, it may be regarded as the completion of one Tx in the block link network, and after the transaction is completed, the world state may be as shown in table 4:
Key Value Version
Data {id:2,data:Tr,owner:B} 1
TABLE 4
Among them, 3 contents are included, namely, a key, a value, and a version number version. For example, the keyword may be Data; the specific content may be { id:2, data: Tr, owner: B }, i.e. number 2 representing the data, the specific data content is Tr, and the owner is now B, in other words, the data Tr with number 2 is now transferred to B; version denotes the Version number of the current Fabric.
It is understood that table 3 records the specific content of the transaction, such as information of trigger condition and creator, and table 4 records the flow status of the transaction, such as information of owner of the transaction.
Fig. 10 is a schematic diagram of an apparatus for synchronizing telecommunication account change according to an embodiment of the present disclosure.
As shown in fig. 10, there is provided a synchronous telecommunications account changing apparatus 1000, where the apparatus is a first node, and the apparatus includes: a blockchain client 1001 configured to receive account cancellation information; the account cancellation information comprises the mobile phone number and account cancellation time of the account cancellation; the block chain client is also used for encrypting the seller information through a first secret key, and signing the encrypted seller information to obtain the encrypted and signed seller information; a sending module 1002, configured to send the encrypted and signed account cancellation information to a blockchain network; the verification module 1003 is configured to receive a verification message broadcasted by other nodes except the first node, and write the encrypted and signed account information into the shared account book for storage according to a consensus algorithm, so that the internet application account management system performs account unbinding processing according to the mobile phone number of the account and the account cancelling time.
In one possible implementation, the blockchain client 1001 is configured to: receiving account cancelling information sent by an operator management system; wherein the sales information is determined by the operator management system according to the sales request.
In one possible implementation, the blockchain client 1001 is further configured to: and signing the encrypted account information by adopting asymmetric encryption to obtain the encrypted and signed account information.
In one possible embodiment, the verification module 1003 is further configured to: receiving encrypted and signed account information sent by a second node; verifying the encrypted and signed account information sent by the second node; and broadcasting the verification result message.
In one possible embodiment, the verification module 1003 is further configured to: and receiving the broadcast verification result information of other nodes except the second node, and writing the encrypted and signed account information sent by the second node into the shared account book for storage according to the consensus algorithm.
In one possible embodiment, the verification module 1003 is further configured to: and carrying out signature verification on the encrypted and signed account information sent by the second node through asymmetric encryption.
In one possible embodiment, the verification module 1003 is further configured to: and verifying the authenticity of the encrypted and signed customer information sent by the second node.
Fig. 11 is a schematic diagram of another apparatus for synchronizing a telecommunication account change according to an embodiment of the present disclosure.
As shown in fig. 11, there is provided another synchronous telecommunications account changing apparatus 1100, the apparatus being a first node, the apparatus including: a decryption module 1101, configured to receive encrypted and signed account information; the account cancellation information comprises the mobile phone number and account cancellation time of the account cancellation; the encrypted and signed account information is formed by encrypting through a first secret key; the decryption module 1101 is further configured to decrypt the encrypted and signed account information to obtain account information; the block chain client 1102 is used for sending the account-cancelling information to the internet application account management system and unbinding the account according to the mobile phone number of the user-cancelling and the time of the user-cancelling; receiving processing result information sent by an application management system; the processing result information shows that the account number and the mobile phone number of the seller are unbound; signing the processing result information to obtain signed processing result information; a sending module 1103, configured to send the signed processing result information to a block chain network; and the verification module 1104 is configured to receive a verification message broadcasted by other nodes except the first node, and write the signed processing result information into the shared account book for storage according to a consensus algorithm.
In one possible implementation, the decryption module 1101 is configured to: and decrypting the encrypted and signed account information through the first secret key to obtain account information.
In one possible implementation, the blockchain client 1102 is further configured to: and signing the processing result by adopting asymmetric encryption to obtain the signed processing result information.
In one possible implementation, the verification module 1104 is further configured to: receiving signed processing result information sent by a second node; verifying the signed processing result information sent by the second node; and broadcasting the verification result message.
In one possible implementation, the verification module 1104 is further configured to: and receiving the verification result information broadcasted by other nodes except the second node, and writing the signed processing result information sent by the second node into the shared account book for storage according to the consensus algorithm.
In one possible implementation, the verification module 1104 is further configured to: and carrying out signature verification on the signed processing result information sent by the second node through asymmetric encryption.
In one possible implementation, the verification module 1104 is further configured to: and verifying the authenticity of the signed processing result information sent by the second node.
According to the method, a plurality of telecom operators encrypt and sign the account information of the mobile phone number through corresponding block chain nodes in the block chain network, and then broadcast the encrypted account information to other block chain nodes in the block chain network. And simultaneously, decrypting the encrypted and signed account information by the plurality of internet applications through the corresponding block chain link points in the block chain network, and transmitting the decrypted account information to the corresponding internet application system for account unbinding operation. And the plurality of internet application corresponding block chain nodes sign the operation result and broadcast the operation result in the block chain network. An active notification mechanism for number change between operator and internet applications is provided: the internet application can process the binding relationship between the mobile phone number and the application almost in real time and accurately so as to reduce the problems that data privacy is leaked and a new user cannot register the application. Meanwhile, a historical record is provided for the change of the mobile phone number state and the change of the binding state of the Internet application between the operator and the Internet application, and the evidence taking and the responsibility tracing and the right confirming are convenient to carry out in the future.
It will be further appreciated by those of ordinary skill in the art that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by a program, and the program may be stored in a computer-readable storage medium, where the storage medium is a non-transitory medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape (magnetic tape), a floppy disk (floppy disk), an optical disk (optical disk), and any combination thereof.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (18)

1. A synchronous telecommunication account number changing method is applied to a first node corresponding to an operator management system in a block chain network, and comprises the following steps:
the first node receives subscriber information; the information of the sales account comprises the mobile phone number of the sales account;
sending the customer sales information to a block chain network;
receiving the broadcast verification information of other nodes except the first node, and writing the account cancellation information into a shared account book for storage according to a consensus algorithm; so that the Internet application account management system can perform account unbinding processing according to the mobile phone number of the seller;
the first node receiving processing result information from a blockchain network; and the processing result information indicates that the mobile phone number of the seller is unbound.
2. The method of claim 1, wherein the first node receiving subscriber information comprises:
the first node receives the account cancellation information sent by the operator management system; wherein the sales information is determined by the operator management system according to a sales request.
3. The method of claim 1 or 2, wherein the sales information further comprises a sales time; and the Internet application account management system judges whether to perform account unbinding processing according to the account cancelling time.
4. The method of claim 1 or 2, wherein prior to storing the subscriber information in a blockchain network, the method further comprises:
encrypting the account information through a first secret key to obtain encrypted account information;
storing the customer information into a blockchain network comprises:
and storing the encrypted subscriber information into a block chain network.
5. A synchronous telecommunication account number changing method is applied to a first node corresponding to an Internet application account management system in a block chain network, and comprises the following steps:
the first node receiving subscriber information from a blockchain network; the information of the sales account comprises the mobile phone number of the sales account;
sending the account sales information to the internet application account management system;
when processing result information sent by the Internet application account management system is received, sending the processing result information to a block chain network, receiving verification information broadcasted by other nodes except a first node, and writing the processing result information into a shared account book for storage according to a consensus algorithm; and the processing result information shows that the account number to be unbound and the mobile phone number of the seller are unbound.
6. The method of claim 5, wherein the subscriber information is formed by encrypting with a first key;
the first node receiving subscriber information comprises:
and the first node receives the encrypted and signed sales information.
7. The method of claim 6, wherein after the first node receives the encrypted and signed subscriber information, the method further comprises:
and decrypting the encrypted and signed account information through the first key to obtain decrypted account information.
8. The method of any of claims 5-7, wherein the sales information further comprises a sales time; the internet application account management system determines the account number to be unbound according to the mobile phone number of the account number to be unbound, and unbinds the account number to be unbound and the mobile phone number of the account number to be unbound when the time of the account number to be unbound is later than the registration time of the account number to be unbound.
9. A synchronous telecommunications account number change apparatus, the apparatus comprising:
the block chain client is used for receiving account cancelling information; the information of the sales account comprises the mobile phone number of the sales account;
the verification module is used for sending the subscriber information to a block chain network; receiving the broadcast verification information of other nodes, and writing the account cancellation information into a shared account book for storage according to a consensus algorithm; so that the Internet application account management system can perform account unbinding processing according to the mobile phone number of the seller; receiving processing result information from a blockchain network; and the processing result information indicates that the mobile phone number of the seller is unbound.
10. The apparatus of claim 9, wherein the blockchain client is to:
receiving the information of the sales account sent by an operator management system; wherein the sales information is determined by the operator management system according to a sales request.
11. The apparatus of claim 9 or 10, wherein the sales information further comprises a sales time; and the Internet application account management system judges whether to perform account unbinding processing according to the account cancelling time.
12. The apparatus of claim 9 or 10, wherein the blockchain client is further to:
encrypting the account information through a first secret key to obtain encrypted account information;
the verification module is to:
and storing the encrypted subscriber information into a block chain network.
13. A synchronous telecommunications account number change apparatus, the apparatus comprising:
the verification module is used for receiving sales information; the account cancellation information comprises a mobile phone number of the cancellation;
the block chain client is used for sending the information of the seller to an internet application account management system and unbinding an account according to the mobile phone number of the seller;
the verification module is further used for receiving the processing result information sent by the internet application account management system and sending the processing result information to the blockchain network when the blockchain client receives the processing result information; receiving the broadcast verification messages of other nodes, and writing the processing result information into a shared account book for storage according to a consensus algorithm; and the processing result information shows that the account number to be unbound and the mobile phone number of the seller are unbound.
14. The apparatus of claim 13, wherein the subscriber information is formed by encrypting with a first key;
the verification module is used for receiving the encrypted and signed sales information.
15. The apparatus of claim 14, wherein the verification module is further to:
and decrypting the encrypted and signed account information through the first key to obtain decrypted account information.
16. The apparatus of any of claims 13-14, wherein the sales information further comprises a sales time; the internet application account management system determines the account number to be unbound according to the mobile phone number of the account number to be unbound, and unbinds the account number to be unbound and the mobile phone number of the account number to be unbound when the time of the account number to be unbound is later than the registration time of the account number to be unbound.
17. A computer-readable storage medium storing a program, the program comprising instructions that, when executed, cause the performance of the method according to any one of claims 1-4.
18. A computer-readable storage medium storing a program, the program comprising instructions that, when executed, cause the performance of the method according to any one of claims 5-8.
CN201910351667.9A 2019-04-28 2019-04-28 Method and device for synchronizing telecommunication account number change Active CN111866042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351667.9A CN111866042B (en) 2019-04-28 2019-04-28 Method and device for synchronizing telecommunication account number change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351667.9A CN111866042B (en) 2019-04-28 2019-04-28 Method and device for synchronizing telecommunication account number change

Publications (2)

Publication Number Publication Date
CN111866042A CN111866042A (en) 2020-10-30
CN111866042B true CN111866042B (en) 2022-05-31

Family

ID=72965244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351667.9A Active CN111866042B (en) 2019-04-28 2019-04-28 Method and device for synchronizing telecommunication account number change

Country Status (1)

Country Link
CN (1) CN111866042B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637168B (en) * 2020-12-15 2022-09-27 中国联合网络通信集团有限公司 Number processing method and device
CN115150360B (en) * 2022-06-28 2023-12-19 北京送好运信息技术有限公司 Mailbox address and blockchain address binding method based on blockchain technology
CN116055047B (en) * 2023-03-31 2023-07-18 中国科学技术大学 Trusted anonymous management method for primary account number association records
CN116723499B (en) * 2023-08-01 2023-12-01 中国电信股份有限公司 Number processing method, device, communication equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036263A (en) * 2009-09-30 2011-04-27 中国移动通信集团甘肃有限公司 Spam message processing method, device and system
CN102263798A (en) * 2010-05-25 2011-11-30 中国移动通信集团甘肃有限公司 Data synchronization method, device and system for communication systems
CN107846679A (en) * 2016-09-20 2018-03-27 中国电信股份有限公司 The telephone number secondary processing method distributed telephone numbers, system and business system
CN107872787A (en) * 2016-09-26 2018-04-03 中国电信股份有限公司 Number is nullified, bound, unbinding method and carrier server and application platform
CN109257416A (en) * 2018-08-19 2019-01-22 广州持信知识产权服务有限公司 A kind of block chain cloud service network information management system
CN109451446A (en) * 2019-01-04 2019-03-08 中国联合网络通信集团有限公司 The number of taking turns network method, device and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140192969A1 (en) * 2013-01-04 2014-07-10 International Business Machines Corporation Optimized call handling for recycled telephone numbers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036263A (en) * 2009-09-30 2011-04-27 中国移动通信集团甘肃有限公司 Spam message processing method, device and system
CN102263798A (en) * 2010-05-25 2011-11-30 中国移动通信集团甘肃有限公司 Data synchronization method, device and system for communication systems
CN107846679A (en) * 2016-09-20 2018-03-27 中国电信股份有限公司 The telephone number secondary processing method distributed telephone numbers, system and business system
CN107872787A (en) * 2016-09-26 2018-04-03 中国电信股份有限公司 Number is nullified, bound, unbinding method and carrier server and application platform
CN109257416A (en) * 2018-08-19 2019-01-22 广州持信知识产权服务有限公司 A kind of block chain cloud service network information management system
CN109451446A (en) * 2019-01-04 2019-03-08 中国联合网络通信集团有限公司 The number of taking turns network method, device and equipment

Also Published As

Publication number Publication date
CN111866042A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
EP3788523B1 (en) System and method for blockchain-based cross-entity authentication
US11025435B2 (en) System and method for blockchain-based cross-entity authentication
CN107911216B (en) Block chain transaction privacy protection method and system
US10756885B2 (en) System and method for blockchain-based cross entity authentication
CN111970129B (en) Data processing method and device based on block chain and readable storage medium
CN111866042B (en) Method and device for synchronizing telecommunication account number change
WO2021000419A1 (en) System and method for blockchain-based cross-entity authentication
CN107231351B (en) Electronic certificate management method and related equipment
CN109845220B (en) Method and apparatus for providing blockchain participant identity binding
CN110769035B (en) Block chain asset issuing method, platform, service node and storage medium
KR101985179B1 (en) Blockchain based id as a service
CN111884815A (en) Block chain-based distributed digital certificate authentication system
CZ197896A3 (en) Encryption method with safekeeping of a key in a third person and a cryptographic system for making the same
CN109361663B (en) Method, system and device for accessing encrypted data
CN113065961A (en) Power block chain data management system
CN114329529A (en) Asset data management method and system based on block chain
CN113850599B (en) Cross-link transaction method and system applied to alliance link
CN114266069A (en) House transaction electronic data sharing system and method based on block chain technology
EP1912147A1 (en) Method and apparatus for selling a digital resource
JP4547233B2 (en) Communication system, communication method and program thereof
CN112202552B (en) Method, device, medium and electronic equipment for monitoring quality of block chain data
CN112152974B (en) Data right determining method based on block chain network and related device
KR20110013905A (en) Method for intercepting a spam message
CN115396096A (en) Encryption and decryption method and protection system for secret file based on national cryptographic algorithm
CN117150518A (en) Communication carrier data security encryption method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant