CN110290399A - A kind of data distributing method, system, device and computer readable storage medium - Google Patents

A kind of data distributing method, system, device and computer readable storage medium Download PDF

Info

Publication number
CN110290399A
CN110290399A CN201910554934.2A CN201910554934A CN110290399A CN 110290399 A CN110290399 A CN 110290399A CN 201910554934 A CN201910554934 A CN 201910554934A CN 110290399 A CN110290399 A CN 110290399A
Authority
CN
China
Prior art keywords
data
request
edge node
client
distribution
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
CN201910554934.2A
Other languages
Chinese (zh)
Other versions
CN110290399B (en
Inventor
杜鑫鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910554934.2A priority Critical patent/CN110290399B/en
Publication of CN110290399A publication Critical patent/CN110290399A/en
Application granted granted Critical
Publication of CN110290399B publication Critical patent/CN110290399B/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/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
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2408Monitoring of the upstream path of the transmission network, e.g. client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25841Management of client data involving the geographical location of the client

Abstract

This application discloses a kind of data distributing method, system, device and computer readable storage mediums, receive the request of data that client is sent;Judge whether request of data meets preset heat requirement, if so, distributing edge node resources corresponding with request of data to client, so that client obtains corresponding data by edge node resources according to nearest distribution principle.A kind of method of video distribution provided by the present application, so that client obtains corresponding data by nearest edge node resources nearby, and edge node resources are independent slack resources, so the service pressure of data distributing server can be reduced by edge node resources, reduce the cost of data distribution, and edge node resources can be made full use of, realize the effective use of resource.A kind of data distribution systems, device and computer readable storage medium provided by the present application also solve the problems, such as relevant art.

Description

A kind of data distributing method, system, device and computer readable storage medium
Technical field
This application involves technical field of information transmission, more specifically to a kind of data distributing method, system, device And computer readable storage medium.
Background technique
With the development of internet, user exponentially increases live streaming and the demand of program request, to viewing experience there has also been More strict requirements, then, how to guarantee that user gets clearly video is a problem to be solved.
A kind of existing method of video distribution is: distributing video by high-performance server.
However, as user requests the continuous increase of amount of video will necessarily usability in order to meet the video requirement of user Can higher server distribute video, thus can make the increased costs of method of video distribution.
It is asked in conclusion the cost for how reducing method of video distribution is that current those skilled in the art are urgently to be resolved Topic.
Summary of the invention
The purpose of the application is to provide a kind of data distributing method, can solve how to reduce video point to a certain extent The technical issues of cost of forwarding method.Present invention also provides a kind of data distribution systems, device and computer-readable storage mediums Matter.
To achieve the goals above, the application provides a kind of data distributing method, comprising:
Receive the request of data that client is sent;
Judge whether the video request meets preset heat requirement, if so, according to nearest distribution principle, distribution and institute The corresponding edge node resources of request of data are stated to the client, so that the client is obtained by the edge node resources Take corresponding data.
It is preferably, described to judge whether the request of data meets preset heat and to go, comprising:
Obtain the number of request of the request of data in preset time period;
Judge whether the number of request is greater than present count magnitude, if so, it is described default to determine that the request of data meets Temperature requirement, if it is not, then determining that the request of data is unsatisfactory for the preset heat requirement.
Preferably, the number of request for obtaining the request of data in preset time period, comprising:
Multiple dimensions are set according to region and operator, obtain in the preset time period number in each statistical dimension According to the number of request of request.
Preferably, described according to nearest distribution principle, edge node resources corresponding with the request of data are distributed to institute State client, comprising:
The edge node resources are divided into the fringe node of preset quantity by the location information based on edge node resources Area resource;
Based on the positional relationship between the fringe node area resource and the client, according to nearest distribution principle, distribution Fringe node area resource corresponding with the request of data is to the client.
Preferably, the edge node resources are divided into preset quantity by the position based on edge node resources Fringe node area resource, comprising:
The edge node resources are divided into first edge node area resource, by the position based on edge node resources Two fringe node area resources, third fringe node area resource, the first edge node area resource, second edge node area Resource and the regional scope of the third fringe node area resource include the position of the client, and regional scope successively increases Greatly;
It is described according to nearest distribution principle, distribute fringe node area resource corresponding with the request of data to the client End, comprising:
According to nearest distribution principle, and according to the first edge node area resource, the second edge node area resource, The successive allocation order of the third fringe node area resource distributes fringe node area resource corresponding with the request of data extremely The client.
Preferably, further includes:
The edge node resources are counted according to prefixed time interval.
Preferably, it after distribution edge node resources to the client corresponding with the video request, also wraps It includes:
Update the data information of the edge node resources.
To achieve the above object, the application further provides for a kind of data distribution systems, comprising:
First receiving module, for receiving the request of data of client transmission;
First judgment module, for judging whether the request of data meets preset heat requirement;
First distribution module, when determining that the request of data meets preset heat requirement for first judgment module, According to nearest distribution principle, edge node resources corresponding with the request of data are distributed to the client, so that the visitor Family end obtains corresponding data by the edge node resources.
Preferably, the first judgment module includes:
First statistic unit, for obtaining the number of request of the request of data in preset time period;
First judging unit, for judging whether the number of request is greater than present count magnitude, if so, determining the data Request meets the preset heat requirement, if it is not, then determining that the request of data is unsatisfactory for the preset heat requirement.
Preferably, first statistic unit includes:
First acquisition unit is used for according to three operator, province, operator, area, operator dimensions, when obtaining described default Between in section the request of data number of request.
Preferably, first distribution module includes:
First division submodule divides the edge node resources for the location information based on edge node resources For the fringe node area resource of preset quantity;
Second distribution sub module, for the positional relationship based on the fringe node area resource and the client, according to Nearest distribution principle distributes fringe node area resource corresponding with the request of data to the client.
Preferably, the first division submodule includes:
The edge node resources are divided into first for the position based on edge node resources by the first division unit Fringe node area resource, second edge node area resource, third fringe node area resource, the first edge node area resource, The regional scope of the second edge node area resource and the third fringe node area resource includes the position of the client It sets, and regional scope is sequentially increased;
Second distribution sub module includes:
First allocation unit, for according to nearest distribution principle, and according to the first edge node area resource, described the The successive allocation order of two fringe node area resources, the third fringe node area resource is distributed corresponding with the request of data Fringe node area resource to the client.
Preferably, further includes:
Second statistical module, for counting the edge node resources according to prefixed time interval.
Preferably, further includes:
First update module distributes edge node resources corresponding with the video request for first distribution module After to the client, the data information of the edge node resources is updated.
To achieve the above object, the application further provides for a kind of data delivery device, described device include memory and Processor is stored with the data distribution program that can be run on the processor, the data distribution program on the memory As above any method is realized when being executed by the processor.
Preferably, described device is the node for forming CDN network or block chain network.
To achieve the above object, the application further provides for a kind of computer readable storage medium, described computer-readable Data distribution program is stored on storage medium, the data distribution program can be executed by one or more processor, with reality Any data distributing method now as above.
A kind of data distributing method provided by the present application receives the request of data that client is sent;Judging request of data is It is no to meet preset heat requirement, if so, distributing edge node resources corresponding with request of data extremely according to nearest distribution principle Client, so that client obtains corresponding data by edge node resources.A kind of data distributing method provided by the present application, It is not directly to transmit data to client, but determining request of data satisfaction after receiving the request of data that client is sent After preset heat requires, according to nearest distribution principle, edge node resources corresponding with request of data are distributed to client, so that Client is by nearest edge node resources quick obtaining corresponding data, and edge node resources are independent slack resources, So the service pressure of data distributing server can be reduced by edge node resources, the cost of data distribution is reduced, and And edge node resources can be made full use of, realize the effective use of resource.A kind of data distribution systems provided by the present application, dress It sets and computer readable storage medium also solves the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram of the application first embodiment;
Fig. 2 is the flow diagram of the application second embodiment;
Fig. 3 is the flow diagram of the application 3rd embodiment;
The structural schematic diagram for the data distribution systems that one embodiment of Fig. 4 the application discloses;
Fig. 5 is the schematic diagram of internal structure for the data delivery device that one embodiment of the application discloses.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection scope within.
The application provides a kind of data distributing method.
Fig. 1 is please referred to, Fig. 1 is the flow diagram of the application first embodiment.
In the first embodiment, this method comprises:
Step S101: the request of data that client is sent is received.
In practical application, the request of data of client transmission can be first received, type and quantity of client etc. can roots It is determined according to concrete application scene, the type of request of data can also be determined according to concrete application scene, for example it can be viewing Video data etc. when live streaming.
Step S102: distribution edge node resources corresponding with request of data are to client, so that client passes through edge Node resource obtains corresponding data.
In practical application, after receiving request of data, edge node resources corresponding with request of data can be distributed To client, so that client obtains corresponding data by edge node resources.
It, can first request of data determines fringe node money to be allocated based on the received it should be pointed out that in the process Source, then determining edge node resources to be allocated are distributed into client, in the process, side to be allocated can also be controlled Edge node resource obtains data corresponding with request of data, so that client can be obtained accordingly by edge node resources Data.In addition, fringe node involved in the application is the labyrinth relative to network and the concept proposed, span from End user's access has the network node of less intermediate link, has preferable responding ability and connection to final accessing user Speed;The type of fringe node can determine according to actual needs, for example it can be the computer room service of high-performance, big bandwidth Device, common private name server can provide the private user machine of the resources such as bandwidth, CPU, such as mobile phone, PC, box;Side The type of edge node resource can also determine according to actual needs, such as its can for cpu resource, memory load, upstream bandwidth, Downlink bandwidth etc..
A kind of data distributing method provided by the present application receives the request of data that client is sent;Distribution and request of data Corresponding edge node resources are to client, so that client obtains corresponding data by edge node resources.The application provides A kind of data distributing method, receive client send request of data after, be not directly transmit data to client, and It is distribution edge node resources corresponding with request of data to client, so that client is obtained accordingly by edge node resources Data, and edge node resources are independent slack resources, it is possible to data distribution clothes are reduced by edge node resources The service pressure of business device, reduces the cost of data distribution, and can make full use of edge node resources, realizes the effective of resource It utilizes.
Referring to figure 2., Fig. 2 is the flow diagram of the application second embodiment.
In a second embodiment, this method comprises:
Step S201: the request of data that client is sent is received.
Step S202: judging whether request of data meets preset heat requirement, if so, thening follow the steps S203.
Step S203: distribution edge node resources corresponding with request of data are to client, so that client passes through edge Node resource obtains corresponding data.
It,, can when allocations of edge node resource to client in order to further decrease the cost of data distribution in practical application First to judge whether request of data meets preset heat requirement, if so, fringe node money corresponding with request of data of reallocating Source is to client, so that client obtains corresponding data by edge node resources.Preset heat requires can be according to specifically answering It is determined with scene, it is noted that require to may determine whether the request of data that customer in response end is sent by preset heat.
In concrete application scene, data distributing server, can when judging whether request of data meets preset heat information To obtain the petition of request of data in preset time period, judge whether the petition is greater than present count magnitude, if so, resulting number Meet preset heat requirement according to request, if it is not, then determining that request of data is unsatisfactory for preset heat requirement.Namely when data distribution takes When the quantity for the received request of data of device of being engaged in is less than present count magnitude, data distributing server distributes edge node resources at this time To client, it is likely to result in the waste of edge node resources, increases cost, so data distributing server can be in number When being greater than present count magnitude according to the petition of request, edge node resources corresponding with request of data are just distributed to client.
It, can be according to region and fortune in the acquisition of a preset period of time when the number of request of request of data in concrete application scene It seeks quotient and multiple statistical dimensions is set, obtain the number of request of request of data in each statistical dimension in preset time period, such as according to Three operator, province, operator, area, operator dimensions obtain the request of request of data under operator at different levels in preset time period Number.For example the number of request of request of data under preset time period introspection operator is obtained, correspondingly, it is pre- to judge whether number of request is greater than If operator, province under quantitative value distribute edge node resources under operator, province extremely if so, according to nearest distribution principle Client;The number of request for obtaining request of data under preset time period inner region operator, correspondingly, it is pre- to judge whether number of request is greater than If operator, area under quantitative value distribute edge node resources under operator, area extremely if so, according to nearest distribution principle Client;The number of request for obtaining request of data under operator in preset time period, correspondingly, it is default to judge whether number of request is greater than Operator under quantitative value distribute edge node resources under operator to client if so, according to nearest distribution principle Deng.
In concrete application scene, data distributing server, can when judging whether request of data meets preset heat requirement Based on stock number needed for request of data calculating client;Judge whether stock number is equal to the money of the edge device of respective numbers Source total amount, if so, determining that request of data meets preset heat requirement, if it is not, then determining that request of data is unsatisfactory for preset heat It is required that.Namely data distributing server can be first based on stock number needed for request of data calculating client, then judges stock number Resource needed for the total resources namely data distributing server for being whether equal to the edge device of respective numbers judge request of data Whether amount can just be finished the total resources of the edge device of respective numbers, if then reallocating side corresponding with request of data Edge node resource to client, such as can directly by the resource allocation of the edge device of the respective numbers to client so that Client can use edge node resources in the case where not wasting edge node resources.
A kind of data distributing method provided by the present application receives the request of data that client is sent;Judging request of data is It is no to meet preset heat requirement, if so, distributing edge node resources corresponding with request of data extremely according to nearest distribution principle Client, so that client obtains corresponding data by edge node resources.A kind of data distributing method provided by the present application, It is not directly to transmit data to client, but determining request of data satisfaction after receiving the request of data that client is sent After preset heat requires, according to nearest distribution principle, edge node resources corresponding with request of data are distributed to client, so that Client is by nearest edge node resources quick obtaining corresponding data, and edge node resources are independent slack resources, So the service pressure of data distributing server can be reduced by edge node resources, the cost of data distribution is reduced, and And edge node resources can be made full use of, realize the effective use of resource.
Referring to figure 3., Fig. 3 is the flow diagram of the application 3rd embodiment.
In the third embodiment, this method comprises:
Step S301: the request of data that client is sent is received.
Step S302: according to nearest distribution principle, distributing edge node resources corresponding with request of data to client, with Client is set to obtain corresponding data by edge node resources.
In practical application, in order to which client can obtain data as soon as possible, guarantee the user experience of client, data distribution Server can be distributed when distributing edge node resources corresponding with request of data to client according to nearest distribution principle Edge node resources corresponding with request of data are to client.
In concrete application scene, the edge node resources that data distributing server is managed may be varied, and is in Different position, in such cases, for the ease of being managed to edge node resources, and for the ease of being provided to fringe node Source is allocated, and data distributing server distributes edge node resources corresponding with request of data according to nearest distribution principle It, can be based on the location information of edge node resources, by the edge node resources of data distributing server management when to client It is divided into the fringe node area resource of preset quantity;Positional relationship based on fringe node area resource and client, according to nearest Distribution principle distributes fringe node area resource corresponding with request of data to client.
It is understood that the quantity of fringe node area resource can flexibly be determined according to concrete application scene, than in full The edge node resources of data distributing server management are divided into pre- by the position according to the distribution server based on edge node resources If, can be based on the position of edge node resources, by the side of data distributing server management when the fringe node area resource of quantity Edge node resource is divided into first edge node area resource, second edge node area resource, third fringe node area resource, and first The regional scope of fringe node area resource, second edge node area resource and third fringe node area resource includes client Position, and regional scope is sequentially increased;Correspondingly, distributing edge corresponding with request of data section according to nearest distribution principle When point area resource to client, provided according to nearest distribution principle, and according to first edge node area resource, second edge node area Source, third fringe node area resource successive allocation order, distribute corresponding with request of data fringe node area resource to client End.Namely data distributing server can first distribute first edge node area money in allocations of edge node resource to client Source is to client, and when first edge node area resource is unsatisfactory for client demand, reallocation second edge node area resource is given Client, when second edge node area resource is also unsatisfactory for client demand, reallocation third fringe node area resource is to visitor Family end.In practical application, first edge node area resource can be operator, province resource, and second edge node area resource can be Operator, area resource, third fringe node area resource can be entire operator's resource etc..In order to make it easy to understand, here with Guangdong For province, operator, province, operator, area, operator are illustrated, the operator in Guangdong Province can be used as operator, province, and Guangdong Province and only the operator in Guangxi etc. in Guangdong Province can be used as operator, area, all operators can be within Chinese territory As entire operator etc..
In the first, second, and third embodiment, data distributing server needs the edge node resources to self-management Information there is one to get information about, such as usage amount, available quantity of edge node resources etc., so one kind provided by the present application In data distributing method, data distributing server can also be according to the side of prefixed time interval statistical data the distribution server management The edge node resources of edge equipment, certainly can also the constantly edge device of statistical data the distribution server management fringe node Resource.Mutually it is noted that in order to further enhance management of the data distributing server to edge node resources, data distributing server After distributing edge node resources to client corresponding with request of data, data distributing server management can also be updated The data information of edge node resources.
On the other hand, the application provides a kind of data distribution systems.
Referring to figure 4., the structural schematic diagram for the data distribution systems that one embodiment of Fig. 4 the application discloses.
A kind of data distribution systems provided by the present application may include:
First receiving module 401, for receiving the request of data of client transmission;
First judgment module 402, for judging whether the request of data meets preset heat requirement;
First distribution module 403, when determining that request of data meets preset heat requirement for first judgment module, according to just Nearly distribution principle distributes edge node resources corresponding with request of data to client, so that client is provided by fringe node Source obtains corresponding data.
A kind of Data Data Data Data Data Data data distribution systems provided by the present application, first judgment module can be with Include:
First statistic unit, for obtaining the number of request of the request of data in preset time period;
First judging unit, for judging whether number of request is greater than present count magnitude, if so, determining that request of data meets Preset heat requirement, if it is not, then determining that request of data is unsatisfactory for preset heat requirement.
A kind of data distribution systems provided by the present application, the first statistic unit may include:
First acquisition unit obtains every in preset time period for multiple statistical dimensions to be arranged according to region and operator The number of request of request of data in a statistical dimension.
A kind of Data Data data data distribution systems provided by the present application, the first distribution module may include:
Edge node resources are divided into pre- by the first division submodule for the location information based on edge node resources If the fringe node area resource of quantity;
Second distribution sub module, for dividing according to nearest based on the positional relationship between fringe node area resource and client With principle, fringe node area resource corresponding with request of data is distributed to client.
A kind of data distribution systems provided by the present application, the first division submodule may include:
Edge node resources are divided into first edge for the position based on edge node resources by the first division unit Node area resource, second edge node area resource, third fringe node area resource, first edge node area resource, second edge The regional scope of node area resource and third fringe node area resource includes the position of client, and regional scope successively increases Greatly;
Second distribution sub module includes:
First allocation unit is used for according to nearest distribution principle, and according to first edge node area resource, second edge section The successive allocation order of point area resource, third fringe node area resource, distributes fringe node area resource corresponding with request of data To client.
A kind of data distribution systems provided by the present application can also include:
Second statistical module, for counting edge node resources according to prefixed time interval.
A kind of data distribution systems provided by the present application can also include:
First update module distributes edge node resources corresponding with request of data to client for the first distribution module Later, the data information of edge node resources is updated.
On the other hand, the application provides a kind of data delivery device.
It is the schematic diagram of internal structure for the data delivery device that one embodiment of the application discloses referring to Fig. 5, Fig. 5.
In the present embodiment, data delivery device 1 can be PC (Personal Computer, PC), be also possible to Smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal device.
The data delivery device 1 can be the node of composition CDN network or block chain network.
The data delivery device 1 may include memory 11, processor 12 and bus 13.
Wherein, memory 11 includes at least a type of readable storage medium storing program for executing, and readable storage medium storing program for executing includes flash memory, hard Disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 exists It can be the internal storage unit of data delivery device 1, such as the hard disk of the data delivery device 1 in some embodiments.Storage Device 11 is also possible to match on the External memory equipment of data delivery device 1, such as data delivery device 1 in further embodiments Standby plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) Card, flash card (Flash Card) etc..Further, memory 11 can also both include the storage inside of data delivery device 1 Unit also includes External memory equipment.Memory 11 can be not only used for the application software that storage is installed on data delivery device 1 And Various types of data, such as the code of data distribution program 01 etc., it can be also used for temporarily storing and exported or will be defeated Data out.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute data distribution program 01 etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 5 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, data delivery device can also include network interface 14, and network interface 14 may include optionally having Line interface and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in the device 1 and other electronic equipments it Between establish communication connection.
Optionally, which can also include user interface, and user interface may include display (Display), input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface, Wireless interface.Optionally, in some embodiments, it is aobvious to can be light-emitting diode display, liquid crystal display, touch control type LCD for display Show that device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, display Appropriate it can also be known as display screen or display unit, for being shown in the information handled in data delivery device 1 and being used for Show visual user interface.
Fig. 5 illustrates only the data delivery device 1 with component 11-14 and data distribution program 01, art technology Personnel it is understood that structure shown in Fig. 5 not structure paired data diostribution device 1 restriction, may include than illustrating more Perhaps more component perhaps combines certain components or different component layouts less.
A kind of computer readable storage medium provided by the present application is stored with data distribution on computer readable storage medium Program data distributing programs can be executed by one or more processor, to realize data described in any embodiment as above point Forwarding method.
Computer readable storage medium referred to herein includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field Any other form of storage medium well known to interior.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (11)

