CN105391699A - Transmission method, device and system of video data - Google Patents

Transmission method, device and system of video data Download PDF

Info

Publication number
CN105391699A
CN105391699A CN201510703210.1A CN201510703210A CN105391699A CN 105391699 A CN105391699 A CN 105391699A CN 201510703210 A CN201510703210 A CN 201510703210A CN 105391699 A CN105391699 A CN 105391699A
Authority
CN
China
Prior art keywords
video data
client
stream medium
web camera
medium data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510703210.1A
Other languages
Chinese (zh)
Inventor
孙卓
赵化强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510703210.1A priority Critical patent/CN105391699A/en
Publication of CN105391699A publication Critical patent/CN105391699A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention discloses a transmission method, a device and a system of video data, relating to the technical field of information. The method comprises the step of receiving the video acquisition request information sent by a client, obtaining a video data file according to the video acquisition request information, generating streaming media data corresponding to the video data file, and sending the streaming media data to the client, wherein the streaming media data is used for carrying out real-time outputting by the client. By using the above scheme, the video data recorded by a network camera can be played in real time through the client.

Description

The transmission method of video data, Apparatus and system
Technical field
The present invention relates to a kind of areas of information technology, particularly relate to a kind of transmission method of video data, Apparatus and system.
Background technology
In the last few years, along with the develop rapidly of information technology, increasing people has web camera, and web camera can capture video image, and the living and studying for people provides good video data.Web camera is kept in the RAM (random access memory) card of web camera by video data, when user wants the video data watching video camera shooting, RAM (random access memory) card can be taken out from web camera, be watched by the video data utilizing miscellaneous equipment to read RAM (random access memory) card preservation.
Captured video data is normally saved as the file of specific format by current web camera, such as, and the file of MP4 (MovingPictureExpertsGroup4, dynamic image expert group) form.But when user needs to watch the video data captured by web camera in real time by client, the video data that file is preserved in the specific format can not meet the demand carrying out playing in real time.
Summary of the invention
In view of this, the invention provides a kind of transmission method of video data, Apparatus and system, main purpose is to realize the video data by the real-time playing network shot by camera of client.
According to one aspect of the invention, provide a kind of transmission method of video data, comprising:
Receive the video acquisition solicited message that client sends;
According to described video acquisition solicited message, obtain video data file;
Generate the stream medium data that described video data file is corresponding;
Described stream medium data is sent to described client, and described stream medium data is used for exporting in real time for described client.
According to another aspect of the present invention, provide the transmission method of another kind of video data, comprising:
Send video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client;
Receive the described stream medium data that described web camera sends;
The described stream medium data of real-time output.
According to another aspect of the present invention, provide a kind of web camera, comprising:
Receiving element, for receiving the video acquisition solicited message that client sends;
Acquiring unit, for the video acquisition solicited message received according to described receiving element, obtains video data file;
Generation unit, the stream medium data that the video data file for generating the acquisition of described acquiring unit is corresponding;
Transmitting element, the stream medium data for being generated by described generation unit sends to described client, and described stream medium data is used for exporting in real time for described client.
According to another aspect of the present invention, provide a kind of client, comprising:
Transmitting element, for sending video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client;
Receiving element, for receiving the described stream medium data that described web camera sends;
Output unit, for exporting described stream medium data in real time.
According to another aspect of the present invention, provide a kind of transmission system of video data, comprising: web camera and client;
Described client, for sending video acquisition solicited message to described web camera;
Described web camera, for receiving the video acquisition solicited message that described client sends, according to described video acquisition solicited message, obtains video data file; Generate the stream medium data that described video data file is corresponding; Described stream medium data is sent to described client;
Described client, also for receiving the described stream medium data that described web camera sends; The described stream medium data of real-time output.
By technique scheme, the technical scheme that the embodiment of the present invention provides at least has following advantages:
The invention provides a kind of transmission method of video data, Apparatus and system, first receive the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the transmission method schematic flow sheet of a kind of video data that the embodiment of the present invention provides;
Fig. 2 shows the transmission method schematic flow sheet of the another kind of video data that the embodiment of the present invention provides;
Fig. 3 shows the transmission method schematic flow sheet of another video data that the embodiment of the present invention provides;
Fig. 4 shows the transmission method schematic flow sheet of another video data that the embodiment of the present invention provides;
Fig. 5 shows a kind of network camera structure schematic diagram that the embodiment of the present invention provides;
Fig. 6 shows the another kind of network camera structure schematic diagram that the embodiment of the present invention provides;
Fig. 7 shows a kind of client terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 8 shows the another kind of client terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 9 shows the transmission system structural representation of a kind of video data that the embodiment of the present invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of transmission method of video data, can be applied to web camera, as shown in Figure 1, described method comprises:
101, the video acquisition solicited message that client sends is received.
Wherein, the identification information that the video data of acquisition request is corresponding is included in described video acquisition solicited message.Described identification information can be name information, ID (Identity, identify label number) number etc.
It should be noted that, executive agent for the embodiment of the present invention can be web camera, described web camera (IPCAMERA, IPC) be a kind of video camera of new generation produced in conjunction with traditional cameras and network technology, image can be reached the earth other end by network, and the viewer of far-end does not need to use any professional software, as long as the web browser of standard gets final product the image of monitoring network shot by camera, web camera is generally by camera lens, image, sound transducer, A/D converter, image, sound, controller network server, external alert, the part such as control interface composition.
102, according to described video acquisition solicited message, video data file is obtained.
For the embodiment of the present invention, identification information that can be corresponding according to the video data comprised in described video acquisition solicited message, acquires video data file, particularly, in one or more video data file, the video data file corresponding with described identification information can be obtained.Wherein, the corresponding identification information of each video data file.
103, stream medium data corresponding to described video data file is generated.
Wherein, described stream medium data can for the media formats data adopting the mode of stream transmission to play in a network.Described Streaming Media can for using the continuous time-base media of streaming technology in a network, and being the media that biography limit, limit is broadcast, is multimedia one.
104, described stream medium data is sent to described client.
Wherein, described stream medium data is used for exporting in real time for described client.
For the embodiment of the present invention, by preset transmission passage, described stream medium data can be sent to described client, described preset transmission passage can be set up by the mode of direct network connection, also can be set up by the mode of transit server, can also be set up by modes such as wireless network 2G/3G/4G, specifically can be configured according to the actual requirements.The mode of described direct network connection can for not including the connected mode of transit server in the middle of connection, be specifically as follows that the wifi (Wireless-Fidelity, Wireless Fidelity) set up between web camera and client is direct-connected, bluetooth is direct-connected, the infrared connected mode such as direct-connected.
Further, before described step 104, can also comprise: by preset compress technique, described stream medium data is compressed, the stream medium data after compression is sent to client, so that during transfer of data, reduce the data traffic consumed.Wherein, described preset compress technique can be configured according to the actual requirements.
The transmission method of a kind of video data that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Embodiments provide the transmission method of another kind of video data, can be applied to web camera, as shown in Figure 2, described method comprises:
201, the video acquisition solicited message that client sends is received.
Wherein, the identification information that the video data of acquisition request is corresponding is included in described video acquisition solicited message.Described identification information can be name information, No. ID etc.
It should be noted that, the executive agent for the embodiment of the present invention can be web camera, and the concept explanation of described web camera with reference to corresponding description in described 101, can not repeat them here.
202, according to described video acquisition solicited message, video data file is obtained.
For the embodiment of the present invention, identification information that can be corresponding according to the video data comprised in described video acquisition solicited message, acquires corresponding video data file, particularly, in one or more video data file, the video data file corresponding with described identification information can be obtained.Wherein, the corresponding identification information of each video data file.
203, stream medium data corresponding to described video data file is generated.
For the embodiment of the present invention, described step 203 can comprise: the video data obtaining each frame in described video data file; According to preset protocol rule, resolve the video data of each frame described, obtain the stream medium data that described video data file is corresponding.Wherein, described preset protocol rule can be configured according to video data file form, also can be configured according to the actual requirements.Such as, when video data file form is MP4 formatted file, according to MP4 format analysis rule, the video data of each frame in MP4 format video data file can be resolved, and then obtains stream medium data corresponding to this MP4 format video data file.
204, streaming media passage is set up.
For the embodiment of the present invention, set up the streaming media passage between web camera and client, described streaming media passage can be set up by the mode of direct network connection, also can be set up by the mode of transit server, can also be set up by modes such as wireless network 2G/3G/4G, specifically can be configured according to the actual requirements.The mode of described direct network connection can for not including the connected mode of transit server in the middle of connecting, and is specifically as follows that wifi is direct-connected, bluetooth is direct-connected, the infrared connected mode such as direct-connected.
205, the streaming media passage by setting up, is sent to client by described stream medium data.
Wherein, described stream medium data is used for exporting in real time for described client.
For the embodiment of the present invention, can also comprise before described step 205: whether the transmission speed detecting described streaming media passage corresponding is less than or equal to predetermined threshold value; If be less than or equal to described predetermined threshold value, then send information to described client, described information is used for being confirmed whether to carry out transmission of flow media data by described streaming media passage.Wherein, described information can be text prompt information, picture prompting information, audio prompt information, visual prompts information etc.Described predetermined threshold value can be configured according to the actual demand of user, and also can be configured by system default, the embodiment of the present invention does not limit.
Further, if be less than or equal to described predetermined threshold value described, then to after described client sends the step of information, described method can also comprise: the solicited message receiving the change streaming media passage that client sends; According to described request information, change current streaming media passage.
Such as, described predetermined threshold value can be configured to 10KB/s, when the transmission speed that the streaming media passage set up in advance is corresponding is less than or equal to 10KB/s, can send information to client, this information is used for being confirmed whether to carry out transmission of flow media data by this streaming media passage.So that user according to the actual requirements, can select to continue through this streaming media passage and carry out transmission of flow media data, or selects to change streaming media passage, carry out transmission of flow media data by another kind of streaming media passage.
Embody rule scene for the embodiment of the present invention can be as follows, but be not limited thereto, and comprising:
When user needs to watch the video data captured by web camera by client, client sends video acquisition solicited message to web camera, web camera receives the video acquisition solicited message that client sends, and includes the identification information that the video data of acquisition request is corresponding in this video acquisition solicited message.Then the video data file corresponding with this identification information is obtained, this video data file is MP4 formatted file, according to MP4 format analysis rule, resolve the video data of each frame in MP4 format video data file, and then obtain stream medium data corresponding to this MP4 format video data file.Set up the streaming media passage between web camera and client, be specially the mode that wifi is direct-connected, by this streaming media passage, this stream medium data is sent to client, to make client receive this stream medium data and export in real time, and then realize the video data by the real-time playing network shot by camera of client.
The transmission method of the another kind of video data that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Embodiments provide the transmission method of another video data, can be applied to client, as shown in Figure 3, described method comprises:
301, video acquisition solicited message is sent to web camera.
Wherein, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client.The stream medium data that video data file correspondence generates sends to the step of client to explain and with reference to the corresponding description in described step 101,102,103 and 104, can not repeat them here by the described web camera of described instruction.
It should be noted that, the executive agent for the embodiment of the present invention can be client.
302, the described stream medium data that described web camera sends is received.
Wherein, described stream medium data can for the media formats data adopting the mode of stream transmission to play in a network.Described Streaming Media can for using the continuous time-base media of streaming technology in a network, and being the media that biography limit, limit is broadcast, is multimedia one.
For the embodiment of the present invention, the stream medium data that described web camera is sent by preset transmission passage can be received.The concept explanation of described preset transmission passage with reference to description corresponding in described step 104, can not repeat them here.
303, described stream medium data is exported in real time.
For the embodiment of the present invention, decompress(ion) can be carried out by decompression tool to described stream medium data, and then realize the object of video data of playing network shot by camera.
The transmission method of another video data that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Embodiments provide the transmission method of another video data, can be applied to client, as shown in Figure 4, described method comprises:
401, video acquisition solicited message is sent to web camera.
Wherein, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client.The stream medium data that video data file correspondence generates sends to the step of client to explain and with reference to the corresponding description in described step 101,102,103 and 104, can not repeat them here by the described web camera of described instruction.
It should be noted that, the executive agent for the embodiment of the present invention can be client.
402, the first information that described web camera sends is received.
Wherein, described first information is used for being confirmed whether to carry out transmission of flow media data by preset streaming media passage.Described first information can be text prompt information, picture prompting information, audio prompt information, visual prompts information etc.The concept explanation of described preset streaming media passage with reference to the corresponding description in described step 204, can not repeat them here.When receiving the first information that web camera sends, user can select confirmation to continue through this preset streaming media passage to carry out transmission of flow media data, or select to change streaming media passage, carry out transmission of flow media data by another kind of streaming media passage.
403, when receiving the confirmation instruction, the stream medium data that described web camera is sent by preset streaming media passage is received.
Wherein, described stream medium data can for the media formats data adopting the mode of stream transmission to play in a network.Described Streaming Media can for using the continuous time-base media of streaming technology in a network, and being the media that biography limit, limit is broadcast, is multimedia one.
Further, can also comprise after described step 403: obtain transmission speed when receiving described stream medium data; Judge whether described transmission speed is less than or equal to preset speed threshold value; If be less than or equal to preset speed threshold value, then export the second information, described second information changes current streaming media passage for being confirmed whether.Wherein, described preset speed threshold value can be configured according to user's request, and also can be configured by system default, the embodiment of the present invention does not limit.Described second information can be text prompt information, picture prompting information, audio prompt information, visual prompts information etc.
Further, described method can also comprise: when receiving the command information of change streaming media passage, the solicited message of change streaming media passage is sent to described web camera, to make described web camera according to described request information, change current streaming media passage.
Such as, described preset speed threshold value can be configured to 5KB/s, transmission speed when receiving stream media data is less than or equal to 5KB/s, can determine that current streaming media channel transfer is congested, information can be exported, current streaming media passage is changed for being confirmed whether, so that user can be according to the actual requirements, selection continues through this streaming media passage and carries out transmission of flow media data, or select to change streaming media passage, carry out transmission of flow media data by another kind of streaming media passage.
Further, can also comprise after described step 403: whether the data traffic that the described stream medium data of detection reception consumes is more than or equal to preset flow threshold value; If be more than or equal to described preset flow threshold value, then outputting alarm information.Wherein, described warning information can be text alert information, picture warning information, audible alarm information, visual alarm information etc.Described preset flow threshold value can be configured according to the actual demand of user, and also can be configured by system default, the embodiment of the present invention does not limit.
Such as, preset flow threshold value can be configured to 200MB, when the data traffic that receiving stream media data consume is more than or equal to 200MB, can show text alert information, for informing user's excess flow scope of application by the display screen of terminal equipment.
404, described stream medium data is exported in real time.
For the embodiment of the present invention, decompress(ion) can be carried out by decompression tool to described stream medium data, and then realize the object of video data of playing network shot by camera.
The transmission method of another video data that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Further, as the specific implementation of method described in Fig. 1, embodiments provide a kind of web camera, as shown in Figure 5, described web camera comprises: receiving element 51, acquiring unit 52, generation unit 53, transmitting element 54.
Described receiving element 51, may be used for the video acquisition solicited message receiving client transmission.
Described acquiring unit 52, may be used for the video acquisition solicited message received according to described receiving element 51, obtains video data file.
Described generation unit 53, may be used for generating the stream medium data that the video data file of described acquiring unit 52 acquisition is corresponding.
Described transmitting element 54, the stream medium data that may be used for described generation unit 53 generates sends to described client, and described stream medium data is used for exporting in real time for described client.
It should be noted that, other corresponding descriptions of each functional unit involved by a kind of web camera that the embodiment of the present invention provides, the correspondence in reference diagram 1 can describe, do not repeat them here.
A kind of web camera that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Further, as the specific implementation of method described in Fig. 2, embodiments provide another kind of web camera, as shown in Figure 6, described web camera comprises: receiving element 61, acquiring unit 62, generation unit 63, transmitting element 64.
Described receiving element 61, may be used for the video acquisition solicited message receiving client transmission.
Described acquiring unit 62, may be used for the video acquisition solicited message received according to described receiving element 61, obtains video data file.
Described generation unit 63, may be used for generating the stream medium data that the video data file of described acquiring unit 62 acquisition is corresponding.
Described transmitting element 64, the stream medium data that may be used for described generation unit 63 generates sends to described client, and described stream medium data is used for exporting in real time for described client.
Further, described generation unit 63 can comprise: acquisition module 631, parsing module 632.
Described acquisition module 631, may be used for the video data obtaining each frame in described video data file.
Described parsing module 632, may be used for according to preset protocol rule, resolves the video data of each frame described, obtains the stream medium data that described video data file is corresponding.
Further, described web camera can also comprise: set up unit 65.
Describedly set up unit 65, may be used for setting up streaming media passage.
Described transmitting element 64, specifically may be used for, by the streaming media passage set up, described stream medium data being sent to client.
Further, described web camera can also comprise: detecting unit 66.
Described detecting unit 66, whether the transmission speed that may be used for detecting described streaming media passage corresponding is less than or equal to predetermined threshold value.
Described transmitting element 64, if described detecting unit 66 can also be used for detect that the transmission speed that described streaming media passage is corresponding is less than or equal to described predetermined threshold value, then send information to described client, described information is used for being confirmed whether to carry out transmission of flow media data by described streaming media passage.
Further, described web camera can also comprise: changing unit 67.
Described receiving element 61, can also be used for the solicited message receiving the change streaming media passage that client sends.
Described changing unit 67, may be used for according to described request information, changes current streaming media passage.
It should be noted that, other corresponding descriptions of each functional unit involved by the another kind of web camera that the embodiment of the present invention provides, the correspondence in reference diagram 2 can describe, do not repeat them here.
The another kind of web camera that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Further, as the specific implementation of method described in Fig. 3, embodiments provide a kind of client, as shown in Figure 7, described client comprises: transmitting element 71, receiving element 72, output unit 73.
Described transmitting element 71, may be used for sending video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client.
Described receiving element 72, may be used for the described stream medium data receiving the transmission of described web camera.
Described output unit 73, may be used for the stream medium data exporting the reception of described receiving element 72 in real time.
It should be noted that, other corresponding descriptions of each functional unit involved by a kind of client that the embodiment of the present invention provides, the correspondence in reference diagram 3 can describe, do not repeat them here.
A kind of client that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Further, as the specific implementation of method described in Fig. 4, embodiments provide another kind of client, as shown in Figure 8, described client comprises: transmitting element 81, receiving element 82, output unit 83.
Described transmitting element 81, may be used for sending video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client.
Described receiving element 82, may be used for the described stream medium data receiving the transmission of described web camera.
Described output unit 83, may be used for the stream medium data exporting the reception of described receiving element 82 in real time.
Described receiving element 82, can also be used for the first information receiving the transmission of described web camera, described first information is used for being confirmed whether to carry out transmission of flow media data by preset streaming media passage.
Further, described client also comprises acquiring unit 84, judging unit 85.
Described acquiring unit 84, may be used for obtaining transmission speed when receiving described stream medium data.
Described judging unit 85, may be used for judging whether described transmission speed is less than or equal to preset speed threshold value.
Described output unit 83, if can also be used for described judging unit 85 to judge that described transmission speed is less than or equal to preset speed threshold value, then exports the second information, and described second information changes current streaming media passage for being confirmed whether.
Described transmitting element 81, can also be used for, when receiving the command information of change streaming media passage, sending the solicited message of change streaming media passage to described web camera.
Further, to make described web camera according to described request information, current streaming media passage is changed.
Further, described client also comprises: detecting unit 86.
Described detecting unit 86, may be used for detecting and receives the data traffic that consumes of described stream medium data and whether be more than or equal to preset flow threshold value.
Described output unit 83, if can also be used for described detecting unit 86 to detect that the data traffic that the described stream medium data of reception consumes is more than or equal to described preset flow threshold value, then outputting alarm information.
It should be noted that, other corresponding descriptions of each functional unit involved by the another kind of client that the embodiment of the present invention provides, the correspondence in reference diagram 4 can describe, do not repeat them here.
The another kind of client that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
Further, embodiments provide a kind of transmission system of video data, as shown in Figure 9, described system comprises: web camera 91, client 92.
Described client 92, may be used for sending video acquisition solicited message to described web camera 91.
Described web camera 91, may be used for the video acquisition solicited message receiving the transmission of described client, according to described video acquisition solicited message, obtains video data file; Generate the stream medium data that described video data file is corresponding; Described stream medium data is sent to described client 92.
Described client 92, can also be used for the described stream medium data receiving the transmission of described web camera 91, and export described stream medium data in real time.
The transmission system of a kind of video data that the embodiment of the present invention provides, first receives the video acquisition solicited message that client sends; Again according to described video acquisition solicited message, obtain video data file; Then the stream medium data that described video data file is corresponding is generated; Finally described stream medium data is sent to described client, described stream medium data is used for exporting in real time for described client.With the file first video data captured by web camera being saved as specific format at present, send to client to carry out broadcasting again to compare, the video data by the real-time playing network shot by camera of client can be realized, the demand that user watches video data in real time can be met.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the transmission method of a kind of video data according to the embodiment of the present invention, Apparatus and system.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The transmission method of A1, a kind of video data, apply a web camera, comprising:
Receive the video acquisition solicited message that client sends;
According to described video acquisition solicited message, obtain video data file;
Generate the stream medium data that described video data file is corresponding;
Described stream medium data is sent to described client, and described stream medium data is used for exporting in real time for described client.
The transmission method of A2, video data as described in A1, the step of the stream medium data that the described video data file of described generation is corresponding comprises further:
Obtain the video data of each frame in described video data file;
According to preset protocol rule, resolve the video data of each frame described, obtain the stream medium data that described video data file is corresponding.
The transmission method of A3, video data as described in A1, described described stream medium data is sent to the step of client before, described method also comprises:
Set up streaming media passage;
And describedly send to the step of described client to comprise further described stream medium data:
By the streaming media passage set up, described stream medium data is sent to client.
The transmission method of A4, video data as described in A3, the described streaming media passage by setting up, before described stream medium data being sent to the step of client, described method also comprises:
Whether the transmission speed detecting described streaming media passage corresponding is less than or equal to predetermined threshold value;
If be less than or equal to described predetermined threshold value, then send information to described client, described information is used for being confirmed whether to carry out transmission of flow media data by described streaming media passage.
The transmission method of A5, video data as described in A4, is less than or equal to described predetermined threshold value if described, then to after described client sends the step of information, described method also comprises:
Receive the solicited message of the change streaming media passage that client sends;
According to described request information, change current streaming media passage.
The transmission method of B6, a kind of video data, apply a client, comprising:
Send video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client;
Receive the described stream medium data that described web camera sends;
The described stream medium data of real-time output.
The transmission method of B7, video data as described in B6, described method also comprises:
Receive the first information that described web camera sends, described first information is used for being confirmed whether to carry out transmission of flow media data by preset streaming media passage.
The transmission method of B8, video data as described in B7, after the step of the described stream medium data that the described web camera of described reception sends, described method also comprises:
Obtain transmission speed when receiving described stream medium data;
Judge whether described transmission speed is less than or equal to preset speed threshold value;
If be less than or equal to preset speed threshold value, then export the second information, described second information changes current streaming media passage for being confirmed whether.
The transmission method of B9, video data as described in B8, described method also comprises:
When receiving the command information of change streaming media passage, sending the solicited message of change streaming media passage to described web camera, to make described web camera according to described request information, changing current streaming media passage.
The transmission method of B10, video data as described in B6, after the step of the described stream medium data that the described web camera of described reception sends, described method also comprises:
Whether the data traffic that the described stream medium data of detection reception consumes is more than or equal to preset flow threshold value;
If be more than or equal to described preset flow threshold value, then outputting alarm information.
C11, a kind of web camera, comprising:
Receiving element, for receiving the video acquisition solicited message that client sends;
Acquiring unit, for the video acquisition solicited message received according to described receiving element, obtains video data file;
Generation unit, the stream medium data that the video data file for generating the acquisition of described acquiring unit is corresponding;
Transmitting element, the stream medium data for being generated by described generation unit sends to described client, and described stream medium data is used for exporting in real time for described client.
C12, web camera as described in C11, described generation unit comprises:
Acquisition module, for obtaining the video data of each frame in described video data file;
Parsing module, for according to preset protocol rule, resolves the video data of each frame described, obtains the stream medium data that described video data file is corresponding.
C13, web camera as described in C11, described device also comprises: set up unit;
Describedly set up unit, for setting up streaming media passage;
Described transmitting element, specifically for the streaming media passage by setting up, is sent to client by described stream medium data.
C14, web camera as described in C13, described device also comprises: detecting unit;
Whether described detecting unit, be less than or equal to predetermined threshold value for the transmission speed detecting described streaming media passage corresponding;
Described transmitting element, if also detect that the transmission speed that described streaming media passage is corresponding is less than or equal to described predetermined threshold value for described detecting unit, then send information to described client, described information is used for being confirmed whether to carry out transmission of flow media data by described streaming media passage.
C15, web camera as described in C14, described device also comprises: changing unit;
Described receiving element, also for receiving the solicited message of the change streaming media passage that client sends;
Described changing unit, for according to described request information, changes current streaming media passage.
D16, a kind of client, comprising:
Transmitting element, for sending video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client;
Receiving element, for receiving the described stream medium data that described web camera sends;
Output unit, for exporting the stream medium data that described receiving element receives in real time.
D17, client as described in D16,
Described receiving element, also for receiving the first information that described web camera sends, described first information is used for being confirmed whether to carry out transmission of flow media data by preset streaming media passage.
D18, client as described in D17, described device also comprises: acquiring unit and judging unit;
Described acquiring unit, for obtaining transmission speed when receiving described stream medium data;
Described judging unit, for judging whether described transmission speed is less than or equal to preset speed threshold value;
Described output unit, if also judge that described transmission speed is less than or equal to preset speed threshold value for described judging unit, then exports the second information, and described second information changes current streaming media passage for being confirmed whether.
D19, client as described in D18,
Described transmitting element, also for when receiving the command information of change streaming media passage, send the solicited message of change streaming media passage to described web camera, to make described web camera according to described request information, change current streaming media passage.
D20, client as described in D16, described device also comprises: detecting unit;
Described detecting unit, whether the data traffic consumed for detecting the described stream medium data of reception is more than or equal to preset flow threshold value;
For described detecting unit, described output unit, if also detect that the data traffic that the described stream medium data of reception consumes is more than or equal to described preset flow threshold value, then outputting alarm information.
The transmission system of E21, a kind of video data, comprising: the web camera as described in any one of C11-C15 and the client as described in any one of D16-D20.

Claims (10)

1. a transmission method for video data, apply a web camera, it is characterized in that, comprising:
Receive the video acquisition solicited message that client sends;
According to described video acquisition solicited message, obtain video data file;
Generate the stream medium data that described video data file is corresponding;
Described stream medium data is sent to described client, and described stream medium data is used for exporting in real time for described client.
2. the transmission method of video data according to claim 1, is characterized in that, the step of the stream medium data that the described video data file of described generation is corresponding comprises further:
Obtain the video data of each frame in described video data file;
According to preset protocol rule, resolve the video data of each frame described, obtain the stream medium data that described video data file is corresponding.
3. a transmission method for video data, apply a client, it is characterized in that, comprising:
Send video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client;
Receive the described stream medium data that described web camera sends;
The described stream medium data of real-time output.
4. the transmission method of video data according to claim 3, is characterized in that, described method also comprises:
Receive the first information that described web camera sends, described first information is used for being confirmed whether to carry out transmission of flow media data by preset streaming media passage.
5. a web camera, is characterized in that, comprising:
Receiving element, for receiving the video acquisition solicited message that client sends;
Acquiring unit, for the video acquisition solicited message received according to described receiving element, obtains video data file;
Generation unit, the stream medium data that the video data file for generating the acquisition of described acquiring unit is corresponding;
Transmitting element, the stream medium data for being generated by described generation unit sends to described client, and described stream medium data is used for exporting in real time for described client.
6. web camera according to claim 5, is characterized in that, described generation unit comprises:
Acquisition module, for obtaining the video data of each frame in described video data file;
Parsing module, for according to preset protocol rule, resolves the video data of each frame described, obtains the stream medium data that described video data file is corresponding.
7. a client, is characterized in that, comprising:
Transmitting element, for sending video acquisition solicited message to web camera, described acquisition solicited message is used to indicate described web camera and the stream medium data that video data file correspondence generates is sent to client;
Receiving element, for receiving the described stream medium data that described web camera sends;
Output unit, for exporting the stream medium data that described receiving element receives in real time.
8. client according to claim 7, is characterized in that,
Described receiving element, also for receiving the first information that described web camera sends, described first information is used for being confirmed whether to carry out transmission of flow media data by preset streaming media passage.
9. client according to claim 8, is characterized in that, described device also comprises: acquiring unit and judging unit;
Described acquiring unit, for obtaining transmission speed when receiving described stream medium data;
Described judging unit, for judging whether described transmission speed is less than or equal to preset speed threshold value;
Described output unit, if also judge that described transmission speed is less than or equal to preset speed threshold value for described judging unit, then exports the second information, and described second information changes current streaming media passage for being confirmed whether.
10. a transmission system for video data, is characterized in that, comprising: the web camera described in any one of claim 5-6 and the client described in any one of claim 7-9.
CN201510703210.1A 2015-10-26 2015-10-26 Transmission method, device and system of video data Pending CN105391699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510703210.1A CN105391699A (en) 2015-10-26 2015-10-26 Transmission method, device and system of video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510703210.1A CN105391699A (en) 2015-10-26 2015-10-26 Transmission method, device and system of video data

