CN112637831B - Number portability method and system based on block chain network and user terminal - Google Patents
Number portability method and system based on block chain network and user terminal Download PDFInfo
- Publication number
- CN112637831B CN112637831B CN202011486955.4A CN202011486955A CN112637831B CN 112637831 B CN112637831 B CN 112637831B CN 202011486955 A CN202011486955 A CN 202011486955A CN 112637831 B CN112637831 B CN 112637831B
- Authority
- CN
- China
- Prior art keywords
- transaction
- temporary
- number portability
- user terminal
- transfer
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- RWSOTUBLDIXVET-UHFFFAOYSA-N Dihydrogen sulfide Chemical compound S RWSOTUBLDIXVET-UHFFFAOYSA-N 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a number portability method, a number portability system and a user terminal based on a block chain network. The method comprises the following steps: responding to a first network connection request of a user terminal, and acquiring a temporary number portability transfer-out transaction corresponding to the user terminal, which is broadcasted in advance by an initial operator system, from a block chain network to which the user terminal belongs; the temporary number portability transfer-out transaction is a transaction which is signed by a user terminal and an initial operator system in advance; generating a temporary number portability transfer transaction and signing the temporary number portability transfer transaction based on the temporary number portability transfer transaction; transferring the temporary portable number signed by the user into a transaction and sending the transaction to a user terminal; acquiring a temporary mobile number broadcast by a user terminal in a block chain network to be transferred into a transaction; and under the condition that the temporary portability number broadcasted by the user terminal is identified to be transferred into the transaction with the self signature and the signature of the user terminal, providing the temporary network access service for the user terminal. The invention can increase the convenience of the user and improve the user experience.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a number portability method, a number portability system and a user terminal based on a block chain network.
Background
The number portability and network switching service is also called number portability and number switching without changing, namely, a user of one operator can become a user of another operator after handling the number portability and network switching service without changing the terminal number of the user, and can enjoy various services provided by the other operator.
However, many users currently transact the number portability service, and find that the service provided by the ported-in target operator is not as expected. When the user wants to transfer the terminal number back to the initial operator, the user needs to transact the number portability service again, which brings inconvenience to the user and results in poor service experience of the user.
Disclosure of Invention
Therefore, the invention provides a number portability method, a number portability system and a user terminal based on a block chain network, which aim to solve the problem of poor user service experience caused by repeated number portability service when a user is dissatisfied with a target operator for carrying the number portability service to be ported to an initial operator in the prior art.
In order to achieve the above object, a first aspect of the present invention provides a number portability method based on a blockchain network, the method including:
responding to a first network connection request of a user terminal, and acquiring a temporary number portability corresponding to the user terminal, which is broadcasted in advance by an initial operator system, from a block chain network to which the user terminal belongs to transfer out a transaction; the temporary number portability transfer-out transaction is a transaction which is signed by the user terminal and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline;
generating a temporary number portability transfer-in transaction and signing the temporary number portability transfer-in transaction based on the temporary number portability transfer-out transaction, wherein the temporary number portability transfer-in transaction comprises temporary number portability transfer-in tariff information;
transferring the temporary portable number signed by the user terminal into a transaction and sending the transaction to the user terminal;
acquiring a temporary mobile number broadcast by the user terminal in the affiliated block chain network to transfer to a transaction;
and under the condition that the temporary portability number broadcasted by the user terminal is identified to have self signature and the signature of the user terminal, providing temporary network access service for the user terminal.
Preferably, the step of generating a temporary number portability transaction based on the temporary number portability roll-out transaction includes:
sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction;
and responding to an authentication success message aiming at the user terminal fed back by the initial operator system, and generating the temporary number portability transaction.
Preferably, before the sending a network authentication request for the ue to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction, the method further includes:
judging whether the current system date is within the temporary roll-out period or not;
and under the condition that the current system date is judged to be within the temporary transfer-out period, executing the step of sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction.
Preferably, the acquiring, from the block chain network to which the first network connection request includes a temporary number portability transaction identifier, the temporary number portability transaction corresponding to the ue and broadcasted in advance by the initial operator system includes:
and acquiring the temporary number portability roll-out transaction corresponding to the temporary number portability roll-out transaction identifier from the block chain network according to the temporary number portability roll-out transaction identifier.
Preferably, in the case that the user terminal needs to re-access the network after the network access service is provided for the user terminal, the method further includes:
receiving a second network connection request sent by the user terminal, wherein the second network connection request comprises a temporary number portability transaction identifier and a temporary number portability transaction identifier;
acquiring a temporary number portability roll-out transaction corresponding to the temporary number portability roll-out transaction identifier from the block chain network according to the temporary number portability roll-out transaction identifier;
judging whether the current system date is positioned within the temporary transfer-out period in the temporary number portability transfer-out transaction;
under the condition that the current system date is judged to be within the temporary transfer-out period, acquiring a temporary number portability corresponding to the temporary number portability transfer-in transaction identifier from the block chain network according to the temporary number portability transfer-in transaction identifier;
and under the condition that the temporary number portability transaction is identified to have the self signature and the signature of the user terminal, providing network access service for the user terminal.
The second aspect of the present invention provides a number portability method based on a block chain network, including:
sending a first network connection request to a pre-transfer operator system, so that the pre-transfer operator system responds to the first network connection request, acquires a temporary number portability transfer-out transaction which is broadcasted in advance by an initial operator system from a affiliated block chain network, generates a temporary number portability transfer-in transaction and signs the temporary number portability transfer-out transaction based on the temporary number portability transfer-out transaction, wherein the temporary number portability transfer-in transaction comprises temporary number portability transfer-in tariff information; the temporary number portability transfer-out transaction is a transaction which is signed by the temporary number portability transfer-out transaction and the initial operator system in advance, and comprises a user identifier corresponding to a user terminal and a temporary transfer-out deadline;
receiving a temporary number portability switching-in transaction which is sent by the pre-switching-in operator system and is signed by the pre-switching-in operator system;
signing the temporary ported transaction signed by the pre-ported operator system;
and broadcasting the temporary number portability transaction signed by the pre-portability operator system to the block chain network so as to provide temporary network access service under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-portability operator system.
Preferably, before sending the first network connection request to the pre-entry operator system, the method includes:
generating a temporary number portability roll-out transaction, and signing the temporary number portability roll-out transaction;
and sending the temporary number portability roll-out transaction signed by the self to an initial operator system so that the initial operator system signs the temporary number portability roll-out transaction, and broadcasting the temporary number portability roll-out transaction with the signature of the user terminal and the signature of the initial operator system to the block chain network.
Preferably, in a case that a network corresponding to the pre-transfer operator system needs to be re-accessed, the method further includes:
sending a second network connection request to the pre-transfer-in operator system, so that after the pre-transfer-in operator system receives the second network connection request, obtaining a temporary number portability roll-out transaction corresponding to a temporary number portability roll-out transaction identifier included in the second network connection request from the blockchain network, obtaining a temporary number portability roll-in transaction corresponding to a temporary number portability roll-out transaction identifier included in the second network connection request from the blockchain network under the condition that the current system date is judged to be within the temporary roll-out deadline, and providing a network access service under the condition that the temporary number portability roll-in transaction is identified to have a self signature and a signature of the user terminal.
The third aspect of the present invention provides a number portability method based on a block chain network, including:
receiving a temporary number portability transaction signed by a user terminal and sent by the user terminal, wherein the temporary number portability transaction comprises a user identifier corresponding to the user terminal and a temporary transferring deadline;
the temporary number portability transaction signed by the user terminal is signed, the temporary number portability transaction broadcast with the self signature and the signature of the user terminal is broadcasted to a block chain network, so that a pre-transfer operator system corresponding to the user terminal responds to a first network connection request of the user terminal, the temporary number portability transaction is obtained from the block chain network, the temporary number portability transaction is generated based on the temporary number portability transaction, the temporary number portability transaction is signed and sent to the user terminal, and then the temporary number portability transaction is obtained and identified in the affiliated block chain network under the condition that the temporary number portability transaction broadcasted by the user terminal has the signature of the pre-transfer operator system and the signature of the user terminal, so that the temporary network access service is provided for the user terminal.
Preferably, after signing the temporary take-out transaction signed by the user terminal and broadcasting the temporary take-out transaction with the self-signature and the user terminal signature into the blockchain network, the method further includes:
receiving a network authentication request aiming at the user terminal, which is sent by the pre-transfer operator system according to the signature of the initial operator system in the temporary number portability transaction;
and feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system based on the network authentication request so that the pre-transfer operator system generates the temporary number-portability transfer-in transaction in response to the authentication success message.
Preferably, the network authentication request includes a temporary number portability roll-out transaction identifier, and the feeding back an authentication success message for the user terminal to the pre-roll-in operator system based on the network authentication request includes:
acquiring a temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the block chain network according to the temporary serial number portability transaction identifier;
judging whether the current system date is within the temporary transfer-out period in the temporary number portability transfer-out transaction;
and under the condition that the current system date is judged to be within the temporary transfer-out period in the temporary number portability transfer-out transaction, feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system.
Preferably, after signing the temporary take-away transaction signed by the user terminal and broadcasting the temporary take-away transaction with the self-signature and the user terminal signature into a blockchain network, the method further comprises:
receiving a third network connection request sent by the user terminal;
responding to the third network connection request, and providing network access service for the user terminal based on the pre-stored user information corresponding to the user terminal.
A fourth aspect of the present invention provides an operator system including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for responding to a first network connection request of a user terminal and acquiring a temporary number portability transferring transaction corresponding to the user terminal, which is broadcasted in advance by an initial operator system, from a block chain network to which the initial operator system belongs; the temporary number portability transferring transaction is a transaction which is signed by the user terminal and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transferring deadline;
the first generation module is used for generating a temporary number portability transfer-in transaction based on the temporary number portability transfer-out transaction;
the first signature module is used for signing the temporary number portability transaction, and the temporary number portability transaction comprises temporary number portability tariff information;
the first sending module is used for transferring the temporary portable number signed by the first sending module into a transaction and sending the transaction to the user terminal;
the first obtaining module is further configured to obtain a temporary mobile number broadcasted by the user terminal in the affiliated blockchain network to transfer to a transaction;
the first service module is used for providing temporary network access service for the user terminal under the condition that the temporary portability transaction broadcasted by the user terminal is identified to have self signature and the signature of the user terminal.
A fifth aspect of the present invention provides a user terminal, including:
the terminal sending module is used for sending a first network connection request to a pre-transfer operator system so that the pre-transfer operator system responds to the first network connection request, obtains a temporary number portability roll-out transaction broadcasted in advance by an initial operator system from a local area chain network, generates a temporary number portability roll-in transaction based on the temporary number portability roll-out transaction and signs the temporary number portability roll-in transaction, and the temporary number portability roll-in transaction comprises temporary number portability roll-in tariff information; the temporary number portability transfer-out transaction is a transaction which is signed by a user terminal and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline;
the terminal receiving module is used for receiving the temporary number portability switching-in transaction which is sent by the pre-switching-in operator system and is signed by the pre-switching-in operator system;
the terminal signature module is used for signing the temporary number-portability transfer-in transaction signed by the pre-transfer-in operator system;
and the terminal broadcasting module is used for broadcasting the temporary number portability transaction signed by the terminal broadcasting module to the block chain network so that the temporary network access service is provided by the pre-ported operator system under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-ported operator system.
A sixth aspect of the present invention provides an operator system, including:
the second receiving module is used for receiving a temporary number portability transferring transaction which is sent by a user terminal and signed by the user terminal, wherein the temporary number portability transferring transaction comprises a user identifier and a temporary transferring deadline corresponding to the user terminal;
the second signature module is used for signing the temporary number portability transaction signed by the user terminal;
the first broadcasting module is used for broadcasting the temporary number portability transaction broadcast with the self signature and the user terminal signature to the block chain network, so that the pre-portability operator system corresponding to the user terminal responds to the first network connection request of the user terminal, and acquires the temporary number portability transaction from the block chain network, generates the temporary number portability transaction based on the temporary number portability transaction, signs the temporary number portability transaction and sends the signed temporary number to the user terminal, and acquires and identifies the temporary number portability transaction broadcast by the user terminal from the block chain network to provide temporary network access service for the user terminal under the condition that the temporary number portability transaction has the self signature and the signature of the user terminal.
The invention has the following advantages:
the invention provides a number portability method, a number portability system and a user terminal based on a block chain network. The method comprises the following steps: responding to a first network connection request of a user terminal, acquiring a temporary number portability transaction corresponding to the user terminal, which is broadcasted in advance by an initial operator system, from a local area chain network, wherein the temporary number portability transaction is a transaction which is signed by the user terminal and signed by the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary portability deadline; generating a temporary number portability transfer transaction and signing the temporary number portability transfer transaction based on the temporary number portability transfer transaction, wherein the temporary number portability transfer transaction comprises temporary number portability transfer tariff information; transferring the temporary portable number signed by the user into a transaction and sending the transaction to a user terminal; the temporary number portability switching transaction broadcasted by the user terminal is acquired in the affiliated block chain network, and the temporary network access service is provided for the user terminal under the condition that the temporary number portability switching transaction broadcasted by the user terminal is identified to have self signature and the signature of the user terminal, so that the pre-switching network service provided for the user is realized, the user can experience the service provided by the pre-switching operator system firstly and then decide whether to handle the number portability service or not, the convenience of the user can be increased, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of a number portability method based on a block chain network according to an embodiment of the present invention;
fig. 2 is a flowchart of another number portability method based on a blockchain network according to an embodiment of the present invention;
fig. 3 is a flowchart of another number portability method based on a blockchain network according to an embodiment of the present invention;
fig. 4 is a flowchart of another number portability method based on a blockchain network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an operator system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another operator system according to an embodiment of the present invention.
In the drawings:
51: the first obtaining module 52: a first generation module
53: the first signature module 54: first sending module
55: the first service module 61: terminal sending module
62: the terminal receiving module 63: terminal signature module
64: the terminal broadcast module 71: second receiving module
72: the second signature module 73: first broadcast module
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given by way of illustration and explanation only, not limitation.
The number portability and network switching service is also called number portability and number switching without changing, namely, a user of one operator can become a user of another operator after handling the number portability and network switching service without changing the terminal number of the user, and can enjoy various services provided by the other operator.
However, many users currently transact the number portability service, and find that the service provided by the ported-in target operator is not as expected. When a user wants to transfer the terminal number back to the initial operator, the user needs to transact the number portability service again, which brings inconvenience to the user and causes poor user service experience.
In order to solve the above problems, the present invention provides a number portability network switching method based on a block chain network, so that a user can perform a pre-network switching operation, a pre-switched operator system of the user can provide temporary operator service experience for the user, and the user can determine whether to switch the number portability to the pre-switched operator system after experiencing the service provided by the pre-switched operator system, thereby avoiding inconvenience caused by the fact that the user finds that the service provided by the switched operator system does not reach the expectation and wants to switch back to the initial operator system after handling the number portability network switching service.
The invention provides a number portability method based on a block chain network, which is applied to a pre-transfer operator system. The method can be implemented in an intelligent contract in a blockchain network comprising a plurality of operator systems and user terminals. As shown in fig. 1, the method comprises the steps of:
step S101, responding to a first network connection request of a user terminal, and acquiring a temporary number portability corresponding to the user terminal broadcasted in advance by an initial operator system from a block chain network to which the user terminal belongs to and transferring out a transaction.
The temporary number portability transfer-out transaction is a transaction which is signed by a user terminal and an initial operator system in advance, and comprises a user identifier corresponding to the user terminal and a temporary transfer-out period, wherein the temporary transfer-out period comprises a time period from the temporary transfer-out starting time to the temporary transfer-out ending time. The initial operator system is the operator system that the user terminal is currently pre-roll-out.
In one embodiment, when a user wants to roll out from an initial carrier system, a temporary roll-out transaction is generated by the user terminal. The temporary number portability transfer-out transaction comprises a user identifier corresponding to the user terminal and a temporary transfer-out period.
As an example, the subscriber identity of the subscriber terminal may be a mobile subscriber number (mobile subscriber international ISDN/PSTN number, msisdn for short), such as a mobile phone number. The data format of the temporary number portability transaction may be: t is out {[msisdn→WildCard,duration d]Therein, [ msisdn → Wildcard, duration d]Is the temporary take-over number roll-out transaction T out Msisdn is the user identification; wildCard indicates that the attribution state of the user identifier is a WildCard state; msisdn → WildCard indicates that the state of the user identification is set to WildCard; duration is a preset intelligent contract function; d is a temporary roll-out period, e.g., 1/2020-1/31/2020; duration d represents that the number portability time limit of the user identifier is set as d; [ msisdn → Wildcard, duration d]Indicating that the home state of the user corresponding to msisdn is set to the wildcard state, and the corresponding temporary roll-out deadline is set to d. In the wildcard state, the user identification corresponding to the user terminal does not belong to the user terminal within the temporary export deadline dWhich one of the operators.
In one embodiment, after the user terminal generates the temporary serial number transfer-out transaction, the user terminal signs the temporary serial number transfer-out transaction and sends the temporary serial number transfer-out transaction signed by the user terminal to the initial operator system, and the initial operator system signs the temporary serial number transfer-out transaction signed by the user terminal and signed by the initial operator system and broadcasts the temporary serial number transfer-out transaction signed by the user terminal and the initial operator system to the blockchain network.
In one embodiment, the first network connection request includes a temporary serial number transfer-out transaction identifier, and the pre-entry operator system obtains a temporary serial number transfer-out transaction corresponding to a user terminal that is broadcast in advance by an initial operator system from a local blockchain network, including: and the pre-transfer operator system obtains the temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the block chain network according to the temporary serial number portability transaction identifier.
And step S102, generating a temporary number portability transaction based on the temporary number portability transfer-out transaction and signing the temporary number portability transfer-in transaction.
The temporary number portability transaction comprises temporary number portability fee information.
In one embodiment, to improve security, the step of generating a temporary number portability transaction based on the temporary number portability transaction by the pre-roll operator system comprises: sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transfer transaction, for example, extracting an operator system identifier from the signature of the initial operator system, sending the network authentication request aiming at the user terminal to the initial operator system corresponding to the operator system identifier so that the initial operator system authenticates the user terminal based on the network authentication request, and returning an authentication success message or an authentication failure message; under the condition of the received authentication success message, responding to the authentication success message which is fed back by the initial operator system and aims at the user terminal, and generating a temporary number portability to be transferred into the transaction; and under the condition of the received authentication failure message, refusing to provide the temporary network access service for the user terminal in response to the authentication failure message which is fed back by the initial operator system and aims at the user terminal.
In one embodiment, the temporary number portability transaction is a transaction which is signed by the user terminal and signed by the initial operator system in advance, and comprises a user identifier corresponding to the user terminal and a temporary exporting deadline. In order to save system resources and avoid an illegal terminal operating by using an expired transaction, before the pre-transfer operator transfers the signature of the initial operator system in the transaction according to the temporary number portability and sends a network authentication request aiming at the user terminal to the initial operator system, the method further comprises the following steps: judging whether the current system date is within a temporary transfer-out period or not, wherein the current system date is the self system date currently identified by a pre-transfer operator system; under the condition that the current system date is judged not to be within the temporary transfer-out period, the pre-transfer operator system refuses to provide temporary network access service for the user terminal; and under the condition that the current system date is judged to be within the temporary transfer-out period, executing the step of sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction.
In one embodiment, the temporary number portability transactions generated by the pre-ported operator system include at least one temporary number portability tariff transaction, each temporary number portability tariff transaction including a corresponding temporary number portability tariff information. For example, the temporary number portability transaction included in the temporary number portability transaction may be one or more of a temporary number portability voice service charge transaction, a temporary number portability short message service charge transaction, a temporary number portability multimedia message service charge transaction and a temporary number portability data service charge transaction, which correspond to the temporary number portability voice service charge information, the temporary number portability short message service charge information, the temporary number portability multimedia message service charge information and the temporary number portability data service charge information, respectively.
Wherein the temporary ported-to-voice service tariff transaction includes temporary ported-to-voice service tariff information, as an example, the temporary portThe data format of the time-carry number transferred to the voice service charge transaction can be T fee-voice {[VOICE OP2 ,I U ],[m→U,p 1 →OP 2 ]U refers to a user corresponding to the user terminal; OP (optical proximity module) 2 Refers to pre-transfer to the operator system; m refers to the unit voice service duration provided by the pre-transferred operator system for the user corresponding to the user terminal; p is a radical of formula 1 Means that the user U needs to go to the pre-roll operator system OP 2 Paid unit voice service fee; VOICE OP2 The method comprises the steps that an operator network corresponding to a pre-transfer operator system provides voice service; i is U Refers to the account of the user U, and the account contains the telephone charge balance information of the user U. [ m → U, p 1 →OP 2 ]Transfer of temporary number portability to voice service tariff transaction T fee-voice Output of (2), which represents the pre-roll-to-operator system OP 2 Whenever a user U is provided with a voice service for m minutes, the user U needs to go to the pre-roll operator system OP 2 Payment p 1 A meta. [ VOICE OP2 ,I U ]Transfer of temporary number portability to voice service tariff transaction T fee-voice Input of (VOICE) OP2 Representation "m → U" voice service by pre-roll-in operator system OP 2 Corresponding provider network offerings, I U Is denoted by "p 1 →OP 2 "is paid by the account of the user U. For example, a temporary number portability transaction to a voice service tariff of T fee-voice {[VOICE OP2 ,I U ][1 min → U,0.1 Yuan → OP 2 ]When it is, it is pre-transferred into operator system OP 2 Each time a user U is provided with 1 minute of voice service, the user U goes to the pre-roll-in operator system OP 2 Pay 0.1 dollars.
The temporary number portability to short message service charge transaction comprises temporary number portability to short message service charge information, and the data format of the temporary number portability to short message service charge transaction can be T as an example fee-sms {[SMS OP2 ,I U ],[c 1 →U,p 2 →OP 2 ]A user terminal is referred to as a user terminal; OP (optical proximity module) 2 Pre-roll to operator system; c. C 1 The number of unit short message service provided by the pre-transferred operator system for the user corresponding to the user terminal is referred to; p is a radical of formula 2 Means that the user U needs to go to the pre-roll operator system OP 2 The paid unit short message service cost; SMS OP2 The short message service is provided by an operator network corresponding to a pre-transfer operator system; I.C. A U Refers to the account of user U, which contains the credit balance information of user U. [ c ] is 1 →U,p 2 →OP 2 ]Transfer of temporary number portability to SMS (short message service) fee transaction T fee-sms Output of (2), which represents the pre-roll-to-operator system OP 2 Each user U is provided with c 1 Short message service of the bar, the user U needs to forward to the pre-transfer operator system OP 2 Payment p 2 And (5) Yuan. [ SMS OP2 ,I U ]Transfer of temporary number portability into SMS (short message service) fee transaction T fee-sms Input of, SMS OP2 Short message service in the expression "m → U" is pre-ported to the operator system OP 2 Corresponding provider network offerings, I U Denotes "p 2 →OP 2 "is paid by the account of the user U.
The temporary number portability multimedia message service charge transaction comprises temporary number portability multimedia message service charge information, and as an example, the data format of the temporary number portability multimedia message service charge transaction can be T fee-MMS {[MMS OP2 ,I U ],[c 2 →U,p 3 →OP 2 ]U refers to a user corresponding to the user terminal; OP (optical proximity module) 2 Refers to pre-transfer to the operator system; c. C 2 The unit multimedia message service number is provided for a user corresponding to a user terminal by a pre-transferred operator system; p is a radical of formula 3 Means that the user U needs to go to the pre-roll operator system OP 2 The paid unit multimedia message service fee; MMS OP2 The multimedia message service is provided by an operator network corresponding to a pre-transfer operator system; I.C. A U Refers to the account of the user U, and the account contains the telephone charge balance information of the user U. [ c ] A 2 →U,p 3 →OP 2 ]Transfer to multimedia message service charge transaction T for temporary number portability fee-MMS Output of (2), which represents the pre-roll-to-operator system OP 2 Each user U is provided with c 2 For the strip multimedia message service, the user U needs to go to the pre-forwarding operator system OP 2 Payment p 3 Yuan; [ MMS OP2 ,I U ]Transfer of temporary number portability into multimedia message service charge transaction T fee-MMS Input of, MMS OP2 Multimedia message service in the representation "m → U" is pre-transferred to the operator system OP 2 Corresponding operator network offer, I U Is denoted by "p 3 →OP 2 "is paid by the account of user U.
The temporary serial number portability data service charge transaction includes temporary serial number portability data service charge information, and the data format of the temporary serial number portability data service charge transaction can be T as an example fee-MMS {[MMS OP2 ,I U ],[b→U,p 4 →OP 2 ]U refers to a user corresponding to the user terminal; OP (optical fiber) 2 Refers to pre-transfer to the operator system; b refers to the unit data service quantity provided by the pre-transferred operator system for the user corresponding to the user terminal; p is a radical of 4 Means that the user U needs to go to the pre-roll-in operator system OP 2 Paid unit data service charges; MMS OP2 The method comprises the steps that an operator network corresponding to a pre-transfer operator system provides data service; i is U Refers to the account of the user, and the account contains the telephone charge balance information of the user U. [ b → U, p 4 →OP 2 ]Data service charge transaction T for temporary number portability fee-MMS Is indicative of a pre-transfer to the operator system OP 2 Whenever a b-byte data service is provided to a user U, the user U needs to forward to the pre-transfer operator system OP 2 Payment p 4 And (5) Yuan. [ MMS ] OP2 ,I U ]Data service charge transaction T for temporary number portability fee-MMS Input of, MMS OP2 Data service in representation "m → U" is pre-ported by operator system OP 2 Corresponding provider network offerings, I U Is denoted by "p 4 →OP 2 "is paid by the account of the user U. For example, a temporary number portability transaction to a data service tariff of T fee-MMS {[MMS OP2 ,I U ],[1M→U,0.01→OP 2 ]When it is, pre-enter operator system OP 2 Each time a 1M data service is provided to a user U, the user U goes to a pre-roll-in operator system OP 2 Pay 0.01 yuan.
In one embodiment, the step of signing the temporary piggyback transaction by the pre-roll-in carrier system comprises: and signing each temporary number portability transaction contained in the temporary number portability transaction by using a private key of the pre-ported operator system.
And step S103, transferring the temporary mobile number signed by the mobile terminal into a transaction and sending the transaction to the user terminal.
It should be noted that, because the two parties involved in the temporary serial number portability transaction are the pre-ported operator system and the user terminal, the temporary serial number portability transaction signed only by the pre-ported operator system is still an unsuccessful transaction in the blockchain network, and the temporary serial number portability transaction does not have a constraint effect on the two parties of the transaction at present. The pre-transfer operator system transfers the temporary number portability signed by the pre-transfer operator system to the transaction and sends the temporary number portability signed by the pre-transfer operator system to the user terminal through step S103, so that the user terminal can transfer the temporary number portability signed by the pre-transfer operator system to the signature of the transaction additional terminal, and transfer the temporary number portability with the signature signed by the pre-transfer operator system and the user terminal to the transaction and broadcast the temporary number portability to the block chain network after the signature is added, thereby enabling the temporary number portability to be established in the transaction. If the user terminal broadcasts the temporary number portability without transferring the transaction additional signature to the temporary number portability, or if the temporary number portability with the signature of the additional terminal broadcasted by the user terminal is still not received by the block link network within a certain time, the temporary number portability is invalid.
In one embodiment, after the user terminal receives the temporary carrier number signed by the pre-roll operator system, the temporary carrier number signed by the pre-roll operator system is added with a signature for each temporary carrier number signed by the pre-roll operator system and included in the temporary carrier number signed by the pre-roll operator system, and the temporary carrier number signed by the pre-roll operator system and the user terminal is broadcasted to the block chain network.
And step S104, acquiring the temporary mobile number broadcast by the user terminal in the affiliated block chain network and transferring the temporary mobile number to a transaction.
In one embodiment, after acquiring the temporary mobile number transfer transaction broadcasted by the user terminal in the affiliated blockchain network, the pre-transfer operator system determines whether the temporary mobile number transfer transaction is established, that is, identifies whether the temporary mobile number transfer transaction broadcasted by the user terminal has a self-signature and a signature of the user terminal. And under the condition that the temporary portability number broadcasted by the user terminal is identified to be transferred into the transaction without the self signature or the signature of the user terminal, refusing to provide the temporary network access service for the user terminal.
And step S105, providing the temporary network access service for the user terminal under the condition that the temporary portability of the user terminal broadcast is identified that the transaction has the self signature and the signature of the user terminal.
The pre-transfer operator system identifies that the temporary number portability transaction broadcasted by the user terminal has the self signature and the signature of the user terminal, and shows that the temporary number portability transaction is established currently, and the pre-transfer operator system and the user terminal have constraint effects. The pre-transfer-in operator system provides temporary network access service for the user terminal based on the temporary number portability transfer-in transaction so that the user terminal can experience the temporary service provided by the pre-transfer-in operator system.
In an embodiment, after providing the network access service for the user terminal, in a case where the user terminal needs to re-access the network, for example, in a case where the user terminal is restarted after being powered off, or an area covered by a network signal is performed from an area not covered by the network signal, as shown in fig. 2, the method for number portability based on a blockchain network further includes:
step S201, receiving a second network connection request sent by the user terminal, where the second network connection request includes a temporary number portability transaction identifier and a temporary number portability transaction identifier.
In the case that the temporary number portability transaction includes at least one temporary number portability transaction, the temporary number portability transaction identifier may include temporary number portability transaction identifiers corresponding to the temporary number portability transaction.
Step S202, according to the temporary number portability transferring transaction identification, the temporary number portability transferring transaction corresponding to the temporary number portability transferring transaction identification is obtained from the block chain network.
Step S203, determining whether the current system date is within the temporary transfer-out period in the temporary number portability transfer-out transaction.
Wherein the current system date is the self system date currently identified by the pre-roll operator system.
In one embodiment, the pre-roll-in operator system refuses to provide the network access service for the user terminal in case that the current system date is determined not to be within the temporary roll-out period.
And step S204, under the condition that the current system date is judged to be within the temporary transfer-out period, acquiring a temporary number portability corresponding to the temporary number portability transfer-in transaction identifier from the block chain network according to the temporary number portability transfer-in transaction identifier.
In one embodiment, after the pre-roll-in operator system acquires the temporary number portability transaction corresponding to the temporary number portability transaction identifier from the blockchain network, the system identifies whether the temporary number portability transaction has the self signature and the signature of the user terminal. And under the condition that the temporary number portability transaction is identified to have no self signature or the signature of the user terminal, refusing to provide the network access service for the user terminal.
And step S205, under the condition that the temporary portability transaction is identified to have the self signature and the signature of the user terminal, providing network access service for the user terminal.
In some implementation scenarios, under the condition that a user corresponding to a user terminal is satisfied with temporary services provided by a pre-transfer operator system, the user can officially handle a number portability service to become an official user of the pre-transfer operator system; under the condition that a user corresponding to the user terminal is not satisfied with the temporary service provided by the pre-transfer operator system, the user terminal can continue to achieve the temporary number portability transfer transaction with other pre-transfer operator systems within the temporary transfer-out period contained in the temporary number portability transfer transaction, or regenerate the temporary number portability transfer transaction and achieve the temporary number portability transfer transaction with other pre-transfer operator systems, so as to experience the temporary service provided by other pre-transfer operator systems until the satisfied temporary service provided by the pre-transfer operator system is met. If the user terminal is not satisfied with all temporary services provided by the pre-transfer operator system, the user terminal can continue to belong to the initial operator corresponding to the initial operator system without handling the number portability service.
The embodiment of the invention provides a number portability method based on a block chain network, which comprises the steps of firstly, responding to a first network connection request of a user terminal, obtaining a temporary number portability transaction corresponding to the user terminal, which is broadcasted in advance by an initial operator system, from a belonging block chain network, wherein the temporary number portability transaction is a transaction which is signed by the user terminal and signed by the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary portability deadline; secondly, generating a temporary number portability transferring transaction and signing the temporary number portability transferring transaction based on the temporary number portability transferring transaction, wherein the temporary number portability transferring transaction comprises temporary number portability transferring charge information; then, the temporary portable number signed by the user is transferred into a transaction and sent to the user terminal; and finally, acquiring the temporary number portability of the user terminal broadcast in the affiliated block chain network to be transferred into the transaction, and providing temporary network access service for the user terminal under the condition that the temporary number portability of the user terminal broadcast in the transaction is recognized to have self signature and the signature of the user terminal, namely realizing the pre-network transfer service provided for the user, so that the user can experience the service provided by the pre-transferred operator system firstly and then decide whether to handle the number portability service or not, the convenience of the user can be improved, and the user experience is improved.
The embodiment of the invention provides a number portability method based on a block chain network, which is applied to a user terminal. The method can be implemented in a manner of intelligent contracts in a blockchain network. As shown in fig. 3, the method comprises the steps of:
step S301, sending a first network connection request to the pre-roll-in operator system, so that the pre-roll-in operator system obtains a temporary take-off transaction pre-broadcast by the initial operator system from the affiliated blockchain network in response to the first network connection request, and then generates a temporary take-off transaction based on the temporary take-off transaction and signs the temporary take-off transaction.
The temporary number portability transferring transaction comprises a user identifier corresponding to the user terminal and a temporary transferring deadline, and the temporary number portability transferring transaction comprises temporary number portability transferring expense information.
In one embodiment, before the user terminal sends the first network connection request to the pre-transfer operator system, the method includes: generating a temporary take-out transaction. As an example, the data format of the temporary number portability transaction may be: t is a unit of out {[msisdn→WildCard,duration d]Therein, [ msisdn → Wildcard, duration d]Is the temporary take-over number roll-out transaction T out Msisdn is the user identification; wildCard indicates that the attribution state of the user identifier is a WildCard state; msisdn → WildCard indicates that the state of the user identification is set to WildCard; duration is a preset intelligent contract function; d is a temporary roll-out period, e.g., 1/2020-1/31/2020; duration d represents that the number portability time limit of the user identifier is set as d; [ msisdn → Wildcard, duration d]Indicating that the home state of the user corresponding to msisdn is set to the wildcard state, and the corresponding temporary roll-out deadline is set to d. In the wildcard state, the subscriber identity corresponding to the subscriber terminal does not belong to any operator within the temporary roll-out period d.
Because the user identifier corresponding to the user terminal does not belong to any operator, the user terminal cannot automatically select a network and log in. The user terminal may select the pre-entry operator system automatically by the block link point or manually by the user through a pre-stored list of available networks (or from a pre-designated operator). In addition, the user terminal may connect to the network through the WIFI hotspot at this time to complete operations that require information transmission, such as sending a first network connection request to the pre-entry operator system in step S301.
The user terminal also signs the temporary number portability transaction, sends the self-signed temporary number portability transaction to the initial operator system so that the initial operator system signs the temporary number portability transaction, and broadcasts the temporary number portability transaction with the signature of the user terminal and the signature of the initial operator system to the block chain network. It should be noted that, because the two transaction parties involved in the temporary serial number portability transaction are the user terminal and the initial operator system, the temporary serial number portability transaction signed only by the user terminal is still an unsuccessful transaction in the blockchain network, and the temporary serial number portability transaction does not have a constraint effect on the two transaction parties at present. The user terminal sends the temporary number portability roll-out transaction signed by the user terminal to the initial operator system through the above, so that the initial operator system signs the temporary number portability roll-out transaction, and broadcasts the temporary number portability roll-out transaction with the signature of the user terminal and the signature of the initial operator system to the block chain network, so that the temporary number portability roll-out transaction is established.
Step S302, receiving the temporary number portability transaction signed by the pre-transfer operator system sent by the pre-transfer operator system.
And step S303, signing the temporary number portability transaction signed by the pre-transferring operator system.
In one embodiment, the temporary number portability transaction comprises at least one temporary number portability transaction signed by a pre-roll operator system. The method comprises the following steps that a user terminal signs a temporary number-carrying transfer transaction signed by a pre-transfer operator system, and comprises the following steps: and each temporary number portability transaction signed by the pre-transfer operator system is added with a signature for the tariff transaction, and the temporary number portability transaction with the signature of the pre-transfer operator system and the user terminal is broadcasted to the block chain network.
Step S304, the temporary number portability transaction which is signed by the pre-portability operator is broadcasted to the block chain network, so that the pre-portability operator system provides the temporary network access service under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-portability operator system.
When the user terminal broadcasts the temporary portability number signed by the user terminal to the transaction to the blockchain network, the temporary portability number is transferred to the transaction, and the temporary portability number is transferred to the transaction and has constraint effect on pre-transferring to an operator system and the user terminal.
In an embodiment, in a case that the user terminal needs to re-access the network corresponding to the pre-ported-to operator system, for example, in a case that the user terminal is restarted, rebooted after being powered off, or an area with network signal coverage is performed from an area without network signal coverage, the method further includes:
and sending a second network connection request to the pre-roll-in operator system, so that after the pre-roll-in operator system receives the second network connection request, obtaining a temporary number portability transaction corresponding to a temporary number portability transaction identifier contained in the second network connection request from the blockchain network, obtaining the temporary number portability transaction corresponding to the temporary number portability transaction identifier contained in the second network connection request from the blockchain network under the condition that the current system date is judged to be within the temporary portability deadline, and providing network access service under the condition that the temporary number portability transaction has a self signature and a signature of the user terminal.
In some implementation scenarios, when a user corresponding to a user terminal is satisfied with a temporary service provided by a pre-transfer operator system, the user terminal can officially handle a number portability service to become an official user of the pre-transfer operator system; under the condition that a user corresponding to the user terminal is not satisfied with the temporary service provided by the pre-transfer operator system, the user terminal can continue to achieve the temporary number portability transfer transaction with other pre-transfer operator systems within the temporary transfer-out period contained in the temporary number portability transfer transaction, or regenerate the temporary number portability transfer transaction and achieve the temporary number portability transfer transaction with other pre-transfer operator systems, so as to experience the temporary service provided by other pre-transfer operator systems until the satisfied temporary service provided by the pre-transfer operator system is met. If the user terminal is not satisfied with all temporary services provided by the pre-transfer operator system, the user terminal can continue to belong to the initial operator corresponding to the initial operator system without handling the number portability service.
In some implementation scenarios, in a case that a temporary roll-out period included in the temporary number portability roll-out transaction expires and the user terminal does not handle the number portability network service, or the user terminal wants to continue to belong to an initial operator corresponding to the initial operator system, the user terminal detects that its own card information is not changed (for example, SIM card information is not changed), and then the user terminal automatically sends a third network connection request to the initial operator system, so that the initial operator system responds to the third network connection request and provides a network access service based on pre-stored user information corresponding to the user terminal, where the third network connection request does not include the temporary number portability transaction identifier and the temporary number portability transaction identifier.
The invention provides a number portability method based on a block chain network, which comprises the steps of firstly, sending a first network connection request to a pre-ported operator system so that the pre-ported operator system responds to the first network connection request, obtaining a temporary number portability roll-out transaction broadcasted in advance by an initial operator system from a affiliated block chain network, generating a temporary number portability roll-in transaction based on the temporary number portability roll-out transaction and signing the temporary number portability roll-in transaction, wherein the temporary number portability roll-in transaction comprises temporary number portability roll-in tariff information; the temporary number portability transfer-out transaction is a transaction which is signed by the temporary number portability transfer-out transaction and an initial operator system in advance, and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline; secondly, receiving a temporary number portability transaction signed by the pre-transfer operator system and sent by the pre-transfer operator system; then, the temporary number-carrying transfer-in transaction signed by the pre-transfer-in operator system is signed; and finally, the temporary number portability transaction which is signed by the pre-portability operator system is broadcasted to the blockchain network, so that the pre-portability operator system provides temporary network access service under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-portability operator system, namely the pre-portability operator system realizes the pre-portability service provided for the user, the user can experience the service provided by the pre-portability operator system firstly and then decide whether to handle the number portability service or not, the convenience of the user can be improved, and the user experience is improved.
The embodiment of the invention provides a number portability method based on a block chain network, which is applied to an initial operator system. The method can be implemented in a manner of intelligent contracts in a blockchain network. As shown in fig. 4, the method comprises the steps of:
step S401, receiving a temporary number portability transfer transaction signed by the user terminal and sent by the user terminal, where the temporary number portability transfer transaction includes a user identifier and a temporary transfer deadline corresponding to the user terminal.
Step S402, signing the temporary number portability transaction signed by the user terminal, broadcasting the temporary number portability transaction with self signature and user terminal signature to the block chain network, so that the pre-roll operator system corresponding to the user terminal responds to the first network connection request of the user terminal, acquiring the temporary number portability transaction from the block chain network, generating a temporary number portability transaction based on the temporary number portability transaction, signing the temporary number portability transaction and sending the signature to the user terminal, and then acquiring and identifying the temporary number portability transaction broadcasted by the user terminal in the affiliated block chain network and providing temporary network access service for the user terminal under the condition that the temporary number portability transaction has the signature of the pre-roll operator system and the signature of the user terminal.
In one embodiment, after signing the temporary take-away transaction signed by the user terminal and broadcasting the temporary take-away transaction with the self-signature and the user terminal signature into the blockchain network, the method further comprises: and receiving a network authentication request aiming at the user terminal, which is sent by the pre-transfer-in operator system according to the signature of the initial operator system in the temporary number portability transaction, and feeding back an authentication success message aiming at the user terminal to the pre-transfer-in operator system based on the network authentication request so that the pre-transfer-in operator system generates the temporary number portability transaction in response to the authentication success message.
In one embodiment, the network authentication request includes a temporary number portability transaction identifier, and the initial operator system feeds back an authentication success message for the user terminal to the pre-convergence operator system based on the network authentication request, including: acquiring a temporary number portability roll-out transaction corresponding to the temporary number portability roll-out transaction identifier from the block chain network according to the temporary number portability roll-out transaction identifier; judging whether the current system date is within a temporary transfer-out period in the temporary number portability transfer-out transaction; and under the condition that the current system date is judged to be within the temporary transfer-out period in the temporary number portability transfer-out transaction, feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system.
In one embodiment, after the initial carrier system receives a network authentication request for the user terminal sent by the pre-transfer carrier system according to the signature of the initial carrier system in the temporary number portability transaction, the method further includes: and feeding back an authentication failure message aiming at the user terminal to the pre-transfer operator system based on the network authentication request so that the pre-transfer operator system can respond to the authentication failure message and refuse to provide the temporary network access service for the user terminal. Specifically, the initial operator system obtains a temporary number portability roll-out transaction corresponding to the temporary number portability roll-out transaction identifier from the blockchain network according to the temporary number portability roll-out transaction identifier; judging whether the current system date is within a temporary transfer-out period in the temporary number portability transfer-out transaction or not; and under the condition that the current system date is judged not to be within the temporary roll-out period in the temporary number portability roll-out transaction, feeding back an authentication failure message aiming at the user terminal to the pre-roll-in operator system.
In one embodiment, the initial operator system and the pre-ported operator system may additionally contract (block chain intelligent contract or other form of contract) to agree on a tariff for providing services for authentication of corresponding subscribers to such subscriber terminals.
In one embodiment, after the initial carrier system signs the temporary number portability transaction signed by the user terminal and broadcasts the temporary number portability transaction with the self-signature and the user terminal signature into the blockchain network, the method further comprises: and receiving a third network connection request sent by the user terminal, responding to the third network connection request, and providing network access service for the user terminal based on the pre-stored user information corresponding to the user terminal.
The invention provides another block chain network-based number portability method, which comprises the steps of firstly, receiving a temporary number portability roll-out transaction which is sent by a user terminal and signed by the user terminal, wherein the temporary number portability roll-out transaction comprises a user identifier and a temporary roll-out deadline corresponding to the user terminal; then, the temporary number portability transaction signed by the user terminal is signed, the temporary number portability transaction with the self signature and the user terminal signature is broadcasted to the blockchain network, so that a pre-ported operator system corresponding to the user terminal responds to a first network connection request of the user terminal, the temporary number portability transaction is obtained from the blockchain network, the temporary number portability transaction is generated based on the temporary number portability transaction, the temporary number portability transaction is signed and sent to the user terminal, and under the condition that the temporary number portability transaction broadcasted by the user terminal is obtained and identified in the affiliated blockchain network, the temporary network access service is provided for the user terminal, the pre-ported network service provided for the user is realized, the user can experience the service provided by the pre-ported operator system first and then decide whether to handle the number portability service or not, the convenience of the user can be increased, and the user experience is improved.
An embodiment of the present invention further provides an operator system, as shown in fig. 5, where the operator system includes: a first acquisition module 51, a first generation module 52, a first signature module 53, a first sending module 54 and a first service module 55.
The first obtaining module 51 is configured to, in response to a first network connection request of the ue, obtain, from the blockchain network, a temporary mobile number transfer-out transaction corresponding to the ue, where the temporary mobile number transfer-out transaction is broadcasted in advance by the initial operator system.
The temporary number portability roll-out transaction is a transaction which is signed by the user terminal and signed by the initial operator system in advance, and comprises a user identifier corresponding to the user terminal and a temporary roll-out deadline.
In one embodiment, the first network connection request includes a temporary number portability transaction identifier, and the obtaining module 51 obtains the temporary number portability transaction corresponding to the ue that is broadcast in advance by the initial operator system from the blockchain network to which the initial operator system belongs, including: the first obtaining module 51 obtains the temporary serial number portability transaction identifier corresponding to the temporary serial number portability transaction identifier from the blockchain network according to the temporary serial number portability transaction identifier.
And a first generation module 52, configured to generate a temporary number portability transaction based on the temporary number portability transaction.
Wherein the temporary number portability transaction comprises temporary number portability fee information.
In one embodiment, the pre-roll-in operator system further comprises a first receiving module and a second sending module. To improve security, the first generating module 52 generates a temporary number portability transaction based on the temporary number portability transaction, and includes: the second sending module sends a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number transfer transaction, for example, extracts an operator system identifier from the signature of the initial operator system, sends a network authentication request aiming at the user terminal to the initial operator system corresponding to the operator system identifier so that the initial operator system authenticates the user terminal based on the network authentication request, and returns an authentication success message or an authentication failure message; under the condition of the authentication success message received by the first receiving module, the first generating module 52 generates a temporary number to be transferred into the transaction in response to the authentication success message which is fed back by the initial operator system and is directed at the user terminal; in case of the authentication failure message received by the first receiving module, the first service module 55 refuses to provide the temporary network access service to the user terminal in response to the authentication failure message for the user terminal fed back by the initial operator system.
In one embodiment, the pre-roll-in operator system further comprises a first determining module. The temporary number portability roll-out transaction is a transaction which is signed by the user terminal and signed by the initial operator system in advance, and comprises a user identifier corresponding to the user terminal and a temporary roll-out deadline. In order to save system resources and avoid an illegal terminal from operating by using an expired transaction, before a second sending module sends a network authentication request aiming at a user terminal to an initial operator system according to a signature of the initial operator system in a temporary number portability transaction, a first judging module judges whether a current system date is within a temporary portability deadline, wherein the current system date is a self system date currently identified by a pre-ported operator system; under the condition that the current system date is judged not to be within the temporary transfer-out period, the pre-transfer operator system refuses to provide temporary network access service for the user terminal; and under the condition that the first judging module judges that the current system date is within the temporary transfer-out period, the second sending module executes the step of sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction.
And the first signature module 53 is configured to sign the temporary number portability transaction, where the temporary number portability transaction includes temporary number portability tariff information.
A first sending module 54, configured to send the self-signed temporary portability transaction to the user terminal.
The first obtaining module 51 is further configured to obtain a temporary mobile number broadcasted by the ue in the affiliated blockchain network to transfer to a transaction.
In one embodiment, after the first obtaining module 51 obtains the temporary mobile number transfer transaction broadcasted by the ue in the affiliated blockchain network, the first determining module determines whether the temporary mobile number transfer transaction is established, that is, the first determining module identifies whether the temporary mobile number transfer transaction broadcasted by the ue has its own signature and the signature of the ue. In the case that the first determining module identifies that the temporary portability transaction broadcasted by the ue does not have its own signature or the signature of the ue, the first service module 55 refuses to provide the temporary network access service for the ue.
The first service module 55 is configured to provide a temporary network access service for the ue in a situation that it is recognized that the temporary piggyback transaction broadcasted by the ue has its own signature and a signature of the ue.
In one embodiment, the operator system further comprises a third receiving module,
after the first service module 55 provides the network access service for the user terminal, in a case that the user terminal needs to re-access the network, for example, in a case that the user terminal is restarted, restarted after being powered off, and an area without network signal coverage is performed in an area with network signal coverage, the third receiving module receives a second network connection request sent by the user terminal, where the second network connection request includes a temporary number portability transaction identifier and a temporary number portability transaction identifier.
The first obtaining module 51 obtains the temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the blockchain network according to the temporary serial number portability transaction identifier.
The first determining module is configured to determine whether a current system date is within a temporary transfer-out period in a temporary number portability transfer-out transaction, where the current system date is a system date currently identified by a pre-transfer operator system.
In one embodiment, the first determining module rejects the network access service to the user terminal in case that the first determining module determines that the current system date is not within the temporary transfer-out period.
Under the condition that the first determining module determines that the current system date is within the temporary transferring-out period, the first obtaining module 51 obtains the temporary number portability corresponding to the temporary number portability transferring-in transaction identifier from the blockchain network according to the temporary number portability transferring-in transaction identifier.
In an embodiment, after the first obtaining module 51 obtains the temporary token-added transaction corresponding to the temporary token-added transaction identifier from the blockchain network, the first determining module identifies whether the temporary token-added transaction has a self-signature and a signature of the user terminal. In the case where the first determination module identifies that the temporary combination into a transaction does not have its own signature or the signature of the user terminal, the first service module 55 refuses to provide the network access service to the user terminal. In the case where the first determination module identifies that the temporary combination switched transaction has its own signature and the signature of the user terminal, the first service module 55 provides the network access service to the user terminal.
The working modes of the modules in the operator system applied to the pre-transfer operator system provided in this embodiment correspond to the steps in the number portability method based on the blockchain network applied to the pre-transfer operator system, and therefore, the detailed working modes of the modules in the operator system applied to the pre-transfer operator system can refer to the number portability method based on the blockchain network provided in this embodiment.
In the operator system provided in the embodiment of the present invention, in response to a first network connection request of a user terminal, a first obtaining module 51 obtains, from a block chain network to which the first obtaining module belongs, a temporary take-out transaction corresponding to the user terminal that is broadcasted in advance by an initial operator system, where the temporary take-out transaction is a transaction that is signed by the user terminal and signed by the initial operator system in advance, and includes a user identifier corresponding to the user terminal and a temporary take-out deadline; the first generation module 52 generates a temporary number portability transfer transaction based on the temporary number portability transfer transaction, and the first signature module 53 signs the temporary number portability transfer transaction, wherein the temporary number portability transfer transaction comprises temporary number portability transfer fee information; the first sending module 54 sends the temporary mobile number signed by itself to the user terminal; the first obtaining module 51 obtains the temporary serial number portability transaction broadcasted by the user terminal in the affiliated block chain network, and under the condition that the temporary serial number portability transaction broadcasted by the user terminal is identified to have self signature and the signature of the user terminal, the first service module 55 provides temporary network access service for the user terminal, namely, pre-network-forwarding service provided for the user is realized, so that the user can experience the service provided by a pre-network-forwarding operator system first and then decide whether to handle the serial number portability service or not, the convenience of the user can be increased, and the user experience is improved.
An embodiment of the present invention provides a user terminal, as shown in fig. 6, where the user terminal includes: a terminal transmission module 61, a terminal reception module 62, a terminal signature module 63 and a terminal broadcast module 64.
The terminal sending module 61 is configured to send a first network connection request to the pre-roll-in operator system, so that the pre-roll-in operator system responds to the first network connection request, acquires a temporary mobile number roll-out transaction pre-broadcasted by the initial operator system from the affiliated block chain network, and generates the temporary mobile number roll-in transaction and signs the temporary mobile number roll-in transaction based on the temporary mobile number roll-out transaction.
Wherein. The temporary number portability transferring transaction comprises temporary number portability transferring charge information, and the temporary number portability transferring transaction is a transaction which is signed by a user terminal and signed by an initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transferring deadline.
And the terminal receiving module 62 is configured to receive the temporary ported-in transaction signed by the pre-ported-in operator system sent by the pre-ported-in operator system.
And the terminal signature module 63 is used for signing the temporary number portability transaction signed by the pre-transfer operator system.
The terminal broadcasting module 64 is configured to broadcast the temporary portability number signed by the terminal broadcasting module to the blockchain network, so that the pre-roll operator system provides a temporary network access service when recognizing that the temporary portability number transaction has the signature of the user terminal and the signature of the pre-roll operator system.
In one embodiment, the terminal sending module 61 is further configured to send a second network connection request to the pre-transfer operator system when the user terminal needs to re-access the network corresponding to the pre-transfer operator system.
In some implementation scenarios, in a case that a temporary number portability deadline included in the temporary number portability transaction expires and the user terminal does not handle the number portability service, or the user terminal wants to continue to belong to an initial operator corresponding to the initial operator system, if the user terminal detects that the card information of the user terminal is not replaced (for example, the SIM is not replaced), the terminal sending module 61 is further configured to send a third network connection request to the initial operator system, so that the initial operator system responds to the third network connection request, and provides a network access service based on pre-stored user information corresponding to the user terminal, where the third network connection request does not include the temporary number portability transaction identifier and the temporary number portability transaction identifier.
The working modes of the modules in the ue provided in this embodiment correspond to the steps in the number portability method based on the blockchain network applied to the ue, and therefore, the detailed working modes of the modules in the ue may refer to the number portability method based on the blockchain network applied to the ue provided in this embodiment.
The invention provides a user terminal, wherein a terminal sending module 61 is used for sending a first network connection request to a pre-transfer operator system so that the pre-transfer operator system responds to the first network connection request, and generates a temporary number portability transfer transaction and signs the temporary number portability transfer transaction after acquiring a temporary number portability transfer transaction broadcasted in advance by an initial operator system from a affiliated block chain network, and the temporary number portability transfer transaction comprises temporary number portability transfer fee information; the temporary number portability transfer-out transaction is a transaction which is signed by the temporary number portability transfer-out transaction and an initial operator system in advance, and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline; the terminal receiving module 62 is configured to receive a temporary ported-in transaction signed by a pre-ported-in operator system sent by the pre-ported-in operator system; the terminal signature module 63 is used for signing the temporary serial number transfer transaction signed by the pre-transfer operator system; the terminal broadcasting module 64 is used for broadcasting the temporary number portability transaction signed by the terminal broadcasting module to the block chain network, so that the pre-roll operator system provides temporary network access service under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-roll operator system, namely the pre-roll operator system realizes the pre-roll network service provided for the user, so that the user can experience the service provided by the pre-roll operator system firstly and then decide whether to handle the number portability service or not, the convenience of the user can be increased, and the user experience is improved.
An embodiment of the present invention provides an operator system, which is applied to an initial operator system, and as shown in fig. 7, the operator system includes: a second receiving module 71, a second signature module 72 and a first broadcasting module 73.
The second receiving module 71 is configured to receive a temporary number portability transaction signed by the user terminal and sent by the user terminal, where the temporary number portability transaction includes a user identifier and a temporary transferring deadline corresponding to the user terminal.
A second signature module 72 for signing the temporary number portability transaction signed by the user terminal.
The first broadcast module 73 is configured to broadcast the temporary mobile number transfer-out transaction with the self-signature and the user terminal signature to the blockchain network, so that the pre-transfer operator system corresponding to the user terminal responds to the first network connection request of the user terminal, acquires the temporary mobile number transfer-out transaction from the blockchain network, generates a temporary mobile number transfer-in transaction based on the temporary mobile number transfer-out transaction, signs the temporary mobile number transfer-in transaction, and sends the signed temporary mobile number transfer-out transaction to the user terminal, and provides a temporary network access service for the user terminal under the condition that the temporary mobile number transfer-in transaction with the self-signature and the signature of the user terminal is acquired and identified in the affiliated blockchain network.
In one embodiment, the operator system further comprises an authentication module.
The second signature module 72 signs the temporary number portability transaction signed by the user terminal, and broadcasts the temporary number portability transaction with the self signature and the user terminal signature to the block chain network, and the authentication module receives a network authentication request for the user terminal sent by the pre-ported operator system according to the signature of the initial operator system in the temporary number portability transaction, and feeds back an authentication success message for the user terminal to the pre-ported operator system based on the network authentication request, so that the pre-ported operator system generates the temporary number portability transaction in response to the authentication success message.
In one embodiment, the network authentication request includes a temporary number portability transaction identifier, and the authentication module feeds back an authentication success message for the user terminal to the pre-entry operator system based on the network authentication request, including: acquiring a temporary number portability roll-out transaction corresponding to the temporary number portability roll-out transaction identifier from the block chain network according to the temporary number portability roll-out transaction identifier; judging whether the current system date is within a temporary transfer-out period in the temporary number portability transfer-out transaction; and under the condition that the current system date is judged to be within the temporary transfer-out period in the temporary number portability transfer-out transaction, feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system.
In one embodiment, after the authentication module receives a network authentication request for the user terminal sent by the pre-transfer operator system according to the signature of the initial operator system in the temporary number portability transaction, the method further includes: the authentication module feeds back an authentication failure message aiming at the user terminal to the pre-entry operator system based on the network authentication request so that the pre-entry operator system can respond to the authentication failure message and refuse to provide temporary network access service for the user terminal. Specifically, the authentication module obtains a temporary number portability roll-out transaction corresponding to the temporary number portability roll-out transaction identifier from the blockchain network according to the temporary number portability roll-out transaction identifier; judging whether the current system date is within a temporary transfer-out period in the temporary number portability transfer-out transaction; and under the condition that the current system date is judged not to be within the temporary roll-out period in the temporary number portability roll-out transaction, feeding back an authentication failure message aiming at the user terminal to the pre-roll-in operator system.
In one embodiment, the carrier system further comprises a second service module. The second signature module 72 signs the temporary number portability transaction signed by the user terminal, and broadcasts the temporary number portability transaction with the self signature and the user terminal signature to the blockchain network, the second receiving module 71 further receives a third network connection request sent by the user terminal, and the second service module responds to the third network connection request and provides network access service for the user terminal based on the pre-stored user information corresponding to the user terminal.
The working modes of the modules in the operator system applied to the initial operator system provided in this embodiment correspond to the steps in the number portability method based on the blockchain network applied to the initial operator system, and therefore, for the detailed working modes of the modules in the operator system applied to the initial operator system, reference may be made to the number portability method based on the blockchain network applied to the initial operator system provided in this embodiment.
The invention provides another operator system, wherein a second receiving module 71 receives a temporary number portability transferring transaction signed by a user terminal and sent by the user terminal, wherein the temporary number portability transferring transaction comprises a user identifier corresponding to the user terminal and a temporary transferring deadline; the second signature module 72 is used for signing the temporary serial number portability transaction signed by the user terminal, the first broadcast module 73 is used for broadcasting the temporary serial number portability transaction with the self signature and the user terminal signature into the blockchain network, so that the pre-ported operator system corresponding to the user terminal responds to a first network connection request of the user terminal, the temporary serial number portability transaction is obtained from the blockchain network, the temporary serial number portability transaction is generated based on the temporary serial number portability transaction, the temporary serial number portability transaction is signed and sent to the user terminal, and under the condition that the temporary serial number portability transaction broadcasted by the user terminal is obtained and identified in the belonged blockchain network and has the signature of the pre-ported operator system and the signature of the user terminal, the temporary network access service is provided for the user terminal, the pre-ported service provided for the user is realized, the user can experience the service provided by the pre-ported operator system first and then decide whether to handle the serial number portability service or not, the user convenience can be increased, and the user experience is improved.
The embodiment of the invention also provides a number portability system based on the block chain network, which comprises a user terminal and an operator system. It should be noted that the operator system may include a pre-roll-in operator system and an initial operator system. For the description of the user terminal and the operator system, see the above embodiments, and are not described herein again.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and scope of the invention, and such modifications and improvements are also considered to be within the scope of the invention.
Claims (10)
1. A number portability method based on a block chain network is characterized by comprising the following steps:
responding to a first network connection request of a user terminal, and acquiring a temporary number portability corresponding to the user terminal, which is broadcasted in advance by an initial operator system, from a block chain network to which the user terminal belongs to transfer out a transaction; the temporary number portability transfer-out transaction is a transaction which is signed by the user terminal and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline;
generating a temporary number portability transfer-in transaction and signing the temporary number portability transfer-in transaction based on the temporary number portability transfer-out transaction, wherein the temporary number portability transfer-in transaction comprises temporary number portability transfer-in tariff information;
the temporary portable number which is signed by the user terminal is transferred into a transaction and sent to the user terminal;
acquiring a temporary mobile number broadcast by the user terminal in the affiliated block chain network to transfer to a transaction;
under the condition that the temporary portability number broadcasted by the user terminal is identified to have self signature and the signature of the user terminal, providing temporary network access service for the user terminal;
the step of generating a temporary number portability transaction based on the temporary number portability roll-out transaction comprises:
sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction;
responding to an authentication success message which is fed back by the initial operator system and aims at the user terminal, and generating the temporary number portability switching-in transaction;
before the sending a network authentication request for the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction, the method further includes:
judging whether the current system date is within the temporary roll-out period or not;
and under the condition that the current system date is judged to be within the temporary transfer-out period, executing the step of sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction.
2. The method of claim 1, wherein the first network connection request includes a temporary mobile number transfer-out transaction identifier, and the obtaining of the temporary mobile number transfer-out transaction corresponding to the ue, which is broadcasted in advance by an initial operator system, from the blockchain network comprises:
and acquiring the temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the block chain network according to the temporary serial number portability transaction identifier.
3. The method of claim 1, wherein in case that the user terminal needs to re-access the network after the providing the network access service for the user terminal, the method further comprises:
receiving a second network connection request sent by the user terminal, wherein the second network connection request comprises a temporary number portability outward transaction identifier and a temporary number portability inward transaction identifier;
acquiring a temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the block chain network according to the temporary serial number portability transaction identifier;
judging whether the current system date is positioned within the temporary transfer-out period in the temporary number portability transfer-out transaction;
under the condition that the current system date is judged to be within the temporary transfer-out period, acquiring a temporary number portability corresponding to the temporary number portability transfer-in transaction identifier from the block chain network according to the temporary number portability transfer-in transaction identifier;
and under the condition that the temporary number portability transaction is identified to have the self signature and the signature of the user terminal, providing network access service for the user terminal.
4. A number portability method based on a block chain network is characterized in that the method comprises the following steps:
sending a first network connection request to a pre-transfer operator system, so that the pre-transfer operator system responds to the first network connection request, acquires a temporary number portability transfer-out transaction which is broadcasted in advance by an initial operator system from a affiliated block chain network, generates a temporary number portability transfer-in transaction and signs the temporary number portability transfer-out transaction based on the temporary number portability transfer-out transaction, wherein the temporary number portability transfer-in transaction comprises temporary number portability transfer-in tariff information; the temporary number portability transferring transaction is a transaction which is signed by the user and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transferring deadline;
receiving a temporary number portability switching-in transaction which is sent by the pre-switching-in operator system and is signed by the pre-switching-in operator system;
signing the temporary ported transaction signed by the pre-ported operator system;
broadcasting the temporary number portability transaction signed by the pre-portability operator system to the block chain network so as to provide temporary network access service under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-portability operator system;
before sending the first network connection request to the pre-roll-in operator system, the method includes:
generating a temporary number portability roll-out transaction, and signing the temporary number portability roll-out transaction;
and sending the temporary number portability roll-out transaction signed by the self to an initial operator system so that the initial operator system signs the temporary number portability roll-out transaction, and broadcasting the temporary number portability roll-out transaction with the signature of the user terminal and the signature of the initial operator system to the block chain network.
5. The method of claim 4, wherein in case of needing to re-access the network corresponding to the pre-roll-in operator system, the method further comprises:
and sending a second network connection request to the pre-transfer operator system, so that after the pre-transfer operator system receives the second network connection request, the temporary number portability transfer-out transaction corresponding to the temporary number portability transfer-out transaction identifier included in the second network connection request is acquired from the blockchain network, and under the condition that the current system date is judged to be within the temporary transfer-out period, the temporary number portability transfer-in transaction corresponding to the temporary number portability transfer-out transaction identifier included in the second network connection request is acquired from the blockchain network, and under the condition that the temporary number portability transfer transaction is identified to have a self signature and a signature of the user terminal, a network access service is provided.
6. A number portability method based on a block chain network is characterized by comprising the following steps:
receiving a temporary number portability transferring transaction which is sent by a user terminal and signed by the user terminal, wherein the temporary number portability transferring transaction comprises a user identifier and a temporary transferring deadline corresponding to the user terminal;
signing the temporary number portability transaction signed by the user terminal, broadcasting the temporary number portability transaction with the self signature and the user terminal signature to a blockchain network so that a pre-transfer operator system corresponding to the user terminal can respond to a first network connection request of the user terminal, acquiring the temporary number portability transaction from the blockchain network, generating a temporary number portability transaction based on the temporary number portability transaction, signing the temporary number portability transaction and sending the signed temporary number portability transaction to the user terminal, and then acquiring and identifying the temporary number portability transaction broadcasted by the user terminal from the blockchain network to provide temporary network access service for the user terminal under the condition that the temporary number portability transaction has the signature of the pre-transfer operator system and the signature of the user terminal;
after signing the temporary number portability transaction signed by the user terminal and broadcasting the temporary number portability transaction with the self signature and the user terminal signature into the blockchain network, the method further comprises the following steps:
receiving a network authentication request aiming at the user terminal, which is sent by the pre-transfer-in operator system according to the signature of the initial operator system in the temporary number portability transfer-out transaction;
feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system based on the network authentication request so that the pre-transfer operator system can respond to the authentication success message to generate the temporary number-carrying transfer-in transaction;
the network authentication request comprises a temporary number portability transfer transaction identifier, and the feedback of the authentication success message aiming at the user terminal to the pre-transfer operator system based on the network authentication request comprises the following steps:
acquiring a temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the block chain network according to the temporary serial number portability transaction identifier;
judging whether the current system date is positioned within the temporary transfer-out period in the temporary number portability transfer-out transaction;
and under the condition that the current system date is judged to be within the temporary transfer-out period in the temporary number portability transfer-out transaction, feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system.
7. The method of claim 6, wherein after signing the temporary take-away transaction signed by the user terminal and broadcasting the temporary take-away transaction with its own signature and the user terminal signature into a blockchain network, the method further comprises:
receiving a third network connection request sent by the user terminal;
and responding to the third network connection request, and providing network access service for the user terminal based on the pre-stored user information corresponding to the user terminal.
8. A carrier system, the carrier system comprising:
a first obtaining module, configured to obtain, from a blockchain network to which a first network connection request of a user terminal belongs, a temporary take-over transaction corresponding to the user terminal that is broadcast in advance by an initial operator system; the temporary number portability transfer-out transaction is a transaction which is signed by the user terminal and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline;
the first generation module is used for generating a temporary take-over transaction based on the temporary take-over transaction;
the first signature module is used for signing the temporary number portability transaction, and the temporary number portability transaction comprises temporary number portability tariff information;
the first sending module is used for transferring the temporary portable number signed by the first sending module into a transaction and sending the transaction to the user terminal;
the first obtaining module is further configured to obtain a temporary mobile number broadcasted by the user terminal in the affiliated blockchain network to transfer to a transaction;
the first service module is used for providing temporary network access service for the user terminal under the condition that the temporary portability of the user terminal broadcast into the transaction is identified to have self signature and the signature of the user terminal;
the first generation module is specifically configured to:
sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction;
responding to an authentication success message aiming at the user terminal and fed back by the initial operator system, and generating the temporary number portability into transaction;
the operator system further comprises a first determining module configured to:
judging whether the current system date is within the temporary roll-out period or not;
and under the condition that the current system date is judged to be within the temporary transfer-out period, executing the step of sending a network authentication request aiming at the user terminal to the initial operator system according to the signature of the initial operator system in the temporary number portability transaction.
9. A user terminal, characterized in that the user terminal comprises:
the terminal sending module is used for sending a first network connection request to a pre-transfer operator system so that the pre-transfer operator system responds to the first network connection request, acquires a temporary number portability transfer-out transaction which is broadcasted in advance by an initial operator system from a affiliated block chain network, generates a temporary number portability transfer-in transaction based on the temporary number portability transfer-out transaction and signs the temporary number portability transfer-in transaction, and the temporary number portability transfer-in transaction comprises temporary number portability transfer-in tariff information; the temporary number portability transfer-out transaction is a transaction which is signed by a user terminal and the initial operator system in advance and comprises a user identifier corresponding to the user terminal and a temporary transfer-out deadline;
before sending the first network connection request to the pre-transfer operator system, the method includes:
generating a temporary number portability roll-out transaction, and signing the temporary number portability roll-out transaction;
sending the temporary number portability transaction signed by the user terminal to an initial operator system so that the initial operator system signs the temporary number portability transaction, and broadcasting the temporary number portability transaction with the signature of the user terminal and the signature of the initial operator system to the block chain network;
the terminal receiving module is used for receiving the temporary number portability switching-in transaction which is sent by the pre-switching-in operator system and is signed by the pre-switching-in operator system;
the terminal signature module is used for signing the temporary number-portability transfer-in transaction signed by the pre-transfer-in operator system;
and the terminal broadcasting module is used for broadcasting the temporary number portability transaction signed by the terminal broadcasting module to the block chain network so that the temporary network access service is provided by the pre-ported operator system under the condition that the temporary number portability transaction is identified to have the signature of the user terminal and the signature of the pre-ported operator system.
10. A carrier system, the carrier system comprising:
the second receiving module is used for receiving a temporary number portability transferring transaction which is sent by a user terminal and signed by the user terminal, wherein the temporary number portability transferring transaction comprises a user identifier and a temporary transferring deadline corresponding to the user terminal;
the second signature module is used for signing the temporary number portability transaction signed by the user terminal;
a first broadcasting module, configured to broadcast the temporary number portability transaction having the self-signature and the user terminal signature to a blockchain network, so that after a pre-roll-in operator system corresponding to the user terminal responds to a first network connection request of the user terminal and acquires the temporary number portability transaction from the blockchain network, a temporary number portability transaction is generated based on the temporary number portability transaction, the temporary number portability transaction is signed and sent to the user terminal, and after the temporary number portability transaction broadcasted by the user terminal is acquired and identified in the blockchain network to which the user terminal belongs, a temporary network access service is provided for the user terminal in a situation that the temporary number portability transaction has the self-signature and the signature of the user terminal;
the operator system further comprises an authentication module for:
receiving a network authentication request aiming at the user terminal, which is sent by the pre-transfer operator system according to the signature of the initial operator system in the temporary number portability transaction;
feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system based on the network authentication request so that the pre-transfer operator system can respond to the authentication success message to generate the temporary number-carrying transfer-in transaction;
the network authentication request comprises a temporary number portability transaction identifier, and the authentication module is specifically configured to:
acquiring a temporary serial number portability transaction corresponding to the temporary serial number portability transaction identifier from the block chain network according to the temporary serial number portability transaction identifier;
judging whether the current system date is within the temporary transfer-out period in the temporary number portability transfer-out transaction;
and under the condition that the current system date is judged to be within the temporary transfer-out period in the temporary number portability transfer-out transaction, feeding back an authentication success message aiming at the user terminal to the pre-transfer operator system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011486955.4A CN112637831B (en) | 2020-12-16 | 2020-12-16 | Number portability method and system based on block chain network and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011486955.4A CN112637831B (en) | 2020-12-16 | 2020-12-16 | Number portability method and system based on block chain network and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112637831A CN112637831A (en) | 2021-04-09 |
CN112637831B true CN112637831B (en) | 2023-02-24 |
Family
ID=75313893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011486955.4A Active CN112637831B (en) | 2020-12-16 | 2020-12-16 | Number portability method and system based on block chain network and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112637831B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113691973B (en) * | 2021-08-25 | 2023-03-24 | 中国联合网络通信集团有限公司 | Number portability method based on block chain network and operator system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103518401A (en) * | 2012-10-31 | 2014-01-15 | 华为终端有限公司 | Network switching method and device |
CN109660984A (en) * | 2019-01-04 | 2019-04-19 | 中国联合网络通信集团有限公司 | The number of taking turns network method, equipment and computer readable storage medium |
CN111132305A (en) * | 2019-12-30 | 2020-05-08 | 全链通有限公司 | Method for 5G user terminal to access 5G network, user terminal equipment and medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10848622B2 (en) * | 2019-04-18 | 2020-11-24 | Red Hat, Inc. | Control information for public switched telephone network (PSTN) using blockchain system |
-
2020
- 2020-12-16 CN CN202011486955.4A patent/CN112637831B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103518401A (en) * | 2012-10-31 | 2014-01-15 | 华为终端有限公司 | Network switching method and device |
CN109660984A (en) * | 2019-01-04 | 2019-04-19 | 中国联合网络通信集团有限公司 | The number of taking turns network method, equipment and computer readable storage medium |
CN111132305A (en) * | 2019-12-30 | 2020-05-08 | 全链通有限公司 | Method for 5G user terminal to access 5G network, user terminal equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN112637831A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8615232B2 (en) | Network-based system and method for global roaming | |
KR100699978B1 (en) | Mobile internet access | |
CN104144402B (en) | Realize the method and relevant apparatus of mobile terminal localized roaming | |
MXPA06001678A (en) | Subscriber management and accounting using event detection in a wireless device. | |
KR20070089098A (en) | Authentication method in a mobile broadcast system and system thereof | |
CN111278000B (en) | Method, device, terminal and storage medium for binding mobile phone number | |
CN112637831B (en) | Number portability method and system based on block chain network and user terminal | |
CN113543054B (en) | Relay service method and device | |
CN112218255B (en) | Terminal access method and device based on block chain network and macro base station | |
WO2008136606A1 (en) | System and method for roaming bidirectionally | |
CN111565396B (en) | System and method for rapidly realizing distribution of multiple WiFi (Wireless Fidelity) devices | |
CN112333650A (en) | Roaming charge adjustment method, device and system based on block chain network | |
KR20040062005A (en) | Method for changing function control parameter in mobile terminal | |
CN112153624A (en) | Roaming method and device | |
CN112188494B (en) | Terminal access method and device based on block chain network and micro base station | |
CN100450288C (en) | Method for improving terminal access efficiency | |
CN112911575B (en) | Network switching method, user terminal and system based on block chain network | |
KR20020069535A (en) | Apparatus and method for providing an automatic call forwarding service | |
CN112990903B (en) | Block chain-based telephone charge transfer method, transferable node and demand node | |
WO2006128359A1 (en) | An authenticating, charging and managing method and system of the public communication system | |
CN103634771A (en) | A method for automatically opening a number bound payment service, a system thereof and a terminal thereof | |
CN101795452A (en) | Method for authenticating client identification module card and terminal | |
WO2001022757A1 (en) | Method of processing charging information | |
KR20100035050A (en) | System and method for preferred roaming service through network based location registering control | |
CN101155330B (en) | Method for preferential answering multicast broadcast service |
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 |