CN101873475A - 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 PDF

Info

Publication number
CN101873475A
CN101873475A CN 201010002333 CN201010002333A CN101873475A CN 101873475 A CN101873475 A CN 101873475A CN 201010002333 CN201010002333 CN 201010002333 CN 201010002333 A CN201010002333 A CN 201010002333A CN 101873475 A CN101873475 A CN 101873475A
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.)
Granted
Application number
CN 201010002333
Other languages
Chinese (zh)
Other versions
CN101873475B (en
Inventor
陈王贤
李奎
曹云
胡扬忠
邬伟琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN 201010002333 priority Critical patent/CN101873475B/en
Publication of CN101873475A publication Critical patent/CN101873475A/en
Application granted granted Critical
Publication of CN101873475B publication Critical patent/CN101873475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Control command sending method, data transmission method, supervisory control system and equipment
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 unify to handle on monitor supervision platform, 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 by 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, to 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 embodiment of the present application 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 embodiment of the present application 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, described method comprises:
Described decoder and described stream media equipment connect, the data that described stream media equipment is used to receive and the described DVR of buffer memory sends;
After described decoder receives the status query request of described stream media equipment transmission, data-handling capacity according to self sends the control command that whether receives described data in buffer to described stream media equipment, and described status query request is used for request and transmits described data in buffer to described decoder.
Described decoder and described stream media equipment connect and comprise:
Described decoder listening port;
Receive the TCP connection request that described stream media equipment sends;
Setting up TCP length according to described TCP connection request and described stream media equipment is connected.
Data-handling capacity according to self comprises to the control command whether described stream media equipment transmission receives described data in buffer:
Size according to described decoder buffer memory space sends the control command that whether receives described data in buffer to described stream media equipment; Or,
Size according to CPU usage in the described decoder sends the control command that whether receives described data in buffer to described stream media equipment.
Described data-handling capacity according to self sends the control command that whether receives described data in buffer to described stream media equipment and comprises:
Decoder judges that whether the data-handling capacity of self is greater than the threshold value that sets in advance;
When greater than described threshold value, return the control command of transmission data to described stream media equipment;
When less than described threshold value, return the control command that stops to send described status query request to described stream media equipment.
Described to stream media equipment return stop to send the control command of described status query request after, also comprise:
Described decoder inquiry its data disposal ability is greater than described threshold value;
Decoder sends the control command of recovering to send described status query request to described stream media equipment, and returns the step of the status query request of described 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, described method comprises:
The data that stream media equipment receives and the described some DVR of buffer memory send;
After stream media equipment and decoder connect, to described decoder transmit status query requests;
According to the control command that described decoder returns according to the data-handling capacity of self, select whether transmit described data in buffer to described decoder.
Described stream media equipment and decoder connect and comprise:
Described stream media equipment sends the TCP connection request to described decoder;
Setting up TCP length according to described TCP connection request and described decoder is connected.
The described control command of returning according to the data-handling capacity of self according to described decoder, select whether transmit described data in buffer and comprise to described decoder:
When receiving described decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that sets in advance, transmit described data in buffer to described decoder;
When receive described decoder judge its data disposal ability less than the threshold value that sets in advance return stop to send the control command of described status query request the time, stop to described decoder transmit status query requests;
When stopping after described decoder transmit status query requests, receive recovery that described decoder judges that its data disposal ability is returned greater than the described threshold value that sets in advance when sending the control command of described status query request, return step to described decoder transmit status query requests.
A kind of supervisory control system comprises stream media equipment, the decoder that is connected with described stream media equipment, and the some DVR that are connected with described stream media equipment, wherein,
Described some DVR are used for sending data to described stream media equipment;
Described stream media equipment is used to receive and data that the described some DVR of buffer memory send, and after connecting with decoder, to described decoder transmit status query requests;
Described decoder, be used to receive the status query request that described stream media equipment sends after, send the control command that whether receives described data in buffer to described stream media equipment according to self data-handling capacity;
Described stream media equipment is used for the control command returned according to described decoder, selects whether transmit described data in buffer to described 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, described decoder comprises:
Linkage unit is used for connecting with described stream media equipment, the data that described stream media equipment is used to receive and the described DVR of buffer memory sends;
Receiving element is used to receive the status query request that described stream media equipment sends, and described status query request is used for request and transmits described data in buffer to described decoder;
Control unit is used for sending the control command that whether receives described data in buffer to described stream media equipment according to the data-handling capacity of self.
Described linkage unit comprises:
The listening port unit is used to intercept the port of described decoder;
Receive request unit, be used to receive the TCP connection request that described stream media equipment sends;
The unit that connects is used for setting up according to described TCP connection request and described stream media equipment that TCP is long to be connected.
Described control unit comprises:
The judgement unit, be used to receive described status query request after, whether the data-handling capacity of judging described decoder greater than the threshold value that sets in advance;
Command sending unit is used for when greater than described threshold value, returns the control command of transmitting data to described stream media equipment, when less than described threshold value, returns the control command that stops to send described status query request to described stream media equipment;
The query capability unit, be used for described command sending unit return stop to send the control command of described status query request after, the data-handling capacity of inquiring about described decoder is greater than described threshold value;
Described command sending unit also is used for sending the control command of recovering to send described status query request to described stream media equipment, and returns the function that described 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, described stream media equipment comprises:
Buffer unit is used to receive the also data of the described some DVR transmissions of buffer memory;
Transmitting element is after being used for connecting with described decoder, to described decoder transmit status query requests;
Transmission unit is used for the control command returned according to the data-handling capacity of self according to described decoder, selects whether transmit described data in buffer to described decoder.
Described transmission unit comprises:
Data cached transmission unit is used for transmitting described data in buffer when receiving described decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that sets in advance to described decoder;
Stop request transmitting unit, be used for when receive described decoder judge its data disposal ability less than the threshold value that sets in advance return stop to send the control command of described status query request the time, stop to described decoder transmit status query requests;
The recovery request transmitting element, be used for when stopping after described decoder transmit status query requests, receive recovery that described decoder judges that its data disposal ability is returned greater than the described threshold value that sets in advance when sending the control command of described status query request, return the function that described transmitting element is carried out.
As seen, in the supervisory control system that the embodiment of the present application 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 embodiment of the present application 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 it is data cached by stream media equipment, offered load when therefore having reduced the transmission data, and by 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 embodiment of the present application 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, apparently, the accompanying drawing that describes 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, 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 embodiment of the present application provides a kind of control command sending method, data transmission method, supervisory control system, decoder and stream media equipment, and the supervisory control system in the embodiment of the present application 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 technical scheme in the embodiment of the present application better, and the above-mentioned purpose of the embodiment of the present application, feature and advantage can be become apparent more, below in conjunction with accompanying drawing technical scheme in the embodiment of the present application is described in further detail.
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 transport stream media device data in buffer, and this status query request can be inquired about the size of the buffer storage space of decoder for request, perhaps the size of CPU usage in the request inquiry 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, whether decoder judges the data-handling capacity of self greater than the threshold value that sets in advance, and when greater than threshold value, returns the control command of transmission 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 described TCP connection request and described 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, decoder connects the new task of setting up deal with data for this TCP simultaneously, after stream media equipment receives connection response, with set up TCP between the decoder and be 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 data that send of DVR, but these data directly do not mail to decoder, but by to decoder transmit status query requests, whether the current buffering area of request inquiry decoder also has enough memory spaces to receive this data.
Step 205: decoder judges that whether the buffer storage space of self is greater than the threshold value that sets 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 sets in advance, illustrate 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 greater than the threshold value that sets in advance, if then execution in step 208; Otherwise, return step 207.
When decoder buffer memory space during less than the threshold value that sets in advance, whether the memory space of this decoder continuous Query self returns to greater than threshold value, so that give stream media equipment with up-to-date disposal ability feedback information.
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 sets in advance, illustrate 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 sets 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 described 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 sets in advance, to the data of decoder transmission buffer; When receive decoder judge its data disposal ability less than the threshold value that sets 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 sets 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 by 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 sends the control command that whether receives described data in buffer to stream media equipment 520, 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 sets 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 sets 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 by network.Need to prove that Fig. 6 only is exemplary description, therefore wherein only show a DVR630.
Wherein, some DVR630 are used for sending data to stream media equipment 620;
Stream media equipment 620 is used to receive and data that the some DVR630 of buffer memory send, and after connecting with decoder 610, to decoder 610 transmit status query requests;
Decoder 610, be used to receive the status query request that stream media equipment 620 sends after, send the control command that whether receives data in buffer according to self data-handling capacity to stream media equipment 620;
Stream media equipment 620 is used for the control command returned according to decoder 610, whether selects the data to decoder 610 transmission buffers.
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;
Control unit 730 is used for sending the control command that whether receives data in buffer to stream media equipment according to the data-handling capacity of self.
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;
Control unit 830 is used for sending the control command that whether receives data in buffer to stream media equipment according to the data-handling capacity of self.
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 sets 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;
Transmission unit 930 is used for the control command returned according to the data-handling capacity of self according to decoder, whether selects the data to the decoder transmission buffer.
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;
Transmission unit 1030 is used for the control command returned according to the data-handling capacity of self according to decoder, whether selects the data to the decoder transmission buffer.
Concrete, transmission unit 1030 can comprise: data cached transmission unit 1031 is used for when receiving the control command of the transmission data that decoder judgement its data disposal ability returns greater than the threshold value that sets 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 sets 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 sets in advance, return the function that transmitting element 1020 is carried out.
As seen through the above description of the embodiments, in the supervisory control system that the embodiment of the present application 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 embodiment of the present application 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 it is data cached by stream media equipment, offered load when therefore having reduced the transmission data, and by 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.
As seen through the above description of the embodiments, 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 embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise 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 difference with other embodiment.Especially, for system embodiment, because it is substantially 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 distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), by by communication network connected teleprocessing equipment execute the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Though described the application by embodiment, those of ordinary skills know, the application has many distortion and variation and the spirit that do not break away from the application, wish that appended claim comprises these distortion and variation and the spirit that do not break away from the application.

