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

Coroutine execution method and device

An execution method and coroutine technology, which is applied in the field of coroutine execution methods and devices, and can solve problems such as exceptions and program interruptions

Pending Publication Date: 2022-02-18
HUAWEI TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] With the development of IT technology, computers need to process more and more data, and the demand for memory for applications is also increasing. The existing technology can realize the migration of part of the memory data to the hard disk when the memory is not enough. This method can Temporarily alleviate the problem of insufficient memory, but at the same time, when a program accesses the data that should be moved out of the memory, an exception is often generated, which leads to the problem that the program is interrupted

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 execution method and device
  • Coroutine execution method and device
  • Coroutine execution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0039] The network architecture and business scenarios described in the embodiments of the present invention are to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute limitations on the technical solutions provided by the embodiments of the present invention. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0040] The storage system provided by the embodiment of this application includes multiple computing devices, please refer to figure 1 , is a schematic structural diagram of a storage syste...

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 provides a coroutine execution method and device. The method comprises the following steps of generating an error signal when a first coroutine is used for accessing the first data in a memory pool, generating an error signal when the first coroutine is operated, migrating the first data from a storage pool to the memory pool in response to the error signal, and in the process of migrating the first data from the storage pool to the memory pool, switching the first coroutine into a second coroutine as a current execution coroutine. According to the above mode, in the process of migrating the first data to the memory pool, thread operation cannot be blocked, so that the problem of IO delay instability is reduced, and the performance and stability of the system are improved.

Description

[0001] Cross References to Related Applications [0002] This application claims the priority of the Chinese patent application with the application number 202010786176.X and the application title "a storage system and data storage method" filed with the China Patent Office on August 07, 2020, the entire contents of which are hereby incorporated by reference In this application. technical field [0003] The present application relates to the field of computer technology, in particular to a method and device for executing a coroutine. Background technique [0004] With the development of IT technology, computers need to process more and more data, and the demand for memory for applications is also increasing. The existing technology can realize the migration of part of the memory data to the hard disk when the memory is not enough. This method can Temporarily alleviate the problem of insufficient memory, but at the same time, when a program accesses the data that should be ...

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
IPC IPC(8): G06F3/06G06F9/50
CPCG06F3/0647G06F3/061G06F9/5027G06F2209/5018
Inventor 赵冬梅崔文林罗四维马腾鲁凤成
Owner HUAWEI TECH CO LTD
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