CN112073368A - Method for switching network interaction modes and related device thereof - Google Patents

Method for switching network interaction modes and related device thereof Download PDF

Info

Publication number
CN112073368A
CN112073368A CN202010742543.6A CN202010742543A CN112073368A CN 112073368 A CN112073368 A CN 112073368A CN 202010742543 A CN202010742543 A CN 202010742543A CN 112073368 A CN112073368 A CN 112073368A
Authority
CN
China
Prior art keywords
interface
network element
target network
server
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010742543.6A
Other languages
Chinese (zh)
Inventor
向湘杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xiuyuan Cultural Creative Co Ltd
Original Assignee
Shenzhen Xiuyuan Cultural Creative Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xiuyuan Cultural Creative Co Ltd filed Critical Shenzhen Xiuyuan Cultural Creative Co Ltd
Priority to CN202010742543.6A priority Critical patent/CN112073368A/en
Publication of CN112073368A publication Critical patent/CN112073368A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a method for switching network interaction modes and a related device thereof, which are used for avoiding the problem that network abnormity is caused because different communication networks cause that user equipment can not interoperate when working. The method in the embodiment of the application comprises the following steps: the server registers the identity of the first target network element; the server sets a virtual N26 interface; the server sends the information of the virtual N26 interface to the first target network element through the virtual N26 interface; the server judges whether a first actual N26 interface exists according to whether a feedback notice of successfully receiving the information is received or not; if not, performing identity registration on the second target network element; the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface; the server determines whether a second actual N26 interface exists; if not, setting a double registration mode to work.

Description

Method for switching network interaction modes and related device thereof
Technical Field
The embodiment of the application relates to the field of network interaction, in particular to a method for switching network interaction modes and a related device thereof.
Background
With the upgrading of mobile communication networks and the widespread popularization of smart phones, people's lives are becoming more and more away from mobile communication, and at present, the fourth Generation mobile communication technology (4G) network and the fifth Generation mobile communication technology (5G, 5th Generation mobile networks) network are widely applied, and the fifth Generation mobile communication technology has a greater advantage than the fourth Generation, and not only is the data transmission rate about one hundred times faster than the current fourth Generation mobile communication technology network, but also the network delay is lower.
Since the fifth generation mobile communication technology network is just built and the investment cost is high, the fifth generation mobile communication technology network coexists with the fourth generation mobile communication technology network for a long time and borrows some original hardware of the fourth generation mobile communication technology network, so that User Equipment (UE) needs to rely on the fourth generation mobile communication technology network to perform an interoperation between the fifth generation mobile communication technology network and the fourth generation mobile communication technology network when accessing the fifth generation mobile communication technology network. For example, if the user equipment selects one of the communication technology networks to operate, the user equipment may interoperate with the other communication technology network through the N26 interface; if the user equipment simultaneously selects two communication technology networks to work, the user equipment can directly carry out interoperation without an N26 interface.
In the prior art, since not all operators establish the N26 interface between the fourth generation mobile communication technology network and the fifth generation mobile communication technology network, the user equipment is prone to network abnormality due to the inability to interoperate during operation.
Disclosure of Invention
The embodiment of the application provides a method for switching network interaction modes and a related device thereof, which are used for avoiding the problem that network abnormity is caused because different communication networks cause that each user equipment can not interoperate when working.
In a first aspect, an embodiment of the present application provides a method for switching network interaction modes, including:
the server registers the identity of a first target network element and is used for the server to confirm the interface with the first target network element;
the server is provided with a virtual N26 interface, and the virtual N26 interface is a virtual interface for carrying out interoperation between target network elements;
the server sends information of the virtual N26 interface to the first target network element through the virtual N26 interface, where the information is used to test whether the first target network element has a first actual N26 interface, and if so, the server feeds back a notification of successfully receiving the information;
the server judges whether a first actual N26 interface exists according to whether a feedback notice of successfully receiving the information is received or not;
if not, performing identity registration on the second target network element;
the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
the server determines whether a second actual N26 interface exists;
if not, setting a double registration mode to work.
Optionally, the determining, by the server, whether the first actual N26 interface exists according to whether the feedback notification of successfully receiving the information is received, includes:
the server judges whether a notification fed back by the first target network element is received, wherein the notification is a notification that the first target network element has successfully received the information of the virtual N26 interface;
and if so, determining that the first actual N26 interface exists and setting the interface to work in a single registration mode.
Optionally, after the setting works in the single registration mode, the method further includes:
the server receives information sent by the first target network element, wherein the information represents information that the first actual N26 interface suspends work;
the server registers the identity of the second target network element;
the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
and the server judges whether a second actual N26 interface exists according to the information, and if not, a double registration mode is set to work.
Optionally, before the server performs identity registration at the first target network element, the method further includes:
the server sends a registration request to a first target network element, wherein the registration request is a request carrying identity identification information;
and the server judges whether the first target network element is successfully checked, and if so, the first target network element is determined to be capable of registering.
Optionally, the determining, by the server, whether the first target network element is successfully checked includes:
and the server judges whether the first target network element is successfully checked according to whether the registration response fed back by the first target is received, wherein the registration response is a response that the registration request is successfully checked and determined by the first target network element.
Optionally, the determining, by the server, whether the second actual N26 interface exists includes:
the server judges whether a notification fed back by the second target network element is received, wherein the notification is that the second target network element has received the virtual N26 interface information;
if so, it is determined that the second actual N26 interface exists.
Optionally, after the server determines whether there is a second actual N26 interface according to the information, before the setting of the dual registration mode operation, the method further includes:
the server resends the registration request to the first target network element for re-registration.
Optionally, the server sets a virtual N26 interface, including:
the server acquires relevant information about an N26 interface from the first target network element or the second target network element, wherein the relevant information is relevant information of a corresponding N26 protocol;
the server configures the acquired related information on any locally reserved interface, so that the interface becomes the virtual N26 interface.
In a second aspect, an embodiment of the present application provides a device for switching network interaction modes, including:
a registration unit, configured to perform identity registration on a first target network element, where the registration unit is used for performing interface confirmation between the server and the first target network element;
a virtual interface setting unit, configured to set a virtual N26 interface, where the virtual N26 interface is a virtual interface for performing interoperation between target network elements;
a first sending unit, configured to send, to the first target network element through the virtual N26 interface, information of the virtual N26 interface, where the information is used to test whether the first target network element has a first actual N26 interface, and if the first target network element has the first actual N26 interface, a notification that the information is successfully received is fed back;
a first judging unit, configured to judge whether a first actual N26 interface exists according to whether a feedback notification that the information is successfully received is received;
a first executing unit, configured to perform identity registration on a second target network element when the first determining unit determines that the first actual N26 interface does not exist;
a second sending unit, configured to send information of the virtual N26 interface to the second target network element through the virtual N26 interface;
a second judging unit, configured to judge whether a second actual N26 interface exists;
a second executing unit, configured to set a dual registration mode to operate when the second determining unit determines that the second actual N26 interface does not exist.
Optionally, the first determining unit includes:
a first judgment module;
the first determining module is configured to determine whether a notification fed back by the first target network element is received, where the notification is a notification that the first target network element has successfully received the information of the virtual N26 interface.
Optionally, the apparatus further comprises:
a third execution unit and a receiving unit;
the third executing unit is configured to determine that the first actual N26 interface exists when the first determining unit determines that the notification fed back by the first target network element is received, and execute a setting to operate in a single registration mode;
the receiving unit is configured to receive information sent by the first target network element, where the information indicates that the first actual N26 interface suspends operation.
Optionally, the apparatus further comprises:
a third transmitting unit and a third judging unit;
the third sending unit is configured to send, by the server, a registration request to the first target network element, where the registration request is a request carrying identity information;
the third determining unit is configured to determine, by the server, whether the first target network element is successfully checked.
Optionally, the third determining unit includes:
a third judgment module;
the third determining module is configured to determine, by the server, whether the first target network element is successfully checked according to whether the registration response fed back by the first target network element is received, where the registration response is a response that the registration request is determined to be successfully checked by the first target network element.
Optionally, the apparatus further comprises:
a fourth execution unit and a fifth execution unit;
the fourth executing unit is configured to determine that the first target network element may perform registration when the third determining unit determines that the first target network element is successfully checked;
the fifth executing unit is configured to, when the third determining unit determines that the checking of the first target network element is unsuccessful, execute to resend the registration request to the first target network element.
Optionally, the second judging unit includes:
a second judgment module;
the second determining module is configured to determine, by the server, whether a notification fed back by the second target network element is received, where the notification is a notification that the second target network element has received the virtual N26 interface information.
Optionally, the apparatus further comprises:
a re-registration unit and a sixth execution unit;
the re-registration unit is configured to re-send a registration request to the first target network element by the server for re-registration;
the sixth executing unit is configured to set to operate in a single registration mode when the second determining unit determines that the second actual N26 interface exists.
Optionally, the virtual interface setting unit includes:
an acquisition module and a configuration module;
the obtaining module is configured to obtain relevant information about an N26 interface from the first target network element or the second target network element, where the relevant information is relevant information of a corresponding N26 protocol;
the configuration module is configured to configure the acquired related information on any locally reserved interface, so that the interface becomes the virtual N26 interface.
In a third aspect, an embodiment of the present application provides a device for switching network interaction modes, including:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the processor specifically performs the following operations:
the server registers the identity of a first target network element and is used for the server to confirm the interface with the first target network element;
the server is provided with a virtual N26 interface, and the virtual N26 interface is a virtual interface for carrying out interoperation between target network elements;
the server sends information of the virtual N26 interface to the first target network element through the virtual N26 interface, where the information is used to test whether the first target network element has a first actual N26 interface, and if so, the server feeds back a notification of successfully receiving the information;
the server judges whether a first actual N26 interface exists according to whether a feedback notice of successfully receiving the information is received or not;
if not, performing identity registration on the second target network element;
the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
the server determines whether a second actual N26 interface exists;
if not, setting a double registration mode to work.
Optionally, the processor is further configured to perform the operations of any of the alternatives of the first aspect.
A computer readable storage medium having a program stored thereon, the program, when executed on a computer, performing the method of the first aspect as well as any of the alternatives of the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
in the method for switching network interaction modes provided in the embodiment of the present application, after registering a first target network element, a virtual N26 interface is set, where the virtual N26 interface sends information of a virtual N26 interface to the first target network element, and if information fed back by the first target network element is received, it is determined that a first actual N26 interface exists, and the first actual N26 interface is set to operate in a single registration working mode, otherwise, a second target network element is registered; sending information of a virtual N26 interface to the second target network element through a virtual N26 interface; if the information fed back by the second target network element is received, the existence of the second actual N26 interface is determined, the single registration mode can be set to work directly, and if the existence of the second actual N26 interface is determined, the first target network element is registered again, and the double registration mode is set to work. Therefore, when the fact that the N26 interface does not exist currently is known, a double-registration mode is set to work, the problem that the user equipment cannot interoperate during working due to the fact that different communication networks exist is avoided, and normal communication is guaranteed.
Drawings
Fig. 1 is a schematic flow chart illustrating an embodiment of a method for switching network interaction modes in an embodiment of the present application;
fig. 2-1 and fig. 2-2 are schematic flow charts of another embodiment of a method for switching network interaction modes in the embodiment of the present application;
fig. 3 is a schematic structural diagram of an embodiment of a device for switching network interaction modes in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another embodiment of a device for switching network interaction modes in an embodiment of the present application;
fig. 5 is a schematic structural diagram of another embodiment of a device for switching network interaction modes in an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of the present invention.
The embodiment of the application provides a method for switching network interaction modes, which is used for avoiding the problem that network abnormity is caused because different communication networks enable user equipment to be incapable of interoperating during working.
In this embodiment, the method for switching the network interaction mode may be implemented in a system, a server, or a terminal, and is not specifically limited.
Referring to fig. 1, an embodiment of a method for switching network interaction modes in an embodiment of the present application includes:
101. the server registers the identity of a first target network element and is used for the server to confirm the interface with the first target network element;
a network element is the smallest unit that can be monitored and managed in network management, and is a certain network element or node in a network system, and the element can have a certain transmission function independently.
In the process that the user equipment needs to interact with the network element, the server needs to interoperate with the target network element, and therefore registering the target network element is a necessary preparation step for interoperation, so that a connection is established between the target network element and the target network element.
102. The server is provided with a virtual N26 interface, and the virtual N26 interface is a virtual interface for carrying out interoperation between target network elements;
the N26 interface is substantially an interface between a 4G core network and a 5G core network, that is, an interface between an MME and an AMF, and is used for interoperation between 4G and 5G, when it is unknown whether a target network element to be interoperated with the server has an N26 interface, the server needs to set a virtual interface to function as an N26 interface, where the virtual interface may be an interface reserved by the server for wireless communication, and the interface is connected to a baseband and a radio frequency module of the server and can invoke the baseband and the radio frequency module to send and receive data. The virtual N26 interface may use an existing protocol, such as a 2G standard protocol, a 3G standard protocol, or a 4G standard protocol, and is not limited herein.
103. The server sends the information of the virtual N26 interface to the first target network element through the virtual N26 interface;
the server needs to send a test message to the first target network element in order to test whether the first target network element has an actual N26 interface, and if the first target network element does not have an actual N26 interface, no feedback response is given to the server, otherwise, a message notification replied by the first target network element is received.
104. The server judges whether a first actual N26 interface exists according to whether a feedback notice of successfully receiving the information is received, and if not, step 105 is executed;
in order to ensure that the server can normally connect with and interoperate with the target network element, in this embodiment, it needs to be determined whether the target network element has an actual N26 interface, and if not, step 105 is executed.
105. The server registers the identity of the second target network element;
and when the server determines that the first target network element does not have the actual N26 interface, performing identity registration on the second target network element.
106. The server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
step 106 in this embodiment is similar to step 103, and is not described here again.
107. The server determines whether a second actual N26 interface exists, if not, step 108 is executed;
in order to ensure that the server can normally connect and interoperate with the target network element, in this embodiment, it needs to be determined whether the target network element has an actual N26 interface, and if not, step 108 is executed.
108. The server sets a double registration mode to work.
And when the server determines that the second target network element does not have the actual N26 interface, setting the double registration mode to work.
In this embodiment, the server may set its own working mode according to whether the actual N26 interface exists in the target network element, so as to avoid a problem that network abnormality may be caused by that each user equipment may not perform interoperation when working due to different communication networks.
For clearly describing the method for switching the network interaction mode, the embodiment of the present application will be described in detail with reference to fig. 2-1 and 2-2.
Referring to fig. 2-1 and 2-2, another embodiment of the method for switching network interaction modes in the embodiment of the present application includes:
201. the server sends a registration request to a first target network element, wherein the registration request is a request carrying identity identification information;
before the server performs identity registration on the first target network element, a registration request needs to be sent to the first target network element, so that the first target network element recognizes identity information of the server, where the identity information may be a sequence or a code, and the like, which is not limited herein.
202. The server judges whether the first target network element is successfully checked according to whether a registration response fed back by the first target network element is received, wherein the registration response is a response that the first target network element determines that the registration request is successfully checked, and if not, step 203 is executed; if yes, go to step 204;
the registration response fed back by the first target network element may be used to determine whether the first target network element has the first actual N26 interface in this embodiment, so the server may determine whether the first target network element is successfully verified according to whether the registration response fed back by the first target network element is received, if yes, step 204 is executed; if not, go to step 203.
203. The server resends the registration request to the first target network element;
when the server does not receive the registration response fed back by the first target network element, the server determines that the first target network element is not successfully verified, and the server needs to resend the registration request to the first target network element.
204. The server determines that the first target network element can be registered;
when the server receives the registration response fed back by the first target network element, the server determines that the first target network element is successfully checked, and the server determines that the first target network element can be registered.
This execution step is followed by execution of step 205.
205. The server registers the identity of a first target network element and is used for the server to confirm an interface with the first target network element;
206. the server acquires relevant information about an N26 interface from the first target network element or the second target network element, wherein the relevant information is relevant information of a corresponding N26 protocol;
steps 205 to 206 in this embodiment are similar to steps 101 to 102 in the previous embodiment, and are not described again here.
207. The server configures the acquired related information on any locally reserved interface, so that the interface becomes the virtual N26 interface;
in this embodiment, the relevant information in the relevant information acquired by the server refers to information, such as a home terminal address, an opposite terminal address, a port number, a packet size, a transmission path, and the like, acquired by the server from the first target network element and/or the second target network element, and is not limited herein.
208. The server sends the information of the virtual N26 interface to the first target network element through the virtual N26 interface;
step 208 in this embodiment is similar to step 103 in the previous embodiment, and is not described here again.
209. The server determines whether a notification fed back by the first target network element is received, where the notification is that the first target network element has successfully received the virtual N26 interface information, and if yes, step 210 is executed; if not, go to step 212;
after the server sends the test information to the first target network element, if the first target network element can successfully receive the test information, a notification is replied to the server, and if the server receives the notification, step 210 is executed; if the notification is not received, step 212 is performed.
210. The server determines that the first actual N26 interface exists and sets the first actual N26 interface to work in a single registration mode;
when the server receives the notification fed back by the first target network element, the server may determine that the first target network element has the first actual N26 interface, and set to operate in the single registration mode.
This execution step is followed by step 211.
211. The server receives information sent by the first target network element, wherein the information represents information that the first actual N26 interface suspends work;
when the server is working in the single registration mode, it may happen that the first target network element needs to temporarily stop the interworking, and at this time, the server receives a pause information sent by the first target network element.
This execution step is followed by execution of step 212.
212. The server registers the identity of the second target network element;
when the server does not receive the notification fed back by the first target network element, the server may determine that the first target network element does not have the first actual N26 interface, and perform identity registration on the second target network element.
213. The server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
step 213 in this embodiment is similar to step 106 in the previous embodiment, and is not described herein again.
214. The server determines whether a notification fed back by the second target network element is received, where the notification is that the second target network element has received the virtual N26 interface information, and if yes, step 217 is executed; if not, go to step 215;
step 214 in this embodiment is similar to step 209, and is not described herein again.
215. The server resends a registration request to the first target network element for re-registration;
when the server does not receive the notification fed back by the second target network element, it may be determined that neither the second actual N26 interface nor the first actual N26 interface exists in the current network, that is, the server needs to switch to the dual registration mode to operate, and in order to switch the operation mode of the server from the single registration mode to the dual registration mode, the server needs to re-register the first target network element.
This execution step is followed by execution of step 216.
216. The server sets a double registration mode to work;
when the server determines that neither the second actual N26 interface nor the first actual N26 interface exists in the current network, the first target network element is re-registered, so that the server can set up to operate in a dual-registration mode.
217. The server determining that the second actual N26 interface exists;
when the server receives notification of the second target network element feedback, it may then be determined that a second actual N26 interface exists.
This execution step is followed by execution of step 218.
218. The server is set to work in a single registration mode.
In the current network, the server has determined that there is no first actual N26 interface, and when there is a second actual N26 interface, the server may interoperate with the second target network element according to the second actual N26 interface, and set to operate in a single registration mode.
In this embodiment, when the server operates in the single registration mode, if it is known that there is no actual N26 interface in the current network, the server can automatically switch to the dual registration mode to operate, so as to ensure normal communication and increase flexibility of switching the operating modes of the server.
The above describes the method for switching the network interaction mode in the embodiment of the present application, and the following describes the apparatus for switching the network interaction mode in the embodiment of the present application:
referring to fig. 3, an embodiment of a device for switching network interaction modes in the embodiment of the present application includes:
a registering unit 301, configured to perform identity registration on a first target network element, where the identity registration is used for interface confirmation between a server and the first target network element;
a virtual interface setting unit 302, configured to set a virtual N26 interface, where the virtual N26 interface is a virtual interface for performing interoperation between target network elements;
a first sending unit 303, configured to send, to the first target network element through the virtual N26 interface, information of the virtual N26 interface, where the information is used to test whether the first target network element has the first actual N26 interface, and if the first target network element has the first actual N26 interface, a notification that the information is successfully received is fed back;
a first judging unit 304, configured to judge whether a first actual N26 interface exists according to whether a feedback notification of successfully receiving the information is received;
a first executing unit 305, configured to perform identity registration on the second target network element when the first determining unit 304 determines that the first actual N26 interface does not exist;
a second sending unit 306, configured to send information of the virtual N26 interface to the second target network element through the virtual N26 interface;
a second judging unit 307, configured to judge whether a second actual N26 interface exists;
a second executing unit 308, configured to set the dual registration mode to operate when the second judging unit 307 determines that the second actual N26 interface does not exist.
In this embodiment, the functions of each unit of the network interaction mode switching device correspond to the steps in the embodiment shown in fig. 1, and are not described herein again.
In this embodiment, after the registering unit 301 registers the first target network element, the virtual interface setting unit 302 sets a virtual N26 interface, sends information of the virtual N26 interface to the first target network element through the first sending unit 303, and the first determining unit 304 determines whether the first target network element has the first actual N26 interface, if not, the first executing unit 305 registers the second target network element, sends information of the virtual N26 interface to the second target network element through the second sending unit 306, and determines whether the second target network element has the second actual N26 interface through the second determining unit 307, and if not, the second executing unit 308 sets a dual-registration mode to operate. Therefore, when the fact that the N26 interface does not exist currently is known, a double-registration mode is set to work, the problem that the user equipment cannot interoperate during working due to the fact that different communication networks exist is avoided, and normal communication is guaranteed.
Referring to fig. 4, another embodiment of the device for switching network interaction modes in the embodiment of the present application includes:
a registering unit 401, configured to perform identity registration on a first target network element, where the identity registration is used for interface confirmation between a server and the first target network element;
a virtual interface setting unit 402, configured to set a virtual N26 interface, where the virtual N26 interface is a virtual interface for performing interoperation between target network elements;
a first sending unit 403, configured to send, to the first target network element through the virtual N26 interface, information of the virtual N26 interface, where the information is used to test whether the first target network element has the first actual N26 interface, and if the first target network element has the first actual N26 interface, a notification that the information is successfully received is fed back;
a first judging unit 404, configured to judge whether a first actual N26 interface exists according to whether a feedback notification that the information is successfully received is received;
a first executing unit 405, configured to perform identity registration on the second target network element when the first determining unit 404 determines that the first actual N26 interface does not exist;
a second sending unit 406, configured to send information of the virtual N26 interface to the second target network element through the virtual N26 interface;
a second determining unit 407, configured to determine whether a second actual N26 interface exists;
a second executing unit 408, configured to set the dual registration mode to operate when the second determining unit 407 determines that the second actual N26 interface does not exist.
In this embodiment, the apparatus for switching network interaction modes may further include:
a third sending unit 409, a third judging unit 410, a fifth executing unit 411, a fourth executing unit 412, a third executing unit 413, a receiving unit 414, a re-registering unit 415 and a sixth executing unit 416.
The third sending unit 409 is configured to send, by the server, a registration request to the first target network element, where the registration request is a request carrying identity information;
the third determining unit 410 is configured to determine, by the server, whether the first target network element is successfully checked;
the fifth performing unit 411 is configured to perform, when the third determining unit 410 determines that the first target network element is not successfully verified, resending the registration request to the first target network element;
the fourth executing unit 412 is configured to determine that the first target network element may perform registration when the third determining unit 410 determines that the first target network element is successfully checked;
the third executing unit 413 is configured to determine that the first actual N26 interface exists and execute the setting to work in the single registration mode when the first determining unit 404 determines that the notification fed back by the first target network element is received;
the receiving unit 414 is configured to receive, by the server, information sent by the first target network element, where the information indicates that the first actual N26 interface suspends operation;
the re-registration unit 415 is configured to re-send a registration request to the first target network element by the server for re-registration;
the sixth performing unit 416 is configured to set to operate in a single registration mode when the second determining unit determines that the second actual N26 interface is present.
In this embodiment, the third judging unit 410 may include a third judging module 4101.
The third determining module 4101 is configured to determine, by the server, whether the first target network element is successfully verified according to whether the registration response fed back by the first target network element is received, where the registration response is a response that the registration request verification is determined to be successful by the first target network element.
In this embodiment, the virtual interface setting unit 402 may include an obtaining module 4021 and a configuring module 4022.
The obtaining module 4021 is configured to obtain relevant information about an N26 interface from a first target network element or a second target network element, where the relevant information is relevant information of a corresponding N26 protocol;
the configuration module 4022 is configured to configure the acquired related information on any locally reserved interface, so that the interface becomes a virtual N26 interface.
In this embodiment, the first determining unit 404 may include a first determining module 4041.
The first determining module 4041 is configured to determine whether a notification that the first target network element has successfully received the information of the virtual N26 interface is received.
In this embodiment, the second determination unit 407 may include a second determination module 4071.
The second determining module 4071 is configured to determine whether a notification that the second target network element has received the virtual N26 interface information is received by the server.
In the above embodiments, the functions of each unit and each module correspond to the steps in the embodiments shown in fig. 2-1 and fig. 2-2, and are not described herein again.
Referring to fig. 5, a detailed description is given below of a network interaction mode switching device in an embodiment of the present application, where another embodiment of the network interaction mode switching device in the embodiment of the present application includes:
a processor 501, a memory 502, an input/output unit 503, and a bus 504;
the processor 501 is connected with the memory 502, the input/output unit 503 and the bus 504;
the processor 501 specifically performs the following operations:
the server registers the identity of the first target network element and is used for the server to confirm the interface with the first target network element;
the server sets a virtual N26 interface, the virtual N26 interface is a virtual interface for interoperation between target network elements;
the server sends information of the virtual N26 interface to the first target network element through the virtual N26 interface, where the information is used to test whether the first target network element has a first actual N26 interface, and if so, the server feeds back a notification of successfully receiving the information;
the server judges whether a first actual N26 interface exists according to whether a feedback notice of successfully receiving the information is received or not;
if not, performing identity registration on the second target network element;
the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
the server determines whether a second actual N26 interface exists;
if not, setting a double registration mode to work.
In this embodiment, the functions of the processor 501 correspond to the steps in the embodiments described in fig. 1 to fig. 4, and are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (10)

