Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The number portability calling method provided by the invention can be applied to the communication system shown in figure 1. As shown in fig. 1, the communication system includes: the department of industry node 10, the first operator node 11, the second operator node 12, and the third operator node 13, and optionally, the department of industry node 10, the first operator node 11, the second operator node 12, and the third operator node 13 are nodes in a blockchain network. Alternatively, the first operator node 11 may be a universal operator node, the second operator node 12 may be a mobile operator node, and the third operator node 13 may be a telecommunications operator node. This is for illustrative purposes only and does not limit the specific operators. In addition, in the present embodiment, the carrier node 10, the first operator node 11, the second operator node 12, and the third operator node 13 may be communication devices such as servers or terminal devices. Optionally, the blockchain network is a peer-to-peer network.
The invention provides a number portability calling method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a number portability calling method according to an embodiment of the present invention. The embodiment of the invention provides a number portability calling method aiming at the technical problems in the prior art, which comprises the following specific steps:
step 201, a first operator node receives a first broadcast message of a first user node in a blockchain network, where the first broadcast message is used to indicate that the first user node applies for number portability, the blockchain network at least includes an industry and telecommunications department node, the first operator node, and a second operator node, and an original operator corresponding to the first user node is a second operator.
In this embodiment, as shown in fig. 1, the user node 14 is originally a node belonging to a second operator, that is, the second operator provides a communication service for the user node 14, and when the user node 14 performs number portability in advance, the user node 14 sends a first broadcast message in the blockchain network, where the first broadcast message is used to indicate that the user node 14 applies for number portability, i.e., forwards the number portability from the second operator network.
Alternatively, the department of industry and telecommunication node 10, the first operator node 11, the second operator node 12, and the third operator node 13 shown in fig. 1 may be configured to receive the first broadcast message sent by the user node 14 as a mining node in the blockchain network, and store the first broadcast message locally. In addition, the first broadcast message may also be written to a new block in the blockchain network, i.e., the first broadcast message is written to a blockchain ledger.
When the second operator node 12 receives the first broadcast message sent by the user node 14, the second operator node 12 determines that the user node 14 belongs to the second operator according to the identification information of the user node 14. Optionally, the second operator node 12 locally stores user information of a user node belonging to the second operator, and since the first broadcast message is used to indicate that the user node 14 applies for number portability, that is, is ported out from the second operator network, the second operator node 12 deletes the user information of the user node 14 from the local, and performs suspension processing, charging settlement operation, and the like on the current service of the user node 14. In addition, the second operator node 12 also sends a second broadcast message in the blockchain network, optionally, the user node 14 is embodied as a mobile terminal such as a mobile phone, and the second broadcast message may include: a cell phone number of the user node 14, a message that the second operator node 12 and the user node 14 have released the contract, an identification and a public key of the second operator node 12, and the like. Optionally, the second broadcast message is signed by a private key of the second operator node 12 and then broadcast to the blockchain network.
Step 202, the first operator node receives a second broadcast message of the second operator node in the blockchain network, wherein the second broadcast message is used for indicating that the second operator node and the first user node are contracted.
When the second operator node 12 broadcasts the second broadcast message into the blockchain network, the first operator node 11 receives the second broadcast message and may determine from the second broadcast message that the second operator node 12 and the user node 14 have contracted.
Step 203, the first operator node pushes service information to the first user node according to the first broadcast message and the second broadcast message, so that the first user node signs an intelligent contract with the first operator node according to the service information.
After receiving the first broadcast message sent by the user node 14 and the second broadcast message sent by the second operator node 12, the first operator node 11 records the identification information of the user node 14, and pushes the detailed information of the service or package of the first operator to the user node 14, and optionally, the detailed information of the service or package is signed by using the private key of the first operator node 11 and then sent to the user node 14. After receiving the detailed information of the service or package pushed by the first operator node 11, the user node 14 selects one of the service packages, and signs an intelligent contract about the service package with the first operator node 11, optionally, the user node 14 signs the intelligent contract with its own private key and sends the intelligent contract to the first operator node 11, after receiving the intelligent contract, if it is determined that the intelligent contract is correct, the first operator node 11 signs the intelligent contract with its own private key for the second time, and thus, the intelligent contract is formally signed.
Step 204, the first operator node receives an account book query request sent by a call session control function entity.
As shown in fig. 1, the user node 15 is a node belonging to a first operator, and when the user node 15 calls the user node 14, the call session control function entity sends an account book query request to an operator node to which the user node 15 belongs, for example, the first operator node 11, where the account book query request is used to query identification information and province information of an operator to which the called end, i.e., the user node 14, currently belongs.
Step 205, the first operator node queries a locally stored block chain ledger according to the ledger query request, and obtains identification information and province information of an operator to which the first user node currently belongs.
Since the first operator node 11 is a node in the blockchain network, the first operator node 11 locally stores a blockchain account book, and the blockchain account book stores identification information and province information of a user node, i.e., an operator to which the user terminal currently belongs, of the number portability. When the first operator node 11 receives the account book query request sent by the call session control function entity, query the local blockchain account book, determine that the user node 14 is a user node from the second operator to the first operator, and query and obtain the identification information and provincial information of the operator to which the user node 14 currently belongs from the blockchain account book.
Step 206, the first operator node sends the identification information and provincial information of the operator to which the first user node currently belongs to a second user node calling the first user node, so that the second user node calls the first user node according to the identification information and provincial information of the operator to which the first user node currently belongs.
The first operator node 11 sends the identification information and province information of the operator to which the user node 14 currently belongs to the user node 15, and a Gateway Mobile Switching Center (GMSC) of the first operator to which the user node 15 belongs transfers a call of the user node 15 to the user node 14 to the GMSC of the operator to which the user node 14 currently belongs.
According to the embodiment of the invention, the block chain network is formed by the business information part node and the plurality of operator nodes, when the user node needs number portability, the user node broadcasts the broadcast message of the number portability network to the block chain network, so that the business information part node and the plurality of operator nodes can both receive the broadcast message and carry out number portability for the user node according to the broadcast message.
Fig. 3 is a flowchart of a number portability calling method according to another embodiment of the present invention. On the basis of the foregoing embodiment, after the first operator node pushes the service information to the user node according to the first broadcast message and the second broadcast message, the method further includes the following steps:
step 301, the first operator node receives the intelligent contract sent by the user node, and the intelligent contract is signed by the user node.
Optionally, the user node 14 signs the smart contract with its own private key and sends the signed smart contract to the first operator node 11.
Step 302, the first operator node signs the smart contract again with the private key of the first operator node.
After the first operator node 11 receives the intelligent contract, if the intelligent contract is determined to be correct, the first operator node 11 performs secondary signature on the intelligent contract by using its own private key.
And step 303, the first operator node sends the intelligent contract signed again to the user node.
The first operator node 11 sends the twice signed smart contract to the user node 14.
According to the embodiment of the invention, the block chain network is formed by the business information part node and the plurality of operator nodes, when the user node needs number portability, the user node broadcasts the broadcast message of the number portability network to the block chain network, so that the business information part node and the plurality of operator nodes can both receive the broadcast message and carry out number portability for the user node according to the broadcast message.
Fig. 4 is a flowchart of a number portability calling method according to another embodiment of the present invention. On the basis of the above embodiment, before the first operator node receives the first broadcast message of the user node in the blockchain network, the method further includes the following steps:
step 401, the first operator node sends application information to the work and correspondence department node, where the application information is used to indicate that the first operator node applies for becoming an operator node in the block chain network.
In this embodiment, the irss node may be an originator of a blockchain, and the local of the irss node stores information about each operator node in the blockchain network. For example, the carrier node locally stores a list including information about each operator node, for example, the list includes a plurality of entries, each entry including information about one operator node, for example, one entry includes an identifier and a public key of a first operator node, another entry includes an identifier and a public key of a second operator node, and yet another entry includes an identifier and a public key of a third operator node. In addition, the head office node may also update the list in real time.
When the first operator node wants to become the operator node in the block chain network where the business department node is located, the first operator node sends application information to the business department node, wherein the application information is used for indicating that the first operator node applies to become the operator node in the block chain network. Optionally, the application information includes information such as an identifier, a public key, a company name, a legal representative (name + identification number), a registered capital, a registered address, an enterprise registration number (registration number such as 569876654324567), and an establishment time corresponding to the first operator node.
When the business and information department node receives the application information sent by the first operator node, the business and information department node verifies the operator qualification of the first operator node, if the business and information department node passes the verification of the operator qualification of the first operator node, the business and information department node further verifies the locally stored basic information of each operator node, and optionally, the basic information of each operator node comprises the identification, the public key, the terminal equipment number and other information of each operator node; if the business and information department node also passes the verification of the stored basic information of each operator node, the business and information department node sends a broadcast message to the block link network, wherein the broadcast message may specifically include a verification result of the business and information department node on the operator qualification of the first operator node, and the verification result indicates that the business and information department node passes the operator qualification verification of the first operator node. Optionally, the work and trust department node uses its private key to sign the audit result and broadcasts the result to the blockchain network. Further, the carrier node adds information about the first operator node to a list stored locally at the carrier node.
Step 402, the first operator node receives an audit result sent by the Ministry of industry and communications node, where the audit result indicates that the Ministry of industry and communications node passes the operator qualification audit of the first operator node.
According to the embodiment of the invention, the block chain network is formed by the business information part node and the plurality of operator nodes, when the user node needs number portability, the user node broadcasts the broadcast message of the number portability network to the block chain network, so that the business information part node and the plurality of operator nodes can both receive the broadcast message and carry out number portability for the user node according to the broadcast message.
Fig. 5 is a flowchart of a number portability calling method according to another embodiment of the present invention. On the basis of the above embodiment, the number portability method provided in this embodiment specifically includes the following steps:
step 501, when the first operator node joins the blockchain network for the first time, the first operator node broadcasts the identity information, the identification information and the public key of the first operator node in the blockchain network.
In this embodiment, the trusteeship node may be an originator of the blockchain, and the trusteeship node issues an created block corresponding to the blockchain network in a broadcast message manner, where the created block includes an identifier of the trusteeship node, a public key, identity information of the originator, and a network address of the trusteeship node. Optionally, the work and information department node signs the broadcast message with its own private key, and broadcasts the signed broadcast message to the block chain network, and optionally, the created block is a first block of a block chain corresponding to the block chain network.
When the first operator node joins the blockchain network for the first time, information such as identity information, identification information and a public key of the first operator node is broadcasted in the blockchain network. Optionally, the first operator node encrypts information such as identity information, identification information, and a public key of the first operator node using its own private key, and broadcasts the encrypted information to the blockchain network.
Step 502, the first operator node obtains a created block in the block link network, where the created block includes network address information of the Ministry of industry and information node.
Optionally, the first operator node queries its neighboring node for the created block in the blockchain network, for example, the first operator node sends a query request to its neighboring node, where the query request is used to query the created block in the blockchain network. Optionally, the first operator node signs the query request with its own private key and sends the signed query request to the neighboring nodes, where the number of the neighboring nodes is not limited, and may be multiple or one. If the number of the adjacent nodes of the first operator node is multiple, the first operator node receives the created blocks respectively sent by the multiple adjacent nodes, the created blocks respectively sent by the multiple adjacent nodes may be the same or different, and if the created blocks respectively sent by the multiple adjacent nodes are different, the first operator node determines that created blocks exceeding a certain number percentage threshold among the created blocks respectively sent by the multiple adjacent nodes are real; if the created blocks sent by the adjacent nodes are the same, the first operator node determines that the created blocks are real.
Step 503, the first operator node sends application information to the Ministry of industry and telecommunication node according to the network address information of the Ministry of industry and telecommunication node.
When the first operator node acquires a real created block from an adjacent node, the created block is stored locally, network address information of the Ministry of industry and communications node is acquired from the created block, and application information is sent to the Ministry of industry and communications node according to the network address information of the Ministry of industry and communications node.
Step 504, the first operator node receives an audit result sent by the Ministry of industry and communications node, where the audit result indicates that the Ministry of industry and communications node passes the operator qualification audit of the first operator node.
Step 505, a first operator node receives a first broadcast message of a user node in a block chain network, where the first broadcast message is used to indicate that the user node applies for number portability, the block chain network at least includes an industry and communication department node, the first operator node, and a second operator node, and an original operator corresponding to the user node is a second operator.
Step 506, the first operator node receives a second broadcast message of the second operator node in the blockchain network, wherein the second broadcast message is used for indicating that the second operator node and the user node are contracted.
Step 507, the first operator node pushes service information to the user node according to the first broadcast message and the second broadcast message, so that the user node signs an intelligent contract with the first operator node according to the service information.
Step 508, the first operator node receives the intelligent contract sent by the user node, and the intelligent contract is signed by the user node.
Step 509, the first operator node signs the smart contract again with the private key of the first operator node.
And step 510, the first operator node sends the intelligent contract signed again to the user node.
The specific processes and implementation principles of steps 504-510 are consistent with those described in the above embodiments, and are not described herein again.
According to the embodiment of the invention, the block chain network is formed by the business information part node and the plurality of operator nodes, when the user node needs number portability, the user node broadcasts the broadcast message of the number portability network to the block chain network, so that the business information part node and the plurality of operator nodes can both receive the broadcast message and carry out number portability for the user node according to the broadcast message.
Fig. 6 is a flowchart of a number portability calling method according to another embodiment of the present invention. On the basis of the foregoing embodiment, when the user node 15 is used as the user node 14 for forwarding the calling number portability after the intelligent contract is formally signed, the method may further include the following steps, where the user terminal C shown in fig. 6 is specifically the user node 15, and the user terminal D is specifically the user node 14:
step 601, the user terminal C sends a service request message to the base station.
Step 602, the base station sends a service request message to the mobility management entity.
Step 603, the mobility management entity sends a radio connection establishment request to the base station.
Step 604, the base station establishes a related radio bearer.
Step 605, the user terminal C sends an uplink data invitation message to the base station.
Step 606, the base station sends an uplink data invitation message to the serving gateway.
Step 607, the service gateway sends the upstream data invitation message to the proxy gateway.
Step 608, the serving gateway sends an uplink data invite message to the call session control function entity.
Step 609, the base station sends a wireless connection establishment request response message to the mobility management entity.
Step 610, the mobility management entity sends a bearer modification message to the serving gateway.
Step 611, the serving gateway sends the downlink data to the base station.
Step 612, the service gateway sends the bearer modification procedure to the proxy gateway.
Step 613, the proxy gateway sends a bearer modification response message to the serving gateway.
Step 614, the serving gateway sends a bearer modification response message to the mobility management entity.
Step 615, the call session control function entity sends an account book query request to an operator node of an operator to which the user terminal C belongs.
Step 616, the operator node of the operator to which the user terminal C belongs sends the operator identifier and the identity tag of the user terminal D to the user terminal C.
According to the embodiment of the invention, the block chain network is formed by the business information part node and the plurality of operator nodes, when the user node needs number portability, the user node broadcasts the broadcast message of the number portability network to the block chain network, so that the business information part node and the plurality of operator nodes can both receive the broadcast message and carry out number portability for the user node according to the broadcast message.
Fig. 7 is a schematic structural diagram of an operator node according to an embodiment of the present invention. The operator node may specifically be the first operator node in the above embodiment. As shown in fig. 7, the operator node 70 may execute the processing procedure provided in the number portability calling method, and includes: memory 71, processor 72, computer programs and communication interface 73; wherein the computer program is stored in the memory 71 and is configured to be executed by the processor 72 for: receiving a first broadcast message of a first user node in a blockchain network through the communication interface, wherein the first broadcast message is used for indicating that the first user node applies for number portability, the blockchain network at least comprises an industry and telecommunication department node, the operator node and other operator nodes, and an original operator corresponding to the first user node is a second operator; receiving a second broadcast message of the other operator node in the blockchain network through the communication interface, wherein the second broadcast message is used for indicating that the other operator node and the first user node are contracted; pushing service information to the first user node through the communication interface according to the first broadcast message and the second broadcast message so that the first user node signs an intelligent contract with the operator node according to the service information; receiving an account book query request sent by a call session control function entity through the communication interface; inquiring a block chain account book stored locally according to the account book inquiry request to obtain identification information and provincial information of an operator to which the first user node belongs currently; and sending the identification information and provincial information of the current operator of the first user node to a second user node calling the first user node through the communication interface so that the second user node calls the first user node according to the identification information and the provincial information of the current operator of the first user node.
Optionally, the processor is further configured to: receiving the intelligent contract sent by the user node through the communication interface, wherein the intelligent contract is signed by the user node; re-signing the intelligent contract with a private key of the operator node; and sending the intelligent contract signed again to the user node through the communication interface.
Optionally, the processor is further configured to: sending application information to the Ministry of industry and telecommunication node through the communication interface, wherein the application information is used for indicating that the operator node applies to become the operator node in the block chain network; and receiving an auditing result sent by the business and information department node through the communication interface, wherein the auditing result indicates that the business and information department node passes the operator qualification auditing of the operator node.
Optionally, the processor is further configured to: acquiring a created block in the block chain network, wherein the created block comprises network address information of the Ministry of industry and information node; the processor is specifically configured to, when sending application information to the Ministry of industry and communications node through the communication interface: and sending application information to the Ministry of industry and information node through the communication interface according to the network address information of the Ministry of industry and information node.
Optionally, the processor is further configured to: when the operator node is added into the block chain network for the first time, the identity information, the identification information and the public key of the operator node are broadcasted in the block chain network through the communication interface.
The operator node in the embodiment shown in fig. 7 may be configured to execute the technical solution of the above method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the number portability calling method described in the above embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.