Claims (14)

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 described method comprises:
Described decoder and described stream media equipment connect, the data that described stream media equipment is used to receive and the described DVR of buffer memory sends;
After described decoder receives the status query request of described stream media equipment transmission, data-handling capacity according to self sends the control command that whether receives described data in buffer to described stream media equipment, and described status query request is used for request and transmits described data in buffer to described decoder.
2. method according to claim 1 is characterized in that, described decoder and described stream media equipment connect and comprise:
Described decoder listening port;
Receive the TCP connection request that described stream media equipment sends;
Setting up TCP length according to described TCP connection request and described stream media equipment is connected.
3. method according to claim 1 is characterized in that, sends the control command that whether receives described data in buffer according to self data-handling capacity to described stream media equipment and comprises:
Size according to described decoder buffer memory space sends the control command that whether receives described data in buffer to described stream media equipment; Or,
Size according to CPU usage in the described decoder sends the control command that whether receives described data in buffer to described stream media equipment.
4. method according to claim 1 is characterized in that, described data-handling capacity according to self sends the control command that whether receives described data in buffer to described stream media equipment and comprises:
Decoder judges that whether the data-handling capacity of self is greater than the threshold value that sets in advance;
When greater than described threshold value, return the control command of transmission data to described stream media equipment;
When less than described threshold value, return the control command that stops to send described status query request to described stream media equipment.
5. method according to claim 4 is characterized in that, described to stream media equipment return stop to send the control command of described status query request after, also comprise:
Described decoder inquiry its data disposal ability is greater than described threshold value;
Decoder sends the control command of recovering to send described status query request to described stream media equipment, and returns the step of the status query request of described receiving stream media equipment transmission.
6. 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 described method comprises:
The data that stream media equipment receives and the described some DVR of buffer memory send;
After stream media equipment and decoder connect, to described decoder transmit status query requests;
According to the control command that described decoder returns according to the data-handling capacity of self, select whether transmit described data in buffer to described decoder.
7. method according to claim 6 is characterized in that, described stream media equipment and decoder connect and comprise:
Described stream media equipment sends the TCP connection request to described decoder;
Setting up TCP length according to described TCP connection request and described decoder is connected.
8. method according to claim 6 is characterized in that, the described control command of returning according to the data-handling capacity of self according to described decoder is selected whether transmit described data in buffer to described decoder and comprised:
When receiving described decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that sets in advance, transmit described data in buffer to described decoder;
When receive described decoder judge its data disposal ability less than the threshold value that sets in advance return stop to send the control command of described status query request the time, stop to described decoder transmit status query requests;
When stopping after described decoder transmit status query requests, receive recovery that described decoder judges that its data disposal ability is returned greater than the described threshold value that sets in advance when sending the control command of described status query request, return step to described decoder transmit status query requests.
9. a supervisory control system is characterized in that, comprises stream media equipment, the decoder that is connected with described stream media equipment, and the some DVR that are connected with described stream media equipment, wherein,
Described some DVR are used for sending data to described stream media equipment;
Described stream media equipment is used to receive and data that the described some DVR of buffer memory send, and after connecting with decoder, to described decoder transmit status query requests;
Described decoder, be used to receive the status query request that described stream media equipment sends after, send the control command that whether receives described data in buffer to described stream media equipment according to self data-handling capacity;
Described stream media equipment is used for the control command returned according to described decoder, selects whether transmit described data in buffer to described decoder.
10. 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 described decoder comprises:
Linkage unit is used for connecting with described stream media equipment, the data that described stream media equipment is used to receive and the described DVR of buffer memory sends;
Receiving element is used to receive the status query request that described stream media equipment sends, and described status query request is used for request and transmits described data in buffer to described decoder;
Control unit is used for sending the control command that whether receives described data in buffer to described stream media equipment according to the data-handling capacity of self.
11. decoder according to claim 10 is characterized in that, described linkage unit comprises:
The listening port unit is used to intercept the port of described decoder;
Receive request unit, be used to receive the TCP connection request that described stream media equipment sends;
The unit that connects is used for setting up according to described TCP connection request and described stream media equipment that TCP is long to be connected.
12. decoder according to claim 10 is characterized in that, described control unit comprises:
The judgement unit, be used to receive described status query request after, whether the data-handling capacity of judging described decoder greater than the threshold value that sets in advance;
Command sending unit is used for when greater than described threshold value, returns the control command of transmitting data to described stream media equipment, when less than described threshold value, returns the control command that stops to send described status query request to described stream media equipment;
The query capability unit, be used for described command sending unit return stop to send the control command of described status query request after, the data-handling capacity of inquiring about described decoder is greater than described threshold value;
Described command sending unit also is used for sending the control command of recovering to send described status query request to described stream media equipment, and returns the function that described receiving element is carried out.
13. a 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 described stream media equipment comprises:
Buffer unit is used to receive the also data of the described some DVR transmissions of buffer memory;
Transmitting element is after being used for connecting with described decoder, to described decoder transmit status query requests;
Transmission unit is used for the control command returned according to the data-handling capacity of self according to described decoder, selects whether transmit described data in buffer to described decoder.
14. stream media equipment according to claim 13 is characterized in that, described transmission unit comprises:
Data cached transmission unit is used for transmitting described data in buffer when receiving described decoder when judging the control command of the transmission data that its data disposal ability is returned greater than the threshold value that sets in advance to described decoder;
Stop request transmitting unit, be used for when receive described decoder judge its data disposal ability less than the threshold value that sets in advance return stop to send the control command of described status query request the time, stop to described decoder transmit status query requests;
The recovery request transmitting element, be used for when stopping after described decoder transmit status query requests, receive recovery that described decoder judges that its data disposal ability is returned greater than the described threshold value that sets in advance when sending the control command of described status query request, return the function that described transmitting element is carried out.
CN 201010002333 2010-01-07 2010-01-07 Control command sending method, data transmission method, monitoring system and device Active CN101873475B (en)

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 true CN101873475A (en) 2010-10-27
CN101873475B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946261A (en) * 2012-11-14 2013-02-27 田军 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
CN107291530A (en) * 2016-04-01 2017-10-24 杭州海康威视数字技术股份有限公司 A kind of data processing method and device
CN107770280A (en) * 2017-10-30 2018-03-06 珠海格力电器股份有限公司 Multimedia-data procession and acquisition methods, acquisition terminal and processing unit
CN110109953A (en) * 2018-01-19 2019-08-09 阿里巴巴集团控股有限公司 A kind of data query method, device and equipment
CN110691033A (en) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 Monitoring data processing method and device and storage medium
CN110855645A (en) * 2019-11-01 2020-02-28 腾讯科技(深圳)有限公司 Streaming media data playing method and device
CN111246284A (en) * 2020-03-09 2020-06-05 深圳创维-Rgb电子有限公司 Video stream playing method, system, terminal and storage medium
CN111314378A (en) * 2020-03-18 2020-06-19 浩云科技股份有限公司 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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239001C (en) * 2002-07-10 2006-01-25 华为技术有限公司 Method and equipment for controlling wireless interface flow in wireless network
CN100356744C (en) * 2004-09-10 2007-12-19 华为技术有限公司 Flow control for pipeline distributing system
CN100340127C (en) * 2004-11-08 2007-09-26 大唐移动通信设备有限公司 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

