CN105893265A - Automatic software project detecting system and method - Google Patents
Automatic software project detecting system and method Download PDFInfo
- Publication number
- CN105893265A CN105893265A CN201610503082.0A CN201610503082A CN105893265A CN 105893265 A CN105893265 A CN 105893265A CN 201610503082 A CN201610503082 A CN 201610503082A CN 105893265 A CN105893265 A CN 105893265A
- Authority
- CN
- China
- Prior art keywords
- source code
- project
- server
- test cell
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The invention discloses an automatic software project detecting system and method. The system comprises a remote project server, a source code managing cluster, a database server, a detecting module and an interacting platform. The source code managing cluster comprises one source code managing server or a plurality of source code managing servers; the remote project server is used for providing service for the source code managing cluster, the database server and the interacting platform; the source code server is used for managing code data submitted by a user; the database server is used for storing data; the detecting module is used for detecting the code data submitted by the user and storing a detecting result in the database server; the interacting platform is used for providing an interacting page for a manager, and the manager can look up, count and analyze the detecting result of the code data submitted by the user through the interacting platform. The automatic software project detecting system and method can effectively test software projects and grasp and track behaviors of the user and a submitting process.
Description
Technical field
The present invention relates to a kind of software project automatic checkout system and method.
Background technology
For student and software development tester, during the carrying out of software project, need
Software code is tested, but existing test system structure is complicated, operation complexity, and
The behavior of user and submission process cannot be grasped and followed the tracks of.
Therefore a kind of simple in construction, the software project automatic checkout system of simple operation and method are urgently
Propose.
Summary of the invention
In order to solve above-mentioned technical problem, the present invention proposes software project automatic checkout system
And method, this system frame structure is reasonable, this detection method simple operation, and it can be effective
Behavior and submission process to user are grasped and are followed the tracks of, and are particularly suited for teaching system.
In order to achieve the above object, technical scheme is as follows:
Software project automatic checkout system includes: project remote server, source code management cluster,
Database server, detection module and interaction platform, source code management cluster includes one or many
Individual source code management server;
Project remote server respectively with source code management cluster, database server and put down alternately
Platform connects, and project remote server is used for as source code management cluster, database server and friendship
Platform provides service mutually, and project remote server periodically synchronizes user from source code management server
Operation data, and these operation data collected are analyzed and calculate, by result of calculation
In input database server;
Source code management server is connected with project remote server and detection module respectively, source code pipe
Reason server is managed for the code data submitting user to;
Database server is respectively with project remote server, detection module and interaction platform even
Connecing, database server is used for storing each data;
Detection module is connected with source code management server and database server respectively, detection module
For the code data that user submits to being detected, and testing result is stored in data base's clothes
In business device;
Interaction platform is connected with project remote server and database server respectively, interaction platform
For providing interaction page for manager, the generation that user is submitted to by manager by this interaction platform
The test result of code data carries out consulting, statistics and analysis.
Invention software project automatic checkout system frame structure is reasonable, can effectively carry out software
The test of project, and the behavior and submission process to user grasp and follow the tracks of.
On the basis of technique scheme, also can do and improve as follows:
As preferred scheme, source code management server is connected with user side, and user side is from source code
Management server is downloaded or uploads project resource framework, and user utilizes this project resource framework to carry out
The test of software project.
Using above-mentioned preferred scheme, user utilizes project resource framework to carry out the survey of software project
Examination, for different testing schemes, changes project resource framework.
As preferred scheme, detection module includes: test cell and compilation unit;
Test cell downloads code data from source code management server, and this code data is sent
Being compiled performing to compilation unit, the execution result after Complied executing is returned to by compilation unit
Test cell, this execution result is mated by test cell with correct option, draws test knot
Really.
Use above-mentioned preferred scheme, simple in construction, utilize the generation that user is submitted to by detection module
Code data detect automatically.
As preferred scheme, detection module also includes: timing control unit, timing controlled list
Unit controls test cell timing and enters from one or more source code management servers download code data
Row is uniformly processed, and this code data is sent to compilation unit and is compiled performing by test cell,
Execution result after Complied executing is returned to test cell by compilation unit, and this is held by test cell
Row result is mated with correct option, draws test result.
Use above-mentioned preferred scheme, utilize timing control unit to test cell and compilation unit
It is timed, controls it and code data is timed is uniformly processed, improve detection efficiency, fall
Low energy consumption.
As preferred scheme, test result is sent to database server by test cell to be carried out
Storage, interaction platform is downloaded test result from database server, and this test result is existed
It is shown on interaction platform.
Use above-mentioned preferred scheme, it is simple to manager consults.
As preferred scheme, manager is created by interaction platform, revises, deletes correspondence
Project resource framework, and the project resource framework after updating is sent to database server and carries out
Storage.
Using above-mentioned preferred scheme, manager can be by interaction platform to project resource framework
It is managed.
As preferred scheme, source code management server is SVN server, and user side is SVN
Customer side.
Use above-mentioned preferred scheme, simple in construction.
As preferred scheme, the use authority of user can be carried out by manager by interaction platform
Management.
Use above-mentioned preferred scheme, user is managed.
Software project automatic testing method, utilizes software project automatic checkout system to detect,
Comprise the following steps:
1) user side is from source code management server download items resource framework, and user utilizes this
Mesh resource framework carries out the test of software project, submits code data to;
2) project remote server periodically synchronizes the operand of user from source code management server
According to, and these operation data collected are analyzed and calculate, by result of calculation logging data
In the server of storehouse;
3) test cell downloads, from source code management server, the code data that user submits to, and will
This code data is sent to compilation unit and is compiled performing, and compilation unit is by after Complied executing
Performing result and return to test cell, this execution result and correct option are carried out by test cell
Join, draw test result;
4) test result is sent to database server and stores by test cell, puts down alternately
Platform downloads test result from database server, and this test result is enterprising at interaction platform
Row is shown.
One software project automatic testing method simple operation of the present invention.
As preferred scheme, step 2) also include: timing control unit controls test cell
Timing is downloaded code data from one or more source code management servers and is uniformly processed, test
This code data is sent to compilation unit and is compiled performing by unit, and compiling is held by compilation unit
Execution result after row returns to test cell, and test cell is by this execution result and correct option
Mate, draw test result.
Use above-mentioned preferred scheme, utilize timing control unit to test cell and compilation unit
It is timed, controls it and code data is timed is uniformly processed, improve detection efficiency, fall
Low energy consumption.
Accompanying drawing explanation
The structural representation of the software project automatic checkout system that Fig. 1 provides for the embodiment of the present invention.
Wherein: 1 project remote server, 2 database servers, 3 interaction platforms, 4 source codes
Management server, 5 user sides, 6 detection modules.
Detailed description of the invention
Describe the preferred embodiment of the present invention below in conjunction with the accompanying drawings in detail.
As it is shown in figure 1, in order to reach the purpose of the present invention, software project automatic checkout system
In some of them embodiment,
Software project automatic checkout system includes: project remote server 1, source code management cluster,
Database server 2, interaction platform 3 and detection module 6, source code management cluster includes one
Individual or multiple source code management servers 4.
Project remote server 1 respectively with source code management cluster, database server 2 and hand over
Platform 3 connects mutually, and project remote server 1 is used for as source code management cluster, database service
Device 2 and interaction platform 3 provide service, project remote server 1 periodically to take from source code management
Business device 4 synchronizes the operation data of user, and these operation data collected are analyzed and
Calculate, by result of calculation input database server 2;
Source code management server 4 is connected with project remote server 1 and detection module 6 respectively,
Source code management server 4 is managed for the code data submitting user to;
Database server 2 respectively with project remote server 1, detection module 6 and mutual
Platform 3 connects, and database server 2 is used for storing each data;
Detection module 6 is connected with source code management server 4 and database server 2 respectively, inspection
Survey module 6 code data being used for user submits to detect, and testing result is stored in
In database server 2;
Interaction platform 3 is connected with project remote server 1 and database server 2 respectively, hands over
Mutually platform 3 is for providing interaction page for manager, manager by this interaction platform 3 to
The test result of code data that family is submitted to carries out consulting, statistics and analysis.
Source code management server 4 is connected with user side 5, and user side 5 is from source code management server
4 download or upload project resource framework, and user utilizes this project resource framework to carry out software project
Test.In the present embodiment, source code management server 4 is SVN server, user side 5
For SVN customer side.
Detection module 6 includes: test cell and compilation unit;Test cell takes from source code management
Code data downloaded by business device 4, and this code data is sent to compilation unit is compiled performing,
Execution result after Complied executing is returned to test cell by compilation unit, and this is held by test cell
Row result is mated with correct option, draws test result.Test result is sent out by test cell
Giving database server 2 to store, interaction platform downloads survey from database server 2
Test result, and this test result is shown on interaction platform 3.
Manager creates, revises, deletes the project resource framework of correspondence by interaction platform 3,
And the project resource framework after updating is sent to database server 2 and stores.Manager
By interaction platform 3, project resource framework can be managed.
Software project automatic testing method, utilizes software project automatic checkout system to detect,
Comprise the following steps:
1) user side 5 utilizes from source code management server 4 download items resource framework, user
This project resource framework carries out the test of software project, submits code data to;
2) project remote server 1 periodically synchronizes the behaviour of user from source code management server 4
Make data, and these operation data collected are analyzed and calculate, by result of calculation typing
In database server;
3) test cell downloads, from source code management server 4, the code data that user submits to, and
This code data being sent to compilation unit be compiled performing, compilation unit is by after Complied executing
Execution result return to test cell, this execution result is carried out by test cell with correct option
Coupling, draws test result;
4) test result is sent to database server 2 and stores, alternately by test cell
Test result downloaded from database server by platform 3, and by this test result at interaction platform
On be shown.
Project remote server 1 is used for as source code management cluster, database server 2 and hands over
Platform 3 provides service mutually, and periodic synchronization SVN daily record, periodically according to project scaffold template
SVN project is created, the synchronization of project authority, regular update item in regular SVN in SVN
Mesh state: project starts, project expires, project status maintenance, real time modifying SVN services
Upper file authority.Source code management server 4 runs the associative operation days such as the code submission of generation
Will record is for carrying out data tracking analysis offer data source.Project remote server 1 access originator
Code management server 4 carry out File Upload and Download, obtain Operation Log, to obtain single file poor
Heteromerism evidence.Project remote server 1 by warehouse on WMI operation source code management server 4,
Catalogue, user, the establishment amendment etc. of authority.User platform 3 is by project remote server 1
The establishment of authority on operation source code management server 4, revise, deletion etc..
Manager creates, revises, deletes the project resource framework of correspondence by interaction platform 3,
User utilizes project resource framework to carry out the test of software project, for different testing schemes,
Change project resource framework.Project can be managed by manager by interaction platform 3,
Control corresponding project and be in time-out, the one continuing, stopping in three kinds of states.
The present invention proposes software project automatic checkout system and method, and this system frame structure closes
Reason, this detection method simple operation, and it can effectively enter in behavior and submission process to user
Row is grasped and is followed the tracks of, and is particularly suited for teaching system, and wherein manager can be teacher, user
Can be student.Student can utilize this software project automatic checkout system to carry out software course
Study, in order to improve the learning effect of software course, reduces the labor intensity of teacher, and passes through
This software project automatic checkout system, the behavior of student and submission process can be carried out grasp and
Following the tracks of, device action process can be analyzed by teacher, deeper understanding student learning
Dynamically, student learning effect is improved.
In order to optimize the implementation result of the present invention further, in other embodiment,
Remaining feature technology is identical, and difference is, detection module 6 also includes: timing controlled list
Unit, timing control unit controls test cell timing from one or more source code management servers 4
Downloading code data to be uniformly processed, this code data is sent to compilation unit by test cell
Being compiled performing, the execution result after Complied executing is returned to test cell by compilation unit,
This execution result is mated by test cell with correct option, draws test result.
Step 2 in software project automatic testing method) also include: timing control unit controls
Test cell timing is downloaded code data from one or more source code management servers and is unified
Processing, this code data is sent to compilation unit and is compiled performing by test cell, and compiling is single
Execution result after Complied executing is returned to test cell by unit, and test cell is by this execution result
Mate with correct option, draw test result.
Use the scheme of above preferred embodiment, utilize timing control unit to test cell and volume
Translate unit to be timed, control it and code data is timed is uniformly processed, improve detection effect
Rate, reduces energy consumption.
In order to optimize the implementation result of the present invention further, in other embodiment,
Remaining feature technology is identical, and difference is, manager can be by interaction platform 3 to user
Use authority be managed.
Using the scheme of above preferred embodiment, user can be managed by manager, is suitable for
In different application and environments.
Above is only the preferred embodiment of the present invention, it is noted that for this area
For those of ordinary skill, without departing from the concept of the premise of the invention, it is also possible to do
Going out some deformation and improvement, these broadly fall into protection scope of the present invention.
Claims (10)
1. software project automatic checkout system, it is characterised in that including: project remote server, source
Code management cluster, database server, detection module and interaction platform, described source code management collection
Group includes one or more described source code management server;
Described project remote server respectively with described source code management cluster, described database server
And described interaction platform connects, described project remote server for for described source code management cluster,
Described database server and described interaction platform provide service, and described project remote server is fixed
Phase synchronizes the operation data of user, and this operation that will collect from described source code management server
Data are analyzed and calculate, by database server described in result of calculation typing;
Described source code management server connects with described project remote server and described detection module respectively
Connecing, described source code management server is managed for the code data submitting user to;
Described database server respectively with described project remote server, described detection module and
Described interaction platform connects, and described database server is used for storing each data;
Described detection module connects with described source code management server and described database server respectively
Connecing, the code data that described detection module is used for user submits to detects, and by testing result
It is stored in described database server;
Described interaction platform connects with described project remote server and described database server respectively
Connecing, described interaction platform is for providing interaction page for manager, and manager is by this interaction platform
The test result of code data submitting user to is consulted, statistics and analysis.
Software project automatic checkout system the most according to claim 1, it is characterised in that described
Source code management server is connected with user side, and described user side is downloaded from described source code management server
Or uploading project resource framework, user utilizes this project resource framework to carry out the test of software project.
Software project automatic checkout system the most according to claim 2, it is characterised in that described
Detection module includes: test cell and compilation unit;
Described test cell downloads code data from described source code management server, and by this code number
Being compiled performing according to being sent to described compilation unit, described compilation unit is by holding after Complied executing
Row result returns to described test cell, and this execution result is entered by described test cell with correct option
Row coupling, draws test result.
Software project automatic checkout system the most according to claim 3, it is characterised in that described
Detection module also includes: timing control unit, and described timing control unit controls described test cell
Timing is downloaded code data from one or more described source code management servers and is uniformly processed, institute
State test cell this code data is sent to described compilation unit be compiled perform, described compiling
Execution result after Complied executing is returned to described test cell by unit, and described test cell should
Perform result to mate with correct option, draw test result.
5. according to the software project automatic checkout system described in claim 3 or 4, it is characterised in that
Described test result is sent to described database server and stores by described test cell, described
Interaction platform downloads test result from described database server, and by this test result described
It is shown on interaction platform.
Software project automatic checkout system the most according to claim 5, it is characterised in that management
Member creates, revises, deletes the described project resource framework of correspondence by described interaction platform, and will
Project resource framework after renewal is sent to described database server and stores.
Software project automatic checkout system the most according to claim 6, it is characterised in that management
The use authority of user can be managed by member by described interaction platform.
Software project automatic checkout system the most according to claim 7, it is characterised in that described
Source code management server is SVN server, and described user side is SVN customer side.
9. software project automatic testing method, it is characterised in that utilize any one of claim 3-8
Described software project automatic checkout system detects, and comprises the following steps:
1) user side utilizes this project to provide from source code management server download items resource framework, user
Source framework carries out the test of software project, submits code data to;
2) project remote server periodically synchronizes the operation data of user from source code management server,
And these operation data collected are analyzed and calculate, by data base described in result of calculation typing
In server;
3) test cell downloads, from source code management server, the code data that user submits to, and by this generation
Code data are sent to compilation unit and are compiled performing, and compilation unit will perform knot after Complied executing
Fruit returns to test cell, and this execution result is mated by test cell with correct option, draws
Test result;
4) test result is sent to described database server and stores by test cell, puts down alternately
Platform downloads test result from database server, and this test result is carried out on interaction platform
Show.
Software project automatic testing method the most according to claim 9, it is characterised in that institute
State step 2) also include: timing control unit controls the timing of described test cell from one or more institutes
Stating source code management server download code data to be uniformly processed, described test cell is by this code
Data are sent to described compilation unit and are compiled performing, and described compilation unit is by after Complied executing
Performing result and return to described test cell, described test cell is by this execution result and correct option
Mate, draw test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610503082.0A CN105893265B (en) | 2016-06-30 | 2016-06-30 | Software project automatic checkout system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610503082.0A CN105893265B (en) | 2016-06-30 | 2016-06-30 | Software project automatic checkout system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893265A true CN105893265A (en) | 2016-08-24 |
CN105893265B CN105893265B (en) | 2018-08-28 |
Family
ID=56719575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610503082.0A Active CN105893265B (en) | 2016-06-30 | 2016-06-30 | Software project automatic checkout system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893265B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726123A (en) * | 2018-12-20 | 2019-05-07 | 北京每日优鲜电子商务有限公司 | The detection system and detection method of code quality |
CN109739511A (en) * | 2019-01-07 | 2019-05-10 | 深圳忆联信息系统有限公司 | A kind of method, apparatus, computer equipment and storage medium improving code verification efficiency |
CN110096303A (en) * | 2019-04-22 | 2019-08-06 | 无线生活(杭州)信息科技有限公司 | Code detection method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020038388A1 (en) * | 2000-09-13 | 2002-03-28 | Netter Zvi Itzhak | System and method for capture and playback of user interaction with web browser content |
CN101944060A (en) * | 2010-09-10 | 2011-01-12 | 华南理工大学 | Embedded software-based fineness detection method |
CN103136161A (en) * | 2011-11-29 | 2013-06-05 | 北京建龙重工集团有限公司 | On-line management method of checking and tracking of job schedule abnormalities |
CN103685348A (en) * | 2012-09-03 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Cloud enforcing system and method |
-
2016
- 2016-06-30 CN CN201610503082.0A patent/CN105893265B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020038388A1 (en) * | 2000-09-13 | 2002-03-28 | Netter Zvi Itzhak | System and method for capture and playback of user interaction with web browser content |
CN101944060A (en) * | 2010-09-10 | 2011-01-12 | 华南理工大学 | Embedded software-based fineness detection method |
CN103136161A (en) * | 2011-11-29 | 2013-06-05 | 北京建龙重工集团有限公司 | On-line management method of checking and tracking of job schedule abnormalities |
CN103685348A (en) * | 2012-09-03 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Cloud enforcing system and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726123A (en) * | 2018-12-20 | 2019-05-07 | 北京每日优鲜电子商务有限公司 | The detection system and detection method of code quality |
CN109739511A (en) * | 2019-01-07 | 2019-05-10 | 深圳忆联信息系统有限公司 | A kind of method, apparatus, computer equipment and storage medium improving code verification efficiency |
CN110096303A (en) * | 2019-04-22 | 2019-08-06 | 无线生活(杭州)信息科技有限公司 | Code detection method and device |
CN110096303B (en) * | 2019-04-22 | 2023-06-02 | 无线生活(杭州)信息科技有限公司 | Code detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105893265B (en) | 2018-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542791B (en) | A kind of program large-scale concurrent evaluating method based on container technique | |
CN105379183B (en) | Variable duration window on continuous data stream | |
CN102693183B (en) | Method and system for realizing automatic software testing | |
Humayoun et al. | A three-fold integration framework to incorporate user–centered design into agile software development | |
Scheller et al. | Increasing the reliability of ecological models using modern software engineering techniques | |
CN105893265A (en) | Automatic software project detecting system and method | |
CN103257852B (en) | The method and apparatus that a kind of development environment of distribution application system is built | |
CN107807815A (en) | The method and apparatus of distributed treatment task | |
Saman | Monitoring and analysis of microservices performance | |
Estévez-Ayres et al. | Lostrego: A distributed stream-based infrastructure for the real-time gathering and analysis of heterogeneous educational data | |
Gadepally et al. | Hyperscaling internet graph analysis with d4m on the mit supercloud | |
KR20230074651A (en) | Enterprise process graph to represent RPA data | |
CN110750582B (en) | Data processing method, device and system | |
CN111143336A (en) | College scientific research data management-oriented web crawler management method and platform | |
Baquero et al. | A Framework to Support Business Process Analytics. | |
Bernardi et al. | Advancements in knowledge elicitation for computer-based critical systems | |
CN115422427A (en) | Employment skill requirement analysis system | |
CN111797084B (en) | Data coding through mark inspection method and system based on weapon equipment test flow | |
Luke | Continuously collecting software development event data as students program | |
Gujral et al. | An exploratory semantic analysis of logging questions | |
Capodieci et al. | A case study to enable and monitor real IT companies migrating from waterfall to agile | |
Aharoni et al. | Smarter log analysis | |
Versluis et al. | The Workflow Trace Archive: Open-Access Data from Public and Private Computing Infrastructures--Technical Report | |
Leppänen et al. | Towards post-agile development practices through productized development infrastructure | |
Wen et al. | Applying latest data science technology in cancer screening programs |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20191224 Address after: 210000 office room 220-50, 2f, science and technology innovation center, No.1 Xiankun Road, Jiangxinzhou, Jianye District, Nanjing City, Jiangsu Province Patentee after: Nanjing qiancui Intelligent Technology Service Co., Ltd Address before: 215000, No. 1, building 88, 5 Jixian street, Suzhou Industrial Park, Suzhou, Jiangsu Patentee before: Iflytek Co., LTd. |