WO2014094236A1 - 控制流量的方法、终端网关、终端设备和系统 - Google Patents

控制流量的方法、终端网关、终端设备和系统 Download PDF

Info

Publication number
WO2014094236A1
WO2014094236A1 PCT/CN2012/086848 CN2012086848W WO2014094236A1 WO 2014094236 A1 WO2014094236 A1 WO 2014094236A1 CN 2012086848 W CN2012086848 W CN 2012086848W WO 2014094236 A1 WO2014094236 A1 WO 2014094236A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
terminal
model data
gateway
terminal device
Prior art date
Application number
PCT/CN2012/086848
Other languages
English (en)
French (fr)
Inventor
毛晓磊
张志龙
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280002471.5A priority Critical patent/CN104041109B/zh
Priority to PCT/CN2012/086848 priority patent/WO2014094236A1/zh
Publication of WO2014094236A1 publication Critical patent/WO2014094236A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/26Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
    • H04L47/263Rate modification at the source after receiving feedback
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a terminal gateway, a terminal device and a system for controlling traffic in the field of communications. Background technique
  • the mobile communication network gradually transitions from a low-speed second-generation mobile communication network (called “2G network”) to high-speed third- and fourth-generation mobile communication networks (called “3G network” and “4G network,” ), wherein the data transmission rate of the 2G network is usually only tens of Kbits per second, and the data transmission rate of the 3G network or the 4G network can reach several tens of megabits per second.
  • 2G network low-speed second-generation mobile communication network
  • 3G network third- and fourth-generation mobile communication networks
  • 4G network third- and fourth-generation mobile communication networks
  • a large number of terminals are attached to the mobile communication network, and within the range covered by the same base station, each terminal shares the bandwidth provided by the base station.
  • voice communication when the network is congested, the user usually manually re-initiates the call attempt after a period of time; for data communication, when the communication is not successful, the terminal automatically attempts to initiate multiple retry attempts.
  • the operation of the network is changing at all times, and the terminal does not understand the actual status of the network and the data transmission capability. Therefore, the following problems may occur: If the radio bearer connection of the terminal fails, the terminal and the network side will re-transmit the signaling negotiation, causing a dozen or so If the server on the network fails, a large number of terminals will retry the request connection at the same time, resulting in congestion of the signaling channel, and a "congestion-retry-more congestion" cycle on the network, resulting in a "snowball” effect. In severe cases, even a network storm may occur.
  • the network adopts the best-effort transmission mode
  • the user's bandwidth may be significantly degraded due to the good wireless signal.
  • the bandwidth may be preempted by specific users, and the access speed of other users is slow. There may even be cases where certain high-priority services cannot be accessed.
  • the network share bandwidth is 100 megabytes, and the bandwidth may reach 100 megabytes when used by a single user. When 100 users use it, in theory, each user can only allocate 1 megabyte of bandwidth.
  • the embodiments of the present invention provide a method for controlling traffic, a terminal gateway, a terminal device, and a system, which can effectively control traffic in the terminal device, thereby improving user experience.
  • the first aspect provides a method for controlling traffic in a terminal device, where the method includes: receiving traffic model data sent by a network gateway of the network device, where the traffic model data is used to indicate network state or network transmission of a network where the terminal device is located Capability; controlling data transmission of the terminal device according to the traffic model data.
  • the controlling data transmission of the terminal device according to the traffic model data includes: determining, according to the traffic model data, a network state or a network of the network Transmission capability; controlling data transmission of the terminal device according to the network state or the network transmission capability.
  • the method further includes: determining, according to the traffic model data, the network of the network Status; indicating the network status to the user on the display screen of the terminal device, so that the user adjusts the application on the terminal device according to the network status.
  • the traffic model data sent by the network gateway of the receiving network device includes: Receiving the traffic model data that the network gateway sends by broadcast in an emergency.
  • the method further includes: acquiring The terminal status information of the terminal device; the traffic model data including the terminal status information is sent to the network gateway, so that the network device controls the traffic of the network according to the traffic model data.
  • the traffic model data includes the following At least one of the information: the total traffic of the air interface bandwidth in the current and most recent predetermined time, the traffic actually occupied by the air interface in the current and most recent predetermined time, the number of users accessing the air interface in the current and recent predetermined time, the network The maximum bandwidth that the user can allocate to the user, the maximum bandwidth capability that the user terminal can reach, whether the network side is congested, the number of packets that the user attempts to send in the most recent predetermined time, the number of packets actually transmitted by the user in the most recent predetermined time, and the most recent reservation.
  • Controlling data transmission of the terminal device including: according to the traffic model data, when determining that the network is congested, suspending sending of the packet or reducing the frequency of sending the packet; or determining, according to the traffic model data, that the network is unblocked , resume the sending of the message.
  • the method further includes: The analysis of each application layer protocol packet on the terminal device determines whether the terminal device is attacked. When determining that the terminal device is attacked, the data transmission channel of the related application is cut off.
  • the second aspect provides a terminal gateway for controlling traffic in a terminal device, where the terminal gateway includes: a receiving module, configured to receive traffic model data sent by a network gateway of the network device, where the traffic model data is used to indicate that the terminal device is located a network state or a network transmission capability of the network; a control module, configured to control data transmission of the terminal device according to the traffic model data received by the receiving module.
  • a receiving module configured to receive traffic model data sent by a network gateway of the network device, where the traffic model data is used to indicate that the terminal device is located a network state or a network transmission capability of the network
  • a control module configured to control data transmission of the terminal device according to the traffic model data received by the receiving module.
  • the control module includes: a determining unit, configured to determine, according to the traffic model data, a network state or a network transmission capability of the network; And controlling the data transmission of the terminal device according to the network state determined by the determining unit or the network transmission capability.
  • the terminal gateway further includes: a first determining module, configured to determine, according to the traffic model data received by the receiving module, a network state of the network;
  • the indication module is configured to indicate, to the user on the display screen of the terminal device, the network status determined by the first determining module, so that the user adjusts an application on the terminal device according to the network status.
  • the receiving module is further configured to: receive the network gateway in an emergency situation The traffic model data sent by broadcast.
  • the terminal gateway further includes: An obtaining module, configured to obtain terminal status information of the terminal device, and a sending module, configured to send, to the network gateway, traffic model data, where the traffic model data includes the terminal status information acquired by the acquiring module, so that the network device is configured according to the Traffic model data controls traffic on the network System.
  • the receiving module receives the The traffic model data includes at least one of the following information: the total traffic of the air interface bandwidth in the current and most recent predetermined time, the traffic actually occupied by the air interface in the current and most recent predetermined time, the air interface access in the current and most recent scheduled time.
  • the number of users the maximum bandwidth that the network side can allocate to the user, the maximum bandwidth capability that the user terminal can reach, whether the network side is congested, the number of packets that the user attempts to send in the most recent predetermined time, and the actual transmission of the message by the user within the most recent predetermined time.
  • the control module includes: a second control unit, configured to: according to the traffic model data received by the receiving module, suspend sending a message or reduce a message sending frequency when determining that the network is congested; or a third control unit, configured to receive according to the receiving module The traffic model data recovers the transmission of the message when it is determined that the network is unblocked.
  • the terminal gateway further includes: a second determining module, configured to determine, by using the analysis of the application layer protocol packets on the terminal device, whether the terminal device is attacked, and the cutting module, configured to: when the second determining module determines that the terminal device is attacked, Cut off the data transmission channel of the relevant application.
  • a terminal device for controlling traffic comprising any one of the first to seventh possible implementations of the second or second aspect of the present invention Terminal gateway.
  • a system for controlling traffic comprising: a terminal device comprising any one of the first to seventh possible implementations according to the second or second aspect of the present invention And a network device, where the network device includes a network gateway, where the network gateway is configured to send traffic model data to the terminal gateway, where the traffic model data is used to indicate a network of the network where the terminal device is located Status or network transmission capability.
  • the network gateway is further configured to: send the traffic model data to the terminal gateway by using a broadcast manner in an emergency situation.
  • the network gateway is further configured to: receive, by the terminal gateway, the traffic that includes the terminal status information Model data, so that the network device controls the traffic of the network according to the traffic model data.
  • the method for controlling traffic, the terminal gateway, the terminal device, and the system in the embodiment of the present invention can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device. Therefore, the traffic in the terminal device can be effectively controlled, and network congestion or network storm can be avoided, thereby improving the user experience, reducing the power consumption of the terminal device, and achieving energy saving and emission reduction.
  • FIG. 1 is a schematic flowchart of a method of controlling traffic according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a method of controlling data transfer of a terminal device according to an embodiment of the present invention.
  • FIG. 3 is another schematic flowchart of a method of controlling data transmission of a terminal device according to an embodiment of the present invention.
  • FIG. 4 is another schematic flowchart of a method of controlling traffic according to an embodiment of the present invention.
  • FIG. 5 is still another schematic flowchart of a method of controlling traffic according to an embodiment of the present invention.
  • FIG. 6 is still another schematic flowchart of a method of controlling traffic according to an embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of a terminal gateway according to an embodiment of the present invention.
  • FIG. 8 is a schematic block diagram of a control module in accordance with an embodiment of the present invention.
  • FIG. 9 is another schematic block diagram of a terminal gateway according to an embodiment of the present invention.
  • FIG. 10 is still another schematic block diagram of a terminal gateway according to an embodiment of the present invention.
  • FIG. 11 is another schematic block diagram of a control module in accordance with an embodiment of the present invention.
  • FIG. 12 is still another schematic block diagram of a terminal gateway according to an embodiment of the present invention.
  • FIG. 13 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 14 is a schematic block diagram of a system in accordance with an embodiment of the present invention.
  • FIG. 15 is a schematic block diagram of a terminal gateway according to another embodiment of the present invention. detailed description
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • a terminal device may be referred to as a terminal, a user equipment (UE), a mobile station (MS), or a mobile terminal (Mobile Terminal).
  • the terminal device can communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal device can be a mobile phone (or "cellular", a telephone) or have a mobile terminal.
  • the terminal device can also be a portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile device that exchanges voice and/or data with the wireless access network.
  • the method 100 includes: S110: Receive traffic model data sent by a network gateway of a network device, where the traffic model data is used to indicate a network state or a network transmission capability of a network where the terminal device is located;
  • a terminal gateway may be added in the terminal device, and the terminal gateway TG may be used to receive a network gateway of the network device (Network Gateway) , NG ) sent traffic model Data, the traffic model data can be used to indicate the network status or network transmission capability of the network where the terminal device is located, so that the terminal gateway TG can control data transmission of the terminal device according to the traffic model data.
  • Network Gateway Network Gateway
  • NG Network Gateway
  • the method for controlling traffic in the embodiment of the present invention can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device. Avoid network congestion or network storms, which can improve the user experience, reduce the power consumption of terminal devices, and achieve energy saving and emission reduction.
  • the control of the data transmission by the terminal device can also avoid packet loss and repeated retry, thereby more effectively utilizing the network, improving network performance, and further enhancing the user experience.
  • the terminal gateway TG receives the traffic model data sent by the network gateway NG of the network device.
  • the terminal gateway TG and the network gateway NG can establish a bidirectional data channel between the terminal gateway TG and the network gateway NG by means of negotiation, etc., so that the network gateway NG can transmit network status information to the terminal gateway TG.
  • the terminal gateway TG can also transmit terminal status information to the network gateway NG, thereby enabling both the terminal device and the network device to control system traffic.
  • the network gateway NG can also transmit the traffic model data to the terminal gateway TG by means of broadcast, especially in an emergency, for quickly transmitting information to the terminal gateway TG. It should be understood that when information is transmitted by broadcast, information can only be transmitted from the network device to the terminal device.
  • the traffic model data sent by the network gateway of the receiving network device includes: receiving the traffic model data that is sent by the network gateway in a broadcast manner in an emergency.
  • the emergency scenario includes, for example, the following application scenarios: (1) a failure of a specific operator network server device, resulting in repeated attempts by a large number of users to invalidate the network, causing the network to be overwhelmed; (2) sudden natural disasters (For example, earthquakes, floods, fires), abnormal traffic rises, causing the network to be overwhelmed; (3) specific applications, or rapid propagation of viruses, resulting in a large number of terminals in the data channel network abnormal occupation, or abnormal access behavior, resulting in the network Overwhelmed.
  • the emergency situation may also include an application scenario in which the network is seriously congested due to other reasons, and the present invention is not limited thereto.
  • the traffic model data is used to indicate a network state or a network transmission capability of a network where the terminal device is located.
  • the traffic model data includes at least one of the following information: total traffic of the air interface bandwidth in the current and most recent predetermined time, current and currently occupied traffic of the air interface in the current and predetermined time, current and most recent scheduled time.
  • total traffic of the air interface bandwidth in the current and most recent predetermined time current and currently occupied traffic of the air interface in the current and predetermined time
  • current and most recent scheduled time The number of users accessing the internal air interface, the maximum bandwidth that the network side can allocate to the user, the maximum bandwidth capability that the user terminal can reach, whether the network side is congested, the number of packets that the user attempts to send in the most recent scheduled time, and the most recent scheduled time.
  • the traffic model data may include network status information, and the network status information may include at least one of the following information: the total traffic of the air interface bandwidth in the current and most recent predetermined time, the current and the most recent scheduled time, the air interface is actually The occupied traffic, the number of users accessing the air interface in the current and recent scheduled time, the maximum bandwidth that the network side can allocate to the user, and whether the network side is congested;
  • the traffic model data may also include terminal status information, and the terminal status information may be The information includes at least one of the following information: a maximum bandwidth capability that the user terminal can reach, a number of times the user attempts to send a message within a predetermined predetermined time, a number of messages actually transmitted by the user in the most recent predetermined time, and a fault generated in the most recent predetermined time. The number of packets and the number of times the message was retried within the most recent scheduled time.
  • the traffic model data may further include other information for indicating network status or network transmission capability of the network, for example, the traffic model data may further include other information for performing flow control, and the present invention Not limited to this.
  • the terminal gateway TG controls the data transmission of the terminal device according to the traffic model data.
  • the terminal gateway TG can directly control data transmission of the terminal device according to the traffic model data; the terminal gateway TG can also first determine the network state or network transmission capability of the network according to the traffic model data, and then The data transmission of the terminal device can be controlled according to the determined network state or the network transmission capability.
  • the terminal gateway receives the traffic model data sent by the network gateway, where the traffic model data includes information about whether congestion occurs on the network side.
  • the traffic model data indicates that the network is congested, and the terminal gateway may pause to send the report according to the traffic model data. Or reduce the frequency of message transmission to avoid continuous retry and lead to further network congestion or network storms.
  • controlling data transmission of the terminal device Send including:
  • the terminal gateway receives the traffic model data sent by the network gateway, where the traffic model data includes, for example, the total traffic of the air interface bandwidth in the current and the latest predetermined time is 100M, and the traffic actually occupied by the air interface in the current and the latest predetermined time is 98M.
  • the terminal gateway can determine that the network state of the network where the terminal device is located is in a congested state (assuming that the actual available traffic is less than 10 M is a congestion state), or the terminal gateway can determine that the network transmission capability of the network is 2 M available traffic. Therefore, the terminal gateway can control data transmission of the terminal device according to the network status or the network transmission capability.
  • the terminal gateway can dynamically adjust the data transmission behavior of the terminal device according to the traffic model data, or according to the network state or the network transmission capability, and the traffic control policy.
  • the data transmission of the terminal device is controlled according to the traffic model data, including:
  • the network gateway NG may notify the terminal gateway TG of the congestion status, and the terminal gateway may thereby suspend the transmission of the message and adjust the network status indication. This can avoid blindly sending message retry on the wireless interface, thus extending the battery life of the terminal.
  • the network gateway NG can send a cancel congestion status notification, and the terminal gateway TG can perform recovery processing, for example, dynamically adjusting the data transmission behavior of the terminal according to the level of the corresponding bandwidth and the coverage of the wireless network.
  • the method for controlling traffic in the embodiment of the present invention can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device. Avoid network congestion or network storms, which can improve the user experience, reduce the power consumption of terminal devices, and achieve energy saving and emission reduction.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not The implementation process of the embodiments of the present invention constitutes any limitation.
  • the terminal gateway can actively control data transmission according to the traffic model data, for example, reducing retry behavior of various applications, avoiding network congestion, or controlling applications when congestion occurs. Quickly exit from the congestion state, etc.
  • the current network status can also be indicated to the user, thereby enabling the user to consciously change the network usage behavior or adjust the application, thereby further improving the network performance.
  • the method 100 further includes:
  • S140 Indicate the network status to the user on the display screen of the terminal device, so that the user adjusts the application on the terminal device according to the network status.
  • the terminal gateway can know the traffic capability of the network and the currently available bandwidth of the terminal, so that the data transmission behavior of the terminal can be dynamically adjusted according to the corresponding bandwidth level; on the other hand, when the terminal gateway TG receives After the network traffic model data is obtained, the network status can be visually displayed on the screen of the terminal, so that the user can understand the current network status, and the user can adjust the usage behavior according to the network status.
  • the specific area of the screen is indicated in red, and the terminal gateway can dynamically adjust the rate in conjunction with the policy.
  • the user can also choose to temporarily stop using the downloading behavior of the consumed traffic.
  • the specific area of the screen may indicate that the current available bandwidth is reduced, and the terminal gateway dynamically adjusts the sending parameters in combination with the policy to avoid packet loss and error correction behavior beyond the network load.
  • Users can also choose to stop using high-traffic applications, such as video applications, to avoid long-term caching, but still use applications that consume less traffic, such as text-based applications.
  • the screen can indicate that the current bandwidth is sufficient, the network is idle, and the terminal gateway can adjust the parameters in combination with the policy to make full use of the bandwidth.
  • the method for controlling traffic in the embodiment of the present invention can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device. Avoid network congestion or network storms, which can improve the user experience, reduce the power consumption of terminal devices, and achieve energy saving and emission reduction.
  • the method 100 further includes:
  • S160 Send, to the network gateway, traffic model data including the terminal state information, so as to facilitate The network device controls traffic of the network according to the traffic model data.
  • the terminal status information may include at least one of the following information: a maximum bandwidth capability that the user terminal can reach, a number of times the user attempts to send a message within a predetermined predetermined time, and the number of packets actually transmitted by the user within a predetermined predetermined time, The number of error packets generated during the most recent scheduled time and the number of times the message was retried within the most recent scheduled time.
  • the terminal gateway can also identify the congestion caused by the network attack behavior and cut off the attack, thereby improving network security. Description will be made below with reference to Fig. 6.
  • the method 100 further includes:
  • S170 Determine, by analyzing the application layer protocol packet on the terminal device, whether the terminal device is attacked;
  • the terminal gateway can analyze the protocol packets of each layer (including the application layer), for example, using an Application Level Gateway (ALG) technology to determine whether there is an attack behavior.
  • ALG Application Level Gateway
  • a multi-channel application needs to first negotiate the address and port of the subsequent data channel in the control channel, and then create multiple data channel connections according to the negotiation result. Therefore, if the negotiation behavior is detected, the data channel port number, a segment is simultaneously determined. During the time, the number of attempted packets sent on a specific port can determine a part of the attack behavior and determine the source of the malicious attack behavior.
  • the terminal gateway cuts off the data transmission channel of the application related to the attack, thereby preventing the specific application from preempting all the traffic resources, causing other applications to be abnormal, and avoiding the network of the specific malicious application. Attack behavior, which can improve network security.
  • ALG is a technology for processing an application layer, which is applied in combination with technologies such as Network Address Translation (NAT) and Application Specific Packet Filter (ASPF). Implement processing and detection of the application layer.
  • NAT Network Address Translation
  • APF Application Specific Packet Filter
  • NAT In the application layer protocol, many protocols contain multi-channel information, such as multimedia protocols (H.323, etc.), File Transfer Protocol (FTP), and the like. This multi-channel application needs to first negotiate the address and port of the subsequent data channel in the control channel, and then create multiple data channel connections according to the negotiation result.
  • HTTP File Transfer Protocol
  • NAT In the actual application process of NAT, NAT only identifies and translates the IP address of the packet header of the network layer packet, and negotiates with the application layer protocol. The address information carried by the Chinese load cannot be identified and converted. Therefore, in the networking scheme with NAT processing, NAT can use the ALG technology to perform packet analysis and address translation of the application layer on the multi-channel protocol to ensure the application layer. The correctness of the communication.
  • Application Layer Gateway (ALG) technology can track and detect the status of the application layer.
  • Various applications usually have a relatively stable packet exchange process. If the interaction process is not met, it is likely to be an abnormal packet attack.
  • the ALG analyzes and records the status information of the application layer packets, records the context information of the session, and predicts the upcoming packets. The packets that do not meet the requirements are discarded, and the application layer status is tracked and detected.
  • the method for controlling traffic in the embodiment of the present invention can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device. Avoid network congestion or network storms, which can improve the user experience and improve network security.
  • the method for controlling traffic in a terminal device according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 6.
  • the terminal gateway and terminal for controlling traffic according to an embodiment of the present invention will be described in detail below with reference to FIG. 7 to FIG. Equipment and systems.
  • FIG. 7 shows a schematic block diagram of a terminal gateway 300 in accordance with an embodiment of the present invention.
  • the terminal gateway 300 for controlling traffic in the terminal device includes:
  • the receiving module 310 is configured to receive the traffic model data sent by the network gateway of the network device, where the traffic model data is used to indicate the network state or network transmission capability of the network where the terminal device is located, and the control module 320 is configured to receive according to the receiving module 310.
  • the traffic model data controls the data transfer of the terminal device.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the receiving module 310 is further configured to: receive the traffic model data that is sent by the network gateway by using a broadcast manner in an emergency.
  • the traffic model data packet received by the receiving module 310 At least one of the following information is included: the total traffic of the air interface bandwidth in the current and most recent predetermined time, the traffic actually occupied by the air interface in the current and most recent predetermined time, the number of users accessing the air interface in the current and most recent predetermined time The maximum bandwidth that can be allocated to the user on the network side, the maximum bandwidth capability that the user terminal can reach, whether congestion occurs on the network side, the number of packets that the user attempts to send in the most recent predetermined time, and the number of packets actually transmitted by the user in the most recent predetermined time. The number of error packets generated during the most recent scheduled time and the number of times the message was retried within the most recent scheduled time.
  • control module 320 includes: a determining unit 321 , configured to determine a network state or a network transmission capability of the network according to the traffic model data;
  • the first control unit 322 is configured to control data transmission of the terminal device according to the network status determined by the determining unit 321 or the network transmission capability.
  • the terminal gateway 300 further includes: a first determining module 330, configured to determine a network state of the network according to the traffic model data received by the receiving module;
  • the indication module 340 is configured to indicate to the user on the display screen of the terminal device the network status determined by the first determining module 330, so that the user adjusts the application on the terminal device according to the network status.
  • the terminal gateway 300 further includes: an obtaining module 350, configured to acquire terminal state information of the terminal device;
  • the sending module 360 is configured to send the traffic model data to the network gateway, where the traffic model data includes the terminal status information acquired by the acquiring module 350, so that the network device controls the traffic of the network according to the traffic model data.
  • control module 320 includes: a second control unit 323, configured to determine, according to the traffic model data received by the receiving module, when congestion occurs in the network, Pause sending messages or reduce the frequency of message sending; or
  • the third control unit 324 is configured to resume transmission of the message when determining that the network is unblocked according to the traffic model data received by the receiving module 323.
  • the terminal gateway 300 further includes: a second determining module 370, configured to determine, by analyzing the application layer protocol packets on the terminal device, Whether the terminal device is attacked;
  • the cutting module 380 is configured to: when the second determining module 370 determines that the terminal device is attacked, Cut off the data transmission channel of the relevant application.
  • the terminal gateway 300 for controlling traffic may correspond to a terminal gateway that performs a method of controlling traffic according to an embodiment of the present invention, and the above and other operations and/or functions of respective modules in the terminal gateway 300.
  • the terminal gateway 300 for controlling traffic may correspond to a terminal gateway that performs a method of controlling traffic according to an embodiment of the present invention, and the above and other operations and/or functions of respective modules in the terminal gateway 300.
  • no further details are provided herein.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • FIG. 13 shows a schematic block diagram of a terminal device 400 according to an embodiment of the present invention.
  • the terminal device 400 includes a terminal gateway 410 according to an embodiment of the present invention.
  • the terminal gateway 300 according to an embodiment of the present invention, and may correspond to a terminal gateway that performs a method of controlling traffic according to an embodiment of the present invention, and the above-described and other operations and/or functions of respective modules in the terminal gateway 410 are respectively implemented
  • the corresponding processes of the respective methods in FIG. 1 to FIG. 6 are not described here.
  • the terminal device for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the terminal device for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • FIG 14 shows a schematic block diagram of a system 500 in accordance with an embodiment of the present invention.
  • the system 500 includes:
  • Terminal device 510 which includes a terminal gateway 511 in accordance with an embodiment of the present invention.
  • the network device 520 the network device includes a network gateway 521, wherein the network gateway 521 is configured to send traffic model data to the terminal gateway 511, where the traffic model data is used to indicate the network state or network transmission capability of the network where the terminal device 510 is located. .
  • the network gateway 521 is further configured to: send the traffic model data to the terminal gateway 511 by using a broadcast manner in an emergency.
  • the network gateway 521 is further configured to: receive the terminal gateway
  • the traffic model data controls the traffic of the network.
  • the terminal device 510 included in the system 500 according to the embodiment of the present invention may correspond to the terminal device 400 according to the embodiment of the present invention
  • the terminal gateway 511 included in the terminal device 510 according to the embodiment of the present invention may correspond to the The terminal gateway 300 of the embodiment of the invention, and may correspond to a terminal gateway that performs the method of controlling traffic according to an embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the terminal gateway 410 are respectively implemented to implement FIG.
  • the corresponding processes of the respective methods in FIG. 6 are not described here.
  • the system for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device. Avoid network congestion or network storms, which can improve the user experience, reduce the power consumption of terminal devices, and achieve energy saving and emission reduction.
  • an embodiment of the present invention further provides a terminal gateway 600.
  • the network device 600 includes a processor 610, a memory 620, a bus system 630, and a receiver 640.
  • the processor 610, the memory 620 and the receiver 640 are connected by a bus system 630 for storing instructions for executing instructions stored by the memory 620.
  • the receiver 640 is configured to: receive traffic model data sent by a network gateway of the network device, where the traffic model data is used to indicate a network state or a network transmission capability of the network where the terminal device is located; the processor 610 is configured to: Traffic model data, which controls the data transfer of the terminal device.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the processor 610 may be a central processing unit (CPU), and the processor 610 may also be other general-purpose processors, digital signal processors (DSPs), and application specific integrated circuits. (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and more.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 620 can include read only memory and random access memory and provides instructions and data to the processor 610. A portion of memory 620 may also include non-volatile random access memory. For example, the memory 620 can also store information of the device type.
  • the bus system 630 may include a power bus and a control bus in addition to the data bus. And status signal bus, etc. However, for clarity of description, various buses are labeled as bus system 630 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 610 or an instruction in the form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software modules can be located in random memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, etc., which are well established in the art.
  • the storage medium is located in the memory 620.
  • the processor 610 reads the information in the memory 620 and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the processor 610 is specifically configured to: determine, according to the traffic model data, a network state or a network transmission capability of the network; and control data of the terminal device according to the network state or the network transmission capability. Transfer.
  • the processor 610 is specifically configured to: determine, according to the traffic model data, a network status of the network; indicate, to the user, the network status on a display screen of the terminal device, so that the user is configured according to the user The network status adjusts the application on the terminal device.
  • the receiver 640 is specifically configured to: receive the traffic model data that is sent by the network gateway by using a broadcast manner in an emergency.
  • the processor 610 is further configured to: obtain terminal status information of the terminal device; the terminal gateway 600 further includes a transmitter 650, configured to send, to the network gateway, traffic including the terminal status information. Model data, so that the network device controls the traffic of the network according to the traffic model data.
  • the traffic model data received by the receiver 640 includes at least one of the following information: total traffic of the air interface bandwidth in the current and most recent predetermined time, current and recently scheduled time air interface The actual occupied traffic, the number of users accessing the air interface in the current and recent scheduled time, the maximum bandwidth that the network side can allocate to the user, the maximum bandwidth capability that the user terminal can reach, whether the network side is congested, and the user within the most recent scheduled time. The number of attempts to send a message, the number of messages actually transmitted by the user during the most recent predetermined time, the number of error packets generated during the most recent scheduled time, and the number of times the message was retried within the most recent predetermined time.
  • the processor 610 is further configured to: according to the traffic model data, when determining that the network is congested, suspending sending of the packet or reducing the sending frequency of the packet; or according to the traffic model data, When it is determined that the network is unblocked, the transmission of the message is resumed.
  • the processor 610 is further configured to: determine, by using an analysis of each application layer protocol on the terminal device, whether the terminal device is attacked; when determining that the terminal device is attacked , cut off the data transmission channel of the relevant application.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the terminal gateway for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device.
  • the embodiment of the present invention further provides a terminal device for controlling traffic, and the terminal device includes a terminal gateway 600 according to an embodiment of the present invention.
  • the terminal device further includes a display for displaying a network state.
  • the embodiment of the present invention further provides a system for controlling traffic, the system includes: a terminal device, the terminal device includes a terminal gateway 600 according to an embodiment of the present invention; and a network device, where the network device includes a network gateway, where the network The gateway is configured to send traffic model data to the terminal gateway, where the traffic model data is used to indicate a network state or a network transmission capability of a network where the terminal device is located.
  • the network gateway is further configured to: send the traffic model data to the terminal gateway by using a broadcast manner in an emergency situation.
  • the network gateway is further configured to: receive traffic model data that is sent by the terminal gateway, including terminal state information, to enable the network device to control traffic of the network according to the traffic model data.
  • the system for controlling traffic can control the data transmission of the terminal device according to the traffic model data by receiving the traffic model data sent by the network gateway of the network device, thereby effectively controlling the traffic in the terminal device. Avoid network congestion or network storms, which can improve the user experience, reduce the power consumption of terminal devices, and achieve energy saving and emission reduction.
  • system and “network” are often used interchangeably herein.
  • the term “and/or” in this context is merely an association that describes the associated object, indicating that there can be three relationships, for example, A and / or B, which can mean: A exists separately, and both A and B exist, exist alone B these three situations.
  • the character " in this article” generally means that the contextual object is an "or" relationship.
  • B corresponding to A means that B is associated with A, and can be determined according to A, but it should also be understood that determining B according to A does not mean that B is determined only according to A, but also A and / or other information to determine ⁇
  • determining B according to A does not mean that B is determined only according to A, but also A and / or other information to determine ⁇
  • Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer. Take this as an example but Not limited to: Computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage device, or can be used to carry or store desired program code in the form of an instruction or data structure.
  • Any connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwaves are included in the fixing of the associated media.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disc, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Abstract

本发明公开了一种控制流量的方法、终端网关、终端设备和系统。该方法包括:接收网路设备的网络网关发送的流量模型数据,该流量模型数据用于指示该终端设备所在的网路的网络状态或网络传输能力(S110);根据该流量模型数据,控制该终端设备的数据传送(S120)。本发明实施例的控制流量的方法、终端网关、终端设备和系统,通过接收网络设备的网络网关发送的流量模型数据,能够根据该流量模型数据对终端设备的数据传送进行控制,从而能够有效控制终端设备中的流量,避免网络拥塞或网络风暴,由此能够提高用户体验,还可以减少终端设备的电量消耗,实现节能减排。

Description

控制流量的方法、 终端网关、 终端设备和系统 技术领域
本发明涉及通信领域,尤其涉及通信领域中控制流量的方法、终端网关、 终端设备和系统。 背景技术
随着移动通信网络的用户数量和数据通信速度的增加,移动通信网络的 规模不断扩大。移动通信网络逐步从低速的第二代移动通信网络(筒称为 "2G 网络" )过渡到高速的第三代和第四代移动通信网络(筒称为 "3G网络" 和 "4G网络,,), 其中, 2G网络的数据传送速率通常只有几十 K比特每秒, 而 3G网络或 4G网络的数据传送速率能够达到几十兆比特每秒。
移动通信网络上挂接了大量的终端, 在同一基站所覆盖的范围内, 各个 终端共享基站提供的带宽。 对于语音通信而言, 在网络拥塞时, 一般由用户 在一段时间后手动重新发起呼叫尝试; 对于数据通信而言, 终端在通信不成 功时, 会自动尝试发起多次重试。
网络的运行情况时刻在变化, 而终端不了解网络的实际状况和数据传送 能力, 由此可能产生如下问题: 如果终端的无线承载连接失效, 终端和网络 侧将重新通过信令协商, 引发十几条空口信令; 如果网络上的服务器失败, 则大量终端会同时不断重试请求连接, 从而导致信令通道拥塞, 网络上出现 "拥塞 -重试 -更拥塞" 的循环, 导致 "滚雪球" 效应, 严重时甚至会出现 网络风暴。
另一方面, 由于网络采取尽力传送模式, 用户多时尽管无线信号良好, 单用户带宽仍可能出现显著下降, 某些特殊情况下, 还可能出现带宽被特定 用户抢占, 使其它用户接入速度緩慢, 甚至会出现特定高优先级业务无法接 入等情况。例如,网络共用带宽为 100兆, 当单用户使用时带宽可能达到 100 兆, 而当 100个用户使用时, 理论上每个用户只能分到 1兆的带宽。
因此, 终端不能够对流量进行有效控制, 可能由此导致网络拥塞或网络 风暴, 用户体验较差。 发明内容 有鉴于此, 本发明实施例提供了一种控制流量的方法、 终端网关、 终端 设备和系统, 能够有效控制终端设备中的流量, 从而能够提高用户体验。
第一方面, 提供了一种终端设备中控制流量的方法, 该方法包括: 接收 网络设备的网络网关发送的流量模型数据, 该流量模型数据用于指示该终端 设备所在网络的网络状态或网络传输能力; 根据该流量模型数据, 控制该终 端设备的数据传送。
结合第一方面, 在第一方面的第一种可能的实现方式中, 该根据该流量 模型数据, 控制该终端设备的数据传送, 包括: 根据该流量模型数据, 确定 该网络的网络状态或网络传输能力; 根据该网络状态或该网络传输能力, 控 制该终端设备的数据传送。
结合第一方面, 在第一方面的第二种可能的实现方式中, 在该接收网络 设备的网络网关发送的流量模型数据之后, 该方法还包括: 根据该流量模型 数据, 确定该网络的网络状态; 在该终端设备的显示屏上向用户指示该网络 状态, 以便于该用户^^据该网络状态调整该终端设备上的应用。
结合第一方面、 第一方面的第一种或第二种可能的实现方式, 在第一方 面的第三种可能的实现方式中, 该接收网络设备的网络网关发送的流量模型 数据, 包括: 接收该网络网关在紧急情况下通过广播方式发送的该流量模型 数据。
结合第一方面或第一方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式,在第一方面的第四种可能的实现方式中,该方法还包括: 获取该终端设备的终端状态信息; 向该网络网关发送包括该终端状态信息的 流量模型数据, 以便于该网络设备根据该流量模型数据对该网络的流量进行 控制。
结合第一方面或第一方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第五种可能的实现方式中, 该流量模型数 据包括下列信息中的至少一种信息: 当前以及最近预定时间内空中接口带宽 的总流量、 当前以及最近预定时间内空中接口实际被占用的流量、 当前以及 最近预定时间内空中接口接入的用户数量、 网络侧能够给用户分配的最大带 宽、 用户终端能够达到的最大带宽能力、 网络侧是否发生拥塞、 最近预定时 间内用户尝试发送报文的数量、 最近预定时间内用户实际传送报文的数量、 最近预定时间内产生的错包数量和最近预定时间内发生报文重试的次数。 结合第一方面或第一方面的第一种至第五种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第六种可能的实现方式中, 该根据该流量 模型数据, 控制该终端设备的数据传送, 包括: 根据该流量模型数据, 在确 定该网络发生拥塞时, 暂停发送报文或降低报文发送频率; 或根据该流量模 型数据, 在确定该网络恢复畅通时, 恢复报文的发送。
结合第一方面或第一方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式,在第一方面的第七种可能的实现方式中,该方法还包括: 通过对该终端设备上的各应用层协议报文的分析,确定该终端设备是否受到 攻击; 在确定该终端设备受到攻击时, 切断相关应用的数据传输通道。
第二方面, 提供了一种终端设备中控制流量的终端网关, 该终端网关包 括: 接收模块, 用于接收网络设备的网络网关发送的流量模型数据, 该流量 模型数据用于指示该终端设备所在网络的网络状态或网络传输能力; 控制模 块, 用于根据该接收模块接收的该流量模型数据, 控制该终端设备的数据传 送。
结合第二方面, 在第二方面的第一种可能的实现方式中, 该控制模块包 括: 确定单元, 用于根据该流量模型数据, 确定该网络的网络状态或网络传 输能力; 第一控制单元, 用于根据该确定单元确定的该网络状态或该网络传 输能力, 控制该终端设备的数据传送。
结合第二方面, 在第二方面的第二种可能的实现方式中, 该终端网关还 包括: 第一确定模块, 用于根据该接收模块接收的该流量模型数据, 确定该 网络的网络状态; 指示模块, 用于在该终端设备的显示屏上向用户指示该第 一确定模块确定的该网络状态, 以便于该用户根据该网络状态调整该终端设 备上的应用。
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方 面的第三种可能的实现方式中, 该接收模块还用于: 接收该网络网关在紧急 情况下通过广播方式发送的该流量模型数据。
结合第二方面或第二方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第四种可能的实现方式中, 该终端网关还 包括: 获取模块, 用于获取该终端设备的终端状态信息; 发送模块, 用于向 该网络网关发送流量模型数据, 该流量模型数据包括该获取模块获取的该终 端状态信息, 以便于该网络设备根据该流量模型数据对该网络的流量进行控 制。
结合第二方面或第二方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第五种可能的实现方式中, 该接收模块接 收的该流量模型数据包括下列信息中的至少一种信息: 当前以及最近预定时 间内空中接口带宽的总流量、 当前以及最近预定时间内空中接口实际被占用 的流量、 当前以及最近预定时间内空中接口接入的用户数量、 网络侧能够给 用户分配的最大带宽、 用户终端能够达到的最大带宽能力、 网络侧是否发生 拥塞、 最近预定时间内用户尝试发送报文的数量、 最近预定时间内用户实际 传送报文的数量、最近预定时间内产生的错包数量和最近预定时间内发生报 文重试的次数。
结合第二方面或第二方面的第一种至第五种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第六种可能的实现方式中, 该控制模块包 括: 第二控制单元, 用于根据该接收模块接收的该流量模型数据, 在确定该 网络发生拥塞时, 暂停发送报文或降低报文发送频率; 或第三控制单元, 用 于根据该接收模块接收的该流量模型数据, 在确定该网络恢复畅通时, 恢复 报文的发送。
结合第二方面或第二方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第七种可能的实现方式中, 该终端网关还 包括:第二确定模块,用于通过对该终端设备上的各应用层协议报文的分析, 确定该终端设备是否受到攻击; 切断模块, 用于在该第二确定模块确定该终 端设备受到攻击时, 切断相关应用的数据传输通道。
第三方面, 提供了一种控制流量的终端设备, 该终端设备包括根据本发 明第二方面或第二方面的第一种至第七种可能的实现方式中的任一种可能 的实现方式的终端网关。
第四方面, 提供了一种控制流量的系统, 该系统包括: 终端设备, 该终 端设备包括根据本发明第二方面或第二方面的第一种至第七种可能的实现 方式中的任一种可能的实现方式的终端网关; 和网络设备, 该网络设备包括 网络网关, 其中, 该网络网关用于向该终端网关发送流量模型数据, 该流量 模型数据用于指示该终端设备所在网络的网络状态或网络传输能力。
结合第四方面, 在第四方面的第一种可能的实现方式中, 该网络网关还 用于: 在紧急情况下通过广播方式向该终端网关发送该流量模型数据。 结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二 种可能的实现方式中, 该网络网关还用于: 接收该终端网关发送的包括终端 状态信息的流量模型数据, 以便于该网络设备根据该流量模型数据对该网络 的流量进行控制。
基于上述技术方案, 本发明实施例的控制流量的方法、 终端网关、 终端 设备和系统, 通过接收网络设备的网络网关发送的流量模型数据, 能够根据 该流量模型数据对终端设备的数据传送进行控制,从而能够有效控制终端设 备中的流量, 避免网络拥塞或网络风暴, 由此能够提高用户体验, 还可以减 少终端设备的电量消耗, 实现节能减排。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是根据本发明实施例的控制流量的方法的示意性流程图。
图 2是根据本发明实施例的控制终端设备的数据传送的方法的示意性流 程图。
图 3是根据本发明实施例的控制终端设备的数据传送的方法的另一示意 性流程图。
图 4是根据本发明实施例的控制流量的方法的另一示意性流程图。 图 5是根据本发明实施例的控制流量的方法的再一示意性流程图。 图 6是根据本发明实施例的控制流量的方法的再一示意性流程图。 图 7是根据本发明实施例的终端网关的示意性框图。
图 8是根据本发明实施例的控制模块的示意性框图。
图 9是根据本发明实施例的终端网关的另一示意性框图。
图 10是根据本发明实施例的终端网关的再一示意性框图。
图 11是根据本发明实施例的控制模块的另一示意性框图。
图 12是根据本发明实施例的终端网关的再一示意性框图。
图 13是根据本发明实施例的终端设备的示意性框图。
图 14是根据本发明实施例的系统的示意性框图。 图 15是根据本发明另一实施例的终端网关的示意性框图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。
应理解, 本发明实施例的技术方案可以应用于各种通信系统, 例如: 全 球移动通讯 ( Global System of Mobile communication, GSM ) 系统、 码分多 址( Code Division Multiple Access , CDMA )系统、 宽带码分多址( Wideband Code Division Multiple Access, WCDMA )系统、通用分组无线业务 ( General Packet Radio Service, GPRS )、 长期演进( Long Term Evolution, LTE ) 系 统、 LTE频分双工(Frequency Division Duplex, FDD ) 系统、 LTE时分双工 ( Time Division Duplex , TDD )、 通用移动通信系统 ( Universal Mobile Telecommunication System , UMTS ) 或全球互联微波接入 ( Worldwide Interoperability for Microwave Access , WiMAX )通信系统等。
还应理解, 在本发明实施例中, 终端设备 ( Terminal Equipment )可称之 为终端( Terminal )、用户设备( User Equipment, UE )、移动台( Mobile Station, MS )或移动终端( Mobile Terminal )等,该终端设备可以经无线接入网( Radio Access Network, RAN ) 与一个或多个核心网进行通信, 例如, 终端设备可 以是移动电话(或称为 "蜂窝,, 电话)或具有移动终端的计算机等, 例如, 终端设备还可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的移动 装置, 它们与无线接入网交换语音和 /或数据。
图 1示出了根据本发明实施例的终端设备中控制流量的方法 100的示意 性流程图,该方法 100可以由终端网关执行。如图 1所示,该方法 100包括: S110, 接收网络设备的网络网关发送的流量模型数据, 该流量模型数据 用于指示该终端设备所在网络的网络状态或网络传输能力;
S120, 根据该流量模型数据, 控制该终端设备的数据传送。
具体而言, 为了对终端设备中的流量进行有效控制, 提升用户体验, 可 以在终端设备内增加终端网关(Terminal Gateway, TG ), 该终端网关 TG可 以用于接收网络设备的网络网关 (Network Gateway, NG )发送的流量模型 数据 , 该流量模型数据可以用于指示该终端设备所在网络的网络状态或网络 传输能力, 从而该终端网关 TG可以根据该流量模型数据, 控制该终端设备 的数据传送。
因此, 本发明实施例的控制流量的方法, 通过接收网络设备的网络网关 发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送进行 控制, 从而能够有效控制终端设备中的流量, 避免网络拥塞或网络风暴, 由 此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
此外, 根据本发明实施例的控制流量的方法, 终端设备对数据传送的控 制, 还能够避免报文丟失和反复重试, 从而能够更有效的利用网络, 提升网 络性能, 并能够进一步增强用户体验。
在 S110中,终端网关 TG接收网络设备的网络网关 NG发送的流量模型 数据。
在本发明实施例中, 终端网关 TG与网络网关 NG之间可以通过协商等 方法, 建立终端网关 TG与网络网关 NG之间的双向数据通道, 从而网络网 关 NG可以向终端网关 TG传送网络状态信息, 终端网关 TG也可以向网络 网关 NG传送终端状态信息, 由此使得终端设备和网络设备都能够对系统流 量进行控制。
在本发明实施例中, 网络网关 NG也可以通过广播的方式, 向终端网关 TG传送流量模型数据, 特别是在紧急情况下, 用于快速向终端网关 TG传 送信息。 应理解, 以广播方式传递信息时, 信息只能从网络设备发送到终端 设备。
可选地, 在本发明实施例中, 该接收网络设备的网络网关发送的流量模 型数据, 包括: 接收该网络网关在紧急情况下通过广播方式发送的该流量模 型数据。
该紧急情况例如包括如下应用场景: (1 )特定运营商网络月良务器设备故 障,造成的大量用户的重复无效的试图访问行为,导致网络不堪重负的情况; ( 2 ) 突发的自然灾害 (例如, 地震、 洪水、 火灾)情况下流量异常上升, 导致网络不堪重负的情况; (3 )特定应用、 或者病毒快速传播造成大量终端 的数据通道出现网络异常占用、或异常访问行为,导致网络不堪重负的情况。
应理解, 在本发明实施例中, 紧急情况还可以包括其它原因导致的网络 严重拥塞的应用场景, 本发明并不限于此。 在本发明实施例中, 该流量模型数据用于指示终端设备所在网络的网络 状态或网络传输能力。 可选地, 该流量模型数据包括下列信息中的至少一种 信息: 当前以及最近预定时间内空中接口带宽的总流量、 当前以及最近预定 时间内空中接口实际被占用的流量、 当前以及最近预定时间内空中接口接入 的用户数量、 网络侧能够给用户分配的最大带宽、 用户终端能够达到的最大 带宽能力、网络侧是否发生拥塞、最近预定时间内用户尝试发送报文的数量、 最近预定时间内用户实际传送报文的数量、最近预定时间内产生的错包数量 和最近预定时间内发生报文重试的次数。
例如, 该流量模型数据可以包括网络状态信息, 该网络状态信息可以包 括下列信息中的至少一种信息: 当前以及最近预定时间内空中接口带宽的总 流量、 当前以及最近预定时间内空中接口实际被占用的流量、 当前以及最近 预定时间内空中接口接入的用户数量、 网络侧能够给用户分配的最大带宽和 网络侧是否发生拥塞; 该流量模型数据也可以包括终端状态信息, 该终端状 态信息可以包括下列信息中的至少一种信息: 用户终端能够达到的最大带宽 能力、 最近预定时间内用户尝试发送报文的数量、 最近预定时间内用户实际 传送报文的数量、最近预定时间内产生的错包数量和最近预定时间内发生报 文重试的次数。
应理解, 在本发明实施例中, 流量模型数据还可以包括其它用于指示网 络的网络状态或网络传输能力的信息, 例如, 流量模型数据还可以包括其它 用于进行流量控制的信息, 本发明并不限于此。
在 S120中, 终端网关 TG根据该流量模型数据, 控制该终端设备的数 据传送。
具体而言, 在本发明实施例中, 终端网关 TG可以直接根据流量模型数 据, 控制终端设备的数据传送; 终端网关 TG也可以根据流量模型数据, 首 先确定网络的网络状态或网络传输能力, 然后可以再根据确定的该网络状态 或该网络传输能力, 控制该终端设备的数据传送。
例如, 终端网关接收到网络网关发送的流量模型数据, 该流量模型数据 包括网络侧是否发生拥塞的信息, 例如该流量模型数据指示网络发生拥塞, 则终端网关根据该流量模型数据, 可以暂停发送报文或降低报文发送频率, 以避免不断地重试而导致网络进一步拥塞或网络风暴。
可选地, 如图 2所示, 根据该流量模型数据, 控制该终端设备的数据传 送, 包括:
5121 , 根据该流量模型数据, 确定该网络的网络状态或网络传输能力;
5122,根据该网络状态或该网络传输能力,控制该终端设备的数据传送。 例如, 终端网关接收到网络网关发送的流量模型数据, 该流量模型数据 例如包括当前以及最近预定时间内空中接口带宽的总流量为 100M、 当前以 及最近预定时间内空中接口实际被占用的流量为 98M,由此终端网关根据上 述流量模型数据可以确定终端设备所在网络的网络状态为拥塞状态(假设实 际可用流量小于 10M时为拥塞状态 ), 或者终端网关可以确定该网络的网络 传输能力为 2M可用流量, 从而终端网关可以根据该网络状态或该网络传输 能力, 控制该终端设备的数据传送。
在本发明实施例中, 终端网关可以根据流量模型数据, 或根据网络状态 或网络传输能力, 以及结合流量控制策略, 动态调整终端设备的数据传送行 为。
可选地, 如图 3所示, 根据该流量模型数据, 控制该终端设备的数据传 送, 包括:
5123, 根据该流量模型数据, 在确定该网络发生拥塞时, 暂停发送报文 或降低 文发送频率; 或
5124, 根据该流量模型数据, 在确定该网络恢复畅通时, 恢复报文的发 送。
具体地, 例如, 在发生网络拥塞时, 网络网关 NG可以将拥塞状态通知 终端网关 TG, 终端网关由此可以暂停发送 4艮文, 并调整网络状态指示。 这 样可以避免盲目在无线接口发送报文重试, 从而延长终端的电池使用时间。
例如, 当网络流量恢复后, 网络网关 NG可以发送取消拥塞状态通知, 终端网关 TG从而可以进行恢复处理, 例如, 根据相应带宽水平、 以及无线 网络的覆盖等水平动态调整终端的数据传送行为。
因此, 本发明实施例的控制流量的方法, 通过接收网络设备的网络网关 发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送进行 控制, 从而能够有效控制终端设备中的流量, 避免网络拥塞或网络风暴, 由 此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。
在本发明实施例中, 终端网关根据流量模型数据, 一方面可以主动对数 据传送进行控制, 例如, 减少各种应用的重试行为, 避免加剧网络拥塞等, 或在发生拥塞时, 能够控制应用从拥塞状态快速退出等。 另一方面也可以向 用户指示当前网络状态,从而使得用户有意识地改变网络使用行为或调整应 用, 从而进一步提升网络性能。
例如, 如图 4所示, 可选地, 在该接收网络设备的网络网关发送的流量 模型数据之后, 该方法 100还包括:
S130, 根据该流量模型数据, 确定该网络的网络状态;
S140, 在该终端设备的显示屏上向用户指示该网络状态, 以便于该用户 根据该网络状态调整该终端设备上的应用。
具体而言,终端网关获取到流量模型数据后,可以知道网络的流量能力、 终端当前可用带宽等信息,从而可以根据相应带宽水平动态调整终端的数据 传送行为; 另一方面, 当终端网关 TG接收到网络流量模型数据后, 可以在 终端的屏幕上直观显示网络状态, 使用户了解当前网络状况, 方便用户根据 网络状态调整使用行为。
例如, 当网络拥塞时, 屏幕特定区域指示为红色, 终端网关可以结合策 略动态调整速率, 用户此时也可以选择暂时停止使用耗费流量的下载行为。 又例如, 当网络用户较多时, 屏幕特定区域可以指示当前的可用带宽减少, 终端网关将结合策略动态调整发送参数,避免超出网络负荷引起丟包及纠错 行为。 用户此时也可选择停止使用高流量应用, 例如视频等应用等, 避免长 时间緩存, 但此时仍然可使用耗费流量较少的应用, 例如文字类应用等。 再 例如, 当网络用户极少时, 屏幕可以指示当前带宽充足, 网络空闲, 终端网 关可以结合策略调整参数, 以充分利用带宽。
因此, 本发明实施例的控制流量的方法, 通过接收网络设备的网络网关 发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送进行 控制, 从而能够有效控制终端设备中的流量, 避免网络拥塞或网络风暴, 由 此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
在本发明实施例中, 可选地, 如图 5所示, 该方法 100还包括:
S150, 获取该终端设备的终端状态信息;
S160, 向该网络网关发送包括该终端状态信息的流量模型数据, 以便于 该网络设备根据该流量模型数据对该网络的流量进行控制。
例如, 该终端状态信息可以包括下列信息中的至少一种信息: 用户终端 能够达到的最大带宽能力、 最近预定时间内用户尝试发送报文的数量、 最近 预定时间内用户实际传送报文的数量、最近预定时间内产生的错包数量和最 近预定时间内发生报文重试的次数。
在本发明实施例中, 终端网关还可以识别网络攻击行为造成的拥塞, 并 切断攻击, 从而提升网络安全。 下面将结合图 6进行描述。
如图 6所示, 可选地, 该方法 100还包括:
S170, 通过对该终端设备上的各应用层协议报文的分析, 确定该终端设 备是否受到攻击;
S180, 在确定该终端设备受到攻击时, 切断相关应用的数据传输通道。 在 S170中, 终端网关可以通过对各层 (包括应用层)协议报文的分析, 例如采用应用层网关 ( Application Level Gateway , ALG )技术进行分析, 确定是否存在攻击行为。 例如, 多通道的应用需要首先在控制通道中对后续 数据通道的地址和端口进行协商, 然后再根据协商结果创建多个数据通道连 接, 因此, 如果检测协商行为、 同时判断数据通道端口号、 一段时间内在特 定端口的尝试报文发送数量, 就可以判断出一部分攻击行为, 并确定恶意攻 击行为的来源。
在 S180中, 终端网关在确定该终端设备受到攻击时, 切断与受到攻击 相关应用的数据传输通道, 由此能够避免特定应用抢占全部流量资源, 导致 其它应用异常, 并能够避免特定恶意应用的网络攻击行为, 从而能够提升网 络安全性。
应理解, ALG是一种对应用层进行处理的技术, 它通过与网络地址转 换 ( Network Address Translation , NAT )、 基于应用层状态的包过滤 ( Application Specific Packet Filter , ASPF )等技术的组合应用, 实现对应用 层的处理和检测。
在应用层协议中, 有很多协议都包含多通道的信息, 比如多媒体协议 ( H.323等)、 文件传输协议(File Transfer Protocol, FTP )等。 这种多通道 的应用需要首先在控制通道中对后续数据通道的地址和端口进行协商, 然后 根据协商结果创建多个数据通道连接。 在 NAT的实际应用过程中, NAT仅 对网络层报文的报文头进行 IP地址的识别和转换, 对于应用层协议协商过 程中 文载荷携带的地址信息则无法进行识别和转换, 因此在有 NAT处理 的组网方案中, NAT利用 ALG技术可以对多通道协议进行应用层的报文信 息的解析和地址转换, 保证应用层上通信的正确性。
应用层网关( ALG )技术可以对应用层状态进行跟踪检测。 各种应用程 序通常都有相对稳定的报文交互过程, 如果不符合该交互过程, 则很有可能 是异常的报文攻击。 ALG通过解析、 记录应用层报文的状态信息, 记录会 话的上下文信息, 对即将到来的报文做预测, 对于不符合要求的报文进行丟 弃, 实现应用层状态的跟踪检测。
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的控制流量的方法, 通过接收网络设备的网络网关 发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送进行 控制, 从而能够有效控制终端设备中的流量, 避免网络拥塞或网络风暴, 由 此能够提高用户体验, 还可以提升网络安全性。
上文中结合图 1至图 6, 详细描述了根据本发明实施例的终端设备中控 制流量的方法, 下面将结合图 7至图 15,详细描述根据本发明实施例的控制 流量的终端网关、 终端设备和系统。
图 7示出了根据本发明实施例的终端网关 300的示意性框图。如图 7所 示, 终端设备中控制流量的终端网关 300包括:
接收模块 310, 用于接收网络设备的网络网关发送的流量模型数据, 该 流量模型数据用于指示该终端设备所在网络的网络状态或网络传输能力; 控制模块 320, 用于根据该接收模块 310接收的该流量模型数据, 控制 该终端设备的数据传送。
因此, 本发明实施例的控制流量的终端网关, 通过接收网络设备的网络 网关发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送 进行控制,从而能够有效控制终端设备中的流量,避免网络拥塞或网络风暴, 由此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
在本发明实施例中, 可选地, 该接收模块 310还用于: 接收该网络网关 在紧急情况下通过广播方式发送的该流量模型数据。
在本发明实施例中, 可选地, 该接收模块 310接收的该流量模型数据包 括下列信息中的至少一种信息: 当前以及最近预定时间内空中接口带宽的总 流量、 当前以及最近预定时间内空中接口实际被占用的流量、 当前以及最近 预定时间内空中接口接入的用户数量、 网络侧能够给用户分配的最大带宽、 用户终端能够达到的最大带宽能力、 网络侧是否发生拥塞、 最近预定时间内 用户尝试发送报文的数量、 最近预定时间内用户实际传送报文的数量、 最近 预定时间内产生的错包数量和最近预定时间内发生报文重试的次数。
如图 8所示, 可选地, 在本发明实施例中, 该控制模块 320包括: 确定单元 321 , 用于根据该流量模型数据, 确定该网络的网络状态或网 络传输能力;
第一控制单元 322, 用于根据该确定单元 321确定的该网络状态或该网 络传输能力, 控制该终端设备的数据传送。
在本发明实施例中, 可选地, 如图 9所示, 该终端网关 300还包括: 第一确定模块 330, 用于根据该接收模块接收的该流量模型数据, 确定 该网络的网络状态;
指示模块 340, 用于在该终端设备的显示屏上向用户指示该第一确定模 块 330确定的该网络状态, 以便于该用户根据该网络状态调整该终端设备上 的应用。
在本发明实施例中, 可选地, 如图 10所示, 该终端网关 300还包括: 获取模块 350, 用于获取该终端设备的终端状态信息;
发送模块 360, 用于向该网络网关发送流量模型数据, 该流量模型数据 包括该获取模块 350获取的该终端状态信息, 以便于该网络设备根据该流量 模型数据对该网络的流量进行控制。
在本发明实施例中, 可选地, 如图 11所示, 该控制模块 320包括: 第二控制单元 323 , 用于根据该接收模块接收的该流量模型数据, 在确 定该网络发生拥塞时, 暂停发送报文或降低报文发送频率; 或
第三控制单元 324, 用于根据该接收模块 323接收的该流量模型数据, 在确定该网络恢复畅通时, 恢复报文的发送。
在本发明实施例中, 可选地, 如图 12所示, 该终端网关 300还包括: 第二确定模块 370, 用于通过对该终端设备上的各应用层协议报文的分 析, 确定该终端设备是否受到攻击;
切断模块 380,用于在该第二确定模块 370确定该终端设备受到攻击时, 切断相关应用的数据传输通道。
应理解,根据本发明实施例的控制流量的终端网关 300可对应于执行根 据本发明实施例的控制流量的方法的终端网关, 并且终端网关 300中的各个 模块的上述和其它操作和 /或功能分别为了实现图 1至图 6中的各个方法的相 应流程, 为了筒洁, 在此不再赘述。
因此, 本发明实施例的控制流量的终端网关, 通过接收网络设备的网络 网关发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送 进行控制,从而能够有效控制终端设备中的流量,避免网络拥塞或网络风暴, 由此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
图 13示出了根据本发明实施例的终端设备 400的示意性框图。 如图 13 所示, 该终端设备 400包括根据本发明实施例的终端网关 410。 于根据本发明实施例的终端网关 300, 并且可以对应于执行根据本发明实施 例的控制流量的方法的终端网关, 并且终端网关 410中的各个模块的上述和 其它操作和 /或功能分别为了实现图 1至图 6中的各个方法的相应流程,为了 筒洁, 在此不再赘述。
因此, 本发明实施例的控制流量的终端设备, 通过接收网络设备的网络 网关发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送 进行控制,从而能够有效控制终端设备中的流量,避免网络拥塞或网络风暴, 由此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
图 14示出了根据本发明实施例的系统 500的示意性框图。如图 14所示, 该系统 500包括:
终端设备 510, 该终端设备 510包括根据本发明实施例的终端网关 511 ; 和
网络设备 520, 该网络设备包括网络网关 521 , 其中, 该网络网关 521 用于向该终端网关 511发送流量模型数据, 该流量模型数据用于指示该终端 设备 510所在网络的网络状态或网络传输能力。
在本发明实施例中, 可选地, 该网络网关 521还用于: 在紧急情况下通 过广播方式向该终端网关 511发送该流量模型数据。
在本发明实施例中, 可选地, 该网络网关 521还用于: 接收该终端网关
511发送的包括终端状态信息的流量模型数据, 以便于该网络设备 520根据 该流量模型数据对该网络的流量进行控制。
应理解,根据本发明实施例的系统 500包括的终端设备 510可对应于根 据本发明实施例的终端设备 400, 并且, 根据本发明实施例的终端设备 510 包括的终端网关 511可对应于根据本发明实施例的终端网关 300, 并且可以 对应于执行根据本发明实施例的控制流量的方法的终端网关, 并且终端网关 410中的各个模块的上述和其它操作和 /或功能分别为了实现图 1至图 6中的 各个方法的相应流程, 为了筒洁, 在此不再赘述。
因此, 本发明实施例的控制流量的系统, 通过接收网络设备的网络网关 发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送进行 控制, 从而能够有效控制终端设备中的流量, 避免网络拥塞或网络风暴, 由 此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
如图 15所示, 本发明实施例还提供了一种终端网关 600, 该网络设备 600包括处理器 610、 存储器 620、 总线系统 630和接收器 640。 其中, 处理 器 610、 存储器 620和接收器 640通过总线系统 630相连, 该存储器 620用 于存储指令, 该处理器 610用于执行该存储器 620存储的指令。 其中, 该接 收器 640用于: 接收网络设备的网络网关发送的流量模型数据, 该流量模型 数据用于指示该终端设备所在网络的网络状态或网络传输能力; 该处理器 610用于: 根据该流量模型数据, 控制该终端设备的数据传送。
因此, 本发明实施例的控制流量的终端网关, 通过接收网络设备的网络 网关发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送 进行控制,从而能够有效控制终端设备中的流量,避免网络拥塞或网络风暴, 由此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
应理解,在本发明实施例中,该处理器 610可以是中央处理单元(Central Processing Unit, CPU ), 该处理器 610还可以是其他通用处理器、 数字信号 处理器(DSP )、 专用集成电路 ( ASIC ), 现成可编程门阵列 (FPGA )或者 其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用 处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器 620可以包括只读存储器和随机存取存储器, 并向处理器 610 提供指令和数据。存储器 620的一部分还可以包括非易失性随机存取存储器。 例如, 存储器 620还可以存储设备类型的信息。
该总线系统 630除包括数据总线之外, 还可以包括电源总线、 控制总线 和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线 系统 630。
在实现过程中,上述方法的各步骤可以通过处理器 610中的硬件的集成 逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤 可以直接体现为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组 合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只 读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 620, 处理器 610读取存储器 620中的信息, 结合其 硬件完成上述方法的步骤。 为避免重复, 这里不再详细描述。
可选地, 作为一个实施例, 该处理器 610具体用于: 根据该流量模型数 据, 确定该网络的网络状态或网络传输能力; 根据该网络状态或该网络传输 能力, 控制该终端设备的数据传送。
可选地, 作为一个实施例, 该处理器 610具体用于: 根据该流量模型数 据, 确定该网络的网络状态; 在该终端设备的显示屏上向用户指示该网络状 态, 以便于该用户根据该网络状态调整该终端设备上的应用。
可选地, 作为一个实施例, 该接收器 640具体用于: 接收该网络网关在 紧急情况下通过广播方式发送的该流量模型数据。
可选地, 作为一个实施例, 该处理器 610还用于: 获取该终端设备的终 端状态信息; 该终端网关 600还包括发送器 650, 用于向该网络网关发送包 括该终端状态信息的流量模型数据, 以便于该网络设备根据该流量模型数据 对该网络的流量进行控制。
可选地, 作为一个实施例, 该接收器 640接收的该流量模型数据包括下 列信息中的至少一种信息: 当前以及最近预定时间内空中接口带宽的总流 量、 当前以及最近预定时间内空中接口实际被占用的流量、 当前以及最近预 定时间内空中接口接入的用户数量、 网络侧能够给用户分配的最大带宽、 用 户终端能够达到的最大带宽能力、 网络侧是否发生拥塞、 最近预定时间内用 户尝试发送报文的数量、 最近预定时间内用户实际传送报文的数量、 最近预 定时间内产生的错包数量和最近预定时间内发生报文重试的次数。
可选地,作为一个实施例,该处理器 610还用于:根据该流量模型数据, 在确定该网络发生拥塞时, 暂停发送报文或降低报文发送频率; 或根据该流 量模型数据, 在确定该网络恢复畅通时, 恢复报文的发送。 可选地, 作为一个实施例, 该处理器 610还用于: 通过对该终端设备上 的各应用层协议^艮文的分析, 确定该终端设备是否受到攻击; 在确定该终端 设备受到攻击时, 切断相关应用的数据传输通道。
因此, 本发明实施例的控制流量的终端网关, 通过接收网络设备的网络 网关发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送 进行控制,从而能够有效控制终端设备中的流量,避免网络拥塞或网络风暴, 由此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
本发明实施例还提供了一种控制流量的终端设备, 该终端设备包括根据 本发明实施例的终端网关 600; 可选地, 该终端设备还包括显示器, 用于显 示网络状态。
本发明实施例还提供了一种控制流量的系统, 该系统包括: 终端设备, 该终端设备包括根据本发明实施例的终端网关 600; 和网络设备, 该网络设 备包括网络网关, 其中, 该网络网关用于向该终端网关发送流量模型数据, 该流量模型数据用于指示该终端设备所在网络的网络状态或网络传输能力。
可选地, 作为一个实施例, 该网络网关还用于: 在紧急情况下通过广播 方式向该终端网关发送该流量模型数据。
可选地, 作为一个实施例, 该网络网关还用于: 接收该终端网关发送的 包括终端状态信息的流量模型数据, 以便于该网络设备根据该流量模型数据 对该网络的流量进行控制。
因此, 本发明实施例的控制流量的系统, 通过接收网络设备的网络网关 发送的流量模型数据, 能够根据该流量模型数据对终端设备的数据传送进行 控制, 从而能够有效控制终端设备中的流量, 避免网络拥塞或网络风暴, 由 此能够提高用户体验, 还可以减少终端设备的电量消耗, 实现节能减排。
另外, 本文中术语 "系统" 和 "网络" 在本文中常被可互换使用。 本文 中术语 "和 /或", 仅仅是一种描述关联对象的关联关系, 表示可以存在三种 关系, 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存 在 B这三种情况。另外,本文中字符 " ,—般表示前后关联对象是一种 "或" 的关系。
应理解, 在本发明实施例中, "与 A相应的 B"表示 B与 A相关联, 根 据 A可以确定 但还应理解, 根据 A确定 B并不意味着仅仅根据 A确定 B, 还可以根据 A和 /或其它信息确定^ 本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赞述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件 功能单元的形式实现。
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本 发明可以用硬件实现, 或固件实现, 或它们的组合方式来实现。 当使用软件 实现时, 可以将上述功能存储在计算机可读介质中或作为计算机可读介质上 的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和 通信介质, 其中通信介质包括便于从一个地方向另一个地方传送计算机程序 的任何介质。 存储介质可以是计算机能够存取的任何可用介质。 以此为例但 不限于: 计算机可读介质可以包括 RAM、 ROM, EEPROM、 CD-ROM或其 他光盘存储、 磁盘存储介质或者其他磁存储设备、 或者能够用于携带或存储 具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其 他介质。 此外。 任何连接可以适当的成为计算机可读介质。 例如, 如果软件 是使用同轴电缆、 光纤光缆、 双绞线、 数字用户线(DSL )或者诸如红外线、 无线电和微波之类的无线技术从网站、 服务器或者其他远程源传输的, 那么 同轴电缆、 光纤光缆、 双绞线、 DSL或者诸如红外线、 无线和微波之类的无 线技术包括在所属介质的定影中。如本发明所使用的,盘( Disk )和碟( disc ) 包括压缩光碟(CD )、 激光碟、 光碟、 数字通用光碟(DVD )、 软盘和蓝光 光碟, 其中盘通常磁性的复制数据, 而碟则用激光来光学的复制数据。 上面 的组合也应当包括在计算机可读介质的保护范围之内。
总之, 以上所述仅为本发明技术方案的较佳实施例而已, 并非用于限定 本发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种终端设备中控制流量的方法, 其特征在于, 包括:
接收网络设备的网络网关发送的流量模型数据, 所述流量模型数据用于 指示所述终端设备所在网络的网络状态或网络传输能力;
根据所述流量模型数据, 控制所述终端设备的数据传送。
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述流量模型 数据, 控制所述终端设备的数据传送, 包括:
根据所述流量模型数据, 确定所述网络的网络状态或网络传输能力; 根据所述网络状态或所述网络传输能力, 控制所述终端设备的数据传 送。
3、 根据权利要求 1所述的方法, 其特征在于, 在所述接收网络设备的 网络网关发送的流量模型数据之后, 所述方法还包括:
根据所述流量模型数据, 确定所述网络的网络状态;
在所述终端设备的显示屏上向用户指示所述网络状态, 以便于所述用户 ^^据所述网络状态调整所述终端设备上的应用。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述接收 网络设备的网络网关发送的流量模型数据, 包括:
接收所述网络网关在紧急情况下通过广播方式发送的所述流量模型数 据。
5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述方法 还包括:
获取所述终端设备的终端状态信息;
向所述网络网关发送包括所述终端状态信息的流量模型数据, 以便于所 述网络设备根据所述流量模型数据对所述网络的流量进行控制。
6、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述流量 模型数据包括下列信息中的至少一种信息: 当前以及最近预定时间内空中接 口带宽的总流量、 当前以及最近预定时间内空中接口实际被占用的流量、 当 前以及最近预定时间内空中接口接入的用户数量、 网络侧能够给用户分配的 最大带宽、 用户终端能够达到的最大带宽能力、 网络侧是否发生拥塞、 最近 预定时间内用户尝试发送报文的数量、最近预定时间内用户实际传送报文的 数量、最近预定时间内产生的错包数量和最近预定时间内发生报文重试的次 数。
7、 根据权利要求 1至 6中任一项所述的方法, 其特征在于, 所述根据 所述流量模型数据, 控制所述终端设备的数据传送, 包括:
根据所述流量模型数据, 在确定所述网络发生拥塞时, 暂停发送报文或 降低报文发送频率; 或
根据所述流量模型数据,在确定所述网络恢复畅通时,恢复报文的发送。
8、 根据权利要求 1至 7中任一项所述的方法, 其特征在于, 所述方法 还包括:
通过对所述终端设备上的各应用层协议报文的分析,确定所述终端设备 是否受到攻击;
在确定所述终端设备受到攻击时, 切断相关应用的数据传输通道。
9、 一种终端设备中控制流量的终端网关, 其特征在于, 包括: 接收模块, 用于接收网络设备的网络网关发送的流量模型数据, 所述流 量模型数据用于指示所述终端设备所在网络的网络状态或网络传输能力; 控制模块, 用于根据所述接收模块接收的所述流量模型数据, 控制所述 终端设备的数据传送。
10、根据权利要求 9所述的终端网关,其特征在于,所述控制模块包括: 确定单元, 用于根据所述流量模型数据, 确定所述网络的网络状态或网 络传输能力;
第一控制单元,用于根据所述确定单元确定的所述网络状态或所述网络 传输能力, 控制所述终端设备的数据传送。
11、 根据权利要求 9所述的终端网关, 其特征在于, 所述终端网关还包 括:
第一确定模块, 用于根据所述接收模块接收的所述流量模型数据, 确定 所述网络的网络状态;
指示模块, 用于在所述终端设备的显示屏上向用户指示所述第一确定模 块确定的所述网络状态, 以便于所述用户根据所述网络状态调整所述终端设 备上的应用。
12、 根据权利要求 9至 11 中任一项所述的终端网关, 其特征在于, 所 述接收模块还用于: 接收所述网络网关在紧急情况下通过广播方式发送的所 述流量模型数据。
13、 根据权利要求 9至 12中任一项所述的终端网关, 其特征在于, 所 述终端网关还包括:
获取模块, 用于获取所述终端设备的终端状态信息;
发送模块, 用于向所述网络网关发送流量模型数据, 所述流量模型数据 包括所述获取模块获取的所述终端状态信息, 以便于所述网络设备根据所述 流量模型数据对所述网络的流量进行控制。
14、 根据权利要求 9至 12中任一项所述的终端网关, 其特征在于, 所 述接收模块接收的所述流量模型数据包括下列信息中的至少一种信息: 当前 以及最近预定时间内空中接口带宽的总流量、 当前以及最近预定时间内空中 接口实际被占用的流量、 当前以及最近预定时间内空中接口接入的用户数 量、网络侧能够给用户分配的最大带宽、用户终端能够达到的最大带宽能力、 网络侧是否发生拥塞、 最近预定时间内用户尝试发送报文的数量、 最近预定 时间内用户实际传送报文的数量、最近预定时间内产生的错包数量和最近预 定时间内发生 4艮文重试的次数。
15、 根据权利要求 9至 14中任一项所述的终端网关, 其特征在于, 所 述控制模块包括:
第二控制单元, 用于根据所述接收模块接收的所述流量模型数据, 在确 定所述网络发生拥塞时, 暂停发送报文或降低报文发送频率; 或
第三控制单元, 用于根据所述接收模块接收的所述流量模型数据, 在确 定所述网络恢复畅通时, 恢复 文的发送。
16、 根据权利要求 9至 15中任一项所述的终端网关, 其特征在于, 所 述终端网关还包括:
第二确定模块, 用于通过对所述终端设备上的各应用层协议报文的分 析, 确定所述终端设备是否受到攻击;
切断模块, 用于在所述第二确定模块确定所述终端设备受到攻击时, 切 断相关应用的数据传输通道。
17、 一种控制流量的终端设备, 其特征在于, 包括:
根据权利要求 9至 16中任一项所述的终端网关。
18、 一种控制流量的系统, 其特征在于, 包括:
终端设备, 所述终端设备包括根据权利要求 9至 16中任一项所述的终 端网关; 和 网络设备, 所述网络设备包括网络网关, 其中, 所述网络网关用于向所 述终端网关发送流量模型数据, 所述流量模型数据用于指示所述终端设备所 在网络的网络状态或网络传输能力。
19、 根据权利要求 18所述的系统, 其特征在于, 所述网络网关还用于: 在紧急情况下通过广播方式向所述终端网关发送所述流量模型数据。
20、 根据权利要求 18或 19所述的系统, 其特征在于, 所述网络网关还 用于: 接收所述终端网关发送的包括终端状态信息的流量模型数据, 以便于 所述网络设备根据所述流量模型数据对所述网络的流量进行控制。
PCT/CN2012/086848 2012-12-18 2012-12-18 控制流量的方法、终端网关、终端设备和系统 WO2014094236A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280002471.5A CN104041109B (zh) 2012-12-18 2012-12-18 控制流量的方法、终端网关、终端设备和系统
PCT/CN2012/086848 WO2014094236A1 (zh) 2012-12-18 2012-12-18 控制流量的方法、终端网关、终端设备和系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/086848 WO2014094236A1 (zh) 2012-12-18 2012-12-18 控制流量的方法、终端网关、终端设备和系统

Publications (1)

Publication Number Publication Date
WO2014094236A1 true WO2014094236A1 (zh) 2014-06-26

Family

ID=50977532

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/086848 WO2014094236A1 (zh) 2012-12-18 2012-12-18 控制流量的方法、终端网关、终端设备和系统

Country Status (2)

Country Link
CN (1) CN104041109B (zh)
WO (1) WO2014094236A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343293A (zh) * 2016-04-29 2017-11-10 迈普通信技术股份有限公司 一种链路保活方法及设备

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102488273B1 (ko) * 2017-11-16 2023-01-13 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 무선 통신 방법, 단말기 디바이스 및 네트워크 디바이스
CN110071877B (zh) * 2018-01-22 2021-01-29 华为技术有限公司 一种传输信息的方法和装置
CN111756641A (zh) * 2019-03-28 2020-10-09 华为技术有限公司 一种发送设备的调整方法和通信装置
CN113965491A (zh) * 2020-06-29 2022-01-21 中车株洲电力机车研究所有限公司 一种网络拥塞检测方法、系统及相关装置
CN112445622B (zh) * 2020-12-14 2024-02-13 招商局金融科技有限公司 基于网关盒子的终端数据传输方法、装置、设备及介质
CN113163350A (zh) * 2021-03-16 2021-07-23 中国卫通集团股份有限公司 航程内计费方法、系统、计费设备及计算机可读存储介质
CN115086183B (zh) * 2022-07-05 2024-02-06 武汉思普崚技术有限公司 一种应用层网关的报文关联方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036346A (zh) * 2004-10-09 2007-09-12 皇家飞利浦电子股份有限公司 无线通信网关和无线通信终端
CN101355488A (zh) * 2007-07-25 2009-01-28 中国移动通信集团公司 网络发起的消息类业务中控制流量的方法和系统
CN102158896A (zh) * 2010-02-12 2011-08-17 华为技术有限公司 处理本地链路拥塞的方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1239636B1 (en) * 2001-03-08 2008-06-04 Lucent Technologies Inc. Improved UMTS
CN1642136A (zh) * 2004-01-17 2005-07-20 华为技术有限公司 一种数据流量带宽的控制方法
CN101959245B (zh) * 2009-07-13 2013-06-05 中兴通讯股份有限公司 一种WiMAX系统中流量控制的方法、装置及系统
CN101990250B (zh) * 2009-08-07 2013-08-28 华为技术有限公司 带宽管理方法、演进基站、服务网关和通信系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036346A (zh) * 2004-10-09 2007-09-12 皇家飞利浦电子股份有限公司 无线通信网关和无线通信终端
CN101355488A (zh) * 2007-07-25 2009-01-28 中国移动通信集团公司 网络发起的消息类业务中控制流量的方法和系统
CN102158896A (zh) * 2010-02-12 2011-08-17 华为技术有限公司 处理本地链路拥塞的方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343293A (zh) * 2016-04-29 2017-11-10 迈普通信技术股份有限公司 一种链路保活方法及设备

Also Published As

Publication number Publication date
CN104041109B (zh) 2017-11-17
CN104041109A (zh) 2014-09-10

Similar Documents

Publication Publication Date Title
WO2014094236A1 (zh) 控制流量的方法、终端网关、终端设备和系统
WO2018045877A1 (zh) 网络切片控制方法及相关设备
EP2991411B1 (en) Method for supporting power saving mode and radio device therefor
JP5478487B2 (ja) データ送信方法、データ受信方法、およびその装置
KR101693282B1 (ko) 협력 통신 방법, 클라우드 서버, 및 코어 네트워크 서버
JP6586233B2 (ja) コアネットワークノードへの例外報告の使用の伝達
EP3096573A1 (en) Downlink data transfer method and location update procedure execution method
WO2011113198A1 (en) Apparatus and method for interference mitigation
WO2017008555A1 (zh) 数据传输的方法、发送设备及接收设备
JP7046979B2 (ja) データ伝送方法、装置、システム、およびデバイス
WO2021057526A1 (zh) 一种网关设备容灾的方法及通信设备
WO2020228689A1 (zh) 一种数据传输方法、装置及设备
JP5124591B2 (ja) Ranにおける連続するデータユニットの表示の方法
WO2016145576A1 (zh) 一种数据传输方法、设备及系统
WO2022022302A1 (zh) 一种数据传输时域参数指示的方法和ue及基站
CN114554423A (zh) 一种mbs业务的挂起方法及收发装置
WO2021155604A1 (zh) 信息处理方法及设备
BRPI0907995B1 (pt) Método e equipamento para processar mensagem de sinalização que se refere a restrições à taxa de transmissão
WO2023061439A1 (zh) 信息处理方法及相关设备
WO2022257910A1 (zh) QoS的控制方法及装置
WO2023109331A1 (zh) 提升语音业务下行质量的方法、芯片、设备及存储介质
CN113853026B (zh) Wlan中的低延迟通信
WO2022247480A1 (zh) 一种增强ims业务的方法、装置、电子设备及存储介质
WO2022237602A1 (zh) QoE测量报告的上报方法、设备、装置及存储介质
WO2024027383A1 (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: 12890434

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: 12890434

Country of ref document: EP

Kind code of ref document: A1