CN111556167A - Video CDN node instant capacity expansion method, capacity expansion virtual machine room and CND system - Google Patents
Video CDN node instant capacity expansion method, capacity expansion virtual machine room and CND system Download PDFInfo
- Publication number
- CN111556167A CN111556167A CN202010424993.0A CN202010424993A CN111556167A CN 111556167 A CN111556167 A CN 111556167A CN 202010424993 A CN202010424993 A CN 202010424993A CN 111556167 A CN111556167 A CN 111556167A
- Authority
- CN
- China
- Prior art keywords
- machine
- node
- user
- node machine
- capacity expansion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1031—Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- 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/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video CDN node instant capacity expansion method, a capacity expansion virtual machine room and a CND system, wherein the capacity expansion virtual machine room is determined and comprises a newly-added node machine and an existing node machine; when the dispatcher receives a user request, selecting a node machine from the capacity expansion virtual machine room; if the selected node machine is the existing node machine, the existing node machine is directly used for providing service for the user; and when the new node machine is selected, the scheduler selects the node machine from the machine room to be expanded again to provide service for the user, and meanwhile, the new node machine selected by the scheduler acquires files from the existing node machine to provide service for the user. When the invention expands the capacity of the node, the video does not need to be migrated, and the newly added node machine is available, thereby greatly reducing the operation and maintenance cost and the total resource cost and improving the capacity expansion efficiency.
Description
Technical Field
The invention relates to a CDN system, in particular to a video CDN node instant capacity expansion method, a capacity expansion virtual machine room and a CND system.
Background
And the CDN node of the mainstream video website adopts a Hash algorithm during resource positioning. For example, a company deploys 5 node machines in fair telecommunication to provide services at the same time, and when a user requests to play a video, the corresponding scheduling service selects one node machine to provide services for the user through a hash algorithm by using a feature value of the video (MD 5 value of a video file) as a keyword. When the disk space of 5 node machines for storing the video file is full, a new node machine is expanded, and the hash set is changed, so that the result of the hash algorithm is inconsistent with the actual position of video storage. At this time, the service is required to be suspended, the video file is migrated, and the service is provided after the result of the hash algorithm is consistent with the actual position of the video storage, so that the operation and maintenance cost and the overall resource cost are high.
Disclosure of Invention
The invention aims to solve the technical problem that in order to overcome the defects of the prior art, the invention provides a video CDN node instant capacity expansion method, a capacity expansion virtual machine room and a CND system.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: a video CDN node instant capacity expansion method comprises the following steps: determining a machine room to be expanded and a virtual machine room to be expanded, wherein the machine room to be expanded comprises an existing node machine; the capacity expansion virtual machine room comprises a newly-added node machine and an existing node machine; when the dispatcher receives a user request, selecting a node machine from the capacity expansion virtual machine room; if the selected node machine is the existing node machine, the existing node machine is directly used for providing service for the user; when the new node machine is selected, the scheduler selects the node machine from the machine room to be expanded again to provide service for the user, and meanwhile, the new node machine selected by the scheduler acquires files from the existing node machine to provide service for the user, so that the node machine is enabled when the node is expanded.
And the node machine in the machine room to be expanded regularly clears the expired files, so that the space availability of the node machine is ensured.
And when the dispatcher processes the playing request of the user, directly selecting the node machine from the capacity expansion machine room to provide service for the user.
Correspondingly, the invention provides a capacity expansion virtual machine room, which comprises:
the existing node machine is used for providing service for the user when receiving the scheduling request;
and the newly-added node machine is used for re-requesting the scheduling program when receiving the scheduling request, and acquiring the file from the existing node machine to provide service for the user.
The other method implementation process of the invention comprises the following steps: newly adding at least one node machine; when the newly added node machine receives the scheduling request, the scheduling program is requested again, and the file is acquired from the existing node machine to provide service for the user.
As an inventive concept, the present invention further provides a CDN system using the above capacity-expansion virtual machine room, where the capacity-expansion virtual machine room is coupled with a scheduler.
As an inventive concept, the present invention also provides a CDN system, which includes:
the scheduler is used for receiving the user request and selecting the corresponding node machine;
the node machine is used for judging whether a file requested by a user exists or not when receiving the request of the scheduler, and providing service for the user if the file requested by the user exists; and if the file does not exist, re-requesting the scheduling program, and acquiring the file from the node machine containing the file requested by the user to provide service for the user.
Compared with the prior art, the invention has the beneficial effects that: when the invention expands the capacity of the node, the video does not need to be migrated, and the newly added node machine is available, thereby greatly reducing the operation and maintenance cost and the total resource cost and improving the capacity expansion efficiency.
Drawings
Fig. 1 is a schematic diagram of a video scheduling process.
Detailed Description
The invention names the existing node machine as a machine room to be expanded, the newly added node machine and the existing node machine as an expansion virtual machine room, when a scheduling program processes a user playing request, the scheduling program is fixed in the machine room to be expanded to select one node machine to provide service for a user through a Hash algorithm, when a file does not exist (a new node machine), the node machine can request the scheduling program again, the scheduling program selects one node machine again in the machine room to be expanded through the Hash algorithm, and the new node machine can acquire the file from the old node machine and serve the user.
In the specific implementation process, the capacity expansion time point needs to be determined first, and operation and maintenance personnel can select the capacity expansion disk at any time point. Determining a machine room to be expanded, such as 1,2,3,4 and 5; determining a capacity expansion virtual machine room, such as 1,2,3,4,5, 6, 7 and 8; when requesting a URL, such as http:// disp.com/2017/08/23/BDA16493E80217E61B91EA2E6AB664D.mp4, the scheduler first selects the node machine from 1,2,3,4,5, 6, 7, 8. If the selection result is 1, directly providing service for the user, if the selected node machine is 6 (new node machine), the new node will request the scheduler again, and the scheduler selects the node machine from 1,2,3,4 and 5 again; if the selection result is 2, the node machine 6 acquires and caches the file from the node machine 1, and provides service for the user. The node machines 1,2,3,4 and 5 regularly clean expired files.
Specifically, this embodiment has improved a dilatation virtual machine room, includes: the existing node machine is used for providing service for the user when receiving the scheduling request; and the newly-added node machine is used for re-requesting the scheduling program when receiving the scheduling request, and acquiring the file from the existing node machine to provide service for the user.
And coupling the capacity expansion virtual machine room with the scheduler to form the CDN system.
The CDN system of the present invention specifically includes:
the scheduler is used for receiving the user request and selecting the corresponding node machine;
the node machine is used for judging whether a file requested by a user exists or not when receiving the request of the scheduler, and providing service for the user if the file requested by the user exists; and if the file does not exist, re-requesting the scheduling program, and acquiring the file from the node machine containing the file requested by the user to provide service for the user.
In the CDN system, once the capacity-expansion virtual machine room is configured, the capacity-expansion virtual machine room directly provides service for the user instead of directly providing service for the user.
Claims (7)
1. A video CDN node instant capacity expansion method is characterized by comprising the following steps: determining an expansion virtual machine room, wherein the expansion virtual machine room comprises a newly-added node machine and an existing node machine; when the dispatcher receives a user request, selecting a node machine from the capacity expansion virtual machine room; if the selected node machine is the existing node machine, the existing node machine is directly used for providing service for the user; and when the new node machine is selected, the scheduler selects the node machine from the machine room to be expanded again to provide service for the user, and meanwhile, the new node machine selected by the scheduler acquires files from the existing node machine to provide service for the user.
2. The video CDN node instant capacity expansion method of claim 1, wherein a node machine in the machine room to be expanded periodically cleans up expired files.
3. The video CDN node instant capacity expansion method of claim 1, wherein when a scheduler processes a play request of a user, a node machine is directly selected from a capacity expansion machine room to provide a service for the user; the machine room to be expanded comprises the existing node machines.
4. A video CDN node instant capacity expansion method is characterized by comprising the following steps: newly adding at least one node machine; when the newly added node machine receives the scheduling request, the scheduling program is requested again, and the file is acquired from the existing node machine to provide service for the user.
5. The utility model provides a dilatation virtual machine room which characterized in that includes:
the existing node machine is used for providing service for the user when receiving the scheduling request;
and the newly-added node machine is used for re-requesting the scheduling program when receiving the scheduling request, and acquiring the file from the existing node machine to provide service for the user.
6. A CDN system using the expanded virtual machine room of claim 4 wherein the expanded virtual machine room is coupled to the scheduler.
7. A CDN system, comprising:
the scheduler is used for receiving the user request and selecting the corresponding node machine;
the node machine is used for judging whether a file requested by a user exists or not when receiving the request of the scheduler, and providing service for the user if the file requested by the user exists; and if the file does not exist, re-requesting the scheduling program, and acquiring the file from the node machine containing the file requested by the user to provide service for the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010424993.0A CN111556167A (en) | 2020-05-19 | 2020-05-19 | Video CDN node instant capacity expansion method, capacity expansion virtual machine room and CND system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010424993.0A CN111556167A (en) | 2020-05-19 | 2020-05-19 | Video CDN node instant capacity expansion method, capacity expansion virtual machine room and CND system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111556167A true CN111556167A (en) | 2020-08-18 |
Family
ID=72004910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010424993.0A Pending CN111556167A (en) | 2020-05-19 | 2020-05-19 | Video CDN node instant capacity expansion method, capacity expansion virtual machine room and CND system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111556167A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150112706A1 (en) * | 2013-10-17 | 2015-04-23 | Ovuline, Inc. | System and Methods for Personal health Analytics Technical Field |
CN104580393A (en) * | 2014-12-18 | 2015-04-29 | 北京蓝汛通信技术有限责任公司 | Method and device for expanding server cluster system and server cluster system |
CN105933391A (en) * | 2016-04-11 | 2016-09-07 | 青岛海信传媒网络技术有限公司 | Node capacity expansion method, device and system |
CN110381134A (en) * | 2019-07-18 | 2019-10-25 | 湖南快乐阳光互动娱乐传媒有限公司 | Dispatching method, system, scheduler and CDN system |
-
2020
- 2020-05-19 CN CN202010424993.0A patent/CN111556167A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150112706A1 (en) * | 2013-10-17 | 2015-04-23 | Ovuline, Inc. | System and Methods for Personal health Analytics Technical Field |
CN104580393A (en) * | 2014-12-18 | 2015-04-29 | 北京蓝汛通信技术有限责任公司 | Method and device for expanding server cluster system and server cluster system |
CN105933391A (en) * | 2016-04-11 | 2016-09-07 | 青岛海信传媒网络技术有限公司 | Node capacity expansion method, device and system |
CN110381134A (en) * | 2019-07-18 | 2019-10-25 | 湖南快乐阳光互动娱乐传媒有限公司 | Dispatching method, system, scheduler and CDN system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107315761B (en) | Data updating method, data query method and device | |
CN110134723A (en) | A kind of method and database of storing data | |
CN106254561B (en) | real-time off-line downloading method and system for network resource file | |
BR112014000597B1 (en) | METHOD AND SYSTEM FOR DOWNLOADING A MULTIMEDIA FILE | |
CN101673298A (en) | Video data distributed caching method in video on demand | |
CN104702625A (en) | Method and device for scheduling access request in CDN (Content Delivery Network) | |
CN104967873A (en) | Streaming live scheduling method, system and scheduling server | |
CN111475575A (en) | Data synchronization method and device based on block chain and computer readable storage medium | |
CN107948004A (en) | A kind of video CD N transfers optimization method and device | |
TW201248418A (en) | Distributed caching and cache analysis | |
CN106789956B (en) | A kind of P2P order method and system based on HLS | |
CN104410511B (en) | A kind of server management method and system | |
CN103595736B (en) | Access request treating method and apparatus in video monitoring system | |
US20130232208A1 (en) | Method and device for updating messages | |
CN112732528B (en) | Index acquisition method, system, equipment and storage medium based on IT operation and maintenance monitoring | |
EP2237528A1 (en) | Method for listing content in a network | |
CN102360297B (en) | Method for loading on-line application | |
CN111669629A (en) | Video CDN node instant capacity expansion method, scheduler and CND storage system | |
CN111556167A (en) | Video CDN node instant capacity expansion method, capacity expansion virtual machine room and CND system | |
CN101833585A (en) | Database server operation control system, method and device | |
CN106815334A (en) | A kind of data query method and device for terminal | |
TW201445987A (en) | Transmitting information based on reading speed | |
CN115460124B (en) | Method, device, equipment and storage medium for optimizing transmission link across machine room | |
CN108874319A (en) | A kind of metadata updates method, apparatus, equipment and readable storage medium storing program for executing | |
CN105847894A (en) | Method for playing multimedia file at fixed time, terminal, server and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200818 |