CN109862124A - A kind of method and device of service request response - Google Patents
A kind of method and device of service request response Download PDFInfo
- Publication number
- CN109862124A CN109862124A CN201910334739.9A CN201910334739A CN109862124A CN 109862124 A CN109862124 A CN 109862124A CN 201910334739 A CN201910334739 A CN 201910334739A CN 109862124 A CN109862124 A CN 109862124A
- Authority
- CN
- China
- Prior art keywords
- node device
- target
- target service
- service request
- subgroup
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides a kind of method and devices of service request response, wherein this method includes obtaining the target service solicited message of user, wherein target service solicited message includes target service request, target service request address, target service transmission demand;According to target service request address, target service transmission demand, node device group corresponding with target service request is screened from multiple node device groups, obtains target node device group;So that target node device group responds target service request.The method responded using service request provided by the present application can be improved the speed of the target service request of response user.
Description
Technical field
This application involves fields of communication technology, in particular to a kind of method and device of service request response.
Background technique
When user obtains data to server end, user directly sends request of data to server by client.By
Certain in the bandwidth of server, when receiving the request of data of multiple users, the speed of response data request can be relatively slow, or even leads
The problem of causing network delay and obstruction.
In the prior art, by a network environment, carrying out service quality (Quality of Service, QoS) configuration
Solve the problems, such as network delay and obstruction.Specifically, resource is distributed and dispatches acording to the requirement of user, to strong real-time and again
The request of data priority processing wanted, the general data request not strong to real-time, can lag and be handled, or even gather around in network
It is abandoned when plug, i.e., to request of data without response.
As it can be seen that above-mentioned solution still cannot timely respond to the request of data of all users.
Summary of the invention
In view of this, a kind of method and device for being designed to provide service request response of the embodiment of the present application, it can
The speed of the target service request of response user is improved, user experience is good.
In a first aspect, the embodiment of the present application provides a kind of method of service request response, wherein include:
Obtain user target service solicited message, wherein the target service solicited message include target service request,
Target service request address, target service transmission demand;
According to the target service request address, the target service transmission demand, screened from multiple node device groups
Node device group corresponding with target service request, obtains target node device group;So that the target node device group
Respond the target service request.
With reference to first aspect, the embodiment of the present application provides the first possible embodiment of first aspect, wherein institute
State according to the target service request address, the target service transmission demand, from multiple node device groups screening with it is described
Target service requests corresponding node device group, obtains target node device group, comprising:
From the multiple node device group, screens at least one node corresponding with the target service request address and set
Standby group;Wherein, the target service request address falls into the internet protocol address section of at least one node device group;
According to the priority level of the business transmission demand and each node device group, from least one described node device
Screening node device group corresponding with target service request, obtains target node device group in group.
With reference to first aspect or the first possible embodiment of first aspect, the embodiment of the present application provide first party
The possible embodiment of second of face, wherein the target service solicited message further includes target service type, destination node
Device cluster includes multiple node device subgroups;It is described according to the target service request address, the target service transmission demand,
Node device group corresponding with target service request is screened from multiple node device groups, obtains target node device group,
Include:
From multiple node device subgroups that the target node device group includes, screening and the target service type
The target node device subgroup matched;
Multiple target node device subgroups with the target service type matching if it exists, then according to each destination node
The priority level of equipment subgroup determines the highest target node device subgroup of priority level;So that target node device
Group responds the target service request.
The possible embodiment of second with reference to first aspect, the embodiment of the present application provide the third of first aspect
Possible embodiment, wherein further include:
Obtain the IP address and network bandwidth of newly-increased node device;
According to the IP address of the newly-increased node device, newly-increased at least one corresponding node device of node device is determined
Subgroup;Wherein, the IP address of the newly-increased node device falls into the IP address section of at least one node device subgroup;
According to the network bandwidth and priority level of the newly-increased node device, node device corresponding at least one is increased newly from this
In a node device subgroup, screen and the newly-increased node device corresponding both candidate nodes equipment subgroup;
The newly-increased node device is added to both candidate nodes equipment subgroup.
The third possible embodiment with reference to first aspect, the embodiment of the present application provide the 4th kind of first aspect
Possible embodiment, wherein further include:
Whether the quantity for judging the node device that both candidate nodes equipment subgroup includes is more than the node device group
Preset quantity;
If being more than, the high node device of the priority level of preset quantity is chosen, forms node device subgroup.
The possible embodiment of second with reference to first aspect, the embodiment of the present application provide the 5th kind of first aspect
Possible embodiment, wherein further include:
Obtain the response time and packet loss of each node device;
The excellent of each node device is assessed according to the response time and packet loss of each node device according to predetermined period
First grade;
For each node device, if the priority level of the node device and locating node device subgroup
Priority level mismatches, then screen with the matched node device subgroup of priority level of node device, by the node device from
It is transferred in locating node device subgroup and the matched node device subgroup of the priority level of node device.
Second aspect, the embodiment of the present application also provides a kind of devices of service request response, wherein includes:
Module is obtained, for obtaining the target service solicited message of user, wherein the target service solicited message includes
Target service request, target service request address, target service transmission demand;
Screening module is used for according to the target service request address, the target service transmission demand, from multiple nodes
Node device group corresponding with target service request is screened in device cluster, obtains target node device group;So that the mesh
It marks node device group and responds the target service request.
In conjunction with second aspect, the embodiment of the present application provides the first possible embodiment of second aspect, wherein packet
It includes:
The screening module is specifically used for from the multiple node device group, screening and target service request ground
Corresponding at least one node device group in location;Wherein, the target service request address falls at least one described node device
The internet protocol address section of group;
According to the priority level of the business transmission demand and each node device group, from least one described node device
Screening node device group corresponding with target service request, obtains target node device group in group.
In conjunction with the possible embodiment of the first of second aspect or second aspect, the embodiment of the present application provides second party
The possible embodiment of second of face, wherein the target service solicited message further includes target service type, destination node
Device cluster includes multiple node device subgroups;The screening module includes:
Screening unit, for from multiple node device subgroups that the target node device group includes, screening with it is described
The target node device subgroup of target service type matching;
Determination unit, for multiple target node device subgroups with the target service type matching if it exists, then root
According to the priority level of each target node device subgroup, the highest target node device subgroup of priority level is determined;So that described
Target node device subgroup responds the target service request.
In conjunction with second of possible embodiment of second aspect, the embodiment of the present application provides the third of second aspect
Possible embodiment, wherein further include adding module, be used for:
Obtain the IP address and network bandwidth of newly-increased node device;
According to the IP address of the newly-increased node device, newly-increased at least one corresponding node device of node device is determined
Subgroup;Wherein, the IP address of the newly-increased node device falls into the IP address section of at least one node device subgroup;
According to the network bandwidth and priority level of the newly-increased node, at least one corresponding node of node is increased newly from this and is set
In standby subgroup, screen and the newly-increased node device corresponding both candidate nodes equipment subgroup;
The newly-increased node device is added to both candidate nodes equipment subgroup.
The method and device of a kind of service request response provided by the embodiments of the present application, wherein this method includes obtaining to use
The target service solicited message at family, wherein target service solicited message include target service request, target service request address,
Target service transmission demand;According to target service request address, target service transmission demand, screened from multiple node device groups
Node device group corresponding with target service request, obtains target node device group;So that target node device group responds target
Service request.Service server can pass through content distributing network (Content Delivery in the embodiment of the present application
Network, CDN) in real time by the data distribution of update to each node device group, node device group deposits the data of update
Storage, after processor receives the target service solicited message of user, the target industry that includes according to target service solicited message
Business request address, target service transmission demand screen node corresponding with target service request from multiple node device groups and set
Standby group, using node device group as target node device group, and responds the target service solicited message of user, does not need to service
Device end is responded to each, reduces the network bandwidth of server end, can be improved the target service request of response user
Speed, user experience are good.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow chart of the method for service request response provided by the embodiment of the present application;
Fig. 2 shows the flow charts of the method for the response of another kind service request provided by the embodiment of the present application;
Fig. 3 shows the flow chart of the method for the response of another kind service request provided by the embodiment of the present application;
Fig. 4 shows the flow chart of the method for the response of another kind service request provided by the embodiment of the present application;
Fig. 5 shows the flow chart of the method for the response of another kind service request provided by the embodiment of the present application;
Fig. 6 shows a kind of structural schematic diagram of the device of service request response provided by the embodiment of the present application;
Fig. 7 shows the structural schematic diagram of electronic equipment provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real
The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings
The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application
Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work
There are other embodiments, shall fall in the protection scope of this application.
Currently, by the way that service quality (Quality of Service, QoS) is configured in a network environment, to solve net
The problem of network delay and obstruction.Specifically, distributing and dispatching resource acording to the requirement of user, different data flows is provided not
With service quality, for example, to real-time, not strong general data is asked to strong real-time and important request of data priority processing
It asks, provides lower processing priority, or even abandoned in network congestion.In view of the above-mentioned problems, the embodiment of the present application mentions
The speed of the target service request of response user, user's body can be improved in a kind of method and device of service request response supplied
It tests good.
To be rung to a kind of service request disclosed in the embodiment of the present application first convenient for understanding the embodiment of the present application
The method answered describes in detail.Specifically, embodiment is introduced using processor or control device as executing subject.
As shown in Figure 1, the flow chart of the method for service request provided by the embodiments of the present application response, specific steps are such as
Under:
S101 obtains the target service solicited message of user, wherein target service solicited message includes that target service is asked
It asks, target service request address, target service transmission demand.
In specific implementation, user can send mesh by user terminal (including mobile device, tablet computer, computer etc.)
Service requesting information is marked, for example, downloading TV play, caching song etc..
Here, target service solicited message includes target service request, target service request address, target service transmission need
It asks.Wherein, target service request address includes the address the corresponding Internet protocol of user terminal (Internet Protocol, IP),
Target service transmission demand includes the demand that needs summed data transmission quality of the target service request to data transmission bauds,
The packet loss of response time and target service request i.e. to target service request.
S102, according to target service request address, target service transmission demand, screening and mesh from multiple node device groups
The corresponding node device group of service request is marked, target node device group is obtained;So that target node device group responds target service
Request.
In specific implementation, multiple node device groups have been pre-established according to building rule, wherein building rule includes pressing
Belong to same IP address section according to IP address, node device belongs to same manufacturer, and response time and packet loss belong to same
Range etc..
Here, according to target service request address, target service transmission demand, screening and mesh from multiple node device groups
The corresponding node device group of service request is marked, target node device group is obtained.Wherein, which falls into target
In the IP address section of node device group, and the response time of target node device group and packet loss meet target service transmission need
It asks.
After determining that target service requests corresponding target node device group, target node device group sends user
Target service request is responded.
It is worth noting that service server can pass through content distributing network (Content in the embodiment of the present application
Delivery Network, CDN) in real time by the data distribution of update to each node device group, node device group is by update
Data are stored, after processor receives the target service solicited message of user, according to target service request packet
The target service request address that includes, target service transmission demand, screening and target service request pair from multiple node device groups
The node device group answered using node device group as target node device group, and responds the target service solicited message of user,
It can be improved the speed of the target service request of response user, user experience is good.
Specifically, can determine target node device group according to method shown in Fig. 2, wherein specific step is as follows:
S201 screens at least one node device corresponding with target service request address from multiple node device groups
Group;Wherein, target service request address falls into the internet protocol address section of at least one node device group;
S202, according to the priority level of business transmission demand and each node device group, from least one node device group
It is middle to screen node device group corresponding with target service request, obtain target node device group.
In specific implementation, the IP address section that target service request address is fallen into, each IP address section pair can first be searched
At least one node device group is answered, when determining the IP address section that the target service request address is fallen into, namely target has been determined
Corresponding at least one node device group in service request address.
In corresponding at least one node device group of each IP address section, the corresponding priority level of each node device group is not
Together, according to the priority level of business transmission demand and each node device group, screening and mesh from least one node device group
The corresponding node device group of service request is marked, target node device group is obtained.
Wherein, the priority level of each node device group can be, the node device for including according to node device group
What response time and packet loss determined.
Here, target service solicited message further includes target service type, and target node device group includes that multiple nodes are set
Standby subgroup;In the target service request for responding user, target node device can also be determined according to method shown in Fig. 3
It is requested to respond the target service of user subgroup, wherein specific step is as follows:
S301, from multiple node device subgroups that target node device group includes, screening and target service type matching
Target node device subgroup;
S302, multiple if it exists and target service type matching target node device subgroups, then according to each target section
The priority level of point device subgroup determines the highest target node device subgroup of priority level;So that target node device subgroup
Respond target service request.
In specific implementation, can also be divided into according to multiple node devices that target node device group is included by type of service
Multiple node device subgroups.For example, movie download, variety show downloading, TV play downloading, music download etc..
After getting the target service type that target service solicited message includes, from target node device, group includes
In multiple node device subgroups, target node device subgroup namely the target service class of the screening with target service type matching
Type is identical as the type of service of target node device subgroup.
Wherein, each type of service can be corresponding at least one target node device subgroup, for example, each destination node
The priority level of equipment subgroup is different.At this point it is possible to which it is highest to choose priority level at least one target node device subgroup
Target node device subgroup, to respond target service request.
Specifically, service server passes through CDN for the data distribution of update to each node device group, each node device
Group is distributed to each node device subgroup, and each node device subgroup stores the data of update.Wherein, storage mode
For the data of update are backed up, Backup Data is obtained;The data of update and Backup Data are equally divided into N parts, which is
The node device quantity for including in present node equipment subgroup;N parts of data are respectively stored on N number of node device, are being carried out
When storage, each node device can also be identified, for example, the node equipment identification for the data that storage updates is to update,
Store the node equipment identification backup etc. of Backup Data.
Determining the corresponding target node device subgroup of target service request, and any node is set in the node device subgroup
After the standby target service request for receiving user, by N number of point device, the data identified on the node device of update are converged
Always, it obtains target service and requests corresponding feedback data, which is back to user terminal.By node device group to
The target service request at family is responded, and can reduce the network delay of the transmission channel between node device and service server
And obstruction, improve the speed of the target service request of response user.
Here it is possible to which the node device for including to each node device subgroup at any time is adjusted, for example, the newly-increased section of addition
Point device, the priority level based on each node device shift etc..Specifically, can be based on according to method shown in Fig. 4
Newly-increased node device is adjusted node device subgroup, wherein specific step is as follows:
S401 obtains the IP address and network bandwidth of newly-increased node device;
S402 determines that newly-increased at least one corresponding node of node device is set according to the IP address of newly-increased node device
Standby subgroup;Wherein, the IP address for increasing node device newly falls into the IP address section of at least one node device subgroup;
S403, according to the network bandwidth and priority level of newly-increased node device, from this, to increase node device newly corresponding at least
In one node device subgroup, both candidate nodes equipment subgroup corresponding with newly-increased node device is screened;
Newly-increased node device is added to both candidate nodes equipment subgroup by S404;
S405 judges whether the quantity for the node device that both candidate nodes equipment subgroup includes is more than the pre- of node device subgroup
If quantity;
S406 chooses the high node device of the priority level of preset quantity if being more than, and forms node device subgroup.
In specific implementation, newly-increased node device can be increased at any time, for example, newly-built computer room, the router etc. of networking.
When having monitored that newly-increased node device is added in network, the IP address and network of the newly-increased node device are obtained
Bandwidth.Firstly, corresponding at least one node device of IP address section that the IP address for finding out the newly-increased node device is fallen into
Group, then from least one node device subgroup, filters out the priority scheduling to match with the network bandwidth of newly-increased node device
Grade corresponding both candidate nodes equipment subgroup, is finally added to both candidate nodes equipment subgroup for newly-increased node device.
After newly-increased node device is added to both candidate nodes equipment subgroup, both candidate nodes equipment subgroup Zhong Bao is judged
The quantity of the node device included, if the preset quantity more than the both candidate nodes equipment subgroup chooses preset quantity if being more than
The high node device of priority level, form node device subgroup.
For example, the node device that node device subgroup A initially includes is 10, and the preset quantity of the node device subgroup
It is 10.After node device 1 is added to node device subgroup A, the node device that node device subgroup A is currently included is 11
Platform has been more than preset quantity, at this point, 10 node devices for initially including to node device subgroup A and node device 1 is preferential
Grade is assessed, and existing 11 node devices are arranged according to the sequence of priority level from high to low, and by preceding 10
The node device that platform node device includes as node device subgroup A.
Priority level according to method shown in fig. 5 based on each node device is adjusted node device subgroup,
In, the specific steps are as follows:
S501 obtains the response time and packet loss of each node device;
S502 assesses each node device according to the response time and packet loss of each node device according to predetermined period
Priority level;
S503, for each node device, if the priority level of the node device and locating node device subgroup is excellent
First grade mismatches, then screens the matched node device subgroup of priority level with node device, by node device from locating
It is transferred in node device subgroup and the matched node device subgroup of the priority level of node device.
In specific implementation, all node device subgroups can be adjusted according to predetermined period, such as one month
Adjustment is primary, and adjustment one in 1 year is inferior.
Before adjustment, response time and packet loss of each node device in historic transmission data are obtained, according to the section
The response time and packet loss of point device, determine the priority level of the node device.
For each node device subgroup, the corresponding priority scheduling of each node device that the node device subgroup includes is determined
After grade, judge whether the priority level of each node device matches with the priority level for the node device subgroup being presently in,
If matching, is retained in the node device subgroup being presently in;If mismatching, by the node device from the node being presently in
Equipment removes in subgroup.
The corresponding priority level of node device come out will be removed, with except the node device subgroup that is presently in it is corresponding excellent
First grade is matched, and is transferred to the node device come out is removed and the matched node device of the priority level of node device
Subgroup, and then achieve the purpose that each node device subgroup of adjustment.
It is worth noting that when adjusting the node device subgroup that node device group includes, it can also be according to above-mentioned adjustment
The method for the node device that node device subgroup includes is not done excessively repeat herein.
Based on the same inventive concept, the embodiment of the present application also provides business corresponding with the method that service request responds to ask
The device for asking response, the principle and the above-mentioned service request of the embodiment of the present application solved the problems, such as due to the device in the embodiment of the present application
The method of response is similar, therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.
Shown in Figure 6, the device of the response of service request provided by the another embodiment of the application includes:
Module 601 is obtained, for obtaining the target service solicited message of user, wherein the target service solicited message
Including target service request, target service request address, target service transmission demand;
Screening module 602, for according to the target service request address, the target service transmission demand, from multiple
Node device group corresponding with target service request is screened in node device group, obtains target node device group;So that institute
It states target node device group and responds the target service request.
In one embodiment, above-mentioned screening module 602 is specifically used for:
From the multiple node device group, screens at least one node corresponding with the target service request address and set
Standby group;Wherein, the target service request address falls into the internet protocol address section of at least one node device group;
According to the priority level of the business transmission demand and each node device group, from least one described node device
Screening node device group corresponding with target service request, obtains target node device group in group.
In another embodiment, the target service solicited message further includes target service type, and destination node is set
Standby group includes multiple node device subgroups;Above-mentioned screening module 602 includes:
Screening unit 6021, for from multiple node device subgroups that the target node device group includes, screening with
The target node device subgroup of the target service type matching;
Determination unit 6022, for multiple target node device subgroups with the target service type matching if it exists,
Then according to the priority level of each target node device subgroup, the highest target node device subgroup of priority level is determined;So that
The target node device subgroup responds the target service request.
In yet another embodiment, the device of above-mentioned service request response further includes adding module 603, is used for:
Obtain the IP address and network bandwidth of newly-increased node device;
According to the IP address of the newly-increased node device, newly-increased at least one corresponding node device of node device is determined
Subgroup;Wherein, the IP address of the newly-increased node device falls into the IP address section of at least one node device subgroup;
According to the network bandwidth and priority level of the newly-increased node device, node device corresponding at least one is increased newly from this
In a node device subgroup, screen and the newly-increased node device corresponding both candidate nodes equipment subgroup;
The newly-increased node device is added to both candidate nodes equipment subgroup.
In yet another embodiment, the device of above-mentioned service request response further includes building module 604, is used for:
Whether the quantity for judging the node device that both candidate nodes equipment subgroup includes is more than the node device group
Preset quantity;
If being more than, the high node device of the priority level of preset quantity is chosen, forms node device subgroup.
In another embodiment, the device of above-mentioned service request response further includes adjustment module 605, is used for:
Obtain the response time and packet loss of each node device;
The excellent of each node device is assessed according to the response time and packet loss of each node device according to predetermined period
First grade;
For each node device, if the priority level of the node device and locating node device subgroup
Priority level mismatches, then screen with the matched node device subgroup of priority level of node device, by the node device from
It is transferred in locating node device subgroup and the matched node device subgroup of the priority level of node device.
Fig. 7 describes a kind of structure of terminal device 700 provided in an embodiment of the present invention, the terminal device 700 include: to
A few processor 701, at least one network interface 704 or other users interface 703, memory 705, at least one communication
Bus 702.Communication bus 702 is for realizing the connection communication between these components.The terminal device 700 optionally includes user
Interface 703, including display is (for example, touch screen, LCD, CRT, holographic imaging (Holographic) or projection
(Projector) etc.), keyboard or pointing device are (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen
Deng).
Memory 705 may include read-only memory and random access memory, and provide instruction sum number to processor 701
According to.The a part of of memory 705 can also include nonvolatile RAM (NVRAM).
In some embodiments, memory 705 stores following element, executable modules or data structures, or
Their subset of person or their superset:
Operating system 7051 includes various system programs, hardware based for realizing various basic businesses and processing
Task;
Application program module 7052 includes various application programs, such as desktop (launcher), media player (Media
Player), browser (Browser) etc., for realizing various applied business.
In embodiments of the present invention, by the program or instruction of calling memory 705 to store, processor 701 is used for:
Obtain user target service solicited message, wherein the target service solicited message include target service request,
Target service request address, target service transmission demand;
According to the target service request address, the target service transmission demand, screened from multiple node device groups
Node device group corresponding with target service request, obtains target node device group;So that the target node device group
Respond the target service request.
Optionally, described according to the target service request address, the target industry in the method that processor 701 executes
Business transmission demand, node device group corresponding with target service request is screened from multiple node device groups, obtains target
Node device group, comprising:
From the multiple node device group, screens at least one node corresponding with the target service request address and set
Standby group;Wherein, the target service request address falls into the internet protocol address section of at least one node device group;
According to the priority level of the business transmission demand and each node device group, from least one described node device
Screening node device group corresponding with target service request, obtains target node device group in group.
Optionally, in the method that processor 701 executes, the target service solicited message further includes target service type,
Target node device group includes multiple node device subgroups;It is described according to the target service request address, the target service
Transmission demand screens node device group corresponding with target service request from multiple node device groups, obtains target section
Point device group, comprising:
From multiple node device subgroups that the target node device group includes, screening and the target service type
The target node device subgroup matched;
Multiple target node device subgroups with the target service type matching if it exists, then according to each destination node
The priority level of equipment subgroup determines the highest target node device subgroup of priority level;So that target node device
Group responds the target service request.
Optionally, in the method that processor 701 executes, further includes:
Obtain the IP address and network bandwidth of newly-increased node device;
According to the IP address of the newly-increased node device, newly-increased at least one corresponding node device of node device is determined
Subgroup;Wherein, the IP address of the newly-increased node device falls into the IP address section of at least one node device subgroup;
According to the network bandwidth and priority level of the newly-increased node device, node device corresponding at least one is increased newly from this
In a node device subgroup, screen and the newly-increased node device corresponding both candidate nodes equipment subgroup;
The newly-increased node device is added to both candidate nodes equipment subgroup.
Optionally, in the method that processor 701 executes, further includes:
Whether the quantity for judging the node device that both candidate nodes equipment subgroup includes is more than the node device subgroup
Preset quantity;
If being more than, the high node device of the priority level of preset quantity is chosen, forms node device subgroup.
Optionally, in the method that processor 701 executes, further includes:
Obtain the response time and packet loss of each node device;
The excellent of each node device is assessed according to the response time and packet loss of each node device according to predetermined period
First grade;
For each node device, if the priority level of the node device and locating node device subgroup
Priority level mismatches, then screen with the matched node device subgroup of priority level of node device, by the node device from
It is transferred in locating node device subgroup and the matched node device subgroup of the priority level of node device.
The computer program product of the method and device of the response of service request provided by the embodiment of the present application, including storage
The computer readable storage medium of program code, the instruction that program code includes can be used for executing in previous methods embodiment
Method, specific implementation can be found in embodiment of the method, and details are not described herein.
Specifically, which can be general storage medium, such as mobile disk, hard disk, on the storage medium
Computer program when being run, the method for being able to carry out above-mentioned service request response, so as to can be improved response user
Target service request speed, user experience is good.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application
Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen
It please be described in detail, those skilled in the art should understand that: anyone skilled in the art
Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application
Within the scope of.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (10)
1. a kind of method of service request response characterized by comprising
Obtain the target service solicited message of user, wherein the target service solicited message includes target service request, target
Service request address, target service transmission demand;
According to the target service request address, the target service transmission demand, screening and institute from multiple node device groups
It states target service and requests corresponding node device group, obtain target node device group;So that the target node device group response
The target service request.
2. the method according to claim 1, wherein described according to the target service request address, the mesh
Mark business transmission demand is screened node device group corresponding with target service request from multiple node device groups, is obtained
Target node device group, comprising:
From the multiple node device group, at least one node device corresponding with the target service request address is screened
Group;Wherein, the target service request address falls into the internet protocol address section of at least one node device group;
According to the priority level of the business transmission demand and each node device group, from least one node device group
Node device group corresponding with target service request is screened, target node device group is obtained.
3. method according to claim 1 or 2, which is characterized in that the target service solicited message further includes target industry
Service type, target node device group include multiple node device subgroups;It is described according to the target service request address, the mesh
Mark business transmission demand is screened node device group corresponding with target service request from multiple node device groups, is obtained
Target node device group, comprising:
From multiple node device subgroups that the target node device group includes, screening and the target service type matching
Target node device subgroup;
Multiple target node device subgroups with the target service type matching if it exists, then according to each target node device
The priority level of subgroup determines the highest target node device subgroup of priority level;So that the target node device subgroup is rung
The target service is answered to request.
4. according to the method described in claim 3, it is characterized by further comprising:
Obtain the IP address and network bandwidth of newly-increased node device;
According to the IP address of the newly-increased node device, determine that this increases corresponding at least one node device of node device newly
Group;Wherein, the IP address of the newly-increased node device falls into the IP address section of at least one node device subgroup;
According to the network bandwidth and priority level of the newly-increased node device, at least one corresponding section of node device is increased newly from this
In point device subgroup, screen and the newly-increased node device corresponding both candidate nodes equipment subgroup;
The newly-increased node device is added to both candidate nodes equipment subgroup.
5. according to the method described in claim 4, it is characterized by further comprising:
Whether the quantity for judging the node device that both candidate nodes equipment subgroup includes is more than the default of the node device group
Quantity;
If being more than, the high node device of the priority level of preset quantity is chosen, forms node device subgroup.
6. according to the method described in claim 3, it is characterized by further comprising:
Obtain the response time and packet loss of each node device;
The priority scheduling of each node device is assessed according to the response time and packet loss of each node device according to predetermined period
Grade;
For each node device, if the priority level of the node device and locating node device subgroup is preferential
Grade mismatches, then screen with the matched node device subgroup of priority level of node device, by the node device from locating
Node device subgroup in be transferred to and the matched node device subgroup of the priority level of node device.
7. a kind of device of service request response characterized by comprising
Module is obtained, for obtaining the target service solicited message of user, wherein the target service solicited message includes target
Service request, target service request address, target service transmission demand;
Screening module is used for according to the target service request address, the target service transmission demand, from multiple node devices
Screening node device group corresponding with target service request, obtains target node device group in group;So that the target section
Point device group responds the target service request.
8. device according to claim 7 characterized by comprising
The screening module is specifically used for from the multiple node device group, screening and the target service request address pair
At least one node device group answered;Wherein, the target service request address falls at least one node device group's
Internet protocol address section;
According to the priority level of the business transmission demand and each node device group, from least one node device group
Node device group corresponding with target service request is screened, target node device group is obtained.
9. device according to claim 7 or 8, which is characterized in that the target service solicited message further includes target industry
Service type, target node device group include multiple node device subgroups;The screening module includes:
Screening unit, for screening and the target from multiple node device subgroups that the target node device group includes
The matched target node device subgroup of type of service;
Determination unit, for multiple target node device subgroups with the target service type matching if it exists, then according to every
The priority level of a target node device subgroup determines the highest target node device subgroup of priority level;So that the target
Node device subgroup responds the target service request.
10. device according to claim 9, which is characterized in that further include adding module, be used for:
Obtain the IP address and network bandwidth of newly-increased node device;
According to the IP address of the newly-increased node device, determine that this increases corresponding at least one node device of node device newly
Group;Wherein, the IP address of the newly-increased node device falls into the IP address section of at least one node device subgroup;
According to the network bandwidth and priority level of the newly-increased node, corresponding at least one node device of node is increased newly from this
In group, screen and the newly-increased node device corresponding both candidate nodes equipment subgroup;
The newly-increased node device is added to both candidate nodes equipment subgroup.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910334739.9A CN109862124A (en) | 2019-04-24 | 2019-04-24 | A kind of method and device of service request response |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910334739.9A CN109862124A (en) | 2019-04-24 | 2019-04-24 | A kind of method and device of service request response |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109862124A true CN109862124A (en) | 2019-06-07 |
Family
ID=66889396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910334739.9A Pending CN109862124A (en) | 2019-04-24 | 2019-04-24 | A kind of method and device of service request response |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109862124A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830565A (en) * | 2019-10-31 | 2020-02-21 | 北京奇艺世纪科技有限公司 | Resource downloading method, device, system, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102158512A (en) * | 2010-02-11 | 2011-08-17 | 联想(北京)有限公司 | Load balance dispatching method, device and system |
CN105847381A (en) * | 2016-04-18 | 2016-08-10 | 乐视控股(北京)有限公司 | Scheduling method and device for content server |
CN105959405A (en) * | 2016-06-24 | 2016-09-21 | 北京兰云科技有限公司 | CDN video scheduling system and method, CDN scheduling server and client |
CN106101232A (en) * | 2016-06-16 | 2016-11-09 | 北京思源置地科技有限公司 | Load-balancing method and device |
CN108667935A (en) * | 2018-05-11 | 2018-10-16 | 深圳市网心科技有限公司 | Network service method, server, network system and storage medium |
CN109151009A (en) * | 2018-08-09 | 2019-01-04 | 中国联合网络通信集团有限公司 | A kind of CDN node distribution method and system based on MEC |
CN109561141A (en) * | 2018-11-21 | 2019-04-02 | 中国联合网络通信集团有限公司 | A kind of selection method and equipment of CDN node |
-
2019
- 2019-04-24 CN CN201910334739.9A patent/CN109862124A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102158512A (en) * | 2010-02-11 | 2011-08-17 | 联想(北京)有限公司 | Load balance dispatching method, device and system |
CN105847381A (en) * | 2016-04-18 | 2016-08-10 | 乐视控股(北京)有限公司 | Scheduling method and device for content server |
CN106101232A (en) * | 2016-06-16 | 2016-11-09 | 北京思源置地科技有限公司 | Load-balancing method and device |
CN105959405A (en) * | 2016-06-24 | 2016-09-21 | 北京兰云科技有限公司 | CDN video scheduling system and method, CDN scheduling server and client |
CN108667935A (en) * | 2018-05-11 | 2018-10-16 | 深圳市网心科技有限公司 | Network service method, server, network system and storage medium |
CN109151009A (en) * | 2018-08-09 | 2019-01-04 | 中国联合网络通信集团有限公司 | A kind of CDN node distribution method and system based on MEC |
CN109561141A (en) * | 2018-11-21 | 2019-04-02 | 中国联合网络通信集团有限公司 | A kind of selection method and equipment of CDN node |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830565A (en) * | 2019-10-31 | 2020-02-21 | 北京奇艺世纪科技有限公司 | Resource downloading method, device, system, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sharma et al. | Distributing content simplifies isp traffic engineering | |
US10021214B2 (en) | Synthetic transactions between communication endpoints | |
EP1770952B1 (en) | Method and server for allocating resources in a distributed environment based on network assessment | |
CN110071977A (en) | A kind of data transmission method and device | |
JP2001067377A (en) | System and method obtained by integrating distribution of load and resource management in internet environment | |
JP2011507115A (en) | Distributing content data packages originated by users of a super peer-to-peer network | |
US10715635B2 (en) | Node route selection method and system | |
CN108933847A (en) | A kind of method and device that address is quickly distributed | |
US20130041728A1 (en) | Real time service advertisement for billing and revenue settlement in a federated model | |
TW201605206A (en) | Propagating routing awareness for autonomous networks | |
CN104735088A (en) | Server node adjusting method and device in CDN (content delivery network) | |
US10375159B2 (en) | Load balancing origin server requests | |
US20180316741A1 (en) | Synthetic Transaction based on Network Condition | |
Kim et al. | Differentiated forwarding and caching in named-data networking | |
US20140229586A1 (en) | Dynamically allocating network resources for communication session | |
CN110045964A (en) | Software gray scale dissemination method, proxy server, configuration center and system | |
JP2010517160A (en) | Method and apparatus for providing network resources to a content provider | |
US11025688B1 (en) | Automated streaming data platform | |
CN103401799A (en) | Method and device for realizing load balance | |
CN109639502B (en) | Return source control method and content distribution network | |
CN109962961A (en) | A kind of reorientation method and system of content distribution network CDN service node | |
CN113612866B (en) | Address detection method and device, computer equipment and storage medium | |
CN109862124A (en) | A kind of method and device of service request response | |
CN113630457B (en) | Task scheduling method and device, computer equipment and storage medium | |
CN109413117B (en) | Distributed data calculation method, device, server and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190607 |