CN105630683B - A kind of cloud testing architecture - Google Patents

A kind of cloud testing architecture Download PDF

Info

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
file
test
layer
data
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
Application number
CN201511030487.9A
Other languages
Chinese (zh)
Other versions
CN105630683A (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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • 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 system architecture, including a user interface layer, a test service layer, a basic development platform and an infrastructure layer; the basic development platform includes a cloud computing center; the infrastructure layer includes a database cluster; wherein, the user interface layer is used for Send a test request to the test service layer; the test service layer is used to generate the corresponding data to be tested and test instructions according to the test request, and send the data to be tested and test instructions to the basic development platform; the basic development platform is used to, according to the test instructions, Call the corresponding computing resources from the cloud computing center, and use the distributed file system in the cloud computing center to communicate with the database cluster, so as to obtain the corresponding data resources from the database cluster, and use the computing resources and data resources to be tested. The data is tested and processed, and the corresponding test results are returned to the user interface layer. The present application improves the efficiency of software testing and reduces the testing cost.

Description

一种云测试体系架构A cloud test architecture

技术领域technical field

本发明涉及测试技术领域,特别涉及一种云测试体系架构。The invention relates to the technical field of testing, in particular to a cloud testing system architecture.

背景技术Background technique

目前,软件开发人员为了确保软件的质量和稳定性,需要在软件发布之前对软件进行大量的测试,这一方面需要消耗大量的人力物力,另一方面还会延长了软件的测试周期。由此可知,如何提高软件测试的效率并降低测试成本是目前亟待解决的问题。At present, in order to ensure the quality and stability of the software, software developers need to conduct a large number of tests on the software before the software is released, which consumes a lot of manpower and material resources on the one hand, and on the other hand, prolongs the testing cycle of the software. It can be seen that how to improve the efficiency of software testing and reduce the cost of testing is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种云测试体系架构,提高了软件测试的效率,并降低了测试成本。其具体方案如下:In view of this, the purpose of the present invention is to provide a cloud testing architecture, which improves the efficiency of software testing and reduces the testing cost. Its specific plan is as follows:

一种云测试体系架构,包括用户接口层、测试服务层、基础开发平台和基础设施层;所述基础开发平台包括云计算中心;所述基础设施层包括数据库集群;其中,A cloud testing architecture includes a user interface layer, a testing service layer, a basic development platform and an infrastructure layer; the basic development platform includes a cloud computing center; the infrastructure layer includes a database cluster; wherein,

所述用户接口层,用于向所述测试服务层发送测试请求;the user interface layer, configured to send a test request to the test service layer;

所述测试服务层,用于根据所述测试请求,生成相应的待测试数据和测试指令,并将所述待测试数据和所述测试指令发送至所述基础开发平台;The test service layer is configured to generate corresponding data to be tested and test instructions according to the test request, and send the data to be tested and the test instructions to the basic development platform;

所述基础开发平台,用于根据所述测试指令,从所述云计算中心调取相应的计算资源,以及利用所述云计算中心中的分布式文件系统与所述数据库集群进行数据通信,以从所述数据库集群中获取相应的数据资源,并利用所述计算资源和所述数据资源,对所述待测试数据进行测试处理,并将相应的测试结果返回至所述用户接口层。The basic development platform is used for fetching corresponding computing resources from the cloud computing center according to the test instructions, and using the distributed file system in the cloud computing center to perform data communication with the database cluster, so as to Acquire corresponding data resources from the database cluster, and use the computing resources and the data resources to perform test processing on the data to be tested, and return corresponding test results to the user interface layer.

优选的,所述用户接口层包括台式电脑、智能手机和平板电脑;Preferably, the user interface layer includes desktop computers, smart phones and tablet computers;

所述测试服务层为基于TaaS服务模式进行开发得到的;The test service layer is developed based on the TaaS service model;

所述基础开发平台为基于PaaS服务模式进行开发得到的;The basic development platform is developed based on the PaaS service model;

所述基础设施层为基于IaaS服务模式进行开发得到的。The infrastructure layer is developed based on the IaaS service model.

优选的,所述云计算中心为基于分布式原则,并通过利用所述基础设施层提供的资源进行搭建得到的ceph云计算中心。Preferably, the cloud computing center is a ceph cloud computing center constructed based on the principle of distribution and by utilizing the resources provided by the infrastructure layer.

优选的,所述分布式文件系统包括:Preferably, the distributed file system includes:

文件大小判断模块,用于判断发送至所述分布式文件系统的文件的文件大小;a file size judging module for judging the file size of the file sent to the distributed file system;

第一写入模块,用于当所述文件大小判断单元判定任一文件为大型文件,则将该文件直接写入所述分布式文件系统;a first writing module, configured to directly write the file into the distributed file system when the file size judging unit determines that any file is a large file;

第二写入模块,用于当所述文件大小判断模块判定任一文件为小型文件,则将该文件写入缓存;The second writing module is used to write the file into the cache when the file size judging module determines that any file is a small file;

其中,所述大型文件为文件大小大于第一预设值的文件,所述小型文件为文件大小小于或等于所述第一预设值的文件。The large file is a file whose file size is greater than a first preset value, and the small file is a file whose file size is less than or equal to the first preset value.

优选的,所述分布式文件系统还包括:Preferably, the distributed file system further includes:

使用频率监测模块,用于对所述缓存中保存的文件的使用频率进行监测;A usage frequency monitoring module for monitoring the usage frequency of the files saved in the cache;

第三写入模块,用于当所述使用频率监测模块监测到所述缓存中的任一文件的使用频率大于第二预设值,则将该文件所对应的索引信息写入所述文件系统;a third writing module, configured to write the index information corresponding to the file into the file system when the usage frequency monitoring module detects that the usage frequency of any file in the cache is greater than the second preset value ;

第四写入模块,用于当所述使用频率监测模块监测到所述缓存中的任一文件的使用频率小于第三预设值,则将该文件所对应的索引信息写入预设的低频缓存。The fourth writing module is used to write the index information corresponding to the file into a preset low frequency when the usage frequency monitoring module detects that the usage frequency of any file in the cache is less than the third preset value. cache.

优选的,所述基础设施层还包括:Preferably, the infrastructure layer further includes:

节点负载监测模块,用于对所述数据库集群中的每一个数据库节点的负载进行实时监测,得到相应的实时负载信息;a node load monitoring module, configured to monitor the load of each database node in the database cluster in real time to obtain corresponding real-time load information;

动态访问控制模块,用于根据所述实时负载信息,并基于负载均衡原则,对所述数据库集群进行筛选处理,以利用筛选到的数据库节点对从所述分布式文件系统发送的文件访问请求进行应答处理。The dynamic access control module is configured to perform screening processing on the database cluster according to the real-time load information and based on the load balancing principle, so as to use the screened database nodes to perform file access requests sent from the distributed file system. Response processing.

优选的,所述节点负载监测模块,具体用于对数据库节点的CPU负载、IO负载和内存负载进行实时监测。Preferably, the node load monitoring module is specifically configured to monitor the CPU load, IO load and memory load of the database node in real time.

本发明中,云测试体系架构,包括用户接口层、测试服务层、基础开发平台和基础设施层;基础开发平台包括云计算中心;基础设施层包括数据库集群;其中,用户接口层用于向测试服务层发送测试请求;测试服务层用于根据测试请求,生成相应的待测试数据和测试指令,并将待测试数据和测试指令发送至基础开发平台;基础开发平台用于根据测试指令,从云计算中心调取相应的计算资源,以及利用云计算中心中的分布式文件系统与数据库集群进行数据通信,以从数据库集群中获取相应的数据资源,并利用计算资源和数据资源,对待测试数据进行测试处理,并将相应的测试结果返回至用户接口层。可见,本发明在进行软件测试的过程中,是利用云计算中心调取计算资源来对相应的待测试数据进行测试处理的,由于云计算中心的计算能力远高于单台硬件终端的运算能力,从而大幅提升了测试处理速度;并且,上述云计算中心是通过分布式文件系统与位于基础设施层上的数据库集群进行数据通信的,由于分布式文件系统相比于现有软件测试过程中所使用到的本地文件系统,分布式文件系统具有高可用性、强大的扩展能力以及确保了数据存储的可靠性,并且分布式文件系统方便对待测试数据进行并行发送处理,从而进一步提升了测试效率。综上,本发明提高了软件测试的效率,并降低了测试成本。In the present invention, the cloud test system architecture includes a user interface layer, a test service layer, a basic development platform and an infrastructure layer; the basic development platform includes a cloud computing center; the infrastructure layer includes a database cluster; wherein, the user interface layer is used for testing The service layer sends the test request; the test service layer is used to generate the corresponding test data and test instructions according to the test request, and send the test data and test instructions to the basic development platform; The computing center invokes the corresponding computing resources, and uses the distributed file system in the cloud computing center to communicate with the database cluster, so as to obtain the corresponding data resources from the database cluster, and use the computing resources and data resources to perform data processing on the test data. Test processing and return the corresponding test results to the user interface layer. It can be seen that in the process of software testing, the present invention uses the cloud computing center to fetch computing resources to test and process the corresponding data to be tested, because the computing power of the cloud computing center is much higher than that of a single hardware terminal. , thereby greatly improving the test processing speed; in addition, the above-mentioned cloud computing center communicates with the database cluster located on the infrastructure layer through the distributed file system, because the distributed file system is compared with the existing software testing process. The local file system used, the distributed file system has high availability, strong scalability, and ensures the reliability of data storage, and the distributed file system is convenient for parallel sending and processing of the test data, thereby further improving the test efficiency. In conclusion, the present invention improves the efficiency of software testing and reduces the testing cost.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.

图1为本发明实施例公开的一种云测试体系架构示意图。FIG. 1 is a schematic diagram of a cloud testing system architecture disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例公开了一种云测试体系架构,参见图1所示,该架构包括用户接口层11、测试服务层12、基础开发平台13和基础设施层14;基础开发平台13包括云计算中心130;基础设施层14包括数据库集群140;其中,The embodiment of the present invention discloses a cloud test system architecture, as shown in FIG. 1 , the architecture includes a user interface layer 11, a test service layer 12, a basic development platform 13 and an infrastructure layer 14; the basic development platform 13 includes a cloud computing center 130; the infrastructure layer 14 includes a database cluster 140; wherein,

用户接口层11,用于向测试服务层12发送测试请求;The user interface layer 11 is used to send a test request to the test service layer 12;

测试服务层12,用于根据测试请求,生成相应的待测试数据和测试指令,并将待测试数据和测试指令发送至基础开发平台13;The test service layer 12 is used to generate corresponding data to be tested and test instructions according to the test request, and to send the data to be tested and the test instructions to the basic development platform 13;

基础开发平台13,用于根据测试指令,从云计算中心130调取相应的计算资源,以及利用云计算中心130中的分布式文件系统1301与数据库集群140进行数据通信,以从数据库集群140中获取相应的数据资源,并利用计算资源和数据资源,对待测试数据进行测试处理,并将相应的测试结果返回至用户接口层11。The basic development platform 13 is used for fetching corresponding computing resources from the cloud computing center 130 according to the test instructions, and using the distributed file system 1301 in the cloud computing center 130 to communicate with the database cluster 140 to obtain data from the database cluster 140 Obtain the corresponding data resources, and use the computing resources and data resources to perform test processing on the data to be tested, and return the corresponding test results to the user interface layer 11 .

需要说明的是,上述用户接口层11可以包括台式电脑、智能手机和平板电脑等终端设备。It should be noted that the above-mentioned user interface layer 11 may include terminal devices such as desktop computers, smart phones, and tablet computers.

本发明实施例中,云测试体系架构,包括用户接口层、测试服务层、基础开发平台和基础设施层;基础开发平台包括云计算中心;基础设施层包括数据库集群;其中,用户接口层用于向测试服务层发送测试请求;测试服务层用于根据测试请求,生成相应的待测试数据和测试指令,并将待测试数据和测试指令发送至基础开发平台;基础开发平台用于根据测试指令,从云计算中心调取相应的计算资源,以及利用云计算中心中的分布式文件系统与数据库集群进行数据通信,以从数据库集群中获取相应的数据资源,并利用计算资源和数据资源,对待测试数据进行测试处理,并将相应的测试结果返回至用户接口层。In the embodiment of the present invention, the cloud test system architecture includes a user interface layer, a test service layer, a basic development platform and an infrastructure layer; the basic development platform includes a cloud computing center; the infrastructure layer includes a database cluster; wherein, the user interface layer is used for Send a test request to the test service layer; the test service layer is used to generate the corresponding test data and test instructions according to the test request, and send the test data and test instructions to the basic development platform; the basic development platform is used to, according to the test instructions, Call the corresponding computing resources from the cloud computing center, and use the distributed file system in the cloud computing center to communicate with the database cluster, so as to obtain the corresponding data resources from the database cluster, and use the computing resources and data resources to be tested. The data is tested and processed, and the corresponding test results are returned to the user interface layer.

可见,本发明实施例在进行软件测试的过程中,是利用云计算中心调取计算资源来对相应的待测试数据进行测试处理的,由于云计算中心的计算能力远高于单台硬件终端的运算能力,从而大幅提升了测试处理速度;并且,上述云计算中心是通过分布式文件系统与位于基础设施层上的数据库集群进行数据通信的,由于分布式文件系统相比于现有软件测试过程中所使用到的本地文件系统,分布式文件系统具有高可用性、强大的扩展能力以及确保了数据存储的可靠性,并且分布式文件系统方便对待测试数据进行并行发送处理,从而进一步提升了测试效率。综上,本发明实施例提高了软件测试的效率,并降低了测试成本。It can be seen that in the process of software testing in the embodiments of the present invention, the cloud computing center is used to fetch computing resources to test and process the corresponding data to be tested, because the computing power of the cloud computing center is much higher than that of a single hardware terminal. In addition, the above-mentioned cloud computing center conducts data communication with the database cluster located on the infrastructure layer through the distributed file system, because the distributed file system is compared with the existing software testing process. The local file system used in the distributed file system has high availability, strong scalability, and ensures the reliability of data storage, and the distributed file system is convenient for parallel transmission of the test data, thus further improving the test efficiency. . To sum up, the embodiments of the present invention improve the efficiency of software testing and reduce the testing cost.

本发明实施例公开了一种具体的云测试体系架构,相对于上一实施例,本实施例对技术方案作了进一步的说明和优化。具体的:The embodiment of the present invention discloses a specific cloud testing system architecture. Compared with the previous embodiment, this embodiment further describes and optimizes the technical solution. specific:

本实施例中,测试服务层为基于TaaS服务模式(TaaS,即Testing as a Service,测试即服务)进行开发得到的;基础开发平台为基于PaaS服务模式(PaaS,即Platform as aService,平台即服务)进行开发得到的;基础设施层为基于IaaS服务模式(IaaS,即Infrastructure as a Service,基础设施即服务)进行开发得到的。In this embodiment, the testing service layer is developed based on the TaaS service model (TaaS, namely Testing as a Service, testing as a service); the basic development platform is based on the PaaS service model (PaaS, namely Platform as a Service, platform as a service) ) is developed; the infrastructure layer is developed based on the IaaS service model (IaaS, that is, Infrastructure as a Service).

