Attribute loading method and system

A technology of attributes and attribute values, which is applied in the field of attribute loading methods and systems, can solve the problems of inability to dynamically change attribute values, increase complexity and cost, and write a large number of codes, so as to improve application convenience and reduce complexity and cost , the effect of reducing resource consumption

Active Publication Date: 2014-06-04
NEW SINGULARITY INT TECHN DEV
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the former mode, the advantage is that it is convenient and does not require manual coding by developers, but it cannot achieve the purpose of dynamically changing attribu

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
  • Attribute loading method and system
  • Attribute loading method and system
  • Attribute loading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0036] The present invention provides an attribute loading method, such as figure 1 As shown, it includes the following steps:

[0037] S1: source of abstract attribute value, wherein the source of abstract attribute value is to determine whether the attribute value is a dynamic attribute source or a static attribute source, if it is a dynamic attribute source, then enter step S2, if it is a static attribute source, then judge whether the attribute value has been Exist, if not exist, then enter step S3, if exist, then exit;

[0038] S2...

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 an attribute loading method and system. The method comprises the steps of abstracting the source of an attribute value; executing the second step if the source is a dynamic attribute source; judging whether the attribute value exists locally if the source is a static attribute source, and executing the third step if the attribute value does not exist locally; conducting state checking on an attribute file corresponding to the attribute value regularly, returning to the first step if it is found out that no modification is made after the attribute file is compared with historical records, and executing the third step if it is found out that modification is made after the attribute file is compared with the historical records; conducting conversion on the data type of the attribute file according to a forced agreement; loading the converted attribute file. According to the attribute loading method, convenient configuration of dynamic attributes can be realized without much coding work, and complexity and cost can be reduced on the premise that application convenience is improved. According to the attribute loading method and system, the attribute value can be updated dynamically during operation, static attribute loading can be conducted, and conversion from a dynamic state to a static state can be achieved without code modification.

Description

technical field [0001] The invention relates to the technical field of JAVA application development, in particular to an attribute loading method and system capable of timely reflecting the updating needs of an external system on an attribute file. Background technique [0002] In the system developed by using JAVA technology, when the property of the application system is set to be configurable, the value of the property is written into the property file / configuration file, and the value of these properties can be changed in the property file / configuration file. These properties are therefore called dynamic properties. In a real system, the property file inside a system is likely to be maintained by an external system, so the update of the property file by the external system needs to be reflected in time, which is the requirement of dynamic properties. [0003] In the existing conventional property file development, there are generally two modes, one is the static mode, w...

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/44
Inventor 于建军
Owner NEW SINGULARITY INT TECHN DEV
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