Gateway connection method, device, storage medium, electronic device and gateway device

文档序号:1478653 发布日期:2020-02-25 浏览:13次 中文

阅读说明:本技术 网关连接方法、装置、存储介质、电子设备及网关设备 (Gateway connection method, device, storage medium, electronic device and gateway device ) 是由 朱磊 于 2019-11-05 设计创作,主要内容包括:本公开涉及一种网关连接方法、装置、存储介质、电子设备及网关设备。该方法应用于网关调度设备,包括:接收与网关调度设备连接的每一网关发送的网关状况信息;接收网关探测信息,网关探测信息包括终端对网关列表中的每一网关进行探测获得的探测信息;若根据网关探测信息和网关状况信息,确定在终端可达的网关中,存在比终端当前要连接的第一网关更优的第二网关,则向第一网关发送到第二网关的重定向信息。通过上述方案,可以使得终端切换到比第一网关更优的第二网关,从而保证了终端接入网络的服务质量,提高终端进行数据访问的效率,以及进行数据传输的可靠性和稳定性。(The disclosure relates to a gateway connection method, a gateway connection device, a storage medium, an electronic device and a gateway device. The method is applied to gateway scheduling equipment and comprises the following steps: receiving gateway status information sent by each gateway connected with the gateway scheduling equipment; receiving gateway detection information, wherein the gateway detection information comprises detection information obtained by detecting each gateway in a gateway list by a terminal; and if it is determined that a second gateway which is better than a first gateway to which the terminal is currently connected exists in the reachable gateways of the terminal according to the gateway detection information and the gateway condition information, sending redirection information to the second gateway to the first gateway. By the scheme, the terminal can be switched to the second gateway which is better than the first gateway, so that the service quality of the terminal accessing to the network is ensured, the efficiency of the terminal in accessing data is improved, and the reliability and the stability of data transmission are improved.)

1. A gateway connection method is applied to a gateway scheduling device and comprises the following steps:

receiving gateway status information sent by each gateway connected with the gateway scheduling equipment;

receiving gateway detection information, wherein the gateway detection information comprises detection information obtained by detecting each gateway in a gateway list by a terminal;

and if it is determined that a second gateway which is better than a first gateway to which the terminal is currently connected exists in the reachable gateways of the terminal according to the gateway detection information and the gateway condition information, sending redirection information to the second gateway to the first gateway.

2. The method of claim 1, wherein the receiving gateway probe information comprises:

receiving the gateway probe information from the first gateway; or

Receiving the gateway probe information from the terminal.

3. The method of claim 1, wherein the gateway status information comprises gateway loading information and backend network state information of a gateway;

the method further comprises the following steps:

and under the condition that the gateway load information of the first gateway represents that the first gateway is currently in an overload state, or the backend network state information of the first gateway represents that the backend network of the first gateway is currently in an abnormal state, determining whether a second gateway which is better than the first gateway to be connected currently exists in the gateways which can be reached by the terminal according to the gateway detection information and the gateway state information.

4. The method of claim 1, further comprising, prior to receiving gateway probe information:

receiving a gateway list acquisition request sent by the terminal;

and responding to the received gateway list acquisition request, and sending the gateway list to the terminal.

5. A gateway connection method is applied to a terminal and comprises the following steps:

detecting each gateway in the gateway list to obtain detection information;

determining a first gateway to be connected according to the detection information;

sending gateway detection information, wherein the gateway detection information comprises the detection information obtained by the terminal detecting each gateway in the gateway list, and the gateway detection information is used for determining whether a second gateway better than the first gateway exists in the gateways which can be reached by the terminal by gateway scheduling equipment;

and if receiving redirection information sent to the second gateway by the first gateway, sending a connection request to the second gateway.

6. The method of claim 5, wherein the sending the gateway probe information comprises:

sending the gateway probe information to the first gateway to send the gateway probe information to the gateway scheduling device by the first gateway; or

And sending the gateway detection information to the gateway scheduling equipment.

7. The method of claim 5, wherein prior to probing each gateway in the list of gateways, the method further comprises:

sending a gateway list acquisition request to the gateway scheduling equipment;

and receiving the gateway list sent by the gateway scheduling equipment.

8. A gateway connection method is applied to a gateway and comprises the following steps:

responding to a received detection instruction sent by a terminal, and sending a detection response instruction to the terminal;

receiving gateway detection information sent by the terminal, wherein the gateway detection information comprises detection information obtained by the terminal through detection of each gateway in a gateway list;

sending the gateway detection information to gateway scheduling equipment, wherein the gateway detection information is used for the gateway scheduling equipment to determine whether a gateway which is better than the gateway exists in the gateways which can be reached by the terminal or not;

and if receiving redirection information sent to the more optimal gateway by the gateway scheduling equipment, sending the redirection information to the terminal.

9. An apparatus for gateway connection, applied to a gateway scheduling device, comprising:

the receiving module is used for receiving gateway status information sent by each gateway connected with the gateway scheduling equipment;

the receiving module is further configured to receive gateway probe information, where the gateway probe information includes probe information obtained by a terminal probing each gateway in a gateway list;

and a sending module, configured to send redirection information to the second gateway to the first gateway if it is determined that a second gateway that is better than a first gateway to which the terminal is currently connected exists in the reachable gateways of the terminal according to the gateway detection information and the gateway status information.

10. An apparatus for gateway connection, applied to a terminal, comprising:

the detection module is used for detecting each gateway in the gateway list to obtain detection information;

a gateway determining module, configured to determine, according to the probe information, a first gateway to be connected;

a sending module, configured to send gateway probe information, where the gateway probe information includes probe information obtained by the terminal probing each gateway in the gateway list, and the gateway probe information is used by a gateway scheduling device to determine whether a second gateway better than the first gateway exists in the gateways reachable by the terminal;

the sending module is further configured to send a connection request to the second gateway if receiving redirection information sent by the first gateway to the second gateway.

11. An apparatus for gateway connection, applied to a gateway, comprising:

