Disclosure of Invention
In view of the above, the present invention provides a network switching method, device and blockchain system, which are used for solving the problem that the current networks of different operators are repeatedly covered in the same area, but the terminal accessing one of the operators cannot be switched to the other operators.
In order to solve the above technical problem, in a first aspect, the present invention provides a blockchain system, including a plurality of blockchain nodes, wherein at least one of the blockchain nodes is physically connected to a core network of a first operator network, and at least one of the blockchain nodes is physically connected to a core network of a second operator network.
In a second aspect, the present invention provides a network switching method, which is applied to the above blockchain system, including:
receiving a first switching request sent by a first core network entity, wherein the first core network entity is a core network entity of a first operator network, the first core network entity is connected with a block chain link point in the block chain system, the first switching request comprises a measurement result reported by a terminal accessing the first operator network, and the first switching request is used for requesting to switch the terminal to a second operator network;
Performing switching judgment according to the measurement result, and forming a switching judgment result of whether switching across operators is allowed or not;
and sending the switching judgment result to the first core network entity.
Preferably, the measurement result includes at least one of:
cell signal strength of a serving cell of the terminal;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
Preferably, the step of performing a handover decision according to the measurement result and forming a handover decision result of whether to allow handover across operators includes:
if the cell signal intensity of the service cell is smaller than a first preset threshold value and the cell signal intensity of the base station of the second operator network is larger than a second preset threshold value, a switching judgment result allowing switching across operators is formed, otherwise, a switching judgment result not allowing switching across operators is formed; or,
and if the cell load of the service cell is larger than a third preset threshold value and the cell load of the base station of the second operator network is smaller than a fourth preset threshold value, forming a switching judgment result allowing the switching across operators, otherwise, forming a switching judgment result not allowing the switching across operators.
Preferably, after the step of performing a handover decision according to the measurement result and forming a handover decision result of whether to allow handover across operators, the method further includes:
and recording the switching judgment result and carrying out consensus among the block chain nodes of the block chain system.
Preferably, if the handover decision result is that handover across operators is allowed, the step of sending the handover decision result to the first core network entity further includes:
receiving an authentication information request sent by a third core network entity of a second operator network, wherein the third core network entity is connected with a block chain link point in the block chain system, and the authentication information request is used for requesting authentication information of the terminal in a first operator network;
and sending the authentication information of the terminal to the third core network entity according to the authentication information request.
Preferably, before the step of sending the authentication information of the terminal to the third core network entity according to the authentication information request, the method further includes:
receiving authentication information of the terminal sent by a fourth core network entity of a first operator network, wherein the fourth core network entity is connected with a block chain link point in the block chain system;
And synchronizing among all the block chain nodes of the block chain system through a consensus mechanism so as to finish the authentication information uplink of the terminal.
Preferably, after the step of synchronizing among the blockchain nodes of the blockchain system through the consensus mechanism to complete the uplink of the authentication information of the terminal, the method further comprises:
and sending a uplink result of authentication information of the terminal to a fourth core network entity of the first operator network, wherein the uplink result comprises uplink success and uplink failure.
In a third aspect, the present invention further provides a network switching method, applied to a first core network entity of a first operator network, where the first core network entity is connected to a block link point in the above block chain system, the method includes:
receiving a switching preparation request sent by a base station of a first operator network, wherein the switching preparation request is generated by the base station of the first operator network according to a measurement result reported by a terminal accessed to the first operator network, and the switching preparation request comprises the measurement result;
sending a first switching request to the blockchain system according to the switching preparation request, wherein the first switching request is used for requesting to switch the terminal to a second operator network, and the first switching request comprises the measurement result;
Receiving a switching judgment result sent by the block chain system, wherein the switching judgment result is formed by the block chain system after switching judgment according to the measurement result;
and sending the switching judgment result to the base station of the first operator network.
Preferably, the measurement result includes at least one of:
cell signal strength of a serving cell of the terminal;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
In a fourth aspect, the present invention further provides a network handover method applied to a second core network entity of a second operator network, where the second core network entity is connected to a block link point in the block chain system, and the method includes:
receiving a second switching request sent by a terminal accessing a first operator network, wherein the second switching request is used for requesting to switch to the second operator network;
and sending a user authentication request to a third core network entity of a second operator network according to the second switching request, so that the third core network entity requests and acquires authentication information of the terminal from the blockchain system and completes bidirectional authentication between the terminal and the second operator network, and the third core network entity is connected with a blockchain link point in the blockchain system.
In a fifth aspect, the present invention further provides a network handover method applied to a third core network entity of a second operator network, where the third core network entity is connected to a block link point in the block chain system, and the method includes:
receiving a user authentication request sent by a second core network entity of a second operator network, wherein the second core network entity is connected with a block chain link point in the block chain system;
transmitting an authentication information request to the blockchain system according to the user authentication request, wherein the authentication information request is used for requesting authentication information of a terminal accessing a first operator network;
receiving authentication information of the terminal sent by the blockchain system, wherein the authentication information of the terminal is acquired by the blockchain system according to the authentication information request;
and completing the bidirectional authentication with the terminal according to the authentication information of the terminal.
Preferably, the authentication information of the terminal sent by the blockchain system is encrypted data, and the step of completing bidirectional authentication with the terminal according to the authentication information of the terminal includes:
decrypting the authentication information of the terminal;
And carrying out bidirectional authentication according to the decrypted authentication information of the terminal.
In a sixth aspect, the present invention further provides a network handover method, applied to a fourth core network entity of the first operator network, where the fourth core network entity is connected to a block link point in the above-mentioned block chain system, the method includes:
and sending authentication information of a terminal to the blockchain system to finish the uplink of the authentication information of the terminal, wherein the terminal is accessed to the first operator network.
Preferably, after the step of sending the authentication information of the terminal to the blockchain system, the method further includes:
and receiving a uplink result of authentication information of the terminal sent by the block chain system, wherein the uplink result comprises uplink success and uplink failure.
In a seventh aspect, the present invention further provides a network handover method, applied to a terminal, where the terminal has access to a first operator network, the method including:
measuring a serving cell and a neighboring cell, the neighboring cell including a cell of a base station of a second operator network, and forming a measurement result;
judging that switching to the second operator network is required according to the measurement result;
Transmitting the measurement result to a base station of the first operator network;
and receiving a switching judgment result sent by the base station of the first operator network, wherein the switching judgment result is obtained by performing switching judgment by the block chain system according to the measurement result.
Preferably, the measurement result includes at least one of:
cell signal strength of the serving cell;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
Preferably, after the step of receiving the handover decision result sent by the base station of the first operator network, the method further includes:
if the switching judgment result is that switching across operators is allowed, a second switching request is sent to a second core network entity of a second operator network, wherein the second switching request is used for requesting switching to the second operator network, and the second core network entity is connected with a block chain link point of the block chain system;
and performing bidirectional authentication with a third core network entity of a second operator network to switch to the second operator network, wherein the third core network entity is connected with a block chain link point in the block chain system.
In an eighth aspect, the present invention further provides a blockchain system including a plurality of blockchain nodes, wherein at least one of the blockchain nodes is physically connected to a core network of a first operator network, and at least one of the blockchain nodes is physically connected to a core network of a second operator network, the blockchain system further comprising:
a transceiver, configured to receive a first handover request sent by a first core network entity, where the first core network entity is a core network entity of a first operator network, the first core network entity is connected to a block link point in the block chain system, the first handover request includes a measurement result reported by a terminal accessing the first operator network, and the first handover request is used to request handover of the terminal to a second operator network;
the processor is used for carrying out switching judgment according to the measurement result and forming a switching judgment result of whether switching across operators is allowed or not;
the transceiver is further configured to send the handover decision result to the first core network entity.
In a ninth aspect, the present invention further provides a first core network entity, where the first core network entity belongs to a first operator network, and the first core network entity is connected to a block link point in the block chain system, and includes:
A transceiver, configured to receive a handover preparation request sent by a base station of a first operator network, where the handover preparation request is generated by the base station of the first operator network according to a measurement result reported by a terminal accessing the first operator network, and the handover preparation request includes the measurement result; sending a first switching request to the blockchain system according to the switching preparation request, wherein the first switching request is used for requesting to switch the terminal to a second operator network, and the first switching request comprises the measurement result; receiving a switching judgment result sent by the block chain system, wherein the switching judgment result is formed by the block chain system after switching judgment according to the measurement result; and sending the switching judgment result to the base station of the first operator network.
In a tenth aspect, the present invention further provides a second core network entity, where the second core network entity belongs to a second operator network, and the second core network entity is connected to a block link point in the block chain system, and includes:
the transceiver is used for receiving a second switching request sent by a terminal accessing the first operator network, wherein the second switching request is used for requesting to switch to the second operator network; and sending a user authentication request to a third core network entity of a second operator network according to the second switching request, so that the third core network entity requests and acquires authentication information of the terminal from the blockchain system and completes bidirectional authentication between the terminal and the second operator network, and the third core network entity is connected with a blockchain link point in the blockchain system.
In an eleventh aspect, the present invention further provides a third core network entity, where the third core network entity belongs to a second operator network, and the third core network entity is connected to a block link point in the block chain system, and includes:
a transceiver, configured to receive a user authentication request sent by a second core network entity of a second operator network, where the second core network entity is connected to a block link point in the block chain system; transmitting an authentication information request to the blockchain system according to the user authentication request, wherein the authentication information request is used for requesting authentication information of a terminal accessing a first operator network; receiving authentication information of the terminal sent by the blockchain system, wherein the authentication information of the terminal is acquired by the blockchain system according to the authentication information request;
and the processor is used for completing bidirectional authentication with the terminal according to the authentication information of the terminal.
In a twelfth aspect, the present invention further provides a fourth core network entity, where the fourth core network entity belongs to the first operator network, and the fourth core network entity is connected to a block link point in the block chain system, and includes:
And the transceiver is used for sending authentication information of the terminal to the blockchain system so as to finish the uplink of the authentication information of the terminal, wherein the terminal is accessed to the first operator network.
In a thirteenth aspect, the present invention further provides a terminal, the terminal accessing a first operator network, including:
a processor configured to measure a serving cell and a neighboring cell, the neighboring cell including a cell of a base station of a second operator network, and form a measurement result; judging that switching to the second operator network is required according to the measurement result;
a transceiver for transmitting the measurement results to a base station of the first operator network; and receiving a switching judgment result sent by the base station of the first operator network, wherein the switching judgment result is obtained by performing switching judgment by the block chain system according to the measurement result.
In a fourteenth aspect, the present invention also provides a blockchain system including a memory, a processor, and a computer program stored on the memory and executable on the processor; the blockchain system comprises a plurality of blockchain nodes, wherein at least one blockchain node is connected with a core network entity of a first operator network, at least one blockchain node is connected with a core network entity of a second operator network, and the processor realizes any network switching method applied to the blockchain system when executing the computer program.
In a fifteenth aspect, the present invention also provides a first core network entity comprising a memory, a processor and a computer program stored on said memory and executable on said processor; the first core network entity belongs to a first operator network, the first core network entity is connected with a block chain link point in the block chain system, and the processor realizes any network switching method applied to the first core network entity when executing the computer program.
In a sixteenth aspect, the present invention also provides a second core network entity comprising a memory, a processor and a computer program stored on said memory and executable on said processor; the second core network entity belongs to a second operator network, the second core network entity is connected with a block chain link point in the block chain system, and the processor implements any network switching method applied to the second core network entity when executing the computer program.
In a seventeenth aspect, the present invention also provides a third core network entity comprising a memory, a processor and a computer program stored on the memory and executable on the processor; the third core network entity belongs to a second operator network, the third core network entity is connected with a block chain link point in the block chain system, and the processor implements any one of the network switching methods applied to the third core network entity when executing the computer program.
In an eighteenth aspect, the present invention also provides a fourth core network entity comprising a memory, a processor and a computer program stored on said memory and executable on said processor; the fourth core network entity belongs to the first operator network, the fourth core network entity is connected with the block chain link point in the block chain system, and the processor implements any network switching method applied to the fourth core network entity when executing the computer program.
In a nineteenth aspect, the present invention also provides a terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor; the terminal has access to a first operator network, and the processor implements any of the network switching methods described above as applied to the terminal when executing the computer program.
In a twentieth aspect, the present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the network switching methods described above.
The technical scheme of the invention has the following beneficial effects:
in the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signal of the terminal home operator (namely, the first operator) is poor or the network load is large and the network signal of other operators (namely, the second operator) is good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain so as to switch the terminal from the first operator network to the second operator network, thereby realizing the network sharing among different operators.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which are obtained by a person skilled in the art based on the described embodiments of the invention, fall within the scope of protection of the invention.
As shown in fig. 3, a scenario where the embodiment of the present invention is applicable is that network sharing is established between an operator a (i.e., a first operator) and an operator B (i.e., a second operator), where a terminal is a legal registered user of the operator a, and when the terminal moves from the area a to the area B, the terminal detects that the signal strength of the operator a is poor or the network load is large, but the network condition of the operator B is good, so that the terminal initiates a request for judging a network handover across operators, and performs a user authentication operation for accessing the network of the operator B according to a network handover judgment result of the blockchain system.
An embodiment of the present invention provides a blockchain system, which includes a plurality of blockchain nodes, wherein at least one of the blockchain nodes is physically connected to a core network of a first operator (i.e., operator a) network, and at least one of the blockchain nodes is physically connected to a core network of a second operator (i.e., operator B) network.
The core network entity of the first operator network comprises a first core network entity and a fourth core network entity, and the core network entity of the second operator network comprises a second core network entity and a third core network entity. The server corresponding to the first core network entity, the server corresponding to the second core network entity, the server corresponding to the third core network entity and the server corresponding to the fourth core network entity are all used as the blockchain nodes. The first core network entity is connected with the fourth core network entity, and the second core network entity is connected with the third core network entity.
Blockchain is a decentralized distributed ledger technology, and from the technical point of view, blockchain is an integrated innovation of four technologies of P2P network (Peer to Peer networking, peer-to-peer network), consensus algorithm, intelligent contract and encryption technology. All business participants of the blockchain can store the same account book data, and the information is transparent and difficult to tamper.
As shown in fig. 4, the first core network entity of the first operator network is an MME of the operator a, the second core network entity of the second operator network is an MME of the operator B, the third core network entity of the second operator network is an HSS (Home Subscriber Server ) of the operator B, and the fourth core network entity of the first operator network is an HSS of the operator a.
MME and HSS corresponding servers of the first operator network and the second operator network are respectively used as block chain nodes to form a alliance chain.
In other optional embodiments, the first core network entity of the first operator network, the second core network entity of the second operator network, the third core network entity of the second operator network, and the fourth core network entity of the first operator network may also be other network devices, which are not limited herein.
In addition, the embodiment of the invention can be applied to not only an LTE (Long Term Evolution ) system, but also a 5G NR (5 th-Generation New Radio, fifth generation mobile communication technology-new wireless) system and other evolution type mobile communication systems.
Referring to fig. 5, fig. 5 is a flow chart of a network switching method according to a second embodiment of the present invention, and the method is applied to the blockchain system according to the first embodiment, and includes the following steps:
step 11: receiving a first switching request sent by a first core network entity, wherein the first core network entity is a core network entity of a first operator network, the first core network entity is connected with a block chain link point in the block chain system, the first switching request comprises a measurement result reported by a terminal accessing the first operator network, and the first switching request is used for requesting to switch the terminal to a second operator network;
step 12: performing switching judgment according to the measurement result, and forming a switching judgment result of whether switching across operators is allowed or not;
step 13: and sending the switching judgment result to the first core network entity.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signal of the terminal home operator (namely, the first operator) is poor or the network load is large and the network signal of other operators (namely, the second operator) is good or the network load is small, the network switching judgment of the cross-operators can be performed based on the blockchain so as to switch the terminal from the first operator network to the second operator network, thereby realizing the network sharing among different operators.
In addition, the fairness and accuracy of the handover decision can be ensured by the handover decision made by the blockchain system.
The above network switching method is exemplified below.
Specifically, the measurement results include at least one of:
the signal intensity of a cell of the terminal is the signal intensity of a cell of a base station of the first operator network, which is accessed by the terminal;
the signal intensity of the cell of the base station of the second operator network measured by the terminal, namely the signal intensity of the target cell;
cell load of the serving cell;
the cell load of the base station of the second operator network, i.e. the load of the target cell.
In the embodiment of the present invention, the measurement result may only include the cell signal strength of the serving cell of the terminal and the cell signal strength of the base station of the second operator network measured by the terminal, and the measurement result may also only include the cell load of the serving cell and the cell load of the base station of the second operator network. That is, the blockchain system may perform network switching decision according to the cell signal strength detected by the terminal, or may perform network switching decision according to the cell load detected by the terminal.
Alternatively, the cell signal strength may be indicated by a signal carrier level, and the cell load may be indicated by PRB (physical resource block ) usage or the number of users of the cell.
In the embodiment of the invention, the blockchain system automatically executes the network switching judgment of the cross operators through the intelligent contract (taking the measurement result of the terminal as input) after receiving the measurement result of the terminal. For example, when the physical resource block usage or the number of users of the serving cell (may also be referred to as a source cell) reaches or approaches full load, and the physical resource block usage or the number of users of the cell (may also be referred to as a target cell) of the base station of the second operator network is low, it may be decided to allow handover across operators. Specifically, the step of performing a handover decision according to the measurement result and forming a handover decision result of whether to allow handover across operators includes:
If the cell signal strength of the serving cell is smaller than a first preset threshold and the cell signal strength of the base station of the second operator network is larger than a second preset threshold, a handover decision result allowing handover across operators is formed, otherwise, a handover decision result not allowing handover across operators is formed, for example, the first preset threshold is-100 db (unable to talk), and the second preset threshold is-78 db (signal full lattice);
or,
and if the cell load of the service cell is larger than a third preset threshold value and the cell load of the base station of the second operator network is smaller than a fourth preset threshold value, forming a switching judgment result allowing the switching across operators, otherwise, forming a switching judgment result not allowing the switching across operators.
Preferably, after the step of performing a handover decision according to the measurement result and forming a handover decision result of whether to allow handover across operators, the method further includes:
and recording the switching judgment result and carrying out consensus among the block chain nodes of the block chain system.
The specific process of the consensus is to execute a set of consensus algorithm among all the block chain nodes, so that all the block chain nodes record the switching judgment results, and the switching judgment results finally recorded by all the block chain nodes are correct and consistent in sequence.
According to the embodiment of the invention, the intelligent contract automatically executed in the blockchain system is designed, the network switching judgment of the cross operators is executed, the switching judgment result is recorded in the blockchain system, the information is transparent and traceable, and the public communication force used by the network (referring to the existing 3G/4G network, or the future 5G network, or other evolution type networks and the like) is improved.
In the prior art, a terminal wants to acquire a network service of a certain operator, and first needs to authenticate through the network of the operator. As shown in fig. 6, the EPS-AKA (Authentication and Key Agreement ) authentication is implemented in cooperation with a 4G/EPS (the 4th Generation mobile communication technology/Evolved Packet System, fourth generation mobile communication technology/evolved packet system) network, authentication is implemented by a UE (terminal, USIM (Universal Subscriber Identity Module, universal subscriber identity card) card user in fig. 6), MME (mobility management entity )/S4 SGSN (SGSN with S4 interface; SGSN, GPRS service support node, serving GPRS Support Node), SAE-HSS (System Architecture Evolution-HSS (HSS, home subscriber server, home Subscriber Server), system architecture evolution-home subscriber server), SAE-HSS calculates an authentication quadruple and issues RAND (Random number) and tn (Authentication Token ) in the quadruple to the UE via MME/S4SGSN, the UE verifies the legitimacy of the network based on the AUTN and calculates RES (Response, response parameters) based on the RAND, and MME/S4 compares the xr (Expected Response) of the network side with the xr (Response parameters of the UE on the expected side to complete the legitimacy of the network, thereby implementing authentication of the network.
In the embodiment of the present invention, after the step of sending the handover decision result to the first core network entity, if the handover decision result is that handover across operators is allowed, the method further includes:
receiving an authentication information request sent by a third core network entity of a second operator network, wherein the third core network entity is connected with a block chain link point in the block chain system, and the authentication information request is used for requesting authentication information of the terminal in a first operator network, namely, the third core network entity calls an intelligent contract to request the authentication information of the terminal in the first operator network from the block chain system;
and sending the authentication information of the terminal to the third core network entity according to the authentication information request.
According to the embodiment of the invention, terminal authentication data sharing among different operators is realized through the block chain, so that the inter-operator network switching of the terminal is realized.
Specifically, as shown in fig. 7, before the step of sending the authentication information of the terminal to the third core network entity according to the authentication information request, the method further includes:
receiving authentication information of the terminal sent by a fourth core network entity of a first operator network, wherein the fourth core network entity is connected with a block chain link point in the block chain system;
And synchronizing among all the block chain nodes of the block chain system through a consensus mechanism so as to finish the authentication information uplink of the terminal.
Specifically, the authentication information of the terminal sent by the fourth core network entity is encrypted, so that the authentication information of the terminal received by the third core network entity is also encrypted, and the original data of the authentication information can be obtained only after decryption by a specific key. Therefore, the embodiment of the invention can utilize the privacy protection mechanism of the blockchain to realize the sharing of the authentication information on the premise of ensuring the security and reliability of the authentication information of the terminal.
Optionally, after the step of synchronizing among the blockchain nodes of the blockchain system through the consensus mechanism to complete the uplink of the authentication information of the terminal, the method further includes:
and sending a uplink result of authentication information of the terminal to a fourth core network entity of the first operator network, wherein the uplink result comprises uplink success and uplink failure.
Specifically, the blockchain system returns the uplink result of the authentication information of the terminal through the SDK (Software Development Kit ) of the fourth core network entity.
In the embodiment of the invention, the problem that the terminal authentication information among different operators is not communicated (namely, the network identity authentication among different operators is not compatible) can be solved through the blockchain system, so that the network switching of the terminal among operators is realized.
Referring to fig. 8, fig. 8 is a flow chart of a network switching method according to a third embodiment of the present invention, the method is applied to a first core network entity of a first operator network, the first core network entity is connected to a block link point in the block chain system according to the first embodiment, and the method includes the following steps:
step 21: receiving a switching preparation request sent by a base station of a first operator network, wherein the switching preparation request is generated by the base station of the first operator network according to a measurement result reported by a terminal accessed to the first operator network, and the switching preparation request comprises the measurement result;
step 22: sending a first switching request to the blockchain system according to the switching preparation request, wherein the first switching request is used for requesting to switch the terminal to a second operator network, and the first switching request comprises the measurement result;
Specifically, the first core network entity invokes the blockchain SDK to initiate a first handover request (i.e., a network handover request across operators).
Step 23: receiving a switching judgment result sent by the block chain system, wherein the switching judgment result is formed by the block chain system after switching judgment according to the measurement result;
step 24: and sending the switching judgment result to the base station of the first operator network.
And after receiving the switching judgment result, the base station of the first operator network sends the switching judgment result to a terminal accessed to the first operator network.
The first core network entity is an MME, which may also be referred to as a source MME.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signal of the terminal home operator (namely, the first operator) is poor or the network load is large and the network signal of other operators (namely, the second operator) is good or the network load is small, the network switching judgment of the cross-operators can be performed based on the blockchain so as to switch the terminal from the first operator network to the second operator network, thereby realizing the network sharing among different operators. In addition, the fairness and accuracy of the handover decision can be ensured by the handover decision made by the blockchain system.
Specifically, the measurement results include at least one of:
cell signal strength of a serving cell of the terminal;
the signal intensity of the cell of the base station of the second operator network measured by the terminal, namely the signal intensity of the target cell;
cell load of the serving cell;
the cell load of the base station of the second operator network, i.e. the load of the target cell.
Referring to fig. 9, fig. 9 is a flowchart of a network switching method according to a fourth embodiment of the present invention, the method is applied to a second core network entity of a second operator network, and the second core network entity is connected to a block link point in the block chain system according to the first embodiment, and the method includes the following steps:
step 31: receiving a second switching request sent by a terminal accessing a first operator network, wherein the second switching request is used for requesting to switch to the second operator network;
specifically, the second handover request is sent by the terminal to the base station of the second operator network, and forwarded by the base station of the second operator network to the second core network entity.
Step 32: and sending a user authentication request to a third core network entity of a second operator network according to the second switching request, so that the third core network entity requests and acquires authentication information of the terminal from the blockchain system and completes bidirectional authentication between the terminal and the second operator network, and the third core network entity is connected with a blockchain link point in the blockchain system.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signal of the terminal home operator (namely, the first operator) is poor or the network load is large and the network signal of other operators (namely, the second operator) is good or the network load is small, the network switching judgment of the cross-operator can be carried out based on the blockchain, and the authentication information of the terminal can be shared, so that the terminal can be switched from the first operator network to the second operator network, thereby realizing the network sharing among different operators.
In the embodiment of the invention, the problem that the terminal authentication information among different operators is not communicated (namely, the network identity authentication among different operators is not compatible) can be solved through the blockchain system, so that the network switching of the terminal among operators is realized.
The second core network entity is an MME, and the third core network entity is an HSS.
Referring to fig. 10, fig. 10 is a flowchart of a network switching method according to a fifth embodiment of the present invention, the method is applied to a third core network entity of a second operator network, and the third core network entity is connected to a block link point in the block chain system according to the first embodiment, and the method includes the following steps:
Step 41: receiving a user authentication request sent by a second core network entity of a second operator network, wherein the second core network entity is connected with a block chain link point in the block chain system;
step 42: transmitting an authentication information request to the blockchain system according to the user authentication request, wherein the authentication information request is used for requesting authentication information of a terminal accessing a first operator network;
specifically, the third core network entity of the second operator network invokes an intelligent contract to request to the blockchain system for inquiring and acquiring authentication information of the terminal in the first operator network.
Step 43: receiving authentication information of the terminal sent by the blockchain system, wherein the authentication information of the terminal is acquired by the blockchain system according to the authentication information request;
step 44: and completing the bidirectional authentication with the terminal according to the authentication information of the terminal.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signal of the terminal home operator (namely, the first operator) is poor or the network load is large and the network signal of other operators (namely, the second operator) is good or the network load is small, the network switching judgment of the cross-operator can be carried out based on the blockchain, and the authentication information of the terminal can be shared, so that the terminal can be switched from the first operator network to the second operator network, thereby realizing the network sharing among different operators.
In the embodiment of the invention, the problem that the terminal authentication information among different operators is not communicated (namely, the network identity authentication among different operators is not compatible) can be solved through the blockchain system, so that the network switching of the terminal among operators is realized.
The second core network entity is an MME, and the third core network entity is an HSS.
Optionally, the authentication information of the terminal sent by the blockchain system is encrypted data, and the step of completing bidirectional authentication with the terminal according to the authentication information of the terminal includes:
decrypting the authentication information of the terminal;
and carrying out bidirectional authentication according to the decrypted authentication information of the terminal.
Specifically, the third core network entity of the second operator network decrypts the authentication information of the terminal through the SDK. Therefore, the embodiment of the invention can utilize the privacy protection mechanism of the blockchain to realize the sharing of the authentication information on the premise of ensuring the security and reliability of the authentication information of the terminal.
Referring to fig. 7 and 11, fig. 11 is a flowchart of a network switching method according to a sixth embodiment of the present invention, the method is applied to a fourth core network entity of the first operator network, and the fourth core network entity is connected to a block link point in the block chain system according to the first embodiment, and the method includes the following steps:
Step 51: and sending authentication information of a terminal to the blockchain system to finish the uplink of the authentication information of the terminal, wherein the terminal is accessed to the first operator network.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signal of the terminal home operator (namely, the first operator) is poor or the network load is large and the network signal of other operators (namely, the second operator) is good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain so as to switch the terminal from the first operator network to the second operator network, thereby realizing the network sharing among different operators.
In the embodiment of the invention, the problem that the terminal authentication information among different operators is not communicated (namely, the network identity authentication among different operators is not compatible) can be solved through the blockchain system, so that the network switching of the terminal among operators is realized.
The fourth core network entity is an HSS.
Specifically, the fourth core network entity of the first operator network encrypts the authentication information of the terminal through the SDK, and uploads the encrypted authentication information to the blockchain system for recording (i.e. uplink). That is, the authentication information stored in the blockchain system is encrypted data, and only the authorized device can have the key to decrypt. Therefore, the embodiment of the invention can realize the sharing of the authentication information by utilizing the privacy protection mechanism of the blockchain on the premise of ensuring the security and reliability of the authentication information of the terminal.
Optionally, after the step of sending the authentication information of the terminal to the blockchain system, the method further includes:
and receiving a uplink result of authentication information of the terminal sent by the block chain system, wherein the uplink result comprises uplink success and uplink failure.
In the above embodiment of the present invention, the first core network entity and the second core network entity are both MME, and the third core network entity and the fourth core network entity are both HSS. The network sharing scheme based on the blockchain and crossing operators provided by the invention can be realized by only adding the SDK supporting the blockchain without butting MME and HSS of different operators.
Referring to fig. 12, fig. 12 is a flowchart of a network switching method provided in a seventh embodiment of the present invention, where the method is applied to a terminal, and the terminal has been accessed to a first operator network, and the method includes the following steps:
step 61: measuring a serving cell and a neighboring cell, the neighboring cell including a cell of a base station of a second operator network, and forming a measurement result;
step 62: judging that the terminal needs to be switched to the second operator network according to the measurement result, specifically, the terminal can be judged according to the preset cell switching setting in the terminal;
Step 63: transmitting the measurement result to a base station of the first operator network;
step 64: and receiving a switching judgment result sent by the base station of the first operator network, wherein the switching judgment result is obtained by performing switching judgment by the blockchain system according to the measurement result in the first embodiment.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized. In addition, the fairness and accuracy of the handover decision can be ensured by the handover decision made by the blockchain system.
The above network switching method is exemplified below.
Specifically, the measurement results include at least one of:
cell signal strength of the serving cell;
The cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
Optionally, after the step of receiving the handover decision result sent by the base station of the first operator network, the method further includes:
if the switching judgment result is that switching across operators is allowed, a second switching request is sent to a second core network entity of a second operator network, wherein the second switching request is used for requesting switching to the second operator network, and the second core network entity is connected with a block chain link point of the block chain system; that is, the terminal that has accessed the first operator network initiates a second handover request to a second core network entity of the second operator network through a base station (may also be referred to as a target base station) of the second operator network according to a handover decision result returned by the blockchain system;
and performing bidirectional authentication with a third core network entity of a second operator network to switch to the second operator network, wherein the third core network entity is connected with a block chain link point in the block chain system.
In the embodiment of the present invention, before the step of measuring the serving cell and the neighboring cell and forming the measurement result, the method further includes:
receiving connection reconfiguration measurement control information issued by a base station of the first operator network;
and carrying out measurement configuration according to the connection reconfiguration measurement control information so as to carry out measurement on the serving cell and the adjacent cells according to the measurement configuration and form measurement results.
Wherein the connection reconfiguration measurement control information includes a measurement target including at least one of:
cell signal strength of the serving cell;
the cell signal strength of the adjacent cell;
cell load of the serving cell;
and the cell load of the adjacent cell.
The following specifically describes a network handover decision flow across operators, please refer to fig. 13.
The first step: a base station (eNodeB) of an operator a (i.e. a first operator) issues connection reconfiguration measurement control information to a terminal, the connection reconfiguration measurement control information comprising a measurement target, the measurement target comprising a cell signal strength of the serving cell and a cell signal strength of the neighboring cell, or comprising a cell load of the serving cell and a cell load of the neighboring cell.
And a second step of: and the terminal determines a measurement target according to the connection reconfiguration measurement control information, and measures the measurement target to form a measurement result (namely a detection report). And the terminal reports the measurement result to the base station of the network of the operator A. The terminal judges whether to switch to an operator B (i.e. a second operator) network according to a preset cell switching setting in the terminal, if so, the measurement result comprises information for informing a base station of an operator A that the terminal decides to initiate a cross-operator network switching, and the measurement result further comprises cell signal intensity of the service cell and cell signal intensity of a target cell, and/or comprises cell load of the service cell and cell load of the target cell, wherein the target cell is a cell close to the service cell and belongs to the operator B.
And a third step of: and if the measurement result comprises information that the terminal decides to initiate network switching across operators, sending a switching preparation request to an MME (i.e. source MME) of the operator A network according to the measurement result, wherein the switching preparation request comprises the measurement result.
Fourth step: the source MME invokes the blockchain SDK to send a first handover request to the blockchain system, i.e. initiates a network handover request across operators.
Fifth step: the blockchain system invokes the intelligent contract to make a handoff decision whether to allow a cross-operator handoff.
Sixth step: the blockchain system records the switching judgment result and performs consensus among the blockchain nodes of the blockchain system.
Seventh step: the block chain system returns a handover decision result to the source MME.
Eighth step: the source MME issues the handover decision result to a base station of the operator a network (i.e. the source base station).
Ninth step: and the base station of the operator A network returns a switching judgment result to the terminal.
The authentication information inquiry (acquisition) flow of the terminal across operators is specifically described below with reference to fig. 14.
The first step: and the terminal sends a second switching request to the MME (i.e. the target MME) of the operator B (i.e. the second operator) through the base station (i.e. the target base station) of the operator B (i.e. the second operator) according to the switching judgment result returned by the block chain system.
And a second step of: the target MME sends a user authentication request to the HSS of the operator B (i.e. the target HSS) after receiving the second handover request.
And a third step of: the target HSS calls an intelligent contract to request authentication information of the terminal in the network of the operator A to the blockchain system, namely, the authentication information request is sent to the blockchain system.
Fourth step: and the blockchain system returns the encrypted authentication information of the terminal to the target HSS of the operator B according to the authentication information request.
Fifth step: the target HSS of the operator B decrypts the encrypted authentication information of the terminal through the SDK to acquire the original data of the authentication information of the terminal, and then performs bidirectional authentication with the terminal.
Referring to fig. 15, fig. 15 is a schematic structural diagram of a blockchain system provided in accordance with the eighth embodiment of the present invention, the blockchain system 70 includes a plurality of blockchain nodes, wherein at least one of the blockchain nodes is physically connected to a core network of a first operator network, at least one of the blockchain nodes is physically connected to a core network of a second operator network, and the blockchain system 70 further includes:
a transceiver 71, configured to receive a first handover request sent by a first core network entity, where the first core network entity is a core network entity of a first operator network, the first core network entity is connected to a block link point in the block chain system, the first handover request includes a measurement result reported by a terminal accessing the first operator network, and the first handover request is used to request handover of the terminal to a second operator network;
A processor 72, configured to make a handover decision according to the measurement result, and form a handover decision result of whether to allow handover across operators;
the transceiver 71 is further configured to send the handover decision result to the first core network entity.
Optionally, the measurement result includes at least one of:
cell signal strength of a serving cell of the terminal;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
Optionally, the processor 72 is configured to form a handover decision result for allowing handover across operators if the cell signal strength of the serving cell is less than a first preset threshold and the cell signal strength of the base station of the second operator network is greater than a second preset threshold, otherwise, form a handover decision result for disallowing handover across operators; or if the cell load of the serving cell is greater than a third preset threshold and the cell load of the base station of the second operator network is less than a fourth preset threshold, forming a handover decision result allowing the handover across operators, otherwise, forming a handover decision result not allowing the handover across operators.
Optionally, the processor 72 is further configured to record the handover decision result and make a consensus among the blockchain nodes of the blockchain system.
Optionally, the transceiver 71 is further configured to receive an authentication information request sent by a third core network entity of the second operator network, where the third core network entity is connected to a block link point in the block chain system, and the authentication information request is used to request authentication information of the terminal in the first operator network; and sending the authentication information of the terminal to the third core network entity according to the authentication information request.
Optionally, the transceiver 71 is further configured to receive authentication information of the terminal sent by a fourth core network entity of the first operator network, where the fourth core network entity is connected to a block link point in the block chain system; and synchronizing among all the block chain nodes of the block chain system through a consensus mechanism so as to finish the authentication information uplink of the terminal.
Optionally, the transceiver 71 is further configured to send a result of the uplink of the authentication information of the terminal to a fourth core network entity of the first operator network, where the result of the uplink includes a success of the uplink and a failure of the uplink.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized.
The embodiment of the present invention is a product embodiment corresponding to the second embodiment of the method, so that the description is omitted herein, and reference is made to the second embodiment in detail.
Referring to fig. 16, fig. 16 is a schematic structural diagram of a first core network entity provided in a ninth embodiment of the present invention, the first core network entity 80 belongs to a first operator network, and the first core network entity 80 is connected to a block link point in the block chain system according to the first embodiment, including:
a transceiver 81, configured to receive a handover preparation request sent by a base station of a first operator network, where the handover preparation request is generated by the base station of the first operator network according to a measurement result reported by a terminal accessing the first operator network, and the handover preparation request includes the measurement result; sending a first switching request to the blockchain system according to the switching preparation request, wherein the first switching request is used for requesting to switch the terminal to a second operator network, and the first switching request comprises the measurement result; receiving a switching judgment result sent by the block chain system, wherein the switching judgment result is formed by the block chain system after switching judgment according to the measurement result; and sending the switching judgment result to the base station of the first operator network.
Specifically, the measurement results include at least one of:
cell signal strength of a serving cell of the terminal;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized.
The embodiment of the present invention is a product embodiment corresponding to the third embodiment of the method, so that the description is omitted herein, and reference is made in detail to the third embodiment.
Referring to fig. 17, fig. 17 is a schematic structural diagram of a second core network entity provided in the tenth embodiment of the present invention, the second core network entity 90 belongs to a second operator network, and the second core network entity 90 is connected to a block link point in the block chain system according to the first embodiment, and includes:
A transceiver 91, configured to receive a second handover request sent by a terminal accessing a first operator network, where the second handover request is used to request handover to the second operator network; and sending a user authentication request to a third core network entity of a second operator network according to the second switching request, so that the third core network entity requests and acquires authentication information of the terminal from the blockchain system and completes bidirectional authentication between the terminal and the second operator network, and the third core network entity is connected with a blockchain link point in the blockchain system.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized.
The embodiment of the present invention is a product embodiment corresponding to the fourth embodiment of the method, so that the description is omitted herein, and reference is made in detail to the fourth embodiment.
Referring to fig. 18, fig. 18 is a schematic structural diagram of a third core network entity provided in an eleventh embodiment of the present invention, the third core network entity 100 belongs to a second operator network, and the third core network entity 100 is connected to a block link point in the block chain system according to the first embodiment, and includes:
a transceiver 101, configured to receive a user authentication request sent by a second core network entity of a second operator network, where the second core network entity is connected to a block link point in the block chain system; transmitting an authentication information request to the blockchain system according to the user authentication request, wherein the authentication information request is used for requesting authentication information of a terminal accessing a first operator network; receiving authentication information of the terminal sent by the blockchain system, wherein the authentication information of the terminal is acquired by the blockchain system according to the authentication information request;
and the processor 102 is used for completing bidirectional authentication with the terminal according to the authentication information of the terminal.
Optionally, the processor 102 is configured to decrypt authentication information of the terminal; and carrying out bidirectional authentication according to the decrypted authentication information of the terminal.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized.
The embodiment of the present invention is a product embodiment corresponding to the fifth embodiment of the method, so that the detailed description thereof will be omitted herein.
Referring to fig. 19, fig. 19 is a schematic structural diagram of a fourth core network entity provided in the twelfth embodiment of the present invention, the fourth core network entity 110 belongs to the first operator network, and the fourth core network entity 110 is connected to a block link point in the block chain system according to the first embodiment, including:
And a transceiver 111, configured to send authentication information of a terminal to the blockchain system to complete uplink of the authentication information of the terminal, where the terminal is a terminal that has been accessed to the first operator network.
Optionally, the transceiver 111 is further configured to receive a uplink result of the authentication information of the terminal sent by the blockchain system, where the uplink result includes uplink success and uplink failure.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized.
The embodiment of the present invention is a product embodiment corresponding to the above-mentioned method embodiment six, so that the description is omitted herein, and reference is made in detail to the above-mentioned embodiment six.
Referring to fig. 20, fig. 20 is a schematic structural diagram of a terminal according to a thirteenth embodiment of the present invention, where the terminal 120 has been accessed to a first operator network, and includes:
A processor 121 for measuring a serving cell and a neighboring cell, the neighboring cell including a cell of a base station of the second operator network, and forming a measurement result; judging that switching to the second operator network is required according to the measurement result;
a transceiver 122 for transmitting the measurement results to a base station of the first operator network; and receiving a switching judgment result sent by the base station of the first operator network, wherein the switching judgment result is obtained by performing switching judgment according to the measurement result by the blockchain system in the first embodiment.
Optionally, the measurement result includes at least one of:
cell signal strength of the serving cell;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
The transceiver 122 is further configured to send a second handover request to a second core network entity of a second operator network if the handover decision result is that handover across operators is allowed, where the second handover request is used to request handover to the second operator network, and the second core network entity is connected to a block link point of the block chain system;
The processor 121 is further configured to perform bidirectional authentication with a third core network entity of a second operator network to switch to the second operator network, where the third core network entity is connected to a block link point in the block chain system.
In the embodiment of the invention, aiming at the situation that networks of different operators are repeatedly covered in the same area, when the network signals of the home operator (namely the first operator) of the terminal are poor or the network load is large and the network signals of other operators (namely the second operator) are good or the network load is small, the network switching judgment of the cross-operators and the sharing of the authentication information of the terminal can be carried out based on the blockchain, and the terminal is switched from the first operator network to the second operator network, so that the network sharing among different operators is realized.
The embodiment of the present invention is a product embodiment corresponding to the above-mentioned method embodiment seven, so that the description is omitted herein, and reference is made in detail to the above-mentioned embodiment seven.
Referring to fig. 21, fig. 21 is a schematic diagram of a blockchain system 130 according to a fourteenth embodiment of the present invention, the blockchain system 130 includes a processor 131, a memory 132, and a computer program stored in the memory 132 and executable on the processor 131; the blockchain system 130 includes a plurality of blockchain nodes, wherein at least one of the blockchain nodes is connected to a core network entity of a first operator network, at least one of the blockchain nodes is connected to a core network entity of a second operator network, and the processor 131 implements the following steps when executing the computer program:
Receiving a first switching request sent by a first core network entity, wherein the first core network entity is a core network entity of a first operator network, the first core network entity is connected with a block chain link point in the block chain system, the first switching request comprises a measurement result reported by a terminal accessing the first operator network, and the first switching request is used for requesting to switch the terminal to a second operator network;
performing switching judgment according to the measurement result, and forming a switching judgment result of whether switching across operators is allowed or not;
and sending the switching judgment result to the first core network entity.
Optionally, the measurement result includes at least one of:
cell signal strength of a serving cell of the terminal;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
Optionally, the computer program may further implement the following steps when executed by the processor 131:
the step of performing a handover decision according to the measurement result and forming a handover decision result whether to allow handover across operators comprises:
If the cell signal intensity of the service cell is smaller than a first preset threshold value and the cell signal intensity of the base station of the second operator network is larger than a second preset threshold value, a switching judgment result allowing switching across operators is formed, otherwise, a switching judgment result not allowing switching across operators is formed; or,
and if the cell load of the service cell is larger than a third preset threshold value and the cell load of the base station of the second operator network is smaller than a fourth preset threshold value, forming a switching judgment result allowing the switching across operators, otherwise, forming a switching judgment result not allowing the switching across operators.
Optionally, the computer program may further implement the following steps when executed by the processor 131:
after the step of performing a handover decision according to the measurement result and forming a handover decision result of whether to allow handover across operators, the method further comprises:
and recording the switching judgment result and carrying out consensus among the block chain nodes of the block chain system.
Optionally, the computer program may further implement the following steps when executed by the processor 131:
if the handover decision result is that handover across operators is allowed, the step of sending the handover decision result to the first core network entity further includes:
Receiving an authentication information request sent by a third core network entity of a second operator network, wherein the third core network entity is connected with a block chain link point in the block chain system, and the authentication information request is used for requesting authentication information of the terminal in a first operator network;
and sending the authentication information of the terminal to the third core network entity according to the authentication information request.
Optionally, the computer program may further implement the following steps when executed by the processor 131:
before the step of sending the authentication information of the terminal to the third core network entity according to the authentication information request, the method further includes:
receiving authentication information of the terminal sent by a fourth core network entity of a first operator network, wherein the fourth core network entity is connected with a block chain link point in the block chain system;
and synchronizing among all the block chain nodes of the block chain system through a consensus mechanism so as to finish the authentication information uplink of the terminal.
Optionally, the computer program may further implement the following steps when executed by the processor 131:
after the step of synchronizing among the blockchain nodes of the blockchain system through the consensus mechanism to finish the uplink of the authentication information of the terminal, the method further comprises the following steps:
And sending a uplink result of authentication information of the terminal to a fourth core network entity of the first operator network, wherein the uplink result comprises uplink success and uplink failure.
The specific working process of the embodiment of the present invention is identical to that of the second embodiment of the method, so that the detailed description thereof will be omitted herein, and reference is made to the description of the method steps in the second embodiment.
Referring to fig. 22, fig. 22 is a schematic structural diagram of a first core network entity according to a fifteenth embodiment of the present invention, where the first core network entity 140 includes a processor 141, a memory 142, and a computer program stored in the memory 142 and executable on the processor 141; the first core network entity 140 belongs to a first operator network, the first core network entity 140 is connected to a block link point in the block chain system described in the above embodiment, and the processor 141 implements the following steps when executing the computer program:
receiving a switching preparation request sent by a base station of a first operator network, wherein the switching preparation request is generated by the base station of the first operator network according to a measurement result reported by a terminal accessed to the first operator network, and the switching preparation request comprises the measurement result;
Sending a first switching request to the blockchain system according to the switching preparation request, wherein the first switching request is used for requesting to switch the terminal to a second operator network, and the first switching request comprises the measurement result;
receiving a switching judgment result sent by the block chain system, wherein the switching judgment result is formed by the block chain system after switching judgment according to the measurement result;
and sending the switching judgment result to the base station of the first operator network.
Optionally, the measurement result includes at least one of:
cell signal strength of a serving cell of the terminal;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
and the cell load of the base station of the second operator network.
The specific working process of the embodiment of the present invention is identical to that of the third embodiment of the method, so that the detailed description thereof will be omitted herein, and reference is made to the description of the method steps in the third embodiment.
Referring to fig. 23, fig. 23 is a schematic diagram of a second core network entity according to a sixteenth embodiment of the present invention, where the second core network entity 150 includes a processor 151, a memory 152, and a computer program stored in the memory 152 and executable on the processor 151; the second core network entity 150 belongs to a second operator network, the second core network entity 150 is connected to a block link point in the block chain system described in the above embodiment, and the processor 151 implements the following steps when executing the computer program:
Receiving a second switching request sent by a terminal accessing a first operator network, wherein the second switching request is used for requesting to switch to the second operator network;
and sending a user authentication request to a third core network entity of a second operator network according to the second switching request, so that the third core network entity requests and acquires authentication information of the terminal from the blockchain system and completes bidirectional authentication between the terminal and the second operator network, and the third core network entity is connected with a blockchain link point in the blockchain system.
The specific working process of the embodiment of the present invention is identical to that of the fourth embodiment of the method, so that the detailed description thereof will be omitted herein, and reference is made to the description of the method steps of the fourth embodiment.
Referring to fig. 24, fig. 24 is a schematic structural diagram of a third core network entity according to a seventeenth embodiment of the present invention, where the third core network entity 160 includes a processor 161, a memory 162, and a computer program stored in the memory 162 and executable on the processor 161; the third core network entity 160 belongs to the second operator network, the third core network entity 160 is connected to a block link point in the block chain system described in the above embodiment, and the processor 161 implements the following steps when executing the computer program:
Receiving a user authentication request sent by a second core network entity of a second operator network, wherein the second core network entity is connected with a block chain link point in the block chain system;
transmitting an authentication information request to the blockchain system according to the user authentication request, wherein the authentication information request is used for requesting authentication information of a terminal accessing a first operator network;
receiving authentication information of the terminal sent by the blockchain system, wherein the authentication information of the terminal is acquired by the blockchain system according to the authentication information request;
and completing the bidirectional authentication with the terminal according to the authentication information of the terminal.
Optionally, the computer program may further implement the following steps when executed by the processor 161:
the authentication information of the terminal sent by the blockchain system is encrypted data, and the step of completing bidirectional authentication with the terminal according to the authentication information of the terminal comprises the following steps:
decrypting the authentication information of the terminal;
and carrying out bidirectional authentication according to the decrypted authentication information of the terminal.
The specific working process of the embodiment of the present invention is identical to that of the fifth embodiment of the method, so that the detailed description thereof will be omitted herein, and reference is made to the description of the method steps in the fifth embodiment.
Referring to fig. 25, fig. 25 is a schematic diagram of a fourth core network entity according to an eighteenth embodiment of the invention, wherein the fourth core network entity 170 includes a processor 171, a memory 172, and a computer program stored in the memory 172 and executable on the processor 171; the fourth core network entity 170 belongs to the first operator network, the fourth core network entity 170 is connected to a block link point in the block chain system described in the above embodiment, and the processor 171 implements the following steps when executing the computer program:
and sending authentication information of a terminal to the blockchain system to finish the uplink of the authentication information of the terminal, wherein the terminal is accessed to the first operator network.
Optionally, the computer program may further implement the following steps when executed by the processor 171:
after the step of sending the authentication information of the terminal to the blockchain system, the method further comprises the following steps:
and receiving a uplink result of authentication information of the terminal sent by the block chain system, wherein the uplink result comprises uplink success and uplink failure.
The specific working process of the embodiment of the present invention is identical to that of the sixth embodiment of the method, so that the detailed description thereof will be omitted herein, and reference is made to the description of the method steps in the sixth embodiment.
Referring to fig. 26, fig. 26 is a schematic structural diagram of a terminal 180 according to a nineteenth embodiment of the present invention, where the terminal 180 includes a processor 181, a memory 182, and a computer program stored in the memory 182 and executable on the processor 181; the terminal 180 has access to a first operator network, and the processor 181 when executing the computer program implements the following steps:
measuring a serving cell and a neighboring cell, the neighboring cell including a cell of a base station of a second operator network, and forming a measurement result;
judging that switching to the second operator network is required according to the measurement result;
transmitting the measurement result to a base station of the first operator network;
and receiving a switching judgment result sent by the base station of the first operator network, wherein the switching judgment result is obtained by performing switching judgment by the block chain system according to the measurement result.
Optionally, the measurement result includes at least one of:
cell signal strength of the serving cell;
the cell signal intensity of the base station of the second operator network measured by the terminal;
cell load of the serving cell;
And the cell load of the base station of the second operator network.
Optionally, the computer program may further implement the following steps when executed by the processor 181:
after the step of receiving the handover decision result sent by the base station of the first operator network, the method further includes:
if the switching judgment result is that switching across operators is allowed, a second switching request is sent to a second core network entity of a second operator network, wherein the second switching request is used for requesting switching to the second operator network, and the second core network entity is connected with a block chain link point of the block chain system;
and performing bidirectional authentication with a third core network entity of a second operator network to switch to the second operator network, wherein the third core network entity is connected with a block chain link point in the block chain system.
The specific working process of the embodiment of the present invention is identical to that of the seventh embodiment of the present invention, so that the detailed description thereof will be omitted herein, and reference is made to the detailed description of the method steps in the seventh embodiment.
An embodiment twenty provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any one of the network switching methods of the above-described embodiments two to seven. For details, reference is made to the description of the method steps in the corresponding embodiments above.
The base station in the embodiment of the present invention may be a base station (Base Transceiver Station, BTS) in global mobile communications (Global System of Mobile communication, GSM for short) or code division multiple access (Code Division Multiple Access, CDMA for short), a base station (NodeB, NB for short) in wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA for short), an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE, a relay station or access point, or a base station in a future 5G network, etc., which are not limited herein.
The terminal in the embodiment of the invention can be a wireless terminal or a wired terminal, and the wireless terminal can be a device for providing voice and/or other service data connectivity for a user, a handheld device with a wireless connection function or other processing devices connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a radio access network (Radio Access Network, RAN for short), which may be mobile terminals such as mobile phones (or "cellular" phones) and computers with mobile terminals, e.g., portable, pocket, hand-held, computer-built-in or vehicle-mounted mobile devices that exchange voice and/or data with the radio access network. Such as personal communication services (Personal Communication Service, PCS) phones, cordless phones, session initiation protocol (Session Initiation Protocol, SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital assistants (Personal Digital Assistant, PDA) and the like. A wireless Terminal may also be referred to as a system, subscriber Unit (Subscriber Unit), subscriber Station (Subscriber Station), mobile Station (Mobile Station), remote Station (Remote Station), remote Terminal (Remote Terminal), access Terminal (Access Terminal), user Terminal (User Terminal), user Agent (User Agent), terminal (User Device or User Equipment), without limitation.
Such computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may be implemented in any method or technology for information storage. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.