CN117118780A - Control method, device, equipment and storage medium of multi-network convergence gateway - Google Patents

Control method, device, equipment and storage medium of multi-network convergence gateway Download PDF

Info

Publication number
CN117118780A
CN117118780A CN202311002941.4A CN202311002941A CN117118780A CN 117118780 A CN117118780 A CN 117118780A CN 202311002941 A CN202311002941 A CN 202311002941A CN 117118780 A CN117118780 A CN 117118780A
Authority
CN
China
Prior art keywords
network
interface
application
data
sent
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.)
Pending
Application number
CN202311002941.4A
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202311002941.4A priority Critical patent/CN117118780A/en
Publication of CN117118780A publication Critical patent/CN117118780A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • H04L2012/6443Network Node Interface, e.g. Routing, Path finding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a control method, a device, equipment and a storage medium of a multi-network convergence gateway, which comprise the following steps: judging whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the fusion gateway foreground and preset conditions; if yes, creating a second interface connected with a second type network; judging whether the network interface corresponding to the data to be transmitted generated by the application is a second interface or a first interface, and sending the data to be transmitted from the corresponding interface. By judging whether the application allowing the second type of network to be accessed exists in the foreground running application in real time, after the application is in the jump running state, a second interface corresponding to the second type of network is established, meanwhile, in the subsequent data conveying process, the data to be sent can be accurately sent to the corresponding network by further judging the network interface corresponding to the data to be sent, and finally, the fusion gateway can run a plurality of applications with different network environments simultaneously.

Description

Control method, device, equipment and storage medium of multi-network convergence gateway
Technical Field
The present application relates to the field of converged gateways, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a multi-network converged gateway.
Background
With the continuous expansion of the service form of the converged gateway terminal, supported applications are more and more, and different application butt joints are different in network environment of the server, so that the application has different routing requirements, for example, the second type network is needed by the application such as screen throwing, conference and the like; and the applications such as iptv, network management, probes and the like need to use the first type of network. Therefore, more gateway terminals capable of adjusting the network interfaces in the running process according to the requirements have appeared in the related art, so that the gateway terminals can meet the running requirements of the first-type network or the second-type network application.
However, such a converged gateway terminal can only switch the network interface of the converged gateway to the second interface or the first interface according to the need, and cannot use multiple applications that need to access different networks at the same time, when multiple applications that need to access different networks are running, for example, when meeting or throwing a screen, network management heartbeat needs to be reported, at this time, the simultaneous use of the second type of network and the first type of network will be involved, and the converged gateway terminal in the related art cannot realize the simultaneous use of applications in different network environments, so that such use situations cannot be satisfied.
Disclosure of Invention
The application mainly aims to provide a control method, a device, equipment and a storage medium of a multi-network convergence gateway, which aim to solve the problem that the gateway in the related technology can only access a first type network or a second type network at the same time.
In a first aspect, the present application provides a method for controlling a multi-network convergence gateway, which adopts the following technical scheme:
a method for controlling a multi-network convergence gateway, comprising:
judging whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the fusion gateway foreground and preset conditions; the default access network of the convergence gateway is a first type network, and the first type network and the second type network are different types of private networks and public networks;
if yes, creating a second interface connected with a second type network; the second interface is used for connecting the second type network while the fusion gateway is connected with the first type network through the first interface;
judging whether a network interface corresponding to data to be transmitted generated by an application is the first interface or the second interface, and sending the data to be transmitted from the corresponding interface.
In some embodiments, the method determines whether the application allowed to be accessed to the second type network is running according to the running information of the application running in the foreground and the preset condition,
the running information comprises application names, and the preset conditions comprise whether the application names belong to a preset second-class network application white list.
In some embodiments, the determining that the network interface corresponding to the data to be sent generated by the application is the second interface or the first interface includes the following steps:
judging whether the source application of the data to be sent belongs to a preset second-class network application white list or not;
if the data to be sent belongs to the second interface, the data to be sent corresponds to the second interface, and the data to be sent is sent out through the second interface;
if the data to be sent does not belong to the first interface, the data to be sent corresponds to the first interface, and the data to be sent is sent out through the first interface.
In some embodiments, before the determining that the network interface corresponding to the data to be sent generated by the application is the second interface or the first interface, the method includes the following steps:
judging whether a pre-agreed first type network identifier exists in the data to be transmitted generated by the application;
and if the first type network identification exists, sending the data to be sent out through a first interface.
In some embodiments, before the determining that the network interface corresponding to the data to be sent generated by the application is the first interface or the second interface and sending the data to be sent from the corresponding interface, the method includes the following steps:
judging whether the network interfaces of the data to be sent need to be distinguished and corresponding according to whether the second interface is established or not;
if so, executing the distinguishing step of the data network interface to be sent;
and if not, sending the data to be sent out from the first interface.
In some embodiments, after the second interface connected to the second type of network is created, the running state of the gateway is adjusted to be a dual-network state;
and judging whether the second interface is established according to whether the current state in the gateway is a double-mesh state when judging whether the network interface of the data to be sent needs to be subjected to distinguishing correspondence or not according to whether the second interface is established or not.
In some embodiments, the method further comprises the steps of:
and if the application operation accessing the second type network does not exist, deleting the established second interface.
In a second aspect, the present application further provides a control device for a multi-network convergence gateway, which adopts the following technical scheme:
a control device of a multi-network convergence gateway, comprising:
the monitoring module is configured to judge whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the foreground and preset conditions;
the creation module creates a second interface connected with a second type network if the second type network is provided with the second interface; the second interface and the first interface of the fusion gateway are used for connecting the first type of network;
and the data distribution module is configured to judge whether the network interface corresponding to the data to be transmitted generated by the application is the second interface or the first interface if the second interface exists, and send the data to be transmitted from the corresponding interface.
In a third aspect, the present application further provides a control device for a multi-network convergence gateway, which adopts the following technical scheme:
a control device for a multi-network convergence gateway, wherein the control device for a multi-network convergence gateway comprises a processor, a memory, and a control program for a multi-network convergence gateway stored on the memory and executable by the processor, wherein the control program for a multi-network convergence gateway, when executed by the processor, implements the steps of the control method for a multi-network convergence gateway as described above.
In a fourth aspect, the present application further provides a storage medium, which adopts the following technical scheme:
a storage medium having stored thereon a control program of a multi-network convergence gateway, wherein the control program of the multi-network convergence gateway, when executed by a processor, implements the steps of the control method of the multi-network convergence gateway as described above.
According to the control method, the device, the equipment and the storage medium of the multi-network convergence gateway, whether the application allowing access to the second type of network exists in the foreground operation application is judged in real time, a second interface corresponding to the second type of network is established after the application is jumped to operate, and the second interface and the first interface exist simultaneously, so that the application operated in two network environments has a smooth operation basis; meanwhile, in the subsequent data transmission process, aiming at two network interfaces which exist simultaneously, the method and the device can accurately transmit the data to be transmitted to the corresponding network by judging the network interfaces corresponding to the data to be transmitted, and finally realize that the fusion gateway can simultaneously operate a plurality of applications with different network environments, thereby meeting the use requirements of specific scenes.
Drawings
Fig. 1 is a schematic hardware structure of a control device of a multi-network convergence gateway according to an embodiment of the present application;
fig. 2 is a flow chart of a first embodiment of a control method of the multi-network convergence gateway of the present application;
fig. 3 is a schematic partial flow chart of a second embodiment of a control method of the multi-network convergence gateway of the present application;
fig. 4 is a schematic partial flow chart of a third embodiment of a control method of the multi-network convergence gateway according to the present application;
fig. 5 is a schematic functional block diagram of a control device of a multi-network convergence gateway according to a first embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
With the continuous expansion of the service form of the converged gateway terminal, supported applications are more and more, and different application butt joints are different in network environment of the server, so that the application has different routing requirements, for example, the second type network is needed by the application such as screen throwing, conference and the like; and the applications such as iptv, network management, probes and the like need to use the first type of network. In order to meet the requirements of different applications on different routes, such as a conference or screen throwing, and at the same time, network management heartbeat needs to be reported, at this time, the function of enabling the converged gateway terminal to support simultaneous access to a plurality of networks is needed. In the related art, the gateway can only support access to one network at the same time, and cannot meet the application scenario. In order to solve the problems, the application provides a control method, a device, equipment and a storage medium of a multi-network convergence gateway.
The control method, the device, the equipment and the storage medium of the multi-network convergence gateway are characterized in that whether the application allowing access to the second type of network exists in the foreground operation application is judged in real time, a second interface corresponding to the second type of network is established after the application is jumped to operate, and the second interface and the first interface exist simultaneously, so that the application operated under two network environments has a smooth operation basis; meanwhile, in the subsequent data transmission process, aiming at two network interfaces which exist simultaneously, the method and the device can accurately transmit the data to be transmitted to the corresponding network by judging the network interfaces corresponding to the data to be transmitted, and finally realize that the fusion gateway can simultaneously operate a plurality of applications with different network environments, thereby meeting the use requirements of specific scenes.
In a first aspect, an embodiment of the present application provides a control device of a multi-network convergence gateway, where the control device of the multi-network convergence gateway may be a device with a data processing function, such as a personal computer (personal computer, PC), a notebook computer, a server, or the like.
Referring to fig. 1, fig. 1 is a schematic hardware structure of a control device of a multi-network convergence gateway according to an embodiment of the present application. In an embodiment of the present application, the control device of the multi-network convergence gateway may include a processor 1001 (e.g., a central processing unit Central Processing Unit, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM) or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 is not limiting of the application and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is a type of computer storage medium in fig. 1, may include an operating system, a network communication module, a user interface module, and a control program for a multi-network convergence gateway. The processor 1001 may call a control program of the multi-network convergence gateway stored in the memory 1005, and execute the control method of the multi-network convergence gateway provided by the embodiment of the present application.
In a second aspect, an embodiment of the present application provides a method for controlling a multi-network convergence gateway.
Referring to fig. 2, a control method of a multi-network convergence gateway includes:
s100, judging whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the fusion gateway foreground and preset conditions; the default access network of the convergence gateway is a first type network, and the first type network and the second type network are different types of private networks and public networks;
s200, if yes, creating a second interface connected with a second type network; the second interface and the first interface of the fusion gateway are used for connecting the first type of network;
s300, judging that a network interface corresponding to data to be transmitted generated by an application is the second interface or the first interface, and sending the data to be transmitted from the corresponding interface.
In different embodiments, the default access network of the convergence gateway, that is, the first type network may be a private network or a public network, and the corresponding second type network may be a public network or a private network. Considering that the private network needs higher security than the public network, the embodiment specifically refers to an embodiment in which the first type of network is the private network and the second type of network is the public network, and when the private network application and the public network application need to be used simultaneously, the private network application and the public network application are used simultaneously by establishing an additional public network interface, namely a second interface.
The method comprises the steps that whether the application operation allowing access to the second type network exists is judged according to the operation information of the application operated at the fusion gateway foreground and preset conditions; the default access network of the convergence gateway is a first type network, and the first type network and the second type network are different types of private networks and public networks.
Specifically, in this embodiment, the public network is used as the second type network, the public network interface is used as the second type network interface, and for the second interface established in step S200, that is, the public network interface, a path connected to the public network interface needs to be established, the specific process is as follows: after the public network interface is established, starting a DHCP protocol to acquire information such as a public network ip, dns, a gateway and the like; planning a public network table A, adding a public network default route to the table A, and issuing a route: the source ip is the exit point table A of the public network ip. The public network interface can be smoothly connected when needed after being established.
Further, in some preferred embodiments, step S100 determines whether there is an application running allowed to be connected to the second type network according to the running information of the application running in the foreground and the preset condition,
the running information comprises application names, and the preset conditions comprise whether the application names belong to a preset second-class network application white list.
Specifically, if the running information belongs to the second-class network application white list, the running information is an application which is allowed to access the second-class network; and if the running information does not belong to the second-class network application white list, the running information is an application which is not allowed to access the second-class network.
By setting the application name fed back by the application in the foreground operation and the preset second-class network application white list aiming at the second-class network, the foreground application can be judged conveniently and quickly, meanwhile, for a plurality of different applications needing to be connected with the second-class network, only the second-class network application white list needs to be written in advance one by one, the fusion gateway can respond to the operation of the application, an additional second-class network interface is established, and the related applications of the first-class network and the second-class network can be connected in the fusion gateway at the same time.
Further, in some preferred embodiments, if the second interface exists, the step S300 of determining that the network interface corresponding to the data to be sent generated by the application is the second interface or the first interface includes the following steps:
s310, judging whether source application of data to be sent belongs to a preset second-class network application white list or not;
and S320, if the data to be sent corresponds to a second interface, and the data to be sent is sent out through the second interface.
And distinguishing the data to be transmitted by utilizing the preset second-class network application white list again, so that the problem that the data to be transmitted is still transmitted to the first interface by default under the condition that a plurality of network interfaces exist is effectively solved.
Specifically, when data to be sent needs to be sent from the first interface or the second interface, in this embodiment, an http request is specifically sent by a public network application running in the gateway foreground as an example, if the step S300 is not executed, because the default interface of the gateway is a private network interface, that is, the first interface, when the public network application running in the gateway foreground initiates the http request, an innoldress. Getalbyname resolving domain name is default used, that is, the first interface is still default used, so that the data cannot be sent to the corresponding public network interface, and in the step S300 provided by the present application, a contact. Party context is used to obtain a packet name before the domain name needs to be resolved, if the packet name is not in the white list of the second type network application, the default method is used, and if the second type network application is in white list, a new adding method is used, and the method is capable of achieving that the data cannot be sent to the corresponding public domain name, and a parameter is added to the method is compared with the forward_identifier: an interface name; and (5) transmitting the interface of the public network. Finally, the realization logic is to bind the created socket interface to the public network interface ip before sending the dns name resolution message, and the destination address of the connect is the dns address of the public network interface. The format of the domain name resolution message is that the source ip is a public network ip, and the destination ip is a public network dns address. This message will match table a as described above and thus go out of the public network interface. And obtaining an analysis result of dns as an ip address corresponding to the domain name. Issuing policy routing: the data accessing this ip is all going out of the public network interface.
In addition, for the case that the source application of the data to be sent does not belong to the second-class network application white list, different choices may be made in different embodiments, for example, the data to be sent, of which the source application does not belong to the second-class network application white list, are all sent through the first interface; for another example, the data to be sent, of which the source application does not belong to the whitelist of the second-class network application, is further differentiated to obtain the data to be sent which needs to be sent to the first-class network and the data of the application which is not allowed to access the second-class network, and the running of the application which is not allowed to access the second-class network can be further stopped.
Because some applications can select different networks to run at different stages according to needs, for example, one type of application can be switched to be connected with a first type of network while being connected with a second type of network by default, and further, when a corresponding second interface is established, if the corresponding second interface is directly sent out according to the source application of the data to be sent, accurate sending of the data cannot be realized under the conditions.
Based on this problem, in other embodiments, before the determining that the network interface corresponding to the data to be sent generated by the application is the second interface or the first interface in step S300 if the second interface exists, the method includes the following steps:
s210, judging whether a pre-agreed first type network identifier exists in data to be transmitted generated by an application;
and S220, if the first type network identifier exists, sending the data to be sent out through a first interface.
By such a configuration, the manner of selecting the outgoing network interface before step 300 by first responding to the network identifier added in the data generated by the application, it is possible to run the application in two different network environments, and discovery to the first type network can still be completed by identifying the network identifier in the data to be sent, so that the data is prevented from being sent to the second type network under the limitation of the white list of the second type network application.
In addition, for some data to be transmitted without the first type network identifier, data splitting is still performed through step S300. The fusion gateway provided by the application can ensure that the application transmits data in the corresponding network environment, and can accurately run the application capable of switching the network environment.
Further, referring to fig. 3, in some preferred embodiments, before the network interface corresponding to the data to be sent generated by the judging application is the first interface or the second interface, and the data to be sent is sent from the corresponding interface, the method includes the following steps:
s230, judging whether the network interfaces of the data to be sent need to be distinguished and corresponding according to whether the second interface is established or not;
s231, if so, executing the distinguishing step of the data network interface to be sent, namely, step S300;
s232, if not, sending the data to be sent out from the first interface.
By the arrangement, the network interface distinction of the data to be sent is realized only after the second interface is established, so that the network interface of the data to be sent is prevented from being distinguished still due to waste of calculation force when only the first interface is used, and the execution process of the application method is effectively optimized.
Specifically, after the step S200 of creating the second interface connected to the second type network, the running state of the gateway is adjusted to be a dual-network state;
in step S230, whether the second interface is established is specifically determined according to whether the current state in the gateway is a dual-network state, so as to achieve a process of quickly and effectively determining whether the network interface of the data to be sent needs to be distinguished.
In the process of adjusting the running state of the gateway to be the double-network state, specifically, setting a double-network mark capable of reflecting whether the running state is the double-network state in the gateway, wherein the double-network mark has two states of true and false, after the second interface is established, the double-network mark is switched to the true state corresponding to the double-network state of the running state of the gateway, and when the second interface is not found, the double-network mark is switched back to the false state corresponding to the running state of the gateway.
Further, in some preferred embodiments, the method for controlling a multi-network convergence gateway further includes the following steps:
s010, responding to a modification signal of a preset condition, and adjusting the preset condition according to the content of the modification signal.
Specifically, step S010 is triggered to be executed only according to whether the modification signal is acquired, and in this embodiment, the preset condition corresponds to the second class network application whitelist, so that adding or deleting the application name in the second class network application whitelist according to the modification signal can be realized. The trigger of the modification signal may be generated according to whether the installation instruction or the uninstallation instruction of the application that does not meet the preset condition is acquired in the gateway, which is not limited by the present application.
The setting of the second class network application white list can be adjusted by a user in the process of fusing the network terminals, so that the user can send data from the second interface smoothly when running after adjusting the second class network application white list when installing the application which is outside the second class network application white list and is not connected with the first class network by default, and the method is convenient for the user to use in the later period and has high practicability. Meanwhile, for the application which is unloaded from the fusion gateway terminal and meets the preset condition, after the unloading instruction is acquired, whether the application name of the application is deleted from the corresponding second-class network application white list can be selected, so that the safety is ensured.
Further, with reference to fig. 4, in some preferred embodiments, the following steps are also included:
and S600, deleting the established second interface if the application allowed to access the second type network is not operated.
Specifically, for the embodiment in which the second type network is a public network and the first type network is a private network, since the public network interface is connected to the public network, the converged gateway terminal faces a higher network risk, so that the use security of the terminal is further improved through step S500, and the intrusion of information from the second type network is avoided when the second interface is not needed.
Based on the above embodiments, the present application provides an embodiment of a multi-network convergence gateway suitable for an Android system, where a first type of network that is accessed by default is a private network, and a second type of network is a public network, and the embodiment includes the following contents:
(1) And prefabricating the application package names needing to access the public network in a public network white list.
(2) And when the application in the public network white list runs in the foreground application, executing the action of adding the public network. And when the public network is not applied to the foreground, executing the action of deleting the public network.
When executing the action of adding the public network, the public network module will firstly create a public network interface, and then start a DHCP protocol to acquire information such as the public network ip, dns and gateway. Planning a public network table A, adding a public network default route to the table A, and issuing a route: the source ip is the outlet pointing table A of the public network ip;
when the action of deleting the public network is executed, the created public network interface is deleted, and the issued route is deleted. And clearing recorded public network ip and other information.
Meanwhile, when the application in the public network white list runs in the foreground, a double-network mark is set to true, and the fusion gateway enters a double-network state;
when no public network is applied to the foreground, the double-network mark is set as false, and the gateway running state is in a non-double-network state.
(3) The interface for acquiring the ip in the InetAddress is an interface which is used by all android applications when network connection is initiated, so that the ip which needs to be accessed is acquired. When the dual-network identifier is true, that is, the gateway is in a dual-network state, and the process packet name in the data to be transmitted for initiating the network connection is in the second-class network application white list. The data from the acquired ip will go out of the public network interface. If the data is not public network, the default mechanism of the android system is going out from the default interface, i.e. private network interface.
And finally, when the public network application initiates network connection, if the public network application needs to access a domain name address, acquiring a data packet name of the public network application by using context. PantContext, judging whether the registration is in a white list of a second type network application, and if so, binding a created socket interface to the public network ip before sending a dns domain name resolution message, wherein the destination address of the connection is the public network dns address. The format of the domain name resolution message is that the source ip is a public network ip, and the destination ip is a public network dns address. The message will match the upper table a and thus go out of the public network interface. And obtaining an analysis result of dns as an ip address corresponding to the domain name. Issuing policy routing: the data accessing this ip is all going out of the public network interface.
In a third aspect, the embodiment of the application further provides a control device of the multi-network convergence gateway.
Referring to fig. 5, a functional block diagram of a first embodiment of a control device of a multi-network convergence gateway is shown.
In this embodiment, the control device of the multi-network convergence gateway includes:
the monitoring module is configured to judge whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the foreground and preset conditions;
the creation module creates a second interface connected with a second type network if the second type network is provided with the second interface; the second interface and the first interface of the fusion gateway are used for connecting the first type of network;
and the data distribution module is configured to judge whether the network interface corresponding to the data to be transmitted generated by the application is the second interface or the first interface if the second interface exists, and send the data to be transmitted from the corresponding interface.
The function implementation of each module in the control device of the multi-network convergence gateway corresponds to each step in the control method embodiment of the multi-network convergence gateway, and the function and implementation process of each module are not described in detail herein.
In a fourth aspect, an embodiment of the present application further provides a storage medium.
The storage medium of the application stores a control program of the multi-network convergence gateway, wherein when the control program of the multi-network convergence gateway is executed by a processor, the steps of the control method of the multi-network convergence gateway are realized.
The method implemented when the control program of the multi-network convergence gateway is executed may refer to various embodiments of the control method of the multi-network convergence gateway of the present application, which are not described herein.
The control method, the device, the equipment and the storage medium of the multi-network convergence gateway provided by the application have the following working principle and beneficial effects:
the method comprises the steps of judging whether an application allowing access to a second type of network exists in a foreground operation application in real time, and after the application is in a jump operation, establishing a second interface corresponding to the second type of network, wherein the second interface and the first interface exist simultaneously, so that the application operated in two network environments has a smooth operation basis; meanwhile, in the subsequent data transmission process, aiming at two network interfaces which exist simultaneously, the method and the device can accurately transmit the data to be transmitted to the corresponding network by judging the network interfaces corresponding to the data to be transmitted, and finally realize that the fusion gateway can simultaneously operate a plurality of applications with different network environments, thereby meeting the use requirements of specific scenes;
meanwhile, as part of applications have the possibility of selecting different networks to operate at different stages according to the needs, for example, one type of application can be switched to be connected with a first type of network while being connected with a second type of network by default, and further, the application selects the sent network interface by responding to the added network identifier in the data generated by the application first. The fusion gateway provided by the realization can not only effectively run the application which can use one network environment, but also ensure that the application which can be switched and connected in two network environments can run smoothly.
In some embodiments where the preset condition is the second type of network application white list, the second type of network application white list may be added according to a feedback instruction formed after the user interacts with the first interaction signal. By the arrangement, the second-class network application white list can be adjusted by a user in the process of fusing the network terminals, so that the user can establish a second interface in running when installing the application which is outside the second-class network application white list and is not connected with the first-class network by default, later use of the user is facilitated, and the method has high practicability. And in the application which is unloaded from the fusion gateway terminal and accords with the preset condition, a second interaction instruction can be output, and whether the application name is deleted from a second class network application white list is selected so as to ensure the safety;
meanwhile, for the embodiment that the second type network is a public network and the first type network is a private network, the application further increases the security of the whole scheme by deleting the second interface when the application which is not accessed to the public network runs.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a terminal device to perform the method according to the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The control method of the multi-network convergence gateway is characterized by comprising the following steps:
judging whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the fusion gateway foreground and preset conditions; the default access network of the convergence gateway is a first type network, and the first type network and the second type network are different types of private networks and public networks;
if yes, creating a second interface connected with a second type network; the second interface is used for connecting the second type network while the fusion gateway is connected with the first type network through the first interface;
judging whether a network interface corresponding to data to be transmitted generated by an application is the first interface or the second interface, and sending the data to be transmitted from the corresponding interface.
2. The method for controlling a multi-network convergence gateway as claimed in claim 1, wherein said determining whether there is an application running allowed to be connected to the second type network based on the running information of the application running in the foreground and a preset condition,
the running information comprises application names, and the preset conditions comprise whether the application names belong to a preset second-class network application white list.
3. The method for controlling a multi-network convergence gateway according to claim 1, wherein the network interface corresponding to the data to be sent generated by the judging application is the second interface or the first interface, and the method comprises the following steps:
judging whether the source application of the data to be sent belongs to a preset second-class network application white list or not;
if the data to be sent belongs to the second interface, the data to be sent corresponds to the second interface, and the data to be sent is sent out through the second interface;
if the data to be sent does not belong to the first interface, the data to be sent corresponds to the first interface, and the data to be sent is sent out through the first interface.
4. The method for controlling a multi-network convergence gateway according to claim 3, wherein before the determining that the network interface corresponding to the data to be sent generated by the application is the second interface or the first interface, the method comprises the following steps:
judging whether a pre-agreed first type network identifier exists in the data to be transmitted generated by the application;
and if the first type network identification exists, sending the data to be sent out through a first interface.
5. The method for controlling a multi-network convergence gateway according to claim 1, wherein before the network interface corresponding to the data to be sent generated by the judging application is the first interface or the second interface, and the data to be sent is sent from the corresponding interface, the method comprises the following steps:
judging whether the network interfaces of the data to be sent need to be distinguished and corresponding according to whether the second interface is established or not;
if so, executing the distinguishing step of the data network interface to be sent;
and if not, sending the data to be sent out from the first interface.
6. The method for controlling a multi-network convergence gateway as set forth in claim 5, wherein after said creating a second interface for connecting to a second type network, the operation state of the gateway is adjusted to be a dual-network state;
and judging whether the second interface is established according to whether the current state in the gateway is a double-mesh state when judging whether the network interface of the data to be sent needs to be subjected to distinguishing correspondence or not according to whether the second interface is established or not.
7. The method for controlling a multi-network convergence gateway of claim 1, further comprising the steps of:
and if the application operation accessing the second type network does not exist, deleting the established second interface.
8. A control device for a multi-network convergence gateway, comprising:
the monitoring module is configured to judge whether the application operation allowing the access to the second type network exists or not according to the operation information of the application operated at the foreground and preset conditions;
the creation module creates a second interface connected with a second type network if the second type network is provided with the second interface; the second interface and the first interface of the fusion gateway are used for connecting the first type of network;
the data distribution module is configured to judge whether a network interface corresponding to data to be transmitted generated by an application is the second interface or the first interface, and send the data to be transmitted from the corresponding interface.
9. A control device of a multi-network convergence gateway, characterized in that the control device of a multi-network convergence gateway comprises a processor, a memory, and a control program of a multi-network convergence gateway stored on the memory and executable by the processor, wherein the control program of a multi-network convergence gateway, when executed by the processor, implements the steps of the control method of a multi-network convergence gateway according to any one of claims 1 to 7.
10. A storage medium, wherein a control program of a multi-network convergence gateway is stored on the storage medium, and wherein the control program of the multi-network convergence gateway, when executed by a processor, implements the steps of the control method of the multi-network convergence gateway according to any one of claims 1 to 7.
CN202311002941.4A 2023-08-09 2023-08-09 Control method, device, equipment and storage medium of multi-network convergence gateway Pending CN117118780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311002941.4A CN117118780A (en) 2023-08-09 2023-08-09 Control method, device, equipment and storage medium of multi-network convergence gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311002941.4A CN117118780A (en) 2023-08-09 2023-08-09 Control method, device, equipment and storage medium of multi-network convergence gateway

Publications (1)

Publication Number Publication Date
CN117118780A true CN117118780A (en) 2023-11-24

Family

ID=88812009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311002941.4A Pending CN117118780A (en) 2023-08-09 2023-08-09 Control method, device, equipment and storage medium of multi-network convergence gateway

Country Status (1)

Country Link
CN (1) CN117118780A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118102035A (en) * 2024-04-23 2024-05-28 四川天邑康和通信股份有限公司 Set top box network connection method and system based on detection network environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118102035A (en) * 2024-04-23 2024-05-28 四川天邑康和通信股份有限公司 Set top box network connection method and system based on detection network environment

Similar Documents

Publication Publication Date Title
US8166538B2 (en) Unified architecture for remote network access
CN110311929B (en) Access control method and device, electronic equipment and storage medium
US7830886B2 (en) Router and SIP server
KR101098082B1 (en) System and method for guiding bypass of internet connection path using a DNS packet modulation, and recording medium storing program thereof
JP4773946B2 (en) MONITOR CONTROL SYSTEM, MONITOR DEVICE, MONITOR CONTROL METHOD, AND MONITOR CONTROL PROGRAM
CN110896553B (en) Multi-access edge computing method and platform and communication system
EP2521402A1 (en) System with a dual mode WLAN/GSM terminal in which calls are established over WLAN or GSM network
CN1625879B (en) Address hopping of packet-based communications
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN117118780A (en) Control method, device, equipment and storage medium of multi-network convergence gateway
US20080133723A1 (en) Extended home service apparatus and method for providing extended home service on p2p networks
JP5182051B2 (en) Service server and communication system using the same
JP5051656B2 (en) Communication control system and communication control method
US20100064182A1 (en) Communication system
KR100860413B1 (en) Extended home service apparatus and method for providing extended home service in p2p networks
JP4698486B2 (en) IP telephone service system and IP telephone service method
KR20030088253A (en) Remote computer connection and management system by using a personal terminal based on peer to peer protocol and the method thereof
JP7230593B2 (en) Relay device and program
KR101158794B1 (en) Method and SBCSession Border Controller for providing VoIP service
KR100628708B1 (en) Method and Apparatus for auto call connecting
JP4954624B2 (en) Home relay device and home relay system
CN117376322A (en) Interaction method, system and P-CSCF for multimedia real-time service
CN115348636A (en) Shared international roaming method, device, equipment and storage medium
JP2005284398A (en) Household electric appliance management server
CN118381815A (en) PLC route server cascading method, system and storage medium

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