CN109951399A - Processing method, server and the interchanger of request of data - Google Patents

Processing method, server and the interchanger of request of data Download PDF

Info

Publication number
CN109951399A
CN109951399A CN201910228011.8A CN201910228011A CN109951399A CN 109951399 A CN109951399 A CN 109951399A CN 201910228011 A CN201910228011 A CN 201910228011A CN 109951399 A CN109951399 A CN 109951399A
Authority
CN
China
Prior art keywords
priority
request
data
domain name
server
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.)
Pending
Application number
CN201910228011.8A
Other languages
Chinese (zh)
Inventor
陈志艺
王开辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201910228011.8A priority Critical patent/CN109951399A/en
Publication of CN109951399A publication Critical patent/CN109951399A/en
Pending legal-status Critical Current

Links

Abstract

The present embodiments relate to network technique fields, disclose processing method, server and the interchanger of a kind of request of data.The processing method of request of data includes: to obtain the domain-name information of the included domain name of request of data when receiving request of data;Obtain the corresponding priority configuration of domain-name information;Priority is configured and is added in the corresponding response contents of request of data, and the interchanger that server will be sent to comprising the response contents that priority configures, so that interchanger configures transmitted response content according to priority., can be in flow congestion in the present invention, the preferential corresponding response contents of request of data for forwarding high priority have ensured the flow of the request of data of high priority, the flow of the request of data of high priority are avoided to be dropped.

Description