Publications (1)

Publication Number Publication Date
CN105391699A true CN105391699A (en) 2016-03-09

Family

ID=55423535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510703210.1A Pending CN105391699A (en) 2015-10-26 2015-10-26 Transmission method, device and system of video data

Country Status (1)

Country Link
CN (1) CN105391699A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933774A (en) * 2016-05-18 2016-09-07 北京奇虎科技有限公司 Video live processing method and server
CN106330887A (en) * 2016-08-22 2017-01-11 苏州华兴源创电子科技有限公司 Data transmission method for multimedia transfer service
CN107707594A (en) * 2017-02-21 2018-02-16 贵州白山云科技有限公司 It is a kind of to realize the document transmission method and device accelerated on demand
CN108200387A (en) * 2017-12-26 2018-06-22 深圳进化动力数码科技有限公司 A kind of transmission method of file, system and camera
CN111147921A (en) * 2020-01-04 2020-05-12 阔地教育科技有限公司 Data acquisition system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN101808233A (en) * 2009-02-18 2010-08-18 杭州海康威视数字技术股份有限公司 Universal system for realizing video monitoring of mobile phone and method thereof
CN102209232A (en) * 2010-04-09 2011-10-05 佛山市智邦电子科技有限公司 Remote audio and video monitor system and method thereof
CN102811368A (en) * 2012-07-16 2012-12-05 北京邮电大学 Mobile video live broadcasting system
CN104270604A (en) * 2014-09-18 2015-01-07 福建星网锐捷安防科技有限公司 Method, system and device for obtaining real-time video data of IPC

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN101808233A (en) * 2009-02-18 2010-08-18 杭州海康威视数字技术股份有限公司 Universal system for realizing video monitoring of mobile phone and method thereof
CN102209232A (en) * 2010-04-09 2011-10-05 佛山市智邦电子科技有限公司 Remote audio and video monitor system and method thereof
CN102811368A (en) * 2012-07-16 2012-12-05 北京邮电大学 Mobile video live broadcasting system
CN104270604A (en) * 2014-09-18 2015-01-07 福建星网锐捷安防科技有限公司 Method, system and device for obtaining real-time video data of IPC

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933774A (en) * 2016-05-18 2016-09-07 北京奇虎科技有限公司 Video live processing method and server
CN106330887A (en) * 2016-08-22 2017-01-11 苏州华兴源创电子科技有限公司 Data transmission method for multimedia transfer service
CN106330887B (en) * 2016-08-22 2019-10-29 苏州华兴源创科技股份有限公司 A kind of data transmission method for multimedia transfer service
CN107707594A (en) * 2017-02-21 2018-02-16 贵州白山云科技有限公司 It is a kind of to realize the document transmission method and device accelerated on demand
CN107707594B (en) * 2017-02-21 2018-11-27 贵州白山云科技有限公司 It is a kind of to realize the document transmission method and device accelerated on demand
CN108200387A (en) * 2017-12-26 2018-06-22 深圳进化动力数码科技有限公司 A kind of transmission method of file, system and camera
CN111147921A (en) * 2020-01-04 2020-05-12 阔地教育科技有限公司 Data acquisition system and method

