Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The number of taking provided by the invention turns net method of calling, can be adapted for communication system shown in FIG. 1.As shown in Figure 1, should
Communication system includes: Ministry of Industry and Information's node 10, the first operator node 11, the second operator node 12, third operator node 13,
Optionally, Ministry of Industry and Information's node 10, the first operator node 11, the second operator node 12, third operator node 13 are blocks
Node in chain network.Optionally, the first operator node 11 can be connection operator node, and the second operator node 12 can
To be mobile operator node, third operator node 13 can be telecom operators' node.It only schematically illustrates herein, and
Specific operator is not limited.In addition, in the present embodiment, Ministry of Industry and Information's node 10, the first operator node 11, the second operator
Node 12, third operator node 13 specifically can be communication equipment such as server or terminal device.Optionally, the block chain
Network is peer-to-peer network.
The number of taking provided by the invention turns net method of calling, it is intended to solve the technical problem as above of the prior art.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is that the number of taking provided in an embodiment of the present invention turns net method of calling flow chart.The embodiment of the present invention is directed to existing skill
The technical problem as above of art provides the number of taking and turns net method of calling, and specific step is as follows for this method:
Step 201, the first operator node receive first broadcast message of first user node in block chain network, institute
The first broadcast message is stated for indicating that the first user node application number of taking turns net, the block chain network is believed including at least work
Portion's node, first operator node and the second operator node, the corresponding former operator of first user node are the
Two operators.
In the present embodiment, as shown in Figure 1,14 script of user node is the node for belonging to the second operator, that is to say, that
It is that user node 14 provides communication service by the second operator, when user node 14 carries out the number of taking in advance turns net, user node 14
The first broadcast message is sent in block chain network, first broadcast message is for indicating that user node 14 applies for that the number of taking turns net i.e.
It is produced from the second carrier network.
Optionally, Ministry of Industry and Information's node 10 as shown in Figure 1, the first operator node 11, the second operator node 12, third
Operator node 13 receives the first broadcast message that user node 14 is sent as the digging mine node in the block chain network, and will
First broadcast message is stored in local.In addition, this first broadcast message can also be written to it is new in the block chain network
In block, i.e., first broadcast message is written in block chain account book.
When the second operator node 12 receives the first broadcast message of the transmission of user node 14, the second operator node
12 determine that the user node 14 belongs to the second operator according to the identification information of the user node 14.Optionally, the second operator
The user information for belonging to the user node of the second operator is locally stored in node 12, since first broadcast message is for indicating
User node 14 applies for that the number of taking turns net and produces from the second carrier network, then the second operator node 12 is by user node 14
User information from local deletion, and to the current business of the user node 14 carry out pause processing, charge accounting operation etc..Separately
Outside, the second operator node 12 sends the second broadcast message also in the block chain network, and optionally, user node 14 is specially
Mobile terminal such as mobile phone, second broadcast message can include: the phone number of user node 14,12 and of the second operator node
User node 14 has released the information such as the message of contract, the mark of the second operator node 12 and public key.Optionally, the second broadcast
Message using the second operator node 12 private key signature after be broadcast in the block chain network.
Step 202, first operator node receive second operator node in the block chain network
Second broadcast message, second broadcast message is for indicating that second operator node and first user node have solved
Except contract.
When the second operator node 12 by second broadcast into the block chain network when, the first operator section
Point 11 receives second broadcast message, and can determine the second operator node 12 and user node 14 according to second broadcast message
Contract is released.
Step 203, first operator node are according to first broadcast message and second broadcast message, to institute
The first user node sending business information is stated, so that first user node is according to the business information and first operation
Quotient's node signs intelligent contract.
First operator node 11 receives the first broadcast message and the second operator node 12 of the transmission of user node 14
After the second broadcast message sent, the identification information of user node 14 is recorded, and push the first operator to user node 14
Business or set meal details, optionally, the details of the business or set meal use first operator node
User node 14 is sent to after 11 private key signature.User node 14 receive the first operator node 11 push business or
After the details of set meal, a service package therein is selected, and sign about the business with first operator node 11
The intelligent contract of set meal, optionally, user node 14 are sent to the first fortune after signing using the private key of oneself to the intelligence contract
Quotient's node 11 is sought, after the first operator node 11 receives the intelligence contract, if it is determined that the intelligence contract is errorless, then the first fortune
It seeks quotient's node 11 and dual signature is carried out to the intelligence contract using the private key of oneself, so far, which, which formally signs, finishes.
Step 204, first operator node receive the account book inquiry request that call conversation control function entity is sent.
As shown in Figure 1, user node 15 is the node of belonging first operator, when 15 calling party's node of user node
When 14, call conversation control function entity is sent to such as the first operator node 11 of operator node belonging to user node 15
Account book inquiry request, the account book inquiry request is for inquiring the called end i.e. identification information of the current operator of user node 14
With province information.
Step 205, first operator node inquire the block chain account being locally stored according to the account book inquiry request
This, obtains the identification information and province information of the current operator of the first user node.
Since the first operator node 11 is the node in block chain network, which has been locally stored
Block chain account book is stored with the mark that the number of taking turns the current operator of user node i.e. user terminal of net in the block chain account book
Know information and province information.When the account book inquiry that the first operator node 11 receives call conversation control function entity transmission is asked
When asking, local block chain account book is inquired, determines that user node 14 is to turn net to the first operator from second operator's number of taking
User node, and inquiry obtains the identification information and province letter of the current operator of user node 14 from the block chain account book
Breath.
Step 206, first operator node send institute to the second user node for calling first user node
The identification information and province information of the current operator of the first user node are stated, so that the second user node is according to
First user node described in the identification information and province information calls of the current operator of first user node.
First operator node 11 to user node 15 send the current operator of user node 14 identification information and
Province information, Gateway Mobile Switching Center (the Gateway Mobile of the first operator belonging to user node 15
Switching Center, GMSC) user node 15 is current affiliated to user node 14 to the call diversion of user node 14
Operator GMSC.
The embodiment of the present invention constitutes block chain network by Ministry of Industry and Information's node and multiple operator nodes, when user node needs
When the number of taking turns net, the broadcast which turns to net by the number of taking is into the block chain network, so that Ministry of Industry and Information saves
Point and multiple operator nodes can receive the broadcast message, and be that the user node carries out the number of taking turn according to the broadcast message
Net, compared with the prior art in the number of taking porting process, reduce fussy degree, improve the number of taking turn net efficiency.
Fig. 3 be another embodiment of the present invention provides the number of taking turn net method of calling flow chart.On the basis of above-described embodiment
On, first operator node is pushed away according to first broadcast message and second broadcast message, Xiang Suoshu user node
Further include following steps after sending business information:
Step 301, first operator node receive the intelligent contract that the user node is sent, the intelligence
Contract is signed by the user node.
Optionally, user node 14 is sent to the first operator node after signing using the private key of oneself to the intelligence contract
11。
Step 302, first operator node are using the private key of first operator node to the intelligent contract
It signs again.
After first operator node 11 receives the intelligence contract, if it is determined that the intelligence contract is errorless, then the first operation
Quotient's node 11 carries out dual signature to the intelligence contract using the private key of oneself.
The intelligent contract after step 303, first operator node will sign again is sent to user's section
Point.
The intelligence contract after dual signature is sent to user node 14 by the first operator node 11.
The embodiment of the present invention constitutes block chain network by Ministry of Industry and Information's node and multiple operator nodes, when user node needs
When the number of taking turns net, the broadcast which turns to net by the number of taking is into the block chain network, so that Ministry of Industry and Information saves
Point and multiple operator nodes can receive the broadcast message, and be that the user node carries out the number of taking turn according to the broadcast message
Net, compared with the prior art in the number of taking porting process, reduce fussy degree, improve the number of taking turn net efficiency.
Fig. 4 be another embodiment of the present invention provides the number of taking turn net method of calling flow chart.On the basis of above-described embodiment
On, it further include as follows before first operator node receives the first broadcast message of the user node in block chain network
Step:
Step 401, first operator node send application information to Ministry of Industry and Information's node, and the application information is used
The operator node in the block chain network is applied to become in expression first operator node.
In the present embodiment, Ministry of Industry and Information's node can be the founder of block chain, which has been locally stored
The relevant information of each operator node in the block chain network.For example, a list has been locally stored in Ministry of Industry and Information's node, it should
List includes the relevant information of each operator node, such as the list includes multiple entries, and each entry includes an operator
The relevant information of node, for example, one of entry includes the mark and public key of the first operator node, another entry packet
The mark and public key of the second operator node are included, another entry includes the mark and public key of third operator node.Separately
Outside, which can be with the real-time update list.
When the operator node in the block chain network where the first operator node wants to be Ministry of Industry and Information's node, the
One operator node to Ministry of Industry and Information's node send application information, this application information for indicate the first operator node application at
For the operator node in the block chain network.Optionally, this application information includes the corresponding mark of the first operator node, public affairs
Key, Business Name, legal representative's (name+identification card number), registered capital, registered address, (number of registration is such as Business Registration Number
569876654324567) information such as time, are set up.
When the Ministry of Industry and Information, node receives this application information of the first operator node transmission, Ministry of Industry and Information's node is to this
Operator's qualification of first operator node is audited, if Ministry of Industry and Information's node is to the operator of first operator node
Aptitude checking passes through, then further audits the essential information of locally stored each operator node, optionally, each operation
The essential information of quotient's node includes the information such as mark, public key and the terminal device number of each operator node;If the work is believed
Portion's node, which also audits the essential information of stored each operator node, to be passed through, then Ministry of Industry and Information's node is to the block link network
Broadcast message is sent in network, which can specifically include Ministry of Industry and Information's node and provide to the operator of the first operator node
The auditing result of matter, the auditing result indicate Ministry of Industry and Information's node to operator's aptitude checking of first operator node
Pass through.Optionally, which is broadcast in the block chain network after being signed using the private key of oneself to the auditing result.
Further, which is added to the column that Ministry of Industry and Information's node is locally stored for the relevant information of first operator node
In table.
Step 402, first operator node receive the auditing result that Ministry of Industry and Information's node is sent, the audit knot
Fruit indicates that Ministry of Industry and Information's node passes through operator's aptitude checking of first operator node.
The embodiment of the present invention constitutes block chain network by Ministry of Industry and Information's node and multiple operator nodes, when user node needs
When the number of taking turns net, the broadcast which turns to net by the number of taking is into the block chain network, so that Ministry of Industry and Information saves
Point and multiple operator nodes can receive the broadcast message, and be that the user node carries out the number of taking turn according to the broadcast message
Net, compared with the prior art in the number of taking porting process, reduce fussy degree, improve the number of taking turn net efficiency.
Fig. 5 be another embodiment of the present invention provides the number of taking turn net method of calling flow chart.On the basis of above-described embodiment
On, the number of taking provided in this embodiment turns network method and specifically comprises the following steps:
Step 501, when the block chain network is added in first operator node for the first time, first operator section
Point broadcasts identity information, identification information and the public key of first operator node in the block chain network.
In the present embodiment, Ministry of Industry and Information's node can be the founder of block chain, and Ministry of Industry and Information's node is to broadcast the message
Mode issues the corresponding wound generation block of the block chain network in block chain network, which includes Ministry of Industry and Information's node
The network address of mark, public key, the identity information of founder and Ministry of Industry and Information's node.Optionally, which uses
The private key of oneself signs to the broadcast message, and by the broadcast after signature into the block chain network, can
Choosing, which is first block of the corresponding block chain of the block chain network.
When the block chain network is added in first operator node for the first time, broadcast should first in the block chain network
The information such as identity information, identification information and the public key of the first operator node.Optionally, which uses oneself
Private key to the information such as the identity information, identification information and public key of first operator node encryption after be broadcast to the block link network
In network.
Step 502, first operator node obtain the wound generation block in the block chain network, the wound generation block
Network address information including Ministry of Industry and Information's node.
Optionally, which inquires the wound generation block in the block chain network to the adjacent node of oneself,
For example, first operator node sends inquiry request to the adjacent node of oneself, the inquiry request is for inquiring the block chain
Wound generation block in network.Optionally, which is sent after being signed using the private key of oneself to the inquiry request
To adjacent node, the number of adjacent node is not limited herein, can be multiple, be also possible to one.If first operator saves
The number of the adjacent node of point is wound generation multiple, then that first operator node will receive multiple adjacent nodes and send respectively
Block, the wound generation block that multiple adjacent node is sent respectively may be identical, it is also possible to and it is different, if multiple adjacent node
The wound generation block sent respectively is different, then first operator node determines the wound generation block that multiple adjacent node is sent respectively
In be more than certain amount percentage threshold wound generation block be true;If the area Chuan Shi that multiple adjacent node is sent respectively
Block is identical, then first operator node determines that the wound generation block is true.
Step 503, first operator node are believed according to the network address information of Ministry of Industry and Information's node to the work
Portion's node sends application information.
When first operator node gets true wound generation block from adjacent node, which is stored in
Locally, and from the wound generation block network address information of Ministry of Industry and Information's node is obtained out, and according to the net of Ministry of Industry and Information's node
Network address information sends application information to Ministry of Industry and Information's node.
Step 504, first operator node receive the auditing result that Ministry of Industry and Information's node is sent, the audit knot
Fruit indicates that Ministry of Industry and Information's node passes through operator's aptitude checking of first operator node.
Step 505, the first operator node receive first broadcast message of the user node in block chain network, and described the
One broadcast message turns net for indicating the user node application number of taking, the block chain network include at least Ministry of Industry and Information's node,
First operator node and the second operator node, the corresponding former operator of the user node is the second operator.
Step 506, first operator node receive second operator node in the block chain network
Second broadcast message, second broadcast message is for indicating that second operator node and the user node have released conjunction
About.
Step 507, first operator node are according to first broadcast message and second broadcast message, to institute
User node sending business information is stated, so that the user node is according to the business information and the first operator node label
Order intelligent contract.
Step 508, first operator node receive the intelligent contract that the user node is sent, the intelligence
Contract is signed by the user node.
Step 509, first operator node are using the private key of first operator node to the intelligent contract
It signs again.
The intelligent contract after step 510, first operator node will sign again is sent to user's section
Point.
The detailed process and realization principle of step 504- step 510 are consistent with process and principle described in above-described embodiment,
It is not repeating herein.
The embodiment of the present invention constitutes block chain network by Ministry of Industry and Information's node and multiple operator nodes, when user node needs
When the number of taking turns net, the broadcast which turns to net by the number of taking is into the block chain network, so that Ministry of Industry and Information saves
Point and multiple operator nodes can receive the broadcast message, and be that the user node carries out the number of taking turn according to the broadcast message
Net, compared with the prior art in the number of taking porting process, reduce fussy degree, improve the number of taking turn net efficiency.
Fig. 6 be another embodiment of the present invention provides the number of taking turn net method of calling flow chart.On the basis of above-described embodiment
On, after intelligent contract is formally signed, when user node 15 turns user node 14 of net as the calling number of taking, also
It can specifically comprise the following steps, wherein user terminal C as shown in FIG. 6 is specially user node 15, and user terminal D is specific
For user node 14:
Step 601, user terminal C send business request information to base station.
Step 602, base station send business request information to mobile management entity.
Step 603, mobile management entity, which send to be wirelessly connected to base station, establishes request.
Step 604, base station establish relevant radio bearer.
Step 605, user terminal C send upstream data invitation message to base station.
Step 606, base station send upstream data invitation message to gateway.
Step 607, gateway send upstream data invitation message to proxy gateway.
Step 608, gateway send upstream data invitation message to call conversation control function entity.
Step 609, base station, which send to be wirelessly connected to mobile management entity, establishes request response.
Step 610, mobile management entity send bearing modification message to gateway.
Step 611, gateway send downlink data to base station.
Step 612, gateway send bearing modification process to proxy gateway.
Step 613, proxy gateway send bearing modification response message to gateway.
Step 614, gateway send bearing modification response message to mobile management entity.
Step 615, call conversation control function entity send account to the operator node of operator belonging to user terminal C
This inquiry request.
The operator node of operator belonging to step 616, user terminal C sends the fortune of user terminal D to user terminal C
Seek trade mark knowledge and identity label.
The embodiment of the present invention constitutes block chain network by Ministry of Industry and Information's node and multiple operator nodes, when user node needs
When the number of taking turns net, the broadcast which turns to net by the number of taking is into the block chain network, so that Ministry of Industry and Information saves
Point and multiple operator nodes can receive the broadcast message, and be that the user node carries out the number of taking turn according to the broadcast message
Net, compared with the prior art in the number of taking porting process, reduce fussy degree, improve the number of taking turn net efficiency.
Fig. 7 is the structural schematic diagram of operator node provided in an embodiment of the present invention.The operator node specifically can be
The first operator node in above-described embodiment.Operator node provided in an embodiment of the present invention can execute the number of taking and turn net calling
The process flow that embodiment of the method provides, as shown in fig. 7, operator node 70 includes: memory 71, processor 72, computer
Program and communication interface 73;Wherein, computer program is stored in memory 71, and is configured as being executed by processor 72 following
Operation: first broadcast message of first user node in block chain network is received by the communication interface, described first is wide
Broadcast message and turn net for indicating the first user node application number of taking, the block chain network include at least Ministry of Industry and Information's node,
The operator node and other operator nodes, the corresponding former operator of first user node is the second operator;It is logical
It crosses the communication interface and receives second broadcast message of other the described operator nodes in the block chain network, described second
Broadcast message is for indicating that other described operator nodes and first user node have released contract;It is wide according to described first
Message and second broadcast message are broadcast, by the communication interface to the first user node sending business information, so that
First user node signs intelligent contract according to the business information and the operator node;Pass through the communication interface
Receive the account book inquiry request that call conversation control function entity is sent;It is locally stored according to account book inquiry request inquiry
Block chain account book obtains the identification information and province information of the current operator of the first user node;By described logical
Communication interface sends the current operator of the first user node to the second user node for calling first user node
Identification information and province information so that the second user node is according to the current operator of the first user node
First user node described in identification information and province information calls.
Optionally, the processor is also used to: receiving the intelligence that the user node is sent by the communication interface
Energy contract, the intelligence contract are signed by the user node;Using the private key of the operator node to the intelligence
Contract is signed again;The intelligent contract after being signed again by the communication interface is sent to the user node.
Optionally, the processor is also used to: application information is sent to Ministry of Industry and Information's node by the communication interface,
The application information is for indicating that the operator node applies to become the operator node in the block chain network;Pass through institute
It states communication interface and receives the auditing result that Ministry of Industry and Information's node is sent, the auditing result indicates Ministry of Industry and Information's node to institute
The operator's aptitude checking for stating operator node passes through.
Optionally, the processor is also used to: obtaining the wound generation block in the block chain network, the wound generation block packet
Include the network address information of Ministry of Industry and Information's node;The processor is sent by the communication interface to Ministry of Industry and Information's node
It is specifically used for when application information: is believed by the communication interface to the work according to the network address information of Ministry of Industry and Information's node
Portion's node sends application information.
Optionally, the processor is also used to: when the block chain network is added in the operator node for the first time, being passed through
The communication interface broadcasts the identity information, identification information and public key of the operator node in the block chain network.
The operator node of embodiment illustrated in fig. 7 can be used for executing the technical solution of above method embodiment, realize former
Reason is similar with technical effect, and details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize that the number of taking described in above-described embodiment turns net method of calling.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
OnlyMemory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various can
To store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.