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

Sensitive state research and development simulation system Download PDF

Info

Publication number
CN115034095B
CN115034095B CN202210953966.1A CN202210953966A CN115034095B CN 115034095 B CN115034095 B CN 115034095B CN 202210953966 A CN202210953966 A CN 202210953966A CN 115034095 B CN115034095 B CN 115034095B
Authority
CN
China
Prior art keywords
library
environment
development
research
test
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.)
Active
Application number
CN202210953966.1A
Other languages
Chinese (zh)
Other versions
CN115034095A (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.)
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
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 State Grid Corp of China SGCC, Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

The invention discloses a sensitive research and development simulation system, which comprises 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 primary code library, a primary dependency library and a primary mirror library; 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 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 secondary code library, a secondary dependency library and a secondary mirror library which are deployed in a research and development unit. The invention realizes integration, full flow and automation of online research and development, online test, online release and the like, improves various research and development, cooperation, operation and maintenance efficiencies, and realizes visible continuous, smooth and high-quality delivery to users.

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, the online development and code hosting system based on the cloud platform is adopted for auxiliary development of software, 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 storage services of the environment are provided.
However, the foregoing technical solution is only suitable for code management on the small-scale development unit side, and is no longer suitable for large-scale multi-subject software system development with hierarchical arrangement. For the multi-subject research and development structure, the following problems generally exist in the current information system construction:
firstly, the research and development environment is dispersed, lacks cloud and a middle platform full-stack 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 throughout the year after being deployed and is inconsistent with the production environment, so that the system has a plurality of online defects; the problems of developing and developing two sheets of system versions with three-party testing, developing two sheets of system versions with three-party testing and producing and the like exist.
Thirdly, the participation of the user in the whole process of research, development and test is low, and the user does not participate in the whole process of research, development and test except the node type user 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 project research and development test; 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 on-line research and development, on-line test, on-line release and the like, improves various research and development, cooperation, operation and maintenance efficiencies, and realizes the visible continuous, smooth, high-quality and effective value delivery 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 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 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 a scanning result, and triggering a unit compiler;
s2, the unit compiler pulls the submitted codes from the secondary code library, pulls 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 issues 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 internal test and group delivery test on line by using an online third-party test tool, wherein the internal test comprises system function test, performance test, safety test and 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, simultaneously submits third-party test application materials on line and triggers a headquarter compiler;
s6, the headquarter compiler pulls the submitted codes from the primary code library, pulls corresponding dependent components from the primary dependent library, compiles and packs the codes, and pushes the generated program package or mirror image package of the unified system to the primary mirror image library;
s7, synchronizing a program package or a mirror package of the system built 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, calling a test related public service system in the headquarter public service environment in the headquarter verification training 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, carrying out online business verification, online drilling and online training work by calling a related public service system for deployment in the headquarter public service environment, and deploying the system for the system construction.
Further, the automatic deployment process includes: 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.
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 codes of the self-built system passing the test to a secondary code library of a subsidiary company level main body, and triggers a subsidiary company compiler;
s11, the subsidiary compiler pulls the submitted codes from the secondary code library of the subsidiary level 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 level main body;
s12, synchronizing a program package or a mirror package of a self-built system of a secondary mirror library of a subsidiary company level main body to a subsidiary company simulation mirror library, and then distributing the program package or the mirror package to a subsidiary company verification 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 a 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 researching and developing two sheets of system versions with three-party test and production.
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 sensitive research and development simulation system includes a head office 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 base 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 agile 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.
And (2) deploying a public service environment, a verification training environment and a research and development test environment on the subsidiary company side (the right lower corner of the figure 1) (the research and development test environment of the subsidiary company is used for supporting research and development of the 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 simultaneously deploying a secondary code library, a secondary dependency library and a secondary mirror image library.
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, the subsidiary public service environment and the research and development unit public service environment also deploy personalized public service systems 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 testing and group delivery testing are carried out on line according to the three-party testing standard and testing rule which are publicized and transparent, and the later three-party testing period and 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, the research and development unit submits the code passing the test to the primary code library on line, and simultaneously submits a third-party test application material on line to carry out a third-party test application and trigger a corresponding compiling tool.
And 6, the compiling tool pulls the codes which are just submitted to the primary code base on line by the research and development unit, pulls the required dependency package components from the primary dependency base, compiles and packages the codes, and pushes the program packages or the mirror image packages 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 (owned by Aliyun and Huashi clouds) and 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 the 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 is failed, returning to the research and development unit for perfect modification, and releasing to the verification training environment to continue the three-party test after confirming that no problem exists.
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 is respectively arranged at the production environment sides of headquarter and subsidiary companies and mainly comprises processes 10-13.
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 is established (software on a main headquarter-level main body and/or a part of subsidiary company-level main bodies is deployed, the supervision level is medium, 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), and a program package or a mirror package which passes the test is pushed from the primary mirror image library to the subsidiary company secondary mirror image library.
And 12, synchronizing the newly received unified secondary system program package or mirror image package in the secondary mirror image library of the subsidiary company to the simulation mirror image library of the subsidiary company (the Aliyun and Hua are owned by the cloud), distributing the program package or mirror image package 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), and carrying out the verification work of the system on the subsidiary company side. 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 draws the self-built system code which is just submitted from the secondary code library of the subsidiary company, draws the required dependent package component from the secondary dependent 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 is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above-mentioned embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection 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 which 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 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 compilation process; 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 agile r developing simulation system according to claim 1, wherein the developing unit simulation subsystem is configured to perform a developing 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 a scanning result, and triggering a unit compiler;
s2, the unit compiler pulls the submitted codes from the secondary code library, pulls 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 issues 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 internal test and group delivery test on line by using an online third-party test tool, wherein the internal test comprises system function test, performance test, safety test and integration test.
5. The dynamic research and development simulation system according to claim 1, wherein the headquarters simulation subsystem performs a third party test verification procedure of the unified system; specifically, the third-party test verification process of the system is established in a unified manner 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, simultaneously submits third-party test application materials on line and triggers 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 built 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, calling a test related public service system in the headquarter public service environment in the headquarter verification training 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, carrying out online business verification, online drilling and online training work by calling a related public service system for deployment in the headquarter public service environment, and deploying the system for the system construction.
6. The dynamic development simulation system of claim 5, wherein the automated 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 a production environment of a subsidiary company, a program package or a mirror package passing the test is pushed from a primary mirror library to a secondary mirror library at the subsidiary company side, is synchronized to a simulation mirror library of the subsidiary company through the secondary mirror library, and is distributed to a verification training environment of the subsidiary company, and meanwhile, a public service system of a public service environment of the subsidiary company and a public service system of a 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 a 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 agile r research and development simulation system according to claim 1, wherein the subsidiary simulation subsystem is further configured to perform a third party test validation 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 company level main body to a subsidiary company simulation mirror library, and then distributing the program package or the mirror package to a subsidiary company verification training environment to trigger an automatic test flow;
s13, in the verification 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 a 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 Sensitive state research and development 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 Sensitive state research and development simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210953966.1A CN115034095B (en) 2022-08-10 2022-08-10 Sensitive state research and development simulation system