the sending module is used for responding to a received detection instruction sent by a terminal and sending a detection response instruction to the terminal;

the receiving module is used for receiving gateway detection information sent by the terminal, wherein the gateway detection information comprises detection information obtained by the terminal through detection of each gateway in a gateway list;

the sending module is further configured to send the gateway probe information to a gateway scheduling device, where the gateway probe information is used by the gateway scheduling device to determine whether a gateway better than the current gateway exists in the gateways that are reachable by the terminal;

the sending module is further configured to send redirection information to the terminal if the redirection information sent by the gateway scheduling device to the more optimal gateway is received.

12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.

13. An electronic device, comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 4.

14. An electronic device, comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 5 to 7.

15. A gateway device, comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to perform the steps of the method of claim 8.

Technical Field

The present disclosure relates to the field of communications technologies, and in particular, to a gateway connection method, an apparatus, a storage medium, an electronic device, and a gateway device.

Background

The gateway is also called an internetwork connector and a protocol converter. The terminal needs to access the network through the gateway, so as to perform operations such as data access and data transmission.

Currently, the gateway selection mode of the terminal is mainly based on a local DNS (Domain Name System, Domain Name System protocol) server. When a terminal requests to access a network, the DNS server may assign a gateway to the terminal according to the IP address of the terminal, and the terminal accesses the network through the gateway. However, if the DNS server fails To connect the gateways allocated To the terminal, and the terminal needs To switch To another gateway, it is only after the Time-To-Live (TTL) of the local DNS server expires that the domain name resolution operation is triggered again To allocate a new gateway To the terminal. The TTL of the DNS server is the time that a domain name resolution record persists in the DNS server, and the TTL timeout time of the DNS server is generally uncontrollable or long, so that the time for the terminal to perform gateway handover is long.

Therefore, if the terminal selects a poor, far and busy gateway, the quality of the network accessed by the terminal is reduced, the efficiency of data access and data transmission is affected, and the terminal cannot be switched to other gateways in time.

Disclosure of Invention

The purpose of the disclosure is to provide a gateway connection method, a gateway connection device, a storage medium, an electronic device and a gateway device.

According to a first aspect of the present disclosure, a gateway connection method is provided, which is applied to a gateway scheduling device, and includes:

receiving gateway status information sent by each gateway connected with the gateway scheduling equipment;

receiving gateway detection information, wherein the gateway detection information comprises detection information obtained by detecting each gateway in a gateway list by a terminal;

and if it is determined that a second gateway which is better than a first gateway to which the terminal is currently connected exists in the reachable gateways of the terminal according to the gateway detection information and the gateway condition information, sending redirection information to the second gateway to the first gateway.

Optionally, the receiving the gateway probe information includes:

receiving the gateway probe information from the first gateway; or

Receiving the gateway probe information from the terminal.

Optionally, the gateway status information includes gateway load information and backend network state information of the gateway;

the method further comprises the following steps:

and under the condition that the gateway load information of the first gateway represents that the first gateway is currently in an overload state, or the backend network state information of the first gateway represents that the backend network of the first gateway is currently in an abnormal state, determining whether a second gateway which is better than the first gateway to be connected currently exists in the gateways which can be reached by the terminal according to the gateway detection information and the gateway state information.

Optionally, before receiving the gateway probe information, the method further includes:

receiving a gateway list acquisition request sent by the terminal;

and responding to the received gateway list acquisition request, and sending the gateway list to the terminal.

According to a second aspect of the present disclosure, there is provided a gateway connection method applied to a terminal, including:

detecting each gateway in the gateway list to obtain detection information;

determining a first gateway to be connected according to the detection information;

sending gateway detection information, wherein the gateway detection information comprises the detection information obtained by the terminal detecting each gateway in the gateway list, and the gateway detection information is used for determining whether a second gateway better than the first gateway exists in the gateways which can be reached by the terminal by gateway scheduling equipment;

and if receiving redirection information sent to the second gateway by the first gateway, sending a connection request to the second gateway.

Optionally, the sending the gateway probe information includes:

sending the gateway probe information to the first gateway to send the gateway probe information to the gateway scheduling device by the first gateway; or

And sending the gateway detection information to the gateway scheduling equipment.

Optionally, before probing each gateway in the gateway list, the method further includes:

sending a gateway list acquisition request to the gateway scheduling equipment;

and receiving the gateway list sent by the gateway scheduling equipment.

According to a third aspect of the present disclosure, there is provided a gateway connection method, applied to a gateway, including:

responding to a received detection instruction sent by a terminal, and sending a detection response instruction to the terminal;

receiving gateway detection information sent by the terminal, wherein the gateway detection information comprises detection information obtained by the terminal through detection of each gateway in a gateway list;

sending the gateway detection information to gateway scheduling equipment, wherein the gateway detection information is used for the gateway scheduling equipment to determine whether a gateway which is better than the gateway exists in the gateways which can be reached by the terminal or not;

and if receiving redirection information sent to the more optimal gateway by the gateway scheduling equipment, sending the redirection information to the terminal.

According to a fourth aspect of the present disclosure, there is provided an apparatus for gateway connection, applied to a gateway scheduling device, including:

the receiving module is used for receiving gateway status information sent by each gateway connected with the gateway scheduling equipment;

the receiving module is further configured to receive gateway probe information, where the gateway probe information includes probe information obtained by a terminal probing each gateway in a gateway list;

and a sending module, configured to send redirection information to the second gateway to the first gateway if it is determined that a second gateway that is better than a first gateway to which the terminal is currently connected exists in the reachable gateways of the terminal according to the gateway detection information and the gateway status information.

Optionally, the receiving module includes:

a first receiving submodule, configured to receive the gateway probe information from the first gateway; or

And the second receiving submodule is used for receiving the gateway detection information from the terminal.

Optionally, the apparatus further comprises:

and the more optimal gateway determining module is used for determining whether a second gateway which is more optimal than the first gateway to which the terminal is currently connected exists in the gateways which can be reached by the terminal according to the gateway detection information and the gateway state information under the condition that the gateway load information of the first gateway indicates that the first gateway is currently in an overload state or the back-end network state information of the first gateway indicates that the back-end network of the first gateway is currently in an abnormal state.