Processing method, server and the interchanger of request of data
Technical field
The present embodiments relate to network technique field, in particular to a kind of processing method of request of data, server with And interchanger.
Background technique
Content distributing network (Content Delivery Network, abbreviation CDN), is the content constructed on network Distribution network passes through the function such as the load balancing, content distribution, scheduling of central platform by the Edge Server for being deployed in various regions It can module, content needed for obtaining user nearby, reduction network congestion, raising user's access response speed and hit rate.With The continuous promotion of CDN business, the flow of CDN node server constantly rise violently, and the discharge pattern of CDN node server also day Become complicated.
At least there are the following problems in the prior art for inventor's discovery: when the bandwidth traffic of CDN node server reaches peak When value, there is flow congestion in CDN node server, then can random drop related service flow.
Summary of the invention
The processing method for being designed to provide a kind of request of data, server and the interchanger of embodiment of the present invention, Can be in flow congestion, the preferential corresponding response contents of request of data for forwarding high priority have ensured the number of high priority According to the flow of request, the flow of the request of data of high priority is avoided to be dropped.
In order to solve the above technical problems, embodiments of the present invention provide a kind of processing method of request of data, application In server, method includes: to obtain the domain-name information of the included domain name of request of data when receiving request of data;Obtain domain The corresponding priority configuration of name information;Priority is configured and is added in the corresponding response contents of request of data, and will be comprising preferential The response contents of grade configuration are sent to the interchanger of server, so that interchanger configures transmitted response content according to priority.
Embodiments of the present invention additionally provide a kind of server, comprising: at least one processor;And at least one The memory of a processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs quilt At least one processor executes, so that at least one processor is able to carry out the processing method of above-mentioned request of data.
Embodiments of the present invention additionally provide a kind of processing method of request of data, are applied to interchanger, and method includes: When receiving the request of data of client transmission, request of data is forwarded to server, so that server obtains request of data The domain-name information of included domain name, then the corresponding priority configuration of domain-name information is obtained, and priority is configured into addition data and is asked It asks in corresponding response contents;Receive the response contents including priority configuration that server is sent;Turn according to priority configuration Send out response contents.
Embodiments of the present invention additionally provide a kind of interchanger, comprising: at least one processor;And at least one The memory of a processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs quilt At least one processor executes, so that at least one processor is able to carry out the processing method of above-mentioned request of data.
Embodiment of the present invention in terms of existing technologies, when receiving request of data, ask server by parsing data It asks, obtains the domain-name information of the included domain name of request of data, then obtain the corresponding priority configuration of domain-name information, priority is matched It sets and is added in the corresponding response contents of request of data, and the exchange that server will be sent to comprising the response contents that priority configures Machine enables interchanger to configure transmitted response content according to priority, so as to preferentially turn in server traffic congestion It sends out high-priority data and requests corresponding response contents, ensured the flow of high-priority data request, avoided high priority The flow of request of data is by random drop.
In addition, when obtaining the domain-name information of the included domain name of request of data, further includes: count the bandwidth of domain name;It is inciting somebody to action Before priority configuration is added in the corresponding response contents of request of data, further includes: according to the bandwidth of domain name, adjust domain-name information Corresponding priority configuration;Priority is configured and is added in the corresponding response contents of request of data, specifically: it will be adjusted excellent First grade configuration is added in the corresponding response contents of request of data.In present embodiment, can dynamically it be adjusted according to the bandwidth of domain name The corresponding priority configuration of whole domain-name information, improves the flexibility ratio of priority adjustment, is ensureing high-priority data request Flow while, realize the flow control of domain name, avoid high-priority data request burst flow occupy server mistake More flows.
In addition, according to the bandwidth of domain name, the corresponding priority configuration of adjustment domain-name information, comprising: judge domain-name information pair Whether the priority configuration answered is absolute priority;If the corresponding priority of domain-name information is configured to absolute priority, domain is judged Whether the bandwidth of name is greater than preset bandwidth threshold;It is if the band of domain name is wider than preset bandwidth threshold, domain-name information is corresponding Priority configuration be adjusted to priority weights grade.In present embodiment, a kind of bandwidth according to domain name, adjustment domain name letter are provided Cease the specific implementation of corresponding priority configuration.
In addition, after the corresponding priority of domain name is adjusted to priority weights grade, further includes: periodic statistics domain name Bandwidth, and judge whether the bandwidth of domain name is greater than bandwidth threshold;If the bandwidth of domain name is less than or equal to bandwidth threshold, domain name is believed It ceases corresponding priority configuration and is adjusted to absolute priority.In present embodiment, bandwidth threshold can be restored in the bandwidth of domain name When value is following, the corresponding priority configuration of the domain-name information is adjusted to absolute priority, domain-name information pair is furthermore achieved The dynamic adjustment for the priority configuration answered.
In addition, obtaining the corresponding priority configuration of domain-name information, comprising: judge that domain-name information is matched with the presence or absence of priority It sets;If there are priority configurations for domain-name information, according to the corresponding relationship of preset domain-name information and priority configuration, acquisition domain name The corresponding priority configuration of information.Present embodiments provide for a kind of specific realities of the corresponding priority configuration of acquisition domain-name information Existing mode.
In addition, priority is configured to absolute priority;Transmitted response content is configured according to priority, specifically: when preferential When grade is configured to absolute priority, preferential transmitted response content.Present embodiments provide for the priority of response contents to be configured to When absolute priority, the rule of interchanger transmitted response content.
In addition, priority is configured to priority weights grade;Transmitted response content is configured according to priority, is specifically included: judgement Whether the bandwidth of domain name is less than or equal to preset bandwidth threshold;If the bandwidth of domain name is less than or equal to preset bandwidth threshold, Preferential transmitted response content.When being configured to priority weights grade present embodiments provide for the priority of response contents, interchanger turns Send out the rule of response contents.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the specific flow chart of the processing method of the request of data in first embodiment according to the present invention;
Fig. 2 is the specific flow chart of the processing method of the request of data in second embodiment according to the present invention;
Fig. 3 is the specific flow chart of the processing method of the request of data in third embodiment according to the present invention;
Fig. 4 is the specific flow chart of the processing method of the request of data in the 4th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of processing methods of request of data, are applied to server, server can Think that the node server of CDN network, server are interacted by the client of interchanger and user;Specifically, data are asked The processing method asked is applied to the application layer of server, the application layer of server be application program in the client of user (just In the program of operation) service is provided, handle the request of user.
The detailed process of the processing method of the request of data of present embodiment is as shown in Figure 1.
Step 101, when receiving request of data, the domain-name information of the included domain name of request of data is obtained.
Specifically, be equipped with application program in the client of user, when user is when using application program, pass through client End issues a request of data, and forwards the request of data to server by interchanger, so that server is that user makes Application program provides corresponding service;Request of data includes accessed domain name and domain-name information, and server is receiving When to request of data, application layer parses the message of the request of data, obtains the domain-name information of the included domain name of request of data, domain name Information is for example including the domain name owner, domain name owner's grade etc..
Step 102, the corresponding priority configuration of domain-name information is obtained.
Specifically, the application layer of server judges that domain-name information is configured with the presence or absence of priority, that is, judge the institute of domain name Whether the person of having is configured with priority, if it is determined that the owner of domain name is configured with priority, according to preset domain-name information and preferentially The corresponding relationship of grade configuration obtains the corresponding priority configuration of domain-name information, that is, obtains the priority that domain name is configured;Wherein, The setting means of priority the grade of the domain name owner can be set according to.
Step 103, priority is configured and is added in the corresponding response contents of request of data, and will configured comprising priority Response contents are sent to the interchanger of server, so that interchanger configures transmitted response content according to priority.
Specifically, the application layer of server obtains the corresponding response contents of request of data, which can be clothes The network address of stored or server based on data request is obtained from source station in business device, the application layer of subsequent server For response contents configuration preference level, priority is configured and is added in the corresponding response contents of request of data, and will include priority The response contents of configuration are sent to the interchanger of server, so that interchanger is when receiving response contents, it can be according to preferential Grade configuration transmitted response content.For example, if the request of data that user is issued by client is the IP address of some websites, Then the corresponding response contents of the request of data are the web page contents of website, and the application layer of server adds in the web page contents of website Enter priority configuration, and be sent to the interchanger of server, so that interchanger is receiving response contents, detects web page contents In priority with postponing, according to the forward rule of priority configure-ack web page contents, web page contents are forwarded to user's Client.Wherein, the packet header in response contents can be set in priority configuration, so that interchanger is in detection response contents When, it can preferentially read the priority configuration in response contents.
In terms of existing technologies, server parses request of data, obtains present embodiment when receiving request of data The domain-name information of the included domain name of request of data is taken, then obtains the corresponding priority configuration of domain-name information, priority configuration is added The interchanger for entering in the corresponding response contents of request of data, and server being sent to comprising the response contents that priority configures, Interchanger is enabled to configure transmitted response content according to priority, so as to preferentially forward in server traffic congestion High-priority data requests corresponding response contents, has ensured the flow of high-priority data request, has avoided the number of high priority According to the flow of request by random drop, the priority scheduling of server traffic is realized in the application layer of server.
Second embodiment of the present invention is related to a kind of processing method of request of data.Second embodiment is real first The improvement on the basis of mode is applied, is mainly theed improvement is that: in present embodiment, the application layer dynamic adjustment domain name letter of server Cease corresponding priority configuration.
The detailed process of the processing method of the request of data of present embodiment is as shown in Figure 2.
Wherein, step 201, step 204, step 205 are roughly the same with to step 101 to step 103, no longer superfluous herein It states, is in place of main difference, increases step 202 and step 203, specific as follows:
Step 201, when receiving request of data, the domain-name information of the included domain name of request of data is obtained.
Specifically, be equipped with application program in the client of user, when user is when using application program, pass through client End issues a request of data, and forwards the request of data to server by interchanger, so that server is that user makes Application program provides corresponding service;Request of data includes accessed domain name and domain-name information, and server is receiving When to request of data, application layer parses the message of the request of data, obtains the domain-name information of the included domain name of request of data, domain name Information is for example including the domain name owner, domain name owner's grade etc..
Step 202, the bandwidth of domain name is counted.
Specifically, the flow information of the domain name in the application layer statistical data request of server, and according to the stream of domain name Measure the bandwidth that information calculates domain name.
Step 203, the corresponding priority configuration of domain-name information is obtained.
Specifically, the application layer of server judges that domain-name information is configured with the presence or absence of priority, that is, judge the institute of domain name Whether the person of having is configured with priority, if it is determined that the owner of domain name is configured with priority, according to preset domain-name information and preferentially The corresponding relationship of grade configuration obtains the corresponding priority configuration of domain-name information, that is, obtains the priority that domain name is configured;Wherein, The setting means of priority the grade of the domain name owner can be set according to.
Step 204, according to the bandwidth of domain name, the corresponding priority configuration of domain-name information is adjusted.
Specifically, bandwidth of the application layer of server according to the domain name of statistics, it is corresponding to dynamically adjust the domain name owner Priority configuration, that is, the priority of domain name is dynamically adjusted, so as to control the flow of the domain name.
Step 205, priority adjusted is configured and is added in the corresponding response contents of request of data, and will be comprising preferential The response contents of grade configuration are sent to the interchanger of server, so that interchanger configures transmitted response content according to priority.
Specifically, the application layer of server obtains the corresponding response contents of request of data, which can be clothes The network address of stored or server based on data request is obtained from source station in business device, the application layer of subsequent server For response contents configuration preference level, priority is configured and is added in the corresponding response contents of request of data, and will include priority The response contents of configuration are sent to the interchanger of server, so that interchanger is when receiving response contents, it can be according to preferential Grade configuration transmitted response content.For example, if the request of data that user is issued by client is the IP address of some websites, Then the corresponding response contents of the request of data are the web page contents of website, and the application layer of server adds in the web page contents of website Enter priority configuration, and be sent to the interchanger of server, so that interchanger is receiving response contents, detects web page contents In priority with postponing, according to the forward rule of priority configure-ack web page contents, web page contents are forwarded to user's Client.Wherein, the packet header in response contents can be set in priority configuration, so that interchanger is in detection response contents When, it can preferentially read the priority configuration in response contents.
For first embodiment, the application layer of server can be adjusted present embodiment according to the bandwidth of domain name The corresponding priority configuration of whole domain-name information, the priority for dynamically adjusting domain name is realized in application layer, improves priority The flexibility ratio of adjustment realizes the dynamic control of domain name flow, keeps away while having ensured the flow of high-priority data request The burst flow for exempting from high-priority data request occupies the excessive flow of server.
Third embodiment of the invention is related to a kind of processing method of request of data, and third embodiment is implemented second Refinement on the basis of mode, main refinement place are: in present embodiment, providing a kind of bandwidth according to domain name, adjust The specific embodiment of the corresponding priority configuration of domain-name information.
The detailed process of the processing method of the request of data of present embodiment is as shown in Figure 3.
Wherein, step 301 is roughly the same to step 203 with step 201 to step 303, and details are not described herein, main difference Place is that step 304 includes following sub-step:
Sub-step 3041 judges whether the corresponding priority configuration of domain-name information is absolute priority;If so, entering son Step 3042;If it is not, then entering step 305.
Specifically, the corresponding priority configuration of domain-name information in request of data determines in the response of the request of data The forward rule of appearance, priority configuration include absolute priority and priority weights grade;Server first judges that domain-name information is corresponding Whether priority configuration is absolute priority, if the corresponding priority of domain-name information is configured to absolute priority, absolute priority Response contents have first priority forward permission, into sub-step 3042.If it is not, then illustrating the corresponding priority of domain-name information Be configured to priority weights grade, domain name bandwidth in a certain range when, the response contents of request of data preferentially forward, into step Rapid 305 configure priority in the corresponding response contents of addition request of data.
Sub-step 3042, judges whether the bandwidth of domain name is greater than preset bandwidth threshold.If so, into sub-step 3043;If it is not, then entering step 305.
Specifically, the application layer of server judges whether the bandwidth of domain name is greater than preset bandwidth threshold, that is, applying Layer judges whether the flow of domain name occupies the excessive flow of server, if the band of domain name is wider than preset bandwidth threshold Value, then illustrate that the flow of the domain name can occupy the excessive flow of server, influences the flow of other domain names, while there may be The response contents of attack property are preferentially forwarded;Into sub-step 3042;If it is not, then illustrating the bandwidth of domain name in bandwidth threshold Interior, the flow of the domain name is normal, can be forwarded according to absolute priority, enters step 305 and priority is configured addition number According in the corresponding response contents of request.
The corresponding priority configuration of domain-name information is adjusted to priority weights grade by sub-step 3043.
Specifically, the corresponding priority configuration of the domain-name information is adjusted to priority weights grade by the application layer of server, It forward the bandwidth of the domain name will not preferentially more than the response contents of preset bandwidth threshold, according to common forward rule (first in first out) is forwarded.
In one example, after sub-step 3043, further includes:
Sub-step 3044, the bandwidth of periodic statistics domain name, and judge whether the bandwidth of domain name is greater than bandwidth threshold.If It is then to enter sub-step 3045;If it is not, then entering step 306.
Specifically, the application layer of server periodically counts the flow of domain name, with periodic statistics domain name Bandwidth, and judge whether the bandwidth of domain name is greater than bandwidth threshold, that is, judge whether the bandwidth of domain name is restored in bandwidth threshold, if The bandwidth of domain name is restored in bandwidth threshold, into sub-step 3045;If it is not, it is preset then to illustrate that the bandwidth of the domain name is still greater than Bandwidth threshold enters step 306 and configures priority adjusted in the corresponding response contents of addition request of data.
The corresponding priority configuration of domain-name information is adjusted to absolute priority by sub-step 3045.
Specifically, the application layer of server by the configuration of the domain-name information corresponding priority by priority weights level restoration to Absolute priority, so that there is the flow of the domain name first priority to forward permission.
Step 305, priority is configured and is added in the corresponding response contents of request of data.
Step 306, priority adjusted is configured and is added in the corresponding response contents of request of data.
Step 307, the interchanger of server will be sent to comprising the response contents that priority configures, for interchanger according to Priority configures transmitted response content.
Specifically, the application layer of server is response contents configuration preference level, priority is configured, request of data is added In corresponding response contents, and the interchanger for server being sent to comprising the response contents that priority configures, thus interchanger When receiving response contents, transmitted response content can be configured according to priority.For example, if user is sent out by client Request of data out is the IP address of some websites, then the corresponding response contents of the request of data are the web page contents of website, clothes Priority configuration is added in the application layer of business device in the web page contents of website, and is sent to the interchanger of server, to exchange Machine is receiving response contents, detects the priority in web page contents with postponing, according to priority configure-ack web page contents Forward rule, web page contents are forwarded to the client of user.Wherein, the number in response contents can be set in priority configuration According to packet packet header, so that interchanger when detecting response contents, can preferentially read the configuration of the priority in response contents.
Present embodiment provides a kind of bandwidth according to domain name, adjustment domain name letter for second embodiment Cease the specific implementation of corresponding priority configuration.
4th embodiment of the invention is related to a kind of processing method of request of data, is applied to interchanger, and interchanger is used Data interaction between realization server and the client of user.
The detailed process of the processing method of the request of data of present embodiment is as shown in Figure 4.
Step 401, when receiving the request of data of client transmission, request of data is forwarded to server, for clothes The domain-name information for device acquisition the included domain name of request of data of being engaged in, then the corresponding priority configuration of domain-name information is obtained, and will be preferential Grade configuration is added in the corresponding response contents of request of data.
Specifically, be equipped with application program in the client of user, when user is when using application program, pass through client End issues a request of data to interchanger, and after interchanger receives request of data, which is forwarded to server, from And server can provide corresponding service for user's application program currently in use.
More specifically, request of data includes accessed domain name and domain-name information, and server is receiving request of data When, application layer parses the message of the request of data, obtains the domain-name information of the included domain name of request of data, domain-name information is for example Including the domain name owner, domain name owner's grade etc.;The application layer of subsequent server judges domain-name information with the presence or absence of preferential again Grade configuration, that is, judge whether the owner of domain name is configured with priority, if it is determined that the owner of domain name is configured with priority, according to The corresponding relationship of preset domain-name information and priority configuration obtains the corresponding priority configuration of domain-name information, i.e. acquisition domain name The priority configured;Wherein, the setting means of priority the grade of the domain name owner can be set according to.
Step 402, the response contents comprising priority configuration that server is sent are received.
Specifically, the application layer of server obtains the corresponding response contents of request of data, which can be clothes The network address of stored or server based on data request is obtained from source station in business device, the application layer of subsequent server For response contents configuration preference level, priority is configured and is added in the corresponding response contents of request of data, and will include priority The response contents of configuration are sent to the interchanger of server, and interchanger receives the response contents comprising priority configuration.
Step 403, transmitted response content is configured according to priority.
Specifically, detected after interchanger receives response contents to response contents, when being detected in response contents When to priority configuration information, the client of transmitted response content to user is configured according to priority.
More specifically, the corresponding priority configuration of domain-name information in request of data determines in the response of the request of data The forward rule of appearance, priority configuration include absolute priority and priority weights grade.When the priority of response contents is configured to absolutely When to priority, then there is the response contents first priority to forward permission, and interchanger is matched in the priority for detecting response contents When being set to absolute priority, preferentially forward the response contents to the client of user;When the priority of response contents is configured to weigh When weight priority, interchanger judges whether the bandwidth of domain name is less than or equal to preset bandwidth threshold, if the bandwidth of domain name is less than Or it is equal to preset bandwidth threshold, the response contents are preferentially forwarded, if the band of domain name is wider than preset bandwidth threshold, according to general Logical forward rule (first in first out) forwards the response contents.Wherein, the domain name in the application layer statistical data request of server Flow information, and according to the flow information of domain name calculate domain name bandwidth.
Since first to 3rd embodiment corresponds to each other with the present embodiment, the present embodiment can be implemented with first to third Example is worked in coordination implementation.First relevant technical details mentioned into 3rd embodiment in the present embodiment still effectively, the One into 3rd embodiment the attainable technical effect of institute similarly may be implemented in the present embodiment, in order to reduce repetition, this In repeat no more.Correspondingly, the relevant technical details mentioned in the present embodiment are also applicable in first into 3rd embodiment.
For present embodiment is with respect to first embodiment, server parses request of data when receiving request of data, The domain-name information of the included domain name of request of data is obtained, then obtains the corresponding priority configuration of domain-name information, priority is configured It is added in the corresponding response contents of request of data, and the exchange for server being sent to comprising the response contents that priority configures Machine enables interchanger to configure transmitted response content according to priority, so as to preferentially turn in server traffic congestion It sends out high-priority data and requests corresponding response contents, ensured the flow of high-priority data request, avoided high priority The flow of request of data realizes the priority scheduling of server traffic by random drop, in the application layer of server.
5th embodiment of the invention is related to a kind of server, and server can be the node server of CDN network, clothes Business device is interacted by the client of interchanger and user.Server includes at least one processor;And at least one The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely A few processor executes, so that at least one processor is able to carry out the first request of data any into 3rd embodiment Processing method.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer , therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further, Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface, Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute The data used.
Sixth embodiment of the invention is related to a kind of interchanger, interchanger for realizing the client of server and user it Between data interaction.Interchanger includes at least one processor;And the memory being connect at least one processor communication; Wherein, memory is stored with the instruction that can be executed by least one processor, and instruction is executed by least one processor, so that extremely A few processor is able to carry out the processing method of the request of data in fourth embodiment.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer , therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further, Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface, Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute The data used.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (11)

