CN110493321A - System, server are dispatched in a kind of resource acquiring method and edge - Google Patents

System, server are dispatched in a kind of resource acquiring method and edge Download PDF

Info

Publication number
CN110493321A
CN110493321A CN201910671278.4A CN201910671278A CN110493321A CN 110493321 A CN110493321 A CN 110493321A CN 201910671278 A CN201910671278 A CN 201910671278A CN 110493321 A CN110493321 A CN 110493321A
Authority
CN
China
Prior art keywords
resource
scheduling
server cluster
edge
target resource
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.)
Granted
Application number
CN201910671278.4A
Other languages
Chinese (zh)
Other versions
CN110493321B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201910671278.4A priority Critical patent/CN110493321B/en
Publication of CN110493321A publication Critical patent/CN110493321A/en
Application granted granted Critical
Publication of CN110493321B publication Critical patent/CN110493321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a kind of resource acquiring methods and edge to dispatch system, server, wherein the described method includes: receiving the resource acquisition request for the direction target resource that client is sent, and attempts to obtain the target resource from server cluster;If the target resource can not be got from the server cluster, another destination server cluster for storing the target resource is inquired, and sends the scheduling agent request for being directed toward the target resource to the associated object edge scheduling system of the destination server cluster;It is requested in object edge scheduling system in response to the scheduling agent, in the case where obtaining the target resource from the destination server cluster, the target resource of the object edge scheduling system feedback is received, and the target resource is supplied to the client.Technical solution provided by the present application can be improved the convenience and safety of resource acquisition.

Description

