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

Application information configuration method and device

A technology of application information and application configuration, applied in the direction of program control devices, computer security devices, program control design, etc., can solve problems such as insecurity and easy leakage of sensitive information, and achieve the effect of improving security and solving easy leakage

Pending Publication Date: 2020-10-30
HAIER YOUJIA INTELLIGENT TECH BEIJING CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a method and device for configuring application information to at least solve the problem of insecurity caused by easy disclosure of sensitive information in configuration files of application programs in the related art

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
  • Application information configuration method and device
  • Application information configuration method and device
  • Application information configuration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] In this embodiment, a method for configuring application information is provided, figure 1 is a flowchart of a method for configuring application information according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0026] Step S102, the framework program locates the corresponding confidential configuration file according to the user type, wherein the user type includes one of the following: production user, ordinary user;

[0027] Step S104, the framework program obtains the sensitive information identification of the application configuration from the application configuration file of the target application to be started;

[0028] Step S106, the framework program obtains the configuration item corresponding to the sensitive information identifier from the confidential configuration file, and exports the configuration item as an environment variable of the target application program;

[0029] Step S108...

Embodiment 2

[0045] In this embodiment, an application information configuration device is also provided, which is used to implement the above embodiments and preferred implementation modes, and those that have been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0046] image 3 is a structural block diagram of an application information configuration device according to an optional embodiment of the present invention, such as image 3 As shown, the device includes a positioning module 10 , a first acquiring module 20 , a second acquiring module 30 and a starting module 40 .

[0047] The positioning module 10 is configured to locate the corresponding confidential configurat...

Embodiment 3

[0053] In order to facilitate the understanding of the technical solutions provided by the present invention, the following will describe in detail in conjunction with embodiments of specific scenarios.

[0054] For the same application that needs to configure sensitive information (such as account password), it may run in different environments, such as development environment and production environment. And in different environments, the account information of the external service used by the application is different. Even in the development environment, the account and password information of external services used by different users are different.

[0055] Related technical solutions mostly use a centralized configuration server, such as apollo, where all information such as account passwords is stored on the central server, and applications use configurations in different environments by passing different startup parameters.

[0056] Using a centralized configuration ser...

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 provides an application information configuration method and device, and the method comprises the steps that a frame program locates a corresponding confidential configuration file according to a user type, and the user type comprises one of a production user and a common user; the framework program acquires a sensitive information identifier of application configuration from an application configuration file of a to-be-started target application program; the framework program acquires a configuration item corresponding to the sensitive information identifier from the confidential configuration file, and exports the configuration item as an environment variable of the target application program; and the framework program starts the target application program according to theapplication configuration file and transmits the environment variable to the target application program. According to the invention, different confidential configuration files are positioned by the framework program to transmit the sensitive information to the application program, so that the effect of improving the security of the application information is achieved.

Description

technical field [0001] The present invention relates to the field of application configuration, in particular to a method and device for configuring application information. Background technique [0002] Many applications need to configure some sensitive information, such as database link address and port, user name, password, etc. The practice in the prior art is to write these information into the configuration file of the program. But this method has big problems in terms of security and ease of use. First of all, anyone who has access to programs and codes can see these sensitive information, which is very unsafe. Secondly, when the development environment and the production environment are running, if the information is different, the program or configuration needs to be modified when the program goes online. Again, when multiple applications use the same account information, if the account information changes, the programs or configurations of all related applicatio...

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
IPC IPC(8): G06F9/445G06F21/62
CPCG06F9/4451G06F21/6245
Inventor 戚永峰
Owner HAIER YOUJIA INTELLIGENT TECH BEIJING CO LTD