Task allocation method, device and system based on cloud testing platform

A test task and task allocation technology, applied in the Internet field, can solve problems such as delays in execution and no free time for test tasks

Active Publication Date: 2015-12-02
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the above process, due to a large number of test tasks and a large number of equipment involved, if the task allocation is unreasonable, it is likely that some test tasks cannot be executed because the equipment involved has not been idle.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Task allocation method, device and system based on cloud testing platform
  • Task allocation method, device and system based on cloud testing platform
  • Task allocation method, device and system based on cloud testing platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] figure 1 A flow chart showing a task assignment method based on a cloud test platform according to an embodiment of the present invention, as figure 1 As shown, the method includes the following steps:

[0020] Step S110: Monitor the status of each device in the cloud test platform, and whenever a device that changes from the running state to the idle state is detected, add the device to the device idle queue corresponding to its device ID.

[0021] Specifically, various methods can be flexibly adopted when monitoring the status of each device. For example, in the cloud test platform, whenever a device goes online, its status is sent to the server as a heartbeat packet, that is, each online device reports the status to the server at regular intervals, so that the server can Learn about its current status. Alternatively, each online device may report to the server only when its state changes, so that the server can know its changed state in time. The above two method...

Embodiment 2

[0031] figure 2 A flow chart of a task assignment method based on a cloud test platform provided by a specific embodiment of the present invention is shown, such as figure 2 As shown, the method includes the following steps:

[0032] Step S210: Determine a test task according to the received test request from the user terminal.

[0033]First, determine the type of tasks and the number of devices included in the test request sent by the user terminal. Among them, the task types include multiple types, such as UI traversal test, compatibility coverage test, security performance test, script test and other types. The number of devices refers to the number of end devices used to run various types of tasks. Then, the total number of test tasks can be obtained by multiplying the number of task types included in the test request by the number of devices. For example, assuming that the task types contained in the test request sent by the user terminal are UI traversal test and c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a task allocation method, device and system based on a cloud testing platform. Testing tasks in the cloud testing platform can be reasonably allocated to devices to be executed. The method comprises the steps that states of the devices in the cloud testing platform are monitored, and when a device which is converted into an idle state from a running state is monitored, the device joins a device idle queue corresponding to a device identification of the device; when a testing task is received, the device idle queue corresponding to the device identification of the device is looked up according to the device identification contained in the testing task; when available devices exist in the device idle queue, the testing tasks are allocated to the available devices, and the available devices are deleted from the device idle queue. By means of the task allocation method, device and system based on the cloud testing platform, the idle devices can be looked up actively according to the testing tasks, reasonable task allocation for all the devices in the platform can be conducted, and all the tasks can be executed efficiently.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a task allocation method, device and system based on a cloud test platform. Background technique [0002] Cloud testing is a new testing solution based on cloud computing, which can provide a complete testing environment, and testers can start testing immediately by logging into the testing environment by using virtual desktops and other means. Through the cloud test solution, the costs of software and hardware installation, environment configuration, and environment maintenance are transferred to the provider of the cloud test platform, so that testers can quickly complete the test by directly using the software and hardware configuration provided in the cloud test platform. Through the cloud testing solution, the testing cost can be significantly saved and the testing efficiency can be greatly improved. [0003] Since the cloud test platform contains a large number of dev...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F11/36
Inventor 韩竞竞龙慧李欣
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products