Unlock instant, AI-driven research and patent intelligence for your innovation.

A memory resource control method and device

A technology of memory resources and control methods, applied in the field of memory resource control methods and devices, capable of solving problems such as wasting memory resources, unfavorable saving of memory resources, occupying memory resources, etc., and achieving the effect of saving memory resources

Active Publication Date: 2021-07-02
CLOUDMINDS SHANGHAI ROBOTICS CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventor found at least the following problems in the prior art: when a session request for a certain task is not received, the service that loads the task model of the task is in an idle state, but still needs to occupy a certain amount of memory resources
Therefore, when there are many tasks to be processed but infrequent calls, a lot of memory resources will be wasted, which is not conducive to the saving of memory resources

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
  • A memory resource control method and device
  • A memory resource control method and device
  • A memory resource control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

[0021] The first embodiment of the present invention relates to a memory resource control method. The core of this embodiment is to provide a memory resource control method, including: starting N services for M tasks, and loading M The task model of some tasks in the task, where N is less than M, and N is gr...

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 embodiment of the present invention relates to the field of computer technology, and discloses a memory resource control method, including: starting N services for M tasks, and loading task models of some tasks in the M tasks in the N services, wherein N is less than M, N is greater than 1; determine whether the task model of the task to be processed has been loaded in N services; if not, select one of the N services as the target service, and replace the task model loaded by the target service A task model for pending tasks. The memory resource control method and device provided in the embodiments of the present invention are beneficial to save system memory resources.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a memory resource control method and device. Background technique [0002] Since task-based dialogue is often closely related to a certain domain, in order to improve the processing capability of the response model and decouple the task models that handle different tasks, each task needs a corresponding service to load the task model that handles the task. In order to respond to session requests of various tasks in a timely manner, it is usually necessary to start multiple services. [0003] However, the inventors have found at least the following problems in the prior art: when a session request for a certain task is not received, the service that loads the task model of the task is in an idle state, but still needs to occupy certain memory resources. Therefore, when there are many tasks to be processed but infrequent calls, a lot of memory resou...

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 Patents(China)
IPC IPC(8): G06F9/50G06F9/48
CPCG06F9/4881G06F9/5016
Inventor 王正魁柯洁贾志强
Owner CLOUDMINDS SHANGHAI ROBOTICS CO LTD