System, server are dispatched in a kind of resource acquiring method and edge
Technical field
The present invention relates to Internet technical field, in particular to a kind of resource acquiring method and edge scheduling system, service Device.
Background technique
Currently, in order to improve the loading velocities of Internet resources, content distributing network (Content Delivery is usually utilized Network, CDN) Internet resources are accelerated.Specifically, as shown in Figure 1, may include multiple edge scheduling system in CDN System, each edge scheduling system can be associated with respective server cluster, and the cache server in server cluster can be with Store various Internet resources.
As shown in Figure 1, can dispatch system A when client needs to obtain target resource to nearest edge and send money Source acquisition request, then scheduling system A in edge can obtain target resource from associated server cluster.However, sometimes side Edge scheduling system A possibly can not get target resource from associated server cluster, in this case, edge scheduling system The A that unites can be linked, client can dispatch system B to edge to one redirection link of client feedback by the redirection Resource acquisition request is initiated again, to attempt to obtain target resource from edge scheduling system B.
Existing this resource acquisition mode, when the edge scheduling system of client access for the first time can not provide target money When source, client needs to initiate multiple resource acquisition request, can just get target resource, this can undoubtedly aggravate client Burden, also will affect the usage experience of user.In addition, second of client is initiated resource acquisition request to edge scheduling system B When, need to dispatch system B progress communication negotiation with edge.However, the certificate used in the communication negotiation process is not usually The certificate of client itself, therefore the safety for the communication connection established cannot ensure.In consideration of it, needing one kind at present more just Prompt, safer resource acquiring method.
Summary of the invention
The application's is designed to provide a kind of resource acquiring method and edge scheduling system, server, can be improved money The convenience and safety that source obtains.
To achieve the above object, on the one hand the application provides a kind of resource acquiring method, and the method is applied to edge tune In degree system, the edge scheduling system is associated with server cluster;The described method includes: receiving the direction that client is sent The resource acquisition of target resource is requested, and attempts to obtain the target resource from the server cluster;If can not be from described The target resource is got in server cluster, inquires another destination server collection for storing the target resource Group, and the scheduling agent for being directed toward the target resource is sent to the associated object edge scheduling system of the destination server cluster Request;It requests in object edge scheduling system in response to the scheduling agent, is obtained from the destination server cluster In the case where the target resource, the target resource of object edge scheduling system feedback is received, and by the target Resource is supplied to the client.
To achieve the above object, on the other hand the application also provides a kind of edge scheduling system, and system is dispatched at the edge Include: resource acquisition requesting processing, for receiving the resource acquisition request for the direction target resource that client is sent, and tastes Examination obtains the target resource from the server cluster;Query unit is dispatched, if for can not be from the server cluster In get the target resource, inquire another destination server cluster for storing the target resource, and to described The associated object edge scheduling system of destination server cluster sends the scheduling agent request for being directed toward the target resource;Resource mentions For unit, for being requested in object edge scheduling system in response to the scheduling agent, from the destination server cluster It is middle obtain the target resource in the case where, receive the target resource of the object edge scheduling system feedback, and by institute It states target resource and is supplied to the client.
To achieve the above object, on the other hand the application also provides a kind of edge dispatch server, the edge scheduling clothes Business device includes memory and processor, and the memory is for storing computer program, and the computer program is by the processing When device executes, above-mentioned resource acquiring method is realized.
Therefore technical solution provided by the present application, when the edge scheduling system that client accesses nearby receives visitor When the resource acquisition request that family end is sent, it can attempt to obtain corresponding target resource from associated server cluster.If Scheduling system in the edge can not get target resource, then another target clothes for storing the target resource can be inquired Business device cluster, and scheduling agent request, the generation can be sent to the associated object edge scheduling system of the destination server cluster Reason scheduling request can be used for obtaining target resource from destination server cluster.In this way, object edge scheduling system receives After scheduling agent request, above-mentioned target resource can be obtained from destination server cluster, and can be anti-by target resource Dispatch system in the edge that client of feeding accesses nearby.Subsequent, target resource can be supplied to client by edge scheduling system, To complete the process of resource acquisition.In the process resource access, client is only needed to the edge scheduling system accessed nearby System sends first resource acquisition request, without sending repeatedly request to different edge scheduling systems, to alleviate client Burden, optimize the usage experience of user.In addition, edge scheduling system dispatches system by agent way, to object edge When sending scheduling agent request, without carrying out communication negotiation with object edge scheduling system, to ensure that the peace of resource acquisition Quan Xing.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is resource acquisition schematic diagram in the prior art;
Fig. 2 is the system architecture schematic diagram of resource acquisition in embodiment of the present invention;
Fig. 3 is the step schematic diagram of resource acquiring method in embodiment of the present invention;
Fig. 4 is the functional block diagram of scheduling system in edge in embodiment of the present invention;
Fig. 5 is the structural schematic diagram of edge dispatch server in embodiment of the present invention;
Fig. 6 is the structural schematic diagram of terminal in embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The application provides a kind of resource acquiring method, and this method can be applied in system as shown in Figure 2.In the system In, may include client, the client access nearby edge scheduling system, dispatch with the edge the associated service of system Device cluster, another object edge scheduling system, dispatched with the object edge the associated destination server cluster of system and Central dispatching system.Wherein, the client can be the terminal device that user uses, and be also possible to run on the terminal device In software.The client can access the scheduling of the edge in CDN system system nearby, and obtain from edge scheduling system Target resource.It may include multiple cache servers in the server cluster of edge scheduling system relationship, it is each described slow Depositing server can be used for storing Internet resources, and system is dispatched at edge can be according to preset scheduling strategy, from associated Target resource needed for obtaining client at one or more cache server in server cluster.Another above-mentioned mesh It marks edge and dispatches system, carried out between the edge scheduling system that can be accessed nearby with client by proxy mode (proxy) Communication.Object edge scheduling system can also have itself associated destination server cluster, and the destination server collection One or more cache server for including in group can be used for storage Internet resources.Above-mentioned central dispatching system, can The resource scheduling information of each edge scheduling system for storage, the resource scheduling information is it can be shown which edge scheduling System has identical resource pool.Each edge scheduling system can actively load newest resource from the central dispatching system Scheduling information, meanwhile, central dispatching system can also issue newest money to each edge scheduling system according to the fixed period Source scheduling information.
As soon as the resource acquiring method provided in the application embodiment, executing subject can be above-mentioned client proximity The edge scheduling system entered.Fig. 2 and Fig. 3 are please referred to, this method may comprise steps of.
S1: the resource acquisition request for the direction target resource that client is sent is received, and is attempted from the server cluster It is middle to obtain the target resource.
In the present embodiment, client and nearest edge scheduling system can first pass through the foundation of three-way handshake principle in advance TCP connection, subsequent, client can dispatch system transmission resources acquisition request, and edge tune to edge by the TCP connection Degree system can also provide corresponding target resource to client by the TCP connection.In TCP connection establishment process, client End uses HTTP certificate with edge scheduling system, which is usually the certificate for belonging to client itself, therefore establish The security performance of TCP connection accesses guarantee.
In the present embodiment, after establishing TCP connection, client can dispatch system to edge and send direction mesh The resource acquisition request of resource is marked, resource acquisition request can be a URL (Uniform Resource Locator, system One Resource Locator).In resource acquisition request, the resource identification of target resource can be carried.For example, showing in an application In example, resource acquisition request can be https: //test.com.cn/xx.jpg, wherein xx.jpg can be the picture The resource identification of the target resource of form.
In the present embodiment, after scheduling system in edge receives resource acquisition request, which can be asked The cache server being dispatched in associated server cluster is asked to be handled.Specifically, edge scheduling system can be according to pre- The scheduling strategy first configured is requested to dispatch the resource acquisition.For example, edge scheduling system can by consistency hash algorithm, Calculate the resource acquisition request cryptographic Hash, and by the cryptographic Hash in server cluster corresponding cache server, as this The cache server of resource acquisition request scheduling extremely.
Certainly, in practical applications, scheduling system in edge can also dispatch the resource according to other scheduling strategies and obtain Take request.For example, scheduling system in edge can detecte the load condition that each cache server is current in server cluster, and can With by the resource acquisition request scheduling to loading at minimum cache server.
In the present embodiment, scheduling system in edge passes through the caching by resource acquisition request scheduling into server cluster At server, so as to attempt to obtain corresponding target resource from server cluster.Specifically, it is breathed out according to above-mentioned consistency The scheduling mode of uncommon algorithm, determined in the server cluster cache server that the resource acquisition request maps to it Afterwards, scheduling system in edge can request the resource acquisition to be sent to the cache server, to be taken by the caching Business device provides the target resource.In addition, scheduling system in edge can also traverse the clothes of each caching in the server cluster It is engaged in device, to successively attempt to obtain the target resource from each cache server, when getting the target resource Afterwards, ergodic process can be stopped.In this way, scheduling system in edge can be attempted to provide target money by single cache server Source can also attempt to obtain target resource by way of traversing multiple cache servers.
S3: if the target resource can not be got from the server cluster, inquiry is for storing the target money Another destination server cluster in source, and send and be directed toward to the associated object edge scheduling system of the destination server cluster The scheduling agent of the target resource is requested.
In the present embodiment, if the cache server mapped in the server cluster is requested in the resource acquisition Each cache server in the target resource or the server cluster, which can not be provided, can not provide the target money Source then shows that scheduling system in edge can not get the target resource from the server cluster at present.It causes not obtaining The reason of getting target resource may be that there is currently no the target resources in cache server, but in cache server Resource information does not timely update, has mistakenly been accessed edge scheduling system so as to cause client.At this point, in order to Enough correctly to provide target resource to client, scheduling system in edge can inquire in CDN for storing the target resource Another destination server cluster.
Specifically, system is dispatched at each edge in CDN, can be according to the specified time cycle in central dispatching system The resource pool information of itself is reported, which can be currently stored in the server cluster of edge scheduling system relationship The Resources list of every resource.It, can be in this way, central dispatching system dispatches the resource pool information that reports of system according to each edge Summarize and analyze to obtain resource scheduling information, which can be used for characterizing the server set for having same asset pond Group.For example, central dispatching system can be by the cluster of these server clusters for the server cluster for having same asset pond The system banner of mark and corresponding edge scheduling system is deposited in jointly in the same scheduling set.In practical applications, Each edge scheduling system in CDN can load newest scheduling of resource letter according to the specified period from central dispatching system Breath or each edge scheduling system can also receive the newest scheduling of resource letter that the central dispatching system actively issues Breath, so as to update scheduling of resource current in each edge scheduling system according to the newest resource scheduling information Information.
In the present embodiment, if the edge scheduling system that client accesses nearby can not be from associated server cluster Target resource is got, then scheduling system in the edge can read current resource scheduling information, and according to described current The server cluster of resource scheduling information, inquiry and edge scheduling system relationship has the destination server collection in same asset pond Group.Specifically, edge scheduling system can be using the cluster identity of itself associated server cluster as index condition, in resource Inquiry is in other cluster identities in same scheduling set with the cluster identity in scheduling information, may thereby determine that this is other The corresponding destination server cluster of cluster identity.
It may include IP in a practical application scene, in the resource scheduling information that is locally stored of edge scheduling system Location library can indicate the IP address for having the server cluster in same asset pond and each server cluster in the IP address library The IP address of associated edge scheduling system.In this way, scheduling system in edge can lead to after inquiry obtains destination service cluster The mode for crossing agency sends the agency's tune for being directed toward target resource to the associated object edge scheduling system of the destination server cluster Degree request.
It in the present embodiment, is the side based on agency to allow object edge to dispatch the request of the system aware scheduling agent What formula was sent, the edge scheduling system that client accesses nearby addition can be used to characterize agency in resource acquisition request The label of scheduling, and the resource acquisition for carrying label request is sent to the object edge tune as scheduling agent request Degree system.For example, the resource acquisition request that client is sent for example can be https: //test.com.cn/xx.jpg, Characterization scheduling agent label can be wsiphost=proxy, then the resource acquisition request in be added to the label it Can afterwards, https be obtained: //test.com.cn/xx.jpg the request of scheduling agent as wsiphost=proxy.This Sample, edge are dispatched between system and object edge scheduling system, be may not need and are carried out additional communication negotiation process, but pass through The mode of agency carries out data interaction, during communication negotiation, since data caused by certificate is dangerous pass Defeated is dangerous.
S5: it is requested in object edge scheduling system in response to the scheduling agent, from the destination server cluster It is middle obtain the target resource in the case where, receive the target resource of the object edge scheduling system feedback, and by institute It states target resource and is supplied to the client.
In the present embodiment, object edge scheduling system, can be from the agency after receiving scheduling agent request The resource identification of target resource is identified in scheduling request, and can be attempted according to scheduling mode similar in step S3 from pass The target resource is obtained in the destination server cluster of connection.After object edge scheduling system gets the target resource, The target resource is returned to edge scheduling system.System is dispatched so as to which the target resource is supplied to client in edge End, to complete the process of resource acquisition.
In one embodiment, if object edge scheduling system still can not be got from destination server cluster Target resource, the system that can dispatch to edge, which sends characterization, can not obtain the feedback information of resource.Scheduling system in edge is connecing It, can be according to this after receiving the feedback information that the characterization that the object edge scheduling system is sent can not obtain the target resource Ground storage resource scheduling information, inquire again for store the target resource in addition to the destination server cluster Another server cluster, and sent to the associated edge scheduling system of another described server cluster and be directed toward the target money The scheduling agent in source is requested.Similarly, another server cluster inquired, the service with edge scheduling system relationship Device cluster can also have identical resource pool.
It should be noted that the above-mentioned server cluster for having same asset pond, is believed according to current scheduling of resource Breath inquiry obtains.But in practical applications, in certain server cluster actual storage resource, may believe with scheduling of resource Breath is not inconsistent, so that will lead to can not normally get target resource, just may require that mention by the application above embodiment in this way The technical solution of confession is attempted to obtain target resource between different server clusters.The resource of this actual storage, with resource The case where scheduling information is not inconsistent in edge scheduling system can give the correct time in resource information and be corrected, be in the phase people having the same aspiration and interest originally Server cluster in degree set, may be divided in different scheduling sets due to resource change.It can protect in this way The accuracy of resource scheduling information is demonstrate,proved, so as to improve the success rate of resource acquisition.
Referring to Fig. 4, the application also provides a kind of edge scheduling system, the edge scheduling system and server set faciation Association;Dispatch system in the edge
Requesting processing, for receiving the resource acquisition request for the direction target resource that client sends, and attempt from The target resource is obtained in the server cluster;
Scheduling agent unit, if for that can not get the target resource from the server cluster, inquiry is used for Store another destination server cluster of the target resource, and to the associated object edge tune of the destination server cluster Degree system sends the scheduling agent request for being directed toward the target resource;
Resource feedback unit, for requesting in object edge scheduling system in response to the scheduling agent, from described In the case where obtaining the target resource in destination server cluster, the mesh of the object edge scheduling system feedback is received Resource is marked, and the target resource is supplied to the client.
In one embodiment, the scheduling agent unit includes:
Resource pool enquiry module, for reading resource scheduling information current in the edge scheduling system, and according to institute Current resource scheduling information is stated, the server cluster that inquiry dispatches system relationship with the edge has the mesh in same asset pond Mark server cluster.
In one embodiment, the scheduling agent unit includes:
Label adding module, for adding the label for characterizing scheduling agent in resource acquisition request, and will The resource acquisition request for carrying the label is sent to the object edge scheduling system as scheduling agent request.
In one embodiment, the system also includes:
Scheduling unit again, for the mesh can not to be obtained in the characterization for receiving the object edge scheduling system transmission After the feedback information for marking resource, inquired again for storing the another in addition to the destination server cluster of the target resource One server cluster, and sent to the associated edge scheduling system of another described server cluster and be directed toward the target resource Scheduling agent request.
Referring to Fig. 5, the application also provides a kind of edge dispatch server, the edge dispatch server includes processor And memory, the memory is for storing computer program, when the computer program is executed by the processor, in realization The resource acquiring method stated.
Referring to Fig. 6, in this application, the technical solution in above-described embodiment can be applied to meter as shown in FIG. 6 In calculation machine terminal 10.Terminal 10 may include 102 (processor of one or more (one is only shown in figure) processors 102 can include but is not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), for storing data Memory 104 and transmission module 106 for communication function.It will appreciated by the skilled person that shown in Fig. 6 Structure be only illustrate, the structure of above-mentioned electronic device is not caused to limit.For example, terminal 10 may also include ratio More perhaps less component shown in Fig. 6 or with the configuration different from shown in Fig. 6.
Memory 104 can be used for storing the software program and module of application software, and processor 102 is stored in by operation Software program and module in memory 104, thereby executing various function application and data processing.Memory 104 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102 The memory of setting, these remote memories can pass through network connection to terminal 10.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Therefore technical solution provided by the present application, when the edge scheduling system that client accesses nearby receives visitor When the resource acquisition request that family end is sent, it can attempt to obtain corresponding target resource from associated server cluster.If Scheduling system in the edge can not get target resource, then another target clothes for storing the target resource can be inquired Business device cluster, and scheduling agent request, the generation can be sent to the associated object edge scheduling system of the destination server cluster Reason scheduling request can be used for obtaining target resource from destination server cluster.In this way, object edge scheduling system receives After scheduling agent request, above-mentioned target resource can be obtained from destination server cluster, and can be anti-by target resource Dispatch system in the edge that client of feeding accesses nearby.Subsequent, target resource can be supplied to client by edge scheduling system, To complete the process of resource acquisition.In the process resource access, client is only needed to the edge scheduling system accessed nearby System sends first resource acquisition request, without sending repeatedly request to different edge scheduling systems, to alleviate client Burden, optimize the usage experience of user.In addition, edge scheduling system dispatches system by agent way, to object edge When sending scheduling agent request, without carrying out communication negotiation with object edge scheduling system, to ensure that the peace of resource acquisition Quan Xing.
Each embodiment in this specification is described in a progressive manner, same and similar between each embodiment Part may refer to each other, what each embodiment stressed is the difference with other embodiments.In particular, needle For the embodiment of system and server, the introduction control for being referred to the embodiment of preceding method is explained.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of resource acquiring method, which is characterized in that the method is applied in edge scheduling system, edge scheduling system It unites associated with server cluster;The described method includes:
The resource acquisition request for the direction target resource that client is sent is received, and attempts to obtain institute from the server cluster State target resource;
If the target resource can not be got from the server cluster, inquire for storing the another of the target resource A destination server cluster, and sent to the associated object edge scheduling system of the destination server cluster and be directed toward the target The scheduling agent of resource is requested;
It is requested in object edge scheduling system in response to the scheduling agent, obtains institute from the destination server cluster In the case where stating target resource, the target resource of the object edge scheduling system feedback is received, and the target is provided Source is supplied to the client.
2. the method according to claim 1, wherein attempting to obtain the target money from the server cluster Source includes:
Determine that the cache server mapped to is requested in the resource acquisition in the server cluster, and by the resource acquisition Request is sent to the cache server, to provide the target resource by the cache server;
Or
Each cache server in the server cluster is traversed, described in successively obtaining from each cache server Target resource;After getting the target resource, stop ergodic process.
3. method according to claim 1 or 2, which is characterized in that can not be got from the server cluster described Target resource includes:
If the cache server that the resource acquisition request maps in the server cluster can not provide the target money Each cache server in source or the server cluster can not provide the target resource, and judgement can not be from described The target resource is got in server cluster.
4. the method according to claim 1, wherein the method also includes:
Newest resource scheduling information is loaded from central dispatching system according to the specified period, or receives the central dispatching system The newest resource scheduling information that system issues, and updated in the edge scheduling system according to the newest resource scheduling information Current resource scheduling information;Wherein, the resource scheduling information is for characterizing the server cluster for having same asset pond.
5. method according to claim 1 or 4, which is characterized in that inquire for store the target resource another Destination server cluster includes:
Resource scheduling information current in the edge scheduling system is read, and according to the current resource scheduling information, is looked into Ask the destination server cluster for having same asset pond with the server cluster of edge scheduling system relationship.
6. the method according to claim 1, wherein to the associated object edge tune of the destination server cluster The scheduling agent that degree system sends the direction target resource is requested
The label for characterizing scheduling agent, and the resource acquisition that the label will be carried are added in resource acquisition request Request is sent to the object edge scheduling system as scheduling agent request.
7. the method according to claim 1, wherein the method also includes:
After receiving the characterization that the object edge scheduling system is sent and can not obtain the feedback information of the target resource, then Secondary another server cluster in addition to the destination server cluster inquired for storing the target resource, and to institute It states the associated edge scheduling system of another server cluster and sends the scheduling agent request for being directed toward the target resource.
8. system is dispatched at a kind of edge, which is characterized in that the edge scheduling system is associated with server cluster;The edge Scheduling system includes:
Requesting processing for receiving the resource acquisition request for the direction target resource that client is sent, and is attempted from described The target resource is obtained in server cluster;
Scheduling agent unit, if inquiring for the target resource can not to be got from the server cluster for storing Another destination server cluster of the target resource, and be to the associated object edge scheduling of the destination server cluster System sends the scheduling agent request for being directed toward the target resource;
Resource feedback unit, for being requested in object edge scheduling system in response to the scheduling agent, from the target In the case where obtaining the target resource in server cluster, the target money of the object edge scheduling system feedback is received Source, and the target resource is supplied to the client.
9. system according to claim 8, which is characterized in that the scheduling agent unit includes:
Resource pool enquiry module is worked as reading resource scheduling information current in the edge scheduling system, and according to described The target that the server cluster of preceding resource scheduling information, inquiry and edge scheduling system relationship has same asset pond takes Business device cluster.
10. system according to claim 8, which is characterized in that the scheduling agent unit includes:
Label adding module for adding the label for characterizing scheduling agent in resource acquisition request, and will carry The resource acquisition request of the label is sent to the object edge scheduling system as scheduling agent request.
11. system according to claim 8, which is characterized in that the system also includes:
Scheduling unit again, for the target money can not to be obtained in the characterization for receiving the object edge scheduling system transmission After the feedback information in source, another in addition to the destination server cluster for storing the target resource is inquired again Server cluster, and the generation for being directed toward the target resource is sent to the associated edge scheduling system of another described server cluster Manage scheduling request.
12. a kind of edge dispatch server, which is characterized in that the edge dispatch server includes memory and processor, institute Memory is stated for storing computer program, when the computer program is executed by the processor, realize such as claim 1 to Any method in 7.
CN201910671278.4A 2019-07-24 2019-07-24 Resource acquisition method, edge scheduling system and server Active CN110493321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910671278.4A CN110493321B (en) 2019-07-24 2019-07-24 Resource acquisition method, edge scheduling system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910671278.4A CN110493321B (en) 2019-07-24 2019-07-24 Resource acquisition method, edge scheduling system and server

Publications (2)

Publication Number Publication Date
CN110493321A true CN110493321A (en) 2019-11-22
CN110493321B CN110493321B (en) 2022-04-22

Family

ID=68548118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910671278.4A Active CN110493321B (en) 2019-07-24 2019-07-24 Resource acquisition method, edge scheduling system and server

Country Status (1)

Country Link
CN (1) CN110493321B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400051A (en) * 2020-03-31 2020-07-10 京东方科技集团股份有限公司 Resource scheduling method, device and system
CN112243027A (en) * 2020-09-30 2021-01-19 武汉兴图新科电子股份有限公司 System and method for solving mass media stream distribution problem based on cluster technology
CN113132439A (en) * 2019-12-31 2021-07-16 贵州白山云科技股份有限公司 Data processing method and system and edge node
CN115134373A (en) * 2022-06-28 2022-09-30 中国工商银行股份有限公司 Data synchronization method and device, storage medium and electronic equipment
CN115689277A (en) * 2022-10-12 2023-02-03 北京思路智园科技有限公司 Chemical industry park risk early warning system under cloud limit collaborative technology

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394880A (en) * 2011-10-31 2012-03-28 北京蓝汛通信技术有限责任公司 Method and device for processing jump response in content delivery network
CN104320487A (en) * 2014-11-11 2015-01-28 网宿科技股份有限公司 HTTP dispatching system and method for content delivery network
US20170171344A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Scheduling method and server for content delivery network service node
CN107846454A (en) * 2017-10-25 2018-03-27 暴风集团股份有限公司 A kind of resource regulating method, device and CDN system
CN108337327A (en) * 2018-04-26 2018-07-27 拉扎斯网络科技(上海)有限公司 A kind of resource acquiring method and proxy server
CN108712343A (en) * 2018-05-14 2018-10-26 网宿科技股份有限公司 Distribution method, system, fringe node and the central dispatching system of streaming media resource
CN108737532A (en) * 2018-05-11 2018-11-02 北京大米科技有限公司 A kind of resource acquiring method, client, computer equipment and readable medium
CN109600437A (en) * 2018-12-11 2019-04-09 网宿科技股份有限公司 A kind of method for down loading and cache server of streaming media resource

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394880A (en) * 2011-10-31 2012-03-28 北京蓝汛通信技术有限责任公司 Method and device for processing jump response in content delivery network
CN104320487A (en) * 2014-11-11 2015-01-28 网宿科技股份有限公司 HTTP dispatching system and method for content delivery network
US20170171344A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Scheduling method and server for content delivery network service node
CN107846454A (en) * 2017-10-25 2018-03-27 暴风集团股份有限公司 A kind of resource regulating method, device and CDN system
CN108337327A (en) * 2018-04-26 2018-07-27 拉扎斯网络科技(上海)有限公司 A kind of resource acquiring method and proxy server
CN108737532A (en) * 2018-05-11 2018-11-02 北京大米科技有限公司 A kind of resource acquiring method, client, computer equipment and readable medium
CN108712343A (en) * 2018-05-14 2018-10-26 网宿科技股份有限公司 Distribution method, system, fringe node and the central dispatching system of streaming media resource
CN109600437A (en) * 2018-12-11 2019-04-09 网宿科技股份有限公司 A kind of method for down loading and cache server of streaming media resource

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余红梅等: "CDN架构下流媒体代理缓存策略的研究", 《电子测试》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132439A (en) * 2019-12-31 2021-07-16 贵州白山云科技股份有限公司 Data processing method and system and edge node
CN113132439B (en) * 2019-12-31 2023-04-21 贵州白山云科技股份有限公司 Data processing method and system and edge node
CN111400051A (en) * 2020-03-31 2020-07-10 京东方科技集团股份有限公司 Resource scheduling method, device and system
CN111400051B (en) * 2020-03-31 2023-10-27 京东方科技集团股份有限公司 Resource scheduling method, device and system
CN112243027A (en) * 2020-09-30 2021-01-19 武汉兴图新科电子股份有限公司 System and method for solving mass media stream distribution problem based on cluster technology
CN112243027B (en) * 2020-09-30 2023-04-07 武汉兴图新科电子股份有限公司 System and method for solving mass media stream distribution problem based on cluster technology
CN115134373A (en) * 2022-06-28 2022-09-30 中国工商银行股份有限公司 Data synchronization method and device, storage medium and electronic equipment
CN115689277A (en) * 2022-10-12 2023-02-03 北京思路智园科技有限公司 Chemical industry park risk early warning system under cloud limit collaborative technology

