CN110377417B - Data routing method and device - Google Patents

Data routing method and device Download PDF

Info

Publication number
CN110377417B
CN110377417B CN201910492116.4A CN201910492116A CN110377417B CN 110377417 B CN110377417 B CN 110377417B CN 201910492116 A CN201910492116 A CN 201910492116A CN 110377417 B CN110377417 B CN 110377417B
Authority
CN
China
Prior art keywords
user experience
levels
resource
target
level
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
Application number
CN201910492116.4A
Other languages
Chinese (zh)
Other versions
CN110377417A (en
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.)
Shenzhen Teracloud Iot Technology Co ltd
Original Assignee
Shenzhen Teracloud Iot 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 Shenzhen Teracloud Iot Technology Co ltd filed Critical Shenzhen Teracloud Iot Technology Co ltd
Priority to CN201910492116.4A priority Critical patent/CN110377417B/en
Publication of CN110377417A publication Critical patent/CN110377417A/en
Application granted granted Critical
Publication of CN110377417B publication Critical patent/CN110377417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Abstract

The invention relates to a data routing method and a device, wherein the data routing method comprises the following steps: receiving a resource access request; acquiring a target service capability level corresponding to the resource access request; searching a target server matched with the target service capability level; and establishing a data path between the target server and the client. According to the data routing method and device, the service capacity of the server is graded, and the target server matched with the service capacity grade is selected according to the resource access request to provide service for the client, so that the service quality provided by the server meets the experience requirement of a user, stable and better service quality is maintained, and the user experience is integrally improved.

Description

