Method and device for quickly loading configuration files with multiple threads

A configuration file and multi-threading technology, applied in the field of network communication, can solve problems such as insufficient utilization of system resources, achieve the effect of improving startup speed and system resource utilization, and shortening time
CN103246537BInactive Publication Date: 2017-06-06OPZOON TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
OPZOON TECH
Publication Date
2017-06-06
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a method and a device for quickly loading configuration files by multiple threads. The method includes steps of S1, initializing a configuration issuing array and a finishing tab; S2, analyzing the configuration files one by one and storing issued data acquired by analyzing into the configuration issuing array; and S3, acquiring the stored issued data in the configuration issuing array by a plurality of command issuing threads in a lock manner and generating system using data by the acquired issuing data, and completing configuration loading of the system when the configuration issuing array is empty and the finishing tap is 1. By the method and the device for quickly loading configuration files by multiple threads, system configuration loading time is greatly shortened, starting speed of the device and system resource utilization rate are increased.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of network communication, in particular to a method and device for quickly loading configuration files with multiple threads. Background technique

[0002] In security devices, bootloading configuration is a necessary item, and the traditional loading method is a thread for loading. For configuration files with tens of thousands of configuration items in actual applications, it takes too long for the device to actually load the configuration files. At present, multi-core technology has been widely used, and the traditional single-thread loading configuration method cannot make full use of system resources. Contents of the invention

[0003] (1) Solved technical problems

[0004] The technical problem solved by the present invention is to provide a method and device for quickly loading configuration files by multithreading, so as to quickly load configuration files and make full use of system resources. ...

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