Cited By (16)

* Cited by examiner, † Cited by third party
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
CN102946261A (en) * 2012-11-14 2013-02-27 田军 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
CN107291530A (en) * 2016-04-01 2017-10-24 杭州海康威视数字技术股份有限公司 A kind of data processing method and 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
CN107770280A (en) * 2017-10-30 2018-03-06 珠海格力电器股份有限公司 Multimedia-data procession and acquisition methods, acquisition terminal and processing unit
CN110109953A (en) * 2018-01-19 2019-08-09 阿里巴巴集团控股有限公司 A kind of data query method, device and equipment
CN110109953B (en) * 2018-01-19 2023-12-19 阿里巴巴集团控股有限公司 Data query method, device and equipment
US11734271B2 (en) 2018-01-19 2023-08-22 Alibaba Group Holding Limited Data query method, apparatus and device
CN110691033A (en) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 Monitoring data processing method and device and storage medium
CN110855645A (en) * 2019-11-01 2020-02-28 腾讯科技(深圳)有限公司 Streaming media data playing method and device
CN110855645B (en) * 2019-11-01 2021-10-22 腾讯科技(深圳)有限公司 Streaming media data playing method and device
CN111246284A (en) * 2020-03-09 2020-06-05 深圳创维-Rgb电子有限公司 Video stream playing method, system, terminal and storage medium
CN111314378A (en) * 2020-03-18 2020-06-19 浩云科技股份有限公司 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