另外,本实施例中的云计算中心为基于分布式原则,并通过利用基础设施层提供的资源进行搭建得到的ceph云计算中心(ceph是一种分布式文件系统)。In addition, the cloud computing center in this embodiment is a ceph cloud computing center (ceph is a distributed file system) that is built based on the principle of distribution and using resources provided by the infrastructure layer.

具体的,为了改进文件处理机制,上述分布式文件系统可以进一步包括文件大小判断模块、第一写入模块和第二写入模块;其中,Specifically, in order to improve the file processing mechanism, the above-mentioned distributed file system may further include a file size judgment module, a first writing module and a second writing module; wherein,

文件大小判断模块,用于判断发送至分布式文件系统的文件的文件大小;The file size judgment module is used to judge the file size of the file sent to the distributed file system;

第一写入模块,用于当文件大小判断单元判定任一文件为大型文件,则将该文件直接写入分布式文件系统;The first writing module is used for directly writing the file into the distributed file system when the file size judging unit determines that any file is a large file;

第二写入模块,用于当文件大小判断模块判定任一文件为小型文件,则将该文件写入缓存;The second writing module is used to write the file into the cache when the file size judging module determines that any file is a small file;

其中,大型文件为文件大小大于第一预设值的文件,小型文件为文件大小小于或等于第一预设值的文件。The large file is a file whose file size is greater than the first preset value, and the small file is a file whose file size is less than or equal to the first preset value.