Optionally, the receiving module is further configured to receive a gateway list acquisition request sent by the terminal before receiving the gateway probe information;

the sending module is further configured to send the gateway list to the terminal in response to receiving the gateway list obtaining request.

According to a fifth aspect of the present disclosure, there is provided an apparatus for gateway connection, applied to a terminal, including:

the detection module is used for detecting each gateway in the gateway list to obtain detection information;

a gateway determining module, configured to determine, according to the probe information, a first gateway to be connected;

a sending module, configured to send gateway probe information, where the gateway probe information includes probe information obtained by the terminal probing each gateway in the gateway list, and the gateway probe information is used by a gateway scheduling device to determine whether a second gateway better than the first gateway exists in the gateways reachable by the terminal;

the sending module is further configured to send a connection request to the second gateway if receiving redirection information sent by the first gateway to the second gateway.

Optionally, the sending module includes:

a first sending submodule, configured to send the gateway probe information to the first gateway, so that the first gateway sends the gateway probe information to the gateway scheduling apparatus; or

And the second sending submodule is used for sending the gateway detection information to the gateway scheduling equipment.

Optionally, the sending module is further configured to send a gateway list acquisition request to the gateway scheduling device before detecting each gateway in the gateway list;

the device further comprises a receiving module, configured to receive the gateway list sent by the gateway scheduling apparatus.

According to a sixth aspect of the present disclosure, there is provided an apparatus for gateway connection, applied to a gateway, including:

the sending module is used for responding to a received detection instruction sent by a terminal and sending a detection response instruction to the terminal;

the receiving module is used for receiving gateway detection information sent by the terminal, wherein the gateway detection information comprises detection information obtained by the terminal through detection of each gateway in a gateway list;

the sending module is further configured to send the gateway probe information to a gateway scheduling device, where the gateway probe information is used by the gateway scheduling device to determine whether a gateway better than the current gateway exists in the gateways that are reachable by the terminal;

the sending module is further configured to send redirection information to the terminal if the redirection information sent by the gateway scheduling device to the more optimal gateway is received.

According to a seventh aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method provided by the first aspect of the present disclosure.

According to an eighth aspect of the present disclosure, there is provided a computer readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the method provided by the second aspect of the present disclosure.

According to a ninth aspect of the present disclosure, there is provided a computer readable storage medium, having stored thereon a computer program, which when executed by a processor, carries out the steps of the method provided by the third aspect of the present disclosure.

According to a tenth aspect of the present disclosure, there is provided an electronic device comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to implement the steps of the method provided by the first aspect of the present disclosure.

According to an eleventh aspect of the present disclosure, there is provided an electronic apparatus comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to implement the steps of the method provided by the second aspect of the present disclosure.

According to a twelfth aspect of the present disclosure, there is provided a gateway apparatus comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to implement the steps of the method provided by the third aspect of the present disclosure.

In the above technical solution, the terminal may detect each gateway in the gateway list to obtain gateway detection information, and the gateway detection information may be sent to the gateway scheduling device, and the gateway scheduling device performs comprehensive judgment according to the gateway detection information and the gateway status information. If the gateway scheduling device determines that there is a second gateway which is better than the first gateway to which the terminal is currently connected, in the gateways that the terminal can reach, the gateway scheduling device may send redirection information to the second gateway to the first gateway. Therefore, the terminal can be switched to the second gateway which is better than the first gateway, so that the service quality of the terminal accessing the network is ensured, the efficiency of the terminal for data access is improved, and the reliability and the stability of data transmission are improved.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows.

Drawings

The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:

FIG. 1 is a schematic diagram of an implementation environment for a gateway connection method according to an example embodiment;

FIG. 2 is a flow chart illustrating a method of gateway connectivity in accordance with an exemplary embodiment;

fig. 3 is a flow chart illustrating a gateway connection method according to another example embodiment;

fig. 4 is a flow chart illustrating a gateway connection method in accordance with another exemplary embodiment;

fig. 5 is a diagram illustrating interaction among a gateway scheduling apparatus, a terminal and a gateway in a gateway connection method according to an exemplary embodiment;

FIG. 6 is a block diagram illustrating an apparatus for gateway connectivity in accordance with an example embodiment;

FIG. 7 is a block diagram illustrating an apparatus for gateway connectivity in accordance with another example embodiment;

FIG. 8 is a block diagram illustrating an apparatus for gateway connectivity in accordance with another example embodiment;

FIG. 9 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;

FIG. 10 is a block diagram illustrating an electronic device in accordance with another example embodiment.

Detailed Description

The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.

Fig. 1 is a schematic diagram illustrating an implementation environment of a gateway connection method according to an example embodiment. As shown in fig. 1, the implementation environment may include a gateway scheduling apparatus 101, a terminal 102, and a plurality of gateways, such as a gateway 1031, a gateway 1032, and the like. The terminal 102 may be communicatively coupled to the gateway scheduling apparatus 101, and each gateway is communicatively coupled to the gateway scheduling apparatus 101, so that the gateway scheduling apparatus 101 may monitor a status of each gateway; the terminal 102 may probe each gateway and may select one of the gateways to connect to access the network through the gateway for data access and data transmission. Any two of the gateway scheduling apparatus 101, the terminal 102 and the gateway may perform information transmission therebetween by a wired communication method or a wireless communication method. When information is transmitted by wireless communication, for example, 3G, 4G, 5G, eMTC, LTE-A, NB-IOT, ZigBee, near field communication, or other communication methods may be used.

In this disclosure, the gateway scheduling device 101 may be a controller, such as a gateway controller, a global scheduling load balancing system (GSLB), or may also be a server, such as a gateway management server, a cloud server, and the like. The terminal 102 may be a robot, an intelligent helmet, a smart phone, a tablet computer, or other terminal devices. Fig. 1 merely gives an illustration that the terminal 102 is a robot, but does not constitute a limitation on the embodiments of the present disclosure. The plurality of gateways may be, for example, VPN (Virtual Private Network) gateways distributed in various places, and the terminal 102 may access the Network through the VPN gateways, establish a VPN encryption tunnel, perform data transmission through the Private Network, and provide a secure Network connection service for the terminal 102.

