Nothing Special   »   [go: up one dir, main page]

CN104572176B - A kind of large software starts the operation method of deployment detection framework - Google Patents

A kind of large software starts the operation method of deployment detection framework Download PDF

Info

Publication number
CN104572176B
CN104572176B CN201410795418.6A CN201410795418A CN104572176B CN 104572176 B CN104572176 B CN 104572176B CN 201410795418 A CN201410795418 A CN 201410795418A CN 104572176 B CN104572176 B CN 104572176B
Authority
CN
China
Prior art keywords
module
detection
collection
interface
responsible
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
CN201410795418.6A
Other languages
Chinese (zh)
Other versions
CN104572176A (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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201410795418.6A priority Critical patent/CN104572176B/en
Publication of CN104572176A publication Critical patent/CN104572176A/en
Application granted granted Critical
Publication of CN104572176B publication Critical patent/CN104572176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to technical field of software development, particularly relates to the operation method that a kind of large software starts deployment detection framework.The framework of the present invention includes three parts, wherein start the traffic control that detection control module is responsible for entirely detecting, the project detected is needed in the modules for being responsible for calling detection collection module to collect large software, and call detection execution module to carry out startup detection to each module, finally the daily record in detection process is output in file;Detection collection module is responsible for scanning mounted module in large software, and by the detection in each module of module collection;Detection execution module is responsible for module detection and collects data and perform specific detection.Start deployment detection framework suitable for software large software, can performing automatically, that be advantageous to change, reusable the invention provides a kind of;Detection is disposed in startup available for large software.

Description

A kind of large software starts the operation method of deployment detection framework
Technical field
The present invention relates to technical field of software development, particularly relates to the operation that a kind of large software starts deployment detection framework Method.
Background technology
When software starts, typically to determine whether the internal and external factors required for running software have by some detections It is standby, including detection to software own files completeness, the third party software that is relied on software whether configured complete into Row detection, the third party library that running software relies on whether there is and detect, even the data of software are initialized Deng.The mode of perform script file is generally taken to complete above-mentioned detection at present, specific method is exactly one script of unified maintenance File, the file, third party software, third party library file that are included in software are detected in script file, can also be held The importing of the initialization of row data, such as database.But for large software, the version of software is natively relatively more, Furthermore there is the characteristics of partial software is disposed by module, each module is required for carrying out different detections, then using above-mentioned unified pin This mode detect and just not applied to, and it has the drawbacks of following:
1st, the difference of version, the difference of module selection can produce many different combination of software, and the unified mode safeguarded is just Need to take into account the script of version caused by different editions and disparate modules combination, the quantity of script will be very huge, maintenance Workload is big;
2nd, often increase a module, be required for carrying out all scripts unified adjustment, workload is also huge, above-mentioned side Method is unfavorable for the change of software.
It is accordingly, it is desirable to provide a kind of suitable for large software, can performing automatically, being advantageous to change, reusable Software starts deployment detection framework.
The content of the invention
Present invention solves the technical problem that it is to provide the operation method that a kind of large software starts deployment detection framework;Solution Certainly large software version is more, module composition is complicated, starts the problem of detection troublesome maintenance;Meanwhile detection is set to realize high reusability.
The present invention solve above-mentioned technical problem technical scheme be:
Described startup deployment includes starting detection control module, detection collection module and detection execution module;
Described startup detection control module, is responsible for the traffic control entirely detected, is responsible for calling detection collection module The project for needing to detect in the modules of large software is collected, and calls detection execution module to carry out startup inspection to each module Survey, and the daily record in detection process is output in file;
Described detection collection module is responsible for scanning mounted module in large software, and presses each mould of module collection Detection in block;
Described detection execution module is responsible for module detection and collects data and perform specific detection.
The detection collection module main working process is as follows:
Step 11:Each the module detected is needed to realize the interface specified in framework;
Step 12:Scan whether mounted each module realizes this interface, if had been carried out, then put it to In module list to be detected;
Step 13:Priority according to the data processor realized in module is treated detection module list and is ranked up;
The detection execution module main working process is as follows:
Step 21:Being obtained from the module list to be detected after sequence needs the module of perform detection;
Step 22:The interface whether realized in module to be detected and collected data is scanned, if so, then first carrying out collection number According to the step of;
Step 23:The interface for the data processing realized in calling module, execution module start detection, and testing result Return to startup detection control module.
It is described to realize that the interface specified in framework is to realize the interface of data processing and choose whether reality as needed Now collect the interface of data;List is relied on collection module or third party library file relies on the required information of list detection.
Described treating detection module list according to priority and be ranked up is the data-processing interface root realized in module The significance level that logic is handled it according to significance level is marked, and the high processing logic of priority first carries out.The present invention program Have the beneficial effect that:
1st, method of the invention is applied to the startup of large software and detected, and can solve that large software version is more, module forms The problem of complicated, startup detects troublesome maintenance.
2nd, the framework of offer of the invention has very high reusability, only needs a small amount of to be encoded to spy when newly increasing module Cover half block realizes the detection logic specified, and does not interfere with the detection logic of other modules, greatly reduces detection program dimension The workload of shield.
Brief description of the drawings
The present invention is further described below in conjunction with the accompanying drawings:
Fig. 1 is the flow chart of framework of the present invention.
Embodiment
The implementation of framework of the present invention has a variety of, describes one of which by taking Java language programming realization as an example below Implementation.As shown in Figure 1, framework and operation method of the present invention are specific as follows:
(1) detection control module is started
(2) detection collection module
(3) detection execution module
Illustrate the realization of execution module exemplified by importing sql file datas:

Claims (3)

1. a kind of large software starts the operation method of deployment detection framework, it is characterised in that:Described startup deployment includes opening Dynamic detection control module, detection collection module and detection execution module;
Described startup detection control module, is responsible for the traffic control entirely detected, is responsible for calling detection collection module to collect The project detected is needed in the modules of large software, and calls detection execution module to carry out startup detection to each module, And the daily record in detection process is output in file;
Described detection collection module is responsible for scanning mounted module in large software, and by each module of module collection Detection;
Described detection execution module is responsible for module detection and collects data and perform specific detection;
The detection collection module main working process is as follows:
Step 11:Each the module detected is needed to realize the interface specified in framework;
Step 12:Scan whether mounted each module realizes this interface, if had been carried out, then put it to be checked Survey in module list;
Step 13:Priority according to the data processor realized in module is treated detection module list and is ranked up;
The detection execution module main working process is as follows:
Step 21:Being obtained from the module list to be detected after sequence needs the module of perform detection;
Step 22:The interface whether realized in module to be detected and collected data is scanned, data are collected if so, then first carrying out Step;
Step 23:The interface for the data processing realized in calling module, execution module starts detection, and testing result is returned Control module is detected to starting.
2. operation method according to claim 1, it is characterised in that:Described realizes that the interface specified in framework is to realize The interface of data processing and the interface for choosing whether realization collection data as needed;List or the 3rd is relied on collection module Square library file relies on the information required for list detection.
3. operation method according to claim 1 or 2, it is characterised in that:Described treats detection module according to priority List be ranked up be the data-processing interface realized in module it is handled according to significance level logic significance level carry out Mark, the high processing logic of priority first carry out.
CN201410795418.6A 2014-12-18 2014-12-18 A kind of large software starts the operation method of deployment detection framework Active CN104572176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410795418.6A CN104572176B (en) 2014-12-18 2014-12-18 A kind of large software starts the operation method of deployment detection framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410795418.6A CN104572176B (en) 2014-12-18 2014-12-18 A kind of large software starts the operation method of deployment detection framework

Publications (2)

Publication Number Publication Date
CN104572176A CN104572176A (en) 2015-04-29
CN104572176B true CN104572176B (en) 2018-01-09

Family

ID=53088334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410795418.6A Active CN104572176B (en) 2014-12-18 2014-12-18 A kind of large software starts the operation method of deployment detection framework

Country Status (1)

Country Link
CN (1) CN104572176B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729184B (en) * 2017-10-23 2021-07-30 国云科技股份有限公司 A system component service self-healing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479123A (en) * 2010-11-29 2012-05-30 上海华虹集成电路有限责任公司 System and method for testing chip operating system (COS)
CN103309795A (en) * 2012-03-08 2013-09-18 百度在线网络技术(北京)有限公司 Software testing method and system
CN104199779A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Combined testing method and system for embedded modules

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8239835B2 (en) * 2007-05-07 2012-08-07 Infosys Limited Automated software testing framework using independent test scripts

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479123A (en) * 2010-11-29 2012-05-30 上海华虹集成电路有限责任公司 System and method for testing chip operating system (COS)
CN103309795A (en) * 2012-03-08 2013-09-18 百度在线网络技术(北京)有限公司 Software testing method and system
CN104199779A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Combined testing method and system for embedded modules

Also Published As

Publication number Publication date
CN104572176A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN103778373B (en) Virus detection method and device
US20080294942A1 (en) Self-healing system and method
CN104424094A (en) Method and device for obtaining abnormal information and intelligent terminal device
WO2019169760A1 (en) Test case range determining method, device, and storage medium
CN109271359B (en) Log information processing method and device, electronic equipment and readable storage medium
US20200117587A1 (en) Log File Analysis
CN107171825A (en) A kind of repetition daily record filter method of terminal
US20080295113A1 (en) Managing memory resident objects to optimize a runtime environment
CN107015904B (en) Stack protection method and device
CN102945351A (en) Security vulnerability fixing method based on two-dimensional code for mobile intelligent terminal in cloud environment
CN107273257A (en) A kind of automatic method for carrying out the out of order inspection of hard disk under linux system
CN102306119A (en) System for capturing global exception and method
CN103019942A (en) Method and system for automatically testing applications to be tested based on android system
CN103902732A (en) Construction and network resource collection method of self-adaption network resource collection system
CN102043720A (en) Method and device for generating test data automatically by utilizing structured query language (SQL) sentences
CN112346987A (en) Test case generation and conversion method and system based on Xmind
CN108664471A (en) Text region error correction method, device, equipment and computer readable storage medium
CN102819488A (en) Test processing device and test processing method
CN104572176B (en) A kind of large software starts the operation method of deployment detection framework
CN110908870B (en) Method and device for monitoring resources of mainframe, storage medium and equipment
CN103902906A (en) Mobile terminal malicious code detecting method and system based on application icon
JP2010134536A (en) Pattern file update system, pattern file update method, and pattern file update program
CN111382424A (en) Mobile application sensitive behavior detection method and system based on controlled environment
CN112527655A (en) Software version quality abnormity detection method and device, electronic equipment and storage medium
CN105243020B (en) A kind of automated testing method suitable for wide-area distribution type real-time data base

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 523808 19th Floor, Cloud Computing Center, Chinese Academy of Sciences, No. 1 Kehui Road, Songshan Lake Hi-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: G-Cloud Technology Co., Ltd.

Address before: 523808 No. 14 Building, Songke Garden, Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province

Patentee before: G-Cloud Technology Co., Ltd.

CP02 Change in the address of a patent holder