进一步的,上述分布式文件系统还可以包括使用频率监测模块、第三写入模块和第四写入模块;其中,Further, the above-mentioned distributed file system may also include a usage frequency monitoring module, a third writing module and a fourth writing module; wherein,

使用频率监测模块,用于对缓存中保存的文件的使用频率进行监测;The usage frequency monitoring module is used to monitor the usage frequency of the files saved in the cache;

第三写入模块,用于当使用频率监测模块监测到缓存中的任一文件的使用频率大于第二预设值,则将该文件所对应的索引信息写入文件系统;The third writing module is configured to write the index information corresponding to the file into the file system when the usage frequency monitoring module detects that the usage frequency of any file in the cache is greater than the second preset value;

第四写入模块,用于当使用频率监测模块监测到缓存中的任一文件的使用频率小于第三预设值,则将该文件所对应的索引信息写入预设的低频缓存。The fourth writing module is configured to write the index information corresponding to the file into the preset low-frequency cache when the use frequency monitoring module detects that the use frequency of any file in the cache is less than the third preset value.

为了避免出现数据库节点之间负载不平衡的问题,基础设施层还可以进一步包括节点负载监测模块和动态访问控制模块;其中,In order to avoid the problem of load imbalance among database nodes, the infrastructure layer may further include a node load monitoring module and a dynamic access control module; wherein,

