CN110290399A - A data distribution method, system, device and computer-readable storage medium - Google Patents
A data distribution method, system, device and computer-readable storage medium Download PDFInfo
- 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
- edge node
- client
- resources
- request
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004043 responsiveness Effects 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling 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/63—Routing a service request depending on the request content or context
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2408—Monitoring of the upstream path of the transmission network, e.g. client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client 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/25808—Management of client data
- H04N21/25841—Management of client data involving the geographical location of the client
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请公开了一种数据分发方法、系统、装置及计算机可读存储介质,接收客户端发送的数据请求;判断数据请求是否满足预设热度要求,若是,则按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。本申请提供的一种视频分发方法,使得客户端通过就近的边缘节点资源就近获取相应数据,而边缘节点资源为独立的闲置资源,所以可以借助边缘节点资源来降低数据分发服务器的服务压力,降低数据分发的成本,并且可以充分利用边缘节点资源,实现资源的有效利用。本申请提供的一种数据分发系统、装置及计算机可读存储介质也解决了相应技术问题。
This application discloses a data distribution method, system, device, and computer-readable storage medium, which receive a data request sent by a client; judge whether the data request meets the preset heat requirement; The corresponding edge node resources are sent to the client, so that the client can obtain the corresponding data through the edge node resources. A video distribution method provided by this application enables the client to obtain the corresponding data through the nearest edge node resource, and the edge node resource is an independent idle resource, so the service pressure of the data distribution server can be reduced by using the edge node resource, and the The cost of data distribution, and can make full use of edge node resources to achieve effective use of resources. A data distribution system, device, and computer-readable storage medium provided by the present application also solve corresponding technical problems.
Description
技术领域technical field
本申请涉及信息传输技术领域,更具体地说,涉及一种数据分发方法、系统、装置及计算机可读存储介质。The present application relates to the technical field of information transmission, and more specifically, to a data distribution method, system, device, and computer-readable storage medium.
背景技术Background technique
随着互联网的发展,用户对直播和点播的需求呈指数级增长,对观看体验也有了更加严格的要求,那么,如何保证用户获取到清晰的视频便是一个需要解决的问题。With the development of the Internet, users' demand for live broadcast and on-demand video has grown exponentially, and there are stricter requirements for viewing experience. Then, how to ensure that users can obtain clear videos is a problem that needs to be solved.
现有的一种视频分发方法是:通过高性能服务器来分发视频。An existing method for distributing video is: distributing video through a high-performance server.
然而,随着用户请求视频量的不断增大,为了满足用户的视频需求,必然会使用性能更高的服务器来分发视频,由此会使得视频分发方法的成本增加。However, as the amount of videos requested by users continues to increase, in order to meet the video requirements of users, a server with higher performance must be used to distribute videos, which will increase the cost of the video distribution method.
综上所述,如何降低视频分发方法的成本是目前本领域技术人员亟待解决的问题。To sum up, how to reduce the cost of the video distribution method is an urgent problem to be solved by those skilled in the art.
发明内容Contents of the invention
本申请的目的是提供一种数据分发方法,其能在一定程度上解决如何降低视频分发方法的成本的技术问题。本申请还提供了一种数据分发系统、装置及计算机可读存储介质。The purpose of this application is to provide a data distribution method, which can solve the technical problem of how to reduce the cost of the video distribution method to a certain extent. The present application also provides a data distribution system, device and computer-readable storage medium.
为了实现上述目的,本申请提供一种数据分发方法,包括:In order to achieve the above purpose, this application provides a data distribution method, including:
接收客户端发送的数据请求;Receive the data request sent by the client;
判断所述视频请求是否满足预设热度要求,若是,则按照就近分配原则,分配与所述数据请求对应的边缘节点资源至所述客户端,以使所述客户端通过所述边缘节点资源获取相应数据。Judging whether the video request satisfies the preset popularity requirement, and if so, according to the nearest allocation principle, allocate the edge node resources corresponding to the data request to the client, so that the client can obtain corresponding data.
优选的,所述判断所述数据请求是否满足预设热度要去,包括:Preferably, the judging whether the data request satisfies the preset popularity includes:
获取预设时间段内所述数据请求的请求数;Obtain the number of requests for the data request within a preset time period;
判断所述请求数是否大于预设数量值,若是,则判定所述数据请求满足所述预设热度要求,若否,则判定所述数据请求不满足所述预设热度要求。Judging whether the number of requests is greater than a preset quantity value, if yes, then judging that the data request meets the preset popularity requirement, and if not, judging that the data request does not meet the preset popularity requirement.
优选的,所述获取预设时间段内所述数据请求的请求数,包括:Preferably, said obtaining the number of requests for said data requests within a preset time period includes:
按照地域及运营商设置多个维度,获取所述预设时间段内每个统计维度内所述数据请求的请求数。Multiple dimensions are set according to regions and operators, and the number of data requests in each statistical dimension within the preset time period is acquired.
优选的,所述按照就近分配原则,分配与所述数据请求对应的边缘节点资源至所述客户端,包括:Preferably, the allocation of edge node resources corresponding to the data request to the client according to the nearest allocation principle includes:
基于边缘节点资源的位置信息,将所述边缘节点资源划分为预设数量的边缘节点区资源;dividing the edge node resources into a preset number of edge node area resources based on the location information of the edge node resources;
基于所述边缘节点区资源与所述客户端间的位置关系,按照就近分配原则,分配与所述数据请求对应的边缘节点区资源至所述客户端。Based on the positional relationship between the edge node area resource and the client, allocate the edge node area resource corresponding to the data request to the client according to the nearest allocation principle.
优选的,所述基于边缘节点资源的位置,将所述边缘节点资源划分为预设数量的边缘节点区资源,包括:Preferably, the edge node resource is divided into a preset number of edge node area resources based on the location of the edge node resource, including:
基于边缘节点资源的位置,将所述边缘节点资源划分为第一边缘节点区资源、第二边缘节点区资源、第三边缘节点区资源,所述第一边缘节点区资源、所述第二边缘节点区资源及所述第三边缘节点区资源的区域范围均包括所述客户端的位置,且区域范围依次增大;Based on the location of the edge node resource, the edge node resource is divided into a first edge node area resource, a second edge node area resource, and a third edge node area resource, the first edge node area resource, the second edge node area resource The area ranges of the node area resources and the third edge node area resources both include the location of the client, and the area ranges increase sequentially;
所述按照就近分配原则,分配与所述数据请求对应的边缘节点区资源至所述客户端,包括:The allocation of edge node area resources corresponding to the data request to the client according to the nearest allocation principle includes:
按照就近分配原则,并按照所述第一边缘节点区资源、所述第二边缘节点区资源、所述第三边缘节点区资源的先后分配顺序,分配与所述数据请求对应的边缘节点区资源至所述客户端。Allocate edge node area resources corresponding to the data request according to the principle of nearest allocation and in accordance with the sequence of allocation of the first edge node area resources, the second edge node area resources, and the third edge node area resources to the client.
优选的,还包括:Preferably, it also includes:
按照预设时间间隔统计所述边缘节点资源。The edge node resources are counted according to a preset time interval.
优选的,所述分配与所述视频请求对应的边缘节点资源至所述客户端之后,还包括:Preferably, after allocating the edge node resource corresponding to the video request to the client, further includes:
更新所述边缘节点资源的数据信息。Updating the data information of the edge node resources.
为实现上述目的,本申请进一步提供一种数据分发系统,包括:To achieve the above purpose, the present application further provides a data distribution system, including:
第一接收模块,用于接收客户端发送的数据请求;The first receiving module is configured to receive the data request sent by the client;
第一判断模块,用于判断所述数据请求是否满足预设热度要求;A first judging module, configured to judge whether the data request meets a preset heat requirement;
第一分配模块,用于第一判断模块判定所述数据请求满足所述预设热度要求时,按照就近分配原则,分配与所述数据请求对应的边缘节点资源至所述客户端,以使所述客户端通过所述边缘节点资源获取相应数据。The first allocating module is used for allocating edge node resources corresponding to the data request to the client according to the nearest allocation principle when the first judging module determines that the data request satisfies the preset heat requirement, so that all The client obtains corresponding data through the edge node resource.
优选的,所述第一判断模块包括:Preferably, the first judging module includes:
第一统计单元,用于获取预设时间段内所述数据请求的请求数;The first statistical unit is used to obtain the number of requests for the data requests within a preset time period;
第一判断单元,用于判断所述请求数是否大于预设数量值,若是,则判定所述数据请求满足所述预设热度要求,若否,则判定所述数据请求不满足所述预设热度要求。A first judging unit, configured to judge whether the number of requests is greater than a preset quantity value, if so, judge that the data request meets the preset popularity requirement, and if not, judge that the data request does not meet the preset heat requirements.
优选的,所述第一统计单元包括:Preferably, the first statistical unit includes:
第一获取单元,用于按照省运营商、区运营商、运营商三个维度,获取所述预设时间段内所述数据请求的请求数。The first obtaining unit is configured to obtain the number of requests for the data within the preset time period according to the three dimensions of provincial operators, district operators, and operators.
优选的,所述第一分配模块包括:Preferably, the first allocation module includes:
第一划分子模块,用于基于边缘节点资源的位置信息,将所述边缘节点资源划分为预设数量的边缘节点区资源;The first division submodule is used to divide the edge node resources into a preset number of edge node area resources based on the location information of the edge node resources;
第二分配子模块,用于基于所述边缘节点区资源与所述客户端的位置关系,按照就近分配原则,分配与所述数据请求对应的边缘节点区资源至所述客户端。The second allocating submodule is configured to allocate the edge node area resource corresponding to the data request to the client according to the nearest allocation principle based on the positional relationship between the edge node area resource and the client.
优选的,所述第一划分子模块包括:Preferably, the first division submodule includes:
第一划分单元,用于基于边缘节点资源的位置,将所述边缘节点资源划分为第一边缘节点区资源、第二边缘节点区资源、第三边缘节点区资源,所述第一边缘节点区资源、所述第二边缘节点区资源及所述第三边缘节点区资源的区域范围均包括所述客户端的位置,且区域范围依次增大;The first division unit is configured to divide the edge node resource into a first edge node area resource, a second edge node area resource, and a third edge node area resource based on the position of the edge node resource, the first edge node area The area ranges of the resource, the second edge node area resource, and the third edge node area resource all include the location of the client, and the area ranges increase sequentially;
所述第二分配子模块包括:The second distribution submodule includes:
第一分配单元,用于按照就近分配原则,并按照所述第一边缘节点区资源、所述第二边缘节点区资源、所述第三边缘节点区资源的先后分配顺序,分配与所述数据请求对应的边缘节点区资源至所述客户端。The first allocating unit is configured to allocate the data related to the data according to the nearest allocation principle and according to the sequence of allocation of the first edge node area resources, the second edge node area resources, and the third edge node area resources. Requesting the corresponding edge node area resources to the client.
优选的,还包括:Preferably, it also includes:
第二统计模块,用于按照预设时间间隔统计所述边缘节点资源。The second statistical module is configured to collect statistics on the edge node resources according to a preset time interval.
优选的,还包括:Preferably, it also includes:
第一更新模块,用于所述第一分配模块分配与所述视频请求对应的边缘节点资源至所述客户端之后,更新所述边缘节点资源的数据信息。The first update module is configured to update the data information of the edge node resource after the first allocation module allocates the edge node resource corresponding to the video request to the client.
为实现上述目的,本申请进一步提供一种数据分发装置,所述装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的数据分发程序,所述数据分发程序被所述处理器执行时实现如上任一所述的方法。To achieve the above purpose, the present application further provides a data distribution device, the device includes a memory and a processor, the memory stores a data distribution program that can run on the processor, and the data distribution program is executed by the Any one of the above-mentioned methods is realized when the above-mentioned processor is executed.
优选的,所述装置为组成CDN网络或者区块链网络的节点。Preferably, the device is a node forming a CDN network or a blockchain network.
为实现上述目的,本申请进一步提供一种计算机可读存储介质,所述计算机可读存储介质上存储有数据分发程序,所述数据分发程序可被一个或者多个处理器执行,以实现如上任一所述的数据分发方法。In order to achieve the above purpose, the present application further provides a computer-readable storage medium, on which a data distribution program is stored, and the data distribution program can be executed by one or more processors to achieve the above-mentioned A data distribution method described above.
本申请提供的一种数据分发方法,接收客户端发送的数据请求;判断数据请求是否满足预设热度要求,若是,则按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。本申请提供的一种数据分发方法,在接收客户端发送的数据请求后,并不是直接传输数据给客户端,而是在判定数据请求满足预设热度要求后,按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,使得客户端通过就近的边缘节点资源快速获取相应数据,而边缘节点资源为独立的闲置资源,所以可以借助边缘节点资源来降低数据分发服务器的服务压力,降低数据分发的成本,并且可以充分利用边缘节点资源,实现资源的有效利用。本申请提供的一种数据分发系统、装置及计算机可读存储介质也解决了相应技术问题。A data distribution method provided by this application receives a data request sent by a client; judges whether the data request meets the preset heat requirement, and if so, allocates the edge node resources corresponding to the data request to the client according to the principle of nearest allocation, so as to Make the client obtain the corresponding data through the edge node resources. In the data distribution method provided by this application, after receiving the data request sent by the client, it does not directly transmit the data to the client, but after judging that the data request meets the preset heat requirements, according to the principle of nearest distribution, the distribution and data Request the corresponding edge node resources to the client, so that the client can quickly obtain the corresponding data through the nearest edge node resources, and the edge node resources are independent idle resources, so the service pressure of the data distribution server can be reduced by using the edge node resources. The cost of data distribution, and can make full use of edge node resources to achieve effective use of resources. A data distribution system, device, and computer-readable storage medium provided by the present application also solve corresponding technical problems.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请第一实施例的流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the present application;
图2为本申请第二实施例的流程示意图;Fig. 2 is a schematic flow chart of the second embodiment of the present application;
图3为本申请第三实施例的流程示意图;FIG. 3 is a schematic flow chart of a third embodiment of the present application;
图4本申请一实施例揭露的数据分发系统的结构示意图;FIG. 4 is a schematic structural diagram of a data distribution system disclosed in an embodiment of the present application;
图5为本申请一实施例揭露的数据分发装置的内部结构示意图。FIG. 5 is a schematic diagram of the internal structure of a data distribution device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
需要说明的是,在本发明中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。It should be noted that the descriptions involving "first", "second", etc. in the present invention are only for descriptive purposes, and should not be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features . Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In addition, the technical solutions of the various embodiments can be combined with each other, but it must be based on the realization of those skilled in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist , nor within the scope of protection required by the present invention.
本申请提供一种数据分发方法。This application provides a data distribution method.
请参照图1,图1为本申请第一实施例的流程示意图。Please refer to FIG. 1 , which is a schematic flowchart of a first embodiment of the present application.
在第一实施例中,该方法包括:In a first embodiment, the method includes:
步骤S101:接收客户端发送的数据请求。Step S101: Receive a data request sent by a client.
实际应用中,可以先接收客户端发送的数据请求,客户端的类型及数量等可以根据具体应用场景确定,数据请求的类型也可以根据具体应用场景确定,比如其可以为观看直播时的视频数据等。In practical applications, you can first receive the data request sent by the client. The type and quantity of the client can be determined according to the specific application scenario. The type of data request can also be determined according to the specific application scenario. For example, it can be video data when watching a live broadcast, etc. .
步骤S102:分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。Step S102: Allocate edge node resources corresponding to the data request to the client, so that the client obtains corresponding data through the edge node resources.
实际应用中,在接收到数据请求后,便可以分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。In practical application, after receiving the data request, the edge node resource corresponding to the data request can be allocated to the client, so that the client can obtain the corresponding data through the edge node resource.
应当指出,在此过程中,可以先根据接收的数据请求确定出待分配的边缘节点资源,再将确定的待分配的边缘节点资源分配给客户端,在此过程中,还可以控制待分配的边缘节点资源获取与数据请求对应的数据,从而使得客户端可以通过边缘节点资源获取相应数据。此外,本申请所涉及的边缘节点是相对于网络的复杂结构而提出的一个概念,指距离最终用户接入具有较少的中间环节的网络节点,对最终接入用户有较好的响应能力和连接速度;边缘节点的类型可以根据实际需要确定,比如其可以为高性能、大带宽的机房服务器,普通的私人服务器,可以提供带宽、CPU等资源的私人用户机器,如手机、PC、盒子等;边缘节点资源的类型也可以根据实际需要确定,比如其可以为CPU资源、内存负载、上行带宽、下行带宽等。It should be pointed out that in this process, the edge node resources to be allocated can be determined first according to the received data request, and then the determined edge node resources to be allocated can be allocated to the client. In this process, the edge node resources to be allocated can also be controlled The edge node resource obtains the data corresponding to the data request, so that the client can obtain the corresponding data through the edge node resource. In addition, the edge node involved in this application is a concept proposed relative to the complex structure of the network. It refers to a network node with fewer intermediate links from the end user access, and has better responsiveness and responsiveness to the end user access. Connection speed; the type of edge node can be determined according to actual needs, for example, it can be a high-performance, large-bandwidth computer room server, an ordinary private server, or a private user machine that can provide resources such as bandwidth and CPU, such as mobile phones, PCs, boxes, etc. ; The type of edge node resources can also be determined according to actual needs, for example, it can be CPU resources, memory load, uplink bandwidth, downlink bandwidth, and so on.
本申请提供的一种数据分发方法,接收客户端发送的数据请求;分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。本申请提供的一种数据分发方法,在接收客户端发送的数据请求后,并不是直接传输数据给客户端,而是分配与数据请求对应的边缘节点资源至客户端,使得客户端通过边缘节点资源获取相应数据,而边缘节点资源为独立的闲置资源,所以可以借助边缘节点资源来降低数据分发服务器的服务压力,降低数据分发的成本,并且可以充分利用边缘节点资源,实现资源的有效利用。A data distribution method provided by the present application includes receiving a data request sent by a client; allocating edge node resources corresponding to the data request to the client, so that the client can obtain corresponding data through the edge node resource. A data distribution method provided by this application does not directly transmit data to the client after receiving the data request sent by the client, but allocates edge node resources corresponding to the data request to the client, so that the client passes the edge node Resources obtain corresponding data, and edge node resources are independent idle resources, so edge node resources can be used to reduce the service pressure of the data distribution server, reduce the cost of data distribution, and make full use of edge node resources to achieve effective use of resources.
请参照图2,图2为本申请第二实施例的流程示意图。Please refer to FIG. 2 , which is a schematic flowchart of a second embodiment of the present application.
在第二实施例中,该方法包括:In a second embodiment, the method includes:
步骤S201:接收客户端发送的数据请求。Step S201: Receive a data request sent by a client.
步骤S202:判断数据请求是否满足预设热度要求,若是,则执行步骤S203。Step S202: Determine whether the data request satisfies the preset heat requirement, and if so, execute step S203.
步骤S203:分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。Step S203: Allocate edge node resources corresponding to the data request to the client, so that the client obtains corresponding data through the edge node resources.
实际应用中,为了进一步降低数据分发的成本,分配边缘节点资源至客户端时,可以先判断数据请求是否满足预设热度要求,若是,则再分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。预设热度要求可以根据具体应用场景确定,应当指出,通过预设热度要求可以决定是否响应客户端发送的数据请求。In practical applications, in order to further reduce the cost of data distribution, when allocating edge node resources to clients, you can first judge whether the data request meets the preset heat requirements, and then allocate the edge node resources corresponding to the data request to the client. In order to enable the client to obtain the corresponding data through the edge node resources. The preset temperature requirement can be determined according to the specific application scenario. It should be noted that whether to respond to the data request sent by the client can be determined through the preset temperature requirement.
具体应用场景中,数据分发服务器在判断数据请求是否满足预设热度信息时,可以获取预设时间段内数据请求的请求书,判断请求书是否大于预设数量值,若是,则判定数据请求满足预设热度要求,若否,则判定数据请求不满足预设热度要求。也即当数据分发服务器接收的数据请求的数量小于预设数量值时,此时数据分发服务器将边缘节点资源分配给客户端的话,可能会造成边缘节点资源的浪费,增大成本,所以数据分发服务器可以在数据请求的请求书大于预设数量值时,才分配与数据请求对应的边缘节点资源至客户端。In a specific application scenario, when the data distribution server judges whether the data request meets the preset popularity information, it can obtain the request letter for the data request within the preset time period, and judge whether the request letter is greater than the preset quantity value, and if so, determine that the data request satisfies the The preset heat requirement, if not, it is determined that the data request does not meet the preset heat requirement. That is, when the number of data requests received by the data distribution server is less than the preset value, if the data distribution server allocates edge node resources to clients at this time, it may cause waste of edge node resources and increase costs, so data distribution The server may allocate edge node resources corresponding to the data request to the client only when the request letter of the data request is greater than a preset quantity.
具体应用场景中,在获取预设时间段内数据请求的请求数时,可以按照地域及运营商设置多个统计维度,获取预设时间段内每个统计维度内数据请求的请求数,比如按照省运营商、区运营商、运营商三个维度,获取预设时间段内各级运营商下数据请求的请求数。比如获取预设时间段内省运营商下数据请求的请求数,相应的,判断请求数是否大于预设的省运营商下的数量值,若是,则按照就近分配原则,分配省运营商下的边缘节点资源至客户端;获取预设时间段内区运营商下数据请求的请求数,相应的,判断请求数是否大于预设的区运营商下的数量值,若是,则按照就近分配原则,分配区运营商下的边缘节点资源至客户端;获取预设时间段内运营商下数据请求的请求数,相应的,判断请求数是否大于预设的运营商下的数量值,若是,则按照就近分配原则,分配运营商下的边缘节点资源至客户端等。In a specific application scenario, when obtaining the number of requests for data requests within a preset time period, multiple statistical dimensions can be set according to regions and operators to obtain the number of requests for data requests in each statistical dimension within a preset time period, for example, according to The three dimensions of provincial operators, district operators, and operators obtain the number of data requests made by operators at all levels within a preset time period. For example, to obtain the number of requests for data requests under the provincial operator within the preset time period, and correspondingly, determine whether the number of requests is greater than the preset number under the provincial operator. Edge node resources to the client; obtain the number of requests for data requests under the zone operator within the preset time period, and accordingly, determine whether the number of requests is greater than the preset number under the zone operator, and if so, follow the principle of nearest allocation, Allocate edge node resources under the operator in the area to the client; obtain the number of requests for data requests under the operator within the preset time period, and accordingly, determine whether the number of requests is greater than the number under the preset operator, and if so, follow the Based on the principle of nearest allocation, edge node resources under the operator are allocated to clients, etc.
具体应用场景中,数据分发服务器在判断数据请求是否满足预设热度要求时,可以基于数据请求计算客户端所需的资源量;判断资源量是否等于相应数量的边缘设备的资源总量,若是,则判定数据请求满足预设热度要求,若否,则判定数据请求不满足预设热度要求。也即数据分发服务器可以先基于数据请求计算客户端所需的资源量,再判断资源量是否等于相应数量的边缘设备的资源总量,也即数据分发服务器判断数据请求所需的资源量是否能够正好用完相应数量的边缘设备的资源总量,若是则再分配与数据请求对应的边缘节点资源至客户端,比如可以直接将该相应数量的边缘设备的资源分配给客户端,使得客户端可以在不浪费边缘节点资源的情况下使用边缘节点资源。In a specific application scenario, when the data distribution server judges whether the data request meets the preset heat requirements, it can calculate the amount of resources required by the client based on the data request; judge whether the amount of resources is equal to the total amount of resources of the corresponding number of edge devices, if so, Then it is determined that the data request meets the preset heat requirement, and if not, it is determined that the data request does not meet the preset heat requirement. That is to say, the data distribution server can first calculate the amount of resources required by the client based on the data request, and then judge whether the amount of resources is equal to the total amount of resources of the corresponding number of edge devices, that is, the data distribution server can judge whether the amount of resources required by the data request is sufficient Just use up the total resources of the corresponding number of edge devices, and if so, allocate the edge node resources corresponding to the data request to the client. For example, you can directly allocate the resources of the corresponding number of edge devices to the client, so that the client can Use edge node resources without wasting edge node resources.
本申请提供的一种数据分发方法,接收客户端发送的数据请求;判断数据请求是否满足预设热度要求,若是,则按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。本申请提供的一种数据分发方法,在接收客户端发送的数据请求后,并不是直接传输数据给客户端,而是在判定数据请求满足预设热度要求后,按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,使得客户端通过就近的边缘节点资源快速获取相应数据,而边缘节点资源为独立的闲置资源,所以可以借助边缘节点资源来降低数据分发服务器的服务压力,降低数据分发的成本,并且可以充分利用边缘节点资源,实现资源的有效利用。A data distribution method provided by this application receives a data request sent by a client; judges whether the data request meets the preset heat requirement, and if so, allocates the edge node resources corresponding to the data request to the client according to the principle of nearest allocation, so as to Make the client obtain the corresponding data through the edge node resources. In the data distribution method provided by this application, after receiving the data request sent by the client, it does not directly transmit the data to the client, but after judging that the data request meets the preset heat requirements, according to the principle of nearest distribution, the distribution and data Request the corresponding edge node resources to the client, so that the client can quickly obtain the corresponding data through the nearest edge node resources, and the edge node resources are independent idle resources, so the service pressure of the data distribution server can be reduced by using the edge node resources. The cost of data distribution, and can make full use of edge node resources to achieve effective use of resources.
请参照图3,图3为本申请第三实施例的流程示意图。Please refer to FIG. 3 , which is a schematic flowchart of a third embodiment of the present application.
在第三实施例中,该方法包括:In a third embodiment, the method includes:
步骤S301:接收客户端发送的数据请求。Step S301: Receive a data request sent by a client.
步骤S302:按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。Step S302: According to the nearest allocation principle, allocate the edge node resource corresponding to the data request to the client, so that the client can obtain corresponding data through the edge node resource.
实际应用中,为了客户端可以尽快的获取数据,保证客户端的用户体验,数据分发服务器在分配与数据请求对应的边缘节点资源至客户端时,可以按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端。In practical applications, in order for the client to obtain data as soon as possible and ensure the user experience of the client, when the data distribution server allocates the edge node resources corresponding to the data request to the client, it can allocate the edge node resources corresponding to the data request according to the principle of nearest allocation. Node resource to client.
具体应用场景中,数据分发服务器所管理的边缘节点资源可能多种多样,且处于不同的位置,此种情况下,为了便于对边缘节点资源进行管理,并且为了便于对边缘节点资源进行分配,数据分发服务器在按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端时,可以基于边缘节点资源的位置信息,将数据分发服务器管理的边缘节点资源划分为预设数量的边缘节点区资源;基于边缘节点区资源与客户端的位置关系,按照就近分配原则,分配与数据请求对应的边缘节点区资源至客户端。In a specific application scenario, the edge node resources managed by the data distribution server may be diverse and located in different locations. In this case, in order to facilitate the management of edge node resources and facilitate the allocation of edge node resources, the data When the distribution server allocates the edge node resources corresponding to the data request to the client according to the nearest allocation principle, it can divide the edge node resources managed by the data distribution server into a preset number of edge node area resources based on the location information of the edge node resources ; Based on the positional relationship between the resources in the edge node area and the client, according to the nearest allocation principle, allocate the edge node area resources corresponding to the data request to the client.
可以理解的是,边缘节点区资源的数量可以根据具体应用场景灵活确定,比如数据分发服务器基于边缘节点资源的位置,将数据分发服务器管理的边缘节点资源划分为预设数量的边缘节点区资源时,可以基于边缘节点资源的位置,将数据分发服务器管理的边缘节点资源划分为第一边缘节点区资源、第二边缘节点区资源、第三边缘节点区资源,第一边缘节点区资源、第二边缘节点区资源及第三边缘节点区资源的区域范围均包括客户端的位置,且区域范围依次增大;相应的,在按照就近分配原则,分配与数据请求对应的边缘节点区资源至客户端时,按照就近分配原则,并按照第一边缘节点区资源、第二边缘节点区资源、第三边缘节点区资源的先后分配顺序,分配与数据请求对应的边缘节点区资源至客户端。也即数据分发服务器在分配边缘节点资源至客户端时,可以先分配第一边缘节点区资源给客户端,在第一边缘节点区资源不满足客户端需求时,再分配第二边缘节点区资源给客户端,在第二边缘节点区资源也不满足客户端需求时,再分配第三边缘节点区资源给客户端。实际应用中,第一边缘节点区资源可以为省运营商资源,第二边缘节点区资源可以为区运营商资源,第三边缘节点区资源可以为整个运营商资源等。为了便于理解,这里以广东省为例,对省运营商、区运营商、运营商进行说明,广东省内的运营商可以作为省运营商,而广东省和仅靠广东省的广西等内的运营商可以作为区运营商,中国境内所有的运营商可以作为整个运营商等。It can be understood that the number of edge node area resources can be flexibly determined according to specific application scenarios. For example, when the data distribution server divides the edge node resources managed by the data distribution server into a preset number of edge node area resources based on the location of the edge node resources , based on the location of the edge node resources, the edge node resources managed by the data distribution server can be divided into the first edge node area resource, the second edge node area resource, the third edge node area resource, the first edge node area resource, the second edge node area resource The area ranges of the edge node area resources and the third edge node area resources include the location of the client, and the area ranges increase sequentially; correspondingly, when allocating the edge node area resources corresponding to the data request to the client according to the principle of nearest allocation , according to the nearest allocation principle, and according to the order of allocation of the first edge node area resources, the second edge node area resources, and the third edge node area resources, allocate the edge node area resources corresponding to the data request to the client. That is to say, when the data distribution server allocates edge node resources to the client, it can first allocate the resources of the first edge node area to the client, and then allocate the resources of the second edge node area when the resources of the first edge node area do not meet the needs of the client For the client, when the resources of the second edge node area do not meet the requirements of the client, the resources of the third edge node area are allocated to the client. In practical applications, the resources in the first edge node area may be provincial operator resources, the second edge node area resources may be area operator resources, and the third edge node area resources may be entire operator resources. For ease of understanding, Guangdong Province is taken as an example here to explain provincial operators, district operators, and operators. Operators in Guangdong Province can be used as provincial operators, while operators in Guangdong Province and Guangxi, which only rely on Guangdong Province, An operator can act as a regional operator, and all operators in China can act as an entire operator.
在第一、第二和第三实施例中,数据分发服务器需要对自身管理的边缘节点资源的信息有一个直观的了解,比如边缘节点资源的使用量、可用量等,所以本申请提供的一种数据分发方法中,数据分发服务器还可以按照预设时间间隔统计数据分发服务器管理的边缘设备的边缘节点资源,当然还可以时时统计数据分发服务器管理的边缘设备的边缘节点资源。相应指出,为了进一步增强数据分发服务器对边缘节点资源的管理,数据分发服务器在分配与数据请求对应的边缘节点资源至客户端之后,还可以更新数据分发服务器管理的边缘节点资源的数据信息。In the first, second and third embodiments, the data distribution server needs to have an intuitive understanding of the information of the edge node resources it manages, such as the usage and availability of edge node resources, so the application provides a In the data distribution method, the data distribution server can also count the edge node resources of the edge devices managed by the data distribution server according to a preset time interval, and of course can also count the edge node resources of the edge devices managed by the data distribution server from time to time. Correspondingly, in order to further enhance the management of edge node resources by the data distribution server, after the data distribution server allocates the edge node resources corresponding to the data request to the client, it can also update the data information of the edge node resources managed by the data distribution server.
另一方面,本申请提供一种数据分发系统。In another aspect, the present application provides a data distribution system.
请参照图4,图4本申请一实施例揭露的数据分发系统的结构示意图。Please refer to FIG. 4 , which is a schematic structural diagram of a data distribution system disclosed in an embodiment of the present application.
本申请提供的一种数据分发系统,可以包括:A data distribution system provided by this application may include:
第一接收模块401,用于接收客户端发送的数据请求;The first receiving module 401 is configured to receive the data request sent by the client;
第一判断模块402,用于判断所述数据请求是否满足预设热度要求;A first judging module 402, configured to judge whether the data request meets a preset heat requirement;
第一分配模块403,用于第一判断模块判定数据请求满足预设热度要求时,按照就近分配原则,分配与数据请求对应的边缘节点资源至客户端,以使客户端通过边缘节点资源获取相应数据。The first allocation module 403 is used for the first judgment module to allocate the edge node resources corresponding to the data request to the client according to the principle of nearest allocation when the first judgment module determines that the data request meets the preset heat requirement, so that the client can obtain the corresponding edge node resources through the edge node resources. data.
数据数据数据数据数据数据本申请提供的一种数据分发系统,第一判断模块可以包括:Data Data Data Data Data Data In a data distribution system provided by this application, the first judgment module may include:
第一统计单元,用于获取预设时间段内所述数据请求的请求数;The first statistical unit is used to obtain the number of requests for the data requests within a preset time period;
第一判断单元,用于判断请求数是否大于预设数量值,若是,则判定数据请求满足预设热度要求,若否,则判定数据请求不满足预设热度要求。The first judging unit is used for judging whether the number of requests is greater than a preset quantity value, if yes, then judging that the data request meets the preset popularity requirement, and if not, then judging that the data request does not meet the preset popularity requirement.
本申请提供的一种数据分发系统,第一统计单元可以包括:In a data distribution system provided by the present application, the first statistical unit may include:
第一获取单元,用于按照地域及运营商设置多个统计维度,获取预设时间段内每个统计维度内数据请求的请求数。The first acquisition unit is configured to set multiple statistical dimensions according to regions and operators, and acquire the number of data requests in each statistical dimension within a preset time period.
数据数据数据本申请提供的一种数据分发系统,第一分配模块可以包括:Data Data Data In a data distribution system provided by this application, the first distribution module may include:
第一划分子模块,用于基于边缘节点资源的位置信息,将边缘节点资源划分为预设数量的边缘节点区资源;The first division submodule is used to divide the edge node resources into a preset number of edge node area resources based on the location information of the edge node resources;
第二分配子模块,用于基于边缘节点区资源与客户端间的位置关系,按照就近分配原则,分配与数据请求对应的边缘节点区资源至客户端。The second allocation sub-module is configured to allocate the edge node area resources corresponding to the data request to the client according to the nearest allocation principle based on the location relationship between the edge node area resources and the client.
本申请提供的一种数据分发系统,第一划分子模块可以包括:In a data distribution system provided by the present application, the first division sub-module may include:
第一划分单元,用于基于边缘节点资源的位置,将边缘节点资源划分为第一边缘节点区资源、第二边缘节点区资源、第三边缘节点区资源,第一边缘节点区资源、第二边缘节点区资源及第三边缘节点区资源的区域范围均包括客户端的位置,且区域范围依次增大;The first dividing unit is configured to divide edge node resources into first edge node area resources, second edge node area resources, and third edge node area resources based on the positions of edge node resources, first edge node area resources, second edge node area resources, and second edge node area resources. The area ranges of the edge node area resources and the third edge node area resources both include the location of the client, and the area ranges increase sequentially;
第二分配子模块包括:The second distribution sub-module includes:
第一分配单元,用于按照就近分配原则,并按照第一边缘节点区资源、第二边缘节点区资源、第三边缘节点区资源的先后分配顺序,分配与数据请求对应的边缘节点区资源至客户端。The first allocation unit is configured to allocate the edge node area resources corresponding to the data request to the nearest allocation principle and according to the order of allocation of the first edge node area resources, the second edge node area resources, and the third edge node area resources. client.
本申请提供的一种数据分发系统,还可以包括:A data distribution system provided by this application may also include:
第二统计模块,用于按照预设时间间隔统计边缘节点资源。The second statistical module is configured to collect statistics on edge node resources according to a preset time interval.
本申请提供的一种数据分发系统,还可以包括:A data distribution system provided by this application may also include:
第一更新模块,用于第一分配模块分配与数据请求对应的边缘节点资源至客户端之后,更新边缘节点资源的数据信息。The first update module is configured to update the data information of the edge node resource after the first allocation module allocates the edge node resource corresponding to the data request to the client.
另一方面,本申请提供一种数据分发装置。In another aspect, the present application provides a data distribution device.
参照图5,图5为本申请一实施例揭露的数据分发装置的内部结构示意图。Referring to FIG. 5 , FIG. 5 is a schematic diagram of an internal structure of a data distribution device disclosed in an embodiment of the present application.
本实施例中,数据分发装置1可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、掌上电脑、便携计算机、智能路由器、矿机、网络存储设备终端设备。In this embodiment, the data distribution device 1 may be a PC (Personal Computer, personal computer), or may be a smart phone, a tablet computer, a palmtop computer, a portable computer, an intelligent router, a mining machine, or a network storage terminal device.
该数据分发装置1可以是组成CDN网络或者区块链网络的节点。The data distribution device 1 may be a node forming a CDN network or a blockchain network.
该数据分发装置1可以包括存储器11、处理器12和总线13。The data distribution device 1 may include a memory 11 , a processor 12 and a bus 13 .
其中,存储器11至少包括一种类型的可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是数据分发装置1的内部存储单元,例如该数据分发装置1的硬盘。存储器11在另一些实施例中也可以是数据分发装置1的外部存储设备,例如数据分发装置1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括数据分发装置1的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于数据分发装置1的应用软件及各类数据,例如数据分发程序01的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may be an internal storage unit of the data distribution device 1 in some embodiments, such as a hard disk of the data distribution device 1 . The memory 11 can also be an external storage device of the data distribution device 1 in other embodiments, such as a plug-in hard disk equipped on the data distribution device 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the storage 11 may also include both an internal storage unit of the data distribution apparatus 1 and an external storage device. The memory 11 can not only be used to store application software and various data installed in the data distribution device 1, such as the code of the data distribution program 01, but also can be used to temporarily store outputted or to-be-outputted data.
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行数据分发程序01等。In some embodiments, the processor 12 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips for running program codes or processing stored in the memory 11. Data, such as executing data distribution program 01, etc.
该总线13可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 13 may be a peripheral component interconnect standard (PCI for short) bus or an extended industry standard architecture (EISA for short) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 5 , but it does not mean that there is only one bus or one type of bus.
进一步地,数据分发装置还可以包括网络接口14,网络接口14可选的可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该装置1与其他电子设备之间建立通信连接。Further, the data distributing device can also include a network interface 14, which can optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), and is usually used for communicating between the device 1 and other electronic devices. A communication connection is established between the devices.
可选地,该数据分发装置1还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在数据分发装置1中处理的信息以及用于显示可视化的用户界面。Optionally, the data distribution apparatus 1 may further include a user interface, which may include a display (Display), an input unit such as a keyboard (Keyboard), and optional user interfaces may also include standard wired interfaces and wireless interfaces. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, Organic Light-Emitting Diode) touch panel, and the like. Wherein, the display may also be appropriately referred to as a display screen or a display unit, and is used for displaying information processed in the data distribution device 1 and for displaying a visualized user interface.
图5仅示出了具有组件11-14以及数据分发程序01的数据分发装置1,本领域技术人员可以理解的是,图5示出的结构并不构成对数据分发装置1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 only shows the data distribution device 1 with components 11-14 and the data distribution program 01. Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation on the data distribution device 1, and may include Fewer or more components than shown, or combinations of certain components, or different arrangements of components.
本申请提供的一种计算机可读存储介质,计算机可读存储介质上存储有数据分发程序数据分发程序可被一个或者多个处理器执行,以实现如上任一实施例所描述的数据分发方法。The present application provides a computer-readable storage medium, in which a data distribution program is stored on the computer-readable storage medium, and the data distribution program can be executed by one or more processors, so as to implement the data distribution method described in any one of the above embodiments.
这里所涉及的计算机可读存储介质包括随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质。The computer-readable storage medium referred to herein includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, Or any other form of storage medium known in the technical field.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present invention will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the serial numbers of the above embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments. And herein the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, apparatus, article or method comprising a set of elements includes not only those elements, but also includes the elements not expressly included. other elements listed, or also include elements inherent in the process, apparatus, article, or method. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional same elements in the process, apparatus, article or method comprising the element.
对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910554934.2A CN110290399B (en) | 2019-06-25 | 2019-06-25 | A data distribution method, system, apparatus, 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 | A data distribution method, system, apparatus, 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 | A data distribution method, system, apparatus, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110290399B (en) |
Cited By (6)
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 |
CN114791847A (en) * | 2021-01-25 | 2022-07-26 | 伊姆西Ip控股有限责任公司 | Method, apparatus and program product for deploying visual resources |
WO2022241675A1 (en) * | 2021-05-19 | 2022-11-24 | 深圳爱特天翔科技有限公司 | Data distribution method, terminal device and computer-readable storage medium |
Citations (5)
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 |
-
2019
- 2019-06-25 CN CN201910554934.2A patent/CN110290399B/en active Active
Patent Citations (5)
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 (9)
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 | 深圳市网心科技有限公司 | A node data deployment method, deployment node, 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 |
CN114791847A (en) * | 2021-01-25 | 2022-07-26 | 伊姆西Ip控股有限责任公司 | Method, apparatus and program product for deploying visual resources |
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 data distribution method, system, device and computer-readable storage medium | |
CN107341050B (en) | Service processing method and device based on dynamic thread pool | |
CN106201661B (en) | Method and device for elastic scaling virtual machine cluster | |
US11751004B2 (en) | Methods and systems for communication management | |
CN109960575B (en) | Computing power sharing method, system and related equipment | |
CN110493357A (en) | A kind of calculation resource disposition method, system, device and computer storage medium | |
CN109726005A (en) | Method, server system and computer program product for managing resources | |
CN114155026B (en) | Resource allocation method, device, server and storage medium | |
CN109617959A (en) | A data loading method, device, system and storage medium | |
WO2021057607A1 (en) | Method and apparatus for node speed limiting, electronic device, and storage medium | |
CN109639823A (en) | Network node dispatching method and device, computer installation and storage medium | |
CN110336888B (en) | A server allocation method, device, system and medium | |
CN104125297A (en) | Virtual resource sharing method, device and system | |
CN110677493A (en) | Service state determination method and device, computer device and storage medium | |
WO2020133995A1 (en) | Copy deployment method, cloud server, and storage medium | |
CN109618174A (en) | A kind of live data transmission method, device, system and storage medium | |
CN109600373A (en) | A kind of live data transmission method, device, system and readable storage medium storing program for executing | |
CN110995866A (en) | Node scheduling method, device, scheduling server and storage medium | |
CN111858035A (en) | A kind of FPGA device allocation method, device, device and storage medium | |
CN110290009B (en) | Data scheduling method and device and computer readable storage medium | |
CN110365783B (en) | File deployment method and device, network node and storage medium | |
CN107480310B (en) | Method and system for dynamic load balancing of metadata cluster directory | |
KR101613513B1 (en) | Virtual machine placing method and system for guarantee of network bandwidth | |
CN111142799A (en) | Distributed storage method and device, network node and storage medium | |
CN111082982B (en) | Data transmission method, electronic device, system and 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 |