Fig. 2 is a flowchart illustrating a gateway connection method according to an example embodiment, which may be applied to a gateway scheduling apparatus, such as the gateway scheduling apparatus 101 shown in fig. 1. As shown in fig. 2, the method may include:

in S201, gateway status information transmitted by each gateway connected to the gateway scheduling apparatus is received.

The gateway status information may include gateway load information and backend network state information of the gateway. The gateway load information may characterize the current load state of the gateway, e.g., whether it is currently in an overload state. The gateway load information may include information such as CPU load, memory load, and network card input/output load of the gateway, for example. In one embodiment, when any of the gateway load information exceeds its corresponding load threshold, it may be determined that the gateway is currently in an overloaded state. For example, when the CPU load of the gateway is greater than the first load threshold, or the memory load is greater than the second load threshold, or the network card input/output load is greater than the third load threshold, it may be determined that the gateway is currently in an overload state. In another embodiment, the comprehensive load information corresponding to the gateway may be determined according to each type of gateway load information, for example, according to a CPU load, a memory load, and a network card input/output load of the gateway, and when the comprehensive load information is greater than a load threshold (for example, a fourth load threshold), it may be determined that the gateway is currently in an overload state. The implementation manner of determining the comprehensive load information corresponding to the gateway may be: and averaging the CPU load, the memory load and the network card input/output load of the gateway to serve as the comprehensive load information of the gateway, or weighting and summing the CPU load, the memory load and the network card input/output load of the gateway to serve as the comprehensive load information of the gateway.

The first load threshold, the second load threshold, the third load threshold, and the fourth load threshold may be pre-calibrated based on experimental data.

The backend network state information of the gateway can represent whether the backend network of the gateway is in an abnormal state at present. The backend network refers to a network from a gateway to a router, a network from a gateway to a server, and the like. The server may be, for example, a gateway scheduling device 101, a voice recognition server, an image recognition server, etc. Examples of the backend network being in an abnormal state may be a network congestion phenomenon, an interruption phenomenon, etc. from a gateway to a server or to a router.

In the present disclosure, each gateway connected to the gateway scheduling apparatus 101 needs to collect its own gateway status information and send the gateway status information to the gateway scheduling apparatus 101. For example, the gateway may send its current gateway status information to the gateway scheduling apparatus 101 every first preset time length, which may be 1min or 2min, for example. In this way, the gateway scheduling device 101 can obtain the gateway status information of each gateway connected thereto in real time, and thus can schedule and manage the gateways according to the gateway status information of each gateway in time.

In S202, gateway probe information is received.

The gateway probe information may include probe information obtained by a terminal probing each gateway in a list of gateways. The gateway list may be pre-stored in the terminal by a technician before the terminal leaves a factory, or may be sent to the terminal 102 by the gateway scheduling device 101 after receiving a gateway list acquisition request sent by the terminal 102. The gateway list may store gateway addresses corresponding to a plurality of gateways, and the terminal may respectively probe the corresponding gateways based on each gateway address to obtain probe information for the gateway. The terminal may probe the gateway to obtain probe information using, for example, PING (Packet Internet Groper) commands.

In the present disclosure, the probe information may include reachability and one or more of: time delay, jitter, packet loss rate, etc. The reachability indicates whether the network from the terminal 102 to the gateway can be connected, and if the network from the terminal 102 to the gateway can be reached, the reachability indicates that the network from the terminal 102 to the gateway can be connected; if the terminal 102 to gateway is not reachable, it means that the terminal 102 to gateway is not connectable. The delay represents the time required for the data to be transmitted from the terminal 102 to the gateway, and a shorter delay represents a higher data transmission rate. Jitter describes the degree of variation in the delay of a data packet, and a smaller jitter means a more stable network from the terminal 102 to the gateway. The packet loss rate refers to the ratio of the number of lost data packets to the number of transmitted data packets in the data transmission process, and the lower the packet loss rate is, the more the integrity of data transmission can be ensured.

In one embodiment, the terminal 102 may send the gateway probe information directly to the gateway scheduling apparatus 101, i.e. the gateway scheduling apparatus 101 may receive the gateway probe information from the terminal 102.

In another embodiment, the terminal 102 may determine a first gateway to connect to according to the probe information, and send the gateway probe information to the first gateway, and the first gateway sends the gateway probe information to the gateway scheduling apparatus 101, that is, the gateway scheduling apparatus 101 may receive the gateway probe information from the first gateway. In this embodiment, the first gateway forwards the gateway probe information to the gateway scheduling device 101, so that on one hand, the services provided by the gateway scheduling device 101 to the outside are reduced, the probability that the gateway scheduling device 101 is attacked and the transmitted data is tampered is reduced, and the security of the gateway scheduling device 101 and the data transmission is ensured, on the other hand, the number of gateways is smaller than that of the terminals 102, and the gateway can encapsulate the data of a plurality of terminal devices into a data packet for transmission, thereby reducing the pressure of the gateway scheduling device 101 for receiving the data.

It should be noted that the execution sequence of S201 and S202 may be: s201 is executed first and then S202 is executed, or S202 is executed first and then S201 is executed, or both are executed simultaneously. Fig. 2 only shows an example of performing S201 first and then S202, but does not constitute a limitation of the present disclosure.

In S203, if it is determined that there is a second gateway that is better than the first gateway to which the terminal is currently connected, among the reachable gateways of the terminal, according to the gateway probe information and the gateway status information, redirection information that is sent to the second gateway to the first gateway is sent.

The gateway scheduling device 101 may perform comprehensive judgment according to the gateway detection information and the gateway status information to determine whether there is a gateway that is better than the first gateway.