节点负载监测模块,用于对数据库集群中的每一个数据库节点的负载进行实时监测,得到相应的实时负载信息;The node load monitoring module is used to monitor the load of each database node in the database cluster in real time to obtain corresponding real-time load information;

动态访问控制模块,用于根据实时负载信息,并基于负载均衡原则,对数据库集群进行筛选处理,以利用筛选到的数据库节点对从分布式文件系统发送的文件访问请求进行应答处理。The dynamic access control module is used to screen the database cluster according to the real-time load information and based on the load balancing principle, so as to use the screened database nodes to respond to the file access request sent from the distributed file system.

其中,上述节点负载监测模块,具体用于对数据库节点的CPU负载、IO负载和内存负载进行实时监测。The above node load monitoring module is specifically used to monitor the CPU load, IO load and memory load of the database node in real time.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

以上对本发明所提供的一种云测试体系架构进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A cloud testing system architecture provided by the present invention has been described in detail above. The principles and implementations of the present invention are described with specific examples in this paper. Its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. limit.

Claims (2)

1. A cloud test system architecture is characterized by comprising a user interface layer, a test service layer, a basic development platform and an infrastructure layer; the basic development platform comprises a cloud computing center; the infrastructure layer comprises a database cluster; wherein,
the user interface layer is used for sending a test request to the test service layer;
the test service layer is used for generating corresponding to-be-tested data and test instructions according to the test request and sending the to-be-tested data and the test instructions to the basic development platform;
the basic development platform is used for calling corresponding computing resources from the cloud computing center according to the test instruction, performing data communication with the database cluster by using a distributed file system in the cloud computing center to obtain corresponding data resources from the database cluster, performing test processing on the data to be tested by using the computing resources and the data resources, and returning a corresponding test result to the user interface layer;
wherein the user interface layer comprises a desktop computer, a smart phone and a tablet computer; the test service layer is obtained by developing based on a TaaS service mode; the basic development platform is obtained by developing based on a PaaS service mode; the infrastructure layer is developed based on an IaaS service mode;
and, the distributed file system includes: the file size judging module is used for judging the file size of the file sent to the distributed file system; the first writing module is used for directly writing any file into the distributed file system when the file size judging unit judges that the file is a large file; the second writing module is used for writing any file into the cache when the file size judging module judges that the file is a small file; the large file is a file with the file size larger than a first preset value, and the small file is a file with the file size smaller than or equal to the first preset value;
the distributed file system further comprises: the using frequency monitoring module is used for monitoring the using frequency of the files stored in the cache; the third writing-in module is used for writing the index information corresponding to any file in the cache into the file system when the using frequency monitoring module monitors that the using frequency of the file is greater than a second preset value; the fourth writing module is used for writing the index information corresponding to the file into a preset low-frequency cache when the using frequency monitoring module monitors that the using frequency of any file in the cache is smaller than a third preset value;
the infrastructure layer further comprises: the node load monitoring module is used for monitoring the load of each database node in the database cluster in real time to obtain corresponding real-time load information; the dynamic access control module is used for screening the database cluster according to the real-time load information and based on a load balancing principle so as to utilize the screened database node to respond to the file access request sent from the distributed file system;
the node load monitoring module is specifically used for monitoring the CPU load, the IO load and the memory load of the database node in real time.
2. The cloud test architecture as claimed in claim 1, wherein the cloud computing center is a ceph cloud computing center built based on a distributed principle and by using resources provided by the infrastructure layer.
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 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)

