CN101163230A - Method of performing on-site living broadcast and client terminal node preparation through network camera - Google Patents

Method of performing on-site living broadcast and client terminal node preparation through network camera Download PDF

Info

Publication number
CN101163230A
CN101163230A CNA200610063075XA CN200610063075A CN101163230A CN 101163230 A CN101163230 A CN 101163230A CN A200610063075X A CNA200610063075X A CN A200610063075XA CN 200610063075 A CN200610063075 A CN 200610063075A CN 101163230 A CN101163230 A CN 101163230A
Authority
CN
China
Prior art keywords
client
download
broadcast server
direct broadcast
group
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
CNA200610063075XA
Other languages
Chinese (zh)
Inventor
李付忠
Original Assignee
贾波
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 贾波 filed Critical 贾波
Priority to CNA200610063075XA priority Critical patent/CN101163230A/en
Publication of CN101163230A publication Critical patent/CN101163230A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a live broadcasting and a client node allocation method. The live broadcasting method is a method of realizing live information collection by a network camera with the combination of the network camera with P2P technology and transfers information to users through P2P technology. Allocation method of a client node during live broadcasting is that a live broadcasting server detects a client group that can provide the optimized download service to a visit-requesting client. The client data is provided to the visit-requesting client, and then the visit-requesting client selects one client as the download-providing client from the client group that provides optimized service and begins to download. The rest download-providing clients are preserved as backups. The invention ensures that live broadcasting through the network camera combined with P2P technology is possible. Besides, the allocation of client nodes provides better security for smooth downloading live information to users.

Description

