CN105630683B - A kind of cloud testing architecture - Google Patents
A kind of cloud testing architecture Download PDFInfo
- Publication number
- CN105630683B CN105630683B CN201511030487.9A CN201511030487A CN105630683B CN 105630683 B CN105630683 B CN 105630683B CN 201511030487 A CN201511030487 A CN 201511030487A CN 105630683 B CN105630683 B CN 105630683B
- Authority
- CN
- China
- Prior art keywords
- data
- file
- test
- layer
- development platform
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 98
- 238000011161 development Methods 0.000 claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000004891 communication Methods 0.000 claims abstract description 8
- 238000012544 monitoring process Methods 0.000 claims description 20
- 238000012216 screening Methods 0.000 claims description 3
- 238000012546 transfer Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
This application discloses a kind of cloud testing architectures, including user interface layer, testing service layer, foundational development platform and infrastructure layer;Foundational development platform includes cloud computing center;Infrastructure layer includes data-base cluster;Wherein, user interface layer is used to send test request to testing service layer;Testing service layer is used to generate corresponding data to be tested and test instruction, and data to be tested and test instruction are sent to foundational development platform according to test request;Foundational development platform is used to be instructed according to test, corresponding computing resource is transferred from cloud computing center, and utilize the distributed file system and data-base cluster progress data communication in cloud computing center, to obtain corresponding data resource from data-base cluster, and utilize computing resource and data resource, it treats test data and carries out test processes, and corresponding test result is back to user interface layer.The application improves the efficiency of software test, and reduces testing cost.
Description
Technical field
The present invention relates to the field of test technology, in particular to a kind of cloud testing architecture.
Background technique
Currently, quality and stability of the software developer in order to ensure software, needs before software is issued to software
It is largely tested, this aspect needs to consume a large amount of manpower and material resources, on the other hand can also extend the test week of software
Phase.It follows that how improving the efficiency of software test and reducing testing cost is current urgent problem to be solved.
Summary of the invention
In view of this, the efficiency of software test is improved the purpose of the present invention is to provide a kind of cloud testing architecture,
And reduce testing cost.Its concrete scheme is as follows:
A kind of cloud testing architecture, including user interface layer, testing service layer, foundational development platform and infrastructure
Layer;The foundational development platform includes cloud computing center;The infrastructure layer includes data-base cluster;Wherein,
The user interface layer, for sending test request to the testing service layer;
The testing service layer, for generating corresponding data to be tested and test instruction according to the test request, and
The data to be tested and test instruction are sent to the foundational development platform;
The foundational development platform transfers corresponding calculating from the cloud computing center for instructing according to the test
Resource, and data communication is carried out with the data-base cluster using the distributed file system in the cloud computing center, with
Corresponding data resource is obtained from the data-base cluster, and utilizes the computing resource and the data resource, to described
Data to be tested carry out test processes, and corresponding test result is back to the user interface layer.
Preferably, the user interface layer includes desktop computer, smart phone and tablet computer;
The testing service layer is developed to obtain based on TaaS service mode;
The foundational development platform is developed to obtain based on PaaS service mode;
The infrastructure layer is developed to obtain based on IaaS service mode.
Preferably, the cloud computing center be based on distributed principle, and by using the infrastructure layer provide
The ceph cloud computing center that resource is built.
Preferably, the distributed file system includes:
File size judgment module, the file size of the file for judging to be sent to the distributed file system;
First writing module then should for determining that any file is mass file when the file size judging unit
File writes direct the distributed file system;
Second writing module then should for determining that any file is small files when the file size judgment module
File write-in caching;
Wherein, the mass file is the file that file size is greater than the first preset value, and the small files are that file is big
The small file less than or equal to first preset value.
Preferably, the distributed file system further include:
Frequency of use monitoring modular is monitored for the frequency of use to the file saved in the caching;
Third writing module, for making when any file of the frequency of use monitoring module monitors into the caching
It is greater than the second preset value with frequency, then the file system is written into index information corresponding to this document;
4th writing module, for making when any file of the frequency of use monitoring module monitors into the caching
It is less than third preset value with frequency, then preset low frequency is written into index information corresponding to this document and cached.
Preferably, the infrastructure layer further include:
Node load monitoring modular carries out real for the load to each of data-base cluster database node
When monitor, obtain corresponding real time load information;
Dynamic access control module is used for according to the real time load information, and is based on load balancing principle, to the number
Screening Treatment is carried out according to library cluster, to utilize the database node screened to the file sent from the distributed file system
Access request carries out reply process.
Preferably, the node load monitoring modular, specifically for cpu load, the I/O load and interior to database node
It deposits load and carries out real-time monitoring.
In the present invention, cloud testing architecture, including user interface layer, testing service layer, foundational development platform and basis
Facility layer;Foundational development platform includes cloud computing center;Infrastructure layer includes data-base cluster;Wherein, user interface layer is used
In to testing service layer send test request;Testing service layer is used for according to test request, generate corresponding data to be tested and
Test instruction, and data to be tested and test instruction are sent to foundational development platform;Foundational development platform is used for according to test
Instruction transfers corresponding computing resource from cloud computing center, and utilizes the distributed file system and number in cloud computing center
Data communication is carried out according to library cluster, to obtain corresponding data resource from data-base cluster, and utilizes computing resource and data
Resource treats test data and carries out test processes, and corresponding test result is back to user interface layer.As it can be seen that of the invention
It is that computing resource is transferred using cloud computing center to be surveyed to corresponding data to be tested during carrying out software test
Examination processing, since the computing capability of cloud computing center is much higher than the operational capability of separate unit hardware terminal, to greatly improve
Test processes speed;Also, above-mentioned cloud computing center is by distributed file system and the data on infrastructure layer
Library cluster carries out data communication, since distributed file system is compared to the local arrived used in existing software test procedure
File system, distributed file system have high availability, powerful extended capability and the reliability for ensuring data storage,
And distributed file system conveniently treats test data and carries out transmitted in parallel processing, to further improve testing efficiency.
To sum up, the present invention improves the efficiency of software test, and reduces testing cost.
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
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of cloud testing architecture schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Shown in Figure 1 the embodiment of the invention discloses a kind of cloud testing architecture, which includes user interface layer
11, testing service layer 12, foundational development platform 13 and infrastructure layer 14;Foundational development platform 13 includes cloud computing center 130;
Infrastructure layer 14 includes data-base cluster 140;Wherein,
User interface layer 11, for sending test request to testing service layer 12;
Testing service layer 12, for generating corresponding data to be tested and test instruction according to test request, and will be to be measured
Examination data and test instruction are sent to foundational development platform 13;
Foundational development platform 13, for transferring corresponding computing resource from cloud computing center 130 according to test instruction, with
And using in cloud computing center 130 distributed file system 1301 and data-base cluster 140 carry out data communication, with from data
Corresponding data resource is obtained in library cluster 140, and utilizes computing resource and data resource, is treated test data and is carried out at test
Reason, and corresponding test result is back to user interface layer 11.
It should be noted that above-mentioned user interface layer 11 may include that desktop computer, smart phone and tablet computer etc. are whole
End equipment.
In the embodiment of the present invention, cloud testing architecture, including user interface layer, testing service layer, foundational development platform
And infrastructure layer;Foundational development platform includes cloud computing center;Infrastructure layer includes data-base cluster;Wherein, Yong Hujie
Mouth layer is used to send test request to testing service layer;Testing service layer is used to be generated corresponding to be tested according to test request
Data and test instruction, and data to be tested and test instruction are sent to foundational development platform;Foundational development platform is used for root
It is instructed according to test, transfers corresponding computing resource from cloud computing center, and utilize the distributed field system in cloud computing center
System carries out data communication with data-base cluster, to obtain corresponding data resource from data-base cluster, and utilizes computing resource
And data resource, it treats test data and carries out test processes, and corresponding test result is back to user interface layer.
As it can be seen that the embodiment of the present invention is during carrying out software test, it is to transfer computing resource using cloud computing center
To carry out test processes to corresponding data to be tested, since the computing capability of cloud computing center is much higher than separate unit hardware terminal
Operational capability, to greatly improve test processes speed;Also, above-mentioned cloud computing center is to pass through distributed file system
Data communication is carried out with the data-base cluster being located on infrastructure layer, since distributed file system is compared to existing software
The local file system arrived used in test process, distributed file system have high availability, powerful extended capability with
And ensure the reliability of data storage, and distributed file system conveniently treats test data and carries out transmitted in parallel processing,
To further improve testing efficiency.To sum up, the embodiment of the present invention improves the efficiency of software test, and reduce test at
This.
The embodiment of the invention discloses a kind of specific cloud testing architectures, relative to a upper embodiment, the present embodiment
Further instruction and optimization have been made to technical solution.It is specific:
In the present embodiment, testing service layer be based on TaaS service mode (TaaS, i.e. Testing as a Service,
Test services) developed;Foundational development platform is based on PaaS service mode (PaaS, i.e. Platform as a
Service, platform are to service) it is developed;Infrastructure layer be based on IaaS service mode (IaaS, i.e.,
Infrastructure as a Service, infrastructure are to service) it is developed.
In addition, cloud computing center in the present embodiment is based on distributed principle, and by being provided using infrastructure layer
The ceph cloud computing center built of resource (ceph is a kind of distributed file system).
Specifically, in order to improve file process mechanism, above-mentioned distributed file system may further include file size
Judgment module, the first writing module and the second writing module;Wherein,
File size judgment module, the file size of the file for judging to be sent to distributed file system;
First writing module, for determining that any file is mass file when file size judging unit, then by this document
Write direct distributed file system;
Second writing module, for determining that any file is small files when file size judgment module, then by this document
Write-in caching;
Wherein, mass file be file size be greater than the first preset value file, small files be file size be less than or
Equal to the file of the first preset value.
Further, above-mentioned distributed file system can also include frequency of use monitoring modular, third writing module and
4th writing module;Wherein,
Frequency of use monitoring modular is monitored for the frequency of use to the file saved in caching;
Third writing module is big for the frequency of use when any file of the frequency of use monitoring module monitors into caching
In the second preset value, then file system is written into index information corresponding to this document;
4th writing module is small for the frequency of use when any file of the frequency of use monitoring module monitors into caching
In third preset value, then preset low frequency is written into index information corresponding to this document and cached.
In order to avoid there is the problem of laod unbalance between database node, infrastructure layer be can further include
Node load monitoring modular and dynamic access control module;Wherein,
Node load monitoring modular is supervised in real time for the load to each of data-base cluster database node
It surveys, obtains corresponding real time load information;
Dynamic access control module is used for according to real time load information, and is based on load balancing principle, to data-base cluster
Screening Treatment is carried out, to carry out using the database node screened to the file access request sent from distributed file system
Reply process.
Wherein, above-mentioned node load monitoring modular, specifically for cpu load, I/O load and the memory to database node
Load carries out real-time monitoring.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of cloud testing architecture provided by the present invention is described in detail above, it is used herein specifically
Principle and implementation of the present invention are described for a example, the present invention that the above embodiments are only used to help understand
Method and its core concept;At the same time, for those skilled in the art is being embodied according to the thought of the present invention
There will be changes in mode and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (2)
1. a kind of cloud testing architecture, which is characterized in that including user interface layer, testing service layer, foundational development platform and
Infrastructure layer;The foundational development platform includes cloud computing center;The infrastructure layer includes data-base cluster;Wherein,
The user interface layer, for sending test request to the testing service layer;
The testing service layer, for according to the test request, generating corresponding data to be tested and test instruction, and by institute
It states data to be tested and test instruction is sent to the foundational development platform;
The foundational development platform, for transferring corresponding computing resource from the cloud computing center according to test instruction,
And using in the cloud computing center distributed file system and the data-base cluster carry out data communication, with from described
Corresponding data resource is obtained in data-base cluster, and utilizes the computing resource and the data resource, to described to be tested
Data carry out test processes, and corresponding test result is back to the user interface layer;
Wherein, the user interface layer includes desktop computer, smart phone and tablet computer;The testing service layer be based on
TaaS service mode is developed;The foundational development platform is developed to obtain based on PaaS service mode;
The infrastructure layer is developed to obtain based on IaaS service mode;
Also, the distributed file system includes: file size judgment module, is sent to the distributed document for judging
The file size of the file of system;First writing module, for determining that any file is big when the file size judging unit
This document is then write direct the distributed file system by type file;Second writing module, for sentencing when the file size
Disconnected module determines that any file is small files, then this document is written and caches;Wherein, the mass file is that file size is big
In the file of the first preset value, the small files are the file that file size is less than or equal to first preset value;
The distributed file system further include: frequency of use monitoring modular, for making to the file saved in the caching
It is monitored with frequency;Third writing module, for when the frequency of use monitoring module monitors to any in the caching
The frequency of use of file is greater than the second preset value, then the file system is written in index information corresponding to this document;4th
Writing module, for the frequency of use when any file of the frequency of use monitoring module monitors into the caching less than the
Index information corresponding to this document is then written preset low frequency and cached by three preset values;
The infrastructure layer further include: node load monitoring modular, for each of data-base cluster data
The load of library node carries out real-time monitoring, obtains corresponding real time load information;Dynamic access control module, for according to
Real time load information, and it is based on load balancing principle, Screening Treatment is carried out to the data-base cluster, to utilize the number screened
Reply process is carried out to the file access request sent from the distributed file system according to library node;
It is real to be loaded into row specifically for cpu load, I/O load and the memory negative to database node for the node load monitoring modular
When monitor.
2. cloud testing architecture according to claim 1, which is characterized in that the cloud computing center is based on distribution
Principle, and the ceph cloud computing center that the resource by being provided using the infrastructure layer is built.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030487.9A CN105630683B (en) | 2015-12-31 | 2015-12-31 | A kind of cloud testing architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030487.9A CN105630683B (en) | 2015-12-31 | 2015-12-31 | A kind of cloud testing architecture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105630683A CN105630683A (en) | 2016-06-01 |
CN105630683B true CN105630683B (en) | 2019-01-18 |
Family
ID=56045653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511030487.9A Active CN105630683B (en) | 2015-12-31 | 2015-12-31 | A kind of cloud testing architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105630683B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109901983B (en) * | 2017-12-07 | 2022-09-06 | 北京京东尚科信息技术有限公司 | Automatic testing method and device, storage medium and electronic equipment |
CN108255712B (en) * | 2017-12-29 | 2021-05-14 | 曙光信息产业(北京)有限公司 | Test system and test method of data system |
US10983897B2 (en) * | 2018-01-30 | 2021-04-20 | International Business Machines Corporation | Testing embedded systems and application using hardware-in-the-loop as a service (HILAAS) |
CN110297766B (en) * | 2019-06-03 | 2023-05-30 | 合肥移瑞通信技术有限公司 | Software testing method and software testing system based on distributed test node cluster |
CN111026635B (en) * | 2019-09-27 | 2021-03-05 | 珠海必要工业科技股份有限公司 | Software project testing system, method, device and storage medium |
CN110958307B (en) * | 2019-11-20 | 2022-04-08 | 瑞玛思特(北京)科技有限公司 | Cloud-based 5G and Internet of things signal generation and analysis test system |
CN113656233B (en) * | 2021-09-01 | 2023-07-28 | 航天中认软件测评科技(北京)有限责任公司 | Cloud test resource pushing method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103581247A (en) * | 2012-07-30 | 2014-02-12 | 杭州洱海科技有限公司 | Method for testing distributed type Web based on cloud computing environment |
US9465726B2 (en) * | 2013-06-05 | 2016-10-11 | Vmware, Inc. | Abstract layer for automatic user interface testing |
CN104639347A (en) * | 2013-11-07 | 2015-05-20 | 北大方正集团有限公司 | Multi-cluster monitoring method and device, and system |
CN105068926A (en) * | 2015-08-04 | 2015-11-18 | 腾讯科技(深圳)有限公司 | Program test method and device thereof |
-
2015
- 2015-12-31 CN CN201511030487.9A patent/CN105630683B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105630683A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105630683B (en) | A kind of cloud testing architecture | |
US8332367B2 (en) | Parallel data redundancy removal | |
JP2021505993A (en) | Robust gradient weight compression scheme for deep learning applications | |
CN110580197A (en) | Distributed computing architecture for large model deep learning | |
CN104375897B (en) | Cloud computing resource scheduling method based on the unbalanced degree of minimum relative load | |
CN103970587B (en) | A kind of method, apparatus and system of scheduling of resource | |
CN102694868A (en) | Cluster system implementation and task dynamic distribution method | |
CN109614227A (en) | Task resource concocting method, device, electronic equipment and computer-readable medium | |
Ubarhande et al. | Novel data-distribution technique for Hadoop in heterogeneous cloud environments | |
CN110795233B (en) | Distributed resource allocation method and device and electronic equipment | |
CN107370835A (en) | A kind of cloud computing center network architecture based on SDN and NFV technologies | |
CN105227489A (en) | A kind of bandwidth management method and electronic equipment | |
CN106293945A (en) | A kind of resource perception method and system across virtual machine | |
CN110083341A (en) | A kind of front end development platform, front end development approach and page display method | |
CN105849715A (en) | Efficient resource utilization in data centers | |
CN105874431A (en) | Computing system with reduced data exchange overhead and related data exchange method thereof | |
CN109739439A (en) | The distributed storage method and system of large capacity energy-storage system mass data | |
CN114676079A (en) | Information processing system and data arrangement method in information processing system | |
CN103677996B (en) | Collaboration method and system for balancing workload distribution | |
CN105760284A (en) | Website performance monitoring method and device | |
JP2019144656A (en) | Application dividing device, method, and program | |
JP2019159693A (en) | Information processing device, information processing terminal, and program | |
CN109947531B (en) | Storage capacity expansion method and device of super-fusion all-in-one machine and storage medium | |
CN117056123A (en) | Data recovery method, device, medium and electronic equipment | |
CN114640681B (en) | Data processing method and system |
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 |