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

Method and device for transferring streaming data between processes

A streaming data, inter-process technology, used in image communication, selective content distribution, electrical components, etc., to solve problems such as streaming data write errors, program crashes, and access to illegal memory locations

Active Publication Date: 2017-05-10
BEIJING QIHOO TECH CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the process responsible for playing the stream data is closed, and the process responsible for obtaining the stream data is positioned by the positioning pointer, at this time, because the positioning pointer is no longer legal, the corresponding location in the memory is no longer assigned to the process responsible for playing the stream data, and is responsible for obtaining If the stream data process feeds the stream data according to the positioning pointer, the stream data will be written into the wrong memory, resulting in access to illegal memory locations, and even program crashes

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
  • Method and device for transferring streaming data between processes
  • Method and device for transferring streaming data between processes
  • Method and device for transferring streaming data between processes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0089] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0090] refer to figure 1 , which shows a schematic flowchart of the steps of a method for transferring streaming data between processes according to Embodiment 1 of the present invention, which may specifically include the following steps:

[0091] Step 101: Receive a stream acquisition instruction passed from a stream playing process to a stream acquiring process.

[0092] In the embodiment of the present invention, the stream pl...

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 discloses a method and device for transferring streaming data between processes. The method comprises the steps of: receiving a streaming acquiring instruction transferred to a streaming acquiring process from a streaming playing process; acquiring target streaming data corresponding to the streaming acquiring instruction; determining that a value of a process state identifier carried by a positioning pointer does not indicate that the process is closed; and according to the positioning pointer, positioning the streaming playing process, and transferring the target streaming data to the streaming playing process, so that the streaming playing process plays the target streaming data. According to the scheme of the invention, before the target streaming data is transferred to the streaming playing process, the case that the streaming playing process is not closed determined by the value of the process state identifier, thereby avoiding a case that the streaming acquiring process feeds back the streaming data to a position in a memory positioned by the positioning pointer in a case of not knowing that the streaming playing process is closed, avoiding a problem that the positioning pointer is illegal or the positioning pointer is released, and solving a problem of program crash caused by access to an illegal memory position.

Description

technical field [0001] The invention relates to the technical field of stream data processing, in particular to a method for transmitting stream data between processes and a device for transmitting stream data between processes. Background technique [0002] Streaming data is data that can be transmitted over a network in a streaming manner. When the streaming data is transferred between processes, the process responsible for playing the streaming data sends an acquisition command to the process responsible for acquiring the streaming data, so that the process responsible for acquiring the streaming data will feed back the streaming data after acquiring the streaming data. [0003] In practical applications, the process responsible for obtaining the stream data can locate the process responsible for playing the stream data through the positioning pointer. If the process responsible for playing the stream data is closed, and the process responsible for obtaining the stream d...

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): H04N21/2387H04N21/442H04N21/472
Inventor 任中伟
Owner BEIJING QIHOO TECH CO LTD