Data routing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data routing method and apparatus.
Background
In recent years, computer networks have become carriers of various industries, and cloud computing platforms provide computing, storage, software, and other service resources to users through high-speed internet transmission capability.
With the development of cloud computing technology, market competition is increasingly intense, and the cloud computing platform can better pay attention to user experience while ensuring stability. The prior art focuses on the user experience mainly on the application layer, for example, a friendly operation interface, a service interface with a high transmission rate, and the like are provided. However, in the actual use process, the factors affecting the user experience include not only the design of the application layer, but also the quality of the service provided by the server. For example, factors such as too high resource occupancy rate of the server and too low computing power of the server may reduce the service quality, resulting in poor user experience.
Disclosure of Invention
Therefore, it is necessary to provide a data routing method for solving the problem that the user experience is affected due to poor quality of service provided by a server in the existing cloud computing platform, so that the stable and better quality of service can be maintained, and the user experience can be integrally improved.
A first aspect of an embodiment of the present invention provides a data routing method, including:
receiving a resource access request;
acquiring a target service capability level corresponding to the resource access request;
searching a target server matched with the target service capability level;
and establishing a data path between the target server and the client.
In one embodiment, after establishing the data path between the target server and the client, the data routing method further comprises:
monitoring the change of the service parameters of the target server; and
and adjusting the service capability level of the target server according to the change of the service parameters.
In an embodiment, the obtaining the target service capability level corresponding to the resource access request includes:
acquiring a target user experience level required by the resource access request;
and acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels.
In one embodiment, before obtaining the target user experience level required by the resource access request, the data routing method further includes:
setting at least two user experience levels;
setting at least two service capability levels;
and establishing a corresponding relation between the at least two user experience levels and the at least two service capability levels.
In one embodiment, the at least two user experience levels respectively correspond to different value ranges of the experience parameter;
the obtaining of the target user experience level required by the resource access request includes:
determining the resource type of the resource to be accessed according to the resource access request;
acquiring an experience parameter value range corresponding to the resource type of the resource to be accessed; and
and determining a target user experience level according to the experience parameter value range corresponding to the resource type of the resource to be accessed and the experience parameter value ranges corresponding to the at least two user experience levels respectively.
A second aspect of the embodiments of the present invention provides a data routing apparatus, including:
the receiving module is used for receiving a resource access request;
the acquisition module is used for acquiring a target service capability level corresponding to the resource access request;
the searching module is used for searching a target server matched with the target service capability level;
and the communication module is used for establishing a data path between the target server and the client.
In one embodiment, the data routing apparatus further comprises:
the monitoring module is used for monitoring the change of the service parameters of the target server; and
and the adjusting module is used for adjusting the service capability level of the target server according to the change of the service parameters.
In one embodiment, the obtaining module comprises:
a first obtaining unit, configured to obtain a target user experience level required by the resource access request;
and the second obtaining unit is used for obtaining a target service capability level corresponding to the target user experience level according to the corresponding relation between the preset user experience level and the service capability level.
In one embodiment, the data routing apparatus further comprises a setting module, the setting module is configured to:
setting at least two user experience levels;
setting at least two service capability levels; and the number of the first and second groups,
and establishing a corresponding relation between the at least two user experience levels and the at least two service capability levels.
In one embodiment, the first obtaining unit includes:
the first determining subunit is used for determining the resource type of the resource to be accessed according to the resource access request;
the obtaining subunit is configured to obtain an experience parameter value range corresponding to the resource type of the resource to be accessed; and
and the second determining subunit is configured to determine a target user experience level according to the experience parameter value range corresponding to the resource type of the resource to be accessed and the experience parameter value ranges corresponding to the at least two user experience levels respectively.
According to the data routing method and device, the user experience and the service capacity of the server are graded, and the target server matched with the service capacity grade is selected to provide service for the client according to the requirement of resource access on the user experience, so that the service quality provided by the server meets the experience requirement of the user, stable and better service quality is maintained, and the user experience is integrally improved.
Drawings
Fig. 1 is a schematic flow chart of a data routing method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a data routing method according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating a data routing method according to another embodiment of the present invention;
FIG. 4 is a flow chart illustrating a data routing method according to another embodiment of the present invention;
FIG. 5 is a block diagram of a data routing device according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a data routing device according to another embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Fig. 1 is a flowchart illustrating a data routing method according to an embodiment of the present invention. As shown in fig. 1, the data routing method includes:
at step 110, a resource access request is received.
In this embodiment, the resource access request is sent by the client, for example, the resource access request sent by the client is received; as another example, resource access requests sent by multiple clients are received separately or simultaneously.
The resource access request comprises related information of the accessed resource, for example, one or more of resource category information, resource size information and resource address information. The resource category information is used for indicating the category of the accessed resource, such as at least one of document, picture, audio, video, application, virtual machine, and the like.
Step 130, obtaining a target service capability level corresponding to the resource access request.
In this embodiment, the capability service level is used to measure the service capability of the server. The service capability of the server is characterized by service parameters such as QPS (query Per Second) of the server, concurrency number, response time, reliability, and the like. Different service capability levels correspond to different value ranges of the service parameters.
In specific implementation, the service capability of the server is divided into at least two service capability levels in advance, the resource condition corresponding to each service capability level is set, and the corresponding target service capability level can be obtained according to the resource condition met by the resource access request.
In one embodiment, the user experience level corresponding to each service capability level is set, and the resource condition corresponding to each user experience level is set, so that the corresponding target user experience level can be obtained according to the resource condition met by the resource access request, and further the target service capability level corresponding to the target user experience level is obtained. Wherein each target service capability level may correspond to one or more user experience levels.
Specifically, each user experience level is different depending on the condition of the resource type or the resource size. Taking the resource type as an example, different types of resources such as virtual machine resources, video resources, audio resources, application resources, picture resources, document resources, and the like correspond to different user experience levels.
For example, step 130 includes: acquiring a target user experience level required by resource access according to the resource category information in the resource access request; and acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels. As another example, step 130 includes: acquiring a target user experience level required by resource access according to the resource size information in the resource access request; and acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels. As another example, step 130 includes: acquiring a target user experience level required by resource access according to the resource type information and the resource size information in the resource access request; and acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels. As another example, step 130 includes: determining the type and/or size of the resource according to the resource address information in the resource access request, and further acquiring a target user experience level required by the resource access; and acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels.
In one embodiment, a higher level of user experience is required for the experience, corresponding to a higher level of service capability.
Step 150, find the target server matching the target service ability level.
For example, one or more target servers matching the target service capability level are found.
In a specific implementation, the service capability level of each server is evaluated in advance. For example, the service capability level of the server is evaluated according to the hardware configuration and/or resource occupancy rate of the server.
And after the target service capacity level is determined, polling the service capacity levels of the plurality of servers, and searching for a target server matched with the target service capacity level. For example, polling all servers in the service pool for service capability levels. For example, the client-centric polling polls the service capability levels of the servers within a predetermined area.
In some embodiments, if there are multiple servers matching the target service capability level, then at least one of the multiple matched servers is selected as the target server. For example, the server closest to the client is selected as the target server from the plurality of matched servers. For example, a server with the lowest resource occupancy rate is selected as a target server from a plurality of matched servers. For example, the server with the best hardware configuration is selected from the plurality of matched servers as the target server. For example, a server having the best service parameters is selected as a target server from a plurality of matching servers. For another example, weight values are set for the distance between the server and the client, the resource occupancy rate, the hardware configuration parameters and the service parameters in advance, the overall matching score of each matched server is calculated according to the distance between each matched server and the client, the resource occupancy rate of each matched server, the hardware configuration parameters, the service parameters and each corresponding weight value, and the server with the highest overall matching score is selected as the target server. The specific weight value setting, adjustment and assignment, as well as the distance from the client, the resource occupancy rate, the hardware configuration parameters and the service parameters, can be set according to experience. For example, the distance to the client, the resource occupancy rate, the hardware configuration parameters, and the service parameters are numerically processed, for example, quantized into percentage data, to obtain the numerical distance to the client, the resource occupancy rate, the hardware configuration parameters, and the service parameters, and then the overall matching scores of the servers are calculated according to the numerical distance to the client, the resource occupancy rate, the hardware configuration parameters, and the service parameters and the corresponding weight values.
Step 170, establish a data path between the target server and the client.
After the target server is determined, the resource access request is routed to the target server, a data path between the target server and the client is established, and the target server provides service for the client through the data path so that the client can smoothly access the resource.
In a preferred embodiment, if the target user experience level is the highest level of user experience level, a temporary data path with the best data transmission quality is established between the target server and the client.
According to the data routing method, the user experience and the service capability of the server are graded, and the target server matched with the service capability grade is selected to provide service for the client according to the requirement of resource access on the user experience, so that the service quality provided by the server meets the experience requirement of the user, the stable and better service quality is maintained, and the user experience is integrally improved.
As shown in fig. 2, in an embodiment, before step 130, the data routing method further includes:
at step 121, at least two user experience levels are set.
At step 123, at least two service capability levels are set.
Step 125, establishing a corresponding relationship between the at least two user experience levels and the at least two service capability levels.
For example, in step 121, the experience parameter value ranges respectively corresponding to the at least two user experience levels are also respectively set, so that the at least two user experience levels respectively correspond to different value ranges of the experience parameter. Wherein, the experience parameter includes but is not limited to at least one of response speed, response time, interruptible times, receiving time delay and the like.
As an implementation manner, in step 121, value ranges of various experience parameters corresponding to each user experience level are respectively set according to different requirements of each user experience level on the user experience level. For example, for each user experience level, a value range of the response speed, a value range of the response time, a value range of the interruptible times, and/or a value range of the reception delay corresponding to each user experience level are respectively set.
As another embodiment, in step 121, an experience score interval corresponding to each user experience level is respectively set according to different requirements of each user experience level on the user experience degree, where the experience score interval is obtained by performing weighted calculation on at least two experience parameters according to corresponding weight values. For example, obtaining maximum and minimum values of various experience parameters; carrying out weighted calculation on the maximum values of the various experience parameters according to the weight values respectively corresponding to the various experience parameters to obtain maximum experience scores; carrying out weighted calculation on the minimum values of the various experience parameters according to the weight values respectively corresponding to the various experience parameters to obtain a minimum experience score; dividing a maximum experience score range formed by the maximum experience score and the minimum experience score into a plurality of experience score intervals according to the number of the user experience grades, and enabling each user experience grade to correspond to one experience score interval. For another example, for each user experience level, value ranges of various corresponding experience parameters are set, and the value ranges of the various corresponding experience parameters are weighted and calculated according to weight values corresponding to the various experience parameters, so that an experience score interval corresponding to the experience score interval is obtained. The specific weight value setting, adjusting and assigning can be set according to experience.
Steps 121 to 125 are performed between step 110 and step 130, or before step 110, which is not limited in the present invention.
As shown in FIG. 3, in one embodiment, step 130 includes:
step 131, determining the resource type of the resource to be accessed according to the resource access request.
For example, if the resource access request includes the resource category information, the resource access request is parsed to obtain the resource category information, so as to determine the resource category of the accessed resource. For another example, if the resource access request includes the resource address information, the resource access request is analyzed to obtain the resource address information, and the resource type of the accessed resource is queried according to the resource address information.
And step 133, acquiring an experience parameter value range corresponding to the resource type of the resource to be accessed.
In specific implementation, different types of resources have different requirements on experience parameters. For example, virtual machine resources, video resources, audio resources, application resources, picture resources, and document resources have different requirements for response speed, response time, interruptible times, reception delay, and other experience parameters.
As an implementation manner, obtaining the value range of the experience parameter corresponding to the resource category of the resource to be accessed includes obtaining the value ranges of various experience parameters corresponding to the resource category of the resource to be accessed, for example, obtaining the value range of the response speed, the value range of the response time, the value range of the interruptible times, and/or the value range of the reception delay corresponding to the resource category of the resource to be accessed.
As another embodiment, obtaining the experience parameter value range corresponding to the resource category of the resource to be accessed includes: obtaining value ranges of various experience parameters corresponding to the resource types of the resources to be accessed; and carrying out weighted calculation on the value ranges of various experience parameters corresponding to the resource category according to the weight values respectively corresponding to various experience parameters corresponding to the resource to be accessed to obtain an experience score interval corresponding to the resource category.
And 135, determining a target user experience level according to the experience parameter value range corresponding to the resource type of the resource to be accessed and the experience parameter value ranges corresponding to the at least two user experience levels respectively.
As an implementation manner, comparing various experience parameter value ranges corresponding to each user experience level with various experience parameter value ranges corresponding to the resource category, respectively, and if the resource category coincides with multiple experience parameter value ranges between one of the user experience levels, the one of the user experience levels is the target user experience level.
As another embodiment, the experience score interval corresponding to each user experience level is compared with the experience score interval corresponding to the resource category, and if the experience score interval between the resource category and one of the user experience levels is consistent, one of the user experience levels is the target user experience level.
As shown in fig. 4, in an embodiment, before step 150, the data routing method further includes:
at step 141, at least two service capability levels are set.
And 143, respectively setting the service parameter value ranges corresponding to the respective grades of the at least two service capabilities.
In this embodiment, the service parameters include, but are not limited to: QPS, number of concurrencies, response time, reliability, etc.
As an implementation manner, according to different requirements of each service capability level on service parameters, a service parameter value range corresponding to each service capability level is respectively set. For example, for each service capability level, a QPS value range, a concurrency value range, a response time value range, and/or a reliability value range corresponding to each service capability level are respectively set.
As another embodiment, according to different requirements of each service capability level on service parameters, a service score interval corresponding to each service capability level is respectively set, where the service score interval is obtained by performing weighted calculation on at least two service parameters according to corresponding weight values. For example, obtaining maximum and minimum values of various service parameters; carrying out weighted calculation on the maximum values of the various service parameters according to the weight values respectively corresponding to the various service parameters to obtain maximum service scores; carrying out weighted calculation on the minimum values of the various service parameters according to the weight values respectively corresponding to the various service parameters to obtain a minimum service score; dividing a maximum service score range formed by the maximum service score and the minimum service score into a plurality of service score intervals according to the number of user experience grades, and enabling each service capability grade to correspond to one service score interval. For another example, for each service capability level, value ranges of various service parameters corresponding to the service capability level are set, and the value ranges of various service parameters corresponding to the service capability level are weighted and calculated according to weight values corresponding to the various service parameters, so as to obtain a service score interval corresponding to the service capability level. The specific weight value setting, adjusting and assigning can be set according to experience.
And 145, respectively setting the corresponding user experience level according to the service parameter value range corresponding to each service capability level.
In the embodiment of the invention, the number of service capability levels is the same as the number of user experience levels, and each service capability level uniquely corresponds to one user experience level. For example, the at least two levels of user experience include a premium experience, a primary experience, a secondary experience, and a tertiary experience; the at least two service capabilities include a temporary special offer service, a midfield service, a near field service, and a far field service; wherein the premium experience corresponds to temporary premium service, the first level experience corresponds to midfield service, the second level experience corresponds to near field service, and the third level experience corresponds to far field service. The higher the user experience required by the user experience level is, the better the service parameter value range corresponding to the corresponding service capability level is, wherein the higher the QPS is, the more the concurrency number is, the shorter the response time is, and the higher the reliability is, the better the service parameter value range is.
In one embodiment, each service capability level further comprises a plurality of sub-levels, so that when there are a plurality of servers matching the target user experience level, the target server can be selected according to the sub-levels to which the plurality of matched servers belong, for example, when there are a plurality of servers matching the target user experience level, a server with a higher sub-level is preferentially selected from the plurality of matched servers as the target server.
The steps 141, 143, and 145 are performed before the step 110, or between the step 110 and the step 130, or between the step 130 and the step 150, which is not limited in the present invention.
In an embodiment, after step 170, the data routing method further includes:
monitoring the change of the service parameters of the target server; and adjusting the service capability level of the target server according to the change of the service parameter.
For example, after a data path between a target server and a client is established, in the process of data transmission between the target server and the client, parameters such as resource occupancy rate, QPS, concurrency number, response time, time delay and/or reliability of the target server are monitored, and if the service parameters change and are no longer matched with the service capability level of the target server, the service capability level of the target server is adjusted according to the change of the service parameters.
Fig. 5 is a schematic block diagram of a data routing apparatus according to an embodiment of the present invention. The data routing device is configured to perform any of the method embodiments shown in fig. 1-4. As shown in fig. 5, the data routing apparatus includes:
a receiving module 510, configured to receive a resource access request;
an obtaining module 530, configured to obtain a target service capability level corresponding to the resource access request;
a searching module 550, configured to search for a target server that matches the target service capability level;
and a communication module 570 for establishing a data path between the target server and the client.
In one embodiment, the obtaining module 530 includes a first obtaining unit and a second obtaining unit, where the first obtaining unit is configured to obtain a target user experience level required by the resource access request; the second obtaining unit is used for obtaining a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels.
In one embodiment, the first obtaining unit comprises a first determining subunit, an obtaining subunit, and a second determining subunit, wherein: the first determining subunit is used for determining the resource type of the resource to be accessed according to the resource access request; the obtaining subunit is configured to obtain an experience parameter value range corresponding to the resource type of the resource to be accessed; and the second determining subunit is used for determining a target user experience level according to the experience parameter value range corresponding to the resource type of the resource to be accessed and the experience parameter value ranges corresponding to the at least two user experience levels respectively.
In an embodiment, as shown in fig. 6, in addition to the receiving module 510, the obtaining module 530, the searching module 550 and the communication module 570, the data routing apparatus further includes a setting module 540, or the data routing apparatus further includes a monitoring module 560 and an adjusting module 580, or the data routing apparatus further includes the setting module 540, the monitoring module 560 and the adjusting module 580.
The setting module 540 is used for setting at least two user experience levels; setting at least two service capability levels; and establishing a corresponding relation between the at least two user experience levels and the at least two service capability levels.
In this embodiment, the monitoring module 560 is configured to monitor a change of a service parameter of the target server; an adjusting module 580, configured to adjust the service capability level of the target server according to the change of the service parameter.
In an embodiment, a data routing apparatus is provided, which is implemented by using the data routing method according to any of the above embodiments, or has a functional module corresponding to the data routing method according to any of the above embodiments.
According to the data routing device, the user experience and the service capacity of the server are graded, and the target server matched with the service capacity grade is selected to provide service for the client according to the requirement of resource access on the user experience, so that the service quality provided by the server meets the experience requirement of the user, the stable and better service quality is maintained, and the user experience is integrally improved.
It should be noted that, in the above apparatus embodiment, each included module is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, the specific names of the functional modules are only for convenience of distinguishing from each other and are not used for limiting the protection scope of the present invention.
In addition, it can be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by instructing the relevant hardware through a program, and the corresponding program may be stored in a readable storage medium.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A data routing method, comprising:
receiving a resource access request;
determining the resource type of the resource to be accessed according to the resource access request; acquiring an experience parameter value range corresponding to the resource type of the resource to be accessed; determining a target user experience level according to an experience parameter value range corresponding to the resource category of the resource to be accessed and experience parameter value ranges corresponding to at least two user experience levels respectively; acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels;
searching a target server matched with the target service capability level;
and establishing a data path between the target server and the client.
2. The data routing method of claim 1, wherein after establishing the data path between the target server and the client, the data routing method further comprises:
monitoring the change of the service parameters of the target server; and
and adjusting the service capability level of the target server according to the change of the service parameters.
3. The data routing method of claim 1, further comprising:
and respectively setting various experience parameter value ranges corresponding to each user experience level according to different requirements of each user experience level on the user experience level.
4. The data routing method according to claim 1, wherein before obtaining the target level of user experience required for the resource access request, the data routing method further comprises:
setting at least two user experience levels;
setting at least two service capability levels;
and establishing a corresponding relation between the at least two user experience levels and the at least two service capability levels.
5. The data routing method of claim 1, wherein each of said service capability levels further comprises a plurality of sub-levels; the method further comprises the following steps:
and when a plurality of servers matched with the target user experience level exist, selecting the target server according to the sub-levels to which the matched servers belong.
6. A data routing device, comprising:
the receiving module is used for receiving a resource access request;
the acquisition module is used for determining the resource type of the resource to be accessed according to the resource access request; acquiring an experience parameter value range corresponding to the resource type of the resource to be accessed; determining a target user experience level according to an experience parameter value range corresponding to the resource category of the resource to be accessed and experience parameter value ranges corresponding to at least two user experience levels respectively; acquiring a target service capability level corresponding to the target user experience level according to a corresponding relation between preset user experience levels and service capability levels;
the searching module is used for searching a target server matched with the target service capability level;
and the communication module is used for establishing a data path between the target server and the client.
7. The data routing device of claim 6, further comprising:
the monitoring module is used for monitoring the change of the service parameters of the target server; and
and the adjusting module is used for adjusting the service capability level of the target server according to the change of the service parameters.
8. The data routing device of claim 6, further comprising a setting module, wherein the setting module is configured to set a value range of various experience parameters corresponding to each user experience level according to different requirements of each user experience level on user experience levels.
9. The data routing device of claim 6, further comprising a setup module to:
setting at least two user experience levels;
setting at least two service capability levels; and the number of the first and second groups,
and establishing a corresponding relation between the at least two user experience levels and the at least two service capability levels.
10. The data routing device of claim 6, wherein each of the service capability levels further comprises a plurality of sub-levels, and wherein the lookup module is further configured to select the target server according to the sub-levels to which the plurality of matched servers belong when there are a plurality of servers matching the target user experience level.
CN201910492116.4A 2019-06-06 2019-06-06 Data routing method and device Active CN110377417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910492116.4A CN110377417B (en) 2019-06-06 2019-06-06 Data routing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910492116.4A CN110377417B (en) 2019-06-06 2019-06-06 Data routing method and device

Publications (2)

Publication Number Publication Date
CN110377417A CN110377417A (en) 2019-10-25
CN110377417B true CN110377417B (en) 2021-09-14

Family

ID=68249985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910492116.4A Active CN110377417B (en) 2019-06-06 2019-06-06 Data routing method and device

Country Status (1)

Country Link
CN (1) CN110377417B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116319480B (en) * 2023-05-22 2023-08-08 圣麦克思智能科技(江苏)有限公司 IDC operation and maintenance system and method based on data processing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529950B1 (en) * 1999-06-17 2003-03-04 International Business Machines Corporation Policy-based multivariate application-level QoS negotiation for multimedia services
CN101860493A (en) * 2009-04-08 2010-10-13 华为软件技术有限公司 Method, server and system for distributing application server address for clients
CN102170396A (en) * 2011-05-06 2011-08-31 浙江大学 QoS control method of cloud storage system based on differentiated service
CN102957624A (en) * 2012-12-12 2013-03-06 中国联合网络通信集团有限公司 Content routing method and device
US9252972B1 (en) * 2012-12-20 2016-02-02 Juniper Networks, Inc. Policy control using software defined network (SDN) protocol
CN105871983A (en) * 2015-12-10 2016-08-17 乐视云计算有限公司 Method and device for selecting servers
CN108111595A (en) * 2017-12-18 2018-06-01 北京安博通科技股份有限公司 The equalization methods and device of a kind of server load
CN109783237A (en) * 2019-01-16 2019-05-21 腾讯科技(深圳)有限公司 A kind of resource allocation method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529950B1 (en) * 1999-06-17 2003-03-04 International Business Machines Corporation Policy-based multivariate application-level QoS negotiation for multimedia services
CN101860493A (en) * 2009-04-08 2010-10-13 华为软件技术有限公司 Method, server and system for distributing application server address for clients
CN102170396A (en) * 2011-05-06 2011-08-31 浙江大学 QoS control method of cloud storage system based on differentiated service
CN102957624A (en) * 2012-12-12 2013-03-06 中国联合网络通信集团有限公司 Content routing method and device
US9252972B1 (en) * 2012-12-20 2016-02-02 Juniper Networks, Inc. Policy control using software defined network (SDN) protocol
CN105871983A (en) * 2015-12-10 2016-08-17 乐视云计算有限公司 Method and device for selecting servers
CN108111595A (en) * 2017-12-18 2018-06-01 北京安博通科技股份有限公司 The equalization methods and device of a kind of server load
CN109783237A (en) * 2019-01-16 2019-05-21 腾讯科技(深圳)有限公司 A kind of resource allocation method and device