Broadcast live and the client terminal node preparation method by web camera
[technical field]
The present invention relates to a kind ofly broadcast live and the client terminal node preparation method particularly a kind of concocting method that carries out live method and in this, under the method client node is carried out in conjunction with the P2P technology by web camera by web camera.
[background technology]
The P2P technology is a focus of present International Computer Network technical field research, be a kind ofly be used between the different pc users, without the technology of direct swap data of trunking or service.This technology has been broken traditional Client/Server pattern, and in peer-to-peer network, the status of each node all is identical, possesses client and direct broadcast server double grading, can be simultaneously as service user and ISP.Because the develop rapidly of P2P technology, the memory module of the Internet will " content be positioned at the " center " pattern and changes " content is positioned at the edge " pattern into; what change Internet was present is the state at center with big website, returns to " decentralization ", and power is given back the user by present.
Web camera is a kind of video monitoring equipment of total digitalization, and it has been applied in field of video monitoring widely as the watch-dog of latest generation.Traditional web camera adopts C/S (Client/Server) pattern to carry out data dissemination, owing to be subjected to the restriction of the direct broadcast server load capacity and the network bandwidth, can only connect limited user simultaneously.
Traditional on-the-spot broadcasting adopts the satellite transmits technology to realize, but because satellite concession expense and relay devices cost an arm and a leg, has only big TV station just to have the ability to finish.This problem has been alleviated in appearing at of peer-to-peer network (P2P) technology in the certain limit, yet when in traditional P2P technology, having new client to add downloading process, at first access request is proposed to direct broadcast server, by direct broadcast server all client-side informations are carried out index, for providing more optimized, the request client downloads for download client, when withdrawing from for the client of downloading, provide the peer client of data flow to send OPT-OUT NOTICE to direct broadcast server with to it, will carry out again index to determine once more and to distribute a new client that is downloaded to download and use to all client-side informations after direct broadcast server is notified for peer client; What is more when the chance failure cisco unity malfunction occurring for the client of downloading, download client just can not continue the work of downloading normally in this time duration process, especially at the scene in the live process, bring great inconvenience will for the normal rating of user.
[summary of the invention]
Adopt satellite transmits technology satellite concession expense and relay devices to cost an arm and a leg in order to solve traditional on-the-spot broadcasting; Traditional web camera adopts C/S model to carry out data dissemination, is subjected to the restriction of the direct broadcast server load capacity and the network bandwidth, can only connect limited user simultaneously; Lacking flexibly to client node when using traditional P2P technology and downloading, allotment property and other node lack complementarity and supportive technical problem to single download node.The invention provides a kind of concocting method that carries out client node in live method and a kind of live process by web camera in conjunction with the P2P technology.
The present invention solves in the prior art satellite concession expense and the relay devices technical scheme that problem adopted that costs an arm and a leg: provide a kind of and carry out live method by web camera in conjunction with the P2P technology.At least one alternative direct broadcast server is set in described live method, as direct broadcast server slack storage equipment, receive web camera and direct broadcast server forwarding information, described live method comprises that step has: at first, by described web camera collection site information and pass to direct broadcast server and alternative direct broadcast server; Secondly, described direct broadcast server receives described web camera forwarding information and client requests is handled.This step comprises following substep again: the first, described direct broadcast server receives described web camera forwarding information and stores; The second, described direct broadcast server receives the requesting client access request; Three, described direct broadcast server carries out index to all client-side informations; Four, described direct broadcast server provides optimization download client group for the described request client.At last, the described request client receives the optimization download client group information that described direct broadcast server provides, and selects the optimal download client to download the described information of relaying live in described download client group, realizes that this locality watches.
According to a preferred embodiment of the invention, describedly carry out the substep that the first step in the on-the-spot broadcasting method comprises by web camera in conjunction with the P2P technology and have, one, the web camera collection site looks, voice data information; Two, web camera or direct broadcast server to describedly look, voice data information coding.
According to a preferred embodiment of the invention, describedly carry out the 3rd in on-the-spot broadcasting method step by web camera in conjunction with the P2P technology and comprise that substep has: at first, requesting client is by optimization download client data download information; Secondly requesting client is decoded data message; The last-minute plea client is carried out this locality and is watched.
The present invention solves in the prior art, the technical scheme that technical problem adopted that the download client end node is lacked protectiveness is: the concocting method that client node in a kind of live process is provided, the method comprising the steps of is, the first step, requesting client propose access request to direct broadcast server; Second step, direct broadcast server receive this request all client-side informations are carried out index; The 3rd step, direct broadcast server retrieve one group of client that the optimization download service can be provided for requesting client, and described one group of client data are offered requesting client; The 4th step, requesting client select a client to download as being downloaded client from one group of client that the optimization download service is provided, and all the other are downloaded end and lay in advance as downloading alternative end.
According to a preferred embodiment of the invention, the priority of each the single client in the described download client group can propose to select suggestion to the described request client by described direct broadcast server.
According to a preferred embodiment of the invention, described direct broadcast server also can be used as alternative download end.
According to a preferred embodiment of the invention, when described optimization download client withdraws from, give described direct broadcast server and described request client signal, or when chance failure appearred in described optimization download client, the described request client can connect the alternative client of described reservation immediately and uninterruptedly download.
According to a preferred embodiment of the invention, after having described optimization download client to withdraw from or chance failure occurring situation about continue downloading can not be provided, described direct broadcast server can be dosed new deposit client in described download end client deposit group, so that have at least one to reserve the deposit download client in the described download client group.
The invention has the beneficial effects as follows: realize that in conjunction with the P2P technology on-the-spot broadcasting has very high cost performance by using web camera; And broken through the network bandwidth bottleneck of traditional cameras, the computer of having realized the accesses network video camera is many more, the function that video is smooth more makes download user can carry out the timely download rating of field data very smoothly for download client provides one group of alternative client as the design of downloading reserved resources simultaneously.
[description of drawings]
Fig. 1. be that web camera of the present invention is broadcast live in conjunction with the P2P technology and the concocting method schematic diagram of client node;
Fig. 2. be the direct broadcast server workflow diagram;
Fig. 3. be the client node workflow diagram.
[embodiment]
The present invention is further described below in conjunction with drawings and Examples.
Consult that Fig. 1 web camera is broadcast live in conjunction with the P2P technology and the concocting method schematic diagram of client node.The video transmission pattern adopts the P2P pattern of convergence directory in the present embodiment, and it is made up of one or more direct broadcast servers 102 and client.Direct broadcast server 102 provides concentrated index service, and it uses database to preserve client and the network shooting machine information that is connected, and above-mentioned information stores is stored at least one alternative direct broadcast server 103.Client is connected to direct broadcast server 102 and obtains the network service.Each client has all pre-set a direct broadcast server tabulation.Client is connected to direct broadcast server 102 by TCP and carries out network login, obtains desired video information and available client client information.Each client safeguards that for its shared video information is uploaded a buffering, and each download client obtains video image from corresponding buffer region.This moment every accesses network video camera computer, be client computer also be direct broadcast server, when seeing video, the video of storing in this computer is shared, other computers are data download in the computer from then on.Therefore watch the computer of web camera video many more, just meaning has increased more " server ", thereby has broken through the network bandwidth bottleneck of traditional cameras, has realized that the computer of accesses network video camera is many more, the function that video is smooth more.
Live broadcast system is realized on-the-spot broadcasting by following steps: at first by web camera 101 collection site information and pass to direct broadcast server 102; Secondly direct broadcast server 102 receives web camera 101 forwarding informations and client requests is handled; Last client 104 receptions are relayed live information and are watched.
More specifically point out, at first be that direct broadcast server 102 sends connection request to web camera 101 in this live broadcast system, the coded data that the reception web camera sends after the successful connection is stored, and in internal memory, set up the intransit buffering formation for these data, simultaneously relevant informations such as web camera address are preserved, wait for the connection request of client, alternative services device 103 also receives the data that web camera 101 sends and lays in advance simultaneously, and stores.
Secondly requesting client 104 is sent connection request to direct broadcast server 102, after direct broadcast server 102 is received request, at first searches one group of peer client 108 (can be two or more peer client) for this requesting client 104.The web camera that will connect at client finds all to set up the client that is connected with this web camera.If find such client, whether search in these clients has IP address and the client of application client 104IP address in the same network segment to exist, if exist then select the peer client of the lightest client of load for use as this client, otherwise, in the available client end, select the optimal equivalence client of the lightest client of load for use as this client.Direct broadcast server 102 information that will send connection request client 104 and this group optimization download client group 108 is preserved then, and information of this group optimization download client group 108 is sent to requesting client 104.For example the peer client group comprises 105,106 two-servers.Direct broadcast server 102 can use downloading for requesting client 104 as optimum client in the lightest client of same peer client group 108 and load with requesting client 104 simultaneously.
Be after requesting client 104 is received optimization download client group 108 information of direct broadcast server 102, to send connection request at last to optimum peer client wherein.For example peer client selects 105 to be the lightest client of load, after peer client selects 105 just to set up as " Download Server " connection of requesting client 104 so, client 104 receiving video datas that request connects, and in internal memory, open up a screen buffer and preserve these data, so that the peer client uploaded videos data that have foradownloaded video to need later on.After requested client 105 is received connection request, find a suitable start frame in self screen buffer, beginning sends data to the client 104 of request.Requesting client 104 receiving data informations are also decoded described data message to realize that this locality watches the live telecast program.Another peer client 106 is just used when going wrong for requested client 105 as " the deposit server " of optimum peer client 105 in this group simultaneously.
In above-mentioned requesting client 104 after optimum peer client 105 is wherein sent connection request and is connected, request connection requests client 104 receiving video datas, after being requested client 105 and receiving connection request, find a suitable start frame in self screen buffer, beginning sends data to requesting client 104.The search rule of start frame is that requesting client 104 is sent the connection request that has video frame time stamp information to peer client, requested client 105 is searched the frame consistent with this timestamp in own video buffer formation, if find, then with this frame as sending start frame.If do not find such frame, the timestamp and the request time of buffering area foremost frame are stabbed relatively, if stab greater than request time, so with first I frame in the buffering area as sending start frame, otherwise with last the I frame in the buffering area as sending start frame.
When will logging off, client sends OPT-OUT NOTICE to direct broadcast server 102 and connected requesting client.Find and receive the peer client of this client data stream after direct broadcast server 102 is notified,, and notify these clients to upgrade optimization download client group 108 information for these clients are reselected optimization download client group 108.For after this requesting client provides the client of data flow to receive to disconnect notice, discharge resource and also upgrade client-side information.Receive this client data stream client receive disconnect notice after, this client is deleted from optimization download client group 108, and the while is obtained a new optimum peer client and sets up video with it and is connected in optimization download client group 108.
Between direct broadcast server and client, added video joint detection mechanism, disconnect the workflow that connects and connect in the optimization download client group 108 other alternative client and download to guarantee that video connects smooth when detecting to connect because unknown cause when disconnecting, is carried out client.
Fig. 2 is the direct broadcast server workflow diagram.At first direct broadcast server sends to web camera 101 and looks (sound) connection request frequently, receive the data 201 that web camera sends after the successful connection, and in internal memory, set up the intransit buffering formation for these data, simultaneously relevant informations such as web camera address are preserved, wait for the connection request 202 of client, client is sent connection request 203 to direct broadcast server 102, after direct broadcast server is received request, at first searches one group of peer client 204 for this client.After requesting client is received the peer client group information of direct broadcast server, send connection request 205 to optimum peer client wherein, if the connection request of client is downloaded by just carrying out data by optimum peer client, if the connection request of certain client is refused by optimum peer client or optimum peer client breaks down, client makes when can not be downloaded by the optimum peer client that direct broadcast server distributes at first, client will disconnect the connection request 206 with optimum peer client, direct broadcast server will be searched coupled client again, and reselect one group of peer client 207 and notice request client for them and set up video with new peer client and be connected, direct broadcast server also will upgrade the optimum peer client tabulation 208 of corresponding client simultaneously, with complete operation 209.
Fig. 3 is the client node workflow diagram.Client 301 as at first send connection request 302 during as the request download client among the figure to direct broadcast server, direct broadcast server carries out index to all client-side informations, can select one group of peer client according to indexed results, and with requesting client in the lightest client of the same network segment and load as optimum peer client 303, suggestion requests client 301 is set up video with optimum peer client and is connected 304, make that requesting client 301 can be from the lightest optimum peer client foradownloaded video data 305 of load, download is finished, requesting client 301 is sent OPT-OUT NOTICE 318 to direct broadcast server with the peer client that links to each other, with end process 319.
Client 301 among Fig. 3 also can think to provide download client promptly to be used as a live server use, monitor other client-side information 306, as receive the video connection request 307 of other clients, and when agreeing this video connection request, client 301 can be according to solicited message, from the uploaded videos buffer queue, select suitable start frame 308, be the requesting client uploaded videos data of correspondence.After client 301 listens to other client-requested information 306, as not accepting the video connection request of other clients, if upload the video connection request 310 that client 311 disconnects requesting client, requesting client can be reselected an optimum in the peer client group of direct broadcast server suggestion other peer client 312 is as download client, and from these new optimum peer client foradownloaded video data 313.If the reason of download client 314 disconnect the video connection request then download client 314 will discharge direct broadcast server and distribute to its resource for its download.
Client 301 also will be monitored direct broadcast server 316 at work simultaneously and feeds back to its information among Fig. 3, and receives, upgrades peer client 317, to realize secure download better more timely.Client downloads work is finished, and can send OPT-OUT NOTICE 318 with the peer client that links to each other to direct broadcast server, with end process 319.
Forming by web camera, direct broadcast server and client three parts in conjunction with the live broadcast system that P2P carries out in the live process by web camera.Many web cameras also can be set in the live at the scene process as required be connected work according to top described aspect with direct broadcast server.Wherein said web camera is responsible for the tasks such as collection, compression and transmission of live video, voice data.Direct broadcast server is responsible for connecting web camera, receives client-requested, preserves client-requested, is searched tasks such as peer computer, client load balancing management and buffering, forwarding video, voice data for client.Direct broadcast server is a management server, has the function of peer client again, can be used as peer client and uses.Client is responsible for connecting, receive video, the voice data that video, audio-frequency information and other peer client of peer client are uploaded to direct broadcast server application video.
Above-mentioned detailed description only is exemplary description, and those skilled in the art can design various execution modes according to different actual needs under the situation of the scope and spirit that do not break away from the present invention and protected.

Claims (8)

1. one kind is carried out live method by web camera, it is characterized in that: at least one alternative direct broadcast server (103) is set, as direct broadcast server (102) slack storage equipment, receive network shooting (101) machine and direct broadcast server (102) forwarding information; Described live method comprises step:
A. by described web camera (101) collection site information and pass to direct broadcast server (102) and alternative direct broadcast server (103);
B. described direct broadcast server (102) receives described web camera (101) forwarding information and client requests is handled, and wherein said step b comprises substep again:
B1. described direct broadcast server (102) receives described web camera (101) forwarding information and stores;
B2. described direct broadcast server (102) receives requesting client (104) access request;
B3. described direct broadcast server (102) carries out index to all client-side informations;
B4. described direct broadcast server (102) provides optimization download client group (108) for the described request client;
C. described request client (104) receives optimization download client group (108) information that described direct broadcast server (102) provides, and in described optimization download client group (108), select optimal download client (105) to download the described information of relaying live, realization this locality is watched.
2. according to the described method of claim 1, it is characterized in that: described step a comprises substep:
A1. described web camera (101) collection site is looked, voice data information;
A2. described web camera (101) or direct broadcast server (102) to describedly look, voice data information coding.
3. according to the described method of claim 1, it is characterized in that: described step c comprises substep:
C1. described request client (104) is downloaded described data message by described optimization download client (105);
C2. described request client (104) is decoded described data message;
C3. watch described request client (104) this locality.
4. client terminal node preparation method in the live process, described method comprises step:
A. requesting client (104) proposes access request to direct broadcast server (102);
B. described direct broadcast server (102) receives this request all client-side informations is carried out index;
C. described direct broadcast server (102) retrieves one group of client (108) that the optimization download service can be provided for described proposition access request client, and described one group of client data is offered described request client (104);
D. described request client (104) selects optimization download client (105) to download as being downloaded client from described one group of client (108) that the optimization download service is provided, and all the other are downloaded end and lay in advance as downloading alternative end.
5. according to the described client terminal node preparation method of claim 4, it is characterized in that: the priority of each the single client in the described download client group (108) can propose to select suggestion to described request client (104) by described direct broadcast server (102).
6. according to the described client terminal node preparation method of claim 4, it is characterized in that: described direct broadcast server (102) also can be used as alternative download end.
7. according to the described client terminal node preparation method of claim 4, it is characterized in that: when described optimization download client (105) when withdrawing from, give described direct broadcast server (102) and described request client (104) signal, or when described optimization download client (105) when chance failure occurring, described request client (104) can connect the alternative client (106) of described reservation immediately and uninterruptedly download.
8. according to the described client terminal node preparation method of claim 7, it is characterized in that: after having described optimization download client (105) to withdraw from or chance failure occurring situation about continue downloading can not be provided, described direct broadcast server (102) can be dosed new deposit client (107) in described download end client deposit group, so that have at least one to reserve the deposit download client in the described download client group (108).
CNA200610063075XA 2006-10-13 2006-10-13 Method of performing on-site living broadcast and client terminal node preparation through network camera Pending CN101163230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200610063075XA CN101163230A (en) 2006-10-13 2006-10-13 Method of performing on-site living broadcast and client terminal node preparation through network camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200610063075XA CN101163230A (en) 2006-10-13 2006-10-13 Method of performing on-site living broadcast and client terminal node preparation through network camera