1. a kind of data distributing method characterized by comprising
Receive the request of data that client is sent;
Judge whether the request of data meets preset heat requirement, if so, according to nearest distribution principle, distribution and the number According to the corresponding edge node resources of request to the client, so that the client passes through the edge node resources and obtains phase Answer data.
2. judging whether the request of data meets preset heat the method according to claim 1, wherein described It is required that, comprising:
Obtain the number of request of the request of data in preset time period;
Judge whether the number of request is greater than present count magnitude, if so, determining that the request of data meets the preset heat It is required that if it is not, then determining that the request of data is unsatisfactory for the preset heat requirement.
3. according to the method described in claim 2, it is characterized in that, described obtain the request of data in preset time period and ask Ask several, comprising:
Multiple statistical dimensions are set according to region and operator, obtain in the preset time period number in each statistical dimension According to the number of request of request.
4. method according to any one of claims 1 to 3, which is characterized in that it is described according to nearest distribution principle, distribution with The corresponding edge node resources of the request of data are to the client, comprising:
Location information based on edge node resources provides the fringe node area that the edge node resources are divided into preset quantity Source;
Based on the positional relationship of the fringe node area resource and the client, according to nearest distribution principle, distribution with it is described The corresponding fringe node area resource of request of data is to the client.
5. according to the method described in claim 4, it is characterized in that, the position based on edge node resources, by the side Edge node resource is divided into the fringe node area resource of preset quantity, comprising:
The edge node resources are divided into first edge node area resource, the second side by the position based on edge node resources Edge node area resource, third fringe node area resource, the first edge node area resource, the second edge node area resource And the regional scope of the third fringe node area resource includes the position of the client, and regional scope is sequentially increased;
It is described to distribute fringe node area resource corresponding with the request of data to the client according to nearest distribution principle, Include:
According to nearest distribution principle, and according to the first edge node area resource, the second edge node area resource, described The successive allocation order of third fringe node area resource distributes corresponding with request of data fringe node area resource to described Client.
6. according to the method described in claim 4, it is characterized by further comprising:
The edge node resources are counted according to prefixed time interval.
7. the method according to claim 1, wherein distribution fringe node corresponding with the request of data After resource to the client, further includes:
Update the data information of the edge node resources.
8. a kind of data distribution systems characterized by comprising
First receiving module, for receiving the request of data of client transmission;
First judgment module, for judging whether the request of data meets preset heat requirement;
First distribution module, when determining that the request of data meets preset heat requirement for first judgment module, according to Nearest distribution principle distributes edge node resources corresponding with the request of data to the client, so that the client Corresponding data is obtained by the edge node resources.
9. a kind of data delivery device, which is characterized in that described device includes memory and processor, is stored on the memory There is the data distribution program that can be run on the processor, is realized such as when the data distribution program is executed by the processor The described in any item methods of claim 1 to 7.
10. device according to claim 9, which is characterized in that described device is composition CDN network or block chain network Node.
11. a kind of computer readable storage medium, which is characterized in that be stored with data point on the computer readable storage medium Program is sent out, the data distribution program can be executed by one or more processor, to realize as any in claim 1 to 7 Data distributing method described in.
CN201910554934.2A 2019-06-25 2019-06-25 Data distribution method, system, device and computer readable storage medium Active CN110290399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910554934.2A CN110290399B (en) 2019-06-25 2019-06-25 Data distribution method, system, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910554934.2A CN110290399B (en) 2019-06-25 2019-06-25 Data distribution method, system, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110290399A true CN110290399A (en) 2019-09-27
CN110290399B CN110290399B (en) 2021-09-24

Family

ID=68005536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910554934.2A Active CN110290399B (en) 2019-06-25 2019-06-25 Data distribution method, system, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110290399B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839069A (en) * 2019-11-04 2020-02-25 深圳市网心科技有限公司 Node data deployment method, node data deployment system and medium
CN111614968A (en) * 2020-05-11 2020-09-01 厦门潭宏信息科技有限公司 Live broadcast method, equipment and storage medium
CN112272239A (en) * 2020-10-30 2021-01-26 深圳市雷鸟网络传媒有限公司 Edge calculation method and device, intelligent terminal and computer readable storage medium
CN113271261A (en) * 2021-05-19 2021-08-17 深圳爱特天翔科技有限公司 Data distribution method, terminal device, and computer-readable storage medium
WO2022241675A1 (en) * 2021-05-19 2022-11-24 深圳爱特天翔科技有限公司 Data distribution method, terminal device and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010829B1 (en) * 2005-10-20 2011-08-30 American Megatrends, Inc. Distributed hot-spare storage in a storage cluster
CN103747047A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN file storage method, file distribution control center and system thereof
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN105072159A (en) * 2015-07-17 2015-11-18 杭州施强网络科技有限公司 Node management list structure in P2P networking and management method thereof
CN107277093A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its load-balancing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010829B1 (en) * 2005-10-20 2011-08-30 American Megatrends, Inc. Distributed hot-spare storage in a storage cluster
CN103747047A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN file storage method, file distribution control center and system thereof
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN105072159A (en) * 2015-07-17 2015-11-18 杭州施强网络科技有限公司 Node management list structure in P2P networking and management method thereof
CN107277093A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its load-balancing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839069A (en) * 2019-11-04 2020-02-25 深圳市网心科技有限公司 Node data deployment method, node data deployment system and medium
CN110839069B (en) * 2019-11-04 2021-09-24 深圳市网心科技有限公司 Node data deployment method, node data deployment system and medium
CN111614968A (en) * 2020-05-11 2020-09-01 厦门潭宏信息科技有限公司 Live broadcast method, equipment and storage medium
CN111614968B (en) * 2020-05-11 2021-12-17 厦门潭宏信息科技有限公司 Live broadcast method, equipment and storage medium
CN112272239A (en) * 2020-10-30 2021-01-26 深圳市雷鸟网络传媒有限公司 Edge calculation method and device, intelligent terminal and computer readable storage medium
CN112272239B (en) * 2020-10-30 2022-09-02 深圳市雷鸟网络传媒有限公司 Edge calculation method and device, intelligent terminal and computer readable storage medium
CN113271261A (en) * 2021-05-19 2021-08-17 深圳爱特天翔科技有限公司 Data distribution method, terminal device, and computer-readable storage medium
WO2022241675A1 (en) * 2021-05-19 2022-11-24 深圳爱特天翔科技有限公司 Data distribution method, terminal device and computer-readable storage medium

Also Published As

Publication number Publication date
CN110290399B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN110290399A (en) A kind of data distributing method, system, device and computer readable storage medium
JP7127010B2 (en) Resource allocation methods, apparatus, electronic equipment, computer readable media and computer programs
CN109933420A (en) Node tasks dispatching method, electronic equipment and system
CN109873868A (en) A kind of computing capability sharing method, system and relevant device
CN109960575B (en) Computing capacity sharing method, system and related equipment
CN105159775A (en) Load balancer based management system and management method for cloud computing data center
CN109144658B (en) Load balancing method and device for limited resources and electronic equipment
CN109634915A (en) File dispositions method, Cloud Server, system and storage medium
CN109726005A (en) For managing method, server system and the computer program product of resource
CN105335229A (en) Business resource scheduling method and apparatus
CN109639823A (en) Network node dispatching method and device, computer installation and storage medium
CN109617959A (en) A kind of data load method, device, system and storage medium
CN110493357A (en) A kind of calculation resource disposition method, system, device and computer storage medium
CN109600430A (en) A kind of data managing method, system and electronic equipment and storage medium
CN109618174A (en) A kind of live data transmission method, device, system and storage medium
CN113285886B (en) Bandwidth allocation method and device, electronic equipment and readable storage medium
CN109918203A (en) Access server memory management optimization method, access server and communication system
CN110278278A (en) A kind of data transmission method, system, device and computer media
CN109600373A (en) A kind of live data transmission method, device, system and readable storage medium storing program for executing
CN110336888B (en) Server distribution method, device, system and medium
CN109753243A (en) Copy dispositions method, Cloud Server and storage medium
CN111142799A (en) Distributed storage method and device, network node and storage medium
CN112395075A (en) Resource processing method and device and resource scheduling system
CN109639801A (en) Back end distribution and data capture method and system
TWI639088B (en) Method, system and non-transitory computer readable medium for rack space power utilization

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