CN109947657A - A kind of the mobility scale analysis method and system of enterprise-level information management system - Google Patents

A kind of the mobility scale analysis method and system of enterprise-level information management system Download PDF

Info

Publication number
CN109947657A
CN109947657A CN201910266231.XA CN201910266231A CN109947657A CN 109947657 A CN109947657 A CN 109947657A CN 201910266231 A CN201910266231 A CN 201910266231A CN 109947657 A CN109947657 A CN 109947657A
Authority
CN
China
Prior art keywords
analysis
enterprise
source code
version
different
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.)
Pending
Application number
CN201910266231.XA
Other languages
Chinese (zh)
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.)
Guangdong Power Grid Co Ltd
Information Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Information Center of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Information Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201910266231.XA priority Critical patent/CN109947657A/en
Publication of CN109947657A publication Critical patent/CN109947657A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of mobility scale analysis method of enterprise-level information management system and system, this method includes that comprehensive version pipe control is carried out to enterprise-level information management system, records the submission record of source code each time;Relationship analysis is called to the source code of latest edition;Different information analysis is carried out to front and back different editions;According to the different information and call relation, coverage analysis is carried out to the iteration publication of this subsystem;According to the coverage, the regression test that system is oriented.The mobility scale analysis method and system of a kind of enterprise-level information management system provided by the invention, it can be before the publication of each enterprise-level information management system new version, pass through the different information analysis and call relation analysis to front and back version, realize the systematic influence surface analysis to this publication, to reach the scanning analysis of orientation, targeted safety, function and performance etc., the efficiency and precision of test are promoted.

Description