1. a kind of processing method of request of data, which is characterized in that be applied to server, method includes:
When receiving request of data, the domain-name information of the included domain name of the request of data is obtained;
Obtain the corresponding priority configuration of domain name information;
Priority configuration is added in the corresponding response contents of the request of data, and will be configured comprising the priority The response contents are sent to the interchanger of the server, so that the interchanger is according to described in priority configuration forwarding Response contents.
2. the processing method of request of data according to claim 1, which is characterized in that obtain the request of data described When the domain-name information of included domain name, further includes:
Count the bandwidth of domain name;
It is described priority configuration is added in the corresponding response contents of the request of data before, further includes:
According to the bandwidth of domain name, the corresponding priority configuration of domain name information is adjusted;
It is described that priority configuration is added in the corresponding response contents of the request of data, specifically:
The priority configuration adjusted is added in the corresponding response contents of the request of data.
3. the processing method of request of data according to claim 2, which is characterized in that the band according to domain name Width, the corresponding priority configuration of adjustment domain name information, comprising:
Judge whether the corresponding priority configuration of domain name information is absolute priority;
If the corresponding priority of domain name information is configured to absolute priority, it is default to judge whether the bandwidth of domain name is greater than Bandwidth threshold;If the band of domain name is wider than preset bandwidth threshold, the corresponding priority of domain name information is configured It is adjusted to priority weights grade.
4. the processing method of request of data according to claim 3, which is characterized in that described that domain name is corresponding Priority is adjusted to after priority weights grade, further includes:
The bandwidth of periodic statistics domain name, and judge whether the bandwidth of domain name is greater than the bandwidth threshold;If described The bandwidth of domain name is less than or equal to the bandwidth threshold, and the corresponding priority configuration of domain name information is adjusted to first priority Grade.
5. the processing method of request of data according to claim 1, which is characterized in that the acquisition domain name information pair The priority configuration answered, comprising:
Judge that domain name information is configured with the presence or absence of priority;
If domain name information there are priority configuration, according to the corresponding relationship of preset domain-name information and priority configuration, obtains Take the corresponding priority configuration of domain name information.
6. the processing method of request of data according to claim 1, which is characterized in that the processing method of the request of data Application layer applied to the server.
7. a kind of processing method of request of data, which is characterized in that be applied to interchanger, which comprises
When receiving the request of data of client transmission, the request of data is forwarded to server, for the server The domain-name information of the included domain name of the request of data is obtained, then obtains the corresponding priority configuration of domain name information, and will The priority configuration is added in the corresponding response contents of the request of data;
Receive the response contents comprising priority configuration that the server is sent;
The response contents are forwarded according to priority configuration.
8. the processing method of request of data according to claim 7, which is characterized in that the priority is configured to absolutely excellent First grade;
It is described to forward the response contents according to priority configuration, specifically:
When the priority is configured to absolute priority, the response contents are preferentially forwarded.
9. the processing method of request of data according to claim 7, which is characterized in that it is excellent that the priority is configured to weight First grade;
It is described to forward the response contents according to priority configuration, it specifically includes:
Judge whether the bandwidth of domain name is less than or equal to preset bandwidth threshold;
If the bandwidth of domain name is less than or equal to preset bandwidth threshold, the response contents are preferentially forwarded.
10. a kind of server characterized by comprising at least one processor;And it is logical at least one described processor Believe the memory of connection;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the place of the request of data as described in any in claim 1 to 6 Reason method.
11. a kind of interchanger characterized by comprising at least one processor;And it is logical at least one described processor Believe the memory of connection;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the place of the request of data as described in any in claim 7 to 9 Reason method.
CN201910228011.8A 2019-03-25 2019-03-25 Processing method, server and the interchanger of request of data Pending CN109951399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910228011.8A CN109951399A (en) 2019-03-25 2019-03-25 Processing method, server and the interchanger of request of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910228011.8A CN109951399A (en) 2019-03-25 2019-03-25 Processing method, server and the interchanger of request of data

