[Turn] on DSSA-based architecture design and application software

Abstract 
  March last year, the company where I started State Grid Electric Power user information collection system project, I was appointed project leader. State Grid Electric Power user information collection system is part of the State Grid Corporation of strong and smart grid construction. As the company previously worked on similar information collection system for the South Network (mainly in Guangdong Province), and the company plans to strengthen and expand the power industry, I made use of technology to developing countries DSSA network information collection system to give companies leaders unanimously endorsed layer. 
  Due to obvious stages on the project function realization, I decided evolutionary way to achieve DSSA and complete applications development. First, carry out the original system, documentation and national electricity network information system functional specification analysis, complete DSSA; the second is the original system components to extract, as a core component of public resources; third is to strengthen the management of core resources, R & D engineers easy to find parts and expansion components.  
  After nearly a year of effort, finally completed the establishment of core resources company information collection system, also completed the State Grid Electric Power user information collection system project. 
[Text]  
  in March last year, the company where I started State Grid Electric Power user information collection system project, I was appointed project leader. State Grid Electric Power user information collection system is part of the State Grid Corporation of strong and smart grid construction. Guangdong Power Grid Corporation had developed metering system before marketing integration company, similar to the information collection system. 
  I analyze the functional specification functional specification metering system of integrated marketing Guangdong Power Grid Corporation and State Grid Electric Power user information collection system and found that in addition to their different communication protocols within the system, other functional requirements are substantially the same. The entire acquisition systems are divided into three layers to achieve, the master station level, and power acquisition terminal surface layer. Since the meter has been standardized, there is a special meter manufacturer, this layer does not need to invest resources in research and development. From the current status of the company point of view, the main station level R & D investment in less effort, first, to develop a modular master's doing better; the second is the user's needs are basically the same. State Grid information collection system only needs to be adjusted interface and support for the national network communication protocol information collection system in Guangdong Power Grid Corporation metering system integrated marketing master to meet the requirements. 
  According to previous experience developed, focusing on the development of the information collection system is the development of Integrated Acquisition. Because collection terminal needs to be installed on-site, on-site electricity and different environment, can reach different remote channel. Low collection terminal serviceability, or low reliability, it will produce a lot of maintenance work, affect the company's brand and profits. The requested information collection system, the collection terminal into concentrated reading terminal, and well-designed collection terminal variable transformer acquisition terminal. Acquisition terminal generally integrated metering system marketing company Guangdong power grid into the three types: low pressure meter reading terminal, load management terminal, distribution transformer monitoring terminal. By the function of the requirements of the collection terminal analysis, it can be seen that they belong to a family of products. I propose the use of technology DSSA collection terminal product development, the establishment of company information collection system resources in the core project team kick-off meeting, while the collection terminal integrated marketing measurement system also comes down to the product family. 
  As we all know, DSSA (domain-specific software architecture) is to support the development and application of a group in a particular problem domain, these applications form a family. DSSA is a means of software reuse, which consists of domain model, reference needs to reuse elements of the composition of the reference architecture. 
  Each terminal information collection system are basic requirements for meter reading or measured external collection point, to the master station end Acquisition System GPRS / CDMA channels transmitted by the remote slightly after the treatment. Collection terminal function module generally comprises a measurement point acquisition module, meter module specifications, fieldbus modules, PPP dial-module, the master command module, the local maintenance module, program upgrade module, data storage module, AC sampling module, load control module Wait. 
  Since the acquisition terminals used in the field of particularity, it is non-functional requirements focused on reliability, and ease of modification. Field complex electrical environment, different channel, requires collection terminal with high reliability. Due to different power meter support available on the market and the Statute of the fieldbus rapid development, requirements collection terminal scalable, fast support new meter Statute and field bus, and supports remote upgrade. Because mostly be installed by the engineering team at the construction site, the quality of the project team personnel at different heights, requires a certain intelligence collection terminal in local operation, and requires simple debugging.  
  Based on the above analysis, a layered software architecture collection terminal suitable design. Hierarchical design software modification and scalability better. Due to the development of stratified, the layers to the separation of concerns, the complexity of the system assigned to the respective layers, the respective reliability can be improved. 
Research and development in information collection system, I decided to use evolutionary approach to development.  
  First, the original system, documentation and national electricity network information system to analyze functional specifications, complete DSSA. In the project initiation stage, I analyze the metering integrated marketing system and user requirements documents and design documents, the user needs to use EXCEL list form. Then the functional specification for country network information collection system is analyzed, needs of the user are listed in the same way, after the demand for discovery ratio between them is substantially the same requirement. However, due to different communication protocols, will lead to some differences in the functions implemented, such as the main terminal from the connection function, information collection system uses a command to complete all communications from the master terminal, and the metering built into the integrated system marketing chain transmission , chain scission three command. So I decided to make universal basic service module module, depending on the parameter initialization module, or each product its own specific adaptation module. According to this demand, I conducted hierarchical design of core resources. 
  Overall, the core resources divided into three layers, from low to high are: basic resource layer, business layer base, expand the business layer. It includes a plurality of process resources base layer frame, the GUI system, a drive system and API package, a virtual channel module and the like. Since the acquisition of the terminal operating system is LINUX, and more communication port resources, using a process management a communication port, a single management easy to maintain, thus providing a framework for multi-process, when the process of increasing the convenience of application development. And a drive system API encapsulation facilitate transplant after code. Basic service layer mainly comprising respective functional modules based information collection system, the fieldbus module, meter module specifications, measurement point acquisition module, sampling module AC load control module and the like. Extended service business layer mainly base layer and the parameters of each module is adapted to suit the needs of the system. Under the current circumstances, the main business expansion layer metering system components integrated marketing packages and the national network information collection system components package. 
  Secondly, the original system components to extract, as a core component of public resources. Integrated Marketing acquisition terminal metering system when developing since no component technology, the functional modules and application layer coupled strong need to decouple the application layer in extracting the common components. Each has a corresponding specific function of the control parameters and the control parameters can be commanded by the master module for reading and writing the control parameter managing module made intermediary model, to achieve good decoupling of each functional module. The PPP dial module, and dial-up parameters of the application layer, read and write commands are coupled together, through the parameter management module commands the master module and the decoupling module PPP dial. 
  In the process of collection terminals integrated marketing system for metering the extraction means, extracting a part of each completed, the terminal software system for the original acquisition is reconstructed and complete integration testing and validation testing. This can always keep the original collection terminal end software system is effective, the first authentication means has become the product. 
  Finally, strengthen the management of core resources, facilitate the expansion of R & D engineers to find parts and components. To the late development of common components, the core repository slowly increased recently, and because many of the basic components parametric and functional extensions expand the business layer, many parts are little differences in the identity and function, there has been little confuse the issue. In order to better manage, I set up a server WIKI, WIKI servers using Component Manager, the identification of the components, different functions, interfaces and related components, etc. are described on the WIKI server. R & D engineers enter the relevant keywords to find components and detailed description of each component matching, facilitate R & D engineers. 
  With the establishment of core repository of information collection system, functional national network of information collection system project gradually perfected. Collection terminal software system in August this year by the State Grid Electric Power Research Institute's full-function testing, which is an exciting good news for all project team members, shows that our efforts have been recognized.

Guess you like

Origin www.cnblogs.com/nerd/p/11506291.html