Also Published As

Publication number Publication date
CN110377417A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN106302434B (en) Server adaptation method, device and system
CN106656800B (en) Path selection method and system, network acceleration node and network acceleration system
CN106534392B (en) Positioning information acquisition method, positioning method and device
CN110661879B (en) Node scheduling method, device and system, scheduling server and terminal equipment
US20160337208A1 (en) Method and System for Evaluating User Perception
CN108279974B (en) Cloud resource allocation method and device
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
WO2018206839A1 (en) Methods relating to network slice selection requests
CN107360117B (en) Data processing method, device and system
CN110830551B (en) Service request processing method, device and system
CN108124020B (en) Domain name resolution method, system and equipment
US11025709B2 (en) Load processing method and apparatus
CN110933136A (en) Service node selection method, device, equipment and readable storage medium
CN112512100A (en) Slice priority-based AMF (advanced metering framework) redirection method and newly-added management network element
CN110377417B (en) Data routing method and device
CN111611072A (en) Cloud game service resource allocation method, equipment, storage medium and system
CN114760582A (en) Method, system, apparatus and storage medium for selecting LMF based on response time
CN110035128B (en) Live broadcast scheduling method and device, live broadcast system and storage medium
CN111447152A (en) Sub-stream resource scheduling method, device, terminal equipment and storage medium
CN109688171B (en) Cache space scheduling method, device and system
CN110366194A (en) Resource transfer method, apparatus and system
CN114124797B (en) Server routing method and device, electronic equipment and storage medium
CN110535853B (en) Video request scheduling method, device, server and storage medium
CN108259532B (en) Scheduling method and device of cloud resources
CN106507224B (en) Method and related device for acquiring target file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant