Network switching method
A network switching method includes: in the case that a first network connection is established between the network device and a first terminal, instructing the first terminal to make a network connection with the network device through a second terminal. The first terminal is connected to the second terminal through a second network, and the second terminal is connected to the network device through the first network.
1. A network switching method, applied to a network device and comprising:
responsive to a first network connection being established between the network device and a first terminal, instructing the first terminal to make a network connection with the network device through a second terminal; wherein
the first terminal is connected to the second terminal through a second network, and the second terminal is connected to the network device through the first network; wherein
before the instructing the first terminal to make a network connection with the network device through a second terminal, the method further comprises:
receiving a second network switching request sent by the second terminal; wherein
the second network switching request comprises at least one of:
a radio resource control (RRC) connection establishment request message; or
identification information of the first terminal.
2. The network switching method according to claim 1 , further comprising:
releasing the first network connection with the first terminal.
3. The network switching method according to claim 1 , wherein
the second network switching request further comprises at least one of:
a request message for releasing the first network connection between the first terminal and the network device;
a request message for the first terminal to perform network connection switching, wherein the network connection switching comprises: switching the first network connection between the first terminal and the network device to a second network connection between the first terminal and the second terminal;
a message that the first terminal and the second terminal are connected through a second network;
a request message for switching a preset service from the first terminal to the second terminal;
identification information of the second terminal; or
auxiliary information sent by the second terminal to the first terminal.
4. The network switching method according to claim 1 , wherein the instructing the first terminal to make a network connection with the network device through a second terminal comprises:
sending first response information to the first terminal.
5. The network switching method according to claim 4 , wherein the first response information comprises at least one of:
an acknowledgment message;
identification information of the second terminal;
a radio resource control (RRC) connection release message;
instruction information for instructing the second terminal to initiate RRC connection establishment to the network device through the first terminal; or
a paging message sent to the second terminal.
6. The network switching method according to claim 1 , wherein the instructing the first terminal to make a network connection with the network device through a second terminal comprises:
sending first instruction information to the second terminal.
7. The network switching method according to claim 6 , wherein the first instruction information comprises at least one of:
an acknowledgment message;
a paging message sent to the second terminal;
identification information of the first terminal;
instruction information for releasing the first network connection between the first terminal and the network device;
instruction information for performing network connection switching for the first terminal, wherein the network connection switching comprises: switching the first network connection between the first terminal and the network device to a second network connection between the first terminal and the second terminal;
instruction information for the first terminal and the second terminal to connect through a second network; or
a request message for switching a preset service from the first terminal to the second terminal.
8. The network switching method according to claim 1 , wherein the instructing the first terminal to make a network connection with the network device through a second terminal comprises:
receiving second response information sent by the second terminal.
9. The network switching method according to claim 8 , wherein the second response information comprises at least one of:
an acknowledgment response message;
a radio resource control (RRC) connection establishment request message; or
identification information of the first terminal.
10. The network switching method according to claim 1 , wherein after the first terminal makes a network connection with the network device through a second terminal, the method further comprises at least one of:
sending second instruction information to the first terminal;
receiving request information sent by the first terminal for releasing the first network connection; or
releasing the first network connection with the first terminal.
11. The network switching method according to claim 1 , further comprising:
establishing a radio resource control (RRC) connection with the second terminal; and/or
acquiring first information sent by a core network device; wherein
the first information comprises at least one of:
a contract relationship between the first terminal and the second terminal;
identification information of the second terminal;
subscription information of the first terminal;
subscription information of the second terminal; or
application layer configuration information of the first terminal.
12. The network switching method according to claim 1 , wherein the first network connection means that the first terminal or the second terminal is connected to or camps on a cellular network in RRC_Connected mode, RRC_Idle mode, or RRC_Inactive mode;
the second network connection means a non-cellular network connection between the first terminal and the second terminal.
13. A network device, comprising: a memory, a processor and a computer program that is stored in a memory and executable on a processor, wherein the computer program, when executed by the processor, causes the network device to perform:
responsive to a first network connection being established between the network device and a first terminal, instructing the first terminal to make a network connection with the network device through a second terminal; wherein
the first terminal is connected to the second terminal through a second network, and the second terminal is connected to the network device through the first network; wherein
the computer program, when executed by the processor, causes the network device to further perform:
receiving a second network switching request sent by the second terminal; wherein
the second network switching request comprises at least one of:
a radio resource control (RRC) connection establishment request message; or
identification information of the first terminal.
14. The network device according to claim 13 , wherein the computer program, when executed by the processor, causes the network device to further perform:
releasing the first network connection with the first terminal.
15. The network device according to claim 13 , wherein
the second network switching request further comprises at least one of:
a request message for releasing the first network connection between the first terminal and the network device;
a request message for the first terminal to perform network connection switching, wherein the network connection switching comprises: switching the first network connection between the first terminal and the network device to a second network connection between the first terminal and the second terminal;
a message that the first terminal and the second terminal are connected through a second network;
a request message for switching a preset service from the first terminal to the second terminal;
identification information of the second terminal; or
auxiliary information sent by the second terminal to the first terminal.