Configuration loading method and device

A technology of configuration information and structure configuration, applied in the field of data processing, to achieve the effect of simplifying loading, avoiding restart, and quickly loading configuration

Inactive Publication Date: 2018-01-05
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a configuration loading method and device, the main purpose of which is that the loading of existing configuration files or databases requires restarting the service or reloading the configuration to make the service re-initialize the configuration when the configuration changes.

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
  • Configuration loading method and device
  • Configuration loading method and device
  • Configuration loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] The embodiment of the present invention provides a configuration loading method, such as figure 1 As shown, the method includes:

[0053] 101. Access shared memory through a service process.

[0054]Wherein, in the shared memory, there are associated structures with different configuration information shared, the service process is a dedicated process for performing business, and the shared memory is a part of memory that c...

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 configuration loading method and device, and relates to the technical field of data processing. The main purpose is to solve the problems that loading of an existing configuration file or database occurs when configuration changes, service needs to be restarted, or configuration reloading is needed, so that the configuration structure is reinitialized by the service. Themain technical scheme comprises the steps that shared memory is accessed through the service process, wherein different associative structures of configuration information are shared in the shared memory; the associative structure of the configuration information corresponding to the service process is searched for from the shared memory; the associative structure of the configuration informationis loaded to the service process. The configuration loading method and device are mainly used for loading configuration.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a configuration loading method and device. Background technique [0002] With the rapid development of the big data era, the data processing requirements of different types of businesses are also changing rapidly. Therefore, when developing applications or software codes that process business data, it is inevitable to use configuration files or databases to load configurations. [0003] At present, the existing configuration can be written in a file. When the service starts, the configuration file is directly loaded or the configuration is extracted from the database. When the configuration file or database is loaded, the service needs to be restarted or reloaded when the configuration changes. The configuration makes the service re-initialize the configuration, increases the execution burden of the service, takes a long time to load, and reduces the loading efficiency of...

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): G06F9/445G06F9/44
Inventor 王强谢计涛林龙李建方
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products