CN114024917B - Method, device, equipment and storage medium for guaranteeing internet service bandwidth - Google Patents
Method, device, equipment and storage medium for guaranteeing internet service bandwidth Download PDFInfo
- Publication number
- CN114024917B CN114024917B CN202010679748.4A CN202010679748A CN114024917B CN 114024917 B CN114024917 B CN 114024917B CN 202010679748 A CN202010679748 A CN 202010679748A CN 114024917 B CN114024917 B CN 114024917B
- Authority
- CN
- China
- Prior art keywords
- service request
- url
- service
- server
- sending
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000004044 response Effects 0.000 claims abstract description 69
- 238000005259 measurement Methods 0.000 claims description 14
- 230000035945 sensitivity Effects 0.000 claims description 12
- 230000003287 optical effect Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 11
- 230000003993 interaction Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/803—Application aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/24—Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0086—Network resource allocation, dimensioning or optimisation
Abstract
The embodiment of the invention discloses a method, a device, equipment and a storage medium for guaranteeing internet service bandwidth. Receiving a service request sent by a terminal device, wherein the service request comprises a characteristic character and a service flow Uniform Resource Locator (URL); when the characteristic characters and the URL are matched with preset information, sending a service request to a server; receiving a response message sent by a server according to the service request; and sending a response message to the terminal equipment. The embodiment of the invention solves the problem that the service flow data packet is difficult to accurately distinguish, and realizes the accurate distinguishing of the service flow data packet.
Description
Technical Field
The present invention relates to the field of network communications, and in particular, to a method, an apparatus, a device, and a storage medium for guaranteeing an internet service bandwidth.
Background
The internet is increasingly developed, and common internet services are e-commerce, distance education, online games, video on demand live broadcast, and the like. Among these, video playback is the service that occupies the largest bandwidth of the home. With higher and higher video resolution, the requirements on the service quality of the network are higher and higher from standard definition to high definition and then to super definition.
However, when the actual internet service data exchange occurs, since network data packets are mostly encrypted, it is difficult for a general gateway to locate and divide specific service flows to distinguish whether the data packets belong to video, game or web page (web page also has web page game, web page video and other services).
Therefore, the current method has the problem that the service flow data packet is difficult to accurately distinguish.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for guaranteeing the bandwidth of internet service, solves the problem that service flow data packets are difficult to accurately distinguish, and realizes accurate distinguishing of the service flow data packets.
In order to solve the technical problems, the invention comprises:
in a first aspect, a method for guaranteeing internet service bandwidth is provided, where the method includes:
receiving a service request sent by a terminal device, wherein the service request comprises characteristic characters and a service flow uniform resource locator (Uniform Resource Locator, URL);
when the characteristic characters and the URL are matched with preset information, sending a service request to a server;
receiving a response message sent by a server according to the service request;
and sending a response message to the terminal equipment.
In some implementations of the first aspect, the preset information includes a character library hash table and a URL library; when the characteristic characters and the URL are matched with preset information, sending a service request to a server, wherein the service request comprises the following steps:
and when the characteristic characters pass through the character library hash table in a matching way and the URL passes through the URL library in a matching way, sending a service request to the server.
In some implementations of the first aspect, sending a service request to a server includes:
determining a first configuration strategy according to attribute information of a service request and attribute information of a gateway, wherein the attribute information of the service request comprises at least one of delay sensitivity and packet loss rate limit of a data message, and the attribute information of the gateway comprises throughput of a wide area network (Wide Area Network, WAN) interface;
and sending a service request to the server according to the first configuration strategy.
In some implementations of the first aspect, sending a service request to a server further includes:
a service request is sent to the server via the optical line terminal (optical line terminal, OLT).
In some implementations of the first aspect, the reply message includes a feature character and a traffic stream uniform resource locator URL; transmitting a response message to the terminal device, including:
when the characteristic characters are matched with a character library hash table in preset information and the URL is matched with a URL library in the preset information, sending a response message to the terminal equipment according to a second configuration strategy, wherein the second configuration strategy is determined according to attribute information of the response message and attribute information of a gateway, the attribute information of the response message comprises at least one of time delay sensitivity and packet loss rate limit of a data message, and the attribute information of the gateway comprises throughput limit of a WAN interface of a wide area network.
In some implementations of the first aspect, receiving a response message sent by a server according to a service request includes:
and receiving a response message generated by the server forwarded by the optical line terminal OLT according to the service request.
In a second aspect, an apparatus for guaranteeing an internet service bandwidth is provided, where the apparatus includes:
the receiving module is used for receiving a service request sent by the terminal equipment, wherein the service request comprises characteristic characters and a service flow Uniform Resource Locator (URL);
the sending module is used for sending a service request to the server when the characteristic characters and the URL are matched with preset information;
the receiving module is also used for receiving a response message sent by the server according to the service request;
and the sending module is also used for sending the response message to the terminal equipment.
In some implementations of the second aspect, the preset information includes a character library hash table and a URL library;
and the sending module is also used for sending a service request to the server when the characteristic characters are matched with the character library hash table and the URL is matched with the URL library.
In some implementations of the second aspect, the apparatus further includes:
the processing module is used for determining a first configuration strategy according to the attribute information of the service request and the attribute information of the gateway, wherein the attribute information of the service request comprises at least one of delay sensitivity and packet loss rate limit of the data message, and the attribute information of the gateway comprises the throughput limit of the WAN interface of the wide area network;
and the sending module is also used for sending a service request to the server according to the first configuration strategy.
In some implementations of the second aspect, the sending module is further configured to send, by the OLT, a service request to the server.
In some implementations of the second aspect, the reply message includes a feature character and a traffic stream uniform resource locator URL;
and the sending module is further used for sending a response message to the terminal equipment according to a second configuration strategy when the characteristic characters are matched with a character library hash table in the preset information and the URL is matched with a URL library in the preset information, wherein the second configuration strategy is determined according to attribute information of the response message and attribute information of a gateway, the attribute information of the response message comprises at least one of time delay sensitivity and packet loss rate limit of a data message, and the attribute information of the gateway comprises throughput capacity of a WAN interface of a wide area network.
In some implementations of the second aspect, the receiving module is further configured to receive a response message generated by the server forwarded by the OLT according to the service request.
In a third aspect, an apparatus for guaranteeing an internet service bandwidth is provided, where the apparatus includes: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the first aspect and the method of internet traffic bandwidth guarantee in some implementations of the first aspect.
In a fourth aspect, there is provided a computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the first aspect, and a method of internet traffic bandwidth guarantee in some implementations of the first aspect.
The embodiment of the invention provides a data storage method, a device, equipment and a storage medium, which can be used for respectively matching the characteristic characters and a uniform resource locator URL of a service flow with preset information by configuring preset information with different priorities according to different services, allowing the request to be sent to a server when the characteristic characters and the URL are matched and pass, receiving a response message sent by the server according to the service request and sending the response message to a terminal device, thereby solving the problem that service flow data packets are difficult to accurately distinguish and realizing accurate distinguishing of the service flow data packets.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an internet service bandwidth guarantee system according to an embodiment of the present invention;
fig. 2 is an interaction schematic diagram of a method for guaranteeing internet service bandwidth according to an embodiment of the present invention;
fig. 3 is an interactive schematic diagram of another method for guaranteeing internet service bandwidth according to an embodiment of the present invention;
fig. 4 is a device for guaranteeing internet service bandwidth according to an embodiment of the present invention;
fig. 5 is a block diagram of a hardware architecture of a computing device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The internet is increasingly developed, data services of various networks are more and more diversified, and gateways are more and more important as important actual carrier interfaces of the services. The gateway is a home network interface unit, which realizes the intercommunication of a plurality of devices in a home local area network accessing to an external network, and can be used for home automation, home entertainment, energy consumption control, security protection and other aspects, and for home application scenes, the gateway can also be called an intelligent home gateway.
Common internet services are e-commerce, distance education, online gaming, live video on demand, and so on. Video playing is often the service occupying the largest bandwidth of the user. With higher and higher video resolution, the requirements on network service quality are higher and higher from standard definition to high definition and then to super definition.
However, when actual internet service data exchange occurs, because network data packets are mostly encrypted, it is difficult for a general gateway to locate and divide specific service flows to distinguish whether the data packets belong to video, game or web page (web page also has web game, web video and other services), and a jam condition of data transmission caused by failure to identify specific service types may occur, which causes network congestion.
Therefore, the current method has the problem that the service flow data packet is difficult to accurately distinguish.
In order to solve the problem that in the method, when a network is congested, the service flow data packet is difficult to accurately distinguish, therefore, the embodiment of the invention provides a method, a device, equipment and a storage medium for guaranteeing the service bandwidth of the internet.
The technical scheme provided by the embodiment of the invention is described below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an internet service bandwidth guarantee system according to an embodiment of the present invention.
As shown in fig. 1, the internet service bandwidth guarantee system includes a public network, an OLT, a gateway, a user device, wherein,
the public network can be connected with a physical host of the network application server, namely connected with an Internet service server. The internet service server is used for receiving resource requests initiated by users, and can provide corresponding service data such as network games, live television broadcast, video on demand, file downloading, surfing the internet and the like according to different resource requests.
And the optical line terminal (Optical Line Terminal, OLT) is used for connecting with the public network by using a network cable, converting the electric signal of the public network into an optical signal and sending the Ethernet data to the gateway in a broadcasting mode by using an optical fiber. In addition, the OLT may also initiate and control the ranging process, record ranging information, and allocate bandwidth to the gateway, i.e. control the start time and the size of the transmission window for the gateway to transmit data.
One end of the gateway is connected with the user equipment in a wired or wireless mode, can collect and cache service requests which are required to be sent by the user, and sends the service requests to the OLT end according to the allocated sending window. The service request may include a characteristic character and a uniform resource locator URL of the service stream, and the gateway may match the characteristic character and URL included in the service request with preset information, respectively, and send the service request to the server after the matching is passed. The other end of the gateway is connected with the public network through the OLT and is used for selectively receiving the broadcast sent by the OLT. And if the gateway needs to receive the data, the gateway receives the response to the OLT.
In addition, the gateway is also a message interaction center between the terminal and the server, and the gateway can adjust the service range and adjust bandwidth fluctuation flexibly by acquiring the stored network configuration parameters corresponding to the current service quality of the user equipment according to the service quality adjustment request information initiated by the internet application and adjusting the service quality of the user equipment from the lowest bandwidth value of the application to the current bandwidth value of the user.
The user equipment and the gateway are connected with the gateway in a wired or wireless mode and are used for sending a resource request to the server through the gateway and receiving service data forwarded by the gateway from the server.
The internet service bandwidth guarantee system provided by the embodiment of the invention can match the characteristic characters and the URL included in the service request with the preset information respectively, allow the request to be sent to the server when the characteristic characters and the URL are matched, receive the response message sent by the server according to the service request, and send the response message to the terminal equipment, thereby solving the problem that the service stream data packet is difficult to accurately distinguish, realizing the accurate distinguishing of the service stream data packet, and further realizing the judgment of the downlink data stream.
Fig. 2 is an interaction schematic diagram of a method for guaranteeing internet service bandwidth according to an embodiment of the present invention. The execution body of the interaction diagram comprises user equipment, a gateway and a server.
As shown in fig. 2, the method for guaranteeing the internet service bandwidth may include:
s101: the user equipment sends a service request to the gateway.
The service request may be a service request for application software of the user equipment initiated by a user operating on the application software. The service request may include a characteristic character and a service flow uniform resource locator URL, where the characteristic character may be understood as identification information of the service request corresponding to the application software, and the URL may be understood as a destination address of the service request corresponding to the application software, that is, a server address of the service request corresponding to the application software.
For example, if the user makes a video play request of the video application at the user device, the video play request of the video application is the service request in S101. The feature characters can be regarded as identification information of a video playing request corresponding to the video application and are used for identifying the video playing request as the video application; the URL may be regarded as a destination address of a video play request corresponding to the video application, that is, may be server address information of the video application.
In addition, before executing S101 the ue sends a service request to the gateway, the network bandwidth may be measured, and by using means such as an internet packet explorer (Packet Internet Groper, PING), a domain name system (service) protocol (Domain Name System, DNS) test, etc., the network delay (such as a sending delay, a propagation delay, a processing delay, and a queuing delay), jitter, a packet loss rate, and a bandwidth peak, the most suitable downlink bandwidth value in the calculation period of the comprehensive operation is calculated, so that the quality of service (Quality of Service, qoS) technology can be implemented for the downlink data stream.
S102: and the gateway respectively matches the characteristic characters and the URL with preset information.
The preset information comprises a character library hash table and a URL library.
Specifically, the preset information can be set by configuring an internet service requiring bandwidth guarantee in the gateway. For example, setting service priorities of software services such as video, game and shopping, the service priorities may include information including characteristic characters of the services and URLs of the services and priority information corresponding to the characteristic characters and URLs.
The gateway respectively matches the characteristic characters and the URL with preset information, so that the data stream of the service with high priority is ensured to have enough uplink and downlink bandwidths to be transmitted to the user equipment when the network is congested.
Specifically, the process of matching the feature character and the URL with the preset information by the gateway may include matching the feature character with the word Fu Kuha table, and matching the URL with the URL library, and executing S103 to send a service request including the feature character and the service flow uniform resource locator URL to the server when both match is successful.
In one embodiment, the feature character and URL are respectively matched with the preset information, and when both match is successful, the service request is considered to be of high priority, so that the service request is transferred to the message queue for queuing, and S103 is performed to send the service request to the server.
In one embodiment, the feature character and the URL are respectively matched with the preset information, and when the matching is unsuccessful, that is, at least one of the feature character and the URL is unsuccessful, the priority is reduced, and the service request is sent to the message buffer area to wait for the priority polling proportion to be sent. The priority polling proportion can be understood as that when a user uses a terminal device to perform internet service, different bandwidths are allocated to the services with different priorities according to the priorities among different services, and the services with different priorities can send the service request to a server according to the different bandwidths.
S103: the gateway sends a service request to the server.
Specifically, the process of sending the service request to the server by the gateway may include establishing a virtual interface ifb0 of a priority dequeue, setting a redirection channel, performing traffic shaping, that is, performing bandwidth adjustment according to the service request, determining a proportional configuration policy according to attribute information of the service request and attribute information of the gateway, and forwarding a data packet according to the proportional configuration policy. The attribute information of the service request may include delay sensitivity of the data packet, packet loss rate limit of the data packet, and the like, and the attribute information of the gateway may include throughput limit of the WAN interface of the wide area network, and the like. Wherein the proportional configuration policy may also be referred to as a first configuration policy.
Fig. 3 is an interactive schematic diagram of another method for guaranteeing internet service bandwidth according to an embodiment of the present invention. The interaction diagram further includes an OLT.
The specific process of S103 may be as shown in fig. 3, and specifically includes: the gateway sends a service request to the OLT, the OLT sends the service request to the public network, and the public network searches a server corresponding to the service request according to a destination address in the service request, so as to complete the process of sending the service request to the server by the gateway. Wherein the public network can be connected with a physical host of the server.
In addition, the gateway may collect and cache ethernet data such as a service request that needs to be sent by the user, and send the cached data to the OLT according to the allocated interface, for example, the virtual interface ifb0 newly created in S103. In addition, the gateway can also be a message interaction center between the user equipment and the server, can adjust the service quality of the user equipment from the current bandwidth value of the user of the application to a guaranteed bandwidth value according to the service quality adjustment request information initiated by the Internet application on the user equipment and by acquiring the stored network configuration parameters corresponding to the current service quality of the user equipment, and realizes the elastic adjustment of the service range and the adjustment of bandwidth fluctuation.
S104: the server generates a response message according to the service request.
Specifically, the server may be configured to receive a resource request, such as a service request initiated by a user, and provide services, such as online game, live television broadcast, video on demand, file download, surfing the internet, and the like, to the user equipment.
The server can generate a response message for the service request according to the service request, and the response message can be used for providing service data support for the user equipment so as to realize services such as network game, live television broadcast, video on demand, file downloading, surfing the internet and the like on the user equipment.
S105: the server sends a reply message to the gateway.
Wherein the reply message may include the feature character and the traffic stream uniform resource locator URL.
After S104 the server generates a response message according to the service request, S105 is executed: the specific process of the server sending the response message to the gateway is shown in fig. 3, where the server sends the response message to the public network, the public network sends the response message to the OLT, and the OLT forwards the response message to the gateway.
The OLT may send ethernet data to the gateway in a broadcast manner, initiate and control a ranging process, record ranging information, allocate bandwidth to the gateway, and control a data stream by controlling a start time and a send window size of the gateway to send the data.
S106: and the gateway respectively matches the characteristic characters and the URL with preset information.
When the gateway receives the response message sent by the server, the characteristic characters and the URL included in the response message are respectively matched with preset information.
The specific process comprises the following steps: when the response message reaches the interface message of the gateway and is put into the queue, the gateway matches the characteristic characters included in the response message with the character library hash table included in the preset information, and then matches the service flow uniform resource locator URL included in the response message with the URL library included in the preset information. When the matches are all passed, forwarding the response message according to the redirection channel set in S103 and the proportional configuration policy. The proportion configuration policy is also determined according to the attribute information of the service request and the attribute information of the gateway. Specifically, the attribute information of the service request may include delay sensitivity of the data packet, packet loss rate limitation of the data packet, and the attribute information of the gateway may include throughput of the WAN interface of the wide area network.
Optionally, when the characteristic characters and the URL are respectively matched with the preset information, if at least one of the characteristic characters and the URL is not successfully matched, the response message may be transferred into the queue buffer area, and waiting for the priority polling proportion to be sent. If the downlink bandwidth is overloaded, packet loss processing can be performed on the response message.
In addition, the gateway can also realize selective reception of the broadcast sent by the OLT, and if the broadcast data needs to be received, the gateway receives a response to the OLT.
Optionally, in an embodiment, the downlink network speed may also be measured, so as to implement the downlink QOS technology of the gateway. The data flow is classified and managed by the downlink QOS technology, and after the message is classified, the classified message can be applied to different classifications according to the QOS characteristics of the classified message, so that congestion management, traffic shaping and the like based on classes are realized. When the downlink network speed is measured, web pages, games and video addressing speed measurement and HTTP downloading speed measurement can be carried out at intervals of preset periods, the reasonable downlink bandwidth value is measured, if the condition that the bandwidth occupancy rate is overlarge occurs, the speed measurement request is paused, and idle speed measurement is carried out. Wherein the preset period may include 60 minutes.
The purpose of entering the idle speed measurement is to prevent the speed measurement from consuming bandwidth when the bandwidth is full. When idle speed measurement is carried out, the device stops the speed measurement of the last period, enters an idle speed measurement state, enters the speed measurement state when the bandwidth occupancy rate is detected to be less than a threshold value, waits until the speed measurement is finished, sets the time for the next speed measurement after a preset period, and resumes the period test state so as to continuously measure the downlink network speed according to the period. The threshold may include 50%, or may be adjusted according to actual conditions, and the preset period may include 60 minutes.
S107: the gateway sends a response message to the terminal device.
The response message may include a data packet requested by the service request, so as to support the user equipment to perform normal operation, for example, to implement video playing, sound playing, picture displaying, haptic feedback, and the like of the user equipment.
Taking the service request of the a application for video playing as an example, the response message may include the video data requested by the a application, and the characteristic characters of the a application and the service flow uniform resource locator URL of the response message, where the URL may be understood as the destination address of the response message, that is, may be the address of the terminal device.
Taking the service request of the application a for video playing as an example, the response message requested by the service request of the application a can be used for the application a to play the video.
Common drop-down user devices may include televisions, computers, tablets, cell phones, and the like.
In one embodiment, the quality of service adjustment information sent by the user equipment may include the best quality of service required for the internet application. For example, taking an a application for video playback as an example, video playback for the a application includes standard definition video playback and high definition video playback. Assuming that the user selects to play the high-definition video when operating the video playing through the user equipment, the response message sent by the server may include the identifier of the high-definition video playing. The high-definition video requires the player to adapt to the bandwidth service quality meeting the requirement of the high-definition video, and if the bandwidth service quality of the player is lower than the bandwidth service quality meeting the requirement of the high-definition video at the moment, the video playing is not smooth or is switched to the video with low definition for playing.
In addition, in one embodiment, in the method for guaranteeing the bandwidth of the internet service provided by the embodiment of the invention, the normal performance of other services is not affected while the bandwidth of one internet service (such as smooth video playing) is guaranteed. For example, the occupied bandwidth is lower for voice service, but the low time delay and low jitter of the voice service are required to be ensured. For interactive network television (Internet Protocol Television, IPTV) and media services smart television box television (OTT) services, high bandwidth, low latency and low jitter networks are required. And peer-to-peer (P2P) downloading and uploading have relatively large throughput requirements. Therefore, when the bandwidth of an internet service (such as smooth video playing) is ensured, the requirements of other services are also considered, so that the other services can be ensured to be normally performed.
The method for guaranteeing the bandwidth of the internet service provided by the embodiment of the invention can be used for solving the problem that service flow data packets are difficult to accurately distinguish, realizing the accurate distinguishing of the service flow data packets and further realizing the judgment of downstream data flow by respectively matching the characteristic characters and the URL of the service flow with the preset information according to different service configuration and then allowing the request to be sent to a server when the characteristic characters and the URL are matched and pass, receiving response information sent by the server according to the service request and sending the response information to the terminal equipment.
Fig. 4 is a device for guaranteeing internet service bandwidth according to an embodiment of the present invention. As shown in fig. 4, the apparatus for guaranteeing internet service bandwidth may include: a receiving module 401, a transmitting module 402, and a processing module 403.
The receiving module 401 is configured to receive a service request sent by a terminal device, where the service request includes a feature character and a service flow uniform resource locator URL.
And a sending module 402, configured to send a service request to the server when the feature character and the URL match with the preset information.
The receiving module 401 is further configured to receive a response message sent by the server according to the service request.
The sending module 402 is further configured to send a response message to the terminal device.
The preset information comprises a character library hash table and a URL library.
The sending module 402 is further configured to send a service request to the server when the feature character matches the character library hash table and the URL matches the URL library.
The processing module 403 is configured to determine a first configuration policy according to attribute information of a service request and attribute information of a gateway, where the attribute information of the service request includes at least one of delay sensitivity of a data packet and packet loss rate limit of the data packet, and the attribute information of the gateway includes a WAN interface throughput limit of a wide area network.
The sending module 402 is further configured to send a service request to the server according to the first configuration policy.
The sending module 402 is further configured to send a service request to the server through the OLT.
The reply message includes the feature character and the traffic stream uniform resource locator URL.
The sending module 402 is further configured to send a response message to the terminal device according to a second configuration policy when the feature character passes through the matching of the character library hash table in the preset information and the URL passes through the matching of the URL library in the preset information, where the second configuration policy is determined according to attribute information of the response message and attribute information of the gateway, the attribute information of the response message includes at least one of delay sensitivity of the data packet and packet loss rate limit, and the attribute information of the gateway includes throughput capacity of the WAN interface of the wide area network.
The receiving module 401 is further configured to receive a response message generated by the server forwarded by the OLT according to the service request.
It can be understood that each module in the device for guaranteeing the internet service bandwidth shown in fig. 4 has a function of implementing each step in the gateway side in fig. 2, and can achieve a corresponding technical effect, which is not described herein for brevity.
The device for guaranteeing the internet service bandwidth can be used for solving the problem that service flow data packets are difficult to accurately distinguish, realizing the accurate distinguishing of the service flow data packets and further realizing the judgment of downstream data flow by respectively matching the characteristic characters and the URL included in the service request with the preset information according to different service configuration and then allowing the request to be sent to the server when the characteristic characters and the URL are matched and pass, receiving the response message sent by the server according to the service request and sending the response message to the terminal equipment.
Fig. 5 is a block diagram of a hardware architecture of a computing device according to an embodiment of the present invention. As shown in fig. 5, computing device 500 includes an input device 501, an input interface 502, a central processor 503, a memory 504, an output interface 505, and an output device 506. The input interface 502, the central processor 503, the memory 504, and the output interface 505 are connected to each other through a bus 510, and the input device 501 and the output device 506 are connected to the bus 510 through the input interface 502 and the output interface 505, respectively, and further connected to other components of the computing device 500.
Specifically, the input device 501 receives input information from the outside, and transmits the input information to the central processor 503 through the input interface 502; the central processor 503 processes the input information based on computer executable instructions stored in the memory 504 to generate output information, temporarily or permanently stores the output information in the memory 504, and then transmits the output information to the output device 506 through the output interface 505; output device 506 outputs the output information to the outside of computing device 500 for use by a user.
That is, the computing device shown in fig. 5 may also be implemented as an internet service bandwidth guaranteed device, which may include: a memory storing computer-executable instructions; and a processor, which can implement the method for guaranteeing the internet service bandwidth provided by the embodiment of the invention when executing the computer executable instructions.
Embodiments of the present invention also provide a computer readable storage medium having computer program instructions stored thereon; the method for guaranteeing the Internet service bandwidth provided by the embodiment of the invention is realized when the computer program instructions are executed by the processor.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.
Claims (14)
1. A method for guaranteeing internet service bandwidth, the method comprising:
performing network bandwidth speed measurement and determining network delay, jitter, packet loss rate and bandwidth crest;
obtaining the most suitable downlink bandwidth value in the time period according to the network time delay, jitter, packet loss rate and bandwidth crest comprehensive operation;
receiving a service request sent by a terminal device, wherein the service request comprises a characteristic character and a service flow Uniform Resource Locator (URL), the characteristic character comprises identification information of the service request corresponding to application software, and the URL comprises a destination address of the service request corresponding to the application software;
when the characteristic characters and the URL are matched with preset information, sending the service request to a server;
when at least one of the characteristic characters or the URLs is not successfully matched, the priority of the service request is reduced, the service request is sent to a message buffer area to wait for the transmission of a priority polling proportion, wherein the priority polling proportion comprises the priority among different services when a user uses terminal equipment to carry out internet service, different bandwidths are allocated to the services with different priorities according to the bandwidth condition at the moment, and the service with different priorities sends the service request to a server according to the different bandwidths;
receiving a response message sent by the server according to the service request;
and sending the response message to the terminal equipment.
2. The method of claim 1, wherein the preset information includes a character library hash table and a URL library; and when the characteristic characters and the URL are matched with preset information, sending the service request to a server, wherein the service request comprises the following steps:
and when the characteristic characters are matched with the character library hash table and pass, and the URL is matched with the URL library, sending the service request to a server.
3. The method of claim 1, wherein the sending the service request to the server comprises:
determining a first configuration strategy according to the attribute information of the service request and the attribute information of a gateway, wherein the attribute information of the service request comprises at least one of delay sensitivity and packet loss rate limit of a data message, and the attribute information of the gateway comprises a throughput limit of a WAN interface of a wide area network;
and sending the service request to a server according to the first configuration strategy.
4. The method of claim 1, wherein the sending the service request to a server further comprises:
and sending the service request to a server through an Optical Line Terminal (OLT).
5. The method according to any of claims 1 to 4, wherein the reply message comprises a feature character and a traffic stream uniform resource locator URL; the sending the response message to the terminal equipment comprises the following steps:
and when the characteristic characters are matched with a character library hash table in the preset information and the URL is matched with a URL library in the preset information, sending the response message to the terminal equipment according to a second configuration strategy, wherein the second configuration strategy is determined according to attribute information of the response message and attribute information of a gateway, the attribute information of the response message comprises at least one of time delay sensitivity and packet loss rate limit of a data message, and the attribute information of the gateway comprises throughput of a WAN interface of a wide area network.
6. The method according to claim 1, wherein the receiving the response message sent by the server according to the service request includes:
and receiving a response message generated by the server forwarded by the optical line terminal OLT according to the service request.
7. An apparatus for guaranteeing internet service bandwidth, the apparatus comprising:
the calculation module is used for carrying out network bandwidth speed measurement, determining network delay, jitter, packet loss rate and bandwidth crest, and comprehensively calculating according to the network delay, the jitter, the packet loss rate and the bandwidth crest to obtain the most suitable downlink bandwidth value in the time period;
the receiving module is used for receiving a service request sent by the terminal equipment, wherein the service request comprises a characteristic character and a service flow Uniform Resource Locator (URL), the characteristic character comprises identification information of the service request corresponding to the application software, and the URL comprises a destination address of the service request corresponding to the application software;
the sending module is used for sending the service request to the server when the characteristic characters and the URL are matched with preset information, and reducing the priority of the service request when at least one of the characteristic characters or the URL is not matched successfully, and sending the service request to the message buffer area to wait for the transmission of the priority polling proportion, wherein the priority polling proportion comprises the priority among different services when a user uses terminal equipment to carry out internet service, different bandwidths are allocated to the services with different priorities according to the bandwidth condition at the moment, and the service with different priorities is sent to the server according to the different bandwidths;
the receiving module is further used for receiving a response message sent by the server according to the service request;
the sending module is further configured to send the response message to the terminal device.
8. The apparatus of claim 7, wherein the preset information comprises a character library hash table and a URL library;
and the sending module is further used for sending the service request to a server when the characteristic characters are matched with the character library hash table and pass through the URL library.
9. The apparatus of claim 7, wherein the apparatus further comprises:
the processing module is used for determining a first configuration strategy according to the attribute information of the service request and the attribute information of the gateway, wherein the attribute information of the service request comprises at least one of delay sensitivity and packet loss rate limit of a data message, and the attribute information of the gateway comprises a throughput limit of a WAN interface of a wide area network;
the sending module is further configured to send the service request to a server according to the first configuration policy.
10. The apparatus of claim 7, wherein the device comprises a plurality of sensors,
the sending module is further configured to send the service request to a server through an OLT.
11. The apparatus according to any one of claims 7 to 10, wherein the reply message comprises a feature character and a traffic stream uniform resource locator URL;
the sending module is further configured to send the response message to the terminal device according to a second configuration policy when the characteristic character passes through the character library hash table in the preset information in a matching manner, and the URL passes through the URL library in the preset information in a matching manner, where the second configuration policy is determined according to attribute information of the response message and attribute information of a gateway, the attribute information of the response message includes at least one of delay sensitivity and packet loss rate limit of a data packet, and the attribute information of the gateway includes throughput capacity of a WAN interface of a wide area network.
12. The apparatus of claim 7, wherein the device comprises a plurality of sensors,
the receiving module is further configured to receive a response message generated by the server forwarded by the OLT according to the service request.
13. An apparatus for guaranteeing bandwidth of internet service, the apparatus comprising: a processor and a memory storing computer program instructions;
the method for implementing the internet service bandwidth guarantee according to any one of claims 1-6 when the processor executes the computer program instructions.
14. A computer storage medium having stored thereon computer program instructions which when executed by a processor implement the method of internet traffic bandwidth guarantee according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010679748.4A CN114024917B (en) | 2020-07-15 | 2020-07-15 | Method, device, equipment and storage medium for guaranteeing internet service bandwidth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010679748.4A CN114024917B (en) | 2020-07-15 | 2020-07-15 | Method, device, equipment and storage medium for guaranteeing internet service bandwidth |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114024917A CN114024917A (en) | 2022-02-08 |
CN114024917B true CN114024917B (en) | 2024-04-09 |
Family
ID=80053948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010679748.4A Active CN114024917B (en) | 2020-07-15 | 2020-07-15 | Method, device, equipment and storage medium for guaranteeing internet service bandwidth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114024917B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979013B (en) * | 2022-05-17 | 2023-12-05 | 南京邮电大学 | Multi-mode service-oriented transmission mode selection and resource allocation method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006012789A1 (en) * | 2004-08-05 | 2006-02-09 | Huawei Technologies Co., Ltd. | Method, apparatus, edge router and system for providing a guarantee of the quality of service (qos) |
CN101019387A (en) * | 2005-01-17 | 2007-08-15 | 美国博通公司 | Network user priority assignment system |
CN102638853A (en) * | 2012-03-31 | 2012-08-15 | 南京邮电大学 | QoS (Quality of Service) method for guaranteeing multi-service backhaul of home NodeB |
WO2015100615A1 (en) * | 2013-12-31 | 2015-07-09 | 华为技术有限公司 | Method and apparatus for processing service packet, and gateway device |
WO2016056967A1 (en) * | 2014-10-10 | 2016-04-14 | Telefonaktiebolaget L M Ericsson (Publ) | Method and arrangements for prioritization of traffic flows in a telecommunication network |
CN107689928A (en) * | 2017-08-15 | 2018-02-13 | 中国联合网络通信集团有限公司 | Data service handling method and device |
CN108092909A (en) * | 2016-11-21 | 2018-05-29 | 中国移动通信有限公司研究院 | Data flow control method, apparatus and system |
CN108156628A (en) * | 2016-12-02 | 2018-06-12 | 中兴通讯股份有限公司 | A kind of method, apparatus and system of resource allocation |
CN108848204A (en) * | 2018-07-10 | 2018-11-20 | 新华三信息安全技术有限公司 | A kind of NAT business immediate processing method and device |
CN109246023A (en) * | 2018-11-16 | 2019-01-18 | 锐捷网络股份有限公司 | Flow control methods, the network equipment and storage medium |
CN111049757A (en) * | 2018-10-12 | 2020-04-21 | 华为技术有限公司 | Service flow processing method and device |
-
2020
- 2020-07-15 CN CN202010679748.4A patent/CN114024917B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006012789A1 (en) * | 2004-08-05 | 2006-02-09 | Huawei Technologies Co., Ltd. | Method, apparatus, edge router and system for providing a guarantee of the quality of service (qos) |
CN101019387A (en) * | 2005-01-17 | 2007-08-15 | 美国博通公司 | Network user priority assignment system |
CN102638853A (en) * | 2012-03-31 | 2012-08-15 | 南京邮电大学 | QoS (Quality of Service) method for guaranteeing multi-service backhaul of home NodeB |
WO2015100615A1 (en) * | 2013-12-31 | 2015-07-09 | 华为技术有限公司 | Method and apparatus for processing service packet, and gateway device |
WO2016056967A1 (en) * | 2014-10-10 | 2016-04-14 | Telefonaktiebolaget L M Ericsson (Publ) | Method and arrangements for prioritization of traffic flows in a telecommunication network |
CN108092909A (en) * | 2016-11-21 | 2018-05-29 | 中国移动通信有限公司研究院 | Data flow control method, apparatus and system |
CN108156628A (en) * | 2016-12-02 | 2018-06-12 | 中兴通讯股份有限公司 | A kind of method, apparatus and system of resource allocation |
CN107689928A (en) * | 2017-08-15 | 2018-02-13 | 中国联合网络通信集团有限公司 | Data service handling method and device |
CN108848204A (en) * | 2018-07-10 | 2018-11-20 | 新华三信息安全技术有限公司 | A kind of NAT business immediate processing method and device |
CN111049757A (en) * | 2018-10-12 | 2020-04-21 | 华为技术有限公司 | Service flow processing method and device |
CN109246023A (en) * | 2018-11-16 | 2019-01-18 | 锐捷网络股份有限公司 | Flow control methods, the network equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114024917A (en) | 2022-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109640348B (en) | Multi-service MEC network architecture, and method and device for processing multi-service data stream | |
CN107347198B (en) | Speed limiting method, speed limiting control node and speed limiting equipment | |
US9998383B2 (en) | Network latency optimization | |
EP3780542B1 (en) | Data transmission method and device | |
EP3907955A1 (en) | Data transmission method and apparatus, computer readable medium, and electronic device | |
JP5590146B2 (en) | Service quality management system and method | |
WO2008147578A1 (en) | System and/or method for client- driven server load distribution | |
US11411865B2 (en) | Network resource scheduling method, apparatus, electronic device and storage medium | |
CN110445723B (en) | Network data scheduling method and edge node | |
WO2006074832A1 (en) | On-demand group communication services with quality of service (qos) guarantees | |
WO2017125017A1 (en) | Method for adjusting cache content, device, and system | |
CN114157603A (en) | Congestion control method, device, equipment and storage medium | |
JP2003143216A (en) | Method of transmitting packets via telecommunication network using ip protocol | |
US20190394789A1 (en) | Enforcing station fairness with mu-mimo deployments | |
Havey et al. | Receiver driven rate adaptation for wireless multimedia applications | |
CN113225196B (en) | Service level configuration method and device | |
US10965605B2 (en) | Communication system, communication control method, and communication apparatus | |
CN114024917B (en) | Method, device, equipment and storage medium for guaranteeing internet service bandwidth | |
Arisu et al. | Game of protocols: Is QUIC ready for prime time streaming? | |
Nam et al. | Towards dynamic network condition-aware video server selection algorithms over wireless networks | |
US11240161B2 (en) | Data communication apparatus for high-speed identification of adaptive bit rate, communication system, data communication method, and program | |
JP2008294851A (en) | Pon system | |
Zhao et al. | Maximizing the stable throughput of high-priority traffic for wireless cyber-physical systems | |
JP2003242065A (en) | Contents selection, contents request acceptance control, congestion control method, contents control device, network resource control server device, portal server device and edge device | |
CN111641698B (en) | Data statistical method, system, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |