Method for realizing distributed storage in hotel intranet environment
A distributed storage and intranet technology, applied in the computer field, can solve problems such as underutilization, traffic costs, and increased operating costs, and achieve the effects of reducing operating costs, reducing costs, and reducing access
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0077] Please refer to figure 1 , the present invention provides a method for realizing distributed storage in a hotel intranet environment, comprising the following steps:
[0078] First of all, since not all TV devices in the hotel are turned on, it is hoped that the files are distributed on each device as evenly as possible, and a consistent hash (Consistent Hash) algorithm is used to achieve this.
[0079] For each file, a file object is generated. The attributes of the file object include: file identifier (such as file id), file size, Url (such as Url on OSS), and the downloaded flag.
[0080] For each device, generate a node object. The properties of the node object include: node identifier (such as using Mac address, etc.), node IP, and file object list.
[0081] S1. Organize nodes and construct a hash ring
[0082] According to the total file size and the estimated available space of the TV terminal, the number n of terminals required for one storage allocation (fo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


