CN101917607A - Embedded system multi-channel video capture method - Google Patents
Embedded system multi-channel video capture method Download PDFInfo
- Publication number
- CN101917607A CN101917607A CN 201010233677 CN201010233677A CN101917607A CN 101917607 A CN101917607 A CN 101917607A CN 201010233677 CN201010233677 CN 201010233677 CN 201010233677 A CN201010233677 A CN 201010233677A CN 101917607 A CN101917607 A CN 101917607A
- Authority
- CN
- China
- Prior art keywords
- terminal
- video camera
- camera
- video
- video data
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000004891 communication Methods 0.000 claims abstract description 7
- 238000005538 encapsulation Methods 0.000 claims description 3
- 238000012856 packing Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides an embedded system multi-channel video capture method. A UPD protocol is adopted for communication between cameras and an embedded terminal; video data is packaged by the cameras and is transmitted to the embedded terminal packet by packet; and the embedded terminal receives the video data transmitted by each camera in a polling mode. The embedded system multi-channel video capture method comprises the step of increasing a set of protocol between the cameras and the embedded terminal, wherein the protocol is that: a camera A transmits a packet of video data to the embedded terminal; the terminal transmits a response to the camera A after receiving the video data, continuously receives the data of a camera B, and transmits a response to the camera B after receiving the video data of the camera B; by parity of reasoning, each camera waits for the response of the terminal after transmitting a packet of data, and transmits a new packet of video data to the embedded terminal after receiving the response if new video data is present; and if a camera does not receive the response of the embedded terminal after waiting for a certain period of time, the camera continuously transmits the generated new video data to the embedded terminal, and the waiting time is determined according to the code rate of the camera.
Description
Technical field
The present invention relates to a kind of multimedia technology field, specifically a kind of embedded system multi-channel video capture method.
Background technology
Embedded system because of its with respect to the cheaper price of PC and the characteristic of the single-minded special use of function, stronger environmental suitability, and more and more used.Gathering video data by built-in terminal also is the development trend of present video acquisition.But meanwhile, embedded system is because still there are certain gap in its hardware index and PC, so the overall performance that shows is poor than PC, this takes the method for software to remedy these gaps with regard to impelling us.
Summary of the invention
The purpose of this invention is to provide a kind of embedded system multi-channel video capture method.
The objective of the invention is to realize in the following manner, adopt the UPD protocol communication between video camera and the built-in terminal, video data packet-by-packet sends to built-in terminal after video camera packing encapsulation, built-in terminal receives the video data that each video camera sends by polling mode.For fear of because the restriction on the embedded device performance causes the situation that occurs that video data has little time to receive and lost, the concrete steps that adopt are: we give, and communication increases by a cover agreement between video camera and the built-in terminal, this agreement regulation: video camera A sends a bag video data to built-in terminal, built-in terminal sends one to video camera A and replys after receiving data, and continuation receives the data of video camera B, receive that sending one to video camera B behind the video data of video camera B replys, by that analogy, every video camera is waited for replying of built-in terminal after sending bag data, receive reply after, if new video data has been arranged this moment, then send a new bag video data to built-in terminal, if still do not receive replying of built-in terminal after video camera waits for a period of time, but new video data produces, then continue to send video data to built-in terminal, the value of stand-by period is according to the code check decision of video camera.
Advantage of the present invention is, solved the multichannel video camera in sending data procedures, and new data has washed out the old data accepted of also not having enough time, and causes the incoherent problem of video.After adopting method of the present invention, under situation about not needing, solved the problem of video reception efficient and integrality to hardware modifications.
Description of drawings
Accompanying drawing 1 transmits schematic diagram for the embedded system multi-channel video capture method data;
Accompanying drawing 2 is a kind of data transport stream journey schematic diagram of embedded system multi-channel video capture method.
Embodiment
Explain below with reference to Figure of description method of the present invention being done.
A kind of embedded system multi-channel video capture method of the present invention is to adopt the UPD protocol communication between video camera and built-in terminal, and the advantage of udp protocol is the traffic rate height.Video data after video camera packing encapsulation one wrap send to built-in terminal.Built-in terminal receives the video data that each video camera sends by polling mode.Because the restriction on the embedded device performance after a circulation, occurs video data often and has little time to receive, thereby the situation of being lost.For addressing this problem, the concrete steps that we adopt are to have increased by a cover agreement again to communication between video camera and the built-in terminal, video camera A sends a bag video data to built-in terminal, built-in terminal sends one to video camera A and replys after receiving data, and continuation receives the data of video camera B, receive that sending one to video camera B behind the video data of video camera B replys, by that analogy, as shown in Figure 1.Every video camera is waited for replying of built-in terminal after sending bag data, receive reply after, if new video data has been arranged this moment, then send a new bag video data to built-in terminal, do not reply if still receive after waiting for a period of time, but new video data produces, and then continues to send video data to built-in terminal, as shown in Figure 2.The value of stand-by period is according to the code check decision of video camera.So just solved the multichannel video camera in process of transmitting, new data has washed out the old data accepted of also not having enough time, and causes the incoherent problem of video.
Except that the described technical characterictic of specification, be the known technology of those skilled in the art.
Claims (1)
1. embedded system multi-channel video capture method, it is characterized in that, adopt the UPD protocol communication between video camera and the built-in terminal, video data packet-by-packet sends to built-in terminal after video camera packing encapsulation, built-in terminal receives the video data that each video camera sends by polling mode; Concrete steps are that communication increases by a cover agreement between video camera and the built-in terminal, this agreement regulation: video camera A sends a bag video data to built-in terminal, terminal sends one to video camera A and replys after receiving data, and continuation receives the data of video camera B, receive that sending one to video camera B behind the video data of video camera B replys, by that analogy, every video camera is waited for replying of terminal after sending bag data, receive reply after, if new video data has been arranged this moment, then send a new bag video data to built-in terminal, if still do not receive replying of built-in terminal after video camera waits for a period of time, the new video data that has produced then continues to send to built-in terminal, and the value of stand-by period is according to the code check decision of video camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010233677 CN101917607A (en) | 2010-07-22 | 2010-07-22 | Embedded system multi-channel video capture method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010233677 CN101917607A (en) | 2010-07-22 | 2010-07-22 | Embedded system multi-channel video capture method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101917607A true CN101917607A (en) | 2010-12-15 |
Family
ID=43324975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010233677 Pending CN101917607A (en) | 2010-07-22 | 2010-07-22 | Embedded system multi-channel video capture method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101917607A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106993185A (en) * | 2015-12-10 | 2017-07-28 | 青岛海信网络科技股份有限公司 | A kind of video quality diagnosing method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404604A (en) * | 2008-11-03 | 2009-04-08 | 浪潮电子信息产业股份有限公司 | 485 bus type monitoring system and its high extendibility method |
CN101436978A (en) * | 2007-11-15 | 2009-05-20 | 盛乐信息技术(上海)有限公司 | Method for authentic data transmission using UDP protocol |
CN101594539A (en) * | 2009-06-24 | 2009-12-02 | 中兴通讯股份有限公司 | Realize method, decoder and the supervisory control system of decoder synchronous polling |
-
2010
- 2010-07-22 CN CN 201010233677 patent/CN101917607A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436978A (en) * | 2007-11-15 | 2009-05-20 | 盛乐信息技术(上海)有限公司 | Method for authentic data transmission using UDP protocol |
CN101404604A (en) * | 2008-11-03 | 2009-04-08 | 浪潮电子信息产业股份有限公司 | 485 bus type monitoring system and its high extendibility method |
CN101594539A (en) * | 2009-06-24 | 2009-12-02 | 中兴通讯股份有限公司 | Realize method, decoder and the supervisory control system of decoder synchronous polling |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106993185A (en) * | 2015-12-10 | 2017-07-28 | 青岛海信网络科技股份有限公司 | A kind of video quality diagnosing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111683367B (en) | Secure communication module, secure communication system, secure communication method, and readable storage medium | |
CN104115500A (en) | Bi-directional tunneling via user input back channel for wireless displays | |
WO2011099821A3 (en) | Method for transmitting mtc data in a mobile communication system | |
CN102223731A (en) | Interface equipment compatible with various terminals in internet of things and realization method thereof | |
CN102790776A (en) | Heartbeat connection normalizing processing method, terminal, server and communication system | |
CN106256149A (en) | A kind of data processing method and device | |
CN105704252A (en) | Low-power-consumption bluetooth equipment data transmission method and device | |
US9591105B2 (en) | Communication apparatus, communication system, communication method, and program for improved data transfer efficiency | |
CN104506868B (en) | Video code flow transmission method, apparatus and system | |
EP2854350B1 (en) | System and method for cross-network data storage | |
CN102098800B (en) | Processing device and processing system for mobile gateway, and method for processing data | |
CN104184834A (en) | File transmission method and device and terminal | |
CN102833508B (en) | A kind of with self-adaption of decoding video recording method and system | |
CN103856269A (en) | Information transmitting and reading method and device based on sound waves | |
CN102104749B (en) | System and method for upgrading television | |
CN101917607A (en) | Embedded system multi-channel video capture method | |
CN102917212A (en) | 3G (The 3rd Generation Telecommunication) wireless video monitoring implementation method and 3G wireless video monitoring system based on RTP (Real Time Protocol) and RTSP (Real Time Streaming Protocol) | |
RU2010134937A (en) | METHOD FOR MAKING DIFFERENT PACKAGE LENGTHS IN DATA TRANSFER PROTOCOL | |
CN105516179A (en) | Network invasion preventing safe data transmission system and network invasion preventing safe data transmission method | |
CN101917549B (en) | Method and device for controlling digital camera | |
CN102866906A (en) | Extensible software upgrade method for embedded terminal | |
CN111083163A (en) | Internet of things system and data processing method thereof | |
CN113056008B (en) | Data transmission method and device | |
CN104735821B (en) | A kind of wireless network card and its implementation turning serial port function with USB | |
US20120093175A1 (en) | Method and apparatus of transmitting packet in communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20101215 |