Similar Documents

Publication Publication Date Title
CN105391699A (en) Transmission method, device and system of video data
US10271009B2 (en) Method and apparatus for providing additional information of video using visible light communication
CN101594528B (en) Information processing system, information processing apparatus, information processing method, and program
US8832750B2 (en) Media synchronization within home network using set-top box as gateway
CN106603503B (en) The treating method and apparatus of live data
CN106169998B (en) The treating method and apparatus of media file
CN103988520A (en) Reception device, method for controlling same, distribution device, distribution method, program, and distribution system
CN111866457B (en) Monitoring image processing method, electronic device, storage medium and system
EP3792731A1 (en) Multimedia information transmission method and apparatus, and terminal
US11395050B2 (en) Receiving apparatus, transmitting apparatus, and data processing method
CN108419046B (en) Monitoring method and device for multi-channel video
US20060080704A1 (en) Method and system for transmitting a video message to television set
CN112822435A (en) Security method, device and system allowing user to easily access
JP2005051716A (en) Audience survey system and method, program for audience survey, and audience survey terminal and server
KR20170087306A (en) Digital signage server, digital signage terminal for monitoring status of displaying contents in digital signage and method for controlling digital signage terminal
CN110753243A (en) Image processing method, image processing server and image processing system
CN109698932B (en) Data transmission method, camera and electronic equipment
EP3985989A1 (en) Detection of modification of an item of content
CN107872683B (en) Video data processing method, device, equipment and storage medium
CN101622873A (en) Method by server broadcast audio and video data sequences
TWI482470B (en) Digital signage playback system, real-time monitoring system, and real-time monitoring method thereof
US20120008693A1 (en) Substituting Embedded Text for Video Text Images
JP4755717B2 (en) Broadcast receiving terminal device
CN106412715A (en) Information retrieval method, terminal and server
CN113573100B (en) Advertisement display method, equipment and system

Legal Events

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

Application publication date: 20160309