CN107493483A - A kind of information transferring method, device and digital hard disc video recorder - Google Patents

A kind of information transferring method, device and digital hard disc video recorder Download PDF

Info

Publication number
CN107493483A
CN107493483A CN201610421448.XA CN201610421448A CN107493483A CN 107493483 A CN107493483 A CN 107493483A CN 201610421448 A CN201610421448 A CN 201610421448A CN 107493483 A CN107493483 A CN 107493483A
Authority
CN
China
Prior art keywords
code stream
pipeline
coding card
request
coding
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
Application number
CN201610421448.XA
Other languages
Chinese (zh)
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201610421448.XA priority Critical patent/CN107493483A/en
Publication of CN107493483A publication Critical patent/CN107493483A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2383Channel coding or modulation of digital bit-stream, e.g. QPSK modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums

Abstract

The embodiment of the invention discloses a kind of information transferring method, device and digital hard disc video recorder, this method is applied to the terminal in digital hard disc video recorder, wherein, digital hard disc video recorder includes:Terminal and coding card, this method include:Request is obtained by naming pipeline to send code stream information to coding card;Coding card is received by naming pipeline transmitted stream information, wherein, code stream information is that coding card obtains the code stream of request acquisition according to code stream information and the code stream to being obtained is packaged to obtain;Code stream information is sent to central server.Using the embodiment of the present invention, data sharing is realized in guarantee.

Description

A kind of information transferring method, device and digital hard disc video recorder
Technical field
The present invention relates to field of information processing, more particularly to a kind of information transferring method, device and digital hard disc video recorder.
Background technology
PC (Personal Computer, PC) formula DVR (Digital Video Recorder, digital hard disk record Camera) (hereinafter referred to as " PC-DVR ") be made up of coding card and terminal (PC).
At present, each PC-DVR has the demand of data sharing, i.e., each PC-DVR needs to gather respective coding card Code stream information be sent to central server, every PC-DVR can obtain need, other PC-DVR from central server Coding card collection code stream information.
But traditional PC-DVR does not simultaneously have network transmission function, the code stream information that PC-DVR coding card can not be gathered Central server is transferred to, and then data sharing can not be realized.
The content of the invention
The embodiment of the invention discloses a kind of information transferring method, device and digital hard disc video recorder, to ensure to realize number According to shared.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of information transferring method, applied to digital hard disk recording Terminal in machine, wherein, the digital hard disc video recorder includes:Terminal and coding card, methods described include:
Request is obtained by naming pipeline to send code stream information to the coding card;
The coding card is received by naming pipeline transmitted stream information, wherein, the code stream information is the coding Card obtains the code stream of request acquisition according to the code stream information and the code stream to being obtained is packaged what is obtained;
The code stream information is sent to central server.
Optionally, it is described by name pipeline to the coding card send code stream information obtain request before, in addition to:
Example request to create is sent to the coding card;
Receive the example that the coding card is sent and create success message, wherein, the example, which creates success message, to be included: The mark for the name pipeline example that the coding card creates in preset time according to the example request to create;
According to the mark of the name pipeline example, connection request is sent to the coding card, so that the coding card exists The name pipeline for connecting the terminal is established under the name pipeline example.
Optionally, it is described to send the code stream information to central server, in addition to:
To the coding card send communication disruption request so that the coding card according to the communication disruption request interrupt with The name pipeline of the terminal room.
Optionally, the message header of the code stream information includes:Main channel encoding state and subchannel encoding state.
Optionally, the name pipeline, including:Order pipeline and code stream pipeline, the code stream pipeline are the coding cards Created according to coding pass, the corresponding code stream pipeline of a coding pass;
It is described to obtain request by naming pipeline to send code stream information to the coding card, including:
Code stream information is sent to the coding card by the order pipeline and obtains request;
It is described to receive the coding card by naming pipeline transmitted stream information, including:
Receive the coding card and pass through the code stream pipeline transmitted stream information.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of information carrying means, is recorded applied to digital hard disk Terminal in camera, wherein, the digital hard disc video recorder includes:Terminal and coding card, described device include:
First request sending module, for obtaining request by naming pipeline to send code stream information to the coding card;
Information receiving module, for receiving the coding card by naming pipeline transmitted stream information, wherein, the code Stream information is that the coding card obtains the code stream of request acquisition according to the code stream information and the code stream to being obtained is packaged Obtain;
Information sending module, for the code stream information to be sent to central server.
Optionally, described device also includes:
Second request sending module, for sending example request to create to the coding card;
Message reception module, success message is created for receiving the example that the coding card is sent, wherein, the example wound Building success message includes:The name pipeline example that the coding card creates in preset time according to the example request to create Mark;
3rd request sending module, for the mark according to the name pipeline example, send and connect to the coding card Request, so that the coding card establishes the name pipeline for connecting the terminal under the name pipeline example.
Optionally, described device also includes:
4th request sending module, for the coding card send communication disruption request so that the coding card according to The name pipeline with the terminal room is interrupted in the communication disruption request.
Optionally, the message header of the code stream information includes:Main channel encoding state and subchannel encoding state.
Optionally, the name pipeline, including:Order pipeline and code stream pipeline, the code stream pipeline are the coding cards Created according to coding pass, the corresponding code stream pipeline of a coding pass;
First request sending module, is specifically used for:
Code stream information is sent to the coding card by the order pipeline and obtains request;
Described information receiving module, is specifically used for:
Receive the coding card and pass through the code stream pipeline transmitted stream information.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of digital hard disc video recorder, the digital hard disk record Camera includes:Terminal and coding card;
The terminal, for obtaining request by naming pipeline to send code stream information to the coding card;
The coding card, code stream is obtained for obtaining request according to the code stream information, and the code stream to being obtained is carried out Encapsulation obtains code stream information, by naming pipeline that the code stream information is sent into the terminal;
The terminal, it is additionally operable to receive the code stream information, the code stream information is sent to central server.
Optionally, the terminal, it is additionally operable to send example request to create to the coding card;
The coding card, is additionally operable in preset time, and name pipeline example is created according to the example request to create, and Example, which is sent, to the terminal creates success message, wherein, the example, which creates success message, to be included:The name pipeline is real The mark of example;
The terminal, the mark according to the name pipeline example is additionally operable to, connection request is sent to the coding card;
The coding card, it is additionally operable to establish the connection terminal foundation name pipeline under the name pipeline example.
Optionally, the terminal, it is additionally operable to send communication disruption request to the coding card;
The coding card, it is additionally operable to interrupt the name pipeline with the terminal room according to communication disruption request.
Optionally, the name pipeline includes:Order pipeline and code stream pipeline, the code stream pipeline are the coding card roots Created according to coding pass, the corresponding code stream pipeline of a coding pass:
The terminal, request is obtained specifically for sending code stream information to the coding card by the order pipeline, and Receive the coding card and pass through the code stream pipeline transmitted stream information;
The coding card, code stream, and the code stream to being obtained are obtained specifically for obtaining request according to the code stream information It is packaged to obtain code stream information, the code stream information is sent to by the terminal by code stream pipeline.
From the foregoing, it will be observed that in the embodiment of the present invention, the terminal in digital hard disc video recorder is by naming pipeline hard to the numeral Coding card in disk video recorder sends code stream information and obtains request;Coding card obtains request according to the code stream information and obtains code stream And the code stream to being obtained is packaged after obtaining code stream information, code stream information is sent to terminal, terminal has network transmission Function, therefore, terminal can send code stream information to central server, and then realize number after code stream information is received According to shared.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of digital hard disc video recorder provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of information transferring method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of message header provided in an embodiment of the present invention;
Fig. 4 is the functional schematic of a kind of pipe service end provided in an embodiment of the present invention and pipeline client;
Fig. 5 is a kind of structural representation of information carrying means provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Below by specific embodiment, the present invention is described in detail.
With reference to figure 1, Fig. 1 is a kind of structural representation of digital hard disc video recorder provided in an embodiment of the present invention, the numeral DVR 001 includes:Terminal 100 and coding card 200.Here, terminal 100 can be PC (Personal Computer, PC), or other have the equipment of network transmission function.
In one embodiment of the invention, terminal 100 and coding card 200 can also may be used in same physical machine With in different physical machines.In order to ensure the communication between terminal 100 and coding card 200, built between terminal 100 and coding card 200 Name pipeline (Named Pipe) is found.Here, it is a kind of reliable inter-process communication mechanisms to name pipeline, and it can be established It between the different processes of same terminal, can establish between the different processes of different terminals, can be unidirectional or two-way 's.
Name pipeline between terminal 100 and coding card 200 can be established in the following manner:
Terminal 100 sends example request to create to coding card 200;
After coding card 200 receives example request to create, in preset time, name pipe is created according to example request to create Road example, and send example to terminal 100 and create success message, wherein, example, which creates success message, to be included:Name pipeline real The mark of example;
Terminal 100 according to name pipeline example mark, to coding card 200 send connection request, wherein, connection please in wrap Include:Name the mark of pipeline example;
The mark for the name pipeline example that coding card 200 please include according to connection, the company of foundation in the case where naming pipeline example Connect terminal 100 and establish name pipeline.
After naming pipeline to establish, communicated between terminal 100 and coding card 200 using the name pipeline, in the name pipe Enter row information in road have exchanged.
When the sign off between terminal 100 and coding card 200, terminal 100 sends communication disruption to coding card 200 please Ask;Communication disruption request includes:Name the mark of pipeline example;
Coding card 200 interrupts the name pipeline with terminal room according to communication disruption request.Here, the name pipeline interrupted Pipeline is named corresponding to the mark of the name pipeline example included for communication disruption request.
In one embodiment of the invention, after establishing name pipeline, the He of terminal 100 of digital hard disc video recorder 001 The can of coding card 200 realizes each digital hard disk recording using naming pipeline that the code stream of collection is uploaded into central server Data sharing between machine, specifically:
Terminal 100 obtains request by naming pipeline to send code stream information to coding card 200;
Coding card 200 obtains request according to code stream information and obtains code stream, and the code stream to being obtained is packaged to obtain code Stream information, by naming pipeline that code stream information is sent into terminal 100;
After terminal 100 receives code stream information, code stream information is sent to central server.
So, other digital hard disc video recorder cans get the code of digital hard disc video recorder 001 from central server Stream information, and then realize data sharing.
In one embodiment of the invention, name pipeline can include:Order pipeline and code stream pipeline, code stream pipeline It is that coding card 200 creates according to coding pass, the corresponding code stream pipeline of a coding pass.Wherein, order pipeline, it is used for Order between transmission terminal 100 and coding card 200, example request to create described above, example create success message, connection request Deng;Code stream pipeline is used for coding card 200 to the transmission code stream information of terminal 100.
In this case, terminal 100, please specifically for sending code stream information acquisition to coding card 200 by order pipeline Ask, and receive coding card 200 and pass through code stream pipeline transmitted stream information;
Coding card 200, code stream is obtained specifically for obtaining request according to code stream information, and the code stream to being obtained seals Dress obtains code stream information, and code stream information is sent into terminal 100 by code stream pipeline.
Using embodiment illustrated in fig. 1, the terminal in digital hard disc video recorder is by naming pipeline to the digital hard disk recording Coding card in machine sends code stream information and obtains request;Coding card obtains request according to the code stream information and obtains code stream and to institute The code stream of acquisition is packaged after obtaining code stream information, and code stream information is sent into terminal, and terminal has network transmission function, because This, terminal can send code stream information to central server, and then realize data sharing after code stream information is received.
With reference to figure 2, Fig. 2 is a kind of schematic flow sheet of information transferring method provided in an embodiment of the present invention, and this method should For the terminal in digital hard disc video recorder, as shown in figure 1, digital hard disc video recorder 001 includes:Terminal 100 and coding card 200, this method includes:
S201:Request is obtained by naming pipeline to send code stream information to coding card 200;
In one embodiment of the invention, terminal 100 and coding card 200 can also may be used in same physical machine With in different physical machines.In order to ensure the communication between terminal 100 and coding card 200, terminal 100 needs before S201 is performed Name pipeline is established between coding card 200:
S01:Example request to create is sent to coding card 200;
S02:Receive the example that coding card 200 is sent and create success message, wherein, example, which creates success message, to be included: The mark for the name pipeline example that coding card 200 creates in preset time according to example request to create;
S03:According to the mark of name pipeline example, connection request is sent to coding card 200, wherein, connection please include: Name the mark of pipeline example.
So, the mark for the name pipeline example that coding card 200 please include according to connection, builds in the case where naming pipeline example The name pipeline of vertical connection terminal 100.
In one embodiment of the invention, the process for the name pipeline established between terminal 100 and coding card 200 can be with For:
On the one hand, coding card 200 is created a name pipeline example and returned and is used for by function CreateNamedPipe The handle operated from now on, or create new name pipeline example for already present name pipeline and return to the sentence for operating from now on Handle.Record has timeout value (preset time) in coding card 200, if before timeout value vanishing, name has under pipeline example One name pipeline can use, then name pipeline to create successfully simultaneously return duct handle, and carry out self terminal 100 to intercept Connection request, the function of intercepting connection request are realized by function ConnectNamedPipe.
On the other hand, terminal 100 by function WaitNamedPipe (example request to create) make coding card 200 wait come From the connection request of the terminal 100.If before timeout value vanishing, it can be that connection uses to have a name pipeline, then WaitNamedPipe will return to True, and be called pair by calling CreateFile or CallNamedPipe (connection request) The connection of coding card 200.The now connection request of the receiving terminal 100 of coding card 200, is successfully established connection, coding card 200 ConnectNamedPipe returns to True, and the CreateFile of terminal 100 will return to a handle for pointing to pipe file.
It is that terminal 100 makes the CreateFile of coding card 200 pre- by WaitNamedPipe first from sequential If creating name pipeline example success in the time, then both sides are successfully connected by ConnectNamedPipe and CreateFile Connect, and return to the handle of the pipe file to communicate, now both sides can be by naming pipeline communicate.
S202:Coding card 200 is received by naming pipeline transmitted stream information;
Here, code stream information is code stream and the code to being obtained that coding card 200 obtains that request obtains according to code stream information Stream is packaged what is obtained.
In one embodiment of the invention, coding card 200 obtains a frame code stream every time, then this frame code stream is added and disappeared Breath head is packaged, and obtains code stream information, and code stream information is sent into terminal 100 finally by name pipeline, is so easy to end End 100, which distinguishes different frame data and frame data are carried out with processing, carries out playback.In one embodiment, the structure of message header As shown in Figure 3.
Here, it is worth mentioning at this point that, it can include in the message header of code stream information:Main channel encoding state and subchannel are compiled Code state.,, only can not area with frame type if not differentiating between main channel and subchannel for audio frame because code stream includes audio frame Multi-voice frequency frame belongs to main channel or subchannel, or main channel and subchannel have.And central server may only need Audio frame corresponding to audio frame corresponding to the encoding state of main channel or subchannel encoding state is obtained, if now by all audio frames Central server is sent to, Internet resources will be wasted.
If being provided with main channel encoding state and subchannel encoding state, terminal 100 is then easy to carry out area to audio frame Point, and terminal 100 can divide audio frame according to main channel encoding state and subchannel encoding state, only to central server Audio frame corresponding to the encoding state of main channel is sent, or only sends audio corresponding to subchannel encoding state to central server Frame, or audio frame corresponding to audio frame corresponding to the encoding state of main channel and subchannel encoding state is all sent to center service Device.
S203:Code stream information is sent to central server.
So, other digital hard disc video recorder cans get the code of digital hard disc video recorder 001 from central server Stream information, and then realize data sharing.
In one embodiment of the invention, terminal 100 sends code stream information to central server, if the end End 100 need not send code stream information to central server again within a period of time, can be to coding card 200 in the terminal 100 Communication disruption request is sent, coding card 200 asks to interrupt the name pipeline between terminal 100, releasing network according to communication disruption Resource.
In one embodiment of the invention, name pipeline can include:Code stream pipeline and order pipeline.Here, code Flow tube road is used for coding card 200 to the transmission code stream information of terminal 100, and code stream pipeline is that coding card 200 creates according to coding pass , in order to prevent pipeline buffer from overflowing, the corresponding code stream pipeline of a coding pass a, in addition, coding pass is corresponding Data frame all the way;Order pipeline is used to transmit the command request between coding card 200 and terminal 100, here, coding card 200 and end The information transmitted between end 100 can be referred to as command request in addition to code stream information.
In this case, S201 is specifically as follows:Sending code stream information acquisition to coding card 200 by order pipeline please Ask;
S202 is specifically as follows:Receive coding card 200 and pass through code stream pipeline transmitted stream information.
The communication format for each name pipeline is previously stored with terminal 100 and coding card 200, it is to coding card 200 send command request, and when obtaining data, according to the communication format of order pipeline, Envelope command asks the data included, so Coding card 200 sends the command request backward again afterwards, wherein, it can include in the command request:The interface name and tune of calling Use parameter;Coding card 200 parses the command request after the command request is received, according to the communication format of order pipeline, if Successfully resolved is unable to, then abandons the command request, it is advance from coding card 200 according to the interface name of calling if successfully resolved Function corresponding to the interface name of calling is obtained in the interface name of storage and the corresponding relation of function, is wrapped according in command request The call parameters included, the function of acquisition is run, obtain corresponding information.
It is noted that when mentioned order request obtains request for code stream information, code stream information obtains can in request To include the mark of the first code stream pipeline, coding card 200 obtains code stream information corresponding to the first code stream pipeline, and passes through first yard Code stream information is sent to terminal 100 by flow tube road.
In one embodiment of the invention, controlled for the ease of management, coding card 200, can be with initial start A pipe service end is created, terminal can create a pipeline client, pipe service end and pipeline visitor in initial start Name pipeline is established between the end of family, now, actual communication between terminal 100 and coding card 200 is pipe service end and pipeline client Communication between end.Such as:Pipe service end, which obtains code stream and is packaged from coding card 200, obtains code stream information, passes through name Code stream information is sent to pipeline client by pipeline, and pipeline client sends code stream information to central server.Here, pipeline The major function of service end and pipeline client is as shown in Figure 4.
Wherein, pipe service end mainly be responsible for pipeline establishment and initialization, respond pipeline client command request, with And upload code stream information etc. to pipeline client.Pipeline client mainly includes pipeline connection, sends and order, at code stream information Reason and operation to each coding pass etc..
Using embodiment illustrated in fig. 2, the terminal in digital hard disc video recorder is by naming pipeline to the digital hard disk recording Coding card in machine sends code stream information and obtains request;Coding card obtains request according to the code stream information and obtains code stream and to institute The code stream of acquisition is packaged after obtaining code stream information, and code stream information is sent into terminal, and terminal has network transmission function, because This, terminal can send code stream information to central server, and then realize data sharing after code stream information is received.
With reference to figure 5, Fig. 5 is a kind of structural representation of information carrying means provided in an embodiment of the present invention, applied to number Terminal in word DVR, wherein, the digital hard disc video recorder includes:Terminal and coding card, the device include:
First request sending module 501, for obtaining request by naming pipeline to send code stream information to the coding card;
Information receiving module 502, for receiving the coding card by naming pipeline transmitted stream information, wherein, institute It is code stream and the progress of the code stream to being obtained that the coding card obtains that request obtains according to the code stream information to state code stream information What encapsulation obtained;
Information sending module 503, for the code stream information to be sent to central server.
In one embodiment of the invention, described device also includes:
Second request sending module, for sending example request to create to the coding card;
Message reception module, success message is created for receiving the example that the coding card is sent, wherein, the example wound Building success message includes:The name pipeline example that the coding card creates in preset time according to the example request to create Mark;
3rd request sending module, for the mark according to the name pipeline example, send and connect to the coding card Request, so that the name pipeline that the coding card establishes the connection terminal under the name pipeline example (does not show in Fig. 5 Go out).
In one embodiment of the invention, described device also includes:
4th request sending module, for the coding card send communication disruption request so that the coding card according to The name pipeline with the terminal room is interrupted in the communication disruption request (not shown in Fig. 5).
In one embodiment of the invention, the message header of the code stream information includes:Main channel encoding state and Subchannel encoding state.
In one embodiment of the invention, the name pipeline, including:Order pipeline and code stream pipeline, the code Flow tube road is that the coding card creates according to coding pass, the corresponding code stream pipeline of a coding pass;
In this case, the first request sending module 501, is specifically used for:
Code stream information is sent to the coding card by the order pipeline and obtains request;
Information receiving module 502, is specifically used for:
Receive the coding card and pass through the code stream pipeline transmitted stream information.
Using embodiment illustrated in fig. 5, the terminal in digital hard disc video recorder is by naming pipeline to the digital hard disk recording Coding card in machine sends code stream information and obtains request;Coding card obtains request according to the code stream information and obtains code stream and to institute The code stream of acquisition is packaged after obtaining code stream information, and code stream information is sent into terminal, and terminal has network transmission function, because This, terminal can send code stream information to central server, and then realize data sharing after code stream information is received.
For device, digital hard disc video recorder embodiment, because it is substantially similar to embodiment of the method, so description It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (14)

  1. A kind of 1. information transferring method, it is characterised in that applied to the terminal in digital hard disc video recorder, wherein, the numeral DVR includes:Terminal and coding card, methods described include:
    Request is obtained by naming pipeline to send code stream information to the coding card;
    The coding card is received by naming pipeline transmitted stream information, wherein, the code stream information is the coding card root The code stream of request acquisition is obtained according to the code stream information and the code stream to being obtained is packaged what is obtained;
    The code stream information is sent to central server.
  2. 2. according to the method for claim 1, it is characterised in that described by naming pipeline to send code stream to the coding card Before information acquisition request, in addition to:
    Example request to create is sent to the coding card;
    Receive the example that the coding card is sent and create success message, wherein, the example, which creates success message, to be included:It is described The mark for the name pipeline example that coding card creates in preset time according to the example request to create;
    According to the mark of the name pipeline example, connection request is sent to the coding card, so that the coding card is described Name the name pipeline established under pipeline example and connect the terminal.
  3. 3. according to the method for claim 2, it is characterised in that it is described by the code stream information send to central server it Afterwards, in addition to:
    To the coding card send communication disruption request so that the coding card according to the communication disruption ask interrupt with it is described The name pipeline of terminal room.
  4. 4. according to the method for claim 1, it is characterised in that the message header of the code stream information includes:Compile main channel Code state and subchannel encoding state.
  5. 5. according to the method any one of claim 1-4, it is characterised in that the name pipeline, including:Order pipeline With code stream pipeline, the code stream pipeline is that the coding card creates according to coding pass, the corresponding code of a coding pass Flow tube road;
    It is described to obtain request by naming pipeline to send code stream information to the coding card, including:
    Code stream information is sent to the coding card by the order pipeline and obtains request;
    It is described to receive the coding card by naming pipeline transmitted stream information, including:
    Receive the coding card and pass through the code stream pipeline transmitted stream information.
  6. A kind of 6. information carrying means, it is characterised in that applied to the terminal in digital hard disc video recorder, wherein, the numeral DVR includes:Terminal and coding card, described device include:
    First request sending module, for obtaining request by naming pipeline to send code stream information to the coding card;
    Information receiving module, for receiving the coding card by naming pipeline transmitted stream information, wherein, the code stream letter Breath is that the coding card obtains the code stream of request acquisition according to the code stream information and the code stream to being obtained is packaged to obtain 's;
    Information sending module, for the code stream information to be sent to central server.
  7. 7. device according to claim 6, it is characterised in that described device also includes:
    Second request sending module, for sending example request to create to the coding card;
    Message reception module, success message is created for receiving the example that the coding card is sent, wherein, the example create into Work(message includes:The mark for the name pipeline example that the coding card creates in preset time according to the example request to create Know;
    3rd request sending module, for the mark according to the name pipeline example, connection request is sent to the coding card, So that the coding card establishes the name pipeline for connecting the terminal under the name pipeline example.
  8. 8. device according to claim 7, it is characterised in that described device also includes:
    4th request sending module, for sending communication disruption request to the coding card, so that the coding card is according to The name pipeline with the terminal room is interrupted in communication disruption request.
  9. 9. device according to claim 6, it is characterised in that the message header of the code stream information includes:Compile main channel Code state and subchannel encoding state.
  10. 10. according to the device any one of claim 6-9, it is characterised in that the name pipeline, including:Order pipe Road and code stream pipeline, the code stream pipeline are that the coding card creates according to coding pass, and a coding pass is corresponding one Code stream pipeline;
    First request sending module, is specifically used for:
    Code stream information is sent to the coding card by the order pipeline and obtains request;
    Described information receiving module, is specifically used for:
    Receive the coding card and pass through the code stream pipeline transmitted stream information.
  11. 11. a kind of digital hard disc video recorder, it is characterised in that the digital hard disc video recorder includes:Terminal and coding card;
    The terminal, for obtaining request by naming pipeline to send code stream information to the coding card;
    The coding card, code stream is obtained for obtaining request according to the code stream information, and the code stream to being obtained is packaged Code stream information is obtained, by naming pipeline that the code stream information is sent into the terminal;
    The terminal, it is additionally operable to receive the code stream information, the code stream information is sent to central server.
  12. 12. digital hard disc video recorder according to claim 11, it is characterised in that:
    The terminal, it is additionally operable to send example request to create to the coding card;
    The coding card, is additionally operable in preset time, and name pipeline example is created according to the example request to create, and to institute State terminal and send example establishment success message, wherein, the example, which creates success message, to be included:The name pipeline example Mark;
    The terminal, the mark according to the name pipeline example is additionally operable to, connection request is sent to the coding card;
    The coding card, it is additionally operable to establish the connection terminal foundation name pipeline under the name pipeline example.
  13. 13. digital hard disc video recorder according to claim 12, it is characterised in that:
    The terminal, it is additionally operable to send communication disruption request to the coding card;
    The coding card, it is additionally operable to interrupt the name pipeline with the terminal room according to communication disruption request.
  14. 14. according to the digital hard disc video recorder any one of claim 11-13, it is characterised in that the name pipeline Including:Order pipeline and code stream pipeline, the code stream pipeline are that the coding card creates according to coding pass, and a coding is logical The corresponding code stream pipeline in road:
    The terminal, request is obtained specifically for sending code stream information to the coding card by the order pipeline, and received The coding card passes through the code stream pipeline transmitted stream information;
    The coding card, code stream is obtained specifically for obtaining request according to the code stream information, and the code stream to being obtained is carried out Encapsulation obtains code stream information, and the code stream information is sent into the terminal by code stream pipeline.
CN201610421448.XA 2016-06-13 2016-06-13 A kind of information transferring method, device and digital hard disc video recorder Pending CN107493483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610421448.XA CN107493483A (en) 2016-06-13 2016-06-13 A kind of information transferring method, device and digital hard disc video recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610421448.XA CN107493483A (en) 2016-06-13 2016-06-13 A kind of information transferring method, device and digital hard disc video recorder

Publications (1)

Publication Number Publication Date
CN107493483A true CN107493483A (en) 2017-12-19

Family

ID=60642797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610421448.XA Pending CN107493483A (en) 2016-06-13 2016-06-13 A kind of information transferring method, device and digital hard disc video recorder

Country Status (1)

Country Link
CN (1) CN107493483A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558610A (en) * 2004-01-14 2004-12-29 浙江科华科技发展有限公司 WLAN network monitoring system
KR20080040873A (en) * 2006-11-06 2008-05-09 주식회사 싸이어스 Digital video recorder
CN101304433A (en) * 2008-04-17 2008-11-12 北京大学 Method and apparatus for providing data to player as well as multimedia play system
CN101867791A (en) * 2010-04-30 2010-10-20 东北大学 Video monitoring system and monitoring method based on smart phone
CN101909202A (en) * 2009-06-04 2010-12-08 上海共联通信信息发展有限公司 Monitoring system for service points
CN102055962A (en) * 2011-01-12 2011-05-11 深圳市朗驰欣创科技有限公司 Video monitoring system and method based on concentrated coder and decoder as well as concentrated coder and decoder
CN201887872U (en) * 2010-02-03 2011-06-29 深圳市波粒智能科技开发有限公司 PC (personal computer) type hard disk video cassette recorder and board card
CN102427523A (en) * 2011-10-10 2012-04-25 广东威创视讯科技股份有限公司 Multi-channel IP video coding card on the basis of FPGA (Field-Programmable Gate Array) chip
CN102739567A (en) * 2012-07-03 2012-10-17 苏州阔地网络科技有限公司 Inter-process communication method and system
CN103176856A (en) * 2013-04-02 2013-06-26 浪潮电子信息产业股份有限公司 Timing communication method between courses based on pipelines
CN103905783A (en) * 2012-12-25 2014-07-02 杭州海康威视数字技术股份有限公司 Method and device for performing decoding and displaying on video stream
CN104272758A (en) * 2012-02-23 2015-01-07 爱立信电视公司 Methods and apparatus for managing network resources used by multimedia streams in a virtual pipe
CN104410687A (en) * 2014-11-26 2015-03-11 上海爱数软件有限公司 Method for transmitting data among multiple groups of courses on basis of pipe
CN105376521A (en) * 2014-09-02 2016-03-02 马胜 Remote real-time network monitoring system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558610A (en) * 2004-01-14 2004-12-29 浙江科华科技发展有限公司 WLAN network monitoring system
KR20080040873A (en) * 2006-11-06 2008-05-09 주식회사 싸이어스 Digital video recorder
CN101304433A (en) * 2008-04-17 2008-11-12 北京大学 Method and apparatus for providing data to player as well as multimedia play system
CN101909202A (en) * 2009-06-04 2010-12-08 上海共联通信信息发展有限公司 Monitoring system for service points
CN201887872U (en) * 2010-02-03 2011-06-29 深圳市波粒智能科技开发有限公司 PC (personal computer) type hard disk video cassette recorder and board card
CN101867791A (en) * 2010-04-30 2010-10-20 东北大学 Video monitoring system and monitoring method based on smart phone
CN102055962A (en) * 2011-01-12 2011-05-11 深圳市朗驰欣创科技有限公司 Video monitoring system and method based on concentrated coder and decoder as well as concentrated coder and decoder
CN102427523A (en) * 2011-10-10 2012-04-25 广东威创视讯科技股份有限公司 Multi-channel IP video coding card on the basis of FPGA (Field-Programmable Gate Array) chip
CN104272758A (en) * 2012-02-23 2015-01-07 爱立信电视公司 Methods and apparatus for managing network resources used by multimedia streams in a virtual pipe
CN102739567A (en) * 2012-07-03 2012-10-17 苏州阔地网络科技有限公司 Inter-process communication method and system
CN103905783A (en) * 2012-12-25 2014-07-02 杭州海康威视数字技术股份有限公司 Method and device for performing decoding and displaying on video stream
CN103176856A (en) * 2013-04-02 2013-06-26 浪潮电子信息产业股份有限公司 Timing communication method between courses based on pipelines
CN105376521A (en) * 2014-09-02 2016-03-02 马胜 Remote real-time network monitoring system
CN104410687A (en) * 2014-11-26 2015-03-11 上海爱数软件有限公司 Method for transmitting data among multiple groups of courses on basis of pipe

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
文全刚等: "《嵌入式Linux操作系统原理与应用》", 28 February 2014 *
赵国生,王健: "《Linux操作系统原理与应用》", 29 February 2016 *
陈长华: "基于PC结构的Linux DVR系统的研究与实现", 《万方数据》 *

Similar Documents

Publication Publication Date Title
CN107360177B (en) A kind of message transmitting method and device based on UDP
CN102790776A (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN105141603B (en) Communication data transmission method and system
CN106656919B (en) A kind of session analytic method and system based on Telnet agreement
EP2560337A1 (en) Method and system for realizing wireless usb flash disk
CN105763297B (en) A kind of teledata optimized transmission method and device based on cloud computing system
CN102611878A (en) Low-bandwidth-occupancy high-definition camera mapping method
CN103259709A (en) End-to-end mobile phone real-time video transmission method based on virtual private network
CN104519129A (en) Data transmission method, device and system
JP2009182459A (en) Communication device, communication system, communication method, and program
CN108616855A (en) Bluetooth equipment tele-control system and method
CN103581317A (en) Method for sharing network resources
CN106850770A (en) High-efficiency transmission method and device based on cloud computing service
CN108141902A (en) It is communicated using the wireless data acknowledgement that frame is assembled
CN103558995B (en) A kind of storage control chip and disk message transmitting method
CN107798067A (en) Suitable for the database normalization storage system and method for polytypic satellite test
CN107493483A (en) A kind of information transferring method, device and digital hard disc video recorder
CN104951417A (en) Method for achieving USB combined device suitable for high-capacity USIM
JP2009182458A (en) Communication apparatus, communication system, communication method, and program
CN114928587A (en) AIoT equipment multiplexing modeling method based on cloud edge cooperative system
CN109639830B (en) NB-IoT-based building temperature and humidity monitoring system and monitoring method applying same
CN106302767A (en) A kind of Internet of Things application system based on WMMP agreement
CN102571412A (en) Target machine server of embedded distributed system
CN102883129B (en) Video communication method and terminal
CN105116883A (en) Method and server of establishing corresponding relation of sweeping robot and terminal and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171219