Method and device for realizing annotation type configuration

An annotation and remote configuration technology, applied in the computer field, can solve the problem of high intrusiveness of remote configuration information logic business

Pending Publication Date: 2020-02-14
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiments of the present invention provide a method and device for implementing annotation configuration, which can solve t

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
  • Method and device for realizing annotation type configuration
  • Method and device for realizing annotation type configuration
  • Method and device for realizing annotation type configuration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0039] figure 1 is a schematic diagram of the main flow of a method for implementing annotation configuration according to an embodiment of the present invention, and the method for implementing annotation configuration may include:

[0040] Step S101, read the configuration file to realize the environment setting.

[0041] Step S102, creating a component factory class a...

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 method and a device for realizing annotation type configuration, and relates to the technical field of computers. A specific embodiment of the method comprises the followingsteps: reading a configuration file to realize environment setting; creating a component factory class, and adding a component definition; executing the container postprocessor, and then synchronizingthe configuration information; and creating component objects. According to the embodiment, the problems of conversion errors from the character string to the program type and high business invasiveness caused by acquisition of the remote configuration information logic can be solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for realizing annotation configuration. Background technique [0002] Currently, most application systems require some configuration information. For example, the setting of the business logic threshold (the amount of orders that a single user is allowed to place in a day), and the setting of some switches (whether to follow the risk control logic). This kind of information is usually stored in zookeeper (distributed, open source distributed application coordination service) or self-implemented configuration service center, using passive notification or active polling to obtain remote values ​​(both strings form), and then converted to the data type required by the program (Integer, Boolean, Date, etc.) and then cached locally (for example: in a static variable in the JVM). [0003] In the course of realizing the present invention, the inventor fin...

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): G06F8/71G06F8/73
CPCG06F8/71G06F8/73
Inventor 杨立昆
Owner BEIJING JINGDONG SHANGKE INFORMATION 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