Inside [Technical] system layer

Within the system layer

The so-called "layer", "community", "field", "collection", these words actually trying to express the structure and motion picture material system of rules, these words are different from the inventor of the same law observation, found expression. Whether someone is a software system to imagine how the layers, it is worth explicitly raised with so several layers of miners in the open source system: pattern data layer, data collection layer, object layer.

Data pattern layer

NTMinerDataSchemas program source is centralized data model. The so-called data pattern, which is a description of the data structure; called data structure, which is a spatial structure; the so-called spatial structures, it was a branch, the relative position and length of the branches in the branch carrying the system information. Here named data pattern (DataSchema) implies the concept of "relation", the data pattern from the data pattern layer is composed of basic data types; the so-called basic data types, a data pattern that the computer is running. Each data pattern NTMinerDataSchema layer pattern composed by the basic data, the absence of a non-data pattern consisting of pattern data base, also could say: if a data pattern of another reference pattern data, it refers to another data pattern the patterns of expression of certain data by identifying a data pattern held by the other types of data records, and the identification data pattern is the basic type.

Data collection layer

Data mode is data specifications, data collection of the same size is composed of a set of data. Data set from the data layer is composed of a different pattern of different types of data sets. This layer is formed in the source code named as *** Set, such ICoinSet.

Object Layer

If the data model and data collection layer is close to the level of the computer, then the object layer is close to the human layer. Objects and data objects in the main difference is that the data on the basis of increased congestion behavior and the relationship. The relationship congestion What does it mean? The expression pattern of the data layer, we know from the basic type of data patterns is composed of a reference pattern model of another type of data held by the data type identifier basic expression, hyperemia means an object increasing the non-basic types of attributes data base, increase the values ​​of the properties is generally non-basic types obtained from the lookup from the data set corresponding to the type of data based on the identification holder. The reason why people object layer is a layer close to the world because people see things (interface) is the direct expression of this layer of graphical objects (computers originally graphical, graphically express the computer world is very direct, Instead, like linux world with a string expression as the computer it is beat around the bush Thus it was that linux philosophy beginning is wrong as unlikely to succeed as the windows facing the masses). This layer in the code name of the form *** ViewModel, such CoinViewModel.

The relationship between the layers of

I do not know how others imagine the shape layer, layer in my mind is the relationship between inclusion and contained spherical layer wrapped in a layer of collection. The closer the inner layer closer to the computer, the more people close to the outer layer closer look standing out computer inner layer comprises an outer layer, see person standing outer layer comprises an inner layer outward.

 

Open source miners: https://ntminer.com

Guess you like

Origin www.cnblogs.com/ntminer/p/12235766.html