Publications (1)

Publication Number Publication Date
CN109951399A true CN109951399A (en) 2019-06-28

Family

ID=67010793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910228011.8A Pending CN109951399A (en) 2019-03-25 2019-03-25 Processing method, server and the interchanger of request of data

Country Status (1)

Country Link
CN (1) CN109951399A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430101A (en) * 2019-08-28 2019-11-08 杭州领智云画科技有限公司 Service indication collecting method, device, equipment and system applied to CDN
CN110636138A (en) * 2019-10-14 2019-12-31 南京航空航天大学 Edge server deployment method based on response ratio priority
CN113904994A (en) * 2021-09-30 2022-01-07 天翼数字生活科技有限公司 Method for uniformly reporting big data of home gateway to platform
CN115174479A (en) * 2022-07-19 2022-10-11 天翼云科技有限公司 Flow control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973591A (en) * 2014-06-04 2014-08-06 浪潮电子信息产业股份有限公司 Solution method for intelligent network traffic congestion
CN105897613A (en) * 2015-12-08 2016-08-24 乐视云计算有限公司 Level-limit-free QoS realizing method and level-limit-free QoS system
CN106034083A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 CDN system and rate-limiting control method thereof, CND node, and server
CN107872403A (en) * 2017-11-10 2018-04-03 西安电子科技大学 A kind of implementation level QoS Pyatyi queue scheduling device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973591A (en) * 2014-06-04 2014-08-06 浪潮电子信息产业股份有限公司 Solution method for intelligent network traffic congestion
CN106034083A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 CDN system and rate-limiting control method thereof, CND node, and server
CN105897613A (en) * 2015-12-08 2016-08-24 乐视云计算有限公司 Level-limit-free QoS realizing method and level-limit-free QoS system
CN107872403A (en) * 2017-11-10 2018-04-03 西安电子科技大学 A kind of implementation level QoS Pyatyi queue scheduling device and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430101A (en) * 2019-08-28 2019-11-08 杭州领智云画科技有限公司 Service indication collecting method, device, equipment and system applied to CDN
CN110430101B (en) * 2019-08-28 2021-09-03 杭州领智云画科技有限公司 Service index data acquisition method, device, equipment and system applied to CDN
CN110636138A (en) * 2019-10-14 2019-12-31 南京航空航天大学 Edge server deployment method based on response ratio priority
CN110636138B (en) * 2019-10-14 2020-07-03 南京航空航天大学 Edge server deployment method based on response ratio priority
CN113904994A (en) * 2021-09-30 2022-01-07 天翼数字生活科技有限公司 Method for uniformly reporting big data of home gateway to platform
CN113904994B (en) * 2021-09-30 2024-03-19 天翼数字生活科技有限公司 Method for uniformly reporting big data of home gateway to platform
CN115174479A (en) * 2022-07-19 2022-10-11 天翼云科技有限公司 Flow control method and device
CN115174479B (en) * 2022-07-19 2023-10-13 天翼云科技有限公司 Flow control method and device