In an embodiment, if the gateway load information of the first gateway indicates that the first gateway is not currently in an overload state, and the backend network state information of the first gateway indicates that the backend network of the first gateway is currently in a normal state, the gateway scheduling device 101 may send the acknowledgement information to the first gateway. The first gateway may send the acknowledgement to the terminal 102 after receiving the acknowledgement. In this way, the terminal 102 may confirm that the gateway switching is not required according to the confirmation information and transmit a connection request to the first gateway to access the network through the first gateway.

In another embodiment, for example, in a case that the gateway load information of the first gateway indicates that the first gateway is currently in an overload state, for example, the integrated load information corresponding to the first gateway is greater than the fourth load threshold, the gateway scheduling device 101 may determine, in the gateways that are reachable by the terminal 102, whether there is a gateway whose integrated load information is smaller than the integrated load information corresponding to the first gateway, and if there is a gateway whose integrated load information is smaller than the integrated load information corresponding to the first gateway, it indicates that there is a second gateway that is better than the first gateway. Alternatively, the second gateway may be a gateway with the smallest current integrated load information among the gateways that the terminal 102 can reach. For another example, if the gateway load information of the first gateway indicates that the first gateway is not currently in an overload state, but the backend network state information of the first gateway indicates that the backend network of the first gateway is currently in an abnormal state, for example, an interruption phenomenon occurs from the first gateway to the voice recognition server, the gateway scheduling device 101 may determine, in the gateways that are reachable by the terminal 102, whether there is a gateway whose backend network is currently in a normal state, and if there is a gateway whose backend network is in a normal state, it indicates that there is a second gateway that is better than the first gateway.

If the gateway scheduling apparatus 101 determines that the second gateway is better than the first gateway, the redirection information to the second gateway may be sent to the first gateway. The first gateway, upon receiving the redirection information, may send the redirection information to the terminal 102. In this way, the terminal 102 may learn that the second gateway is better according to the redirection information, and send a connection request to the second gateway to access the network through the second gateway. In this way, the terminal 102 can switch to a second gateway that is superior to the first gateway to ensure the efficiency and reliability of data transmission in the network.

In the above technical solution, the terminal may detect each gateway in the gateway list to obtain gateway detection information, and the gateway detection information may be sent to the gateway scheduling device, and the gateway scheduling device performs comprehensive judgment according to the gateway detection information and the gateway status information. If the gateway scheduling device determines that there is a second gateway which is better than the first gateway to which the terminal is currently connected, in the gateways that the terminal can reach, the gateway scheduling device may send redirection information to the second gateway to the first gateway. Therefore, the terminal can be switched to the second gateway which is better than the first gateway, so that the service quality of the terminal accessing the network is ensured, the efficiency of the terminal for data access is improved, and the reliability and the stability of data transmission are improved.

Fig. 3 is a flowchart illustrating a gateway connection method, which may be applied to a terminal, such as the terminal 102 in fig. 1, according to another exemplary embodiment. As shown in fig. 3, the method may include:

in S301, each gateway in the gateway list is probed to obtain probe information.

For example, the terminal 102 may send a probe instruction, such as a PING command, to each gateway in the gateway list, and the gateway may send a probe response instruction to the terminal 102 after receiving the probe instruction. After that, the terminal 102 may obtain, according to the probe response instruction sent by each gateway, probe information corresponding to each gateway, where the probe information includes, for example, reachability, and one or more of time delay, jitter, packet loss rate, and the like.

In S302, a first gateway to be connected is determined according to the probe information.

For example, the terminal 102 may rank the gateways in the gateway list according to the probe information to obtain gateway ranking information, which may characterize the order of merits of the respective gateways, and the terminal 102 may determine the first gateway to connect to according to the gateway ranking information.

For example, if the probe information includes reachability and time delay, the terminal 102 may determine, in the reachable gateways, the ordering conditions of the gateways in sequence from short to long according to the time delay, and determine the gateway with the shortest time delay as the gateway with the highest ordering in the gateway ranking information. Or, if the probe information includes reachability and jitter, the terminal 102 may determine, in the reachable gateways, the ordering conditions of the gateways in sequence from small to large according to the jitter, and determine the gateway with the minimum jitter as the gateway with the highest ordering in the gateway ranking information. Or, if the probe information includes reachability and a packet loss rate, the terminal 102 may determine, in the reachable gateways, the ordering conditions of the gateways in sequence from low to high according to the packet loss rate, and determine the gateway with the lowest packet loss rate as the gateway with the highest ordering in the gateway ranking information. .

For another example, when the probe information includes reachability and includes multiple ones of time delay, jitter, and packet loss rate, the terminal 102 may perform weighted summation on multiple ones of time delay, jitter, and packet loss rate corresponding to each gateway in the reachable gateways, sequentially determine, from small to large, an ordering condition of each gateway according to a result of the weighted summation, and determine a gateway with a smallest result of the weighted summation as a gateway with the highest ordering in the gateway ranking information. For example, if the probe information includes reachability, time delay, and packet loss rate, the terminal 102 may determine, in the reachable gateways, the ordering condition of each gateway according to a weighted summation result of the time delay and the packet loss rate corresponding to each gateway. Wherein, the weights occupied by the time delay and the packet loss rate may be equal or unequal. When the weights occupied by the two are not equal, the respective weights can be determined according to the type of data to be transmitted. For example, if important data needs to be transmitted and the integrity of data transmission needs to be ensured, the weight corresponding to the packet loss rate may be set to be relatively large. If instant chat messages need to be transmitted, more considering the efficiency and speed of message transmission, the weight corresponding to the time delay can be set to be relatively large. Therefore, the respective weighted value is set according to the type of the transmitted message, the type of the transmitted message is better met, and the method is more targeted. For another example, if the detection information includes reachability, delay, jitter, and packet loss rate, the terminal 102 may determine, in the reachable gateways, the ordering condition of each gateway according to a weighted summation result of the delay, jitter, and packet loss rate corresponding to each gateway. In addition, the weights occupied by the time delay, the jitter and the packet loss rate may be equal or unequal, which is not limited in this disclosure. For example, the gateway list includes N gateways, where N is a positive integer, and the gateway ranking information may be, from front to back, gateway 1, gateway 2 …, gateway N.

