Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Coroutine monitoring method and apparatus

A monitoring device and coroutine technology, applied in the field of communication, can solve problems such as lack of requests and system delays, and achieve the effect of avoiding system delays and improving network quality.

Inactive Publication Date: 2017-04-26
ZTE CORP
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] If an exception occurs in a coroutine using a common resource, then the coroutine that needs to use the common resource will never be able to request a lock for operating on the data, so that other coroutines will always be in a waiting state, resulting in System is lagging

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
  • Coroutine monitoring method and apparatus
  • Coroutine monitoring method and apparatus
  • Coroutine monitoring method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0037] See figure 1 , is the hierarchical relationship of process (process), thread and coroutine. A process is an organization and allocation unit of resources, and all execution processes in a process use the same process space. A thread is a scheduling unit of the system. Each thread under the process uses a common process space to work togeth...

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 relates to the communication technical field, and discloses a coroutine monitoring method and apparatus for solving the technical problem of system delay caused by coroutine abnormity. The coroutine monitoring method comprises the steps of performing monitoring on at least one coroutine in a first progress through a monitoring thread in the first progress to determine whether a coroutine, the operating duration of which exceeds a preset operating duration, exists in the at least one coroutine or not, wherein the respective preset operating duration of each coroutine in the at least one coroutine is pre-recorded; and if it is determined that the operating duration of the first coroutine in the at least one coroutine exceeds a first preset operating duration set for the first coroutine, stopping the operated first coroutine through the monitoring thread.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method and device for monitoring a coroutine. Background technique [0002] OpenStack (an open source cloud computing management platform project) is a free software and open source cloud computing management platform project. OpenStack provides IaaS (Infrastructure as a Service) solutions through various complementary services. , is an open source project that aims to provide software for the construction and management of public and private clouds. [0003] Thread (thread) is the unit of linux (an operating system) operating system scheduling. Multiple threads in the system can obtain the CPU (central processing unit) through some scheduling strategies (such as priority preemption, time slice rotation, etc.) Running, when the CPU has multiple cores, these threads can execute simultaneously. [0004] Coroutine (coroutine) can be considered as a user space thread. The ...

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): G06F11/30
CPCG06F11/30
Inventor 尹德升
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products