A kind of the mobility scale analysis method and system of enterprise-level information management system
Technical field
The present embodiments relate to system analysis technique field more particularly to a kind of variations of enterprise-level information management system Surface analysis method and system.
Background technique
In modernization large enterprise, due to business is various, process is complicated, critical data is sensitive etc., lead to enterprise Grade system more sophisticated and huge, the requirement to safety increasingly increases, and the workload of security sweep is increasingly huge, meanwhile, it is right It is also further stringent in the requirement of the quality of system testing.
At this stage, the Version of industry relative maturity, such as Git can be realized to source code fine granularity, entirely The control in orientation.In version pipe control, increase, deletion, the modification of every line code, every a line configuration item can be tracked, together When, the difference between same version can be compared, the different information of different branches under concurrent development is compared, accomplishes at conflict early Reason.And at present for the exploitation of large enterprise's grade system, considerable development company lacks the version pipe control of standardization, or still exists Use more traditional such as SVN tool.
Industry is in the research of the call relation analysis to system still in the elementary step at present, and some tools of current generation are such as Soot, and other tools such as Code2flow based on Soot etc. are mainly used in the APK movement based on android system and answer With analysis, and the analysis for backstage code, the research in the field are less, especially in large-scale enterprise-level information management system Application, there has been no disclosed correlative study and applications at present.
Summary of the invention
The present invention provides the mobility scale analysis method and system of a kind of enterprise-level information management system, to solve existing skill The deficiency of art.
To achieve the above object, the present invention provides technical solution below:
In a first aspect, the present invention provides a kind of mobility scale analysis method of enterprise-level information management system, the method Include:
Comprehensive version pipe control is carried out to enterprise-level information management system, records the submission record of source code each time;
Relationship analysis is called to the source code of latest edition;
Different information analysis is carried out to front and back different editions;
According to the different information and call relation, coverage analysis is carried out to the iteration publication of this subsystem;
According to the coverage, the regression test that system is oriented.
Further, in the method, described according to the coverage, regression test that system is oriented After step, further includes:
Test result is exported, tests do not pass through if it exists, then test result is fed back into development company and rectified and improved.
Further, described that comprehensive version pipe control, record are carried out to enterprise-level information management system in the method The step of submission record of source code includes: each time
The submission for the source code that record is submitted by development company each time records;
Multiple-limb version pipe control is carried out by version pipe control tool, and different branches is established for different work orders;
The function or defect modified work order corresponding to different branches carry out concurrent testing;
All branches after test is passed through merge.
Further, described to close all branches tested after passing through if occurring merging conflict in the method And the step of after, further includes:
Collision feedback to development company will be merged to solve.
Further, in the method, described the step of different information analysis is carried out to front and back different editions specifically:
To the version and original benchmark version progress different information analysis after merging.
Second aspect, the present invention provide a kind of mobility scale analysis system of enterprise-level information management system, the system Include:
Source code logging modle, for carrying out comprehensive version pipe control to enterprise-level information management system, record is each time The submission of source code records;
First analysis module is called relationship analysis for the source code to latest edition;
Second analysis module, for carrying out different information analysis to front and back different editions;
Third analysis module, for issuing and carrying out to the iteration of this subsystem according to the different information and call relation Coverage analysis;
System test modules are used for the regression test being oriented to system according to the coverage.
Further, the system, further includes:
First feedback module is used for described according to the coverage, to the step for the regression test that system is oriented After rapid, test result is exported, tests do not pass through if it exists, then test result is fed back into development company and rectified and improved.
Further, in the system, the source code logging modle includes:
Source code recording unit, the submission for recording the source code submitted each time by development company record;
Branch's control unit builds different work orders for carrying out multiple-limb version pipe control by version pipe control tool Found different branches;
Branch testing unit, function or defect for being modified work order corresponding to different branches are surveyed parallel Examination;
Branch's combining unit is merged for all branches after passing through test.
Further, the system, further includes:
Second feedback module is solved for when occurring merging conflict, will merge collision feedback to development company.
Further, in the system, second analysis module is specifically used for:
To the version and original benchmark version progress different information analysis after merging.
The mobility scale analysis method and system of a kind of enterprise-level information management system provided in an embodiment of the present invention, can Before the publication of each enterprise-level information management system new version, pass through the analysis of different information to front and back version and call relation The systematic influence surface analysis to this publication is realized in analysis, to reach orientation, targeted safety, function and property The scanning analysis of energy etc., promotes the efficiency and precision of test.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of stream of the mobility scale analysis method for enterprise-level information management system that the embodiment of the present invention one provides Journey schematic diagram;
Fig. 2 is a kind of knot of the mobility scale analysis system of enterprise-level information management system provided by Embodiment 2 of the present invention Structure schematic diagram.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Currently, many modernization large enterprises are due to exploitation (developer), test (evaluation and test department) and apply (business department Door) separation the characteristics of, therefore, it is difficult to indiscriminately imitate the version pipe control mode of internet industry, so as to cause lacking to enterprise-level message tube The fine granularity control for managing system source code, can not accomplish to track and record every line code and configuration, while can not also have Different information between effect analysis different editions, therefore it be easy to cause alternate file chaotic when the publication of frequent iteration, it is difficult Clearly to manage the advance and retrogressing between different editions.Meanwhile when different developers has modified the same code text When part, control is such as not added, then be easy to cause the code of latter modification to the covering of code before, leads to various compilings or fortune occur Row mistake or system defect.Therefore, multiple-limb version pipe control technology has very big during modernizing IT application of large enterprise Promotional value, version pipe control and code analysis are carried out by the code submitted to developer, form closed loop management, can be very big Improve security of information assets and the level of IT application.
Currently in the publication test of the enterprise-level information management systems of many modernization large enterprises, in addition to will be on new Function, the existing capability of line be perfect, system defect etc. carries out the test of performance, function and safety etc., will also be to being The other parts of system carry out full dose regression test.And each full dose regression test can all expend a large amount of testing times.Therefore, needle To full dose regression test time longer problem, we pass through the call relation of variance analysis, static scanning in version pipe control Analysis, the coverage analysis of version change, reduce test scope, realize to shadow caused by publication each time and iterative process The accurate test that range is oriented is rung, precision and depth in test process are improved.
Embodiment one
Attached drawing 1 is please referred to, for a kind of mobility scale point for enterprise-level information management system that the embodiment of the present invention one provides The flow diagram of analysis method, this method are executed by the mobility scale analysis system of enterprise-level information management system, the device It can be by software and or hardware realization.This method specifically comprises the following steps:
S101, comprehensive version pipe control is carried out to enterprise-level information management system, record the submission note of source code each time Record.
Specifically, the step S101 further comprises:
(1) submission for the source code that record is submitted by development company each time records;
(2) multiple-limb version pipe control is carried out by version pipe control tool and different branches is established for different work orders;
(3) function or defect modified to work order corresponding to different branches carry out concurrent testing;
(4) all branches after passing through test merge.
Preferably, if there is merging conflict, it is described will test pass through after all branches the step of merging after, Further include:
Collision feedback to development company will be merged to solve.
S102, relationship analysis is called to the source code of latest edition.
S103, different information analysis is carried out to front and back different editions.
Specifically, the step S103 specifically:
To the version and original benchmark version progress different information analysis after merging.
S104, the iteration publication progress coverage analysis according to the different information and call relation, to this subsystem.
S105, according to the coverage, the regression test that system is oriented.
Specifically, being directed to the coverage of the version, the recurrence of the safety being oriented to system, function etc. is surveyed Examination.
Preferably, described according to the coverage, the step of the regression test being oriented to system after, also wrap It includes:
Test result is exported, tests do not pass through if it exists, then test result is fed back into development company and rectified and improved.
A kind of mobility scale analysis method of enterprise-level information management system provided in an embodiment of the present invention, can be each Before the publication of enterprise-level information management system new version, is analyzed by the different information to front and back version and call relation is analyzed, The systematic influence surface analysis to this publication is realized, to reach the sides such as orientation, targeted safety, function and performance The scanning analysis in face promotes the efficiency and precision of test.
Embodiment two
As shown in Fig. 2, the present invention provides a kind of mobility scale analysis system of enterprise-level information management system, the system Include:
Source code logging modle 21 records each for carrying out comprehensive version pipe control to enterprise-level information management system The submission of secondary source code records;
First analysis module 22 is called relationship analysis for the source code to latest edition;
Second analysis module 23, for carrying out different information analysis to front and back different editions;
Third analysis module 24, for according to the different information and call relation, to the iteration of this subsystem issue into The analysis of row coverage;
System test modules 25 are used for the regression test being oriented to system according to the coverage.
Preferably, the system, further includes:
First feedback module is used for described according to the coverage, to the step for the regression test that system is oriented After rapid, test result is exported, tests do not pass through if it exists, then test result is fed back into development company and rectified and improved.
Preferably, in the system, the source code logging modle includes:
Source code recording unit, the submission for recording the source code submitted each time by development company record;
Branch's control unit builds different work orders for carrying out multiple-limb version pipe control by version pipe control tool Found different branches;
Branch testing unit, function or defect for being modified work order corresponding to different branches are surveyed parallel Examination;
Branch's combining unit is merged for all branches after passing through test.
Preferably, the system, further includes:
Second feedback module is solved for when occurring merging conflict, will merge collision feedback to development company.
Preferably, in the system, second analysis module is specifically used for:
To the version and original benchmark version progress different information analysis after merging.
A kind of mobility scale analysis method, system of enterprise-level information management system provided in an embodiment of the present invention, can be every Before secondary enterprise-level information management system new version publication, is analyzed by the different information to front and back version and call relation divides The systematic influence surface analysis to this publication is realized in analysis, to reach orientation, targeted safety, function and performance Etc. scanning analysis, promote the efficiency and precision of test.
Method provided by any embodiment of the invention can be performed in above system, has the corresponding functional module of execution method And beneficial effect.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of mobility scale analysis method of enterprise-level information management system, which is characterized in that the described method includes:
Comprehensive version pipe control is carried out to enterprise-level information management system, records the submission record of source code each time;
Relationship analysis is called to the source code of latest edition;
Different information analysis is carried out to front and back different editions;
According to the different information and call relation, coverage analysis is carried out to the iteration publication of this subsystem;
According to the coverage, the regression test that system is oriented.
2. the method according to claim 1, wherein being determined according to the coverage system described To regression test the step of after, further includes:
Test result is exported, tests do not pass through if it exists, then test result is fed back into development company and rectified and improved.
3. the method according to claim 1, wherein it is described enterprise-level information management system is carried out it is comprehensive Version pipe control, record each time source code submission record the step of include:
The submission for the source code that record is submitted by development company each time records;
Multiple-limb version pipe control is carried out by version pipe control tool, and different branches is established for different work orders;
The function or defect modified work order corresponding to different branches carry out concurrent testing;
All branches after test is passed through merge.
4. according to the method described in claim 3, it is characterized in that, if occur merge conflict, it is described will test pass through after After the step of all branches merge, further includes:
Collision feedback to development company will be merged to solve.
5. according to the method described in claim 3, it is characterized in that, described carry out different information analysis to front and back different editions Step specifically:
To the version and original benchmark version progress different information analysis after merging.
6. a kind of mobility scale analysis system of enterprise-level information management system, which is characterized in that the system comprises:
Source code logging modle records source code each time for carrying out comprehensive version pipe control to enterprise-level information management system Submission record;
First analysis module is called relationship analysis for the source code to latest edition;
Second analysis module, for carrying out different information analysis to front and back different editions;
Third analysis module, for being influenced on the publication of the iteration of this subsystem according to the different information and call relation Surface analysis;
System test modules are used for the regression test being oriented to system according to the coverage.
7. system according to claim 6, which is characterized in that further include:
First feedback module, for described according to the coverage, the step of the regression test being oriented to system it Afterwards, test result is exported, tests do not pass through if it exists, then test result fed back into development company and rectified and improved.
8. system according to claim 6, which is characterized in that the source code logging modle includes:
Source code recording unit, the submission for recording the source code submitted each time by development company record;
Branch's control unit, for different work orders, is established not for carrying out multiple-limb version pipe control by version pipe control tool Same branch;
Branch testing unit, function or defect for being modified work order corresponding to different branches carry out concurrent testing;
Branch's combining unit is merged for all branches after passing through test.
9. system according to claim 8, which is characterized in that further include:
Second feedback module is solved for when occurring merging conflict, will merge collision feedback to development company.
10. system according to claim 8, which is characterized in that second analysis module is specifically used for:
To the version and original benchmark version progress different information analysis after merging.
CN201910266231.XA 2019-04-03 2019-04-03 A kind of the mobility scale analysis method and system of enterprise-level information management system Pending CN109947657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910266231.XA CN109947657A (en) 2019-04-03 2019-04-03 A kind of the mobility scale analysis method and system of enterprise-level information management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910266231.XA CN109947657A (en) 2019-04-03 2019-04-03 A kind of the mobility scale analysis method and system of enterprise-level information management system