Similar Documents

Publication Publication Date Title
CN109951399A (en) Processing method, server and the interchanger of request of data
US11159359B2 (en) Methods, systems, and computer readable media for diameter-peer-wide egress rate limiting at diameter relay agent (DRA)
US6570851B1 (en) Receiver driven differentiated service marking for unicast and multicast applications
CN110099370B (en) Service layer southbound interface and quality of service
US7796521B2 (en) Method and apparatus for policing bandwidth usage for a home network
US20070223470A1 (en) System and Method for Enhancing Network Quality of Service
CN103650420A (en) Bearer control on the basis of probing
CN107409080A (en) For servicing the system and method for providing maximum filling link via binding
US8799472B2 (en) Peer signaling protocol and system for decentralized traffic management
US8953447B2 (en) Method and apparatus for controlling traffic transfer rate based on cell capacity in mobile communication system
CN101932029A (en) Data transmission method, equipment and system
US10979349B2 (en) Methods and apparatuses for flexible mobile steering in cellular networks
CN108566286B (en) Method for realizing service quality of intelligent router, router and electronic equipment
Zhou et al. Multipath TCP for user cooperation in LTE networks
US20220321482A1 (en) System and method for accelerating or decelerating a data transport network protocol based on real time transport network congestion conditions
CN107027151B (en) Method and device for ensuring service quality
US6680910B1 (en) Network interface unit
CN107659464A (en) A kind of router realizes the method and system of traffic monitoring
CN106454959A (en) Service quality control method of distributed network and server
US20180213445A1 (en) Data transmission control method and apparatus based on wireless communications network
EP3462786A1 (en) Methods and apparatuses for quality of service assessment in a network
CN114024917B (en) Method, device, equipment and storage medium for guaranteeing internet service bandwidth
CN112787919B (en) Message transmission method and device and readable medium
Magalhães A* transport layer approach to host mobility
CN111615170B (en) Data transmission method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628

RJ01 Rejection of invention patent application after publication