Site deployment method and terminal
A site, distributed storage technology, applied in the Internet field, can solve problems such as site failure, inability to access all services of the site, unavailability, etc., to achieve the effect of improving capability, improving availability, user capacity, and high availability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] A site deployment method, comprising the steps of:
[0054] S1. Obtain a template file and resource data, and generate a synchronization file according to the template file and resource data;
[0055] Specifically, the developer provides the template file corresponding to the scene for different scenes;
[0056] Before the acquisition of the template file and resource data, it also includes generating a copy of the resource data for each resource; the format of the resource data is a custom data format; that is, the resource data is defined by the developer in a data format, and will be The resource data is generated as a file in json format. If a resource is course information, then the details, title, etc. of each course will be generated into a file in json format; when updating the resource data, directly modify the resource data file;
[0057]Wherein, the update situation needs to be judged before the template file or the resource data is updated; it is judged whe...
Embodiment 2
[0067] The difference between this embodiment and Embodiment 1 is that how to access the distributed storage system is limited;
[0068] Please refer to figure 2 , the domain name includes a test domain name and an official domain name; the distributed storage system includes a test distributed storage system and an official distributed storage system;
[0069] The test domain name is resolved to the test distributed storage system server, so that users can access storage files through the test domain name, such as website pages; and testers can access the test distributed storage system according to the test domain name and carry out testing;
[0070] After the tester conducts the test, it is judged whether the test is passed, and if it is passed, the synchronization file is synchronized to the formal distributed storage system, and the formal domain name is generated; that is, the template file, the The above resource data and dynamic data files are synchronized to the of...
Embodiment 3
[0074] Please refer to image 3 , a site deployment terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, any one of Embodiment 1 or Embodiment 2 is implemented. Steps in the site deployment method described in the item.
[0075] To sum up, the site deployment method and terminal provided by the present invention only need to deploy the formal distributed storage system and the corresponding domain name access capability in the corresponding environment, and use the synchronization service to Template files and resource data are synchronized to the official distributed storage system, enabling users to access the website through the corresponding domain name; when a single resource needs to be added, modified or deleted, the synchronization service can be triggered through the message queue Push the updated resource data to the official distributed storage system;...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


