WO2018113568A1 - 一种流量控制方法、装置、终端、系统及存储介质 - Google Patents
一种流量控制方法、装置、终端、系统及存储介质 Download PDFInfo
- Publication number
- WO2018113568A1 WO2018113568A1 PCT/CN2017/115947 CN2017115947W WO2018113568A1 WO 2018113568 A1 WO2018113568 A1 WO 2018113568A1 CN 2017115947 W CN2017115947 W CN 2017115947W WO 2018113568 A1 WO2018113568 A1 WO 2018113568A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- flow control
- application
- network
- terminal
- control table
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18513—Transmission in a satellite or space-based system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18519—Operations control, administration or maintenance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/11—Identifying congestion
- H04L47/115—Identifying congestion using a dedicated packet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/22—Traffic shaping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/04—Large scale networks; Deep hierarchical networks
- H04W84/06—Airborne or Satellite Networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- the present disclosure relates to the field of satellite communication technologies, and in particular, to a flow control method, apparatus, terminal, system, and storage medium.
- the satellite communication system Since the signals of the cellular mobile communication system cannot cover all areas on the sea and on land, the satellite communication system is widely used as an effective supplement to work in areas where the signals of the cellular mobile communication system cannot be covered. Areas such as ocean transportation, drilling, surveying, and fisheries.
- the satellite communication system has many advantages, such as time, place, environment and other factors. The opening time period and transmission distance are long, the network deployment is fast, the communication cost is independent of the communication distance, and the real-time bidirectional transmission of voice and data can be realized.
- the transmission scenario of the satellite communication system as shown in Figure 1, the user accesses the end station device through Wireless-Fidelity (WIFI), and then the end station device converts the access data into a satellite transmission data warfare to the ground station. To communicate; wherein the end station device is a gateway (GateWay, GW).
- WIFI Wireless-Fidelity
- GW gateway
- the satellite communication system is relatively expensive.
- the terminal user detects that the current network is in the WIFI connection state, the terminal will perform a large amount of data update, download or upload operations in the background, occupying a lot of bandwidth for satellites; therefore, It is especially important to control the traffic used by the terminal to operate in the background.
- the mobile phone housekeeper obtains the terminal system authority after the ROOT, and directly limits the application networking permission; however, as the Android system version is updated, It is more and more difficult to obtain system permissions through ROOT; the second is to use Google to provide a virtual private network (VPN) solution.
- VPN virtual private network
- the terminal with Android system is enabled with VPN, all the terminals are in the terminal.
- the networked data of the application is transmitted through the VPN channel.
- the application of the application (APP) based on the VPN channel is determined to be in the background mode to limit the behavior of the APP background.
- some traffic guard software used by the terminal is also based on the above solution.
- IP Internet Protocol
- embodiments of the present disclosure are expected to provide a flow control method, apparatus, terminal, system, and storage medium applied to a satellite network, which can control user WIFI traffic under a satellite network, and save operating costs of the satellite network.
- Embodiments of the present disclosure provide a flow control method, the method being applied to a satellite network, including:
- the network element receives the networked data packet of the application sent by the terminal, and determines whether to perform flow control on the application according to the networked data packet and a preset rule.
- the embodiment of the present disclosure further provides another flow control method, where the method includes: determining, after the terminal accesses the wireless local area network, an access type of the wireless local area network;
- the network data packet of the application is sent to the network element, where the network data packet of the application is used by the network element to determine whether to perform flow control on the application.
- Embodiments of the present disclosure also provide a flow control device that is applied to a satellite network.
- the method includes: a receiving module configured to receive a networked data packet of the application;
- the first processing module is configured to determine whether to perform flow control on the application according to the networked data packet and a preset rule.
- the embodiment of the present disclosure further provides a terminal, where the terminal includes:
- a determining module configured to determine, after the terminal accesses the wireless local area network, an access type of the wireless local area network
- a sending module configured to: when the WLAN is determined to be a WLAN wireless local area network, send the network data packet of the application to the network element, where the network data packet of the application is used by the network element to determine whether to perform the application flow control.
- the embodiment of the present disclosure further provides a flow control system, where the system includes:
- the terminal is configured to: after accessing the wireless local area network, determine the access type of the wireless local area network, and send the networked data packet of the application to the network element when determining that the wireless local area network is a satellite network wireless local area network;
- the network element is configured to receive the networked data packet of the application sent by the terminal, and determine whether to perform flow control on the application according to the networked data packet and a preset rule.
- Embodiments of the present disclosure also provide a terminal, the terminal including a processor and a memory storing the processor-executable instructions, when the instructions are executed by the processor, performing the following operations:
- the terminal accesses the wireless local area network, determining the access type of the wireless local area network;
- the network data packet of the application is sent to the network element, where the network data packet of the application is used by the network element to determine whether to perform flow control on the application.
- Embodiments of the present disclosure also provide a flow control apparatus including a processor and a memory storing the processor-executable instructions, when the instructions are executed by the processor, performing the following operations:
- the network data packet of the application is sent to the network element, where the network data packet of the application is used by the network element to determine whether to perform flow control on the application.
- the flow control method, device, terminal, system and storage medium applied to a satellite network provided by the embodiment of the present disclosure, after the terminal accesses the wireless local area network, determining the access type of the wireless local area network; determining that the wireless local area network is a satellite
- the network WLAN sends the networked data packet of the application to the network element.
- the network element determines whether to perform flow control on the application according to the networked data packet and a preset rule. Therefore, the network element can determine whether to control the flow of the application by using the networked data packet and the preset rule of the application, thereby realizing the control of the user WIFI traffic under the satellite network, thereby saving the operation cost of the satellite network.
- FIG. 1 is a schematic diagram of a transmission scenario of a satellite communication system according to the present disclosure
- FIG. 2 is a schematic diagram of a basic processing flow of a flow control method according to an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of a transmission scenario of a satellite communication system according to Embodiment 2 of the present disclosure
- FIG. 5 is a schematic diagram of a format of a request/response message according to an embodiment of the present disclosure
- FIG. 6 is a schematic flowchart of detailed processing of a flow control method according to Embodiment 3 of the present disclosure
- FIG. 7 is a schematic flowchart of detailed processing of a flow control method according to Embodiment 4 of the present disclosure.
- FIG. 8 is a schematic diagram of a transmission scenario of a five-satellite communication system according to an embodiment of the present disclosure
- FIG. 9 is a schematic flowchart of detailed processing of a flow control method according to Embodiment 5 of the present disclosure.
- FIG. 10 is a schematic flowchart of a detailed process of acquiring a flow control table by a cloud server according to an embodiment of the present disclosure
- FIG. 11 is a schematic diagram of a basic processing flow of a flow control method according to Embodiment 6 of the present disclosure
- FIG. 12 is a schematic structural diagram of a flow control device according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram of a terminal of a second embodiment of the present disclosure.
- FIG. 14 is a schematic structural diagram of hardware components of a flow control device according to a third embodiment of the present disclosure.
- FIG. 15 is a schematic structural diagram of a flow control system according to an embodiment of the present disclosure.
- the basic processing flow of the flow control method applied to the satellite network in the first embodiment of the present disclosure, as shown in FIG. 2, includes the following steps:
- Step 101 The network element receives the networked data packet of the application sent by the terminal.
- the function performed by the network element may be implemented by a gateway, and the gateway receives the networked data packet of the application sent by the terminal.
- Step 102 Determine, according to the networked data packet and a preset rule, whether to perform flow control on the application.
- the function performed by the network element may be implemented by a gateway, and the gateway receives After the networked data packet is parsed, the networked data packet is parsed to obtain a networking parameter of the application, where the networking parameter includes: an Internet Protocol (IP) address and a destination port corresponding to the application, or Domain name, or Uniform Resoure Locator (URL) information.
- IP Internet Protocol
- URL Uniform Resoure Locator
- the gateway searches for the pre-stored flow control table based on the destination IP address and the destination port corresponding to the application, and determines whether to perform flow control on the application; or the gateway searches the pre-stored flow control table according to the domain name to determine whether Performing flow control on the application; or the gateway searches for a pre-stored flow control table according to the URL information, and determines whether to perform flow control on the application.
- the pre-stored flow control table may be pre-configured in the gateway, or may be obtained by the gateway from the cloud server; therefore, the gateway determines whether to perform flow control on the application, including two schemes: The gateway only judges according to the flow control table stored by the gateway, and uses the keyword of the application to match the flow control table stored by the gateway itself. If the flow control table corresponding to the application does not exist in the flow control table stored in the firewall, The flow control is not performed on the application; if the flow control plan corresponding to the application exists in the flow control table stored in the self, the flow control is performed according to the corresponding flow control scheme.
- the second type is that the gateway first queries the traffic control table stored in the network to check whether the traffic control scheme corresponding to the application exists.
- the gateway obtains the The corresponding flow control scheme is applied, and the obtained flow control scheme is stored in the flow control table, and the gateway performs flow control on the application according to the stored flow control table.
- the flow control table When the flow control is performed on the application based on the destination port and the destination IP address, the flow control table includes: a destination IP address, a destination port, an application service name, an application version number, and the like of the application when the terminal transmits the data.
- the information is: when the traffic control table is configured to obtain the traffic control of the application corresponding to the destination port and the destination IP address, the network data packet of the application is prohibited from being sent; and the application corresponding to the destination port and the destination IP address is not used for traffic.
- the flow control table stores a keyword corresponding to the domain name or the URL information, and the domain name or the URL information and the keyword stored in the flow control table. If the matching keyword is found, the network data packet corresponding to the application is prohibited from being sent, that is, the application is controlled by the traffic; if the matching keyword cannot be found, the network data packet corresponding to the application is released. Text, that is, no flow control of the application.
- the terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a terminal such as a desktop computer or a notebook computer; and the application is any application installed on the terminal.
- the transmission scenario of the satellite communication system is as shown in FIG. 3; the second embodiment of the present disclosure provides a detailed processing method for the flow control method applied to the satellite network.
- the process, as shown in Figure 4, includes the following steps:
- Step 201 The terminal sends a request message to the gateway.
- the terminal sends a request message to the gateway for determining an access environment of the terminal.
- the format of the request message is as shown in FIG. 5, and the TYPE type of the message is 01, which is used to indicate that the message is a message requesting access to the satellite network WIFI; the DATA content in the message is The current operating system type and version number of the terminal.
- Step 202 The gateway receives and parses the request packet, and sends a response packet.
- the gateway receives the request packet, parses the request packet, obtains an operating system type and a version number of the terminal, and sends a response packet.
- the networking parameter includes: a destination IP address and a destination port, or a domain name, or URL information corresponding to the application.
- the format of the response message is as shown in FIG. 5, and the TYPE type is 02, which is used to indicate that the message is a message that agrees to the terminal accessing the satellite network WIFI; the DATA content in the message is air.
- Step 203 The terminal establishes a VPN channel with the AP.
- the terminal after receiving the response message, determines that the current environment is a satellite network WIFI, and then applies for establishing a VPN channel with the AP using the OPENVPN protocol, and the terminal reads its own APP list and passes the APP list through the message.
- the mode is sent to the gateway, and the format of the message is as shown in FIG. 5, the TYPE type is 03, and the DATA content is the APP name and the APP name length.
- the embodiment of the present disclosure restricts the networking permission of the APP by means of a VPN. If the terminal does not receive the response message of the gateway, it determines that the current WIFI environment is not a satellite network, and the process ends; if the terminal receives the response message of the gateway, the terminal performs Step 204.
- Step 204 The gateway acquires a flow control table.
- the gateway determines whether there is a flow control scheme corresponding to the APP in the APP list sent by the terminal in the flow control table stored by the gateway. If not, the gateway sends a report requesting to obtain the flow control plan corresponding to the APP to the cloud server.
- the format of the request message is as shown in FIG. 5; after receiving the request message, the cloud server sends the flow control scheme corresponding to the APP to the gateway; after receiving the flow control plan corresponding to the APP, the gateway receives the flow control plan corresponding to the APP , stored in the flow control table of its own storage.
- Step 205 The terminal sends the networked data packet of the application to the gateway.
- Step 206 The gateway parses the packet to obtain a networking parameter of the application.
- the networking parameter includes: a destination IP address and a destination port, or a domain name, or URL information corresponding to the application.
- Step 207 The gateway queries the flow control table stored by itself according to the obtained networking parameter, and determines whether to perform flow control on the application.
- the gateway is based on the destination IP address and destination of the application obtained by the parsing.
- the port searches for a pre-stored flow control table to determine whether to perform flow control on the application; or the gateway searches for a pre-stored flow control table according to the domain name to determine whether to perform flow control on the application; or the gateway according to the
- the URL information is searched for a pre-stored flow control table to determine whether to perform flow control on the application.
- the pre-stored flow control table may be pre-configured in the gateway, or may be obtained by the gateway from the cloud server.
- the flow control table When the flow control is performed on the application based on the destination port and the destination IP address, the flow control table includes: a destination IP address, a destination port, an application service name, an application version number, and the like of the application when the terminal transmits the data.
- the information is: when the traffic control table is configured to obtain the traffic control of the application corresponding to the destination port and the destination IP address, the network data packet of the application is prohibited from being sent; and the application corresponding to the destination port and the destination IP address is not used for traffic.
- the networked data message of the application is released.
- the flow control table stores a keyword corresponding to the domain name or the URL information, and the domain name or the URL information and the keyword stored in the flow control table. If the matching keyword is found, the network data packet corresponding to the application is prohibited from being sent, that is, the application is controlled by the traffic; if the matching keyword cannot be found, the network data packet corresponding to the application is released. Text, that is, no flow control of the application.
- the functions performed by the terminal in this embodiment may be implemented by a client installed on the terminal.
- the detailed processing flow of the flow control method applied to the satellite network in Embodiment 3 of the present disclosure, as shown in FIG. 6, includes the following steps:
- Step 301 The terminal sends a request message to the gateway.
- the terminal sends a request message to the gateway, where it is used to determine the access of the terminal. surroundings.
- the format of the request message is as shown in FIG. 5, and the TYPE type of the message is 01, which is used to indicate that the message is a message requesting access to the satellite network WIFI; the DATA content in the message is The current operating system type and version number of the terminal.
- Step 302 The gateway receives and parses the request packet, and sends a response packet.
- the gateway receives the request message, parses the request message, obtains an operating system type and a version number of the terminal, and sends a response message.
- the format of the response message is as shown in FIG. 5, and the TYPE type is 02, which is used to indicate that the message is a message that agrees to the terminal accessing the satellite network WIFI; the DATA content in the message is air.
- Step 303 The terminal establishes a VPN channel with the gateway, and sends a list of its own APP to the gateway.
- the terminal after receiving the response message, determines that the current environment is a satellite network WIFI, and then applies to establish a VPN channel with the gateway using the OPENVPN protocol, and the terminal reads its own APP list and passes the APP list through the message.
- the mode is sent to the gateway, and the format of the message is as shown in FIG. 5, the TYPE type is 03, and the DATA content is the APP name and the APP name length.
- the embodiment of the present disclosure restricts the networking permission of the APP by means of a VPN. If the terminal does not receive the response message of the gateway, it determines that the current WIFI environment is not a satellite network, and the process ends; if the terminal receives the response message of the gateway, the terminal performs Step 304.
- the gateway determines, in the flow control table that is stored in the device, whether there is a traffic control scheme corresponding to the APP in the APP list sent by the terminal. If not, the gateway sends a packet requesting to obtain the flow control scheme corresponding to the APP to the cloud server.
- the format of the request packet is as shown in FIG. 5; after receiving the request message, the cloud server sends the flow control scheme corresponding to the APP to the gateway; after receiving the flow control scheme corresponding to the APP, the gateway stores the information to the storage device.
- Flow control table is
- the traffic control table includes information such as a destination IP address, a destination port, an application service name, and an application version number of the application when the terminal transmits data.
- Step 304 The gateway acquires a flow control table.
- the gateway determines whether there is a flow control scheme corresponding to the APP in the APP list sent by the terminal in the flow control table stored by the gateway. If not, the gateway sends a report requesting to obtain the flow control plan corresponding to the APP to the cloud server.
- the format of the request message is as shown in FIG. 5; after receiving the request message, the cloud server sends the flow control scheme corresponding to the APP to the gateway; after receiving the flow control plan corresponding to the APP, the gateway receives the flow control plan corresponding to the APP , stored in the flow control table of its own storage.
- Step 305 The terminal sends the networked data packet of the application to the gateway.
- Step 306 The gateway parses the packet to obtain a networking parameter of the application.
- the networking parameter includes: a destination IP address and a destination port, or a domain name, or URL information corresponding to the application.
- Step 307 The gateway queries the flow control table stored by itself according to the obtained networking parameter, and determines whether to perform flow control on the application.
- the gateway searches for a pre-stored flow control table based on the destination IP address and the destination port corresponding to the application, and determines whether to perform flow control on the application; or the gateway searches for the pre-stored according to the domain name.
- the flow control table determines whether to perform flow control on the application; or the gateway searches for a pre-stored flow control table according to the URL information, and determines whether to perform flow control on the application.
- the pre-stored flow control table may be pre-configured in the gateway, or may be obtained by the gateway from the cloud server.
- the flow control table When the flow control is performed on the application based on the destination port and the destination IP address, the flow control table includes: a destination IP address, a destination port, an application service name, an application version number, and the like of the application when the terminal transmits the data.
- the information is: when the traffic control table is configured to obtain the traffic control of the application corresponding to the destination port and the destination IP address, the network data packet of the application is prohibited from being sent; and the application corresponding to the destination port and the destination IP address is not used for traffic.
- the flow control table stores a keyword corresponding to the domain name or the URL information, and the domain name or the URL information and the keyword stored in the flow control table. If the matching keyword is found, the network data packet corresponding to the application is prohibited from being sent, that is, the application is controlled by the traffic; if the matching keyword cannot be found, the network data packet corresponding to the application is released. Text, that is, no flow control of the application.
- the functions performed by the terminal in this embodiment may be implemented by a client installed on the terminal.
- the detailed processing flow of the flow control method applied to the satellite network in Embodiment 4 of the present disclosure, as shown in FIG. 7, includes the following steps:
- Step 401 The terminal sends a request message to the gateway.
- the terminal sends a request message to the gateway for determining an access environment of the terminal.
- the format of the request message is as shown in FIG. 5, and the TYPE type of the message is 01, which is used to indicate that the message is a message requesting access to the satellite network WIFI; the DATA content in the message is The current operating system type and version number of the terminal.
- Step 402 The gateway receives and parses the request packet, and sends a response packet.
- the gateway receives the request packet, parses the request packet, obtains an operating system type and a version number of the terminal, and sends a response packet.
- the format of the response message is as shown in FIG. 5, and the TYPE type is 02, which is used to indicate that the message is a message that agrees to the terminal accessing the satellite network WIFI; the DATA content in the message is air.
- Step 403 The terminal establishes a local virtual VPN.
- the terminal after receiving the response message, determines that the current environment is a satellite network WIFI, and then establishes a local virtual VPN channel. After the establishment is successful, the terminal reads its own APP list and passes the APP list through the message. The mode is sent to the gateway, and the format of the message is as shown in FIG. 5, the TYPE type is 03, and the DATA content is the APP name and the APP name length.
- the embodiment of the present disclosure restricts the networking permission of the APP by means of a VPN. If the terminal does not receive the response message of the gateway, it determines that the current WIFI environment is not a satellite network, and the process ends; if the terminal receives the response message of the gateway, the terminal performs Step 404.
- Step 404 The gateway acquires a flow control table.
- the gateway determines whether there is a flow control scheme corresponding to the APP in the APP list sent by the terminal in the flow control table stored by the gateway. If not, the gateway sends a report requesting to obtain the flow control plan corresponding to the APP to the cloud server.
- the format of the request message is as shown in FIG. 5; after receiving the request message, the cloud server sends the flow control scheme corresponding to the APP to the gateway; after receiving the flow control plan corresponding to the APP, the gateway receives the flow control plan corresponding to the APP , stored in the flow control table of its own storage.
- the gateway determines whether there is a flow control scheme corresponding to the APP in the APP list sent by the terminal in the flow control table stored by the gateway. If not, the gateway sends a report requesting to obtain the flow control plan corresponding to the APP to the cloud server.
- the format of the request message is as shown in FIG. 5; after receiving the request message, the cloud server sends the flow control scheme corresponding to the APP to the gateway; after receiving the flow control plan corresponding to the APP, the gateway receives the flow control plan corresponding to the APP , stored in the flow control table of its own storage.
- the traffic control table includes information such as a destination IP address, a destination port, an application service name, and an application version number of the application when the terminal transmits data.
- Step 405 The terminal sends the networked data packet of the application to the gateway.
- Step 406 The gateway parses the packet to obtain a networking parameter of the application.
- the networking parameter includes: a destination IP address and a destination port, or a domain name, or URL information corresponding to the application.
- Step 407 The gateway queries the flow control table stored by itself according to the obtained networking parameter, and determines whether to perform flow control on the application.
- the gateway searches for a pre-stored flow control table based on the destination IP address and the destination port corresponding to the application, and determines whether to perform flow control on the application; or the gateway searches for the pre-stored according to the domain name.
- the flow control table determines whether to perform flow control on the application; or the gateway searches for a pre-stored flow control table according to the URL information, and determines whether to perform flow control on the application.
- the pre-stored flow control table may be pre-configured in the gateway, or may be obtained by the gateway from the cloud server.
- the flow control table When the flow control is performed on the application based on the destination port and the destination IP address, the flow control table includes: a destination IP address, a destination port, an application service name, an application version number, and the like of the application when the terminal transmits the data.
- the information is: when the traffic control table is configured to obtain the traffic control of the application corresponding to the destination port and the destination IP address, the network data packet of the application is prohibited from being sent; and the application corresponding to the destination port and the destination IP address is not used for traffic.
- the networked data message of the application is released.
- the flow control table stores a keyword corresponding to the domain name or the URL information, and the domain name or the URL information and the keyword stored in the flow control table. If the matching keyword is found, the network data packet corresponding to the application is prohibited from being sent, that is, the application is controlled by the traffic; if the matching keyword cannot be found, the network data packet corresponding to the application is released. Text, that is, no flow control of the application.
- the functions performed by the terminal in this embodiment may be implemented by a client installed on the terminal.
- the fifth embodiment of the present disclosure provides a detailed processing flow of the flow control method applied to the satellite network, as shown in FIG. step:
- Step 501 The terminal sends a request message to the gateway.
- the terminal sends a request message to the gateway for determining an access environment of the terminal.
- the format of the request message is as shown in FIG. 5, and the TYPE type of the message is 01, which is used to indicate that the message is a message requesting access to the satellite network WIFI; the DATA content in the message is The current operating system type and version number of the terminal.
- Step 502 The gateway receives and parses the request packet, and sends a response packet.
- the gateway receives the request message, parses the request message, obtains an operating system type and a version number of the terminal, and sends a response message.
- the format of the response message is as shown in FIG. 5, and the TYPE type is 02, which is used to indicate that the message is a message that agrees to the terminal accessing the satellite network WIFI; the DATA content in the message is air.
- Step 503 The terminal establishes a VPN channel with the VPN server.
- the terminal after receiving the response message, determines that the current environment is a satellite network WIFI, and then applies to establish a VPN channel with the VPN server using the OPENVPN protocol, and the terminal reads its own APP list and passes the APP list through the message.
- the method is sent to the VPN server, and the format of the message is as shown in FIG. 5, the TYPE type is 03, and the DATA content is the APP name and the APP name length.
- the embodiment of the present disclosure restricts the networking permission of the APP by means of a VPN. If the terminal does not receive the response message of the gateway, it determines that the current WIFI environment is not a satellite network, and the process ends; if the terminal receives the response message of the gateway, the terminal performs Step 604.
- Step 504 The gateway acquires a flow control table.
- the gateway determines whether there is a flow control scheme corresponding to the APP in the APP list sent by the terminal in the flow control table stored by the gateway. If not, the gateway sends a report requesting to obtain the flow control plan corresponding to the APP to the cloud server.
- the format of the request message is as shown in FIG. 5; after receiving the request message, the cloud server sends the flow control scheme corresponding to the APP to the gateway; after receiving the flow control plan corresponding to the APP, the gateway receives the flow control plan corresponding to the APP , stored to the flow control table stored by the gateway.
- Step 505 The terminal sends the networked data packet of the application to the gateway.
- Step 506 The gateway parses the packet to obtain a networking parameter of the application.
- the networking parameter includes: a destination IP address and a destination port, or a domain name, or URL information corresponding to the application.
- Step 507 The gateway queries the flow control table stored in the network based on the obtained network parameter to determine whether to perform flow control on the application.
- the gateway searches for a pre-stored flow control table based on the destination IP address and the destination port corresponding to the application, and determines whether to perform flow control on the application; or the gateway searches for the pre-stored according to the domain name.
- the flow control table determines whether to perform flow control on the application; or the gateway searches for a pre-stored flow control table according to the URL information, and determines whether to perform flow control on the application.
- the pre-stored flow control table may be pre-configured in the gateway, or may be obtained by the gateway from the cloud server.
- the flow control table When the flow control is performed on the application based on the destination port and the destination IP address, the flow control table includes: a destination IP address, a destination port, an application service name, an application version number, and the like of the application when the terminal transmits the data.
- the information is: when the traffic control table is configured to obtain the traffic control of the application corresponding to the destination port and the destination IP address, the network data packet of the application is prohibited from being sent; and the application corresponding to the destination port and the destination IP address is not used for traffic.
- the flow control table stores a keyword corresponding to the domain name or the URL information, and the domain name or the URL information and the keyword stored in the flow control table. If the matching keyword is found, the network data packet corresponding to the application is prohibited from being sent, that is, the application is controlled by the traffic; if the matching keyword cannot be found, the network data packet corresponding to the application is released. Text, that is, no flow control of the application.
- the gateway determines whether the flow control table stored in the terminal has a flow control scheme corresponding to the newly installed APP. If not, the gateway requests the cloud server for the traffic control scheme corresponding to the newly installed APP.
- the functions performed by the terminal in this embodiment may be implemented by a client installed on the terminal.
- the cloud server obtains a detailed processing flow of the flow control table corresponding to the APP, as shown in FIG. 10, and includes the following steps:
- Step 601 The terminal sends a flow control scheme corresponding to the application to the gateway.
- the terminal monitors all the APP networking requests of the APP, and records the traffic control scheme corresponding to each APP.
- the traffic control scheme includes: a destination IP address, a destination port, and an APP service name corresponding to the APP transmission data. Information such as the version number; the terminal periodically sends the flow control scheme to the gateway.
- Step 602 After receiving the traffic control scheme, the gateway combines and deletes the traffic control scheme corresponding to the APP stored by the gateway, and generates a flow control table.
- Step 603 The gateway sends the flow control table to the cloud server.
- Step 604 The cloud server receives the flow control table sent by each gateway, and performs processing operations such as combining and deleting all the information in the flow control table, and stores the processed flow control table.
- a sixth embodiment of the present disclosure provides a flow control method.
- the basic processing flow of the method as shown in FIG. 11, includes the following steps:
- Step 701 After the terminal accesses the wireless local area network, determine the access type of the wireless local area network.
- the terminal after the terminal accesses the WLAN, the terminal sends a request access network packet carrying the access parameter of the terminal to the gateway, where the request access network packet is used to determine the type of the WLAN; And receiving the response packet sent by the network element, and parsing the response packet; when parsing the response packet, the terminal determines that the wireless local area network is a satellite network wireless local area network.
- the format of the request message is as shown in FIG. 5, and the TYPE type of the message is 01, which is used to indicate that the message is a message requesting access to a satellite network WIFI;
- the content is the current operating system type and version number of the terminal;
- the format of the response message is as shown in FIG. 5, and the TYPE type is 02, which is used to indicate that the message is a consent to the terminal accessing the satellite network WIFI.
- the message; the DATA content in the message is empty.
- the access parameter includes: a current operating system type and an operating system version number of the terminal.
- Step 702 The terminal sends the applied networked data packet to the network element when determining that the wireless local area network is a satellite network wireless local area network.
- the terminal sends the networked data packet of the application to the network element when the wireless local area network is determined to be a satellite network wireless local area network, where the networked data message includes a network parameter, and is used by the network element to determine whether the network element is The application performs flow control.
- the terminal reads its own application list, and sends the read application list to the gateway by using a packet, and the format of the packet is as shown in FIG. 5, and the TYPE type is 03.
- the DATA content is the APP name and the APP name length; the terminal sends the application's networked data message to the network element to request to run the application.
- the terminal may not simultaneously send its own application list and application networking data to the network element.
- the packet that is, the terminal first sends its own application list to the network element, and then sends the application's networked data packet to the network element.
- the updated application list is sent to the network element.
- the functions performed by the terminal in this embodiment may be implemented by a client installed on the terminal.
- the embodiment of the present disclosure further provides a flow control device applied to a satellite network, where the device is a network element on the network side, and the composition of the device, as shown in FIG. 12, includes: receiving Module 10, and first processing module 12; wherein
- the receiving module 10 is configured to receive a networked data packet of the application
- the first processing module 12 is configured to determine whether to perform flow control on the application based on the networked data packet and a preset rule.
- the apparatus further includes a parsing module 11 configured to parse the message to obtain networking parameters of the application.
- the device further includes a second processing module 13 configured to receive an application list, search for a flow control table stored by itself according to the application list, and determine that the application in the application list does not exist in the traffic.
- a second processing module 13 configured to receive an application list, search for a flow control table stored by itself according to the application list, and determine that the application in the application list does not exist in the traffic.
- the control table is used, the flow control plan corresponding to the application is obtained, and the flow control plan corresponding to the acquired application is stored in the flow control table.
- the device further includes: a third processing module 14 configured to receive a request for accessing a network message, parse the request to access a network message, obtain an access parameter, and send a response message based on the access parameter.
- a third processing module 14 configured to receive a request for accessing a network message, parse the request to access a network message, obtain an access parameter, and send a response message based on the access parameter.
- the parsing module 11 is configured to parse the networked data packet of the application, obtain a destination port and a destination IP address, or a domain name, or URL information of the application.
- the first processing module 12 is specifically configured to use the destination port and The destination IP address is used to search the pre-stored flow control table, and when the application corresponding to the destination port and the destination IP address is used for flow control, the networked data packet of the application is prohibited.
- the network data packet of the application is released.
- the first processing module 12 is configured to search for a pre-stored flow control table according to the domain name or the URL information, and determine that the flow control of the application corresponding to the domain name or the URL information is prohibited.
- the networked data packet of the application is determined; when it is determined that the application corresponding to the domain name or the URL information is not subjected to flow control, the networked data packet of the application is released.
- the networking parameter includes: a destination IP address and a destination port, or a domain name, or URL information corresponding to the application.
- the pre-stored flow control table may be pre-configured in the gateway, or may be obtained by the gateway from the cloud server; therefore, the gateway determines whether to perform flow control on the application, including two scenarios.
- the first type is that the gateway only judges according to the flow control table stored by itself, and uses the keyword of the application to match the flow control table stored by the gateway itself. If the flow control table stored in the self does not exist, the application corresponding to the application does not exist. The flow control scheme does not perform flow control on the application; if the flow control scheme corresponding to the application exists in the flow control table stored in the self, the flow control is performed according to the corresponding flow control scheme.
- the second type is that the gateway first queries the traffic control table stored in the network to check whether the traffic control scheme corresponding to the application exists. If the traffic control scheme corresponding to the application does not exist in the traffic control table stored in the firewall, the gateway obtains the The corresponding flow control scheme is applied, and the obtained flow control scheme is stored in the flow control table, and the gateway performs flow control on the application according to the stored flow control table.
- the flow control table when determining whether to perform flow control on the application based on the destination IP address and the destination port, includes a destination IP address, a destination port, an application service name, and an application service name when the application transmits data of the terminal, Information such as the version number of the application; looking for flow control When the flow control of the application corresponding to the destination port and the destination IP address is performed, the network data packet of the application is prohibited from being sent; and when the application corresponding to the destination port and the destination IP address is not controlled by the flow, the release is performed. Networked data packets for the application.
- the traffic control table when determining whether to perform flow control on the application based on the domain name or based on the URL information, stores a keyword corresponding to the domain name or the URL information, and controls the domain name or the URL information and the flow control.
- the keywords stored in the table are matched. If the matching keyword is found, the network data packet corresponding to the application is prohibited from being sent, that is, the application is controlled by the flow; if the matching keyword cannot be found, the release is performed. Apply the corresponding networked data packet, that is, do not control the flow of the application.
- the embodiment of the present disclosure further provides a terminal, and the composition of the terminal, as shown in FIG. 13, includes: a determining module 21 and a sending module 22;
- the determining module 21 is configured to determine, after the terminal accesses the wireless local area network, an access type of the wireless local area network;
- the sending module 22 is configured to: when determining that the wireless local area network is a satellite network wireless local area network, send the network data packet of the application to the network element;
- the networked data message of the application includes a networking parameter, and the networking parameter is used by the network element to determine whether to perform flow control on the application.
- the sending module 22 is further configured to send its own application list to the network element to request to run the application.
- the determining module 21 is configured to send, to the network element, a request access network packet that carries an access parameter of the terminal, where the request access network packet is used to determine the wireless local area network.
- Type receiving a response message sent by the network element, parsing the response message, and determining that the wireless local area network is a satellite network wireless local area network when parsing the response message is correct.
- the access parameters include: an operating system type and an operating system version number.
- the format of the request message is as shown in FIG. 5, and the TYPE type of the message is 01, which is used to indicate that the message is a message requesting access to a satellite network WIFI;
- the content is the current operating system type and version number of the terminal;
- the format of the response message is as shown in FIG. 5, and the TYPE type is 02, which is used to indicate that the message is a consent to the terminal accessing the satellite network WIFI.
- the message; the DATA content in the message is empty.
- the sending module 22 reads its own application list, and sends the read application list to the message through the message.
- the gateway the format of the message, as shown in FIG. 5, the TYPE type is 03, and the DATA content is the APP name and the APP name length.
- the embodiment of the present disclosure further provides a terminal, the hardware component structure of the terminal, as shown in FIG. 14 , includes a processor 20 and a memory 30 storing the processor executable instructions. When the instructions are executed by the processor 20, the following operations are performed:
- the network data packet of the application is sent to the network element;
- the networked data message of the application includes a networking parameter, and the networking parameter is used by the network element to determine whether to perform flow control on the application.
- the processor 22 is further configured to send its own application list to the network element.
- the processor 20 is configured to send, to the network element, an access network request message carrying the access parameter of the terminal, where the request access network message is used to determine the wireless local area network. type;
- the wireless local area network is a satellite network wireless local area network.
- the access parameters include: an operating system type and an operating system version number.
- the processor 20 is further configured to send the updated application list to the network element when the application list of the terminal is updated.
- the functions of the receiving module 10, the parsing module 11, and the first processing module 12, the second processing module 13, and the third processing module 14 may be implemented by a central processing unit (CPU) located on the gateway. Or a microprocessor (MPU), or a digital signal processor (DSP), or a programmable gate array (FPGA); the function of the determining module 21 and the transmitting module 22 can be performed by a CPU located on the terminal, or an MPU, or a DSP or FPGA implementation.
- CPU central processing unit
- DSP digital signal processor
- FPGA programmable gate array
- the embodiment of the present disclosure provides a flow control system, and the composition of the system is as shown in FIG. 15 , and includes a terminal 1 and a network element 2;
- the terminal 1 is configured to: after accessing the wireless local area network, determine the access type of the wireless local area network, and send the applied networked data message to the network element when determining that the wireless local area network is a satellite network wireless local area network;
- the networked data message of the application includes a networking parameter, and the networking parameter is used by the network element to determine whether to perform flow control on the application.
- the network element 2 is configured to receive a networked data packet of the application sent by the terminal, and determine whether to perform flow control on the application according to the networked data packet and a preset rule.
- the processor 22 is further configured to send its own application column to the network element. table.
- the function performed by the network element 2 may be implemented by a gateway; the network element 2 is further configured to parse the networked data packet to obtain a networking parameter of the application; wherein the networking parameter comprises: The destination IP address and destination port, or domain name, or URL information corresponding to the application.
- the network element 2 is further configured to send a flow control table to the cloud server.
- the system further includes a cloud server 3, configured to receive a flow control table sent by the network element, and process the flow control table;
- the processing includes: merging, deleting, storing, and the like.
- the process of obtaining the flow control table sent by the gateway to the cloud server is: the terminal sends the stored traffic control plan to the gateway according to a fixed period or a preset time, and the gateway receives the received flow control solution.
- Process such as summary, merge, and delete to obtain a flow control table.
- the terminal 1 sends a request access network packet carrying an access parameter of the terminal, where the request access network packet is used to determine the type of the wireless local area network; In response to the message; when the response message is parsed correctly, the wireless local area network is determined to be a satellite network wireless local area network.
- the terminal 1 is further configured to send the updated application list to the network element when the application list is updated.
- the network element 2 is further configured to receive an access request network packet sent by the terminal, parse the request access network packet, obtain an access parameter, and send the access parameter to the terminal according to the access parameter. Response message.
- the pre-stored flow control table may be pre-configured in the network element, or may be obtained by the network element from the cloud server; therefore, the network element determines whether to perform flow control on the application, including Two schemes: The first one is that the network element only judges according to the traffic control table stored by itself, and uses the keyword of the application to compare with the traffic control table stored by the network element itself. If the flow control table corresponding to the application does not exist in the flow control table, the flow control is not performed on the application; if the flow control plan corresponding to the application exists in the flow control table stored in the storage control table, The corresponding flow control scheme performs flow control.
- the second type is that the network element first queries the flow control table stored in the network to check whether the flow control plan corresponding to the application exists. If the flow control plan corresponding to the application does not exist in the flow control table stored in the network, the network server obtains the The flow control scheme corresponding to the application is used, and the obtained flow control scheme is stored in the flow control table, and the network element performs flow control on the application according to the stored flow control table.
- the network element 2 is configured to search for a pre-stored flow control table based on the destination port and the destination IP address, and determine that the flow control of the application corresponding to the destination port and the destination IP address is prohibited. And sending the networked data packet of the application; and determining that the application corresponding to the destination port and the destination IP address does not perform flow control, releasing the networked data packet of the application.
- the network element 2 is configured to search for a pre-stored flow control table according to the domain name or the URL information, and determine to prohibit sending the application when performing flow control on the application corresponding to the domain name or the URL information.
- the networked data packet is sent; when it is determined that the application corresponding to the domain name or the URL information is not subjected to flow control, the networked data packet of the application is released.
- the function performed by the network element 2 may be implemented by a gateway.
- Embodiments of the present disclosure also provide a flow control apparatus including: a processor and a memory storing the processor-executable instructions, when the instructions are executed by the processor, performing the following operations:
- the processor is further configured to: when the computer program is executed:
- the processor is further configured to: when the computer program is executed:
- the application is controlled according to a corresponding flow control scheme.
- the processor is further configured to: when the computer program is executed:
- the flow control plan corresponding to the application is obtained from the cloud server, and the obtained flow control plan is stored in the stored flow control table.
- the processor is further configured to: when the computer program is executed:
- the flow control plan corresponding to the application is obtained from the cloud server, and the flow control plan is stored in the flow control table.
- the processor is further configured to: when the computer program is executed:
- Parsing the networked data packet of the application obtaining a destination port and a destination network protocol IP address, or a domain name, or URL information of the application.
- the processor is further configured to: when the computer program is executed:
- the networked data packet of the application is released.
- the processor is further configured to: when the computer program is executed:
- the networked data packet of the application is released.
- an embodiment of the present disclosure further provides a storage medium, where the computer-executable instructions are stored in the storage medium, and the computer executable instructions are used to execute:
- the application is controlled according to a corresponding flow control scheme.
- the flow control plan corresponding to the application is obtained from the cloud server, and the obtained flow control is obtained.
- the solution is stored to the stored flow control table;
- the flow control plan corresponding to the application is obtained from the cloud server, and the flow control plan is stored in the flow control table.
- Parsing the networked data packet of the application obtaining a destination port and a destination network protocol IP address, or a domain name, or URL information of the application.
- the network data packet of the application is prohibited from being sent;
- the networked data packet of the application is released.
- the networked data packet of the application is prohibited from being sent;
- the networked data packet of the application is released.
- An embodiment of the present disclosure further provides a flow control apparatus, including: a processor and a memory storing the processor executable instructions, when the instructions are executed by the processor, performing, for example, Next operation:
- the network data packet of the application is sent to the network element, where the network data packet of the application is used by the network element to determine whether to perform flow control on the application.
- the networked data message of the application includes a networking parameter
- the networking parameter is used by the network element to determine whether to perform flow control on the application.
- the wireless local area network is a satellite network wireless local area network.
- the access parameters include: an operating system type and an operating system version number.
- the updated application list is sent to the network element.
- embodiments of the present disclosure can be provided as a method, apparatus, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the present disclosure refers to a method, device (system), and computer program according to an embodiment of the present disclosure.
- the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- the terminal accesses the wireless local area network, determine the access type of the wireless local area network; when determining that the wireless local area network is a satellite network wireless local area network, send the applied networked data message to the network element; The networked data packet and the preset rule determine whether to perform flow control on the application.
- the network element can determine whether to control the flow of the application through the networked data packet and the preset rule of the application, thereby realizing the control of the user WIFI traffic under the satellite network, thereby saving the operation cost of the satellite network.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- General Physics & Mathematics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本公开公开了一种应用于卫星网络的流量控制方法,包括:终端接入无线局域网后,判断所述无线局域网的接入类型;在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;网元根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。本公开还公开了一种系统、终端、应用于卫星网络的流量控制装置及存储介质。
Description
相关申请的交叉引用
本申请基于申请号为201611188090.7、申请日为2016年12月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本公开涉及卫星通信技术领域,尤其涉及一种流量控制方法、装置、终端、系统及存储介质。
由于蜂窝式移动通信系统的信号不能覆盖海上和陆地上的全部区域,因此,卫星通信系统作为一种有效的补充手段,广泛地应用于在蜂窝式移动通信系统的信号不能覆盖的区域工作的各个领域,如:远洋运输、钻探、勘测以及渔业等部门。卫星通信系统具有不受时间、地点、环境等因素限制,开通时间段、传输距离远,网络部署快、通信成本与通信距离无关、可以实现语音与数据的实时双向传输等诸多优点。
卫星通信系统的传输场景,如图1所示,用户通过无线局域网(Wireless-Fidelity,WIFI)接入到端站设备,再由端站设备将接入数据转化为卫星传输数据战法至地面站来进行通信;其中,所述端站设备为网关(GateWay,GW)。
目前,卫星通信系统由于带宽低、租用费用昂贵,所以流量价格也相对昂贵;终端用户在检测到当前网络处于WIFI连接状态时,终端会在后台进行大量的数据更新、下载或上传等操作,占用卫星大量的带宽;因此,
控制终端在后台进行操作所使用的流量就显得尤为重要。
现有技术中,安装有安卓系统的终端通常控制流量的方案有两种,第一种是手机管家通过ROOT以后获取终端系统权限,直接限制应用联网权限;但是,随着安卓系统版本的更新,通过ROOT方式获取系统权限的方式越来越困难;第二种是利用谷歌提供虚拟专用网络(Virtual Private Network,VPN)的方案,具体的,安装有安卓系统的终端启用VPN后,终端内的所有应用的联网数据都通过VPN通道进行传输,基于VPN通道判断联网请求对应的应用(Application,APP)当前是否处于后台的方式来限制APP后台的行为;目前终端使用的一些流量卫士软件也是基于上述方案;但是,由于流量卫士都是布置在互联网上的VPN服务器,而终端的数据是通过VPN通道连接至互联网上的VPN服务器,如此,增加了卫星传输网络协议(Internet Protocol,IP)头的开销,这对于卫星网络来说是不能接受的;另一方面,对于安卓5.0以上的版本,谷歌不再提供APP处于前台或后台的判断,因此也无法通过APP的前台或后台行为来控制流量。
发明内容
有鉴于此,本公开实施例期望提供一种应用于卫星网络的流量控制方法、装置、终端、系统及存储介质,能够控制在卫星网络下的用户WIFI流量,节省卫星网络的运营成本。
本公开实施例的技术方案是这样实现的:
本公开实施例提供一种流量控制方法,所述方法应用于卫星网络,包括:
网元接收终端发送的应用的联网数据报文;根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
本公开实施例还提供另一种流量控制方法,所述方法包括:终端接入无线局域网后,判断所述无线局域网的接入类型;
在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
本公开实施例还提供一种流量控制装置,所述装置应用于卫星网络,
包括:接收模块,配置为接收应用的联网数据报文;
第一处理模块,配置为根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
本公开实施例还提供一种终端,所述终端包括:
判断模块,配置为在所述终端接入无线局域网后,判断所述无线局域网的接入类型;
发送模块,配置为在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文,其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
本公开实施例还提供一种流量控制系统,所述系统包括:
终端,配置为在接入无线局域网后,判断所述无线局域网的接入类型,在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;
网元,配置为接收终端发送的应用的联网数据报文,根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
本公开实施例还提供一种终端,所述终端包括处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行如下操作:
终端接入无线局域网后,判断所述无线局域网的接入类型;
在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
本公开实施例还提供一种流量控制装置,包括处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行如下操作:
接收应用的联网数据报文;
根据所述联网参数和预设规则判断是否对所述应用进行流量控制。
本公开实施例还提供一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行:
接收终端发送的应用的联网数据报文;
根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
本公开实施例还提供另一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行:
接入无线局域网后,判断所述无线局域网的接入类型;
在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
本公开实施例所提供的应用于卫星网络的流量控制方法、装置、终端、系统及存储介质,终端接入无线局域网后,判断所述无线局域网的接入类型;在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;网元根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。因此,网元能够通过所述应用的联网数据报文和预设规则判断是否对所述应用进行流量控制,实现了卫星网络下的用户WIFI流量的控制,节省了卫星网络的运营成本。
图1为本公开卫星通信系统的传输场景示意图;
图2为本公开实施例一一种流量控制方法的基本处理流程示意图;
图3为本公开实施例二卫星通信系统的传输场景示意图;
图4为本公开实施例二一种流量控制方法的详细处理流程示意图;
图5为本公开实施例请求/响应报文的格式示意图;
图6为本公开实施例三一种流量控制方法的详细处理流程示意图;
图7为本公开实施例四一种流量控制方法的详细处理流程示意图;
图8为本公开实施例五卫星通信系统的传输场景示意图;
图9为本公开实施例五一种流量控制方法的详细处理流程示意图;
图10为本公开实施例云服务器获取流量控制表的详细处理流程示意图;
图11为本公开实施例六一种流量控制方法的基本处理流程示意图
图12为本公开装置实施例一流量控制装置的组成结构示意图;
图13为本公开装置实施例二终端的组成结构示意图;
图14为本公开实施例三流量控制装置的硬件组成结构示意图;
图15为本公开实施例流量控制系统的组成结构示意图。
下面结合附图对本公开实施例作进一步的详细描述。
方法实施例一
本公开实施例一一种应用于卫星网络的流量控制方法的基本处理流程,如图2所示,包括以下步骤:
步骤101,网元接收终端发送的应用的联网数据报文;
在一实施例中,所述网元执行的功能可由网关来实现,网关接收终端发送的应用的联网数据报文。
步骤102,根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制;
在一实施例中,所述网元执行的功能可由网关来实现,网关在接收到
联网数据报文之后,解析所述联网数据报文,获得所述应用的联网参数;其中,所述联网参数包括:所述应用对应的目的网络协议(Internet Protocol,IP)地址和目的端口、或域名、或统一资源定位符(Uniform Resoure Locator,URL)信息。
网关基于解析获得的应用对应的目的IP地址和目的端口查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述域名查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述URL信息查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制。
其中,所述预先存储的流量控制表可以是在网关内预先配置的,也可以是网关从云服务器获取的;因此,网关在判断是否对所述应用进行流量控制包括两种方案:第一种是网关只根据自身存储的流量控制表进行判断,利用所述应用的关键字与网关自身存储的流量控制表进行匹配,如果自身存储的流量控制表中不存在所述应用对应的流量控制方案,则不对所述应用进行流量控制;如果自身存储的流量控制表中存在所述应用对应的流量控制方案,则按照相应的流量控制方案进行流量控制。第二种是网关先查询自身存储的流量控制表是否存在所述应用对应的流量控制方案,如果自身存储的流量控制表中不存在所述应用对应的流量控制方案,则从云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至流量控制表,网关根据存储的流量控制表对所述应用进行流量控制。
基于目的端口和目的IP地址判断是否对所述应用进行流量控制时,所述流量控制表包括:终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息;在查找流量控制表得到所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,
放行所述应用的联网数据报文。
基于域名或基于URL信息判断是否对所述应用进行流量控制时,所述流量控制表内存储与域名或URL信息相应的关键字,将域名或URL信息与所述流量控制表中存储的关键字相匹配,若能够找到匹配的关键字,则禁止发送所述应用对应的联网数据报文,即对应用进行流量控制;若不能够找到匹配的关键字,则放行所述应用对应的联网数据报文,即不对应用进行流量控制。
本公开实施例中,所述终端可以是手机、平板电脑等移动终端,也可以是台式电脑、笔记本电脑等终端;所述应用为安装于所述终端上的任意应用。
方法实施例二
VPN服务器布置在无线访问接入点(Wireless Access Point,AP)上时,卫星通信系统的传输场景,如图3所示;本公开实施例二一种应用于卫星网络的流量控制方法的详细处理流程,如图4所示,包括以下步骤:
步骤201,终端发送请求报文至网关;
在一实施例中,终端向网关发送请求报文,用于判断所述终端的接入环境。
这里,请求报文的格式如图5所示,所述报文中TYPE类型为01,用于表示所述报文是一个请求接入卫星网络WIFI的报文;所述报文中DATA内容为所述终端当前的操作系统类型及版本号。
步骤202,网关接收、解析所述请求报文,并发送响应报文;
在一实施例中,网关接收所述请求报文、解析所述请求报文,获取所述终端的操作系统类型及版本号,并发送响应报文;
其中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
这里,所述响应报文的格式如图5所示,TYPE类型为02,用于表示所述报文是一个同意所述终端接入卫星网络WIFI的报文;所述报文中DATA内容为空。
步骤203,终端与AP建立VPN通道;
在一实施例中,终端接收到所述响应报文后,判断当前环境为卫星网络WIFI,便申请与AP使用OPENVPN协议建立VPN通道,终端读取自身的APP列表,将APP列表通过报文的方式发送给网关,所述报文的格式,如图5所,TYPE类型为03,DATA内容为APP名字及APP名字长度。
本公开实施例通过VPN的方式来限制APP的联网权限,若终端未收到网关的响应报文,则确定当前的WIFI环境不是卫星网络,流程结束;若终端收到网关的响应报文,执行步骤204。
步骤204,网关获取流量控制表;
在一实施例中,网关判断自身存储的流量控制表中是否存在终端发送的APP列表中的APP对应的流量控制方案,若不存在,网关向云服务器发送请求获取APP对应的流量控制方案的报文;其中,所述请求报文的格式,如图5所示;云服务器接收到所述请求报文后,将APP对应的流量控制方案发送至网关;网关接收到APP对应的流量控制方案后,存储至自身存储的流量控制表。
步骤205,终端向网关发送应用的联网数据报文。
步骤206,网关解析所述报文,获得所述应用的联网参数;
在一实施例中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
步骤207,网关基于获得的联网参数查询自身存储的流量控制表,判断是否对所述应用进行流量控制;
在一实施例中,网关基于解析获得的应用对应的目的IP地址和目的端
口查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述域名查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述URL信息查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制。
其中,所述预先存储的流量控制表可以是在网关内预先配置的,也可以是网关从云服务器获取的。
基于目的端口和目的IP地址判断是否对所述应用进行流量控制时,所述流量控制表包括:终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息;在查找流量控制表得到所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
基于域名或基于URL信息判断是否对所述应用进行流量控制时,所述流量控制表内存储与域名或URL信息相应的关键字,将域名或URL信息与所述流量控制表中存储的关键字相匹配,若能够找到匹配的关键字,则禁止发送所述应用对应的联网数据报文,即对应用进行流量控制;若不能够找到匹配的关键字,则放行所述应用对应的联网数据报文,即不对应用进行流量控制。
需要说明的是,本实施例中终端执行的功能可由终端上安装的客户端实现。
方法实施例三
VPN服务器布置在网关上时,本公开实施例三一种应用于卫星网络的流量控制方法的详细处理流程,如图6所示,包括以下步骤:
步骤301,终端发送请求报文至网关;
在一实施例中,终端向网关发送请求报文,用于判断所述终端的接入
环境。
这里,请求报文的格式如图5所示,所述报文中TYPE类型为01,用于表示所述报文是一个请求接入卫星网络WIFI的报文;所述报文中DATA内容为所述终端当前的操作系统类型及版本号。
步骤302,网关接收、解析所述请求报文,并发送响应报文;
在一实施例中,网关接收所述请求报文、解析所述请求报文,获取所属终端的操作系统类型及版本号,并发送响应报文。
这里,所述响应报文的格式如图5所示,TYPE类型为02,用于表示所述报文是一个同意所述终端接入卫星网络WIFI的报文;所述报文中DATA内容为空。
步骤303,终端与网关建立VPN通道,并向网关发送自身的APP列表;
在一实施例中,终端接收到所述响应报文后,判断当前环境为卫星网络WIFI,便申请与网关使用OPENVPN协议建立VPN通道,终端读取自身的APP列表,将APP列表通过报文的方式发送给网关,所述报文的格式,如图5所,TYPE类型为03,DATA内容为APP名字及APP名字长度。
本公开实施例通过VPN的方式来限制APP的联网权限,若终端未收到网关的响应报文,则确定当前的WIFI环境不是卫星网络,流程结束;若终端收到网关的响应报文,执行步骤304。
网关判断自身存储的流量控制表中是否存在终端发送的APP列表中的APP对应的流量控制方案,若不存在,网关向云服务器发送请求获取APP对应的流量控制方案的报文;其中,所述请求报文的格式,如图5所示;云服务器接收到所述请求报文后,将APP对应的流量控制方案发送至网关;网关接收到APP对应的流量控制方案后,存储至自身存储的流量控制表。
其中,所述流量控制表包括终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息。
步骤304,网关获取流量控制表;
在一实施例中,网关判断自身存储的流量控制表中是否存在终端发送的APP列表中的APP对应的流量控制方案,若不存在,网关向云服务器发送请求获取APP对应的流量控制方案的报文;其中,所述请求报文的格式,如图5所示;云服务器接收到所述请求报文后,将APP对应的流量控制方案发送至网关;网关接收到APP对应的流量控制方案后,存储至自身存储的流量控制表。
步骤305,终端向网关发送应用的联网数据报文。
步骤306,网关解析所述报文,获得所述应用的联网参数;
在一实施例中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
步骤307,网关基于获得的联网参数查询自身存储的流量控制表,判断是否对所述应用进行流量控制;
在一实施例中,网关基于解析获得的应用对应的目的IP地址和目的端口查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述域名查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述URL信息查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制。
其中,所述预先存储的流量控制表可以是在网关内预先配置的,也可以是网关从云服务器获取的。
基于目的端口和目的IP地址判断是否对所述应用进行流量控制时,所述流量控制表包括:终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息;在查找流量控制表得到所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,
放行所述应用的联网数据报文。
基于域名或基于URL信息判断是否对所述应用进行流量控制时,所述流量控制表内存储与域名或URL信息相应的关键字,将域名或URL信息与所述流量控制表中存储的关键字相匹配,若能够找到匹配的关键字,则禁止发送所述应用对应的联网数据报文,即对应用进行流量控制;若不能够找到匹配的关键字,则放行所述应用对应的联网数据报文,即不对应用进行流量控制。
需要说明的是,本实施例中终端执行的功能可由终端上安装的客户端实现。
方法实施例四
终端既是VPN客户端,又是VPN服务器时,本公开实施例四一种应用于卫星网络的流量控制方法的详细处理流程,如图7所示,包括以下步骤:
步骤401,终端发送请求报文至网关;
在一实施例中,终端向网关发送请求报文,用于判断所述终端的接入环境。
这里,请求报文的格式如图5所示,所述报文中TYPE类型为01,用于表示所述报文是一个请求接入卫星网络WIFI的报文;所述报文中DATA内容为所述终端当前的操作系统类型及版本号。
步骤402,网关接收、解析所述请求报文,并发送响应报文;
在一实施例中,网关接收所述请求报文、解析所述请求报文,获取所属终端的操作系统类型及版本号,并发送响应报文;
这里,所述响应报文的格式如图5所示,TYPE类型为02,用于表示所述报文是一个同意所述终端接入卫星网络WIFI的报文;所述报文中DATA内容为空。
步骤403,终端建立本地虚拟VPN;
在一实施例中,终端接收到所述响应报文后,判断当前环境为卫星网络WIFI,便建立本地虚拟VPN通道,建立成功后,终端读取自身的APP列表,将APP列表通过报文的方式发送给网关,所述报文的格式,如图5所,TYPE类型为03,DATA内容为APP名字及APP名字长度。
本公开实施例通过VPN的方式来限制APP的联网权限,若终端未收到网关的响应报文,则确定当前的WIFI环境不是卫星网络,流程结束;若终端收到网关的响应报文,执行步骤404。
步骤404,网关获取流量控制表;
在一实施例中,网关判断自身存储的流量控制表中是否存在终端发送的APP列表中的APP对应的流量控制方案,若不存在,网关向云服务器发送请求获取APP对应的流量控制方案的报文;其中,所述请求报文的格式,如图5所示;云服务器接收到所述请求报文后,将APP对应的流量控制方案发送至网关;网关接收到APP对应的流量控制方案后,存储至自身存储的流量控制表。
在一实施例中,网关判断自身存储的流量控制表中是否存在终端发送的APP列表中的APP对应的流量控制方案,若不存在,网关向云服务器发送请求获取APP对应的流量控制方案的报文;其中,所述请求报文的格式,如图5所示;云服务器接收到所述请求报文后,将APP对应的流量控制方案发送至网关;网关接收到APP对应的流量控制方案后,存储至自身存储的流量控制表。
其中,所述流量控制表包括终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息。
步骤405,终端向网关发送应用的联网数据报文。
步骤406,网关解析所述报文,获得所述应用的联网参数;
在一实施例中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
步骤407,网关基于获得的联网参数查询自身存储的流量控制表,判断是否对所述应用进行流量控制;
在一实施例中,网关基于解析获得的应用对应的目的IP地址和目的端口查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述域名查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述URL信息查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制。
其中,所述预先存储的流量控制表可以是在网关内预先配置的,也可以是网关从云服务器获取的。
基于目的端口和目的IP地址判断是否对所述应用进行流量控制时,所述流量控制表包括:终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息;在查找流量控制表得到所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
基于域名或基于URL信息判断是否对所述应用进行流量控制时,所述流量控制表内存储与域名或URL信息相应的关键字,将域名或URL信息与所述流量控制表中存储的关键字相匹配,若能够找到匹配的关键字,则禁止发送所述应用对应的联网数据报文,即对应用进行流量控制;若不能够找到匹配的关键字,则放行所述应用对应的联网数据报文,即不对应用进行流量控制。
需要说明的是,本实施例中终端执行的功能可由终端上安装的客户端实现。
方法实施例五
网关侧增加VPN服务器网元时,卫星通信系统的传输场景,如图8所示;本公开实施例五一种应用于卫星网络的流量控制方法的详细处理流程,如图9所示,包括以下步骤:
步骤501,终端发送请求报文至网关;
在一实施例中,终端向网关发送请求报文,用于判断所述终端的接入环境。
这里,请求报文的格式如图5所示,所述报文中TYPE类型为01,用于表示所述报文是一个请求接入卫星网络WIFI的报文;所述报文中DATA内容为所述终端当前的操作系统类型及版本号。
步骤502,网关接收、解析所述请求报文,并发送响应报文;
在一实施例中,网关接收所述请求报文、解析所述请求报文,获取所属终端的操作系统类型及版本号,并发送响应报文。
这里,所述响应报文的格式如图5所示,TYPE类型为02,用于表示所述报文是一个同意所述终端接入卫星网络WIFI的报文;所述报文中DATA内容为空。
步骤503,终端与VPN服务器建立VPN通道;
在一实施例中,终端接收到所述响应报文后,判断当前环境为卫星网络WIFI,便申请与VPN服务器使用OPENVPN协议建立VPN通道,终端读取自身的APP列表,将APP列表通过报文的方式发送给VPN服务器,所述报文的格式,如图5所,TYPE类型为03,DATA内容为APP名字及APP名字长度。
本公开实施例通过VPN的方式来限制APP的联网权限,若终端未收到网关的响应报文,则确定当前的WIFI环境不是卫星网络,流程结束;若终端收到网关的响应报文,执行步骤604。
步骤504,网关获取流量控制表;
在一实施例中,网关判断自身存储的流量控制表中是否存在终端发送的APP列表中的APP对应的流量控制方案,若不存在,网关向云服务器发送请求获取APP对应的流量控制方案的报文;其中,所述请求报文的格式,如图5所示;云服务器接收到所述请求报文后,将APP对应的流量控制方案发送至网关;网关接收到APP对应的流量控制方案后,存储至网关所存储的流量控制表。
步骤505,终端向网关发送应用的联网数据报文。
步骤506,网关解析所述报文,获得所述应用的联网参数;
在一实施例中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
步骤507,网关基于获得的联网参数查询自身存储的流量控制表,判断是否对所述应用进行流量控制;
在一实施例中,网关基于解析获得的应用对应的目的IP地址和目的端口查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述域名查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制;或网关根据所述URL信息查找自身预先存储的流量控制表,判断是否对所述应用进行流量控制。
其中,所述预先存储的流量控制表可以是在网关内预先配置的,也可以是网关从云服务器获取的。
基于目的端口和目的IP地址判断是否对所述应用进行流量控制时,所述流量控制表包括:终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息;在查找流量控制表得到所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,
放行所述应用的联网数据报文。
基于域名或基于URL信息判断是否对所述应用进行流量控制时,所述流量控制表内存储与域名或URL信息相应的关键字,将域名或URL信息与所述流量控制表中存储的关键字相匹配,若能够找到匹配的关键字,则禁止发送所述应用对应的联网数据报文,即对应用进行流量控制;若不能够找到匹配的关键字,则放行所述应用对应的联网数据报文,即不对应用进行流量控制。
本公开的上述方法实施例中,终端新安装APP时,将所述新安装的APP名称发送至网关上,网关判断自身存储的流量控制表是否存在关于所述新安装的APP对应的流量控制方案,若不存在,网关向云服务器请求所述新安装的APP对应的流量控制方案。
需要说明的是,本实施例中终端执行的功能可由终端上安装的客户端实现。
本公开上述方法实施例中,云服务器获取APP对应的流量控制表的详细处理流程,如图10所示,包括以下步骤:
步骤601,终端发送自身的应用对应的流量控制方案至网关;
在一实施例中,终端监测自身的所有APP联网请求,并记录每个APP对应的流量控制方案,所述流量控制方案包括:所述APP传输数据对应的目的IP地址、目的端口及APP业务名称、版本号等信息;终端定时将所述流量控制方案发送至网关。
步骤602,网关接收到流量控制方案后,对自身存储的APP对应的流量控制方案进行合并、删除等操作后,生成流量控制表。
步骤603,网关将所述流量控制表发送至云服务器。
步骤604,云服务器接收每个网关发送的流量控制表,并对所有流量控制表中的信息进行合并、删除等处理操作,并存储处理后的流量控制表。
方法实施例六
本公开实施例六提供一种流量控制方法,所述方法的基本处理流程,如图11所示,包括以下步骤:
步骤701,终端接入无线局域网后,判断所述无线局域网的接入类型;
在一实施例中,终端接入无线局域网后,向网关发送携带所述终端的接入参数的请求接入网络报文,所述请求接入网络报文用于判断所述无线局域网的类型;接收网元发送的响应报文,并解析所述响应报文;在解析所述响应报文正确时,终端判断所述无线局域网为卫星网络无线局域网。
这里,所述请求报文的格式如图5所示,所述报文中TYPE类型为01,用于表示所述报文是一个请求接入卫星网络WIFI的报文;所述报文中DATA内容为所述终端当前的操作系统类型及版本号;所述响应报文的格式如图5所示,TYPE类型为02,用于表示所述报文是一个同意所述终端接入卫星网络WIFI的报文;所述报文中DATA内容为空。
其中,所述接入参数包括:所述终端当前的操作系统类型和操作系统版本号。
步骤702,终端在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;
在一实施例中,终端在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文,所述联网数据报文包括联网参数,用于网元判断是否对所述应用进行流量控制。
在一具体实施方式中,所述终端读取自身的应用列表,并将读取的应用列表通过报文的方式发送给网关,所述报文的格式,如图5所,TYPE类型为03,DATA内容为APP名字及APP名字长度;终端向网元发送应用的联网数据报文,以请求运行所述应用。
这里,终端可以不同时向网元发送自身的应用列表和应用的联网数据
报文,即:终端先向网元发送自身的应用列表,再向网元发送应用的联网数据报文。
在一具体实施方式中,所述终端的应用列表发生更新时,向网元发送更新后的应用列表。
需要说明的是,本实施例中终端执行的功能可由终端上安装的客户端实现。
装置实施例一
为实现上述流量控制方法,本公开实施例还提供一种应用于卫星网络的流量控制装置,所述装置为网络侧的网元,所述装置的组成结构,如图12所示,包括:接收模块10、和第一处理模块12;其中,
所述接收模块10,配置为接收应用的联网数据报文;
所述第一处理模块12,配置为基于所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
在一实施例中,所述装置还包括解析模块11,配置为解析所述报文,获得所述应用的联网参数。
在一实施例中,所述装置还包括第二处理模块13,配置为接收应用列表,基于所述应用列表查找自身存储的流量控制表;判断所述应用列表中的应用不存在于所述流量控制表时,请求获取所述应用对应的流量控制方案,并将获取的应用对应的流量控制方案存储至所述流量控制表。
所述装置还包括:第三处理模块14,配置为接收请求接入网络报文,解析所述请求接入网络报文,获得接入参数;基于所述接入参数发送响应报文。
在一实施例中,所述解析模块11,配置为解析所述应用的联网数据报文,获得所述应用的目的端口和目的IP地址、或域名、或URL信息。
在一实施例中,所述第一处理模块12,具体用于根据所述目的端口和
目的IP地址查找预先存储的流量控制表,判断所述目的端口和目的IP地址对应的应用进行流量控制时,禁止所述应用的联网数据报文;
判断所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
在一实施例中,所述第一处理模块12,配置为根据所述域名或URL信息查找预先存储的流量控制表,判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
在一实施例中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
在一实施例中,所述预先存储的流量控制表可以是在网关内预先配置的,也可以是网关从云服务器获取的;因此,网关在判断是否对所述应用进行流量控制包括两种方案:第一种是网关只根据自身存储的流量控制表进行判断,利用所述应用的关键字与网关自身存储的流量控制表进行匹配,如果自身存储的流量控制表中不存在所述应用对应的流量控制方案,则不对所述应用进行流量控制;如果自身存储的流量控制表中存在所述应用对应的流量控制方案,则按照相应的流量控制方案进行流量控制。第二种是网关先查询自身存储的流量控制表是否存在所述应用对应的流量控制方案,如果自身存储的流量控制表中不存在所述应用对应的流量控制方案,则从云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至流量控制表,网关根据存储的流量控制表对所述应用进行流量控制。
在一实施例中,基于目的IP地址和目的端口判断是否对所述应用进行流量控制时,所述流量控制表包括终端的应用传输数据时对应的目的IP地址、目的端口、应用的业务名称、应用的版本号等信息;在查找流量控制
表得到所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
在一实施例中,基于域名或基于URL信息判断是否对所述应用进行流量控制时,所述流量控制表内存储与域名或URL信息相应的关键字,将域名或URL信息与所述流量控制表中存储的关键字相匹配,若能够找到匹配的关键字,则禁止发送所述应用对应的联网数据报文,即对应用进行流量控制;若不能够找到匹配的关键字,则放行所述应用对应的联网数据报文,即不对应用进行流量控制。
装置实施例二
为实现上述流量控制方法,本公开实施例还提供一种终端,所述终端的组成结构,如图13所示,包括:判断模块21和发送模块22;其中,
所述判断模块21,配置为在所述终端接入无线局域网后,判断所述无线局域网的接入类型;
发送模块22,配置为在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,
所述应用的联网数据报文包括联网参数,所述联网参数用于网元判断是否对所述应用进行流量控制。
在一实施例中,所述发送模块22,还配置为向网元发送自身的应用列表,以请求运行所述应用。
在一实施例中,所述判断模块21,配置为向网元发送携带所述终端的接入参数的请求接入网络报文,所述请求接入网络报文用于判断所述无线局域网的类型;接收网元发送的响应报文,解析所述响应报文,在解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
其中,所述接入参数包括:操作系统类型和操作系统版本号。
这里,所述请求报文的格式如图5所示,所述报文中TYPE类型为01,用于表示所述报文是一个请求接入卫星网络WIFI的报文;所述报文中DATA内容为所述终端当前的操作系统类型及版本号;所述响应报文的格式如图5所示,TYPE类型为02,用于表示所述报文是一个同意所述终端接入卫星网络WIFI的报文;所述报文中DATA内容为空。
在一实施例中,所述发送模块22在所述判断模块21判断所述无线局域网为卫星网络无线局域网时,读取自身的应用列表,并将读取的应用列表通过报文的方式发送给网关,所述报文的格式,如图5所,TYPE类型为03,DATA内容为APP名字及APP名字长度。
装置实施例三
为实现上述流量控制方法,本公开实施例还提供一种终端,所述终端的硬件组成结构,如图14所示,包括处理器20以及存储有所述处理器可执行指令的存储器30,当所述指令被处理器20执行时,执行如下操作:
接入无线局域网后,判断所述无线局域网的接入类型;
在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,
所述应用的联网数据报文包括联网参数,所述联网参数用于网元判断是否对所述应用进行流量控制。
在一实施例中,所述处理器22,还配置为向网元发送自身的应用列表。
在一实施例中,所述处理器20,配置为向网元发送携带所述终端的接入参数的请接入网络求报文,所述请求接入网络报文用于判断所述无线局域网的类型;
接收网关发送的响应报文;
解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
在一实施例中,所述接入参数包括:操作系统类型和操作系统版本号。
在一实施例中,所述处理器20,还配置为终端的应用列表更新时,向网元发送更新后的应用列表。
需要说明的是,在实际应用中,所述接收模块10、解析模块11和第一处理模块12、第二处理模块13及第三处理模块14功能可由位于网关上的中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现;所述判断模块21和发送模块22功能可由位于终端上的CPU、或MPU、或DSP或FPGA实现。
需要说明的是:上述实施例提供的流量控制装置或终端在进行流量控制时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置或终端的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的流量控制装置与流量控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
系统实施例
本公开实施例提供一种流量控制系统,所述系统的组成结构如图15所示,包括终端1和网元2;其中,
所述终端1,配置为在接入无线局域网后,判断所述无线局域网的接入类型,在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,
所述应用的联网数据报文包括联网参数,所述联网参数用于网元判断是否对所述应用进行流量控制。
所述网元2,配置为接收终端发送的应用的联网数据报文,根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
在一实施方式中,所述处理器22,还配置为向网元发送自身的应用列
表。
在一实施方式中,所述网元2执行的功能可由网关实现;所述网元2还配置为解析所述联网数据报文,获得所述应用的联网参数;其中,所述联网参数包括:所述应用对应的目的IP地址和目的端口、或域名、或URL信息。
所述网元2,还配置为向云服务器发送流量控制表;相应的,所述系统还包括云服务器3,配置为接收网元发送的流量控制表,并对所述流量控制表进行处理;其中,所述处理包括:合并、删除和存储等。
在一实施方式中,所述网关向云服务器发送的流量控制表的获取过程为:终端按固定周期或按预设时间将自身存储的流量控制方案发送至网关,网关将接收到的流量控制方案进行汇总、合并和删除等处理,得到流量控制表。
在一实施方式中,所述终端1发送携带所述终端的接入参数的请求接入网络报文,所述请求接入网络报文用于判断所述无线局域网的类型;接收网元发送的响应报文;解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
在一实施方式中,所述终端1,还配置为在自身的应用列表更新时,向网元发送更新后的应用列表。
在一实施方式中,所述网元2,还配置为接收终端发送的接入请求网络报文,解析所述请求接入网络报文,获得接入参数,基于所述接入参数向终端发送响应报文。
在一实施方式中,所述预先存储的流量控制表可以是在网元内预先配置的,也可以是网元从云服务器获取的;因此,网元在判断是否对所述应用进行流量控制包括两种方案:第一种是网元只根据自身存储的流量控制表进行判断,利用所述应用的关键字与网元自身存储的流量控制表进行匹
配,如果自身存储的流量控制表中不存在所述应用对应的流量控制方案,则不对所述应用进行流量控制;如果自身存储的流量控制表中存在所述应用对应的流量控制方案,则按照相应的流量控制方案进行流量控制。第二种是网元先查询自身存储的流量控制表是否存在所述应用对应的流量控制方案,如果自身存储的流量控制表中不存在所述应用对应的流量控制方案,则从云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至流量控制表,网元根据存储的流量控制表对所述应用进行流量控制。
在一实施方式中,所述网元2,配置为基于所述目的端口和目的IP地址查找预先存储的流量控制表,判断对所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
在一实施方式中,所述网元2,配置为根据所述域名或URL信息查找预先存储的流量控制表,判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
本公开实施例中,所述网元2执行的功能可由网关来实现。
本公开实施例还提供一种流量控制装置,包括:处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行如下操作:
接收应用的联网数据报文;
根据所述联网参数和预设规则判断是否对所述应用进行流量控制。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
解析所述联网数据报文,获得所述应用的联网参数。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;
确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,不对所述应用进行流量控制;
确定所述存储的流量控制表中存在所述应用对应的流量控制方案时,按照相应的流量控制方案对所述应用进行流量控制。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;
确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,从云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至所述存储的流量控制表;
根据所述存储的流量控制表对所述应用进行流量控制。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
接收终端发送的应用列表,基于所述应用列表查找所述存储的流量控制表;
判断所述应用列表中的应用不存在于所述流量控制表时,从云服务器获取应用对应的流量控制方案,并将所述流量控制方案存储至所述流量控制表。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
解析所述应用的联网数据报文,获得所述应用的目的端口和目的网络协议IP地址、或域名、或URL信息。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
根据所述目的端口和目的IP地址查找预先存储的流量控制表,判断对所述目的端口和目的IP地址对应的应用进行流量控制时,禁止所述应用的联网数据报文;
判断对所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
在一实施例中,所述处理器还用于运行所述计算机程序时,执行:
根据所述域名或URL信息查找预先存储的流量控制表,判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;
判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
相应的,本公开实施例还提供一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行:
接收终端发送的应用的联网数据报文;
根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
在一实施例中,所述计算机程序被处理器运行时,还执行:
解析所述联网数据报文,获得所述应用的联网参数。
在一实施例中,所述计算机程序被处理器运行时,还执行:
利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;
确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,不对所述应用进行流量控制;
确定所述存储的流量控制表中存在所述应用对应的流量控制方案时,按照相应的流量控制方案对所述应用进行流量控制。
在一实施例中,所述计算机程序被处理器运行时,还执行:
利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;
确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,从云服务器获取所述应用对应的流量控制方案,并将获取的流量控
制方案存储至所述存储的流量控制表;
根据所述存储的流量控制表对所述应用进行流量控制。
在一实施例中,所述计算机程序被处理器运行时,还执行:
接收终端发送的应用列表;
基于所述应用列表查找所述存储的流量控制表;
判断所述应用列表中的应用不存在于所述流量控制表时,从云服务器获取应用对应的流量控制方案,并将所述流量控制方案存储至所述流量控制表。
在一实施例中,所述计算机程序被处理器运行时,还执行:
解析所述应用的联网数据报文,获得所述应用的目的端口和目的网络协议IP地址、或域名、或URL信息。
在一实施例中,所述计算机程序被处理器运行时,还执行:
根据所述目的端口和目的IP地址查找预先存储的流量控制表;
判断对所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;
判断对所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
在一实施例中,所述计算机程序被处理器运行时,还执行:
根据所述域名或URL信息查找预先存储的流量控制表;
判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;
判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
本公开实施例还提供一种流量控制装置,包括:处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行如
下操作:
接入无线局域网后,判断所述无线局域网的接入类型;
在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
在一实施例中,所述应用的联网数据报文包括联网参数,所述联网参数用于网元判断是否对所述应用进行流量控制。
在一实施例中,所述计算机程序被处理器运行时,还执行:
向网元发送自身的应用列表。
在一实施例中,所述计算机程序被处理器运行时,还执行:
向网元发送携带所述终端的接入参数的请求接入网络报文,所述请求接入网络报文用于判断所述无线局域网的接入类型;
接收网元发送的响应报文;
解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
在一实施例中,所述接入参数包括:操作系统类型和操作系统版本号。
在一实施例中,所述计算机程序被处理器运行时,还执行:
所述终端的应用列表更新时,向网元发送更新后的应用列表。
本领域内的技术人员应明白,本公开的实施例可提供为方法、装置、系统或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序
产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。
本公开实施例中,终端接入无线局域网后,判断所述无线局域网的接入类型;在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;网元根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。如此,网元能够通过所述应用的联网数据报文和预设规则判断是否对所述应用进行流量控制,实现了卫星网络下的用户WIFI流量的控制,节省了卫星网络的运营成本。
Claims (41)
- 一种流量控制方法,所述方法应用于卫星网络,包括:网元接收终端发送的应用的联网数据报文;根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
- 根据权利要求1所述流量控制方法,其中,所述网元接收终端发送的应用的联网数据报文之后,所述方法还包括:解析所述联网数据报文,获得所述应用的联网参数。
- 根据权利要求2所述流量控制方法,其中,所述根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制,包括:网元利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,不对所述应用进行流量控制;确定所述存储的流量控制表中存在所述应用对应的流量控制方案时,按照相应的流量控制方案对所述应用进行流量控制。
- 根据权利要求2所述流量控制方法,其中,所述根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制,包括:网元利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,从云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至所述存储的流量控制表;根据所述存储的流量控制表对所述应用进行流量控制。
- 根据权利要求1至4任一项所述流量控制方法,其中,所述方法 还包括:网元接收终端发送的应用列表;基于所述应用列表查找所述存储的流量控制表;判断所述应用列表中的应用不存在于所述流量控制表时,从云服务器获取应用对应的流量控制方案,并将所述流量控制方案存储至所述流量控制表。
- 根据权利要求1至4任一项所述流量控制方法,其中,所述解析所述报文,获得所述应用的联网参数,包括:解析所述应用的联网数据报文,获得所述应用的目的端口和目的网络协议IP地址、或域名、或统一资源定位符URL信息。
- 根据权利要求6所述流量控制方法,其中,所述根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制,包括:根据所述目的端口和目的IP地址查找预先存储的流量控制表;判断对所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断对所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
- 根据权利要求6所述流量控制方法,其中,所述根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制,包括:根据所述域名或URL信息查找预先存储的流量控制表;判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
- 一种流量控制方法,所述方法包括:终端接入无线局域网后,判断所述无线局域网的接入类型;在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
- 根据权利要求9所述的方法,其中,所述应用的联网数据报文包括联网参数,所述联网参数用于网元判断是否对所述应用进行流量控制。
- 根据权利要求10所述的方法,其中,所述方法还包括:终端向网元发送自身的应用列表。
- 根据权利要求11所述的方法,其中,所述判断所述无线局域网的接入类型,包括:向网元发送携带所述终端的接入参数的请求接入网络报文,所述请求接入网络报文用于判断所述无线局域网的接入类型;接收网元发送的响应报文;解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
- 根据权利要求12所述的方法,其中,所述接入参数包括:操作系统类型和操作系统版本号。
- 根据权利要求11至13任一项所述的方法,其中,所述方法还包括:所述终端的应用列表更新时,向网元发送更新后的应用列表。
- 一种流量控制装置,所述装置应用于卫星网络,包括:接收模块,配置为接收应用的联网数据报文;第一处理模块,配置为根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
- 一种终端,所述终端包括:判断模块,配置为在所述终端接入无线局域网后,判断所述无线局域网的接入类型;发送模块,配置为在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文,其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
- 一种流量控制系统,所述系统包括:终端,配置为在接入无线局域网后,判断所述无线局域网的接入类型,在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;网元,配置为接收终端发送的应用的联网数据报文,根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制。
- 根据权利要求17所述系统,其中,所述网元,还配置为解析所述联网数据报文,获得所述应用的联网参数。
- 根据权利要求18所述系统,其中,所述根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制包括:网元利用所述联网参数中的关键字与自身存储的流量控制表进行匹配,确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,不对所述应用进行流量控制;确定所述存储的流量控制表中存在所述应用对应的流量控制方案时,按照相应的流量控制方案对所述应用进行流量控制。
- 根据权利要求18所述系统,其中,所述系统还包括云服务器;所述网元,还配置为向所述云服务器发送流量控制表;所述云服务器,配置为接收网元发送的流量控制表,并对所述流量控制表进行处理。
- 根据权利要求20所述系统,其中,所述根据所述联网数据报文和预设规则判断是否对所述应用进行流量控制,包括:网元利用所述联网参数中的关键字与自身存储的流量控制表进行匹配,确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,从所述云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至所述存储的流量控制表;根据所述存储的流量控制表对所述应用进行流量控制。
- 根据权利要求17至21任一项所述系统,其中,所述终端判断所述无线局域网的接入类型,包括:终端发送携带所述终端的接入参数的请求报文,所述请求接入网络报文用于判断所述无线局域网的接入类型;接收网元发送的响应报文;解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
- 根据权利要求17至21任一项所述系统,其中,所述终端,还配置为向网元发送自身的应用列表。
- 根据权利要求23所述系统,其中,所述终端,还配置为在自身的应用列表更新时,向网元发送更新后的应用列表。
- 根据权利要求18至21任一项所述系统,其中,所述网元,配置为解析所述应用的联网数据报文,获得所述应用的目的端口和目的网络协议IP地址、或域名、或统一资源定位符URL信息。
- 根据权利要求25所述系统,其中,所述网元,配置为根据所述目的端口和目的IP地址查找预先存储的流量控制表,判断对所述目的端口和目的IP地址对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
- 根据权利要求25所述系统,其中,所述网元,配置为根据所述域名或URL信息查找预先存储的流量控制表,判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
- 一种终端,包括处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行如下操作:终端接入无线局域网后,判断所述无线局域网的接入类型;在判断所述无线局域网为卫星网络无线局域网时,向网元发送应用的联网数据报文;其中,所述应用的联网数据报文用于网元判断是否对所述应用进行流量控制。
- 根据权利要求28所述终端,其中,所述应用的联网数据报文包括联网参数,所述联网参数用于网元判断是否对所述应用进行流量控制。
- 根据权利要求29所述终端,其中,所述处理器,还配置为向网元发送自身的应用列表。
- 根据权利要求30所述终端,其中,所述处理器,配置为向网元发送携带所述终端的接入参数的请求接入网络报文,所述请求接入网络报文用于判断所述无线局域网的接入类型;接收网元发送的响应报文;解析所述响应报文正确时,判断所述无线局域网为卫星网络无线局域网。
- 一种流量控制装置,包括:处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行如下操作:接收应用的联网数据报文;根据所述联网参数和预设规则判断是否对所述应用进行流量控制。
- 根据权利要求32所述流量控制装置,其中,所述处理器,还配置为解析所述联网数据报文,获得所述应用的联网参数。
- 根据权利要求33所述流量控制装置,其中,所述处理器,配置为利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,不对所述应用进行流量控制;确定所述存储的流量控制表中存在所述应用对应的流量控制方案时,按照相应的流量控制方案对所述应用进行流量控制。
- 根据权利要求33所述流量控制装置,其中,所述处理器,配置为利用所述联网参数中的关键字与自身存储的流量控制表进行匹配;确定所述存储的流量控制表中不存在所述应用对应的流量控制方案时,从云服务器获取所述应用对应的流量控制方案,并将获取的流量控制方案存储至所述存储的流量控制表;根据所述存储的流量控制表对所述应用进行流量控制。
- 根据权利要求34或35所述流量控制装置,其中,所述处理器,还配置为接收终端发送的应用列表,基于所述应用列表查找所述存储的流量控制表;判断所述应用列表中的应用不存在于所述流量控制表时,从云服务器获取应用对应的流量控制方案,并将所述流量控制方案存储至所述流量控制表。
- 根据权利要求33所述流量控制装置,其中,所述处理器,配置为解析所述应用的联网数据报文,获得所述应用的目的端口和目的网络协议IP地址、或域名、或统一资源定位符URL信息。
- 根据权利要求37所述流量控制装置,其中,所述处理器,配置为根据所述目的端口和目的IP地址查找预先存储的流量控制表,判断对所述目的端口和目的IP地址对应的应用进行流量控制时,禁止所述应用的联网数据报文;判断对所述目的端口和目的IP地址对应的应用不进行流量控制时,放行所述应用的联网数据报文。
- 根据权利要求37所述流量控制装置,其中,所述处理器,配置为根据所述域名或URL信息查找预先存储的流量控制表,判断对所述域名或URL信息对应的应用进行流量控制时,禁止发送所述应用的联网数据报文;判断对所述域名或URL信息对应的应用不进行流量控制时,放行所述应用的联网数据报文。
- 一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至8任一项所述的流量控制方法。
- 一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求9至14任一项所述的流量控制方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/471,707 US11064390B2 (en) | 2016-12-20 | 2017-12-13 | Traffic control method and device, terminal, system, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611188090.7A CN108207012B (zh) | 2016-12-20 | 2016-12-20 | 一种流量控制方法、装置、终端及系统 |
CN201611188090.7 | 2016-12-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018113568A1 true WO2018113568A1 (zh) | 2018-06-28 |
Family
ID=62604437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/115947 WO2018113568A1 (zh) | 2016-12-20 | 2017-12-13 | 一种流量控制方法、装置、终端、系统及存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11064390B2 (zh) |
CN (1) | CN108207012B (zh) |
WO (1) | WO2018113568A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918246A (zh) * | 2020-05-07 | 2020-11-10 | 宁波大学 | 一种无线局域网共享服务提供方法 |
CN113660177A (zh) * | 2021-09-23 | 2021-11-16 | 深信服科技股份有限公司 | 一种流量控制方法、装置、系统及可读存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257267B (zh) * | 2018-09-20 | 2021-05-07 | 宙安科技河北有限公司 | 基于高通量卫星的专线网络构建方法 |
CN113727346B (zh) * | 2020-05-11 | 2022-10-14 | 中国电信股份有限公司 | 语音通信方法、系统、用户终端及计算机可读存储介质 |
CN114006869A (zh) * | 2020-07-28 | 2022-02-01 | 阿里巴巴集团控股有限公司 | 流量控制方法、装置、电子设备及计算机可读存储介质 |
CN113645676B (zh) * | 2021-08-13 | 2023-12-15 | 中国人民解放军63620部队 | 一种业务数据的发送方法、装置、计算机设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741504A (zh) * | 2005-08-29 | 2006-03-01 | 杭州华为三康技术有限公司 | 基于应用的流量控制方法及进行应用流量控制的网络设备 |
CN101789904A (zh) * | 2010-02-04 | 2010-07-28 | 杭州华三通信技术有限公司 | 流量控制的方法及设备 |
US20120213210A1 (en) * | 2011-02-18 | 2012-08-23 | Verizon Patent And Licensing Inc. | QUALITY OF SERVICE (QoS) FOR SATELLITE COMMUNICATIONS NETWORK |
CN103384967A (zh) * | 2011-01-19 | 2013-11-06 | Gogo有限责任公司 | 用于空对地通信的业务调度系统 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6868270B2 (en) * | 1994-01-11 | 2005-03-15 | Telefonaktiebolaget L.M. Ericsson | Dual-mode methods, systems, and terminals providing reduced mobile terminal registrations |
CN102594814B (zh) * | 2012-02-10 | 2014-11-12 | 福建升腾资讯有限公司 | 基于端末的网络访问控制系统 |
US9439214B2 (en) * | 2012-05-31 | 2016-09-06 | Cisco Technology, Inc. | Leveraging multiple access technologies simultaneously |
CN103686939B (zh) * | 2012-09-25 | 2017-07-21 | 华为终端有限公司 | 触发终端的方法及相关设备 |
US9059962B2 (en) * | 2013-03-13 | 2015-06-16 | Route1 Inc. | Secure access to applications behind firewall |
CN103796248A (zh) * | 2013-12-10 | 2014-05-14 | 国家电网公司 | 电力应急通信系统及该系统的网络流量控制方法 |
CN103746928A (zh) * | 2013-12-30 | 2014-04-23 | 迈普通信技术股份有限公司 | 利用访问控制列表控制流量的方法和系统 |
CN105991469B (zh) | 2015-02-06 | 2018-01-19 | 上海交通大学 | 一种异构网络传输下的动态时间窗口及缓存机制 |
CN105991460B (zh) * | 2015-03-02 | 2019-09-06 | 杭州迪普科技股份有限公司 | 流量负载转发方法、主控板、业务板及网络设备 |
US10305800B2 (en) * | 2015-04-15 | 2019-05-28 | Hughes Network Systems, Llc | Preferential selection of IP protocol version with domain name matching on proxy servers |
CN106059650B (zh) * | 2016-05-24 | 2018-08-21 | 北京交通大学 | 基于sdn和nfv技术的天地一体化网络架构及数据传输方法 |
-
2016
- 2016-12-20 CN CN201611188090.7A patent/CN108207012B/zh active Active
-
2017
- 2017-12-13 WO PCT/CN2017/115947 patent/WO2018113568A1/zh active Application Filing
- 2017-12-13 US US16/471,707 patent/US11064390B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741504A (zh) * | 2005-08-29 | 2006-03-01 | 杭州华为三康技术有限公司 | 基于应用的流量控制方法及进行应用流量控制的网络设备 |
CN101789904A (zh) * | 2010-02-04 | 2010-07-28 | 杭州华三通信技术有限公司 | 流量控制的方法及设备 |
CN103384967A (zh) * | 2011-01-19 | 2013-11-06 | Gogo有限责任公司 | 用于空对地通信的业务调度系统 |
US20120213210A1 (en) * | 2011-02-18 | 2012-08-23 | Verizon Patent And Licensing Inc. | QUALITY OF SERVICE (QoS) FOR SATELLITE COMMUNICATIONS NETWORK |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918246A (zh) * | 2020-05-07 | 2020-11-10 | 宁波大学 | 一种无线局域网共享服务提供方法 |
CN111918246B (zh) * | 2020-05-07 | 2023-02-28 | 宁波大学 | 一种无线局域网共享服务提供方法 |
CN113660177A (zh) * | 2021-09-23 | 2021-11-16 | 深信服科技股份有限公司 | 一种流量控制方法、装置、系统及可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN108207012A (zh) | 2018-06-26 |
US11064390B2 (en) | 2021-07-13 |
US20190335362A1 (en) | 2019-10-31 |
CN108207012B (zh) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018113568A1 (zh) | 一种流量控制方法、装置、终端、系统及存储介质 | |
US10581798B2 (en) | Network based distribution for compute resource and application accessibility | |
JP5889445B2 (ja) | Dnsデータを使用してipフローに関連するアプリケーションを特定する方法および装置 | |
US20180049033A1 (en) | Centralized access point provisioning system and methods of operation thereof | |
KR20190013964A (ko) | IoT 디바이스 접속, 발견 및 네트워킹 | |
WO2016023357A1 (zh) | 访问网页的方法、装置及路由器 | |
EP3320671A1 (en) | Wide area service discovery for internet of things | |
RU2018108582A (ru) | Система и способ определения местоположения с применением ячеистой маршрутизации | |
US20130111024A1 (en) | Dynamic Walled Garden | |
US10070343B2 (en) | Mobile device traffic management | |
EP3047636B1 (en) | Enabling mobile applications to acquire a mac address for obtaining location information | |
TWI592046B (zh) | 網路共用裝置、系統及方法 | |
CN105635073B (zh) | 访问控制方法、装置和网络接入设备 | |
JP7535022B2 (ja) | 機器をリモートで管理するための装置、方法及びそのためのプログラム | |
RU2654854C1 (ru) | Способ сбора данных о пользователе устройства беспроводной связи и машиночитаемый носитель для реализации этого способа | |
EP2963880B1 (en) | Data sending and processing method and router | |
CN112398796B (zh) | 一种信息处理方法、装置、设备及计算机可读存储介质 | |
US10785165B2 (en) | Method for controlling service data flow and network device | |
US10505892B2 (en) | Method for transmitting at least one IP data packet, related system and computer program product | |
CN105743891A (zh) | 上网方法、装置、服务器及路由器 | |
EP3176986A1 (en) | Method, device and system for remote desktop protocol gateway to conduct routing and switching | |
WO2016127634A1 (zh) | 一种应用程序业务处理的方法、设备、系统及存储介质 | |
CN107979657B (zh) | 用于网络设备的dns地址处理方法及系统 | |
US9948597B1 (en) | Facilitating access of a mobile device to a web-based service using a network interface | |
CN118489265A (zh) | 用于处理至少一个数据分组的方法、以及关联的装置和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17885418 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17885418 Country of ref document: EP Kind code of ref document: A1 |