1. A method for switching network interaction modes is characterized by comprising the following steps:
the server registers the identity of a first target network element and is used for the server to confirm the interface with the first target network element;
the server is provided with a virtual N26 interface, and the virtual N26 interface is a virtual interface for carrying out interoperation between target network elements;
the server sends information of the virtual N26 interface to the first target network element through the virtual N26 interface, where the information is used to test whether the first target network element has a first actual N26 interface, and if so, the server feeds back a notification of successfully receiving the information;
the server judges whether a first actual N26 interface exists according to whether a feedback notice of successfully receiving the information is received or not;
if not, performing identity registration on the second target network element;
the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
the server determines whether a second actual N26 interface exists;
if not, setting a double registration mode to work.
2. The method of claim 1, wherein the determining, by the server, whether the first actual N26 interface exists according to whether the feedback notification of the successful reception of the information is received comprises:
the server judges whether a notification fed back by the first target network element is received, wherein the notification is a notification that the first target network element has successfully received the information of the virtual N26 interface;
and if so, determining that the first actual N26 interface exists and setting the interface to work in a single registration mode.
3. The method according to claim 2, wherein after the setting is performed in the single registration mode, the method further comprises:
the server receives information sent by the first target network element, wherein the information represents information that the first actual N26 interface suspends work;
the server registers the identity of the second target network element;
the server sends the information of the virtual N26 interface to the second target network element through the virtual N26 interface;
and the server judges whether a second actual N26 interface exists according to the information, and if not, a double registration mode is set to work.
4. The method for switching network interaction mode of claim 1, wherein before the server performs identity registration with the first target network element, the method further comprises:
the server sends a registration request to a first target network element, wherein the registration request is a request carrying identity identification information;
and the server judges whether the first target network element is successfully checked, and if so, the first target network element is determined to be capable of registering.
5. The method for switching network interaction modes according to claim 4, wherein the step of the server determining whether the first target network element is successfully checked comprises:
and the server judges whether the first target network element is successfully checked according to whether the registration response fed back by the first target is received, wherein the registration response is a response that the registration request is successfully checked and determined by the first target network element.
6. The method for switching network interaction modes according to claim 2, wherein the server determines whether a second actual N26 interface exists, comprising:
the server judges whether a notification fed back by the second target network element is received, wherein the notification is that the second target network element has received the virtual N26 interface information;
if so, it is determined that the second actual N26 interface exists.
7. The method for switching network interaction modes according to claim 1, wherein after the server determines whether there is a second actual N26 interface according to the information and before the setting of the dual registration mode, the method further comprises:
the server resends the registration request to the first target network element for re-registration.
8. The method for switching network interaction modes according to any one of claims 1 to 6, wherein the server sets a virtual N26 interface, and the method comprises the following steps:
the server acquires relevant information about an N26 interface from the first target network element or the second target network element, wherein the relevant information is relevant information of a corresponding N26 protocol;
the server configures the acquired related information on any locally reserved interface, so that the interface becomes the virtual N26 interface.
9. An apparatus for switching network interaction modes, comprising:
a registration unit, configured to perform identity registration on a first target network element, where the registration unit is used for performing interface confirmation between the server and the first target network element;
a virtual interface setting unit, configured to set a virtual N26 interface, where the virtual N26 interface is a virtual interface for performing interoperation between target network elements;
a first sending unit, configured to send, to the first target network element through the virtual N26 interface, information of the virtual N26 interface, where the information is used to test whether the first target network element has a first actual N26 interface, and if the first target network element has the first actual N26 interface, a notification that the information is successfully received is fed back;
a first judging unit, configured to judge whether a first actual N26 interface exists according to whether a feedback notification that the information is successfully received is received;
a first executing unit, configured to perform identity registration on a second target network element when the first determining unit determines that the first actual N26 interface does not exist;
a second sending unit, configured to send information of the virtual N26 interface to the second target network element through the virtual N26 interface;
a second judging unit, configured to judge whether a second actual N26 interface exists;
a second executing unit, configured to set a dual registration mode to operate when the second determining unit determines that the second actual N26 interface does not exist.
10. The apparatus for switching network interaction mode according to claim 9, wherein the first determining unit comprises:
a first judgment module;
the first determining module is configured to determine whether a notification fed back by the first target network element is received, where the notification is a notification that the first target network element has successfully received the information of the virtual N26 interface.
CN202010742543.6A 2020-07-29 2020-07-29 Method for switching network interaction modes and related device thereof Withdrawn CN112073368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010742543.6A CN112073368A (en) 2020-07-29 2020-07-29 Method for switching network interaction modes and related device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010742543.6A CN112073368A (en) 2020-07-29 2020-07-29 Method for switching network interaction modes and related device thereof

Publications (1)

Publication Number Publication Date
CN112073368A true CN112073368A (en) 2020-12-11

Family

ID=73657653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010742543.6A Withdrawn CN112073368A (en) 2020-07-29 2020-07-29 Method for switching network interaction modes and related device thereof

Country Status (1)

Country Link
CN (1) CN112073368A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023130856A1 (en) * 2022-01-05 2023-07-13 中国联合网络通信集团有限公司 Communication method and apparatus, and core network device, terminal device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023130856A1 (en) * 2022-01-05 2023-07-13 中国联合网络通信集团有限公司 Communication method and apparatus, and core network device, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN105813115B (en) WIFI network configuration method and device
EP2789182B1 (en) Methods and apparatus to trigger firmware update request in response to a failure event
EP2391149A1 (en) Configuring wifi parameters via a USB connection
CN104936266A (en) Network access method and network access device
US9949116B2 (en) Method and apparatus for establishing SSID-based connection between terminal device and gateway device
KR102590338B1 (en) Short message service ability updating method, device and apparatus
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN111492717A (en) Session management method and device and communication system
CN112543468A (en) Disaster recovery method for gateway equipment and communication equipment
CN111884836A (en) Service transmission method and device
CN105847048B (en) The configuration method and device of smart machine
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN112073368A (en) Method for switching network interaction modes and related device thereof
US10187796B2 (en) Authentication and association method and system
EP2475199A1 (en) Handover method and device for an access service network
CN111757317B (en) Request processing method, related device and system
CN105072666A (en) WIFI hot spot connection control method, server, and WIFI hot spot
EP3823387A1 (en) Information indicating method and apparatus
CN107466018A (en) The data transferring method and terminal device of a kind of terminal device
EP2523420A2 (en) Method, apparatus and computer program product for security configuration coordination during a cell update procedure
CN105681880B (en) Wireless network connecting method and device, television terminal and mobile terminal
US20220182907A1 (en) Base station, control method, and storage medium
CN113382371B (en) Short message sending method, user information sending method and equipment
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201211