Publications (1)

Publication Number Publication Date
CN101163230A true CN101163230A (en) 2008-04-16

Family

ID=39298040

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200610063075XA Pending CN101163230A (en) 2006-10-13 2006-10-13 Method of performing on-site living broadcast and client terminal node preparation through network camera

Country Status (1)

Country Link
CN (1) CN101163230A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257496A (en) * 2017-06-14 2017-10-17 广州市千钧网络科技有限公司 A kind of live control method, device and mobile terminal
CN107734349A (en) * 2017-09-01 2018-02-23 合肥迅大信息技术有限公司 Based on P2P net cast team teaching systems
CN108632646A (en) * 2017-03-20 2018-10-09 腾讯科技(深圳)有限公司 A kind of net cast method, apparatus and server
CN108833591A (en) * 2018-07-13 2018-11-16 广州虎牙信息科技有限公司 Method, electronic equipment, device, the network architecture of P2P data transmission in network
CN109979262A (en) * 2019-04-02 2019-07-05 中国铁路北京局集团有限公司石家庄车辆段 Personal safety VR educational system
CN111372143A (en) * 2019-12-26 2020-07-03 视联动力信息技术股份有限公司 Signaling interaction method and device and readable storage medium
CN112312094A (en) * 2020-10-29 2021-02-02 浙江大华技术股份有限公司 Method and device for processing media information, storage medium and electronic device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632646A (en) * 2017-03-20 2018-10-09 腾讯科技(深圳)有限公司 A kind of net cast method, apparatus and server
CN107257496A (en) * 2017-06-14 2017-10-17 广州市千钧网络科技有限公司 A kind of live control method, device and mobile terminal
CN107734349A (en) * 2017-09-01 2018-02-23 合肥迅大信息技术有限公司 Based on P2P net cast team teaching systems
CN108833591A (en) * 2018-07-13 2018-11-16 广州虎牙信息科技有限公司 Method, electronic equipment, device, the network architecture of P2P data transmission in network
CN108833591B (en) * 2018-07-13 2019-12-06 广州虎牙信息科技有限公司 method, electronic equipment, device and network architecture for data transmission in P2P network
CN109979262A (en) * 2019-04-02 2019-07-05 中国铁路北京局集团有限公司石家庄车辆段 Personal safety VR educational system
CN111372143A (en) * 2019-12-26 2020-07-03 视联动力信息技术股份有限公司 Signaling interaction method and device and readable storage medium
CN112312094A (en) * 2020-10-29 2021-02-02 浙江大华技术股份有限公司 Method and device for processing media information, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN100556129C (en) A kind of equity connects flow medium live system and device
EP1944944A1 (en) System and method for combining pull and push modes
CN101635728B (en) Method and system for data synchronization in content distribution network
CN101237429B (en) Stream media living broadcasting system, method and device based on content distribution network
US20110246608A1 (en) System, method and device for delivering streaming media
CN102045270B (en) Chat server system, method for constructing chat server system and chat system
CN101132269B (en) Data synchronization method and IPTV content distribution network system using the same
CN101163230A (en) Method of performing on-site living broadcast and client terminal node preparation through network camera
WO2013178010A1 (en) Multimedia content distribution method, device and system
CN108737500B (en) Target resource obtaining and providing method and device, storage medium and computer equipment
CN100463403C (en) Point-to-point technique based picture sharing system and method
CN102231762B (en) Peer-to-peer (p2p) server architecture capable of being unlimitedly and horizontally expanded
CN102118325B (en) Method and device for configuring chat client terminal, as well as chat client terminal
CN101917454B (en) Method and device for synchronizing EPG (Error Pattern Generator) files in IPTV (Internet Protocol Television)
WO2014176990A1 (en) Node allocation method, device and system
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN102957972B (en) Video on demand method and system thereof
Kim et al. Efficient peer-to-peer overlay networks for mobile IPTV services
CN107920072A (en) A kind of multimedia sharing method and system based on data characteristics
US20130238767A1 (en) Method and system for downloading real-time streaming media in peer-to-peer network
CN110035132B (en) Data synchronization method, computer device and storage medium
CN103475948A (en) P2P live video based intelligent resource matching system
CN102387062B (en) Method for improving transmission rate of peer-to-peer (p2p) node in crossing network by dynamic bridging contact
CN104602047A (en) Share method of EPG (error pattern generator) data, server, terminal and system
WO2011160549A1 (en) Electronic program guide system and file downloading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20080416

C20 Patent right or utility model deemed to be abandoned or is abandoned