Continuous execution method for realizing single-machine cyclic scheduling through judgment

An execution method and single-machine technology, applied in the computer field, can solve the problems of insufficient machine resources, tight test server resources, and the inability of a single test machine to meet the requirements, and achieve the effect of improving machine utilization.

Pending Publication Date: 2022-01-28
北京航天云路有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Then, before the automatic test process starts through the CPU time slice rotation algorithm and circular queue, due to the multi-project concurrency and the test server resource shortage, the machine resources will be insufficient, and a single test machine cannot meet the execution requirements of the increasing number of test projects.

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
  • Continuous execution method for realizing single-machine cyclic scheduling through judgment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present invention. In order to facilitate the understanding of the above-mentioned technical solutions of the present invention, the above-mentioned technologies of the present invention will be described below through specific usage methods The plan is described in detail.

[0022] Such as figure 1 As shown, according to the embodiment of the present invention to realize the continuous execution method of stand-alone round-robin scheduling through judgment, the steps include:

[0023] (1) To build a logical 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 continuous execution method for realizing single-machine circular scheduling through judgment. The method comprises the following steps: constructing a logic circular queue, and initializing a dynamic allocation storage space, a queue head pointer of the logic circular queue and a queue tail pointer of the logic circular queue; carrying out dequeuing, enqueuing and variable or constant assignment operations; setting priority switches of the tasks; inserting a single task to be executed into the logic round-robin queue, constructing a test group round-robin queue by the single task, setting a test group priority, constructing a test task set round-robin queue by the test group round-robin queue, and setting a priority of the task set round-robin queue; firstly executing the test groups according to the setting of the priorities, after the test groups are executed, executing a test set consisting of the test groups, and quickly testing to generate a test report; and finally, packaging the completed algorithm data into a group of APIs. According to the method, the execution time of the automatic items is set differently, the automatic test items are executed in a polling mode, 7 * 24-hour task continuous execution is achieved on a single machine, and the machine utilization rate is increased.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a continuous execution method for realizing single-machine cycle scheduling through judgment. Background technique [0002] At present, in the field of automated loop testing, the time slice round-robin algorithm used is the oldest, simplest, fairest and most widely used algorithm. Each process is assigned a period of time, called its time slice, which is the amount of time the process is allowed to run. If the process is still running when the time slice ends, the CPU will be taken away and assigned to another process. If the process blocks or ends before the time slice ends, the CPU switches immediately. All the scheduler has to do is maintain a list of ready processes, and when a process runs out of its time slice, it is moved to the end of the queue. [0003] In order to make full use of the vector space, the way to overcome the "false overflow" phenomenon is to imagine ...

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
CPCG06F9/4881G06F11/3684G06F11/3688G06F2209/484G06F2209/482
Inventor 张浩然朱泽单酉韩璐
Owner 北京航天云路有限公司
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