CN110290399B - Data distribution method, system, device and computer readable storage medium - Google Patents

Data distribution method, system, device and computer readable storage medium Download PDF

Info

Publication number
CN110290399B
CN110290399B CN201910554934.2A CN201910554934A CN110290399B CN 110290399 B CN110290399 B CN 110290399B CN 201910554934 A CN201910554934 A CN 201910554934A CN 110290399 B CN110290399 B CN 110290399B
Authority
CN
China
Prior art keywords
edge node
resources
data
client
data 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.)
Active
Application number
CN201910554934.2A
Other languages
Chinese (zh)
Other versions
CN110290399A (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

Images

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

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

The application discloses a data distribution method, a system, a device and a computer readable storage medium, which are used for receiving a data request sent by a client; and judging whether the data request meets the preset heat requirement, if so, allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle so that the client acquires corresponding data through the edge node resources. According to the video distribution method, the client side can acquire corresponding data nearby through the nearby edge node resources, and the edge node resources are independent idle resources, so that the service pressure of the data distribution server can be reduced by means of the edge node resources, the data distribution cost is reduced, the edge node resources can be fully utilized, and the effective utilization of the resources is achieved. The data distribution system, the data distribution device and the computer readable storage medium solve the corresponding technical problems.

Description

Data distribution method, system, device and computer readable storage medium
Technical Field
The present application relates to the field of information transmission technologies, and in particular, to a data distribution method, system, apparatus, and computer-readable storage medium.
Background
With the development of the internet, the demands of users for direct broadcasting and on-demand broadcasting are exponentially increased, and the watching experience is also more strictly required, so that how to ensure that the users acquire clear videos is a problem to be solved.
One existing video distribution method is: the video is distributed by a high performance server.
However, as the amount of requested videos of users increases, in order to meet the video demands of users, a server with higher performance is inevitably used to distribute the videos, thereby increasing the cost of the video distribution method.
In summary, how to reduce the cost of the video distribution method is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a data distribution method, which can solve the technical problem of reducing the cost of the video distribution method to a certain extent. The application also provides a data distribution system, a data distribution device and a computer readable storage medium.
In order to achieve the above object, the present application provides a data distribution method, including:
receiving a data request sent by a client;
judging whether the video request meets a preset heat requirement, if so, allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle so that the client can acquire corresponding data through the edge node resources;
wherein the allocating, according to a near allocation principle, edge node resources corresponding to the data request to the client includes:
dividing edge node resources into a preset number of edge node area resources based on the position information of the edge node resources;
distributing the edge node area resources corresponding to the data request to the client according to a nearby distribution principle based on the position relation between the edge node area resources and the client;
wherein, the dividing the edge node resource into a preset number of edge node zone resources based on the position of the edge node resource comprises:
dividing the edge node resources into first edge node zone resources, second edge node zone resources and third edge node zone resources based on the positions of the edge node resources, wherein the regional ranges of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources all comprise the positions of the clients, and the regional ranges are sequentially increased;
the allocating, according to a near allocation principle, edge node area resources corresponding to the data request to the client includes:
and allocating the edge node zone resources corresponding to the data request to the client according to a near allocation principle and the sequence of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources.
Preferably, the determining whether the data request satisfies a preset heat includes:
acquiring the request number of the data request in a preset time period;
and judging whether the request number is greater than a preset number value, if so, judging that the data request meets the preset heat requirement, and if not, judging that the data request does not meet the preset heat requirement.
Preferably, the obtaining the request number of the data request in the preset time period includes:
and setting a plurality of dimensions according to regions and operators, and acquiring the request number of the data requests in each statistical dimension in the preset time period.
Preferably, the allocating, according to a principle of near allocation, edge node resources corresponding to the data request to the client includes:
dividing edge node resources into a preset number of edge node area resources based on the position information of the edge node resources;
and distributing the edge node area resources corresponding to the data request to the client according to a nearby distribution principle based on the position relation between the edge node area resources and the client.
Preferably, the method further comprises the following steps:
and counting the edge node resources according to a preset time interval.
Preferably, after allocating the edge node resource corresponding to the video request to the client, the method further includes:
and updating the data information of the edge node resource.
To achieve the above object, the present application further provides a data distribution system, including:
the first receiving module is used for receiving a data request sent by a client;
the first judgment module is used for judging whether the data request meets the preset heat requirement or not;
the first allocation module is used for allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle when the first judgment module judges that the data request meets the preset heat requirement, so that the client can obtain corresponding data through the edge node resources;
wherein the first distribution module comprises:
the first dividing module is used for dividing the edge node resources into a preset number of edge node area resources based on the position information of the edge node resources;
the second allocation submodule is used for allocating the edge node area resources corresponding to the data request to the client according to a nearby allocation principle based on the position relation between the edge node area resources and the client;
wherein the first molecular division module comprises:
a first dividing unit, configured to divide an edge node resource into a first edge node zone resource, a second edge node zone resource, and a third edge node zone resource based on a location of the edge node resource, where the region ranges of the first edge node zone resource, the second edge node zone resource, and the third edge node zone resource all include the location of the client, and the region ranges are sequentially increased;
the second allocation sub-module includes:
and the first allocation unit is used for allocating the edge node zone resources corresponding to the data request to the client according to a near allocation principle and the sequence allocation sequence of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources.
Preferably, the first judging module includes:
the first statistic unit is used for acquiring the request number of the data requests in a preset time period;
the first judging unit is used for judging whether the request number is larger than a preset number value or not, if so, judging that the data request meets the preset heat requirement, and if not, judging that the data request does not meet the preset heat requirement.
Preferably, the first statistical unit includes:
and the first acquisition unit is used for acquiring the request number of the data request in the preset time period according to three dimensions of provincial operators, regional operators and operators.
Preferably, the method further comprises the following steps:
and the second statistical module is used for counting the edge node resources according to a preset time interval.
Preferably, the method further comprises the following steps:
and the first updating module is used for updating the data information of the edge node resource after the first distribution module distributes the edge node resource corresponding to the video request to the client.
To achieve the above object, the present application further provides a data distribution apparatus, which includes a memory and a processor, wherein the memory stores a data distribution program operable on the processor, and the data distribution program implements the method according to any one of the above when executed by the processor.
Preferably, the device is a node constituting a CDN network or a blockchain network.
To achieve the above object, the present application further provides a computer-readable storage medium having a data distribution program stored thereon, the data distribution program being executable by one or more processors to implement the data distribution method as described in any one of the above.
The data distribution method provided by the application receives a data request sent by a client; and judging whether the data request meets the preset heat requirement, if so, allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle so that the client acquires corresponding data through the edge node resources. According to the data distribution method, after the data request sent by the client is received, the data is not directly transmitted to the client, but after the data request is judged to meet the preset heat requirement, edge node resources corresponding to the data request are distributed to the client according to the nearby distribution principle, so that the client can quickly obtain corresponding data through the nearby edge node resources, and the edge node resources are independent idle resources, so that the service pressure of a data distribution server can be reduced by means of the edge node resources, the data distribution cost is reduced, the edge node resources can be fully utilized, and the effective utilization of the resources is realized. The data distribution system, the data distribution device and the computer readable storage medium solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a first embodiment of the present application;
FIG. 2 is a schematic flow chart of a second embodiment of the present application;
FIG. 3 is a schematic flow chart of a third embodiment of the present application;
FIG. 4 is a schematic diagram of a data distribution system according to an embodiment of the present application;
fig. 5 is a schematic internal structure diagram of a data distribution device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The application provides a data distribution method.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of the present application.
In a first embodiment, the method comprises:
step S101: and receiving a data request sent by the client.
In practical application, a data request sent by a client may be received first, the type, number, and the like of the client may be determined according to a specific application scenario, and the type of the data request may also be determined according to the specific application scenario, for example, the type of the data request may be video data during live broadcast watching.
Step S102: and allocating edge node resources corresponding to the data request to the client so that the client acquires corresponding data through the edge node resources.
In practical application, after receiving a data request, an edge node resource corresponding to the data request may be allocated to a client, so that the client acquires corresponding data through the edge node resource.
It should be noted that, in this process, the edge node resource to be allocated may be determined according to the received data request, and then the determined edge node resource to be allocated is allocated to the client. In addition, the edge node related by the application is a concept provided relative to a complex structure of a network, and means that a distance end user accesses a network node with fewer intermediate links, and the network node has better response capability and connection speed for the end access user; the type of the edge node can be determined according to actual needs, for example, the edge node can be a high-performance and large-bandwidth machine room server, a common private server, and a private user machine which can provide resources such as bandwidth and a CPU (central processing unit), such as a mobile phone, a PC (personal computer), a box and the like; the type of the edge node resource may also be determined according to actual needs, for example, it may be a CPU resource, a memory load, an uplink bandwidth, a downlink bandwidth, and the like.
The data distribution method provided by the application receives a data request sent by a client; and allocating edge node resources corresponding to the data request to the client so that the client acquires corresponding data through the edge node resources. According to the data distribution method, after the data request sent by the client is received, the data is not directly transmitted to the client, but the edge node resources corresponding to the data request are distributed to the client, so that the client can obtain corresponding data through the edge node resources, and the edge node resources are independent idle resources, so that the service pressure of the data distribution server can be reduced by means of the edge node resources, the data distribution cost is reduced, the edge node resources can be fully utilized, and the effective utilization of the resources is realized.
Referring to fig. 2, fig. 2 is a schematic flow chart of a second embodiment of the present application.
In a second embodiment, the method comprises:
step S201: and receiving a data request sent by the client.
Step S202: and judging whether the data request meets the preset heat requirement, if so, executing the step S203.
Step S203: and allocating edge node resources corresponding to the data request to the client so that the client acquires corresponding data through the edge node resources.
In practical application, in order to further reduce the cost of data distribution, when allocating edge node resources to a client, it may be determined whether a data request meets a preset heat requirement, and if so, allocating edge node resources corresponding to the data request to the client, so that the client obtains corresponding data through the edge node resources. The preset heat requirement may be determined according to a specific application scenario, and it should be noted that whether to respond to a data request sent by a client may be determined by the preset heat requirement.
In a specific application scenario, when judging whether the data request meets the preset heat information, the data distribution server can obtain a request book of the data request within a preset time period, judge whether the request book is larger than a preset quantity value, if so, judge that the data request meets the preset heat requirement, and if not, judge that the data request does not meet the preset heat requirement. That is, when the number of the data requests received by the data distribution server is smaller than the preset number value, and the data distribution server allocates the edge node resources to the client at this time, waste of the edge node resources may be caused, and the cost is increased.
In a specific application scenario, when the number of requests for data requests in a preset time period is obtained, a plurality of statistical dimensions may be set according to regions and operators, and the number of requests for data requests in each statistical dimension in the preset time period is obtained, for example, the number of requests for data requests of operators at different levels in the preset time period is obtained according to three dimensions of provincial operators, regional operators, and operators. For example, the number of requests for data requests from the province operators within a preset time period is obtained, and whether the number of requests is greater than a preset number value of the province operators is correspondingly judged, if yes, edge node resources from the province operators are distributed to the client according to a nearby distribution principle; acquiring the number of requests of data requests of regional operators in a preset time period, correspondingly judging whether the number of requests is greater than the number value of the preset regional operators, and if so, allocating edge node resources of the regional operators to the client according to an on-coming allocation principle; acquiring the number of requests of data requests of an operator in a preset time period, correspondingly judging whether the number of requests is larger than a preset number value of the operator, and if so, allocating edge node resources of the operator to a client and the like according to an in-situ allocation principle.
In a specific application scenario, when the data distribution server judges whether the data request meets a preset heat requirement, the data distribution server can calculate the resource amount required by the client based on the data request; and judging whether the resource quantity is equal to the total resource quantity of the corresponding quantity of edge equipment, if so, judging that the data request meets the preset heat requirement, and if not, judging that the data request does not meet the preset heat requirement. That is, the data distribution server may calculate the amount of resources required by the client based on the data request, and then determine 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 determines whether the amount of resources required by the data request can just use up the total amount of resources of the corresponding number of edge devices, and if so, reallocate the edge node resources corresponding to the data request to the client, for example, directly allocate the resources of the corresponding number of edge devices to the client, so that the client can use the edge node resources without wasting the edge node resources.
The data distribution method provided by the application receives a data request sent by a client; and judging whether the data request meets the preset heat requirement, if so, allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle so that the client acquires corresponding data through the edge node resources. According to the data distribution method, after the data request sent by the client is received, the data is not directly transmitted to the client, but after the data request is judged to meet the preset heat requirement, edge node resources corresponding to the data request are distributed to the client according to the nearby distribution principle, so that the client can quickly obtain corresponding data through the nearby edge node resources, and the edge node resources are independent idle resources, so that the service pressure of a data distribution server can be reduced by means of the edge node resources, the data distribution cost is reduced, the edge node resources can be fully utilized, and the effective utilization of the resources is realized.
Referring to fig. 3, fig. 3 is a schematic flow chart of a third embodiment of the present application.
In a third embodiment, the method comprises:
step S301: and receiving a data request sent by the client.
Step S302: and according to a near allocation principle, allocating edge node resources corresponding to the data request to the client so that the client acquires corresponding data through the edge node resources.
In practical application, in order that the client can acquire data as soon as possible and ensure user experience of the client, when the data distribution server allocates the edge node resource corresponding to the data request to the client, the edge node resource corresponding to the data request can be allocated to the client according to a nearby allocation principle.
In a specific application scenario, edge node resources managed by the data distribution server may be various and located at different positions, and in this case, in order to facilitate management of the edge node resources and to facilitate allocation of the edge node resources, when the data distribution server allocates edge node resources corresponding to the data request to the client according to a nearby allocation principle, the edge node resources managed by the data distribution server may be divided into a preset number of edge node area resources based on location information of the edge node resources; and distributing the edge node area resources corresponding to the data request to the client according to a nearby distribution principle based on the position relation between the edge node area resources and the client.
It can be understood that the number of the edge node zone resources may be flexibly determined according to a specific application scenario, 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 zone resources based on the position of the edge node resources, the edge node resources managed by the data distribution server may be divided into first edge node zone resources, second edge node zone resources, and third edge node zone resources based on the position of the edge node resources, and the regional ranges of the first edge node zone resources, the second edge node zone resources, and the third edge node zone resources all include the position of the client, and the regional ranges are sequentially increased; correspondingly, when the edge node area resources corresponding to the data request are distributed to the client according to the nearby distribution principle, the edge node area resources corresponding to the data request are distributed to the client according to the nearby distribution principle and the sequence of the first edge node area resources, the second edge node area resources and the third edge node area resources. That is, when the data distribution server allocates the edge node resource to the client, the first edge node area resource may be allocated to the client first, when the first edge node area resource does not satisfy the client requirement, the second edge node area resource is allocated to the client, and when the second edge node area resource does not satisfy the client requirement, the third edge node area resource is allocated to the client. In practical applications, the first edge node area resource may be a provincial operator resource, the second edge node area resource may be an area operator resource, and the third edge node area resource may be a whole operator resource. For convenience of understanding, the province operator, the district operator, and the operator are described here by taking the Guangdong province as an example, the operator in the Guangdong province may be the province operator, the operators in the Guangdong province and Guangxi etc. only relying on the Guangdong province may be the district operators, and all the operators in China may be the entire operators, etc.
In the first, second, and third embodiments, the data distribution server needs to have a visual understanding of information of the edge node resources managed by the data distribution server, such as usage amount, available amount, and the like of the edge node resources, so in the data distribution method provided by the present application, the data distribution server may also count the edge node resources of the edge device managed by the data distribution server according to a preset time interval, and certainly may count the edge node resources of the edge device managed by the data distribution server in real time. Accordingly, in order to further enhance the management of the edge node resources by the data distribution server, the data distribution server may further update the data information of the edge node resources managed by the data distribution server after allocating the edge node resources corresponding to the data request to the client.
In another aspect, the present application provides a data distribution system.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data distribution system according to an embodiment of the present application.
The data distribution system provided by the application can comprise:
a first receiving module 401, configured to receive a data request sent by a client;
a first determining module 402, configured to determine whether the data request meets a preset heat requirement;
the first allocating module 403 is configured to, when the first determining module determines that the data request meets the preset heat requirement, allocate edge node resources corresponding to the data request to the client according to a nearby allocation principle, so that the client obtains corresponding data through the edge node resources.
In a data distribution system provided by the present application, the first determining module may include:
the first statistic unit is used for acquiring the request number of the data requests in a preset time period;
the first judging unit is used for judging whether the number of the requests is larger than a preset number value or not, if so, judging that the data request meets the preset heat requirement, and if not, judging that the data request does not meet the preset heat requirement.
In a data distribution system provided by the present application, a first statistical unit may include:
the first obtaining unit is used for setting a plurality of statistical dimensions according to regions and operators and obtaining the number of requests of data requests in each statistical dimension in a preset time period.
In a data distribution system provided by the present application, a first distribution module may include:
the first dividing module is used for dividing the edge node resources into a preset number of edge node area resources based on the position information of the edge node resources;
and the second distribution submodule is used for distributing the edge node area resources corresponding to the data request to the client according to a nearby distribution principle based on the position relation between the edge node area resources and the client.
In a data distribution system provided by the present application, a first partitioning module may include:
the first dividing unit is used for dividing the edge node resources into first edge node zone resources, second edge node zone resources and third edge node zone resources based on the positions of the edge node resources, wherein the regional ranges of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources all comprise the positions of the clients, and the regional ranges are sequentially increased;
the second allocation sub-module includes:
and the first allocation unit is used for allocating the edge node zone resources corresponding to the data request to the client according to a nearby allocation principle and the sequence allocation sequence of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources.
The data distribution system provided by the present application may further include:
and the second statistical module is used for counting the edge node resources according to the preset time interval.
The data distribution system provided by the present application may further include:
and the first updating module is used for updating the data information of the edge node resource after the first distribution module distributes the edge node resource corresponding to the data request to the client.
In another aspect, the present application provides a data distribution apparatus.
Referring to fig. 5, fig. 5 is a schematic diagram of an internal structure of a data distribution device according to an embodiment of the present disclosure.
In this embodiment, the data distribution device 1 may be a PC (Personal Computer), or may be a smartphone, a tablet Computer, a palmtop Computer, a portable Computer, an intelligent router, an ore machine, or a network storage device terminal device.
The data distribution apparatus 1 may be a node constituting a CDN network or a blockchain network.
The data distribution apparatus 1 may include a memory 11, a processor 12, and a bus 13.
The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the data distribution apparatus 1, for example a hard disk of the data distribution apparatus 1. The memory 11 may also be an external storage device of the data distribution apparatus 1 in other embodiments, such as a plug-in hard disk provided on the data distribution apparatus 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit and an external storage device of the data distribution apparatus 1. The memory 11 can be used not only to store application software installed in the data distribution apparatus 1 and various types of data, such as a code of the data distribution program 01, but also to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data, such as executing the data distribution program 01.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Further, the data distribution apparatus may further comprise a network interface 14, and the network interface 14 may optionally comprise a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the apparatus 1 and other electronic devices.
Optionally, the data distribution apparatus 1 may further comprise a user interface, the user interface may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface, a wireless interface. Alternatively, 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) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the data distribution apparatus 1 and for displaying a visual user interface.
Fig. 5 shows only the data distribution apparatus 1 having the components 11 to 14 and the data distribution program 01, and it will be understood by those skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the data distribution apparatus 1, and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
A computer-readable storage medium is provided, on which a data distribution program is stored, and the data distribution program can be executed by one or more processors to implement the data distribution method described in any one of the above embodiments.
Reference herein to a computer-readable storage medium includes Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The previous 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 generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to 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 (9)

1. A method for data distribution, comprising:
receiving a data request sent by a client;
judging whether the data request meets a preset heat requirement, if so, allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle so that the client can acquire corresponding data through the edge node resources;
wherein the allocating, according to a near allocation principle, edge node resources corresponding to the data request to the client includes:
dividing edge node resources into a preset number of edge node area resources based on the position information of the edge node resources;
distributing the edge node area resources corresponding to the data request to the client according to a nearby distribution principle based on the position relation between the edge node area resources and the client;
wherein, the dividing the edge node resource into a preset number of edge node zone resources based on the position of the edge node resource comprises:
dividing the edge node resources into first edge node zone resources, second edge node zone resources and third edge node zone resources based on the positions of the edge node resources, wherein the regional ranges of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources all comprise the positions of the clients, and the regional ranges are sequentially increased;
the allocating, according to a near allocation principle, edge node area resources corresponding to the data request to the client includes:
and allocating the edge node zone resources corresponding to the data request to the client according to a near allocation principle and the sequence of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources.
2. The method of claim 1, wherein the determining whether the data request meets a predetermined hot requirement comprises:
acquiring the request number of the data request in a preset time period;
and judging whether the request number is greater than a preset number value, if so, judging that the data request meets the preset heat requirement, and if not, judging that the data request does not meet the preset heat requirement.
3. The method according to claim 2, wherein the obtaining the number of requests of the data request in a preset time period comprises:
and setting a plurality of statistical dimensions according to regions and operators, and acquiring the request number of the data requests in each statistical dimension in the preset time period.
4. The method of claim 1, further comprising:
and counting the edge node resources according to a preset time interval.
5. The method of claim 1, wherein after allocating the edge node resource corresponding to the data request to the client, further comprising:
and updating the data information of the edge node resource.
6. A data distribution system, comprising:
the first receiving module is used for receiving a data request sent by a client;
the first judgment module is used for judging whether the data request meets the preset heat requirement or not;
the first allocation module is used for allocating edge node resources corresponding to the data request to the client according to a nearby allocation principle when the first judgment module judges that the data request meets the preset heat requirement, so that the client can obtain corresponding data through the edge node resources;
wherein the first distribution module comprises:
the first dividing module is used for dividing the edge node resources into a preset number of edge node area resources based on the position information of the edge node resources;
the second allocation submodule is used for allocating the edge node area resources corresponding to the data request to the client according to a nearby allocation principle based on the position relation between the edge node area resources and the client;
wherein the first molecular division module comprises:
a first dividing unit, configured to divide an edge node resource into a first edge node zone resource, a second edge node zone resource, and a third edge node zone resource based on a location of the edge node resource, where the region ranges of the first edge node zone resource, the second edge node zone resource, and the third edge node zone resource all include the location of the client, and the region ranges are sequentially increased;
the second allocation sub-module includes:
and the first allocation unit is used for allocating the edge node zone resources corresponding to the data request to the client according to a near allocation principle and the sequence allocation sequence of the first edge node zone resources, the second edge node zone resources and the third edge node zone resources.
7. A data distribution apparatus, characterized in that the apparatus comprises a memory and a processor, the memory having stored thereon a data distribution program operable on the processor, the data distribution program, when executed by the processor, implementing the method according to any one of claims 1 to 5.
8. The apparatus of claim 7, wherein the apparatus is a node constituting a CDN network or a blockchain network.
9. A computer-readable storage medium having stored thereon a data distribution program executable by one or more processors to implement the data distribution method of any one of claims 1 to 5.
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 CN110290399A (en) 2019-09-27
CN110290399B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839069B (en) * 2019-11-04 2021-09-24 深圳市网心科技有限公司 Node data deployment method, node data deployment system and medium
CN111614968B (en) * 2020-05-11 2021-12-17 厦门潭宏信息科技有限公司 Live broadcast method, equipment and 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

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

Also Published As

Publication number Publication date
CN110290399A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN110290399B (en) Data distribution method, system, device and computer readable storage medium
JP7127010B2 (en) Resource allocation methods, apparatus, electronic equipment, computer readable media and computer programs
CN109327550B (en) Access request distribution method and device, storage medium and computer equipment
CN111800506B (en) Edge computing node deployment method and related device
CN110519183B (en) Node speed limiting method and device, electronic equipment and storage medium
CN109495542B (en) Load distribution method based on performance monitoring and terminal equipment
CN109960575B (en) Computing capacity sharing method, system and related equipment
EP3293969A1 (en) Method of terminal-based conference load-balancing, and device and system utilizing same
CN111131841A (en) Live indirect access method and device, electronic equipment and storage medium
CN112395075A (en) Resource processing method and device and resource scheduling system
CN110336888B (en) Server distribution method, device, system and medium
CN110290009B (en) Data scheduling method and device and computer readable storage medium
CN111142799A (en) Distributed storage method and device, network node and storage medium
CN115237589A (en) SR-IOV-based virtualization method, device and equipment
CN111901490A (en) Resource sharing method, device, computer device and storage medium
CN117170882B (en) Resource allocation method and device, electronic equipment and storage medium
TWI639088B (en) Method, system and non-transitory computer readable medium for rack space power utilization
US9077768B2 (en) Method and system for providing digital contents in a network environment
CN111858035A (en) FPGA equipment allocation method, device, equipment and storage medium
CN110457925B (en) Application data isolation method and device in internal and external storage, terminal and storage medium
CN110891033B (en) Network resource processing method, device, gateway, controller and storage medium
CN110020290B (en) Webpage resource caching method and device, storage medium and electronic device
CN110769272A (en) Node adjusting method and related equipment thereof
CN107426114B (en) Resource allocation method and system
CN113722729B (en) Authority management method, device, terminal, server and storage medium

Legal Events

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