In one embodiment, if a connection-oriented communication Protocol is used for information Transmission between the terminal 102 and the gateway, for example, TCP (Transmission Control Protocol) is taken as an example for description, the terminal 102 may determine the gateway which is ranked the top in the gateway ranking information and is capable of establishing TCP connection as the first gateway. Gateway 1 is exemplarily the gateway with the top rank, and if the TCP connection between terminal 102 and gateway 1 is successfully established, gateway 1 may be determined as the first gateway to be connected. The process of establishing the TCP connection may refer to related technologies in the art, and is not described herein again. If the TCP connection between the terminal 102 and the gateway 1 fails to be established, other gateways may be sequentially selected according to the gateway ranking information until the TCP connection is successfully established. For example, after the terminal 102 fails to establish a TCP connection with the gateway 1, it may select to establish a TCP connection with the gateway 2, and after the TCP connection with the gateway 2 is successfully established, it may determine the gateway 2 as the first gateway to be connected. In this embodiment, the gateway probe information may further include TCP connection establishment result information, for example, if the TCP connection between the terminal 102 and the gateway 1 is failed to be established, the gateway scheduling apparatus 101 may not determine the gateway 1 as a more optimal gateway when determining whether a more optimal gateway exists according to the gateway probe information and the gateway status information.

In another embodiment, if a connectionless-oriented communication protocol is used for information transmission between the terminal 102 and the gateways, for example, UDP (User Datagram protocol), the terminal 102 may determine the gateway ranked the top in the gateway ranking information as the first gateway to be connected, for example, determine the gateway 1 as the first gateway to be connected.

In S303, gateway probe information is transmitted.

Alternatively, the terminal 102 may directly transmit the gateway probe information to the gateway scheduling apparatus 101. Alternatively, the terminal 102 may send the gateway probe information to the first gateway, so that the first gateway sends the gateway probe information to the gateway scheduling apparatus 101.

The gateway detection information includes detection information obtained by detecting each gateway in the gateway list by the terminal, and may also include the above gateway ranking information, which may be used by the gateway scheduling apparatus 101 to determine whether a second gateway better than the first gateway exists in the gateways reachable by the terminal 102. In the present disclosure, the gateway scheduling apparatus 101 may receive the gateway status information transmitted by each gateway connected thereto, and determine whether there is a second gateway that is better than the first gateway, based on the gateway probe information and the gateway status information.

In S304, if receiving the redirection information sent by the first gateway to the second gateway, the connection request is sent to the second gateway.

If the terminal 102 receives redirection information sent by the first gateway to the second gateway, that is, the terminal 102 indicates that the gateway scheduling device 101 determines that there is a second gateway that is better than the first gateway, the terminal 102 may send a connection request to the second gateway to access the network through the second gateway.

By the technical scheme, the terminal can be switched to the second gateway which is better than the first gateway, so that the service quality of the terminal accessing to the network is ensured, the efficiency of the terminal in accessing data is improved, and the reliability and stability of data transmission are improved.

Fig. 4 is a flowchart illustrating a gateway connection method applicable to gateways, such as gateway 1031 and gateway 1032 in fig. 1, according to another example embodiment. As shown in fig. 4, the method may include:

in S401, in response to receiving the probe instruction sent by the terminal, a probe response instruction is sent to the terminal.

In S402, gateway probe information transmitted by the terminal is received.

Wherein the gateway probing information is described above.

In S403, the gateway probe information is transmitted to the gateway scheduling apparatus.

The gateway probe information is used by the gateway scheduling apparatus 101 to determine whether there is a gateway that is better than the gateway among the gateways that the terminal 102 can reach. In the present disclosure, the gateway scheduling apparatus 101 may receive the gateway status information sent by each gateway connected thereto, and determine whether there is a gateway that is better than the present gateway according to the received gateway probe information and the gateway status information.

In S404, if receiving redirection information sent by the gateway scheduling device to a better gateway, sending redirection information to the terminal.

If the gateway receives the redirection information sent by the gateway scheduling device 101, that is, if the gateway scheduling device 101 determines that there is a gateway that is better than the gateway, the gateway may send the redirection information to the terminal 102, so that the terminal 102 knows the redirection information. The terminal 102 may then send a connection request to a more optimal gateway through which to access the network.

By the technical scheme, the gateway scheduling equipment can select a better gateway for the terminal, so that the service quality of the terminal accessing to the network is ensured, the data access efficiency of the terminal is improved, and the reliability and stability of data transmission are improved.

Please refer to fig. 5 to illustrate a detailed procedure of the gateway connection method provided by the present disclosure. Fig. 5 is a diagram illustrating interaction among a gateway scheduling apparatus, a terminal, and a gateway in a gateway connection method according to an exemplary embodiment. Such as gateway scheduling apparatus 101, terminal 102, gateway 1031, and gateway 1032 in fig. 1. It should be noted that fig. 5 illustrates gateways 1031 and 1032 as examples, but does not limit the number of gateways in the present disclosure. As shown in fig. 5, the method may include:

in S501, the terminal 102 transmits a gateway list acquisition request to the gateway scheduling apparatus 101.

If the terminal 102 does not store the gateway list in advance, the gateway scheduling apparatus 101 may send a gateway list acquisition request when connecting to the network.

In S502, the gateway scheduling apparatus 101 receives the gateway list acquisition request transmitted by the terminal 102.

In S503, the gateway scheduling apparatus 101 transmits the gateway list to the terminal 102 in response to receiving the gateway list acquisition request.

Specifically, the plurality of gateways in the gateway list transmitted by the gateway scheduling apparatus 101 to the terminal 102 may be a plurality of gateways that are closer to the terminal 102, so as to shorten the communication distance between the terminal 102 and the gateways. For the terminal 102 with the stronger processing capability, the gateway scheduling apparatus 101 may also send a gateway list composed of all gateways to the terminal 102. The gateway list includes a gateway address corresponding to gateway 1031 and a gateway address corresponding to gateway 1032.

