[go: up one dir, main page]

CN115034095A - Sensitive state research and development simulation system - Google Patents

Sensitive state research and development simulation system Download PDF

Info

Publication number
CN115034095A
CN115034095A CN202210953966.1A CN202210953966A CN115034095A CN 115034095 A CN115034095 A CN 115034095A CN 202210953966 A CN202210953966 A CN 202210953966A CN 115034095 A CN115034095 A CN 115034095A
Authority
CN
China
Prior art keywords
library
environment
test
development
research
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210953966.1A
Other languages
Chinese (zh)
Other versions
CN115034095B (en
Inventor
夏飞
袁国泉
汤铭
李萌
单新文
王凌
杜元翰
沈力
刘子寒
奚梦婷
朱佳佳
陈欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd, State Grid Corp of China SGCC filed Critical Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Priority to CN202210953966.1A priority Critical patent/CN115034095B/en
Publication of CN115034095A publication Critical patent/CN115034095A/en
Application granted granted Critical
Publication of CN115034095B publication Critical patent/CN115034095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种敏态研发仿真系统,包括总部仿真子系统、子公司仿真子系统和研发单位仿真子系统;总部仿真子系统包括总部公共服务环境、总部验证培训环境、总部测试服务环境、一级代码库、一级依赖库和一级镜像库;子公司仿真子系统包括部署在子公司的子公司公共服务环境、子公司验证培训环境、子公司研发测试环境、二级代码库、二级依赖库和二级镜像库;研发单位仿真子系统包括部署在研发单位的单位公共服务环境、单位研发测试环境、二级代码库、二级依赖库和二级镜像库。本发明实现了在线研发、在线测试、在线发布等一体化、全流程、自动化,提升各类研发、协作、运维效能,实现对用户可见的持续、顺畅、高质量的交付。

Figure 202210953966

The invention discloses a sensitive research and development simulation system, comprising a headquarters simulation subsystem, a subsidiary company simulation subsystem and a research and development unit simulation subsystem; the headquarters simulation subsystem includes a headquarters public service environment, a headquarters verification training environment, a headquarters testing service environment, The first-level code base, the first-level dependency library and the first-level mirror library; the subsidiary simulation subsystem includes the subsidiary’s public service environment deployed in the subsidiary, the subsidiary’s verification and training environment, the subsidiary’s R&D test environment, the second-level code base, and the second-level code base. The first-level dependency library and the second-level mirror library; the R&D unit simulation subsystem includes the unit's public service environment, the unit's R&D test environment, the second-level code library, the second-level dependency library, and the second-level mirror library deployed in the R&D unit. The present invention realizes the integration, whole process and automation of online R&D, online testing, online publishing, etc., improves various R&D, collaboration, operation and maintenance efficiency, and realizes continuous, smooth and high-quality delivery visible to users.

Figure 202210953966

Description

Sensitive state research and development simulation system
Technical Field
The invention belongs to the technical field of software system research and development simulation, and particularly relates to a sensitive state research and development simulation system.
Background
With the development of software architecture, development thought and development tools, the architecture and functions of software are more and more complex, the development rhythm is faster and faster, and the problems that software development errors cannot be found in time, manual low-level errors often occur, team cooperation efficiency is low, repeated labor and the like exist in the traditional mode of development by developers, testing by testers and deployment by operation and maintenance personnel, so that software cannot be developed and delivered efficiently with high quality are caused.
The invention with the publication number of CN113296787 provides an online development and code hosting system based on a cloud platform and a practical method, and the online development and code hosting system based on the cloud platform is adopted to carry out auxiliary development of software, so that on one hand, the change and verification time of codes can be effectively reduced, and the software release period is accelerated; on the other hand, each function point of the software can be covered through automatic testing, so that the development quality of the software is ensured, and the development efficiency and the development quality of the software are improved. Due to automatic compiling and automatic deployment of the software, the release period of the software can be ensured to be shorter, the pertinence is stronger, and the recovery and preservation service of the environment is provided.
However, the foregoing technical solution is only suitable for code management on the small-scale research and development unit side, and is no longer suitable for large-scale multi-subject software system research and development with hierarchical arrangement. For the multi-subject research and development structure, the following problems generally exist in the current information system construction:
firstly, research and development environments are dispersed, lack of clouds and a middle platform full-stack type research and development test environment; currently, research and development units generally lack the research and development environment supported by full-stack components of cloud platforms and data platforms, and some research and development units can replace research and development with the same open-source components. However, the existing subsidiary cloud and data center components cannot be precisely matched, and a great number of problems exist in developing products. The research and development environment has the advantages of scattered units, non-intensification, high construction, operation and maintenance cost, lack of unified management and potential safety hazard. The whole process of the whole project does not realize online and global management and control, so that the project progress cannot be mastered in time, risks cannot be mastered in time, the research and development level and the research and development quality cannot be quantitatively analyzed, the project input workload cannot speak by using data, and the like.
Secondly, the development unit code and the dependency library are managed in a centralized mode to a low degree. Codes and dependency packages are managed in a scattered mode, and safety problems exist. And the unified public service environment and the supporting service are lacked, and the coordination cost is high. The public service system is not updated all the year around after being deployed and is inconsistent with the production environment, so that the system has more online defects; the problems of developing and three-party testing system version two leather, three-party testing and production system version two leather and the like exist.
Thirdly, the participation degree of the user in the whole process of research, development and test is low, and the user has no participation degree except the node type user test in the whole process of research, development and test; the method is lack of training related links, users cannot deeply research and develop testing links, and agile iteration modes according to requirements cannot be formed.
Fourthly, the three-party test deployment package is a package compiled and completed in a research and development unit, and the test environment of a three-party organization is manually deployed, so that the phenomenon that the real source code researched and developed is inconsistent with the source code sent and tested exists, two sheets of real system testing and research and development are caused, various problems cannot be found in time, and the operation safety hazard on the later-stage system is caused; three-party test standards and test tools are not integrated in the whole process from the research and development to the test of the project; third party's mechanism lacks basic environment such as cloud and data middlings platform, causes the test incomplete, causes the operation potential safety hazard of later stage system operation that goes on the line, perhaps does not possess the testing ability, can't in time develop the test. Third party testing for defects lacks an on-line real-time feedback approach.
Disclosure of Invention
The technical problem to be solved is as follows: the invention provides a sensitive research and development simulation system, which successfully solves the technical problems of inconsistent versions, low three-party test integration degree, low research and development quality, difficult multi-party coordination and the like, realizes integration, full flow and automation of application online research and development, online test, online release and the like, improves various research and development, cooperation and operation and maintenance efficiencies, and realizes the delivery of continuous, smooth, high-quality and effective values visible to users.
The technical scheme is as follows:
a kind of sensitive state research and development emulation system, the said sensitive state research and development emulation system includes the simulation subsystem of headquarter, simulation subsystem of subsidiary company and research and development unit simulation subsystem;
the headquarter simulation subsystem comprises a headquarter public service environment, a headquarter verification training environment, a headquarter testing service environment, a headquarter compiler, a primary code library, a primary dependency library and a primary mirror library, wherein the headquarter public service environment, the headquarter verification training environment, the headquarter testing service environment, the headquarter compiler, the primary code library, the primary dependency library and the primary mirror library are deployed in a headquarter main body; the sub-company simulation subsystem comprises a sub-company public service environment, a sub-company verification training environment, a sub-company research and development test environment, a sub-company compiler, a secondary code library, a secondary dependency library and a secondary mirror library, wherein the sub-company public service environment, the sub-company verification training environment, the sub-company research and development test environment, the sub-company compiler, the secondary code library, the secondary dependency library and the secondary mirror library are deployed in a sub-company level main body; the research and development unit simulation subsystem comprises a unit public service environment, a unit research and development test environment, a unit compiler, a secondary code library, a secondary dependency library and a secondary mirror library which are deployed in a research and development unit main body;
the headquarter public service environment is provided with a public service system common to all platforms, and the mirror image package of the public service system corresponding to the public service system loading request is sent to the subsidiary public service environment and the unit public environment according to the public service system loading request sent by the subsidiary public service environment and the unit public environment; the subsidiary company public service environment and the unit public environment are also provided with personalized public service systems which are only used locally;
data interaction channels are established between the primary mirror image library and all the secondary mirror image libraries, and the mirror image libraries are used for storing compiled program packages or mirror image packages of the research and development system; data interaction channels are established between the primary dependency library and all the secondary dependency libraries, and the dependency libraries are used for storing dependent component packages in the system development and compiling processes; data interaction channels are respectively established between the secondary code base of the research and development unit level main body and the primary code base and between the secondary code base of part of subsidiaries, and the code bases are used for storing system research and development codes;
for the research and development unit simulation subsystem, the secondary code library is used for storing codes to be verified; the unit compiler extracts the code to be verified and the corresponding dependency package component from the secondary code library and the secondary dependency library respectively, compiles and packages the code to the corresponding program package or the mirror package and pushes the program package or the mirror package to the secondary mirror library, the program package or the mirror package is issued to a unit research and development test environment through the secondary mirror library, a unit public service environment and a headquarter public service environment are called, and a third-party test tool is utilized to conduct research and development side test; if the tested codes are the self-built systems, the tested codes are submitted to a primary code library on line, if the tested codes are the self-built systems, the tested codes are submitted to a secondary code library of a subsidiary company on line, and compiling, mirror image package issuing, third-party testing and production issuing are sequentially performed on the tested codes by a headquarter simulation subsystem or a subsidiary simulation subsystem respectively so as to perform the deployment of the self-built systems or the deployment of the self-built systems.
Further, when the public service system deployed in the headquarter public service environment is updated, the headquarter public service environment generates a corresponding mirror image package according to the updating content, and the generated mirror image package is issued to the secondary mirror image library through the primary mirror image library, so that the subsidiary public service environment and the unit public service environment load the corresponding mirror image package from the secondary mirror image library, and the locally deployed public service system is synchronously updated.
Furthermore, a pulling module is embedded in the secondary dependency library and used for selecting corresponding dependency components from the primary dependency library from bottom to top to pull the corresponding dependency components to the secondary dependency library.
Furthermore, the research and development unit simulation subsystem is used for executing a research and development process; specifically, the development process comprises the following steps:
s1, carrying out system research and development in a unit research and development test environment by research and development personnel, calling an online third-party test tool in real time to carry out online scanning on codes in the research and development process, submitting the codes to a secondary code library online after the codes are modified completely according to scanning results, and triggering a unit compiler;
s2, the unit compiler pulls the submitted codes from the secondary code library, pulls the corresponding dependent components from the secondary dependent library, compiles and packages the codes, and pushes the generated program packages or mirror image packages to the corresponding secondary mirror image library;
s3, the secondary mirror image library distributes the received program package or mirror image package to a unit research and development test environment in real time;
and S4, in a unit research and development test environment, calling the test-related public service system in the headquarter public service environment and the unit public service environment, and carrying out an internal test and a group delivery test on line by using an online third-party test tool, wherein the internal test comprises a system function test, a performance test, a safety test and an integration test.
Further, the headquarter simulation subsystem executes a third-party test verification process of the unified system; specifically, the third-party test verification process of the system is established and comprises the following steps:
s5, the research and development unit simulation subsystem sends the codes of the system building system passing the test to a primary code library, and simultaneously submits third-party test application materials on line to trigger a headquarter compiler;
s6, the headquarter compiler pulls the submitted codes from the primary code library, pulls the corresponding dependent components from the primary dependent library, compiles and packages the codes, and pushes the generated program packages or mirror image packages of the unified system to the primary mirror image library;
s7, synchronizing a program package or a mirror package of the system in the primary mirror library to a headquarter simulation mirror library, distributing the program package or the mirror package to a headquarter verification training environment, and triggering an automatic testing process;
s8, in the headquarter verification training environment, calling a test-related public service system in the headquarter public service environment, and carrying out a third-party test of the integrated system on line by using an online third-party test tool in the headquarter test service environment; if the test is passed, triggering the automatic deployment process, and turning to the step S9, otherwise, returning the code to the simulation subsystem of the research and development unit, and ending the third-party test verification process;
and S9, in the headquarter verification training environment, deploying the system by calling the deployment related public service system in the headquarter public service environment to carry out online service verification, online drilling and online training.
Further, the automatic deployment process includes: identifying the deployment environment of the unified system:
when the system is simultaneously deployed in a headquarter production environment and a subsidiary company production environment, synchronizing a program package or a mirror package passing the test from a primary mirror library to a headquarter production mirror library, and then releasing the program package or the mirror package to the headquarter production environment by one key;
when the system is only deployed in the production environment of the subsidiary company, the program package or the mirror package passing the test is pushed from the primary mirror library to the secondary mirror library at the subsidiary company side, is synchronized to the simulation mirror library of the subsidiary company through the secondary mirror library, and is then distributed to the verification training environment of the subsidiary company, and meanwhile, the public service system of the public service environment of the subsidiary company and the public service system of the unit public service environment are called, the verification work of the system built at the subsidiary company side is carried out, and the verification work of the system built at the subsidiary company side only comprises the adaptability verification of the local environment; and after the verification is passed, synchronizing the integrated system program package or the mirror image package in the secondary mirror image library at the subsidiary side to the subsidiary production mirror image library, and then releasing the system program package or the mirror image package to the subsidiary production environment by one key.
Further, the sub-company simulation subsystem is also used for executing a third-party test verification process of the self-built system; specifically, the method comprises the following steps:
s10, the research and development unit simulation subsystem sends the codes of the self-built system passing the test to a secondary code base of the subsidiary company level main body to trigger a subsidiary company compiler;
s11, the subsidiary compiler pulls the submitted codes from the secondary code library of the subsidiary main body, pulls the corresponding dependent components from the secondary dependent library, compiles and packs the codes, and pushes the generated program package or mirror image package of the self-built system to the secondary mirror image library of the subsidiary main body;
s12, synchronizing a program package or a mirror package of a self-built system of a secondary mirror library of a subsidiary main body to a subsidiary simulation mirror library, and then distributing the program package or the mirror package to a subsidiary verification and training environment to trigger an automatic test flow;
s13, in the verification and training environment of the subsidiary company, calling a test-related public service system in the public service environment of the subsidiary company, and carrying out a third-party test of the self-built system on line by using an online third-party test tool in the test service environment of the subsidiary company; if the test is passed, triggering the automatic deployment process, and turning to the step S14, otherwise, returning the code to the simulation subsystem of the research and development unit, and ending the third-party test verification process;
and S14, in the subsidiary company verification training environment, carrying out online business verification, online drilling and online training work by calling the deployment related public service system in the subsidiary company public service environment, and deploying the self-built system.
Has the advantages that:
firstly, the agile research and development simulation system realizes online management and control by constructing a code library, a dependency library and a mirror library, and solves the problems of two editions of a research and development and three-party test system version and two editions of a three-party test and production system version.
Secondly, the agile state research and development simulation system realizes the service and online test of a three-party test tool, realizes the publicization and transparency of three-party test standards and test rules, realizes the integration and penetration of the three-party test into the whole system research and development process, shortens the later three-party test period and project construction period, and improves the research and development quality
Thirdly, the sensitive research and development simulation system ensures that the versions of the public service systems of all links are consistent by constructing the public service environment, solves the online defect caused by inconsistent public service versions of all links such as past research and development, testing and the like, solves the problems of high cost and matching cost of the past public service system construction and coordination communication, and also accelerates the research and development testing progress and efficiency to a certain extent.
Fourthly, the sensitive research and development simulation system combines the unified construction system and the self construction system, utilizes 5 environments of a research and development test environment, a public service environment, a test service environment, a verification training environment and a production environment, and 3 libraries of a code library, a dependency library and a mirror library to support the research, development, test and deployment full-flow work, and realizes the high-efficiency management of the overall full flow of multi-body and multi-level software development.
Drawings
Fig. 1 is a schematic structural diagram of a dynamic research and development simulation system according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a code library, a dependency library, and a mirror library according to an embodiment of the present invention.
Detailed Description
The following examples are presented to enable one of ordinary skill in the art to more fully understand the present invention and are not intended to limit the invention in any way.
Fig. 1 is a schematic structural diagram of a dynamic research and development simulation system according to an embodiment of the present invention. Referring to fig. 1, the agile research and development simulation system includes a headquarter simulation subsystem, a subsidiary company simulation subsystem, and a research and development unit simulation subsystem.
The headquarter simulation subsystem comprises a headquarter public service environment, a headquarter verification training environment, a headquarter testing service environment, a headquarter compiler, a primary code library, a primary dependency library and a primary mirror library, wherein the headquarter public service environment, the headquarter verification training environment, the headquarter testing service environment, the headquarter compiler, the primary code library, the primary dependency library and the primary mirror library are deployed in a headquarter main body; the sub-company simulation subsystem comprises a sub-company public service environment, a sub-company verification training environment, a sub-company research and development test environment, a sub-company compiler, a secondary code library, a secondary dependency library and a secondary mirror library, wherein the sub-company public service environment is deployed in a sub-company; the research and development unit simulation subsystem comprises a unit public service environment, a unit research and development test environment, a unit compiler, a secondary code library, a secondary dependency library and a secondary mirror library which are deployed in a research and development unit.
A public service system common to all platforms is deployed in the headquarter public service environment and is used by the subsidiary public service environment and the unit public environment as required; and the subsidiary public service environment and the unit public environment are also provided with personalized public service systems which are only used locally according to needs.
Referring to fig. 2, data interaction channels are established between the primary mirror image library and all the secondary mirror image libraries, and the mirror image libraries (including the primary mirror image library and the secondary mirror image library) are used for storing program packages or mirror image packages of the compiled research and development system; data interaction channels are established between the primary dependency library and all the secondary dependency libraries, and the dependency libraries (including the primary dependency library and the secondary dependency library) are used for storing dependent component packages in the system development and compilation process; data interaction channels are respectively established between the secondary code base of the research and development unit and the primary code base and between the secondary code bases of part of subsidiaries, and the code bases (including the primary code base and the secondary code base) are used for storing system research and development codes. When the public service system deployed in the headquarter public service environment is updated, the headquarter public service environment uniformly provides corresponding mirror image packages, the mirror image packages are issued to the secondary mirror image library through the primary mirror image library, the subsidiary public service environment and the unit public service environment load the corresponding mirror image packages from the secondary mirror image library, and the locally deployed public service system is updated. The secondary dependency library is embedded with a pulling module, and the pulling module is used for selecting corresponding dependency components from the primary dependency library from bottom to top and pulling the corresponding dependency components to the secondary dependency library. For example, if no relevant dependent component is found in the secondary dependent library in the development process, the development unit side triggers the pull module to pull the required dependent component from the primary dependent library to the secondary dependent library from bottom to top.
In this embodiment, the headquarter level main body belongs to a first level hierarchy, the subsidiary company level main body belongs to a second level hierarchy, the research and development unit level main body belongs to a second-third level mixed level, the high-level main body can manage the low-level main body, the headquarter and the subsidiary company serve as higher-level main bodies, an independent communication network and various service environments can be established, the system further comprises a database, middleware components and the like, and the research and development unit is responsible for code development, integration and testing links. The headquarter level main body, the subsidiary company level main body and the research and development unit level main body are not obtained by dividing the administrative level, but are obtained by dividing the roles according to the software research and development functions; furthermore, in different departments within an enterprise, it is also possible to divide the three main bodies into a headquarter, a subsidiary company and a development unit, and this embodiment adopts this description mode only for the purpose of more intuitively understanding the relationship and functional responsibility between the three main bodies. Referring to fig. 1, the architecture of the dynamic research and development simulation system according to the embodiment of the present invention is as follows:
the main side (above figure 1) will construct the company public service environment, the verification training environment and the test service environment, and at the same time, will deploy the primary code library, the primary dependency library and the primary mirror library.
The research and development unit side (the lower left corner of fig. 1) is mainly a research and development unit level, and is responsible for software development, the development and development test environment and the public service environment are deployed, and meanwhile, a secondary code library, a secondary dependency library and a secondary mirror library are deployed.
On the side of a subsidiary company (the lower right corner of fig. 1), a public service environment, a verification training environment and a research and development test environment are deployed (the research and development test environment of the subsidiary company is used for supporting research and development of a self-built system, the subsidiary company is built as required, and if any one subsidiary company does not relate to self-built system service, the research and development test environment does not need to be deployed), and meanwhile, a secondary code library, a secondary dependency library and a secondary mirror image library are deployed.
According to actual research and development production requirements, the construction of two main bodies of a headquarter level and a subsidiary company level can include all environments, and most of the construction of research and development units only include research and development environments, test service environments and verification test environments. In fig. 1, headquarters, subsidiaries, and research and development units all have a common service environment, and the common service environments of the headquarters, the subsidiaries, and the research and development units are related but not necessarily the same. On the headquarter side, a headquarter public service environment is constructed, a common public service system is deployed in the headquarter public service environment, and the headquarter, the research and development unit and the subsidiary company are supported to be public. In the using process, the systems such as ISC, BPM and unified data exchange platform which have large mutual influence are used for the project groups with frequent operation (even the project groups directly operate the database sometimes), and the project groups can be sunk to the public service environment of the research and development unit side and the public service environment of the subsidiary company side for the research and development unit and the subsidiary company to use. The system is characterized in that a headquarter provides a mirror image package in a unified way, a public service environment at the subsidiary company side and a public service environment at the research and development unit side are loaded to be locally deployed for use through issuing of a primary mirror image library and a secondary mirror image library (as can be seen from the figure, the secondary mirror image library, the public service environment at the research and development unit side and the public service environment at the subsidiary company side are connected and represent that the public service environment at the research and development unit side and the public service environment at the subsidiary company side load the mirror images of the public service systems from the secondary mirror image library for deployment and use), so that the consistency of the versions of the public service systems of the whole network is ensured, and the research and development unit and the subsidiary company can load different public service systems according to the requirements of the research and development unit and the subsidiary company. In addition, personalized public service systems are also deployed in the subsidiary public service environment and the research and development unit public service environment for local use.
Next, the whole process work of developing system research, development, test and deployment by using a research, development and simulation environment is described in combination with the system built by itself and the system built by itself.
(I) System of building
The system is divided into 3 stages: the development stage, the three-party testing and verifying stage and the production release stage correspond to the processes 1-13 in the drawing 1 respectively, wherein the development stage corresponds to the processes 1-4, the three-party testing and verifying stage corresponds to the processes 5-9, and the release production stage corresponds to the processes 10-13.
1. In the development stage, on the lower left corner development unit side, the process mainly includes the steps 1-4.
In the process of research and development, the research and development personnel can call an online three-party test service in a test service environment in real time to perform online scanning on codes, submit the codes to a secondary code library of a unit online after the codes are modified completely according to a scanning result, and trigger a corresponding compiling tool.
And 2, after the compiling tool is triggered, automatically pulling the code which is submitted and compiled just now from the secondary code library, pulling the required dependency package component from the secondary dependency library, compiling and packaging the code, and pushing the program package (or the mirror image package) to the secondary mirror image library of the unit.
And 3, issuing the program package or the mirror image package which is just pushed to the secondary mirror image library to a research and development test environment.
And 4, in the research and development test environment, calling a public service environment (including a headquarter public service environment and a research and development unit public service environment) and utilizing the test service environment (such as the test service environment of the Chinese academy of electric sciences) to carry out system function test, performance test, safety test, integration test, group test and the like. Calling a public service environment public system to ensure that the public service system with the version consistent with that of the production environment is used for testing; the testing service environment is used, namely, a three-party testing tool is utilized, internal tests and group delivery tests are developed on line according to the three-party testing standards and testing rules which are publicized and transparent, and the later three-party testing period and the project construction period are shortened. For example, by calling 4 sets of public service environments such as unified authority service, unified exchange service, process management and monitoring service, information operation and maintenance comprehensive service and the like of the headquarter main body, the functions of authority authentication, data exchange and operation monitoring in the program release process are completed, and by using open source test tools such as Selenium and the like, the whole interface test and integrated test at the research and development side are developed, so that the automatic test and debugging web application are performed.
2. The three-party testing and verifying stage mainly includes the processes 5-9 on the upper portion side.
And 5, after the research and development test is passed, submitting the tested codes to a first-level code library on line by a research and development unit, simultaneously submitting third-party test application materials on line, carrying out third-party test application, and triggering a corresponding compiling tool.
And 6, the compiling tool pulls the codes which are just submitted to the primary code base by the research and development unit on line, pulls the required dependent package components from the primary dependent base, compiles and packs the codes, and pushes the program package or the mirror image package to the primary mirror image base of the headquarter.
And 7, synchronizing the program package or the mirror image package which is just pushed to the primary mirror image library to a headquarter simulation mirror image library (the Aliyun and Hua are owned by the cloud), and then distributing the program package or the mirror image package to a headquarter verification training environment.
And 8, in the verification training environment, calling a public system of the public service environment, and carrying out on-line third-party test work of the system (preset by a third-party test team) by using a three-party test tool served in the test service environment. And after the test is passed, triggering an automatic deployment flow, generating a corresponding deployment instruction according to a deployment design corresponding to the integrated system, and sending the deployment instruction to each object. For example, in the process 9, in the verification training environment, by calling the public service system in the public service environment, the business department can perform online business verification, the operator can perform online exercise, and the key user can perform online training, so that the business user can participate in the research and development process, and respond to the user demand swiftly.
If the three-party test fails, returning to the research and development unit for perfect modification, and confirming that no problem exists and then releasing the problem to the verification training environment to continue the three-party test.
In the process, the code submission, compiling and packaging, and program package or mirror package release are all carried out on line, and the whole compiling and releasing process is all automatic without personnel participation, so that the problem of 'developing and testing two versions of the system version by three parties' can be solved. Meanwhile, the internal test and the third-party test of the research and development unit are carried out by utilizing the test service environment, and the test tools, the standards and the rules are the same, so that the test period of the third party can be greatly shortened, and the test efficiency is improved.
3. The production and release stage mainly comprises processes 10-13 on the production environment side of headquarter and subsidiary company respectively.
And (10) after the third party test or the user verification test passes, if a first-level system (software deployed on a plurality of platforms including a headquarter main body and having the highest supervision level, including an information system including a national key information infrastructure, an information system having a great influence on the production and operation activities of a company, such as unified video platform software and the like) is established, a program package or a mirror package passing the test is firstly synchronized to a headquarter production mirror library (Aliyun, Hua is cloud owned) from the first-level mirror library, and then is released to a headquarter production environment.
And 11, if a secondary system (a general administration level main body and/or software on part of a subsidiary company level main body are deployed, the supervision level is medium, and the system comprises an information system which serves specific users of a company and has certain influence on the production and operation activities of the company, an information system which serves all employees of the company and directly influences the business operation of the company, and the like), the program packages or mirror packages which pass the test are pushed from the primary mirror image library to the subsidiary company secondary mirror image library.
And 12, synchronizing a newly received unified secondary system program package or mirror image package in the secondary mirror image library of the subsidiary company to the simulated mirror image library of the subsidiary company (owned by the Aliyun and Huacheng cloud), distributing to a verification training environment, calling a public service environment public system (comprising a company public service environment and a research and development unit public service environment) of a public service environment, and carrying out system verification work of the subsidiary company. Illustratively, the verification of the general-level system at the subsidiary side is only the adaptive verification of the local environment, and no three-party test is carried out, which is completed at headquarters.
And (13) after the verification of the verification training environment at the subsidiary company side passes, synchronizing a program package or a mirror image package of a built-up secondary system in a secondary mirror image library of the subsidiary company to a production mirror image library of the subsidiary company (self-owned by Aliyun, Hua cloud), and then releasing the program package or the mirror image package to the production environment of the subsidiary company by one key.
From the process, the program package or the mirror image package of the production environment is generated on line from the mirror image package and the program package which are passed by the third party test, the automatic deployment process of the production environment is free from manual intervention, and the problem of 'two sheets of versions of the three-party test and the production system' is solved.
(II) self-building system
The self-building system process comprises processes 1-4 and processes 15-19, wherein the processes 1-4 are mainly research and development test contents of research and development units, and are consistent with the contents and processes of the processes 1-4 of the system process, and are not described again. The following mainly describes the processes 15-19, namely, after the research and development team completes the research and development test of the self-built system, the code is submitted on line and reported. The self-building system is other information systems except a main building primary system and a main building secondary system, is usually not deployed on a headquarter level overall and is only deployed on a software system on a part of subsidiary company platforms, and has the lowest supervision level.
And 15, after the research and development unit finishes the research and development test of the self-built system of the subsidiary company, submitting the codes to a secondary code base of the subsidiary company and triggering a corresponding compiling tool.
And 16, the compiling tool pulls the self-built system code which is just submitted from the secondary code library of the subsidiary company, pulls the required dependency package component from the secondary dependency library, compiles and packages the code, and pushes the program package (or the mirror image package) to the secondary mirror image library of the subsidiary company.
And (17) synchronizing the self-built system program package or the mirror image package which is just pushed to the secondary mirror image library to the simulation mirror image library of the subsidiary company (the Aliyun and Hua are owned by the cloud), and then distributing the self-built system program package or the mirror image package to the verification training environment of the subsidiary company.
A process 18, in the verification training environment of the subsidiary company, calling a public system of a public service environment, and carrying out a third-party test (preset by a third-party test team) by using a test service environment; meanwhile, the business department can perform online business verification, and the operators can perform online drilling and online training of key users. For example, by calling 4 sets of public service environments such as unified authority service, unified exchange service, process management and monitoring service, information operation and maintenance comprehensive service and the like of a subsidiary main body, authority authentication, data exchange and operation monitoring functions in a program release process are completed, and by using open source test tools such as Selenium and the like, the whole interface test and integrated test at the research and development side are developed, and automatic test and debugging web application are performed.
And 19, after the third party passes the test, synchronizing the self-built system program package or the mirror image package in the secondary mirror image library of the subsidiary company to the production mirror image library of the subsidiary company (the Aliyun and Hua are owned by the clouds), and then releasing the mirror image package or the mirror image package to the production environment of the subsidiary company by one key. Thereby completing the development, test and deployment process of the self-built system of the subsidiary company.
The above are only preferred embodiments of the present invention, and the scope of the present invention is not limited to the above examples, and all technical solutions that fall under the spirit of the present invention belong to the scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may be made by those skilled in the art without departing from the principle of the invention.

Claims (7)

1. A simulation system for the research and development of the sensitive state is characterized by comprising a headquarter simulation subsystem, a subsidiary company simulation subsystem and a research and development unit simulation subsystem;
the headquarter simulation subsystem comprises a headquarter public service environment, a headquarter verification training environment, a headquarter testing service environment, a headquarter compiler, a primary code library, a primary dependency library and a primary mirror library, wherein the headquarter public service environment, the headquarter verification training environment, the headquarter testing service environment, the headquarter compiler, the primary code library, the primary dependency library and the primary mirror library are deployed in a headquarter main body; the subsidiary simulation subsystem comprises a subsidiary public service environment, a subsidiary verification and training environment, a subsidiary research and development test environment, a subsidiary compiler, a secondary code library, a secondary dependency library and a secondary mirror library, wherein the subsidiary public service environment, the subsidiary verification and training environment, the subsidiary research and development test environment, the subsidiary compiler, the secondary code library, the secondary dependency library and the secondary mirror library are deployed in a subsidiary main body; the research and development unit simulation subsystem comprises a unit public service environment, a unit research and development test environment, a unit compiler, a secondary code library, a secondary dependency library and a secondary mirror library which are deployed in a research and development unit main body;
the headquarter public service environment is provided with a public service system common to all platforms, and the mirror image package of the public service system corresponding to the public service system loading request is sent to the subsidiary public service environment and the unit public environment according to the public service system loading request sent by the subsidiary public service environment and the unit public environment; the subsidiary company public service environment and the unit public environment are also provided with personalized public service systems which are only used locally;
data interaction channels are established between the primary mirror image library and all the secondary mirror image libraries, and the mirror image libraries are used for storing program packages or mirror image packages of the compiled research and development system; data interaction channels are established between the primary dependency library and all the secondary dependency libraries, and the dependency libraries are used for storing dependent component packages in the system development and compiling processes; data interaction channels are respectively established between the secondary code base of the research and development unit level main body and the primary code base and between the secondary code base of part of subsidiaries, and the code bases are used for storing system research and development codes;
for the research and development unit simulation subsystem, the secondary code library is used for storing codes to be verified; the unit compiler extracts codes to be verified and corresponding dependency package components from the secondary code library and the secondary dependency library respectively, compiles and packages the codes into corresponding program packages or mirror packages, pushes the program packages or the mirror packages to the secondary mirror library, issues the program packages or the mirror packages to a unit research and development test environment through the secondary mirror library, calls a unit public service environment and a headquarter public service environment, and utilizes a third-party test tool to conduct research and development side tests; if the tested codes are the self-built systems, the tested codes are submitted to a primary code library on line, if the tested codes are the self-built systems, the tested codes are submitted to a secondary code library of a subsidiary company on line, and compiling, mirror image package issuing, third-party testing and production issuing are sequentially performed on the tested codes by a headquarter simulation subsystem or a subsidiary simulation subsystem respectively so as to perform the deployment of the self-built systems or the deployment of the self-built systems.
2. The dynamic research and development simulation system according to claim 1, wherein when the public service system deployed in the headquarters public service environment is updated, the headquarters public service environment generates a corresponding mirror image package according to the update content, and the generated mirror image package is sent to the secondary mirror image library through the primary mirror image library, so that the subsidiary public service environment and the unit public service environment load the corresponding mirror image package from the secondary mirror image library to synchronously update the locally deployed public service system.
3. The dynamic research and development simulation system according to claim 1, wherein a pull module is embedded in the secondary dependency library, and the pull module is used for selecting a corresponding dependency component from the primary dependency library from bottom to top to pull the corresponding dependency component to the secondary dependency library.
4. The dynamic research and development simulation system of claim 1, wherein the research and development unit simulation subsystem is configured to execute a research and development process; specifically, the development process comprises the following steps:
s1, carrying out system research and development in a unit research and development test environment by research and development personnel, calling an online third-party test tool in real time to carry out online scanning on codes in the research and development process, submitting the codes to a secondary code library online after the codes are modified completely according to scanning results, and triggering a unit compiler;
s2, the unit compiler pulls the submitted codes from the secondary code library, pulls the corresponding dependent components from the secondary dependent library, compiles and packages the codes, and pushes the generated program packages or mirror image packages to the corresponding secondary mirror image library;
s3, the secondary mirror image library distributes the received program package or mirror image package to a unit research and development test environment in real time;
and S4, in a unit research and development test environment, calling the test-related public service system in the headquarter public service environment and the unit public service environment, and carrying out an internal test and a group delivery test on line by using an online third-party test tool, wherein the internal test comprises a system function test, a performance test, a safety test and an integration test.
5. The agile research and development simulation system according to claim 1, wherein the headquarters simulation subsystem performs a third party test validation procedure of the unified system; specifically, the third-party test verification process of the system is established and comprises the following steps:
s5, the research and development unit simulation subsystem sends the codes of the system building system passing the test to a primary code library, and simultaneously submits third-party test application materials on line to trigger a headquarter compiler;
s6, the headquarter compiler pulls the submitted codes from the primary code library, pulls the corresponding dependent components from the primary dependent library, compiles and packages the codes, and pushes the generated program packages or mirror image packages of the unified system to the primary mirror image library;
s7, synchronizing a program package or a mirror package of the system in the primary mirror library to a headquarter simulation mirror library, distributing the program package or the mirror package to a headquarter verification training environment, and triggering an automatic testing process;
s8, in the headquarter verification training environment, calling a test-related public service system in the headquarter public service environment, and carrying out a third-party test of the integrated system on line by using an online third-party test tool in the headquarter test service environment; if the test is passed, triggering the automatic deployment process, and turning to the step S9, otherwise, returning the code to the simulation subsystem of the research and development unit, and ending the third-party test verification process;
and S9, in the headquarter verification training environment, deploying the system by calling the deployment related public service system in the headquarter public service environment to carry out online service verification, online drilling and online training.
6. The dynamic development simulation system according to claim 5, wherein the automatic deployment process comprises: identifying the deployment environment of the unified system:
when the system is deployed in a headquarter production environment and a subsidiary company production environment, synchronizing a program package or a mirror package which passes the test from a primary mirror library to the headquarter production mirror library, and then releasing the program package or the mirror package to the headquarter production mirror library by one key;
when the system is only deployed in the production environment of the subsidiary company, the program package or the mirror package passing the test is pushed from the primary mirror library to the secondary mirror library at the subsidiary company side, is synchronized to the simulation mirror library of the subsidiary company through the secondary mirror library, and is then distributed to the verification training environment of the subsidiary company, and meanwhile, the public service system of the public service environment of the subsidiary company and the public service system of the unit public service environment are called, the verification work of the system built at the subsidiary company side is carried out, and the verification work of the system built at the subsidiary company side only comprises the adaptability verification of the local environment; and after the verification is passed, synchronizing the integrated system program package or the mirror image package in the secondary mirror image library at the subsidiary side to the subsidiary production mirror image library, and then releasing the system program package or the mirror image package to the subsidiary production environment by one key.
7. The dynamic research and development simulation system according to claim 1, wherein the sub-company simulation subsystem is further configured to execute a third-party test verification process of the self-built system; specifically, the method comprises the following steps:
s10, the research and development unit simulation subsystem sends the codes of the self-built system passing the test to a secondary code base of the subsidiary company level main body to trigger a subsidiary company compiler;
s11, the subsidiary compiler pulls the submitted codes from the secondary code library of the subsidiary main body, pulls the corresponding dependent components from the secondary dependent library, compiles and packs the codes, and pushes the generated program package or mirror image package of the self-built system to the secondary mirror image library of the subsidiary main body;
s12, synchronizing a program package or a mirror package of a self-built system of a secondary mirror library of a subsidiary main body to a subsidiary simulation mirror library, and then distributing the program package or the mirror package to a subsidiary verification and training environment to trigger an automatic test flow;
s13, in the verification and training environment of the subsidiary company, calling a test-related public service system in the public service environment of the subsidiary company, and carrying out a third-party test of the self-built system on line by using an online third-party test tool in the test service environment of the subsidiary company; if the test is passed, triggering the automatic deployment process, and turning to the step S14, otherwise, returning the code to the simulation subsystem of the research and development unit, and ending the third-party test verification process;
and S14, in the subsidiary company verification training environment, carrying out online business verification, online drilling and online training work by calling the deployment related public service system in the subsidiary company public service environment, and deploying the self-built system.
CN202210953966.1A 2022-08-10 2022-08-10 A Sensitive R&D Simulation System Active CN115034095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210953966.1A CN115034095B (en) 2022-08-10 2022-08-10 A Sensitive R&D Simulation System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210953966.1A CN115034095B (en) 2022-08-10 2022-08-10 A Sensitive R&D Simulation System

Publications (2)

Publication Number Publication Date
CN115034095A true CN115034095A (en) 2022-09-09
CN115034095B CN115034095B (en) 2022-11-04

Family

ID=83130866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210953966.1A Active CN115034095B (en) 2022-08-10 2022-08-10 A Sensitive R&D Simulation System

Country Status (1)

Country Link
CN (1) CN115034095B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405364B1 (en) * 1999-08-31 2002-06-11 Accenture Llp Building techniques in a development architecture framework
US6895382B1 (en) * 2000-10-04 2005-05-17 International Business Machines Corporation Method for arriving at an optimal decision to migrate the development, conversion, support and maintenance of software applications to off shore/off site locations
CN111142879A (en) * 2019-12-05 2020-05-12 深圳融卡智能科技有限公司 Software integration release method and automatic operation and maintenance platform
CN112148269A (en) * 2020-10-22 2020-12-29 深圳市思迅软件股份有限公司 Research and development continuous integration method and device, computer equipment and storage medium
CN114490319A (en) * 2021-12-21 2022-05-13 博思数采科技发展有限公司 A distributed continuous integration automated testing method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405364B1 (en) * 1999-08-31 2002-06-11 Accenture Llp Building techniques in a development architecture framework
US6895382B1 (en) * 2000-10-04 2005-05-17 International Business Machines Corporation Method for arriving at an optimal decision to migrate the development, conversion, support and maintenance of software applications to off shore/off site locations
CN111142879A (en) * 2019-12-05 2020-05-12 深圳融卡智能科技有限公司 Software integration release method and automatic operation and maintenance platform
CN112148269A (en) * 2020-10-22 2020-12-29 深圳市思迅软件股份有限公司 Research and development continuous integration method and device, computer equipment and storage medium
CN114490319A (en) * 2021-12-21 2022-05-13 博思数采科技发展有限公司 A distributed continuous integration automated testing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵必厦 等: "基于Vega Prime的多通道三维仿真系统的实现", 《图学学报》 *

Also Published As

Publication number Publication date
CN115034095B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
Lwakatare et al. Towards DevOps in the embedded systems domain: Why is it so hard?
US9658833B2 (en) Automated methods and systems for developing and deploying projects in parallel
CN111966665B (en) Data migration testing method and device
CN110245088A (en) A Jenkins-based defect automatic verification system and verification method
Gmeiner et al. Automated testing in the continuous delivery pipeline: A case study of an online company
WO2017074414A1 (en) Software kit release management
US12189514B2 (en) System and method for cloud infrastructure test automation
Colanzi et al. Are we speaking the industry language? The practice and literature of modernizing legacy systems with microservices
Patwardhan Analysis of software delivery process shortcomings and architectural pitfalls
CN108376075A (en) A kind of management method, storage medium and the terminal device of software translating project
CN115034095A (en) Sensitive state research and development simulation system
Fagerström et al. Verdict machinery: On the need to automatically make sense of test results
KR101381231B1 (en) System and method for developing web-based enterprise applications under agile process
Pastrana-Pardo et al. Approach to the Best Practices in Software Development Based on DevOps and SCRUM Used in Very Small Entities
Pardo et al. Approach to the Best Practices of Software Development Based on DevOps and SCRUM Used in Very Small Entities
CN116185365A (en) A cloud-native development system and method thereof
CN117407289A (en) Airborne software hybrid closed-loop test system and method for unified management through graphical configuration
CN103995776A (en) Automatic version verification method based on B/S structure system
CN114328177B (en) An automated testing system and testing method based on multi-language K8S
Maram et al. Sixteen roles performed by software engineers in first one year
Sennikovski Transitioning from waterfall to agile: The test team perspective
Cugola et al. An experience in setting-up a configuration management environment
Stirm ACES: Infrastructure As Code. Model Optimization and Performance Capability
CN116126724A (en) A chip driver testing method and testing system
Khan et al. Evaluating the role of maintenance environment activities in software handover

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant