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

Multi-process interaction method and system

An interactive method and multi-process technology, applied in the direction of multi-programming devices, etc., can solve problems such as switching takes a long time

Inactive Publication Date: 2014-08-06
TIANJIN MIYOU TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] If it is necessary to pause or limit the download speed to run other processes during the running of the download process, such as playing video or testing the network speed, at present, the download process is paused or the download speed is reset mainly through manual settings, resulting in the gap between processes. Switching takes a long time

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
  • Multi-process interaction method and system
  • Multi-process interaction method and system
  • Multi-process interaction method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0042] refer to figure 1 , shows a flow chart of the first multi-process management method of the present application.

[0043] Step S11: apply for at least one shared memory space in the memory, register the shared memory space and define processes for reading and writing to the shared memory space.

[0044]For each process, the process is first loaded into the corresponding memory space before running. In an embodiment of the present invention, the current file download process and another process are respectively loaded into two memory spaces. Apply for a shared memory space by calling the following API functions:

[0045] #include

[0046] #include

[0047] int shmget(key_t key , size_t si...

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 multi-process interaction method and a multi-process interaction system. The method comprises the following steps that at least one shared memory space in a memory is applied for and registered, and a process for read operation and write operation over the shared memory space is defined; first message data is written for requesting for the running of the process into the shared memory space by using another process; a current file downloading process reads the first message data from the shared memory space, compares the first message data with a first mapping file in the memory, and acquires and executes an instruction; the another process writes second message data for ending the running of the process into the shared memory space; the current file downloading process reads the second message data from the shared memory space, compares the second message data with a second mapping file in the memory, and acquires and executes an instruction. According to the method and the system, the downloading process and the another process are automatically switched, and loads of the downloading process and the another process are balanced.

Description

technical field [0001] The present application relates to a multi-process interaction method and system. Background technique [0002] Downloading is a network activity that transfers files through the network and saves information on the Internet or other electronic computers to the local computer. The current download methods mainly include WEB download, BT download, P2P download and so on. [0003] If it is necessary to pause or limit the download speed to run other processes during the running of the download process, such as playing video or testing the network speed, at present, the download process is paused or the download speed is reset mainly through manual settings, resulting in the gap between processes. Switching takes a long time. Contents of the invention [0004] The technical problem to be solved in this application is to provide a multi-process interaction method, including: [0005] Applying for at least one shared memory space in memory, registering ...

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): G06F9/46
Inventor 邓迪
Owner TIANJIN MIYOU TECH
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