Also Published As

Publication number Publication date
CN101873475B (en) 2012-09-05

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
US8898311B2 (en) Data communication method and information processing device
CN100502369C (en) Device and method for digital household network media format transcoding
US20100223283A1 (en) Apparatus and method for processing query
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
KR20110050590A (en) The method and apparatus for the resource sharing between user devices in computer network
CN103384181A (en) Data packet transmission method and device
Peralta et al. Fog to cloud and network coded based architecture: Minimizing data download time for smart mobility
JP5545853B2 (en) Communication device
CN109949203B (en) Heterogeneous CPU multi-channel 4K ultra-high-definition video processing device and control method
CN101997861B (en) Data storage method and equipment
CN111404842B (en) Data transmission method, device and computer storage medium
KR102274930B1 (en) Method and Apparatus for Managing Channel Connect
CN101448022A (en) Control method of system interface iSCSI receiving end window of internet small computer and device
CN108234595B (en) Log transmission method and system
US9437205B2 (en) Method, application, and device for audio signal transmission
CN108337285B (en) Communication system and communication method
CN109413215A (en) Method of data synchronization and system for sound pick-up outfit and user terminal
CN105912477B (en) A kind of method, apparatus and system that catalogue is read
CN108833301A (en) A kind of message processing method and device
CN104735097A (en) Information collecting method and system
CN107273082A (en) Display methods, device, terminal and the storage medium of image

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