CN112929942B - Intelligent routing method, system, storage medium and terminal equipment - Google Patents
Intelligent routing method, system, storage medium and terminal equipment Download PDFInfo
- Publication number
- CN112929942B CN112929942B CN202110187133.4A CN202110187133A CN112929942B CN 112929942 B CN112929942 B CN 112929942B CN 202110187133 A CN202110187133 A CN 202110187133A CN 112929942 B CN112929942 B CN 112929942B
- Authority
- CN
- China
- Prior art keywords
- network
- wan
- bandwidth
- delay
- route
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/18—Communication route or path selection, e.g. power-based or shortest path routing based on predicted events
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an intelligent routing method, a system, a storage medium and a terminal device, wherein the method comprises the following steps: when an intelligent routing opening instruction is received, detecting the current network condition; routes are selected based on current network conditions, the routes including WAN networks and cellular networks. The invention can intelligently select the route by dynamically detecting the network condition, and can obtain good network experience under the condition of poor WAN network condition.
Description
Intelligent routing method, system, storage medium and terminal equipment
Technical Field
The present invention relates to the field of routing technologies, and in particular, to an intelligent routing method, system, storage medium, and terminal device.
Background
The Customer Premise Equipment (CPE) is actually a mobile signal access device that receives a mobile signal and forwards the mobile signal as a wireless WIFI signal, and is also a device that converts a high-speed 4G or 5G signal into a WIFI signal, and the number of mobile terminals capable of accessing the internet at the same time is also large. The CPE can be widely applied to wireless network access in rural areas, towns, hospitals, units, factories, cells and the like, and the cost for laying a wire network can be saved. At present, a CPE product can provide two or more WAN ports, one is a WAN port of a conventional router, the other is cellular data, and some CPEs can also provide a WAN port of an external wireless network (WIFI extender), that is, a router can connect other routers through WIFI to provide a network.
Routing selection is basically performed according to a default route using a WAN port if the WAN port exists, cellular data is used if the WAN port does not exist, or the routing selection is performed like a smart phone, and a user is reminded whether to switch to the cellular data or not when the WAN port does not have a network. The advantages of this are simple, stable and not easy to make mistakes. However, since many end users do not implement fiber to the home, the network of the WAN port cannot meet the network requirements of the end users, such as real-time video, games, high-definition online video, and the like. The current data flow is cheaper and cheaper, even many operators quit a package with infinite flow, the time delay of cellular data is short, the bandwidth is large, and the advantage of the cellular data is more and more obvious along with the popularization of 5G. Clearly, previous solutions are not able to make more intelligent use of these advantages of cellular data.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide an intelligent routing method, system, storage medium and terminal device, which are used to solve the problems that the terminal device is not intelligent enough in selecting a route and does not fully utilize the advantages of small delay and large bandwidth of cellular data.
The technical scheme of the invention is as follows:
an intelligent routing method, comprising the steps of:
when an intelligent route starting instruction is received, detecting the current network condition;
routes are selected based on current network conditions, the routes including WAN networks and cellular networks.
The intelligent routing method, wherein the current network condition includes whether the current route can browse the internet.
The intelligent routing method, wherein the step of selecting a route according to the current network condition comprises:
if the WAN network can not browse the Internet and the cellular network can browse the Internet, selecting the cellular data as a default route;
if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as the default route.
The intelligent routing method, after determining the default route, further comprises the steps of:
and combining the default route with the QOS to perform priority processing on different types of flow requests.
The intelligent routing method, wherein the different types of traffic include delay-type traffic and bandwidth-type traffic.
The intelligent routing method is characterized in that the delay-type traffic comprises real-time video, real-time voice and games.
The intelligent routing method comprises the steps that the bandwidth type flow comprises non-real-time video, non-real-time voice and FTP downloading.
The intelligent routing method, wherein the step of combining the default route with the QOS to process the priority of the different types of traffic requests comprises the following steps:
and implementing QOS on the default route, preferentially processing the delay traffic request, and processing the bandwidth traffic request under the condition that the network is idle.
In the intelligent routing method, in the step of processing the bandwidth-type traffic request under the condition that the network is idle, the bandwidth for processing the bandwidth-type traffic request is less than the total bandwidth of the default route.
The intelligent routing method, wherein the step of selecting a route according to the current network condition further comprises:
if the WAN network and the cellular network can browse the Internet, acquiring index parameters of the WAN network and the cellular network;
and selecting corresponding routes to process different types of flow requests according to the index parameters.
The intelligent routing method, wherein the index parameters include delay and bandwidth, and the different types of traffic include delay-type traffic and bandwidth-type traffic.
The intelligent routing method, wherein the step of selecting corresponding routes to process different types of traffic requests according to the index parameters comprises:
and if the bandwidth of the WAN network is higher than the bandwidth of the cellular network and the delay of the WAN network is greater than the delay of the cellular network, selecting the WAN network to process the bandwidth type flow request and selecting the cellular network to process the delay type flow request.
The intelligent routing method, wherein the step of selecting corresponding routes to process different types of traffic requests according to the index parameters comprises:
and if the bandwidth of the WAN network is lower than that of the cellular network and the delay of the WAN network is less than that of the cellular network, selecting the cellular network to process the bandwidth type traffic request and selecting the WAN network to process the delay type traffic request.
The intelligent routing method, wherein the step of selecting corresponding routes to process different types of traffic requests according to the index parameters comprises:
if the bandwidth of the WAN network is higher than that of the cellular network and the delay of the WAN network is less than that of the cellular network, QOS is implemented on the WAN network, the delay type flow request is processed preferentially, and the bandwidth type flow request is processed under the condition that the network is idle.
The intelligent routing method, wherein the step of selecting corresponding routes to process different types of traffic requests according to the index parameters comprises:
if the bandwidth of the WAN network is lower than that of the cellular network and the delay of the WAN network is greater than that of the cellular network, the QOS is implemented on the cellular network, the delay type flow request is processed preferentially, and the bandwidth type flow request is processed under the condition that the network is idle.
The intelligent routing method, wherein the step of selecting corresponding routes to process different types of traffic requests according to the index parameters comprises:
and if the bandwidth of the WAN network is equal to the bandwidth of the cellular network, selecting the cellular network to process the delay type traffic request, and selecting the WAN network to process the bandwidth type traffic request.
The intelligent routing method, wherein, when receiving the intelligent routing start instruction, the step of detecting the current network status further comprises:
and monitoring the routing setting instruction of the terminal equipment in real time.
An intelligent routing system, comprising:
the network monitoring module is used for detecting the current network condition when receiving the intelligent route starting instruction;
and the route selection module is used for selecting a route according to the current network condition, wherein the route comprises a WAN network and a cellular network.
A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement steps in an intelligent routing method according to the invention.
A terminal device, comprising a processor adapted to implement instructions; and a storage medium adapted to store a plurality of instructions adapted to be loaded by a processor and to perform the steps of the intelligent routing method of the present invention.
Has the advantages that: compared with the prior art, the invention provides an intelligent routing method, which is used for detecting the current network condition when receiving an intelligent routing starting instruction; routes are selected based on current network conditions, the routes including WAN networks and cellular networks. The invention can intelligently select the route by dynamically detecting the network condition, and can obtain good network experience under the condition of poor WAN network condition.
Drawings
Fig. 1 is a flowchart of an intelligent routing method according to a preferred embodiment of the present invention.
FIG. 2 is a block diagram of an intelligent routing system according to a preferred embodiment of the present invention.
Fig. 3 is a schematic block diagram of the terminal device of the present invention.
Detailed Description
The present invention provides an intelligent routing method, system, storage medium and terminal device, and the following further describes the present invention in detail in order to make the purpose, technical scheme and effect of the present invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Referring to fig. 1, fig. 1 is a flowchart illustrating a preferred embodiment of an intelligent routing method according to the present invention, as shown, the method includes the following steps:
s10, detecting the current network condition when receiving the intelligent route opening instruction;
s20, selecting a route according to the current network condition, wherein the route comprises a WAN network and a cellular network.
In this embodiment, a route setting option is provided for a user on an interface of a terminal device, and as an example, a route setting option is generally set on the interface of the terminal device: 1. always preferentially using the setting options of the WAN network; 2. An intelligent route setup option where the user is asked to set the flow meter to be classified as unrestricted. The embodiment monitors the route setting instruction of the terminal device in real time, and when it is monitored that the user selects the intelligent route setting option, that is, the terminal device receives the intelligent route starting instruction, detects the current network condition of the intelligent terminal at this time, and selects a proper route to process different types of flow requests according to the current network condition. The invention can intelligently select the route by dynamically detecting the network condition, and can obtain good network experience under the condition of poor WAN network condition.
In some specific embodiments, the current network condition includes whether the current route can browse the internet, and the step of selecting the route according to the current network condition includes:
if the WAN network cannot browse the Internet and the cellular network can browse the Internet, selecting the cellular data as a default route;
if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as the default route.
In this embodiment, the WAN port on the router is used to connect to an external network (public network), or to connect to a broadband operator's device. For example, when a telephone line is connected to the Internet, the WAN port is used for connecting a Moden (cat); when the optical fiber is used for surfing the Internet, the WAN port is used for connecting the optical modem; when the network cable enters the home to surf the internet, the WAN port is used for connecting the network cable of the home; the WAN network described in this embodiment refers to a network that realizes access to the internet through a WAN port. A Cellular network or mobile network (Cellular network) is a hardware architecture for mobile communication, which divides a service area of a mobile phone into small sub-areas of regular hexagons, and each cell is provided with a base station, so as to form a structure exactly like a "cell", and thus, the mobile communication mode is called a Cellular mobile communication mode. The cellular network mainly comprises the following three parts: the mobile station is the network terminal equipment, such as a mobile phone or some cellular industrial control equipment; the base station subsystem includes mobile base stations (big towers), wireless transceiver devices, private networks (generally optical fibers), countless digital devices, and the like which are commonly seen in our daily life, and can be regarded as a converter between a wireless network and a wired network.
In this implementation, if the WAN network cannot browse the internet and the cellular network can browse the internet, the cellular data is selected as the default route, that is, different types of traffic requests are processed through the cellular network; if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as a default route, i.e., different types of traffic requests are handled through the WAN network.
In some specific embodiments, after determining the default route, the method further includes the steps of:
and combining the default route with the QOS to perform priority processing on different types of flow requests.
Specifically, QOS (Quality of Service) refers to a network that can provide better Service capability for specified network communication by using various basic technologies, and is a security mechanism of the network, which is a technology for solving problems such as network delay and congestion. Normally, if the network is used only for specific non-time-limited application systems, QOS, such as Web applications, or E-mail settings, etc., is not required, but is necessary for critical applications and multimedia applications. When the network is congested, all data flows may be dropped; in order to meet the requirements of users for different application with different service qualities, it is necessary for the network to allocate and schedule resources according to the requirements of the users, and provide different service qualities for different data streams: preferentially processing important data messages with strong real-time performance; for the common data message with weak real-time performance, a lower processing priority is provided, the common data message is even discarded when the network is congested, and QOS is generated at the same time. A device supporting a QOS function capable of providing a transmission quality service; for a certain class of data flows, it can be given a certain level of transmission priority to identify its relative importance, and provide special transmission services for these data flows using various priority forwarding policies, congestion avoidance, etc. provided by the device. The embodiment carries out priority processing on different types of flow requests by configuring the QOS in the network environment, increases the predictability of the network performance, can effectively allocate the network bandwidth and more reasonably utilizes the network resources.
In some embodiments, the different types of traffic include latency-class traffic and bandwidth-class traffic. The different types of traffic can be distinguished according to the header of the network protocol, wherein the request with high requirement on delay is called a delay type traffic request, and the request with high requirement on bandwidth is called a bandwidth type traffic request. By way of example, the delay-like traffic includes, but is not limited to, real-time video, real-time voice, and gaming; the bandwidth-like traffic includes, but is not limited to, non-real-time video, non-real-time voice, and FTP protocol downloads.
In some specific embodiments, the step of combining the default route with QOS to prioritize different types of traffic requests includes: and implementing QOS on the default route, preferentially processing the delay traffic request, and processing the bandwidth traffic request under the condition that the network is idle.
Specifically, when the default route is a WAN network, QOS is implemented on the WAN network, the delay-type traffic request is processed preferentially by the WAN network, and the bandwidth-type traffic request is processed under the condition that the WAN network is idle, wherein the bandwidth for processing the bandwidth-type traffic request is less than the total bandwidth of the default route so as not to occupy the total bandwidth and block the request of the delay-type traffic.
And when the default route is the cellular network, implementing QOS on the cellular network, preferentially processing the delay type flow request through the cellular network, and processing the bandwidth type flow request under the condition that the cellular network is idle, wherein the bandwidth for processing the bandwidth type flow request is less than the whole bandwidth of the default route so as to avoid occupying the whole bandwidth and blocking the request of the delay type flow.
In some embodiments, the step of selecting a route based on current network conditions further comprises:
if the WAN network and the cellular network can browse the Internet, acquiring index parameters of the WAN network and the cellular network;
and selecting corresponding routes to process different types of flow requests according to the index parameters.
In this embodiment, the index parameters include delay and bandwidth, and the different types of traffic include delay-like traffic and bandwidth-like traffic; if the bandwidth of the WAN network is higher than that of the cellular network and the delay of the WAN network is greater than that of the cellular network, selecting the WAN network to process the bandwidth type flow request and selecting the cellular network to process the delay type flow request; and if the bandwidth of the WAN network is lower than that of the cellular network and the delay of the WAN network is less than that of the cellular network, selecting the cellular network to process the bandwidth type traffic request and selecting the WAN network to process the delay type traffic request. The embodiment can realize that the corresponding network is adopted to process according to different types of traffic requests so as to achieve the optimal data processing effect.
In some embodiments, the step of selecting a corresponding route to process different types of traffic requests according to the index parameter further includes:
if the bandwidth of the WAN network is higher than that of the cellular network and the delay of the WAN network is smaller than that of the cellular network, the QOS is implemented on the WAN network, the delay type flow requests are processed preferentially, and the bandwidth type flow requests are processed under the condition that the network is idle; if the bandwidth of the WAN network is lower than that of the cellular network and the delay of the WAN network is greater than that of the cellular network, the QOS is implemented on the cellular network, the delay type flow request is processed preferentially, and the bandwidth type flow request is processed under the condition that the network is idle.
In some embodiments, the step of selecting the corresponding route to process different types of traffic requests according to the index parameter includes:
and if the bandwidth of the WAN network is equal to the bandwidth of the cellular network, selecting the cellular network to process the delay type traffic request, and selecting the WAN network to process the bandwidth type traffic request. Since the cellular network has a small delay and a large bandwidth, and with the popularization of 5G, the advantage of the cellular network becomes more and more obvious, in this embodiment, the cellular network is preferentially selected to process the delay-type traffic request, and the WAN network is selected to process the bandwidth-type traffic request.
In some embodiments, there is also provided an intelligent routing system, as shown in fig. 2, comprising:
the network monitoring module 1 is used for detecting the current network condition when receiving the intelligent route starting instruction;
and the route selection module 2 is used for selecting a route according to the current network condition, wherein the route comprises a WAN network and a cellular network.
In the intelligent routing system provided in this embodiment, a route setting option is provided for a user on an interface of a terminal device, and as an example, generally, the interface of the terminal device is provided with: 1. always preferentially using the setting options of the WAN network; 2. an intelligent route setup option where the user is asked to set the flow meter to be classified as unrestricted. The embodiment monitors the route setting instruction of the terminal device in real time, and when it is monitored that the user selects the intelligent route setting option, that is, the terminal device receives the intelligent route starting instruction, detects the current network condition of the intelligent terminal at this time, and selects a proper route to process different types of flow requests according to the current network condition. The invention can intelligently select the route by dynamically detecting the network condition, and can obtain good network experience under the condition of poor WAN network condition.
In some specific embodiments, the routing module 2 is further configured to: if the WAN network cannot browse the Internet and the cellular network can browse the Internet, selecting the cellular data as a default route; if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as the default route.
In this embodiment, the WAN port on the router is used to connect to an external network (public network), or to connect to a broadband carrier's equipment. For example, when a telephone line is connected to the Internet, the WAN port is used for connecting a Moden (cat); when the optical fiber is used for surfing the Internet, the WAN port is used for connecting the optical modem; when the network cable enters the home to surf the internet, the WAN port is used for connecting the network cable of the home; the WAN network described in this embodiment refers to a network that realizes access to the internet through a WAN port. A Cellular network or mobile network (Cellular network) is a hardware architecture for mobile communication, which divides a service area of a mobile phone into small sub-areas of regular hexagons, and each cell is provided with a base station, so as to form a structure exactly like a "cell", and thus, the mobile communication mode is called a Cellular mobile communication mode. The cellular network mainly comprises the following three parts: the mobile station is the network terminal equipment, such as a mobile phone or some cellular industrial control equipment; the base station subsystem includes mobile base stations (large towers), wireless transceiver devices, private networks (generally optical fibers), countless digital devices, and the like which are commonly seen in our daily life, and can be regarded as a converter between a wireless network and a wired network.
In this implementation, if the WAN network cannot browse the internet and the cellular network can browse the internet, the cellular data is selected as the default route, that is, different types of traffic requests are processed through the cellular network; if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as a default route, i.e., different types of traffic requests are handled through the WAN network.
In this embodiment, after determining the default route, the default route is combined with the QOS to perform priority processing on different types of traffic requests.
Specifically, QOS (Quality of Service) refers to a network that can provide better Service capability for specified network communication by using various basic technologies, and is a security mechanism of the network, which is a technology for solving problems such as network delay and congestion. Under normal circumstances, if the network is only used for specific non-time-limited application systems, QOS, such as Web applications, or E-mail settings, etc., is not required, but is necessary for critical applications and multimedia applications. When the network is congested, all data flows may be dropped; in order to meet the requirements of users for different application with different service qualities, the network needs to allocate and schedule resources according to the requirements of the users, and provide different service qualities for different data streams: preferentially processing important data messages with strong real-time performance; for the common data message with weak real-time performance, lower processing priority is provided, the common data message is even discarded when the network is congested, and QOS is generated at the discretion. A device supporting a QOS function capable of providing a transmission quality service; for a certain class of data flows, it can be given a certain level of transmission priority to identify its relative importance, and provide special transmission services for these data flows using various priority forwarding policies, congestion avoidance, etc. provided by the device. The embodiment carries out priority processing on different types of flow requests by configuring the QOS in the network environment, increases the predictability of the network performance, can effectively distribute the network bandwidth and more reasonably utilizes the network resources.
In this embodiment, the different types of traffic include delay-type traffic and bandwidth-type traffic. The different types of traffic can be distinguished according to the header of the network protocol, wherein the request with high requirement on delay is called a delay type traffic request, and the request with high requirement on bandwidth is called a bandwidth type traffic request. By way of example, the delay-like traffic includes, but is not limited to, real-time video, real-time voice, and gaming; the bandwidth-like traffic includes, but is not limited to, non-real-time video, non-real-time voice, and FTP protocol downloads.
In this embodiment, QOS is implemented on a default route, a delay-type traffic request is preferentially processed, and a bandwidth-type traffic request is processed under a network idle condition.
Specifically, when the default route is a WAN network, QOS is implemented on the WAN network, the delay-type traffic request is processed preferentially through the WAN network, and the bandwidth-type traffic request is processed under the condition that the WAN network is idle, wherein the bandwidth for processing the bandwidth-type traffic request is less than the total bandwidth of the default route so as not to occupy the total bandwidth and block the request of the delay-type traffic.
And when the default route is the cellular network, implementing QOS on the cellular network, preferentially processing the delay type flow request through the cellular network, and processing the bandwidth type flow request under the condition that the cellular network is idle, wherein the bandwidth for processing the bandwidth type flow request is less than the whole bandwidth of the default route so as to avoid occupying the whole bandwidth and blocking the request of the delay type flow.
In some embodiments, a storage medium is also provided, wherein the storage medium stores one or more programs, which are executable by one or more processors to implement the steps in the intelligent routing method according to the present invention.
In some embodiments, there is also provided a terminal device, as shown in fig. 3, comprising at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. Processor 20 may call logic instructions in memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
By way of example, the terminal device includes a processor 20, and the processor 20 may call logic instructions in a memory 22 to execute the following instructions:
when an intelligent route starting instruction is received, detecting the current network condition;
routes are selected based on current network conditions, the routes including WAN networks and cellular networks.
In this embodiment, a route setting option is provided for a user on an interface of a terminal device, and as an example, a route setting option is generally set on the interface of the terminal device: 1. always preferentially using the setting options of the WAN network; 2. An intelligent route setup option where the user is asked to set the flow meter to be classified as unrestricted. The embodiment monitors the route setting instruction of the terminal device in real time, and when it is monitored that the user selects the intelligent route setting option, that is, the terminal device receives the intelligent route starting instruction, detects the current network condition of the intelligent terminal at this time, and selects a proper route to process different types of flow requests according to the current network condition. The invention can intelligently select the route by dynamically detecting the network condition, and can obtain good network experience under the condition of poor WAN network condition.
By way of example, the terminal device includes a processor 20, and the processor 20 may call logic instructions in a memory 22 to execute the following instructions:
if the WAN network can not browse the Internet and the cellular network can browse the Internet, selecting the cellular data as a default route;
if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as a default route.
In this embodiment, the WAN port on the router is used to connect to an external network (public network), or to connect to a broadband carrier's equipment. For example, when a telephone line is used for surfing the Internet, the WAN port is used for connecting a Moden (cat); when the optical fiber is used for surfing the Internet, the WAN port is used for connecting the optical modem; when the network cable enters the home to surf the internet, the WAN port is used for connecting the network cable of the home; the WAN network described in this embodiment refers to a network that realizes access to the internet through a WAN port. A Cellular network or mobile network (Cellular network) is a hardware architecture for mobile communication, which divides a service area of a mobile phone into small sub-areas of regular hexagons, and each cell is provided with a base station, so as to form a structure exactly like a "cell", and thus, the mobile communication mode is called a Cellular mobile communication mode. The cellular network mainly comprises the following three parts: the mobile station is the network terminal equipment, such as a mobile phone or some cellular industrial control equipment; the base station subsystem includes mobile base stations (big towers), wireless transceiver devices, private networks (generally optical fibers), countless digital devices, and the like which are commonly seen in our daily life, and can be regarded as a converter between a wireless network and a wired network.
In this implementation, if the WAN network cannot browse the internet and the cellular network can browse the internet, the cellular data is selected as the default route, that is, different types of traffic requests are processed through the cellular network; if the cellular network is not capable of browsing the internet and the WAN network is capable of browsing the internet, the WAN network is selected as a default route, i.e., different types of traffic requests are handled through the WAN network.
In this embodiment, the terminal device may be any device including a touch screen, such as a mobile phone and a tablet.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
In summary, the present invention provides an intelligent routing method, which detects a current network status when receiving an intelligent routing start instruction; routes are selected based on current network conditions, the routes including WAN networks and cellular networks. The invention can intelligently select the route by dynamically detecting the network condition, and can obtain good network experience under the condition of poor WAN network condition.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.
Claims (5)
1. An intelligent routing method, comprising the steps of:
when an intelligent route starting instruction is received, detecting the current network condition;
selecting a route according to current network conditions, wherein the route comprises a WAN network and a cellular network, and the current network conditions comprise whether the current route can browse the Internet or not;
the step of selecting a route according to current network conditions comprises:
if the WAN network can not browse the Internet and the cellular network can browse the Internet, selecting the cellular data as a default route;
if the cellular network cannot browse the Internet and the WAN network can browse the Internet, selecting the WAN network as a default route;
after determining a default route, combining the default route with QOS, implementing QOS on the default route, preferentially processing a delay type flow request, and processing a bandwidth type flow request under a network idle condition;
if the WAN network and the cellular network can browse the Internet, acquiring index parameters of the WAN network and the cellular network;
selecting corresponding routes to process different types of flow requests according to the index parameters;
the index parameters comprise delay and bandwidth, and the different types of traffic comprise delay-type traffic and bandwidth-type traffic.
2. The intelligent routing method according to claim 1, wherein the step of selecting a corresponding route to process different types of traffic requests according to the metric parameter comprises:
if the bandwidth of the WAN network is higher than the bandwidth of the cellular network and the delay of the WAN network is greater than the delay of the cellular network, selecting the WAN network to process the bandwidth type flow request and selecting the cellular network to process the delay type flow request;
if the bandwidth of the WAN network is lower than that of the cellular network and the delay of the WAN network is less than that of the cellular network, selecting the cellular network to process the bandwidth type flow request and selecting the WAN network to process the delay type flow request;
if the bandwidth of the WAN network is higher than that of the cellular network and the delay of the WAN network is less than that of the cellular network, implementing QOS on the WAN network, preferentially processing the delay type flow request, and processing the bandwidth type flow request under the condition that the network is idle;
if the bandwidth of the WAN network is lower than the bandwidth of the cellular network and the delay of the WAN network is greater than the delay of the cellular network, implementing QOS on the cellular network, preferentially processing the delay type flow request, and processing the bandwidth type flow request under the condition that the network is idle;
and if the bandwidth of the WAN network is equal to the bandwidth of the cellular network, selecting the cellular network to process the delay type traffic request, and selecting the WAN network to process the bandwidth type traffic request.
3. An intelligent routing system, comprising:
the network monitoring module is used for detecting the current network condition when receiving the intelligent route starting instruction;
the routing module is used for selecting a route according to the current network condition, wherein the route comprises a WAN network and a cellular network;
the network selection module is also used for selecting the cellular data as a default route if the WAN network can not browse the Internet and the cellular network can browse the Internet;
if the cellular network can not browse the Internet and the WAN network can browse the Internet, selecting the WAN network as a default route;
after determining a default route, combining the default route with QOS, implementing QOS on the default route, preferentially processing a delay type flow request, and processing a bandwidth type flow request under a network idle condition;
if the WAN network and the cellular network can browse the Internet, acquiring index parameters of the WAN network and the cellular network;
selecting corresponding routes to process different types of flow requests according to the index parameters;
the index parameters comprise time delay and bandwidth, and the different types of traffic comprise time delay type traffic and bandwidth type traffic.
4. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the intelligent routing method of any one of claims 1-2.
5. A terminal device comprising a processor adapted to implement instructions; and a storage medium adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the steps of the intelligent routing method of any of claims 1-2.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110187133.4A CN112929942B (en) | 2021-02-09 | 2021-02-09 | Intelligent routing method, system, storage medium and terminal equipment |
PCT/CN2021/077507 WO2022170641A1 (en) | 2021-02-09 | 2021-02-23 | Intelligent route selection method, and system, storage medium and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110187133.4A CN112929942B (en) | 2021-02-09 | 2021-02-09 | Intelligent routing method, system, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112929942A CN112929942A (en) | 2021-06-08 |
CN112929942B true CN112929942B (en) | 2022-08-30 |
Family
ID=76169782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110187133.4A Active CN112929942B (en) | 2021-02-09 | 2021-02-09 | Intelligent routing method, system, storage medium and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112929942B (en) |
WO (1) | WO2022170641A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114158104B (en) * | 2021-12-15 | 2023-09-22 | 天翼电信终端有限公司 | Network selection method, device, terminal and storage medium |
CN115134806B (en) * | 2022-08-31 | 2024-04-19 | 北京博特数通技术有限公司 | IPSec security reinforcement transmission method, CPE and network transmission system |
CN115883383B (en) * | 2022-12-09 | 2024-05-10 | 山东有人物联网股份有限公司 | Network extension communication method, device, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018090829A1 (en) * | 2016-11-15 | 2018-05-24 | 深圳市阿凡达智控有限公司 | Method and apparatus for allowing intelligent terminal device to access internet |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1549085A3 (en) * | 2003-12-23 | 2006-12-06 | AT&T Corp. | Method and system for routing a telephone call using routing rules |
US8516096B2 (en) * | 2008-07-09 | 2013-08-20 | In Motion Technology Inc. | Cognitive wireless system |
US9197600B2 (en) * | 2011-09-29 | 2015-11-24 | Israel L'Heureux | Smart router |
CN103987029B (en) * | 2013-02-08 | 2018-01-09 | 华为技术有限公司 | Method for processing business and relevant device |
US9577923B2 (en) * | 2013-03-14 | 2017-02-21 | Qualcomm Incorporated | Advanced gateway for multiple broadband access |
CN106470170B (en) * | 2015-08-21 | 2020-07-14 | 中兴通讯股份有限公司 | Network switching method and device |
CN107534916B (en) * | 2016-04-05 | 2021-02-09 | 华为技术有限公司 | Network access method and terminal |
US10701615B2 (en) * | 2017-01-23 | 2020-06-30 | Cisco Technology, Inc. | System and method to facilitate unequal cost multipath routing in a network environment |
CN107484190B (en) * | 2017-08-07 | 2019-04-12 | Oppo广东移动通信有限公司 | Method for connecting network, mobile terminal and computer readable storage medium |
CN109167887A (en) * | 2018-10-31 | 2019-01-08 | 东莞市华庄电子有限公司 | Binary channels broad band intelligent CPE control system with interactive function and wireless communication function |
CN210578638U (en) * | 2019-09-20 | 2020-05-19 | 山东信通电子股份有限公司 | 5G customer premises equipment |
-
2021
- 2021-02-09 CN CN202110187133.4A patent/CN112929942B/en active Active
- 2021-02-23 WO PCT/CN2021/077507 patent/WO2022170641A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018090829A1 (en) * | 2016-11-15 | 2018-05-24 | 深圳市阿凡达智控有限公司 | Method and apparatus for allowing intelligent terminal device to access internet |
Also Published As
Publication number | Publication date |
---|---|
WO2022170641A1 (en) | 2022-08-18 |
CN112929942A (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112929942B (en) | Intelligent routing method, system, storage medium and terminal equipment | |
CN103988543A (en) | Control device in wireless local area network, network system, and service processing method | |
CN108566286B (en) | Method for realizing service quality of intelligent router, router and electronic equipment | |
CN109819477B (en) | Method for processing request and corresponding entity | |
CN109379208B (en) | Network object management method and device | |
WO2012000358A1 (en) | Method, apparatus and base station for preempting resources | |
EP4387287A1 (en) | Service processing method, apparatus and system | |
CN115119324A (en) | Resource scheduling method and device | |
JP2007097174A (en) | Method for controlling and checking quality of service | |
US10575239B2 (en) | Data network management | |
CN111919501A (en) | Dedicated bearer management | |
US20230337266A1 (en) | Method, and electronic device for allocating routing resources of wifi6 router | |
EP1978682B9 (en) | QoS CONTROL METHOD AND SYSTEM | |
KR102168177B1 (en) | Network function and method for processing packet using the same | |
EP3370368B1 (en) | Communication system, networking method and controller for application-driven network | |
KR20210051375A (en) | Method for processing plurality of pdu sessions using virtual id and smf performing method | |
JP6669476B2 (en) | Wireless communication device, system, method and program | |
CN111225400A (en) | Anti-off-network method, user equipment and device with storage function | |
CN111225452B (en) | Session management equipment and system | |
KR101001066B1 (en) | Method and system for processing messaging service traffic overload control, and apparatus for providing messaging services using the same | |
RU2772710C2 (en) | Method for processing request and corresponding object | |
JP5335712B2 (en) | QoS control apparatus and QoS control method | |
KR102696951B1 (en) | Apparatus and method for managing packet | |
KR100625239B1 (en) | Multi terminal, driving method for the same and medium thereof | |
CN116436773A (en) | Port configuration method, device, computer equipment and computer 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |