CN105630683A - Cloud testing architecture - Google Patents

Cloud testing architecture Download PDF

Info

Publication number
CN105630683A
CN105630683A CN201511030487.9A CN201511030487A CN105630683A CN 105630683 A CN105630683 A CN 105630683A CN 201511030487 A CN201511030487 A CN 201511030487A CN 105630683 A CN105630683 A CN 105630683A
Authority
CN
China
Prior art keywords
testing
file
data
cloud
layer
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
Application number
CN201511030487.9A
Other languages
Chinese (zh)
Other versions
CN105630683B (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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201511030487.9A priority Critical patent/CN105630683B/en
Publication of CN105630683A publication Critical patent/CN105630683A/en
Application granted granted Critical
Publication of CN105630683B publication Critical patent/CN105630683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

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

The application discloses a cloud testing architecture, comprising a user interface layer, a testing service layer, a foundational development platform and an infrastructure layer, wherein the foundational development platform comprises a cloud computing center; the infrastructure layer comprises a database cluster; the user interface layer is used for sending a testing request to the testing service layer; the testing service layer is used for generating corresponding to-be-tested data and a corresponding testing instruction according to the testing request, and sending the to-be-tested data and the testing instruction to the foundational development platform; the foundational development platform is used for retrieving a computing resource from the cloud computing center according to the testing instruction, performing data communication with the database cluster by utilizing a distributed file system in the cloud computing center so as to acquire a corresponding data resource from the database cluster, performing testing processing on the to-be-tested data by utilizing the computing resource and the data resource, and returning a corresponding testing result to the user interface layer. According to cloud testing architecture disclosed by the application, software testing efficiency is increased, and testing cost is reduced.

Description

A kind of cloud testing architecture
Technical field
The present invention relates to technical field of measurement and test, particularly to a kind of cloud testing architecture.
Background technology
At present, software developer is in order to ensure the quality of software and stability, it is necessary to before software is issued, software is carried out substantial amounts of test, and this needs to consume substantial amounts of manpower and materials on the one hand, also can extend the test period of software on the other hand. It follows that how to improve the efficiency of software test and to reduce testing cost be current problem demanding prompt solution.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of cloud testing architecture, improve the efficiency of software test, 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; Described foundational development platform includes cloud computing center; Described infrastructure layer includes data-base cluster; Wherein,
Described user interface layer, for sending test request to described testing service layer;
Described testing service layer, for according to described test request, generating corresponding data to be tested and test instruction, and send described data to be tested and described test instruction to described foundational development platform;
Described foundational development platform, for according to described test instruction, transfer from described cloud computing center and calculate resource accordingly, and utilize the distributed file system in described cloud computing center to carry out data communication with described data-base cluster, to obtain corresponding data resource from described data-base cluster, and utilize described calculating resource and described data resource, described data to be tested are carried out test processes, and corresponding test result is back to described user interface layer.
Preferably, described user interface layer includes desktop computer, smart mobile phone and panel computer;
Described testing service layer is develop based on TaaS service mode to obtain;
Described foundational development platform is develop based on PaaS service mode to obtain;
Described infrastructure layer is develop based on IaaS service mode to obtain.
Preferably, described cloud computing center is based on distributed principle, and builds, by utilizing the resource that described infrastructure layer provides to carry out, the ceph cloud computing center obtained.
Preferably, described distributed file system includes:
File size judge module, for judging the file size sending the file to described distributed file system;
First writing module, for judging that arbitrary file is as mass file when described file size judging unit, then described distributed file system of this document being write direct;
When described file size judge module, second writing module, for judging that arbitrary file is as small files, then write buffer memory by this document;
Wherein, described mass file is the file size file more than the first preset value, and described small files is the file size file less than or equal to described first preset value.
Preferably, described distributed file system also includes:
Use frequency monitoring module, for the use frequency of the file preserved in described buffer memory is monitored;
3rd writing module, for the use frequency when the arbitrary file in described use frequency monitoring module monitors to described buffer memory more than the second preset value, then writes described file system by the index information corresponding to this document;
4th writing module, for the use frequency when the arbitrary file in described use frequency monitoring module monitors to described buffer memory less than the 3rd preset value, then writes the low frequency buffer memory preset by the index information corresponding to this document.
Preferably, described infrastructure layer also includes:
Node load monitoring modular, for the load of each database node in described data-base cluster is monitored in real time, obtains corresponding real time load information;
Dynamic access control module, for according to described real time load information, and based on load balancing principle, described data-base cluster is carried out Screening Treatment, to utilize the database node the screened file access request to sending from described distributed file system to carry out reply process.
Preferably, described node load monitoring modular, specifically for being loaded into row monitoring in real time to the cpu load of database node, I/O load and memory negative.
In 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, user interface layer is for sending test request to testing service layer; Testing service layer is for according to test request, generating corresponding data to be tested and test instruction, and send data to be tested and test instruction to foundational development platform; Foundational development platform is for according to test instruction, transfer from cloud computing center and calculate resource accordingly, and utilize the distributed file system in cloud computing center to carry out data communication with data-base cluster, to obtain corresponding data resource from data-base cluster, and utilize calculating resource and data resource, data to be tested are carried out test processes, and corresponding test result is back to user interface layer. Visible, the present invention is in the process carrying out software test, utilize cloud computing center to transfer calculating resource and corresponding data to be tested are carried out test processes, owing to the computing capability of cloud computing center is far above the operational capability of separate unit hardware terminal, thus greatly improving test processes speed; And, above-mentioned cloud computing center is to carry out data communication by distributed file system with the data-base cluster being positioned on infrastructure layer, owing to distributed file system is compared to the local file system used in existing software test procedure, distributed file system has high availability, powerful extended capability and ensure that the reliability that data store, and distributed file system is convenient carries out transmitted in parallel process to data to be tested, thus improving testing efficiency further. To sum up, the present invention improves the efficiency of software test, and reduces testing cost.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the disclosed a kind of cloud testing architecture schematic diagram of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of cloud testing architecture, shown in Figure 1, this framework 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 according to test request, generating corresponding data to be tested and test instruction, and send data to be tested and test instruction to foundational development platform 13;
Foundational development platform 13, for according to test instruction, transfer from cloud computing center 130 and calculate resource accordingly, and utilize the distributed file system 1301 in cloud computing center 130 to carry out data communication with data-base cluster 140, to obtain corresponding data resource from data-base cluster 140, and utilize calculating resource and data resource, data to be tested are carried out test processes, and corresponding test result is back to user interface layer 11.
It should be noted that above-mentioned user interface layer 11 can include the terminal units such as desktop computer, smart mobile phone and panel computer.
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, user interface layer is for sending test request to testing service layer; Testing service layer is for according to test request, generating corresponding data to be tested and test instruction, and send data to be tested and test instruction to foundational development platform; Foundational development platform is for according to test instruction, transfer from cloud computing center and calculate resource accordingly, and utilize the distributed file system in cloud computing center to carry out data communication with data-base cluster, to obtain corresponding data resource from data-base cluster, and utilize calculating resource and data resource, data to be tested are carried out test processes, and corresponding test result is back to user interface layer.
Visible, the embodiment of the present invention is in the process carrying out software test, utilize cloud computing center to transfer calculating resource and corresponding data to be tested are carried out test processes, owing to the computing capability of cloud computing center is far above the operational capability of separate unit hardware terminal, thus greatly improving test processes speed; And, above-mentioned cloud computing center is to carry out data communication by distributed file system with the data-base cluster being positioned on infrastructure layer, owing to distributed file system is compared to the local file system used in existing software test procedure, distributed file system has high availability, powerful extended capability and ensure that the reliability that data store, and distributed file system is convenient carries out transmitted in parallel process to data to be tested, thus improving testing efficiency further. To sum up, the embodiment of the present invention improves the efficiency of software test, and reduces testing cost.
The embodiment of the invention discloses a kind of concrete cloud testing architecture, relative to a upper embodiment, technical scheme has been made further instruction and optimization by the present embodiment. Concrete:
In the present embodiment, testing service layer is develop based on TaaS service mode (TaaS, i.e. TestingasaService, test i.e. service) to obtain; Foundational development platform is develop based on PaaS service mode (PaaS, i.e. PlatformasaService, namely platform services) to obtain; Infrastructure layer is develop based on IaaS service mode (IaaS, i.e. InfrastructureasaService, namely infrastructure service) to obtain.
It addition, the cloud computing center in the present embodiment is based on distributed principle, and build, by utilizing the resource that infrastructure layer provides to carry out, the ceph cloud computing center (ceph is a kind of distributed file system) obtained.
Concrete, in order to improve file process mechanism, above-mentioned distributed file system may further include file size judge module, the first writing module and the second writing module; Wherein,
File size judge module, for judging the file size sending the file to distributed file system;
First writing module, for judging that arbitrary file is as mass file when file size judging unit, then distributed file system of this document being write direct;
When file size judge module, second writing module, for judging that arbitrary file is as small files, then write buffer memory by this document;
Wherein, mass file is the file size file more than the first preset value, and small files is the file size file less than or equal to the first preset value.
Further, above-mentioned distributed file system can also include using frequency monitoring module, the 3rd writing module and the 4th writing module; Wherein,
Use frequency monitoring module, for the use frequency of the file preserved in buffer memory is monitored;
3rd writing module, for the use frequency when the arbitrary file in use frequency monitoring module monitors to buffer memory more than the second preset value, then writes file system by the index information corresponding to this document;
4th writing module, for the use frequency when the arbitrary file in use frequency monitoring module monitors to buffer memory less than the 3rd preset value, then writes the low frequency buffer memory preset by the index information corresponding to this document.
In order to avoid there is the problem of laod unbalance between database node, infrastructure layer can further include node load monitoring modular and dynamic access control module; Wherein,
Node load monitoring modular, for the load of each database node in data-base cluster is monitored in real time, obtains corresponding real time load information;
Dynamic access control module, is used for according to real time load information, and based on load balancing principle, data-base cluster is carried out Screening Treatment, to utilize the database node the screened file access request to sending from distributed file system to carry out reply process.
Wherein, above-mentioned node load monitoring modular, specifically for being loaded into row monitoring in real time to the cpu load of database node, I/O load and memory negative.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially. And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Above a kind of cloud testing architecture provided by the present invention is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (7)

1. a cloud testing architecture, it is characterised in that include user interface layer, testing service layer, foundational development platform and infrastructure layer; Described foundational development platform includes cloud computing center; Described infrastructure layer includes data-base cluster; Wherein,
Described user interface layer, for sending test request to described testing service layer;
Described testing service layer, for according to described test request, generating corresponding data to be tested and test instruction, and send described data to be tested and described test instruction to described foundational development platform;
Described foundational development platform, for according to described test instruction, transfer from described cloud computing center and calculate resource accordingly, and utilize the distributed file system in described cloud computing center to carry out data communication with described data-base cluster, to obtain corresponding data resource from described data-base cluster, and utilize described calculating resource and described data resource, described data to be tested are carried out test processes, and corresponding test result is back to described user interface layer.
2. cloud testing architecture according to claim 1, it is characterised in that
Described user interface layer includes desktop computer, smart mobile phone and panel computer;
Described testing service layer is develop based on TaaS service mode to obtain;
Described foundational development platform is develop based on PaaS service mode to obtain;
Described infrastructure layer is develop based on IaaS service mode to obtain.
3. cloud testing architecture according to claim 2, it is characterised in that described cloud computing center is based on distributed principle, and build, by utilizing the resource that described infrastructure layer provides to carry out, the ceph cloud computing center obtained.
4. cloud testing architecture according to claim 3, it is characterised in that described distributed file system includes:
File size judge module, for judging the file size sending the file to described distributed file system;
First writing module, for judging that arbitrary file is as mass file when described file size judging unit, then described distributed file system of this document being write direct;
When described file size judge module, second writing module, for judging that arbitrary file is as small files, then write buffer memory by this document;
Wherein, described mass file is the file size file more than the first preset value, and described small files is the file size file less than or equal to described first preset value.
5. cloud testing architecture according to claim 4, it is characterised in that described distributed file system also includes:
Use frequency monitoring module, for the use frequency of the file preserved in described buffer memory is monitored;
3rd writing module, for the use frequency when the arbitrary file in described use frequency monitoring module monitors to described buffer memory more than the second preset value, then writes described file system by the index information corresponding to this document;
4th writing module, for the use frequency when the arbitrary file in described use frequency monitoring module monitors to described buffer memory less than the 3rd preset value, then writes the low frequency buffer memory preset by the index information corresponding to this document.
6. the cloud testing architecture according to any one of claim 1 to 5, it is characterised in that described infrastructure layer also includes:
Node load monitoring modular, for the load of each database node in described data-base cluster is monitored in real time, obtains corresponding real time load information;
Dynamic access control module, for according to described real time load information, and based on load balancing principle, described data-base cluster is carried out Screening Treatment, to utilize the database node the screened file access request to sending from described distributed file system to carry out reply process.
7. cloud testing architecture according to claim 6, it is characterised in that described node load monitoring modular, specifically for being loaded into row monitoring in real time to the cpu load of database node, I/O load and memory negative.
CN201511030487.9A 2015-12-31 2015-12-31 A kind of cloud testing architecture Active CN105630683B (en)

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 true CN105630683A (en) 2016-06-01
CN105630683B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255712A (en) * 2017-12-29 2018-07-06 曙光信息产业(北京)有限公司 The test system and test method of data system
CN109901983A (en) * 2017-12-07 2019-06-18 北京京东尚科信息技术有限公司 Automated testing method and device, storage medium, electronic equipment
CN110297766A (en) * 2019-06-03 2019-10-01 合肥移瑞通信技术有限公司 Method for testing software and software testing system based on distributed test node cluster
CN110958307A (en) * 2019-11-20 2020-04-03 瑞玛思特(北京)科技有限公司 Cloud-based 5G and Internet of things signal generation and analysis test system
CN111026635A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Software project testing system, method, device and storage medium
CN111656735A (en) * 2018-01-30 2020-09-11 国际商业机器公司 Testing embedded systems and applications using hardware-in-the-loop service (HILAAS)
CN113656233A (en) * 2021-09-01 2021-11-16 航天中认软件测评科技(北京)有限责任公司 Cloud test resource pushing method and system

Citations (4)

* Cited by examiner, † Cited by third party
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
US20140366005A1 (en) * 2013-06-05 2014-12-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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
US20140366005A1 (en) * 2013-06-05 2014-12-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

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901983A (en) * 2017-12-07 2019-06-18 北京京东尚科信息技术有限公司 Automated testing method and device, storage medium, electronic equipment
CN108255712A (en) * 2017-12-29 2018-07-06 曙光信息产业(北京)有限公司 The test system and test method of data system
CN111656735A (en) * 2018-01-30 2020-09-11 国际商业机器公司 Testing embedded systems and applications using hardware-in-the-loop service (HILAAS)
JP2021512526A (en) * 2018-01-30 2021-05-13 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Testing embedded systems and applications using Software as a Service (HiLaaS)
JP7401163B2 (en) 2018-01-30 2023-12-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Testing embedded systems and applications using HiLaaS (Hardware-in-the-Loop as a Service)
CN110297766A (en) * 2019-06-03 2019-10-01 合肥移瑞通信技术有限公司 Method for testing software and software testing system based on distributed test node cluster
CN111026635A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Software project testing system, method, device and storage medium
CN110958307A (en) * 2019-11-20 2020-04-03 瑞玛思特(北京)科技有限公司 Cloud-based 5G and Internet of things signal generation and analysis test system
CN110958307B (en) * 2019-11-20 2022-04-08 瑞玛思特(北京)科技有限公司 Cloud-based 5G and Internet of things signal generation and analysis test system
CN113656233A (en) * 2021-09-01 2021-11-16 航天中认软件测评科技(北京)有限责任公司 Cloud test resource pushing method and system
CN113656233B (en) * 2021-09-01 2023-07-28 航天中认软件测评科技(北京)有限责任公司 Cloud test resource pushing method and system

Also Published As

Publication number Publication date
CN105630683B (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN105630683A (en) Cloud testing architecture
CN109359118B (en) Data writing method and device
CN109976999B (en) Method and device for measuring coverage rate of test cases
CN111897660B (en) Model deployment method, model deployment device and terminal equipment
CN111125107A (en) Data processing method, device, electronic equipment and medium
CN113795039B (en) Operator network switching method, device, equipment and computer readable storage medium
CN111950857A (en) Index system management method and device based on service indexes and electronic equipment
CN111190551A (en) Redis data migration system, method and device and terminal
CN110635961B (en) Pressure measurement method, device and system of server
CN112084102A (en) Interface pressure testing method and device
CN113392018B (en) Traffic distribution method and device, storage medium and electronic equipment
CN113127357B (en) Unit test method, apparatus, device, storage medium, and program product
CN111444148B (en) Data transmission method and device based on MapReduce
CN112954056A (en) Monitoring data processing method and device, electronic equipment and storage medium
CN111026629A (en) Method and device for automatically generating test script
CN113157695B (en) Data processing method and device, readable medium and electronic equipment
CN113495498B (en) Simulation method, simulator, device and medium for hardware device
CN112379967B (en) Simulator detection method, device, equipment and medium
CN115269431A (en) Interface testing method and device, electronic equipment and storage medium
CN109901983B (en) Automatic testing method and device, storage medium and electronic equipment
CN113434382A (en) Database performance monitoring method and device, electronic equipment and computer readable medium
CN109669668B (en) Method and device for realizing simulated transaction execution in system performance test
CN113672200A (en) Microservice processing method and device, storage medium and electronic equipment
CN106528577B (en) Method and device for setting file to be cleaned
CN111638902A (en) Cloud API unified management method and device

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