Also Published As

Publication number Publication date
CN110493321B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN110493321A (en) System, server are dispatched in a kind of resource acquiring method and edge
US9026616B2 (en) Content delivery reconciliation
US10616372B2 (en) Service request management
EP2957085B1 (en) Service layer resource propagation across domains
WO2018013916A1 (en) Subscription and notification service
US10341367B1 (en) System and method for inquiring IOC information by P2P protocol
CN109491758A (en) Docker mirror image distribution method, system, data gateway and computer readable storage medium
US20070118653A1 (en) System, method, and computer program product for throttling client traffic
CN109194760A (en) Method for processing business, network system and server
US20050038874A1 (en) System and method for downloading data using a proxy
EP3542565B1 (en) Radio spectrum sharing
US8761727B2 (en) Method and apparatus for pre-caching in a telecommunication system
CN1692617A (en) Client Web service access
CN107222545B (en) Data transmission method and device
US11200211B2 (en) Method and system for managing mutual distributed ledgers in a system of interconnected devices
La Marra et al. Improving MQTT by inclusion of usage control
CN106933548A (en) Global information is obtained, processes and updated, methods, devices and systems
US11700301B2 (en) Service registration based on service capabilities requirements and preferences
CN105556918B (en) A kind of resource downloading method and electronic equipment
CN106874371A (en) A kind of data processing method and device
CN110365508A (en) The method and network function of virtual network function instantiation virtualize composer
CN108512889A (en) A kind of application response method for pushing and proxy server based on HTTP
CN106060155B (en) The method and device of P2P resource-sharing
JP2008177950A (en) Video distribution system, video distribution method, distribution management system and program
CN108667934A (en) Information processing method, device, electronic equipment and storage medium

Legal Events

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