If the terminal 102 does not receive the gateway list sent by the gateway scheduling device 101 within a second preset time length after sending the gateway list obtaining request, it may send timeout prompting information to the gateway scheduling device 101 to prompt the gateway scheduling device 101 not to receive the gateway list, and then wait for a new gateway list sent by the gateway scheduling device 101.

In S504(301), the terminal 102 probes each gateway in the gateway list to obtain probe information.

In S505, the terminal 102 transmits a probe instruction to the gateway 1031.

In S506, the gateway 1031 receives the probe command transmitted by the terminal 102.

In S507, the gateway 1031 transmits a probe response instruction to the terminal 102 in response to receiving the probe instruction transmitted by the terminal 102.

In S508, the terminal 102 receives the probe response command transmitted by the gateway 1031.

In S509, the terminal 102 transmits a probe instruction to the gateway 1032.

At 510, gateway 1032 receives the probe instruction sent by terminal 102.

In S511, the gateway 1032 transmits a probe response instruction to the terminal 102 in response to receiving the probe instruction transmitted by the terminal 102.

In S512, the terminal 102 receives the probe response command transmitted by the gateway 1032.

It should be noted that the execution sequence of S505 and S509 may be: s505 is executed first and then S509 is executed, or S509 is executed first and then S505 is executed, or both of them are executed simultaneously, which is not limited in the present disclosure.

In S513(302), the terminal 102 determines a first gateway to be connected according to the probe information.

For example, the terminal 102 determines the gateway 1031 as the first gateway to be connected according to the probe information. It should be noted that, if the terminal 102 detects that all gateways in the gateway list are unreachable, an error prompt message may be sent to the gateway scheduling device 101 to prompt that all gateways in the gateway list sent by the gateway scheduling device 101 before are unreachable, and then, a new gateway list sent by the gateway scheduling device 101 is waited for, and each gateway in the new gateway list is detected.

In S514 (303), the terminal 102 transmits the gateway probe information to the gateway 1031.

The specific implementation of S504, S513 and S514 is shown in fig. 3, and is already described in detail above, and is not described here again.

In S515(402), the gateway 1031 receives the gateway probe information transmitted by the terminal 102.

In S516(403), the gateway 1031 transmits the gateway probe information to the gateway scheduling apparatus 101.

The specific implementation of S515 and S516 is shown in fig. 4, and has been described in detail above, and is not described here again.

In S517(202), the gateway scheduling apparatus 101 receives the gateway probe information transmitted by the gateway 1031.

In S518, the gateway 1031 transmits the gateway status information to the gateway scheduling apparatus 101.

In S519, the gateway 1032 transmits the gateway status information to the gateway scheduling apparatus 101.

In S520(201), the gateway scheduling apparatus 101 receives the gateway status information transmitted by each gateway connected thereto.

It should be noted that, regarding the execution sequence of S516, S518, and S519, fig. 5 is only an exemplary illustration, and the disclosure is not limited in particular.

In S521(203), if it is determined that there is a second gateway that is better than the first gateway to which the terminal 102 is currently connected, among the reachable gateways of the terminal 102, based on the gateway probe information and the gateway status information, the gateway scheduling apparatus 101 transmits redirection information to the second gateway to the first gateway.

For example, the gateway scheduling apparatus 101 determines that there is a gateway 1032 that is more optimal than the gateway 1031 among the gateways that the terminal 102 can reach, and may determine the gateway 1032 as a second more optimal gateway. The specific embodiments of S517, S520, and S521 are shown in fig. 2, and have been described in detail above, and are not described herein again.

In S522, the gateway 1031 receives the redirection information transmitted by the gateway scheduling apparatus 101.

In S523, the gateway 1031 transmits the redirection information to the terminal 102.

In S524, the terminal 102 receives the redirection information sent by the gateway 1031.

In S525, the terminal 102 transmits a connection request to the gateway 1032.

In an embodiment, if the terminal 102 and the gateway use the TCP protocol for information transmission, the terminal 102 may first send a TCP connection request to the gateway 1032, and after the TCP connection is successfully established, send a VPN connection request to the gateway 1032, so as to access the network through the gateway 1032.

In another embodiment, if UDP protocol is used between terminal 102 and the gateway for information transmission, terminal 102 may directly send a VPN connection request to gateway 1032 to access the network through gateway 1032.

It should be noted that if the redirection information sent by the gateway 1031 or the confirmation information for confirming that the gateway switching is not required is not received in the third preset time period after the terminal 102 sends the gateway probe information to the gateway 1031, it may be considered that the gateway 1031 may malfunction. The terminal 102 may select a third gateway ranked after the gateway 1031 as a new first gateway according to the gateway ranking information, and re-perform S514-S525.

Based on the same inventive concept, the present disclosure also provides an apparatus for gateway connection, and fig. 6 is a block diagram illustrating an apparatus for gateway connection according to an exemplary embodiment, which may be applied to a gateway scheduling device. As shown in fig. 6, the apparatus 600 may include:

a receiving module 601, configured to receive gateway status information sent by each gateway connected to the gateway scheduling device;

the receiving module 601 is further configured to receive gateway probe information, where the gateway probe information includes probe information obtained by a terminal detecting each gateway in a gateway list;

a sending module 602, configured to send redirection information to a second gateway to be connected to the terminal to the first gateway if it is determined that the second gateway that is better than the first gateway to which the terminal is currently connected exists in the reachable gateways of the terminal according to the gateway detection information and the gateway status information.

By adopting the device, the terminal can detect each gateway in the gateway list to obtain gateway detection information, the gateway detection information can be sent to the gateway scheduling equipment, and the gateway scheduling equipment carries out comprehensive judgment according to the gateway detection information and the gateway condition information. If the gateway scheduling device determines that there is a second gateway which is better than the first gateway to which the terminal is currently connected, in the gateways that the terminal can reach, the gateway scheduling device may send redirection information to the second gateway to the first gateway. Therefore, the terminal can be switched to the second gateway which is better than the first gateway, so that the service quality of the terminal accessing the network is ensured, the efficiency of the terminal for data access is improved, and the reliability and the stability of data transmission are improved.

Optionally, the receiving module 601 may include:

a first receiving submodule, configured to receive the gateway probe information from the first gateway; or

And the second receiving submodule is used for receiving the gateway detection information from the terminal.

Optionally, the apparatus 600 may further include:

and the more optimal gateway determining module is used for determining whether a second gateway which is more optimal than the first gateway to which the terminal is currently connected exists in the gateways which can be reached by the terminal according to the gateway detection information and the gateway state information under the condition that the gateway load information of the first gateway indicates that the first gateway is currently in an overload state or the back-end network state information of the first gateway indicates that the back-end network of the first gateway is currently in an abnormal state.

Optionally, the receiving module 601 is further configured to receive a gateway list acquisition request sent by the terminal before receiving the gateway probe information;

the sending module 602 is further configured to send the gateway list to the terminal in response to receiving the gateway list obtaining request.

Fig. 7 is a block diagram illustrating an apparatus for gateway connection according to another exemplary embodiment, which may be applied to a terminal. As shown in fig. 7, the apparatus 700 may include:

a detection module 701, configured to detect each gateway in the gateway list to obtain detection information;

a gateway determining module 702, configured to determine, according to the probe information, a first gateway to be connected;

a sending module 703, configured to send gateway probe information, where the gateway probe information includes the probe information obtained by the terminal probing each gateway in the gateway list, and the gateway probe information is used by a gateway scheduling device to determine whether a second gateway better than the first gateway exists in the gateways that are reachable by the terminal;

the sending module 703 is further configured to send a connection request to the second gateway if receiving redirection information sent by the first gateway to the second gateway.

Optionally, the sending module 703 may include:

a first sending submodule, configured to send the gateway probe information to the first gateway, so that the first gateway sends the gateway probe information to the gateway scheduling apparatus; or

And the second sending submodule is used for sending the gateway detection information to the gateway scheduling equipment.

Optionally, the sending module 703 is further configured to send a gateway list obtaining request to the gateway scheduling apparatus before detecting each gateway in the gateway list;

the apparatus 700 may further include a receiving module configured to receive the gateway list sent by the gateway scheduling device.

Fig. 8 is a block diagram illustrating an apparatus for gateway connection, which may be applied to a gateway, according to another example embodiment. As shown in fig. 8, the apparatus 800 may include:

a sending module 801, configured to send a probe response instruction to a terminal in response to receiving a probe instruction sent by the terminal;

a receiving module 802, configured to receive gateway probe information sent by the terminal, where the gateway probe information includes probe information obtained by the terminal probing each gateway in a gateway list;

the sending module 801 is further configured to send the gateway probe information to a gateway scheduling device, where the gateway probe information is used by the gateway scheduling device to determine whether a gateway better than the current gateway exists in the gateways that are reachable by the terminal;

the sending module 801 is further configured to send redirection information to the terminal if the redirection information sent by the gateway scheduling device to the more optimal gateway is received.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Fig. 9 is a block diagram illustrating an electronic device 900 in accordance with an example embodiment. For example, the electronic device 900 may be provided as a server, i.e., the gateway management server or the cloud server, etc., as described above, or may be provided as a controller, e.g., the gateway controller, GSLB, etc., as described above. Referring to fig. 9, the electronic device 900 includes a processor 922, which may be one or more in number, and a memory 932 for storing computer programs executable by the processor 922. The computer programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processor 922 may be configured to execute the computer program to perform the gateway connection method applied to the gateway scheduling apparatus described above.

Additionally, the electronic device 900 may also include a power component 926 and a communication component 950, the power component 926 may be configured to perform power management of the electronic device 900, and the communication component 950 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 900. The electronic device 900 may also include input/output (I/O) interfaces 958. The electronic device 900 may operate based on an operating system stored in the memory 932, such as Windows Server, Mac OSXTM, UnixTM, LinuxTM, and the like.

In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions, which when executed by a processor, implement the steps of the gateway connection method applied to the gateway scheduling apparatus described above. For example, the computer readable storage medium may be the memory 932 described above including program instructions that are executable by the processor 922 of the electronic device 900 to perform the gateway connection method described above as applied to the gateway scheduling apparatus.

In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned gateway connection method applied to a gateway scheduling apparatus when being executed by the programmable apparatus.

Fig. 10 is a block diagram illustrating an electronic device 1000 in accordance with another example embodiment. As shown in fig. 10, the electronic device 1000 may include: a processor 1001 and a memory 1002. The electronic device 1000 may also include one or more of a multimedia component 1003, an input/output (I/O) interface 1004, and a communications component 1005.

The processor 1001 is configured to control the overall operation of the electronic device 1000, so as to complete all or part of the steps in the gateway connection method applied to the terminal. The memory 1002 is used to store various types of data to support operation of the electronic device 1000, such as instructions for any application or method operating on the electronic device 1000 and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 1002 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk. The multimedia components 1003 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may further be stored in memory 1002 or transmitted through communication component 1005. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 1004 provides an interface between the processor 1001 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 1005 is used for wired or wireless communication between the electronic device 1000 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 1005 may thus include: Wi-Fi module, Bluetooth module, NFC module, etc.

In an exemplary embodiment, the electronic Device 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the gateway connection method applied to the terminal.

In another exemplary embodiment, there is also provided a computer-readable storage medium including program instructions, which when executed by a processor, implement the steps of the gateway connection method applied to a terminal described above. For example, the computer readable storage medium may be the memory 1002 including the program instructions executable by the processor 1001 of the electronic device 1000 to perform the gateway connection method applied to the terminal described above.

The present disclosure also provides a gateway device, including:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to implement the steps of the gateway connection method for a gateway provided by the present disclosure.

The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.

It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.

In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:在不同网络堆栈中的内核模块间传送分组的系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!