CN103581669B - Support the coded method that odd encoder form multi-process uses simultaneously - Google Patents

Support the coded method that odd encoder form multi-process uses simultaneously Download PDF

Info

Publication number
CN103581669B
CN103581669B CN201310553661.2A CN201310553661A CN103581669B CN 103581669 B CN103581669 B CN 103581669B CN 201310553661 A CN201310553661 A CN 201310553661A CN 103581669 B CN103581669 B CN 103581669B
Authority
CN
China
Prior art keywords
data
pond
wpi
rpi
use process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310553661.2A
Other languages
Chinese (zh)
Other versions
CN103581669A (en
Inventor
何建亿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian chuanggao Zhilian Technology Co.,Ltd.
Original Assignee
Jiangsu Wanlian New Trillion Mdt Infotech Ltd (foreign Joint Ventures)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Wanlian New Trillion Mdt Infotech Ltd (foreign Joint Ventures) filed Critical Jiangsu Wanlian New Trillion Mdt Infotech Ltd (foreign Joint Ventures)
Priority to CN201310553661.2A priority Critical patent/CN103581669B/en
Publication of CN103581669A publication Critical patent/CN103581669A/en
Application granted granted Critical
Publication of CN103581669B publication Critical patent/CN103581669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention belongs to network multimedia data coding techniques field, specially network audio-video data encoding technique.Specifically comprise the following steps that data use process Pi to register to controlling pond;Controlling pond is that data use process Pi to create record;Data coding module inquiry controls pond record;Data coding module obtains real time data from data acquisition module;Data use process Pi to read data according to reading location RPi and writing position RPi in control pond from data pool;Circulation performs step 3,4,5 steps, until data use process Pi to need not data, notice controls pond and these data use the record information release of process Pi.Compared with existing encoding and decoding technique, a kind of coded method supporting odd encoder form multi-process simultaneously to use that the present invention proposes, the audio, video data of different-format can be obtained, meet the demand of different network environments.

Description

Support the coded method that odd encoder form multi-process uses simultaneously
Technical field
The invention belongs to network multimedia data coding techniques field, specially network audio-video data encoding technique.
Background technology
Along with flourish in internet, applications of multimedia, the encoding and decoding technique of audio frequency and video increasingly comes into one's own.But it is existing Encoding and decoding be mostly still employing conventional art, coordinate the output of single form with single input source, then carry out the mode that cross-thread is shared, Carry out multithreading support.This technology makes each use the thread of code stream to be affected by coded format, it is impossible to according to heterogeneous networks ring The demand output the most suitably audio, video data in border.
Summary of the invention
The problem existed for network audio-video data tradition encoding and decoding technique, it is many that the present invention proposes a kind of support odd encoder form The coded method that process uses simultaneously, makes each use the thread of code stream not affected by coded format, can be according to heterogeneous networks The demand output the most suitably audio, video data of environment.
For achieving the above object, the present invention proposes a kind of coded method supporting odd encoder form multi-process simultaneously to use, specifically Step is as follows:
(1) data use process Pi to register to controlling pond, and log-on message is that data use process Pi desired data stream Data form Ai;
(2) controlling pond is that data use process Pi to create record, and record information includes that data use process Pi, desired data Form Ai, the desired data reading location RPi in data pool, currently writing position WPi in data pool, now WPi= RPi;
(3) data coding module inquiry controls pond record, needs the data of form Ai as being found to have process Pi, then from control Writing position WPi in current data pond is obtained in pond;
(4) data coding module obtains real time data from data acquisition module, starts Ai format encoder, to the data obtained Encode, be written to the data after coding data pool WPi position, update writing position WPi simultaneously;
(5) data use process Pi to read data according to reading location RPi and writing position WPi in control pond from data pool, if RPi is not equal to WPi, then read WPi position from data pool RPi position always, update reading location information RPi simultaneously, if RPi is equal to WPi, then wait new data write;
(6) circulation performs step 3,4,5 steps, until data use process Pi to need not data, notice controls pond should Data use the record information release of process Pi.
Further, in described step (5), if writing position WPi exceedes the maximum of data pool data field, then can be straight Connect circulation.
Compared with existing encoding and decoding technique, a kind of coding staff supporting odd encoder form multi-process simultaneously to use that the present invention proposes Method, can obtain the audio, video data of different-format, meets the demand of different network environments.
Accompanying drawing explanation
The system architecture diagram of Fig. 1 present invention;
The flow chart of Fig. 2 the inventive method.
Detailed description of the invention
The invention will be further described with embodiment below in conjunction with the accompanying drawings.
Fig. 1 show the system tray of a kind of coded method supporting odd encoder form multimode process simultaneously to use that the present invention proposes Composition, uses process including data acquisition module, data coding module, data pool, control pond and several data.Data acquisition Collection module is responsible for gathering audio, video data and is sent data coding module;Data coding module is internally installed multiple encoder, supports each Planting the coding work of coded format, the data gathered are encoded and write data pool by the requirement according to controlling pond;Data pool is The memory block of audio, video data, this region is the memory block of ring logical, places the audio, video data of different-format, and data pool connects Receiving the data of data coding module and be supplied to data use process, data pool has two pointer WPi and RPi, and the former points to number According to writing position, the latter points to the reading position of data;Data use process to be the process using audio, video data, work as needs During data, to the form controlled needed for the registration of pond, according to controlling the current location information of data in pond, get from data pool Data;Controlling pond is to control shared region, when data use process to need the coding using certain data, can carry out in this pond Arrange, record demand information and the current state of this process, specifically include data use process Pi, desired data form Ai, Desired data reading location RPi in data pool, currently writing position WPi in data pool, when certain data uses process to read During data, reading location RPi can be updated, when data coding module thinks that data pool writes data, writing position WPi can be updated.
Fig. 2 show the flow chart of a kind of coded method supporting odd encoder form multi-process simultaneously to use that the present invention proposes, base This work process is as follows:
(1) when data use process Pi to need to read data, registering to controlling pond, log-on message is that data use process The data form Ai of Pi desired data stream;Turn (2nd) step
(2) controlling pond is that data use process Pi to create record, and record information includes that data use process Pi, desired data Form Ai, the desired data reading location RPi in data pool, currently writing position WPi in data pool, now WPi= RPi;Turn (3rd) step;
(3) data coding module inquiry controls pond record, needs the data of form Ai as being found to have process Pi, then from control Obtain writing position WPi in current data pond in pond, turn (4th) step;Otherwise repeat (3rd) step;
(4) data coding module obtains real time data from data acquisition module, starts Ai format encoder, to the data obtained Encode, be written to the data after coding data pool WPi position, update writing position WPi simultaneously;Turn (5th) step
(5) data use process Pi to read data according to reading location RPi and writing position RPi in control pond from data pool, if RPi is not equal to WPi, then read WPi position from data pool RPi position always, updates reading location information RPi simultaneously, turns the (6) step;If RPi is equal to WPi, then waits new data write, turn (4th) step;
(6) judge that data use whether process Pi also needs to read data, if desired, (4th) step of then walking around;As being not required to Want data, then (7th) step of walking around;
(7) notice control pond discharges the record information of these data use process Pi and terminates.
If now there being process Pj to need the data stream of form Aj, flow process is identical with Pi.

Claims (2)

1. the coded method supporting that odd encoder form multi-process uses simultaneously, it is characterised in that comprise the following steps:
(1) data use process Pi to register to controlling pond, and log-on message is the data that data use process Pi desired data stream Form Ai;
(2) controlling pond is that data use process Pi to create record, and record information includes that data use process Pi, desired data form Ai, the desired data reading location RPi in data pool, currently writing position WPi in data pool, now WPi=RPi;
(3) data coding module inquiry controls pond record, needs the data of form Ai as being found to have process Pi, then in controlling pond Obtain writing position WPi in current data pond;
(4) data coding module obtains real time data from data acquisition module, starts Ai format encoder, carries out the data obtained Data after coding are written to data pool WPi position, update writing position WPi by coding simultaneously;
(5) data use process Pi to read data according to reading location RPi and writing position WPi in control pond from data pool, if RPi It is not equal to WPi, then reads WPi position from data pool RPi position always, update reading location information RPi simultaneously, if RPi Equal to WPi, then wait new data write;
(6) circulation performs step 3,4,5 steps, until data use process Pi to need not data, notice controls pond by these data The record information release of use process Pi.
2. the coded method supporting odd encoder form multi-process simultaneously to use as claimed in claim 1, it is characterised in that described step Suddenly, in (4), data pool is ring buffer;In described step (5), if writing position WPi exceedes data pool data field Maximum, then can be with direct circulation.
CN201310553661.2A 2013-11-08 2013-11-08 Support the coded method that odd encoder form multi-process uses simultaneously Active CN103581669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310553661.2A CN103581669B (en) 2013-11-08 2013-11-08 Support the coded method that odd encoder form multi-process uses simultaneously

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310553661.2A CN103581669B (en) 2013-11-08 2013-11-08 Support the coded method that odd encoder form multi-process uses simultaneously

Publications (2)

Publication Number Publication Date
CN103581669A CN103581669A (en) 2014-02-12
CN103581669B true CN103581669B (en) 2016-08-17

Family

ID=50052447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310553661.2A Active CN103581669B (en) 2013-11-08 2013-11-08 Support the coded method that odd encoder form multi-process uses simultaneously

Country Status (1)

Country Link
CN (1) CN103581669B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104768051B (en) * 2015-03-06 2017-12-15 深圳市九洲电器有限公司 The adaptive method for switching and system of odd encoder formatted program stream

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750571A (en) * 2005-10-28 2006-03-22 武汉市中光通信公司 Medium processing system suitable for IP medium server
CN101140543A (en) * 2007-10-19 2008-03-12 炬力集成电路设计有限公司 Data interchange device and method for supporting flash page operations and pipelined error-correcting code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020199205A1 (en) * 2001-06-25 2002-12-26 Narad Networks, Inc Method and apparatus for delivering consumer entertainment services using virtual devices accessed over a high-speed quality-of-service-enabled communications network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750571A (en) * 2005-10-28 2006-03-22 武汉市中光通信公司 Medium processing system suitable for IP medium server
CN101140543A (en) * 2007-10-19 2008-03-12 炬力集成电路设计有限公司 Data interchange device and method for supporting flash page operations and pipelined error-correcting code

Also Published As

Publication number Publication date
CN103581669A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
KR101615967B1 (en) Hypothetical reference decoder for multiview video coding
CN102780932B (en) Multiwindow player method and system
MX349418B (en) Video encoding method and apparatus using transformation unit of variable tree structure, and video decoding method and apparatus.
MY174869A (en) Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
CN103581669B (en) Support the coded method that odd encoder form multi-process uses simultaneously
CN101272501B (en) Video/audio encoding and decoding method and device
CN103491379A (en) Method and device for improving intelligent analysis performance
CN105245759A (en) Method and device for realizing image synchronous display
US20140063183A1 (en) Method of processing multi-view image and apparatus for executing the same
CN102630007B (en) Method for processing TCP (transmission control protocol) video data stream
CN102447965B (en) Method and device supporting access of video plug-in for quickly and smoothly displaying video
CN103686195A (en) Video information processing method and video information processing equipment
CN203537622U (en) Parallel led point light source control system
CN102098510A (en) Methods and devices for decoding and coding audio/video data
CN112327600A (en) Data synchronization method of redundant controller, redundant controller and instrument control system
CN104796706A (en) Video coding method and device
CN101184244A (en) Video coding method and system
CN100449498C (en) Data storage device
CN203931450U (en) LED display information issuing system
CN102984571A (en) External data reading method of Gstreamer in digital television and device thereof
Mrduljaš Building the Affordable Arcadia. Tourism development on the Croatian Adriatic coast under state socialism
CN106855869A (en) A kind of methods, devices and systems for realizing database High Availabitity
CN113709399A (en) Visual target tracking system based on DSP + FPGA
CN104159142A (en) Video soft decoding method and device of equipment
CN202196253U (en) Bedside projection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210330

Address after: 350000 617, overseas Chinese Pioneer Park, 108 Jiangbin East Avenue, Fuzhou Development Zone, Fuzhou City, Fujian Province

Patentee after: CHUANGO SECURITY TECHNOLOGY Corp.

Address before: 212009 2nd floor, building 41, 99 jing12 Road, Dingmao science and technology new town, Zhenjiang City, Jiangsu Province

Patentee before: Jiangsu Wanlian Xinzhao Information Technology Co.,Ltd. (foreign joint venture)

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 350000 6th floor, building 3, Fuzhou Internet of things industrial innovation and development center, No. 136, Kuiqi Road, Mawei District, Fuzhou City, Fujian Province

Patentee after: Fujian chuanggao Zhilian Technology Co.,Ltd.

Address before: 350000 617, overseas Chinese Pioneer Park, 108 Jiangbin East Avenue, Fuzhou Development Zone, Fuzhou City, Fujian Province

Patentee before: CHUANGO SECURITY TECHNOLOGY Corp.

CP03 Change of name, title or address