* Cited by examiner, † Cited by third party
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 for 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 瑞玛思特(北京)科技有限公司 A cloud-based test system for 5G and IoT signal generation and analysis
CN113656233B (en) * 2021-09-01 2023-07-28 航天中认软件测评科技(北京)有限责任公司 Cloud test resource pushing method and system

Family Cites Families (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
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

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
CN106980625B (en) Data synchronization method, device and system
US7415444B2 (en) Determining compliance rates for probabilistic requests
CN111045782B (en) Log processing method, device, electronic equipment and computer readable storage medium
US10331669B2 (en) Fast query processing in columnar databases with GPUs
CN109359118B (en) Data writing method and device
CN109299015B (en) A software testing method, device and system
CN113886162B (en) Computing device performance test method, computing device and storage medium
US11042473B2 (en) Intelligent test case management for system integration testing
CN111510330B (en) Interface management device, method and storage medium
US11706289B1 (en) System and method for distributed management of hardware using intermediate representations of systems to satisfy user intent
CN111796864A (en) Data verification method and device
CN114546676A (en) Cloud desktop file copying method, device and equipment
US11347512B1 (en) Substitution through protocol to protocol translation
CN114448823A (en) NFS service testing method and system and electronic equipment
CN113434384B (en) Pressure testing method and device
CN110635961A (en) Pressure measurement method, device and system of server
WO2024113778A1 (en) Holder determination method, apparatus and device for field replace unit device
CN115656788A (en) Chip testing system, method, equipment and storage medium
CN114816764A (en) Resource migration method, device, processor and electronic device
CN114860166A (en) Volume localization method, device and medium
CN113778851A (en) Method, apparatus, system, server and medium for stress testing
CN111930626A (en) Automatic testing method and device based on PaaS cloud service
CN111444008A (en) Inter-cluster service migration method and device
CN113760835B (en) Log management method, middle platform system, electronic equipment and storage medium

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