Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Thread control method and device based on cloud monitoring, electronic equipment and storage medium

A control method and cloud monitoring technology, applied in the computer field, can solve problems such as less system operation, large maximum number of threads, small maximum number of threads, etc., to achieve the effect of avoiding resource waste and optimizing the utilization rate of system resources

Pending Publication Date: 2019-06-04
PING AN TECH (SHENZHEN) CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the operating load of the system is relatively large, if you continue to preset the maximum number of threads in the prior art and create threads according to the maximum number of threads, it may occur that the preset maximum number of threads is relatively large, causing the number of threads to be established to be too large. Too many causes system instability, or the preset maximum number of threads is small, resulting in too few established threads and causing the system to freeze, which in turn affects the resource utilization of the system

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
  • Thread control method and device based on cloud monitoring, electronic equipment and storage medium
  • Thread control method and device based on cloud monitoring, electronic equipment and storage medium
  • Thread control method and device based on cloud monitoring, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 1 It is a flow chart of the thread control method based on cloud monitoring provided by Embodiment 1 of the present invention. The thread control method based on cloud monitoring monitors the current thread number index of the application program in the electronic device. According to different requirements, the execution sequence in the flow chart can be changed, and some steps can be omitted.

[0054] S11: Configure an initial maximum number of threads in advance according to an initial configuration file of the system, and determine the initial maximum number of threads as the current maximum number of threads of the system.

[0055] The system in this embodiment is a computer system, wherein the computer system is composed of computer hardware and software. The hardware part may include a central processing unit, memory and external devices, etc., and the software part may be various application programs and corresponding documents run by the computer. The...

Embodiment 2

[0116] figure 2 It is a functional module diagram in a preferred embodiment of the cloud monitoring-based thread control device of the present invention.

[0117] In some embodiments, the cloud-based monitoring thread control device 20 runs in an electronic device. The cloud monitoring-based thread control device 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the cloud monitoring-based thread control device 20 can be stored in a memory, and executed by at least one processor to execute (see for details figure 1 and related descriptions) monitor the current thread number index of the application program in the electronic device.

[0118] In this embodiment, the cloud monitoring-based thread control device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a first configuration module 201 , a first acquisition module 20...

Embodiment 3

[0177] image 3 It is a schematic diagram of the electronic device provided by Embodiment 3 of the present invention.

[0178] The electronic device 3 includes: a memory 31 , at least one processor 32 , a computer program 33 stored in the memory 31 and operable on the at least one processor 32 , and at least one communication bus 34 .

[0179] When the at least one processor 32 executes the computer program 33, the steps in the above embodiments of the thread control method based on cloud monitoring are implemented.

[0180] Exemplarily, the computer program 33 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the at least one processor 32 . The one or more modules / units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 33 in the electronic device 3 .

[0...

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

A thread control method based on cloud monitoring comprises the steps of configuring the initial maximum thread number in advance according to an initial configuration file of a system, and determining the initial maximum thread number as the current maximum thread number of the system; Obtaining process information of an application program currently running in the system and the number of bus processes currently used by the application program; Calculating the current thread utilization rate according to the current maximum thread number and the current used bus thread number; Judging whether the current thread utilization rate is greater than a preset thread utilization rate threshold or not; And when the front thread utilization rate is greater than a preset thread utilization rate threshold, reconfiguring the current maximum thread number of the system according to a preset thread configuration strategy. The invention further provides a thread control device based on cloud monitoring, electronic equipment and a storage medium. According to the invention, through cloud monitoring, when the operation state of the system changes, real-time adjustment of the maximum thread numberis realized, and reasonable utilization of system resources is ensured to the maximum extent.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a thread control method, device, electronic equipment and storage medium based on cloud monitoring. Background technique [0002] In the computer system, various system resources are used for task processing. When there is a task to be processed, the system will receive a request to access the specified system resource, the system will create a thread for the request, and then use the established thread to process the request . In order to make full use of system resources, multi-threading is usually used to implement parallel processing of multiple requests. However, an excessively high number of threads will cause excessive resource consumption in unnecessary task operations due to resource contention, thread switching, etc., making the system unstable due to excessive resource consumption and affecting the efficiency of request processing. Therefore, the number of ...

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/30
Inventor 陈东杰
Owner PING AN TECH (SHENZHEN) 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
Eureka Blog
Learn More
PatSnap group products