Publications (1)

Publication Number Publication Date
CN109947657A true CN109947657A (en) 2019-06-28

Family

ID=67013704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910266231.XA Pending CN109947657A (en) 2019-04-03 2019-04-03 A kind of the mobility scale analysis method and system of enterprise-level information management system

Country Status (1)

Country Link
CN (1) CN109947657A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752843A (en) * 2020-06-29 2020-10-09 百度在线网络技术(北京)有限公司 Method, device, electronic equipment and readable storage medium for determining influence surface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699488A (en) * 2013-12-30 2014-04-02 优视科技有限公司 Call relation dependence graph based regression testing method and system
CN103870384A (en) * 2012-12-11 2014-06-18 航天信息股份有限公司 Test case presumption method and system
CN105404519A (en) * 2015-12-07 2016-03-16 青岛海信电器股份有限公司 Version control method, code testing method and system
CN107450933A (en) * 2017-08-18 2017-12-08 郑州云海信息技术有限公司 A kind of software continuous integrated approach and system
CN107992424A (en) * 2017-12-15 2018-05-04 平安科技(深圳)有限公司 Automatic test analysis method, application server and computer-readable recording medium
CN109086071A (en) * 2018-08-22 2018-12-25 平安普惠企业管理有限公司 A kind of method and server of management software version information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870384A (en) * 2012-12-11 2014-06-18 航天信息股份有限公司 Test case presumption method and system
CN103699488A (en) * 2013-12-30 2014-04-02 优视科技有限公司 Call relation dependence graph based regression testing method and system
CN105404519A (en) * 2015-12-07 2016-03-16 青岛海信电器股份有限公司 Version control method, code testing method and system
CN107450933A (en) * 2017-08-18 2017-12-08 郑州云海信息技术有限公司 A kind of software continuous integrated approach and system
CN107992424A (en) * 2017-12-15 2018-05-04 平安科技(深圳)有限公司 Automatic test analysis method, application server and computer-readable recording medium
CN109086071A (en) * 2018-08-22 2018-12-25 平安普惠企业管理有限公司 A kind of method and server of management software version information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752843A (en) * 2020-06-29 2020-10-09 百度在线网络技术(北京)有限公司 Method, device, electronic equipment and readable storage medium for determining influence surface
CN111752843B (en) * 2020-06-29 2024-02-13 百度在线网络技术(北京)有限公司 Method, apparatus, electronic device and readable storage medium for determining influence surface

Similar Documents

Publication Publication Date Title
US11366747B2 (en) Unified test automation system
Sadowski et al. Lessons from building static analysis tools at google
Sadowski et al. Tricorder: Building a program analysis ecosystem
US20170372247A1 (en) Methods, systems, and articles of manufacture for implementing software application development and releases
US10127143B2 (en) Generating an evolving set of test cases
CN110413316B (en) Non-invasive testing system and method for intelligent contracts of block chain
CN108845940B (en) Enterprise-level information system automatic function testing method and system
US11263120B2 (en) Feature-based deployment pipelines
Rodríguez-Pérez et al. What if a bug has a different origin? making sense of bugs without an explicit bug introducing change
Rathod et al. Test orchestration a framework for continuous integration and continuous deployment
US20150100945A1 (en) Resuming a software build process
JP2010231782A (en) Method and system for function automation
US11586433B2 (en) Pipeline release validation
Patwardhan Structured unit testable templated code for efficient code review process
CN112131116A (en) Automatic regression testing method for embedded software
Mondal et al. A comparative study on the intensity and harmfulness of late propagation in near-miss code clones
Grieskamp et al. Model-based quality assurance of Windows protocol documentation
Mayan et al. Optimized test data generation over suspicious implementation of oracle problem
CN109947657A (en) A kind of the mobility scale analysis method and system of enterprise-level information management system
Donszelmann et al. ART ATLAS Release Tester using the Grid
US20240036858A1 (en) Dataflow Pipeline Deployment System and Method
Singh et al. Modeling and monitoring multi-release software systems based on failure detection rate: a generalized approach
Altekar et al. Focus replay debugging effort on the control plane
US10481969B2 (en) Configurable system wide tests
Frechette et al. Regression Test Reduction for Object‐Oriented Software: A Control Call Graph Based Technique and Associated Tool

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628

RJ01 Rejection of invention patent application after publication