Unlock instant, AI-driven research and patent intelligence for your innovation.

File configuration method and device

A configuration method and file technology, applied in the direction of file system, file access structure, program control device, etc., can solve the problem of additional configuration of configuration files

Pending Publication Date: 2020-03-31
BEIJING GRIDSUM TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a file configuration method and device to at least solve the technical problem in the related art that the configuration file cannot be added within the set time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File configuration method and device
  • File configuration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0053] In the following embodiments, the configuration file of Nginx is used as the configuration file, and the configuration file is additionally configured, and the specific implementation manner is as follows.

[0054] Step 11. Switch to the folder where the Nginx configuration file is located in the server, write a configuration that needs to be loaded regularly in advance, and write in it, the domain name, port, mapped address, mapped original address, and the time when the configuration is expected to take effect ( Corresponding to the configuration effective time in the first embodiment above), and the time when the configuration is expected to be invalid (corresponding to the invalid configuration time in the first embodiment above).

[0055] The above step 11 corresponds to the operation performed in step S102 in the first embodiment above. Prepare for the subsequent automatic loading of configuration files by pre-setting the configuration files to be loaded at regula...

Embodiment 3

[0078] The units in the configuration device involved in the following embodiments may correspond to the steps in the first embodiment above, so as to realize the overload configuration of files. Detailed description will be given below.

[0079] figure 2 is a schematic diagram of another optional file configuration device according to an embodiment of the present invention, such as figure 2 As shown, the device may include: an acquisition unit 21, a detection unit 23, and a loading unit 25, wherein,

[0080] The obtaining unit 21 is configured to obtain a pre-loaded configuration file when the configuration start time arrives, wherein the pre-loaded configuration file is a pre-configured file that needs to be loaded periodically.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a file configuration method and a device. The method comprises the steps that when configuration onset time is up, obtaining a pre-loading configuration file, and the pre-loading configuration file is a pre-configured file needing to be loaded regularly; detecting a target configuration file, and the target configuration file is a file needing hot loading in the multiple configuration files; and loading the configuration data corresponding to the pre-loaded configuration file to the target position of the target configuration file so as to reload the target configuration file. According to the method and the device, the technical problem that the configuration file cannot be additionally configured within the set time in related technologies is solved.

Description

technical field [0001] The present invention relates to the technical field of file processing, in particular to a file configuration method and device. Background technique [0002] In related technologies, for file loading, especially adding configuration in the file, it is generally necessary to open its configuration file first, modify the file, and then reload its configuration or add its configuration again, such as for Nginx (a lightweight Quantitative web server / reverse proxy server and e-mail (IMAP / POP3) proxy server), it needs to formulate a configuration file when starting, and then add configuration, need to manually open the configuration file, and manually add configuration, It takes a long time to configure, and it is impossible to add the files to be added to the configuration file within the specified time, and it is also impossible to invalidate the added configuration within the specified time, that is, when the current Nginx configuration file is adding c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/13G06F9/445
CPCG06F9/44521
Inventor 付明宇
Owner BEIJING GRIDSUM TECH CO LTD