Publications (2)

Publication Number Publication Date
CN115034095A CN115034095A (en) 2022-09-09
CN115034095B true 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 Sensitive state research and development 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 博思数采科技发展有限公司 Distributed continuous integration automatic test 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 博思数采科技发展有限公司 Distributed continuous integration automatic test method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Vega Prime的多通道三维仿真系统的实现;赵必厦 等;《图学学报》;20121015;第33卷(第5期);73-77 *

Also Published As

Publication number Publication date
CN115034095A (en) 2022-09-09

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
CN107643981A (en) A kind of automatic test platform and operation method of polynary operation flow
CN111080257A (en) DevOps-based end-to-end online research and development management system and method
US20180253296A1 (en) Software kit release management
CN115617325A (en) Component type low-code application configuration platform
Bartusevics et al. Models for implementation of software configuration management
Colanzi et al. Are we speaking the industry language? The practice and literature of modernizing legacy systems with microservices
CN115034095B (en) Sensitive state research and development simulation system
CN111966665B (en) Data migration testing method and device
KR101381231B1 (en) System and method for developing web-based enterprise applications under agile process
Fagerström et al. Verdict machinery: On the need to automatically make sense of test results
CN116185365A (en) Cloud native development system and method thereof
Cagnin et al. PARFAIT: Towards a framework-based agile reengineering process
Pastrana-Pardo et al. Approach to the Best Practices in Software Development Based on DevOps and SCRUM Used in Very Small Entities
Cleveland et al. Orchestrating End‐User Perspectives in the Software Release Process: An Integrated Release Management Framework
Xiuli et al. Research on Digital Agile Information System Based on Microservice Architecture
Cugola et al. An experience in setting-up a configuration management environment
Orviz et al. Software quality assurance in INDIGO-DataCloud project: a converging evolution of software engineering practices to support European research e-infrastructures
Farahani et al. Comprehensive configuration management model for software product line
Gries System engineering for the 777 autopilot system
Sennikovski Transitioning from waterfall to agile: The test team perspective
CN114064509A (en) Task information processing method and device based on platform development
CN116126724A (en) Chip driver testing method and testing system
CN115407321A (en) Vehicle-mounted radar testing continuous integration platform constructed based on real dynamic scene

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