CN101873475B - Control command sending method, data transmission method, monitoring system and device - Google Patents
Control command sending method, data transmission method, monitoring system and device Download PDFInfo
- Publication number
- CN101873475B CN101873475B CN 201010002333 CN201010002333A CN101873475B CN 101873475 B CN101873475 B CN 101873475B CN 201010002333 CN201010002333 CN 201010002333 CN 201010002333 A CN201010002333 A CN 201010002333A CN 101873475 B CN101873475 B CN 101873475B
- Authority
- CN
- China
- Prior art keywords
- decoder
- data
- stream media
- media equipment
- control command
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a control command sending method, a data transmission method, a monitoring system, a decoder and a streaming media device, wherein the control command sending method comprises the following steps: the decoder establishes the connection with the streaming media device, wherein the streaming media device is used for receiving and caching data sent by DVRs; and the decoder sends a control command of whether to receive the cached data or not to the streaming media device according to the data processing capacity of the decoder after receiving a state inquiry request sent by the streaming media device, wherein the state inquiry request is used for requesting the transmission of the cached data to the decoder. As the data is cached through the streaming media device rather than being directly transmitted between the decoder and a plurality of DVRs, the control command sending method can reduce the network load during the data transmission, open a data transmission interface on the decoder, lead the streaming media device to control the data transmission according to the processing capacity of the decoder, and further lead the decoder to flexibly realize the data caching.
Description
Technical field
The application relates to field of computer technology, relates in particular to control command sending method, data transmission method, supervisory control system, decoder and stream media equipment.
Background technology
Development along with Surveillance center and monitor supervision platform; The role that monitor supervision platform is born is more and more important; Comprise the forwarding of carrying out Streaming Media; Monitor supervision platform need obtain audio, video data from different watch-dogs, and on monitor supervision platform, carries out Unified Treatment, and the audio, video data after will handling connects decoding output.In the existing supervisory control system; Decoder in the Surveillance center links to each other through network and some DVR (Digital Video Recorder, DVR), and DVR is a kind of watch-dog; Send the request of obtaining data by decoder to DVR, DVR receives the request back to the decoder return data.
The inventor finds in to the research of prior art and practice process; The existing mode of initiatively obtaining data by decoder to DVR; Because decoder directly links to each other with some DVR, therefore when many DVR simultaneously when decoder transmits data, will increase offered load; The special offered load of working as has in limited time, and decoder will be difficult to get access to all data of needs; And because the restriction of decoder self storage capacity when receiving mass data simultaneously, also is difficult to carry out buffer memory.
Summary of the invention
The purpose of the application embodiment provides control command sending method, data transmission method, supervisory control system, decoder and stream media equipment; Cause offered load to increase directly to transmit data in the solution prior art between decoder and the DVR, decoder is difficult to the problem of buffer memory.
For solving the problems of the technologies described above, the application embodiment provides following technical scheme:
A kind of control command sending method, in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, said method comprises:
Said decoder and said stream media equipment connect, the data that said stream media equipment is used to receive and the said DVR of buffer memory sends;
After said decoder receives the status query request of said stream media equipment transmission; Data-handling capacity according to self is sent the control command that whether receives said data in buffer to said stream media equipment, and said status query request is used for request and transmits said data in buffer to said decoder.
Said decoder and said stream media equipment connect and comprise:
Said decoder listening port;
Receive the TCP connection request that said stream media equipment sends;
Setting up TCP length according to said TCP connection request and said stream media equipment is connected.
Sending the control command that whether receives said data in buffer according to the data-handling capacity of self to said stream media equipment comprises:
Size according to said decoder buffer memory space is sent the control command that whether receives said data in buffer to said stream media equipment; Or,
Size according to CPU usage in the said decoder is sent the control command that whether receives said data in buffer to said stream media equipment.
Said data-handling capacity according to self is sent the control command that whether receives said data in buffer to said stream media equipment and is comprised:
Decoder judges that whether the data-handling capacity of self is greater than the threshold value that is provided with in advance;
When greater than said threshold value, return the control command of transmission data to said stream media equipment;
When less than said threshold value, return the control command that stops to send said status query request to said stream media equipment.
Said to stream media equipment return stop to send the control command of said status query request after, also comprise:
Said decoder inquiry its data disposal ability is greater than said threshold value;
Decoder sends the control command of recovering to send said status query request to said stream media equipment, and returns the step of the status query request of said receiving stream media equipment transmission.
A kind of data transmission method, in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, said method comprises:
The data that stream media equipment receives and the said some DVR of buffer memory send;
After stream media equipment and decoder connect, to said decoder transmit status query requests;
According to the control command that said decoder returns according to the data-handling capacity of self, select whether transmit said data in buffer to said decoder.
Said stream media equipment and decoder connect and comprise:
Said stream media equipment sends the TCP connection request to said decoder;
Setting up TCP length according to said TCP connection request and said decoder is connected.
The said control command of returning according to the data-handling capacity of self according to said decoder, select whether transmit said data in buffer and comprise to said decoder:
When receiving said decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that is provided with in advance, transmit said data in buffer to said decoder;
When receive said decoder judge its data disposal ability less than the threshold value that is provided with in advance return stop to send the control command of said status query request the time, stop to said decoder transmit status query requests;
When stopping after said decoder transmit status query requests; Receive recovery that said decoder judges that its data disposal ability is returned greater than the said threshold value that is provided with in advance when sending the control command of said status query request, return step to said decoder transmit status query requests.
A kind of supervisory control system comprises stream media equipment, the decoder that is connected with said stream media equipment, and the some DVR that are connected with said stream media equipment, wherein,
Said some DVR are used for sending data to said stream media equipment;
Said stream media equipment is used to receive and data that the said some DVR of buffer memory send, and after connecting with decoder, to said decoder transmit status query requests;
Said decoder after being used to receive the status query request of said stream media equipment transmission, sends the control command that whether receives said data in buffer according to the data-handling capacity of self to said stream media equipment;
Said stream media equipment is used for the control command returned according to said decoder, selects whether transmit said data in buffer to said decoder.
A kind of decoder, in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, said decoder comprises:
Linkage unit is used for connecting with said stream media equipment, the data that said stream media equipment is used to receive and the said DVR of buffer memory sends;
Receiving element is used to receive the status query request that said stream media equipment sends, and said status query request is used for request and transmits said data in buffer to said decoder;
Control unit is used for sending the control command that whether receives said data in buffer to said stream media equipment according to the data-handling capacity of self.
Said linkage unit comprises:
The listening port unit is used to intercept the port of said decoder;
Receive request unit, be used to receive the TCP connection request that said stream media equipment sends;
The unit that connects is used for setting up according to said TCP connection request and said stream media equipment that TCP is long to be connected.
Said control unit comprises:
The judgement unit, be used to receive said status query request after, whether the data-handling capacity of judging said decoder greater than the threshold value that is provided with in advance;
Command sending unit is used for when greater than said threshold value, returns the control command of transmitting data to said stream media equipment, when less than said threshold value, returns the control command that stops to send said status query request to said stream media equipment;
The query capability unit, be used for said command sending unit return stop to send the control command of said status query request after, the data-handling capacity of inquiring about said decoder is greater than said threshold value;
Said command sending unit also is used for sending the control command of recovering to send said status query request to said stream media equipment, and returns the function that said receiving element is carried out.
A kind of stream media equipment, in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, said stream media equipment comprises:
Buffer unit is used to receive the also data of the said some DVR transmissions of buffer memory;
Transmitting element is after being used for connecting with said decoder, to said decoder transmit status query requests;
Transmission unit is used for the control command returned according to the data-handling capacity of self according to said decoder, selects whether transmit said data in buffer to said decoder.
Said transmission unit comprises:
Data cached transmission unit is used for transmitting said data in buffer when receiving said decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that is provided with in advance to said decoder;
Stop request transmitting unit, be used for when receive said decoder judge its data disposal ability less than the threshold value that is provided with in advance return stop to send the control command of said status query request the time, stop to said decoder transmit status query requests;
The recovery request transmitting element; Be used for when stopping after said decoder transmit status query requests; Receive recovery that said decoder judges that its data disposal ability is returned greater than the said threshold value that is provided with in advance when sending the control command of said status query request, return the function that said transmitting element is carried out.
It is thus clear that; In the supervisory control system that the application embodiment is applied to be made up of decoder, stream media equipment and some DVR; Some DVR send data to stream media equipment; Stream media equipment receives and is data cached; And connect the back to decoder transmit status query requests with decoder, decoder sends the control command whether receive data in buffer according to the data-handling capacity of self to stream media equipment, and whether the control command that stream media equipment returns according to decoder selects the data to the decoder transmission buffer.Use the application embodiment and carry out the control of transfer of data in the supervisory control system; Owing to directly do not transmit data between decoder and the some DVR; But data cached through stream media equipment, the offered load when therefore having reduced the transmission data, and through open data transfer interface on decoder; Make stream media equipment according to the transmission of the disposal ability control data of decoder, so decoder can be realized the buffer memory to data neatly.
Description of drawings
In order to be illustrated more clearly in the application embodiment or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiment that put down in writing among the application, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first embodiment flow chart of the application's control command sending method;
Fig. 2 is the second embodiment flow chart of the application's control command sending method;
Fig. 3 is the first embodiment flow chart of the application's data transmission method;
Fig. 4 is the second embodiment flow chart of the application's data transmission method;
Fig. 5 is the structural representation of a kind of supervisory control system of application the application method embodiment;
Fig. 6 is the embodiment block diagram of the application's supervisory control system;
Fig. 7 is the first embodiment block diagram of the application's decoder;
Fig. 8 is the second embodiment block diagram of the application's decoder
Fig. 9 is the first embodiment block diagram of the application's stream media equipment;
Figure 10 is the second embodiment block diagram of the application's stream media equipment.
Embodiment
The application embodiment provides a kind of control command sending method, data transmission method, supervisory control system, decoder and stream media equipment, and the supervisory control system among the application embodiment is made up of decoder, stream media equipment and some DVR.When carrying out the data monitoring transmission; Some DVR send data to stream media equipment; Stream media equipment receives and is data cached; And connect the back to decoder transmit status query requests with decoder, decoder sends the control command whether receive data in buffer according to the data-handling capacity of self to stream media equipment, and whether the control command that stream media equipment returns according to decoder selects the data to the decoder transmission buffer.
In order to make those skilled in the art person understand the technical scheme among the application embodiment better; And make the above-mentioned purpose of the application embodiment, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing technical scheme among the application embodiment done further detailed explanation.
Referring to Fig. 1, be the first embodiment flow chart of the application's control command sending method, this embodiment has described the process of transmitting of control command from decoder-side:
Step 101: decoder and stream media equipment connect.
In the present embodiment; The data that stream media equipment is used to receive and buffer memory DVR sends, when connecting with this stream media equipment, the decoder listening port; The TCP connection request that receiving stream media equipment sends, and set up TCP according to this TCP connection request and stream media equipment and grow and be connected.
Step 102: the status query request that decoder receiving stream media equipment sends.
Wherein, status query request is used for request to decoder MPTS media device data in buffer, and this status query request can be the size of the buffer storage space of requesting query decoder, the perhaps size of CPU usage in the requesting query decoder.
Step 103: decoder sends the control command that whether receives this stream media equipment data in buffer according to the data-handling capacity of self to stream media equipment, finishes current flow process.
Concrete, decoder judges that the data-handling capacity of self whether greater than the threshold value that is provided with in advance, when greater than threshold value, returns the control command of transmitting data to stream media equipment; When less than threshold value, return the control command that stops the transmit status query requests to stream media equipment; When becoming less than threshold value, send the control command of recovering the transmit status query requests to stream media equipment greater than threshold value.
Participate in Fig. 2, be the second embodiment flow chart of the application's control command sending method, this embodiment is an example with the buffer storage space size of decoder, describes the process of transmitting of decoder-side control command in detail:
Step 201: decoder listening port.
Step 202: the TCP connection request that decoder receiving stream media equipment sends.
Step 203: set up TCP length according to said TCP connection request and said stream media equipment and be connected.
After decoder receives the TCP connection request of stream media equipment transmission; Return connection response to stream media equipment; Simultaneously decoder is set up the new task of deal with data for this TCP connection, after stream media equipment receives connection response, and sets up TCP between the decoder and is connected; This TCP connection is generally long and connects, and promptly this is connected to the connection that continues the state of setting up.
Step 204: the status query request that decoder receiving stream media equipment sends.
In the stream media equipment buffer memory DVR data of sending, but these data directly do not mail to decoder, but through to decoder transmit status query requests, whether the current buffering area of requesting query decoder also has enough memory spaces to receive these data.
Step 205: decoder judges that whether the buffer storage space of self is greater than the threshold value that is provided with in advance, if then execution in step 209; Otherwise, execution in step 206.
Step 206: return the control command that stops the transmit status query requests to stream media equipment.
Decoder judges that the buffer storage space of self is less than the threshold value that is provided with in advance; Explain that the current data-handling capacity of decoder can not be used to receive data; Therefore send the control command that stops the transmit status query requests to stream media equipment, make stream media equipment suspend the transmit status query requests.
Step 207: whether the buffer storage space of decoder inquiry self reverts to the threshold value that is provided with greater than in advance, if then execution in step 208; Otherwise, return step 207.
When decoder buffer memory space during less than the threshold value that is provided with in advance, whether the memory space of this decoder continuous Query self returns to greater than threshold value, so as will up-to-date disposal ability feedback information to stream media equipment.
Step 208: send the control command of recovering the transmit status query requests to stream media equipment, return step 204.
The memory space that inquires self when decoder is when returning to greater than this threshold value less than the threshold value that is provided with in advance; Explain that this moment, decoder can receive data; Therefore send a reply the control command of transmit status query requests to stream media equipment, make stream media equipment send query requests to recovering to send query requests from suspending.
Step 209: control command from the transmission data to stream media equipment that return.
The buffer storage space of decoder judgement self is returned the control command of transmitting data greater than the threshold value that is provided with in advance to stream media equipment, and the control flows media device is realized the control of flow thus to the data of decoder transmission buffer at decoder-side.
Step 210: the data of receiving stream media device transmission and these data of decoding output, finish current flow process.
Referring to Fig. 3, be the first embodiment flow chart of the application's data transmission method, this embodiment has described the process of transfer of data from the stream media equipment side:
Step 301: the data that stream media equipment receives and the some DVR of buffer memory send.
Step 302: after stream media equipment and decoder connect, to decoder transmit status query requests.
Stream media equipment sends the TCP connection request to said decoder, sets up TCP length according to TCP connection request and decoder and is connected.
Step 303: the control command that Rcv decoder returns according to the data-handling capacity of self, whether select to finish current flow process to the data of decoder transmission buffer.
Concrete, when receiving decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that is provided with in advance, to the data of decoder transmission buffer; When receive decoder judge its data disposal ability less than the threshold value that is provided with in advance return stop the control command of transmit status query requests the time, stop to decoder transmit status query requests; When stopping after decoder transmit status query requests; Receive decoder when judging the control command of the recovery transmit status query requests that its data disposal ability is returned greater than the threshold value that is provided with in advance, return step to decoder transmit status query requests.
Referring to Fig. 4, be the second embodiment flow chart of the application's data transmission method, this embodiment is an example with the buffer storage space size of decoder, describes the process of stream media equipment side data transmission in detail:
Step 401: the data that stream media equipment receives and the some DVR of buffer memory send.
Step 402: stream media equipment sends the TCP connection request to decoder.
Step 403: set up TCP length according to TCP connection request and decoder and be connected.
Stream media equipment after decoder sends the TCP connection request, the connection response that Rcv decoder returns and with decoder between set up TCP and be connected, this TCP connects and is generally long connection, promptly this is connected to the connection that continues the state of setting up.
Step 404: stream media equipment is to decoder transmit status query requests.
Step 405: the control command that Rcv decoder returns according to the size of the buffer storage space of self.
Step 406: judge the type of control command, if for transmitting the control command of data, then execution in step 407; If for stopping the control command of transmit status query requests, then execution in step 408.
Step 407:, finish current flow process to the data of decoder transmission buffer.
Step 408: stop to decoder transmit status query requests.
Step 409: judge whether to receive the control command of the recovery transmit status query requests that decoder sends, if return step 404; Otherwise, return step 409.
Referring to Fig. 5, be the structural representation of a kind of supervisory control system of using the application's method embodiment;
Comprise in this supervisory control system: decoder 510, stream media equipment 520 and some DVR530.Wherein, decoder 510 links to each other with stream media equipment 520, and stream media equipment 520 connects through network and some DVR530.
In the process of control data transmission; Some DVR530 send data to stream media equipment 520; Stream media equipment 520 receives and these data of buffer memory, and after connecting with decoder 510, to decoder 510 transmit status query requests; After decoder 510 receives the status query request of stream media equipment 520 transmissions; Data-handling capacity according to self is sent the control command that whether receives said data in buffer to stream media equipment 520, and whether the control command that stream media equipment 520 returns according to decoder 510 selects the data to decoder 510 transmission buffers.
Wherein, The data-handling capacity of judging self when decoder 510 is during greater than the threshold value that is provided with in advance; Return the control command of transmission data to stream media equipment 520; Stream media equipment 520 sends to decoder 510 with data in buffer after receiving this control command, by decoder 510 output of decoding; The data-handling capacity of judging self when decoder 510 is during less than the threshold value that is provided with in advance; Return the control command that stops the transmit status query requests to stream media equipment 520; After stream media equipment 520 receives this control command; Suspend the transmit status query requests, and wait for that decoder 510 returns the recovery order when disposal ability changes; When decoder 510 inquires its data disposal ability when reverting to greater than threshold value less than threshold value; Decoder 510 sends the control command of recovering the transmit status query requests to stream media equipment 520; Stream media equipment 520 recovers to decoder 510 transmit status query requests after receiving this control command, and sends data in buffer according to the indication of decoder 510 to this decoder 510.
Corresponding with the embodiment of the application's control command sending method and data transmission method, the application also provides the embodiment of supervisory control system, decoder and stream media equipment.
Referring to Fig. 6, be the embodiment block diagram of the application's supervisory control system.
This system comprises: decoder 610, stream media equipment 620 and some DVR630.Wherein, decoder 610 links to each other with stream media equipment 620, and stream media equipment 620 links to each other with some DVR630 through network.Need to prove that Fig. 6 is merely exemplary description, therefore wherein only show a DVR630.
Wherein, some DVR630 are used for sending data to stream media equipment 620;
Referring to Fig. 7, be the first embodiment block diagram of the application's decoder, this decoder application is in the supervisory control system of being made up of decoder, stream media equipment and some DVR.
This decoder comprises, linkage unit 710, receiving element 720 and control unit 730.
Wherein, linkage unit 710 is used for connecting with stream media equipment, the data that this stream media equipment is used to receive and buffer memory DVR sends;
Receiving element 720 is used for the status query request that receiving stream media equipment sends, and this status query request is used to ask the data to the decoder transmission buffer;
Referring to Fig. 8, be the second embodiment block diagram of the application's decoder, this decoder application is in the supervisory control system of being made up of decoder, stream media equipment and some DVR.
This decoder comprises, linkage unit 810, receiving element 820 and control unit 830.
Wherein, linkage unit 810 is used for connecting with stream media equipment, the data that this stream media equipment is used to receive and buffer memory DVR sends;
Receiving element 820 is used for the status query request that receiving stream media equipment sends, and this status query request is used to ask the data to the decoder transmission buffer;
Concrete, linkage unit 810 can comprise: listening port unit 811 is used to intercept the port of decoder; Receive request unit 812, be used for the TCP connection request that receiving stream media equipment sends; The unit 813 that connects is used for setting up according to TCP connection request and stream media equipment that TCP is long to be connected.
Concrete, control unit 830 can comprise: judgement unit 831, and after being used to receive status query request, whether the data-handling capacity of judging decoder is greater than the threshold value that is provided with in advance; Command sending unit 832 is used for when greater than this threshold value, returns the control command of transmitting data to stream media equipment, when less than this threshold value, returns the control command that stops the transmit status query requests to stream media equipment; Query capability unit 833 is used for after command sending unit 832 is returned the control command that stops the transmit status query requests, and the data-handling capacity of inquiry decoder is greater than this threshold value; Command sending unit 832 also is used for sending the control command of recovering the transmit status query requests to stream media equipment, and returns the function that receiving element 820 is carried out.
Referring to Fig. 9, be the first embodiment block diagram of the application's stream media equipment, in the supervisory control system that this stream media equipment is applied to be made up of decoder, stream media equipment and some DVR.
This stream media equipment comprises: buffer unit 910, transmitting element 920 and transmission unit 930.
Wherein, buffer unit 910 is used to receive the also data of the some DVR transmissions of buffer memory;
Transmitting element 920 is after being used for connecting with decoder, to decoder transmit status query requests;
Referring to Figure 10, be the second embodiment block diagram of the application's stream media equipment, in the supervisory control system that this stream media equipment is applied to be made up of decoder, stream media equipment and some DVR.
This stream media equipment comprises: buffer unit 1010, transmitting element 1020 and transmission unit 1030.
Wherein, buffer unit 1010 is used to receive the also data of the some DVR transmissions of buffer memory;
Transmitting element 1020 is after being used for connecting with decoder, to decoder transmit status query requests;
Concrete, transmission unit 1030 can comprise: data cached transmission unit 1031 is used for when receiving decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value of setting in advance, to the data of decoder transmission buffer; Stop request transmitting unit 1032, be used for when receive decoder judge its data disposal ability less than the threshold value that is provided with in advance return stop the control command of transmit status query requests the time, stop to decoder transmit status query requests; Recovery request transmitting element 1033; Be used for when stopping after decoder transmit status query requests; Receive decoder when judging the control command of the recovery transmit status query requests that its data disposal ability is returned greater than the threshold value that is provided with in advance, return the function that transmitting element 1020 is carried out.
Description through above execution mode can be known; In the supervisory control system that the application embodiment is applied to be made up of decoder, stream media equipment and some DVR; Some DVR send data to stream media equipment; Stream media equipment receives and is data cached; And connect the back to decoder transmit status query requests with decoder, decoder sends the control command whether receive data in buffer according to the data-handling capacity of self to stream media equipment, and whether the control command that stream media equipment returns according to decoder selects the data to the decoder transmission buffer.Use the application embodiment and carry out the control of transfer of data in the supervisory control system; Owing to directly do not transmit data between decoder and the some DVR; But data cached through stream media equipment, the offered load when therefore having reduced the transmission data, and through open data transfer interface on decoder; Make stream media equipment according to the transmission of the disposal ability control data of decoder, so decoder can be realized the buffer memory to data neatly.
Description through above execution mode can know, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that the application's technical scheme contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some fingers are modern with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is the difference with other embodiment.Especially, for system embodiment, because it is basically similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in DCE, put into practice the application, in these DCEs, by through communication network connected teleprocessing equipment execute the task.In DCE, program module can be arranged in this locality and the remote computer storage medium that comprises memory device.
Though described the application through embodiment, those of ordinary skills know, the application has many distortion and variation and the spirit that do not break away from the application, hope that appended claim comprises these distortion and variation and the spirit that do not break away from the application.
Claims (11)
1. control command sending method in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, is characterized in that said method comprises:
Said decoder and said stream media equipment connect, the data that said stream media equipment is used to receive and the said DVR of buffer memory sends;
After said decoder receives the status query request of said stream media equipment transmission; Data-handling capacity according to self is sent the control command that whether receives said data in buffer to said stream media equipment, and said status query request is used for request and transmits said data in buffer to said decoder;
Said decoder and said stream media equipment connect and comprise: said decoder listening port; Receive the TCP connection request that said stream media equipment sends; Setting up TCP length according to said TCP connection request and said stream media equipment is connected.
2. method according to claim 1 is characterized in that, sends the control command that whether receives said data in buffer according to the data-handling capacity of self to said stream media equipment and comprises:
Size according to said decoder buffer memory space is sent the control command that whether receives said data in buffer to said stream media equipment; Or,
Size according to CPU usage in the said decoder is sent the control command that whether receives said data in buffer to said stream media equipment.
3. method according to claim 1 is characterized in that, said data-handling capacity according to self is sent the control command that whether receives said data in buffer to said stream media equipment and comprised:
Decoder judges that whether the data-handling capacity of self is greater than the threshold value that is provided with in advance;
When greater than said threshold value, return the control command of transmission data to said stream media equipment;
When less than said threshold value, return the control command that stops to send said status query request to said stream media equipment.
4. method according to claim 3 is characterized in that, said to stream media equipment return stop to send the control command of said status query request after, also comprise:
Said decoder inquiry its data disposal ability is greater than said threshold value;
Decoder sends the control command of recovering to send said status query request to said stream media equipment, and returns the step of the status query request of said receiving stream media equipment transmission.
5. data transmission method in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, is characterized in that said method comprises:
The data that stream media equipment receives and the said some DVR of buffer memory send;
After stream media equipment and decoder connect, to said decoder transmit status query requests;
According to the control command that said decoder returns according to the data-handling capacity of self, select whether transmit said data in buffer to said decoder;
Said stream media equipment and decoder connect and comprise: said stream media equipment sends the TCP connection request to said decoder; Setting up TCP length according to said TCP connection request and said decoder is connected.
6. method according to claim 5 is characterized in that, the said control command of returning according to the data-handling capacity of self according to said decoder is selected whether transmit said data in buffer to said decoder and comprised:
When receiving said decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that is provided with in advance, transmit said data in buffer to said decoder;
When receive said decoder judge its data disposal ability less than the threshold value that is provided with in advance return stop to send the control command of said status query request the time, stop to said decoder transmit status query requests;
When stopping after said decoder transmit status query requests; Receive recovery that said decoder judges that its data disposal ability is returned greater than the said threshold value that is provided with in advance when sending the control command of said status query request, return step to said decoder transmit status query requests.
7. a supervisory control system is characterized in that, comprises stream media equipment, the decoder that is connected with said stream media equipment, and the some DVR that are connected with said stream media equipment, wherein,
Said some DVR are used for sending data to said stream media equipment;
Said stream media equipment is used to receive and data that the said some DVR of buffer memory send, and after connecting with decoder, to said decoder transmit status query requests; Said connecting with decoder comprises: said stream media equipment sends the TCP connection request to said decoder; Setting up TCP length according to said TCP connection request and said decoder is connected;
Said decoder after being used to receive the status query request of said stream media equipment transmission, sends the control command that whether receives said data in buffer according to the data-handling capacity of self to said stream media equipment;
Said stream media equipment is used for the control command returned according to said decoder, selects whether transmit said data in buffer to said decoder.
8. decoder in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, is characterized in that said decoder comprises:
Linkage unit is used for connecting with said stream media equipment, the data that said stream media equipment is used to receive and the said DVR of buffer memory sends;
Receiving element is used to receive the status query request that said stream media equipment sends, and said status query request is used for request and transmits said data in buffer to said decoder;
Control unit is used for sending the control command that whether receives said data in buffer to said stream media equipment according to the data-handling capacity of self;
Said linkage unit comprises: the listening port unit is used to intercept the port of said decoder; Receive request unit, be used to receive the TCP connection request that said stream media equipment sends; The unit that connects is used for setting up according to said TCP connection request and said stream media equipment that TCP is long to be connected.
9. decoder according to claim 8 is characterized in that, said control unit comprises:
The judgement unit, be used to receive said status query request after, whether the data-handling capacity of judging said decoder greater than the threshold value that is provided with in advance;
Command sending unit is used for when greater than said threshold value, returns the control command of transmitting data to said stream media equipment, when less than said threshold value, returns the control command that stops to send said status query request to said stream media equipment;
The query capability unit, be used for said command sending unit return stop to send the control command of said status query request after, the data-handling capacity of inquiring about said decoder is greater than said threshold value;
Said command sending unit also is used for sending the control command of recovering to send said status query request to said stream media equipment, and returns the function that said receiving element is carried out.
10. stream media equipment in the supervisory control system that is applied to be made up of decoder, stream media equipment and some DVR, is characterized in that said stream media equipment comprises:
Buffer unit is used to receive the also data of the said some DVR transmissions of buffer memory;
Transmitting element is after being used for connecting with said decoder, to said decoder transmit status query requests; Said connecting with decoder comprises: said stream media equipment sends the TCP connection request to said decoder; Setting up TCP length according to said TCP connection request and said decoder is connected
Transmission unit is used for the control command returned according to the data-handling capacity of self according to said decoder, selects whether transmit said data in buffer to said decoder.
11. stream media equipment according to claim 10 is characterized in that, said transmission unit comprises:
Data cached transmission unit is used for transmitting said data in buffer when receiving said decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that is provided with in advance to said decoder;
Stop request transmitting unit, be used for when receive said decoder judge its data disposal ability less than the threshold value that is provided with in advance return stop to send the control command of said status query request the time, stop to said decoder transmit status query requests;
The recovery request transmitting element; Be used for when stopping after said decoder transmit status query requests; Receive recovery that said decoder judges that its data disposal ability is returned greater than the said threshold value that is provided with in advance when sending the control command of said status query request, return the function that said transmitting element is carried out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010002333 CN101873475B (en) | 2010-01-07 | 2010-01-07 | Control command sending method, data transmission method, monitoring system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010002333 CN101873475B (en) | 2010-01-07 | 2010-01-07 | Control command sending method, data transmission method, monitoring system and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101873475A CN101873475A (en) | 2010-10-27 |
CN101873475B true CN101873475B (en) | 2012-09-05 |
Family
ID=42998101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010002333 Active CN101873475B (en) | 2010-01-07 | 2010-01-07 | Control command sending method, data transmission method, monitoring system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101873475B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102946261B (en) * | 2012-11-14 | 2015-02-18 | 广州碧德电子科技有限公司 | Low-delay many-to-many control method based on wireless communication technology |
CN103974029A (en) * | 2013-01-31 | 2014-08-06 | 中国电信股份有限公司 | Video monitoring method, video monitoring system and video monitoring device |
CN107291530B (en) * | 2016-04-01 | 2019-12-20 | 杭州海康威视数字技术股份有限公司 | Data processing method and device |
CN107770280B (en) * | 2017-10-30 | 2020-06-23 | 珠海格力电器股份有限公司 | Multimedia data processing and acquiring method, acquisition terminal and processing device |
CN110109953B (en) * | 2018-01-19 | 2023-12-19 | 阿里巴巴集团控股有限公司 | Data query method, device and equipment |
CN110691033A (en) * | 2019-09-02 | 2020-01-14 | 视联动力信息技术股份有限公司 | Monitoring data processing method and device and storage medium |
CN110855645B (en) * | 2019-11-01 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Streaming media data playing method and device |
CN111246284B (en) * | 2020-03-09 | 2021-05-25 | 深圳创维-Rgb电子有限公司 | Video stream playing method, system, terminal and storage medium |
CN111314378B (en) * | 2020-03-18 | 2022-07-29 | 浩云科技股份有限公司 | Code stream data processing method |
CN112620954A (en) * | 2020-12-10 | 2021-04-09 | 北京爱创科技股份有限公司 | High-speed laser code engraving system, laser code engraving machine and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1467971A (en) * | 2002-07-10 | 2004-01-14 | 华为技术有限公司 | Method and equipment for controlling wireless interface flow in wireless network |
CN1747434A (en) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | Flow control for pipeline distributing system |
CN1774093A (en) * | 2004-11-08 | 2006-05-17 | 大唐移动通信设备有限公司 | Method for managing base station resource by base station controller |
CN101022540A (en) * | 2006-02-13 | 2007-08-22 | 中兴通讯股份有限公司 | Video monitoring system and method under server/customer end constitution |
CN101155381A (en) * | 2006-09-27 | 2008-04-02 | 中兴通讯股份有限公司 | Terminal ability information self-adapting adding system and method |
-
2010
- 2010-01-07 CN CN 201010002333 patent/CN101873475B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1467971A (en) * | 2002-07-10 | 2004-01-14 | 华为技术有限公司 | Method and equipment for controlling wireless interface flow in wireless network |
CN1747434A (en) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | Flow control for pipeline distributing system |
CN1774093A (en) * | 2004-11-08 | 2006-05-17 | 大唐移动通信设备有限公司 | Method for managing base station resource by base station controller |
CN101022540A (en) * | 2006-02-13 | 2007-08-22 | 中兴通讯股份有限公司 | Video monitoring system and method under server/customer end constitution |
CN101155381A (en) * | 2006-09-27 | 2008-04-02 | 中兴通讯股份有限公司 | Terminal ability information self-adapting adding system and method |
Also Published As
Publication number | Publication date |
---|---|
CN101873475A (en) | 2010-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101873475B (en) | Control command sending method, data transmission method, monitoring system and device | |
WO2018177174A1 (en) | Iot data reporting method, apparatus and system | |
JP2002542527A (en) | Method and apparatus for extending the range of common serial bus protocols | |
CN103188574B (en) | method and system for transmitting network video | |
CN100502369C (en) | Device and method for digital household network media format transcoding | |
CN102045772A (en) | Data transmission method and device | |
JPH10207822A (en) | Interruption processing method for high speed i/o controller | |
CN102271123A (en) | Communication method, system and equipment | |
CN103746938A (en) | Method and device for transmitting data packet | |
CN101826984A (en) | Log information processing method and device thereof | |
CN102143195B (en) | Method, device and service system providing service information | |
US20070242646A1 (en) | Computer-readable recording medium storing data communication program, data communication method, and mobile terminal | |
CN101997861B (en) | Data storage method and equipment | |
CN109949203B (en) | Heterogeneous CPU multi-channel 4K ultra-high-definition video processing device and control method | |
JP3439320B2 (en) | Data communication method, data communication device, and data communication program recording medium | |
CN113840269B (en) | Multimedia data transmission method and device, electronic equipment and storage medium | |
CN103685436A (en) | Data acquisition method and terminal equipment | |
CN109361746A (en) | A kind of document transmission method of Internet of Things, work board and readable storage medium storing program for executing | |
JP2012044508A (en) | Communication device | |
CN102571868A (en) | Instant messaging method, device and system | |
CN101448022A (en) | Control method of system interface iSCSI receiving end window of internet small computer and device | |
CN104113933A (en) | Information transmission method and device and mobile terminal | |
CN108234595B (en) | Log transmission method and system | |
KR102274930B1 (en) | Method and Apparatus for Managing Channel Connect | |
CN107241788A (en) | The power consumption control method and device of wearable device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |